@fluid-topics/ft-search-results-spellcheck 2.2.29 → 2.2.31

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 od=Object.defineProperty;var k=(t,e)=>{for(var o in e)od(t,o,{get:e[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(y,g){if(y=y.toLowerCase(),this._getDefinition(y)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${y}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=g.prototype.attributeChangedCallback,E=new Set(g.observedAttributes||[]);m(g,E,x);let I={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:E};this._definitionsByTag.set(y,I),this._definitionsByClass.set(g,I);let F=o.call(n,y);F||(F=f(y),e.call(n,y,F)),this===window.customElements&&(a.set(g,I),I.standInClass=F);let U=this._awaitingUpgrade.get(y);if(U){this._awaitingUpgrade.delete(y);for(let P of U)s.delete(P),S(P,I,!0)}let R=this._whenDefinedPromises.get(y);return R!==void 0&&(R.resolve(g),this._whenDefinedPromises.delete(y)),g}upgrade(){v.push(this),n.upgrade.apply(n,arguments),v.pop()}get(y){return this._definitionsByTag.get(y)?.elementClass}_getDefinition(y){return this._definitionsByTag.get(y)}whenDefined(y){let g=this._getDefinition(y);if(g!==void 0)return Promise.resolve(g.elementClass);let x=this._whenDefinedPromises.get(y);return x===void 0&&(x={},x.promise=new Promise(E=>x.resolve=E),this._whenDefinedPromises.set(y,x)),x.promise}_upgradeWhenDefined(y,g,x){let E=this._awaitingUpgrade.get(g);E||this._awaitingUpgrade.set(g,E=new Set),x?E.add(y):E.delete(y)}};let d;window.HTMLElement=function(){let g=d;if(g)return d=void 0,g;let x=a.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(t,[],x.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,x),g},window.HTMLElement.prototype=t.prototype;let p=y=>y===document||y instanceof ShadowRoot,h=y=>{let g=y.getRootNode();if(!p(g)){let x=v[v.length-1];if(x instanceof CustomElementRegistry)return x;g=x.getRootNode(),p(g)||(g=l.get(g)?.getRootNode()||document)}return g.customElements},f=y=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let E=h(x)||window.customElements,I=E._getDefinition(y);return I?S(x,I):s.set(x,E),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,y,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,y,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(y,g,x)=>{if(g.size===0||x===void 0)return;let E=y.prototype.setAttribute;E&&(y.prototype.setAttribute=function(U,R){let P=U.toLowerCase();if(g.has(P)){let z=this.getAttribute(P);E.call(this,P,R),x.call(this,P,z,R)}else E.call(this,P,R)});let I=y.prototype.removeAttribute;I&&(y.prototype.removeAttribute=function(U){let R=U.toLowerCase();if(g.has(R)){let P=this.getAttribute(R);I.call(this,R),x.call(this,R,P,null)}else I.call(this,R)});let F=y.prototype.toggleAttribute;F&&(y.prototype.toggleAttribute=function(U,R){let P=U.toLowerCase();if(g.has(P)){let z=this.getAttribute(P);F.call(this,P,R);let fe=this.getAttribute(P);x.call(this,P,z,fe)}else F.call(this,P,R)})},b=y=>{let g=Object.getPrototypeOf(y);if(g!==window.HTMLElement)return g===t?Object.setPrototypeOf(y,window.HTMLElement):b(g)},S=(y,g,x=!1)=>{Object.setPrototypeOf(y,g.elementClass.prototype),i.set(y,g),d=y;try{new g.elementClass}catch{b(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(E=>{y.hasAttribute(E)&&g.attributeChangedCallback.call(y,E,null,y.getAttribute(E))}),x&&g.connectedCallback&&y.isConnected&&g.connectedCallback.call(y)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(y){let g=C.apply(this,arguments);return y.customElements&&(g.customElements=y.customElements),g};let v=[document],A=(y,g,x=void 0)=>{let E=(x?Object.getPrototypeOf(x):y.prototype)[g];y.prototype[g]=function(){v.push(this);let I=E.apply(x||this,arguments);return I!==void 0&&l.set(I,this),v.pop(),I}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let _=(y,g)=>{let x=Object.getOwnPropertyDescriptor(y.prototype,g);Object.defineProperty(y.prototype,g,{...x,set(E){v.push(this),x.set.call(this,E),v.pop()}})};if(_(Element,"innerHTML"),_(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 R=g.call(this,...U);return y.set(R,this),R},x.forEach(U=>{let R=window.ElementInternals.prototype,P=R[U];R[U]=function(...z){let fe=y.get(this);if(i.get(fe).formAssociated===!0)return P?.call(this,...z);throw new DOMException(`Failed to execute ${P} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class E extends Array{constructor(R){super(...R),this._elements=R}get value(){return this._elements.find(R=>R.checked===!0)?.value||""}}class I{constructor(R){let P=new Map;R.forEach((z,fe)=>{let Wo=z.getAttribute("name"),hs=P.get(Wo)||[];this[+fe]=z,hs.push(z),P.set(Wo,hs)}),this.length=R.length,P.forEach((z,fe)=>{z&&(z.length===1?this[fe]=z[0]:this[fe]=new E(z))})}namedItem(R){return this[R]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=F.get.call(this,[]),R=[];for(let P of U){let z=i.get(P);(!z||z.formAssociated===!0)&&R.push(P)}return new I(R)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{var s;if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(o,class extends n{},i):console.info(o,n,i,a)}}}var on={};k(on,{CSSResult:()=>Ot,LitElement:()=>Ce,ReactiveElement:()=>oe,_$LE:()=>md,_$LH:()=>en,adoptStyles:()=>Qt,css:()=>N,defaultConverter:()=>At,getCompatibleStyle:()=>Nr,html:()=>Q,isServer:()=>nh,mathml:()=>Xo,noChange:()=>H,notEqual:()=>Xt,nothing:()=>M,render:()=>tn,supportsAdoptingStyleSheets:()=>Zt,svg:()=>Jo,unsafeCSS:()=>Yt});var kr=globalThis,Zt=kr.ShadowRoot&&(kr.ShadyCSS===void 0||kr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Go=Symbol(),ms=new WeakMap,Ot=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Go)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Zt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=ms.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ms.set(o,e))}return e}toString(){return this.cssText}},Yt=t=>new Ot(typeof t=="string"?t:t+"",void 0,Go),N=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,i,s)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new Ot(o,t,Go)},Qt=(t,e)=>{if(Zt)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=kr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},Nr=Zt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Yt(o)})(t):t;var{is:nd,defineProperty:id,getOwnPropertyDescriptor:sd,getOwnPropertyNames:ad,getOwnPropertySymbols:cd,getPrototypeOf:ld}=Object,Pr=globalThis,gs=Pr.trustedTypes,dd=gs?gs.emptyScript:"",ud=Pr.reactiveElementPolyfillSupport,Jt=(t,e)=>t,At={toAttribute(t,e){switch(e){case Boolean:t=t?dd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Xt=(t,e)=>!nd(t,e),ys={attribute:!0,type:String,converter:At,reflect:!1,useDefault:!1,hasChanged:Xt};Symbol.metadata??=Symbol("metadata"),Pr.litPropertyMetadata??=new WeakMap;var oe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=ys){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&id(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:s}=sd(this.prototype,e)??{get(){return this[o]},set(a){this[o]=a}};return{get:i,set(a){let l=i?.call(this);s?.call(this,a),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ys}static _$Ei(){if(this.hasOwnProperty(Jt("elementProperties")))return;let e=ld(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Jt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Jt("properties"))){let o=this.properties,n=[...ad(o),...cd(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);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(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(Nr(i))}else e!==void 0&&o.push(Nr(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Qt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$ET(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:At).toAttribute(o,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:At;this._$Em=i;let l=a.fromAttribute(o,s.type);this[i]=l??this._$Ej?.get(i)??l,this._$Em=null}}requestUpdate(e,o,n,i=!1,s){if(e!==void 0){let a=this.constructor;if(i===!1&&(s=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??Xt)(s,o)||n.useDefault&&n.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:i,wrapped:s},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??o??this[e]),s!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n){let{wrapped:a}=s,l=this[i];a!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,s,l)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};oe.elementStyles=[],oe.shadowRootOptions={mode:"open"},oe[Jt("elementProperties")]=new Map,oe[Jt("finalized")]=new Map,ud?.({ReactiveElement:oe}),(Pr.reactiveElementVersions??=[]).push("2.1.2");var Ko=globalThis,bs=t=>t,Fr=Ko.trustedTypes,xs=Fr?Fr.createPolicy("lit-html",{createHTML:t=>t}):void 0,qo="$lit$",Ee=`lit$${Math.random().toFixed(9).slice(2)}$`,Zo="?"+Ee,pd=`<${Zo}>`,qe=document,tr=()=>qe.createComment(""),rr=t=>t===null||typeof t!="object"&&typeof t!="function",Yo=Array.isArray,Os=t=>Yo(t)||typeof t?.[Symbol.iterator]=="function",jo=`[
2
- \f\r]`,er=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ss=/-->/g,vs=/>/g,je=RegExp(`>|${jo}(?:([^\\s"'>=/]+)(${jo}*=${jo}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Es=/'/g,Cs=/"/g,As=/^(?:script|style|textarea|title)$/i,Qo=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Q=Qo(1),Jo=Qo(2),Xo=Qo(3),H=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),ws=new WeakMap,Ke=qe.createTreeWalker(qe,129);function Rs(t,e){if(!Yo(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return xs!==void 0?xs.createHTML(e):e}var _s=(t,e)=>{let o=t.length-1,n=[],i,s=e===2?"<svg>":e===3?"<math>":"",a=er;for(let l=0;l<o;l++){let d=t[l],p,h,f=-1,m=0;for(;m<d.length&&(a.lastIndex=m,h=a.exec(d),h!==null);)m=a.lastIndex,a===er?h[1]==="!--"?a=Ss:h[1]!==void 0?a=vs:h[2]!==void 0?(As.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=je):h[3]!==void 0&&(a=je):a===je?h[0]===">"?(a=i??er,f=-1):h[1]===void 0?f=-2:(f=a.lastIndex-h[2].length,p=h[1],a=h[3]===void 0?je:h[3]==='"'?Cs:Es):a===Cs||a===Es?a=je:a===Ss||a===vs?a=er:(a=je,i=void 0);let b=a===je&&t[l+1].startsWith("/>")?" ":"";s+=a===er?d+pd:f>=0?(n.push(p),d.slice(0,f)+qo+d.slice(f)+Ee+b):d+Ee+(f===-2?l:b)}return[Rs(t,s+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},or=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let s=0,a=0,l=e.length-1,d=this.parts,[p,h]=_s(e,o);if(this.el=t.createElement(p,n),Ke.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ke.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(qo)){let m=h[a++],b=i.getAttribute(f).split(Ee),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:s,name:S[2],strings:b,ctor:S[1]==="."?Dr:S[1]==="?"?Ur:S[1]==="@"?Br:Ye}),i.removeAttribute(f)}else f.startsWith(Ee)&&(d.push({type:6,index:s}),i.removeAttribute(f));if(As.test(i.tagName)){let f=i.textContent.split(Ee),m=f.length-1;if(m>0){i.textContent=Fr?Fr.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],tr()),Ke.nextNode(),d.push({type:2,index:++s});i.append(f[m],tr())}}}else if(i.nodeType===8)if(i.data===Zo)d.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(Ee,f+1))!==-1;)d.push({type:7,index:s}),f+=Ee.length-1}s++}}static createElement(e,o){let n=qe.createElement("template");return n.innerHTML=e,n}};function Ze(t,e,o=t,n){if(e===H)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,s=rr(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Ze(t,i._$AS(t,e.values),i,n)),e}var Mr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??qe).importNode(o,!0);Ke.currentNode=i;let s=Ke.nextNode(),a=0,l=0,d=n[0];for(;d!==void 0;){if(a===d.index){let p;d.type===2?p=new Rt(s,s.nextSibling,this,e):d.type===1?p=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(p=new $r(s,this,e)),this._$AV.push(p),d=n[++l]}a!==d?.index&&(s=Ke.nextNode(),a++)}return Ke.currentNode=qe,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Rt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Ze(this,e,o),rr(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==H&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Os(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==M&&rr(this._$AH)?this._$AA.nextSibling.data=e:this.T(qe.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=or.createElement(Rs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let s=new Mr(i,this),a=s.u(this.options);s.p(o),this.T(a),this._$AH=s}}_$AC(e){let o=ws.get(e.strings);return o===void 0&&ws.set(e.strings,o=new or(e)),o}k(e){Yo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let s of e)i===o.length?o.push(n=new t(this.O(tr()),this.O(tr()),this,this.options)):n=o[i],n._$AI(s),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e!==this._$AB;){let n=bs(e).nextSibling;bs(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ye=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,s){this.type=1,this._$AH=M,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(e,o=this,n,i){let s=this.strings,a=!1;if(s===void 0)e=Ze(this,e,o,0),a=!rr(e)||e!==this._$AH&&e!==H,a&&(this._$AH=e);else{let l=e,d,p;for(e=s[0],d=0;d<s.length-1;d++)p=Ze(this,l[n+d],o,d),p===H&&(p=this._$AH[d]),a||=!rr(p)||p!==this._$AH[d],p===M?e=M:e!==M&&(e+=(p??"")+s[d+1]),this._$AH[d]=p}a&&!i&&this.j(e)}j(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Dr=class extends Ye{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===M?void 0:e}},Ur=class extends Ye{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Br=class extends Ye{constructor(e,o,n,i,s){super(e,o,n,i,s),this.type=5}_$AI(e,o=this){if((e=Ze(this,e,o,0)??M)===H)return;let n=this._$AH,i=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},$r=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ze(this,e)}},en={M:qo,P:Ee,A:Zo,C:1,L:_s,R:Mr,D:Os,V:Ze,I:Rt,H:Ye,N:Ur,U:Br,B:Dr,F:$r},fd=Ko.litHtmlPolyfillSupport;fd?.(or,Rt),(Ko.litHtmlVersions??=[]).push("3.3.3");var tn=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=o?.renderBefore??null;n._$litPart$=i=new Rt(e.insertBefore(tr(),s),s,void 0,o??{})}return i._$AI(t),i};var rn=globalThis,Ce=class extends oe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=tn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return H}};Ce._$litElement$=!0,Ce.finalized=!0,rn.litElementHydrateSupport?.({LitElement:Ce});var hd=rn.litElementPolyfillSupport;hd?.({LitElement:Ce});var md={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(rn.litElementVersions??=[]).push("4.2.2");var nh=!1;var nn={};k(nn,{customElement:()=>gd,eventOptions:()=>bd,property:()=>w,query:()=>xd,queryAll:()=>vd,queryAssignedElements:()=>Cd,queryAssignedNodes:()=>wd,queryAsync:()=>Ed,standardProperty:()=>Is,state:()=>$});var gd=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var yd={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:Xt},Is=(t=yd,e,o)=>{let{kind:n,metadata:i}=o,s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(o.name,t),n==="accessor"){let{name:a}=o;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(a,d,t,!0,l)},init(l){return l!==void 0&&this.C(a,void 0,t,l),l}}}if(n==="setter"){let{name:a}=o;return function(l){let d=this[a];e.call(this,l),this.requestUpdate(a,d,t,!0,l)}}throw Error("Unsupported decorator location: "+n)};function w(t){return(e,o)=>typeof o=="object"?Is(t,e,o):((n,i,s)=>{let a=i.hasOwnProperty(s);return i.constructor.createProperty(s,n),a?Object.getOwnPropertyDescriptor(i,s):void 0})(t,e,o)}function $(t){return w({...t,state:!0,attribute:!1})}function bd(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var ce=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function xd(t,e){return(o,n,i)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:l}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return ce(o,n,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return ce(o,n,{get(){return s(this)}})}}var Sd;function vd(t){return(e,o)=>ce(e,o,{get(){return(this.renderRoot??(Sd??=document.createDocumentFragment())).querySelectorAll(t)}})}function Ed(t){return(e,o)=>ce(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Cd(t){return(e,o)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return ce(e,o,{get(){let a=this.renderRoot?.querySelector(s),l=a?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function wd(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ce(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var sn={};k(sn,{repeat:()=>Hr});var he={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ee=t=>(...e)=>({_$litDirective$:t,values:e}),ne=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:Od}=en,Ts=t=>t;var ks=t=>t.strings===void 0,Ls=()=>document.createComment(""),_t=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let s=n.insertBefore(Ls(),i),a=n.insertBefore(Ls(),i);o=new Od(s,a,t,t.options)}else{let s=o._$AB.nextSibling,a=o._$AM,l=a!==t;if(l){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==a._$AU&&o._$AP(d)}if(s!==i||l){let d=o._$AA;for(;d!==s;){let p=Ts(d).nextSibling;Ts(n).insertBefore(d,i),d=p}}}return o},Me=(t,e,o=t)=>(t._$AI(e,o),t),Ad={},Ns=(t,e=Ad)=>t._$AH=e,Ps=t=>t._$AH,zr=t=>{t._$AR(),t._$AA.remove()};var Fs=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},Hr=ee(class extends ne{constructor(t){if(super(t),t.type!==he.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],s=[],a=0;for(let l of t)i[a]=n?n(l,a):a,s[a]=o(l,a),a++;return{values:s,keys:i}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let i=Ps(t),{values:s,keys:a}=this.dt(e,o,n);if(!Array.isArray(i))return this.ut=a,s;let l=this.ut??=[],d=[],p,h,f=0,m=i.length-1,b=0,S=s.length-1;for(;f<=m&&b<=S;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===a[b])d[b]=Me(i[f],s[b]),f++,b++;else if(l[m]===a[S])d[S]=Me(i[m],s[S]),m--,S--;else if(l[f]===a[S])d[S]=Me(i[f],s[S]),_t(t,d[S+1],i[f]),f++,S--;else if(l[m]===a[b])d[b]=Me(i[m],s[b]),_t(t,i[f],i[m]),m--,b++;else if(p===void 0&&(p=Fs(a,b,S),h=Fs(l,f,m)),p.has(l[f]))if(p.has(l[m])){let C=h.get(a[b]),v=C!==void 0?i[C]:null;if(v===null){let A=_t(t,i[f]);Me(A,s[b]),d[b]=A}else d[b]=Me(v,s[b]),_t(t,i[f],v),i[C]=null;b++}else zr(i[m]),m--;else zr(i[f]),f++;for(;b<=S;){let C=_t(t,d[S+1]);Me(C,s[b]),d[b++]=C}for(;f<=m;){let C=i[f++];C!==null&&zr(C)}return this.ut=a,Ns(t,d),H}});var an={};k(an,{classMap:()=>Rd});var Rd=ee(class extends ne{constructor(t){if(super(t),t.type!==he.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.st)n in e||(o.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return H}});var cn={};k(cn,{styleMap:()=>Id});var Ms="important",_d=" !"+Ms,Id=ee(class extends ne{constructor(t){if(super(t),t.type!==he.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let s=typeof i=="string"&&i.endsWith(_d);n.includes("-")||s?o.setProperty(n,s?i.slice(0,-11):i,s?Ms:""):o[n]=i}}return H}});var ln={};k(ln,{UnsafeHTMLDirective:()=>It,unsafeHTML:()=>Td});var It=class extends ne{constructor(e){if(super(e),this.it=M,e.type!==he.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===M||e==null)return this._t=void 0,this.it=e;if(e===H)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};It.directiveName="unsafeHTML",It.resultType=1;var Td=ee(It);var dn={};k(dn,{splitBreadcrumbForMenu:()=>Ld});function Ld(t,e=0,o=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(o,1),i=t.slice(n*-1);return e+n>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-i.length),afterMenu:i}}var bn={};k(bn,{CacheRegistry:()=>ge,ClearCacheEvent:()=>sr});var un={};k(un,{CancelablePromise:()=>Vr,CanceledPromiseError:()=>De,cancelable:()=>Wr});var De=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Vr=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new De("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new De("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Wr=t=>new Vr((e,o)=>t.then(e).catch(o));var yn={};k(yn,{FtNotificationEvent:()=>ir,PostResizeEvent:()=>gn,PreResizeEvent:()=>mn,WithEventBus:()=>Oe,withEventBus:()=>jr});var hn={};k(hn,{applyMixinOnce:()=>V,customElements:()=>we,dateReviver:()=>Md,deepCopy:()=>ie,deepEqual:()=>Z,delay:()=>Gr,eventPathContainsMatchingElement:()=>Ud,everyDeep:()=>Fd,flatDeep:()=>zs,forEachDeep:()=>Hs,getComposedPathTo:()=>fn,groupBy:()=>Hd,hasChanged:()=>me,ignoreComposingEvents:()=>zd,last:()=>Bd,minmax:()=>Ue,parseDate:()=>Ws,randomId:()=>$d,someDeep:()=>Vs,unslotText:()=>Gs,waitFor:()=>$s,waitUntil:()=>Pd});var pn={};k(pn,{customElement:()=>nr,dateProperty:()=>Nd,isNumber:()=>Bs,jsonProperty:()=>le,jsonPropertyConverter:()=>Ds,numberProperty:()=>Us,optionalNumberProperty:()=>kd});var nr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},Ds=t=>({fromAttribute:e=>{if(e==null)return ie(t);try{return JSON.parse(e)}catch{return ie(t)}},toAttribute:e=>JSON.stringify(e)});function le(t,e){return w({type:Object,converter:Ds(t),hasChanged:me,...e??{}})}function kd(t){return Us(t)}function Us(t){return w({type:Object,converter:{fromAttribute:e=>{var o,n;if(e==null)return;let i=(o=t?.min)!==null&&o!==void 0?o:-1/0,s=(n=t?.max)!==null&&n!==void 0?n:1/0;return Bs(e)?Ue(i,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Bs(t){return!isNaN(parseFloat(t))}function Nd(t){return w({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let o=new Date(Date.parse(e));if(!isNaN(o.valueOf()))return o},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var Gr=t=>new Promise(e=>setTimeout(e,t));async function Pd(t,e=10,o=2e4){await $s(async()=>await t()||void 0,e,o)}async function $s(t,e=10,o=2e4){let n=await t(),i=performance.now(),s=i;for(;n==null&&(!o||s-i<o);)await Gr(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function zs(t,e){return t.flatMap(o=>[o,...zs(e(o),e)])}function Hs(t,e,o){let n=(i,s)=>{var a;for(let l=0;l<i.length;l++){let d=i[l];if(!(((a=o(d,l,i,s))!==null&&a!==void 0?a:!0)&&n(e(d),[...s,d])))return!1}return!0};n(t,[])}function Vs(t,e,o){let n=!1;return Hs(t,e,(i,s,a,l)=>(n=!!o(i,s,a,l),!n)),n}function Fd(t,e,o){return!Vs(t,e,(n,i,s,a)=>!o(n,i,s,a))}function Md(...t){return(e,o)=>t.includes(e)?Ws(o):o}function Ws(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function Dd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Z(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Z(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=a=>Object.keys(a).filter(l=>a[l]!=null),s=i(t);if(o=s.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=o;n--!==0;){let a=s[n];if(!Z(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Z(t,e){try{return Dd(t,e)}catch{return!1}}function me(t,e){return!Z(t,e)}function Ud(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(s=>i.matches(s)))return!0}}return!1}function Ue(t,e,o){return Math.min(Math.max(t,e),o)}function Bd(t){return t[t.length-1]}function Gs(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Gs(e)).join(""):t?.textContent||""}function fn(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function ie(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function $d(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function V(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}function zd(){return function(t,e,o){let n=o.value;o.value=function(i,...s){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(s))}}}function we(t){for(let[e,o]of Object.entries(t))nr(e)(o)}function Hd(t,e){var o,n;let i=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((o=s[n=i(a)])!==null&&o!==void 0?o:s[n]=[]).push(a);return s}var ir=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},mn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},gn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},jr=V(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??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)}}}),Oe=class extends jr(Object){};var sr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},ge=class extends Oe{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var i;let s=this.content[e],a=(i=s?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...s,loader:o,final:n,status:a}}registerFinal(e,o){this.register(e,o,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,o=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new sr(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new sr([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,i;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let i=async()=>o,s="RESOLVED";this.content[e]={loader:i,final:n,status:s,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=Wr(o()),i.promise.then(s=>(i.status="RESOLVED",i.value=s,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),s)).catch(s=>{var a;throw!((a=i.promise)===null||a===void 0)&&a.isCanceled||(i.status="ERROR",i.error=s),s})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Rn={};k(Rn,{ClusteringHelper:()=>An,formatHierarchicalValues:()=>On});var wn={};k(wn,{accessBreadcrumb:()=>Qd,accessResult:()=>Cn,accessResultId:()=>Zd,accessResultUrl:()=>Yd,enrichReaderUrl:()=>En});var vn={};k(vn,{SearchPlaceConverter:()=>Ae,SearchPlaceQueryParams:()=>T,isSearchPlaceQueryParams:()=>Na,serializeRequest:()=>Kd});var Vd=t=>typeof t=="object"&&t!=null;var Wd=t=>typeof t=="number",Kr=t=>typeof t=="string",Sn=t=>Vd(t)&&Kr(t.endpoint)&&Kr(t.method)&&Kr(t.statusText)&&Kr(t.body)&&Wd(t.status),js;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(js||(js={}));var Ks;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ks||(Ks={}));var qs;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(qs||(qs={}));var Zs;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Zs||(Zs={}));var Ys;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ys||(Ys={}));var Qs;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Qs||(Qs={}));var Js;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(Js||(Js={}));var Xs;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Xs||(Xs={}));var ea;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(ea||(ea={}));var ta;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(ta||(ta={}));var ra;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(ra||(ra={}));var oa;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(oa||(oa={}));var na;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(na||(na={}));var ia;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ia||(ia={}));var sa;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(sa||(sa={}));var aa;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(aa||(aa={}));var ca;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(ca||(ca={}));var Qe;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Qe||(Qe={}));var la;(function(t){t.ASC="ASC",t.DESC="DESC"})(la||(la={}));var da;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(da||(da={}));var qr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(qr||(qr={}));var ya=t=>Object.keys(qr).includes(t);var ua;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(ua||(ua={}));var pa;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(pa||(pa={}));var fa;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(fa||(fa={}));var Tt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Tt||(Tt={}));var ba=t=>Object.keys(Tt).includes(t);var ha;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(ha||(ha={}));var xn;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(xn||(xn={}));var ma;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ma||(ma={}));var B;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(B||(B={}));var se;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(se||(se={}));var ga;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(ga||(ga={}));var xa;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(xa||(xa={}));var Sa;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Sa||(Sa={}));var va;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(va||(va={}));var Ea;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Ea||(Ea={}));var Ca;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ca||(Ca={}));var wa;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(wa||(wa={}));var Oa;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Oa||(Oa={}));var Aa;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Aa||(Aa={}));var Ra;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Ra||(Ra={}));var _a;(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(_a||(_a={}));var Ia;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Ia||(Ia={}));var Gd={[B.PERSONAL_BOOK_SHARE_USER]:[B.PERSONAL_BOOK_USER],[B.HTML_EXPORT_USER]:[B.PERSONAL_BOOK_USER],[B.PDF_EXPORT_USER]:[B.PERSONAL_BOOK_USER],[B.KHUB_ADMIN]:[B.CONTENT_PUBLISHER],[B.ADMIN]:[B.KHUB_ADMIN,B.USERS_ADMIN,B.PORTAL_ADMIN,B.BEHAVIOR_DATA_USER],[B.GENERATIVE_AI_EXPORT_USER]:[B.GENERATIVE_AI_USER]};function Ta(t,e){return t===e||(Gd[t]??[]).some(o=>Ta(o,e))}function Zr(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>Ta(n,e))}function La(t,...e){return t==null?!1:e.some(o=>Zr(t,o))}function jd(t){return`"${t}"`}function ka(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Kd(t,e){return new Ae(t).serialize(e)}var T;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(T||(T={}));var qd=new Set(Object.values(T));function Na(t){return qd.has(t)}var Ae=class t{constructor(e,o=20,n=!1,i="en-US",s=[]){this.baseUrl=e,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=s,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,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(e),i.toString()}toURLSearchParams(e,o=!1){var n,i,s,a,l,d,p,h,f;let m=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&m.append(T.LOCALE,e.contentLocale):m.append(T.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(T.QUERY,e.query);let b=t.serializeValueFilters(e.metadataFilters);b&&m.append(T.VALUE_FILTERS,b);let S=t.serializeNegativeValueFilters(e.metadataFilters);S&&m.append(T.NEGATIVE_VALUE_FILTERS,S);let C=(d=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(y=>y.dateFilter))!==null&&d!==void 0?d:[];if(C.length>0){let y=C.map(g=>{var x;return`${g.key}~${(x=g.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(T.DATE_FILTERS,y)}let v=(p=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(y=>y.rangeFilter))!==null&&p!==void 0?p:[];if(v.length>0){let y=v.map(g=>{var x,E;return`${g.key}~${(x=g.rangeFilter)===null||x===void 0?void 0:x.from}_${(E=g.rangeFilter)===null||E===void 0?void 0:E.to}`}).join("*");m.append(T.RANGE_FILTERS,y)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(T.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(T.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(T.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((h=(l=e.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(T.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(T.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let A=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let y in A)m.append(y,A[y]);let _=new Array;return m.forEach((y,g)=>{_.push(this.encodeQueryString(g)+"="+this.encodeQueryString(y))}),encodeURI(_.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),s=n[0].split("/search/")[1];return s==null?i:{...i,scope:(o=this.scopeMapping[s])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,s,a,l,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(_){console.warn("Could not decode search request query params, fallback on raw value",_)}let p=new URLSearchParams(e),h=(n=p.get(T.LOCALE))!==null&&n!==void 0?n:void 0,f=((i=p.get(T.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(o=p.get(T.SORT))===null||o===void 0?void 0:o.toLowerCase(),b=(s=p.get(T.SCOPE))!==null&&s!==void 0?s:"default",S=+((a=p.get(T.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),C=p.get(T.KEYWORD_MATCH),v=C?C.toUpperCase()===Qe.MANDATORY?Qe.MANDATORY:Qe.OPTIONAL:void 0,A={};for(let _ of p.keys())Na(_)||(A[_]=p.get(_));return h==="all"?h=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!h||this.availableContentLocales.length>0&&!this.availableContentLocales.some(_=>_.lang===h))&&(h=this.defaultContentLocale),{contentLocale:h,query:(l=p.get(T.QUERY))!==null&&l!==void 0?l:"",scope:(d=this.scopeMapping[b])!==null&&d!==void 0?d:"DEFAULT",virtualField:ya(f)?f:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(p),facets:[],paging:{page:1,perPage:Ue(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:v,otherQueryParams:A}}parseCompatFilters(e){var o,n,i,s,a,l,d;let p=[];return e.has(T.FILTERS)&&(p=t.parseValueFilters((o=e.get(T.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(T.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(T.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((s=e.get(T.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(T.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((l=e.get(T.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=e.get(T.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}static parseValueFilters(e,o=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(ka).map(i=>this.unescapeFilterValue(i)),negative:o}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Tt[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}static escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}static superEscapeFilters(e){for(let[o,n,i]of t.filtersEscapeMapping)e=e.replaceAll(n,i);return e}static unescapeFilterValue(e){for(let[o,n,i]of t.filtersEscapeMapping)e=e.replaceAll(i,o);return e}parseLegacyPeriodFilter(e){if(ba(e))return[{key:"ft:lastEdition",dateFilter:{type:Tt[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(e){var o,n;let i=((n=(o=e.valueFilter)===null||o===void 0?void 0:o.values)!==null&&n!==void 0?n:[]).map(s=>t.escapeFilters(s)).map(s=>jd(ka(s))).join("_");return`${e.key}~${i}`}static serializeValueFilters(e){var o;let n=(o=e?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var o;let n=(o=e?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let o=new URL(e);return[T.LOCALE,T.FILTERS,T.VALUE_FILTERS,T.NEGATIVE_VALUE_FILTERS,T.DATE_FILTERS,T.RANGE_FILTERS].forEach(i=>{o.searchParams.delete(i)}),o.toString()}static updateLocaleParamInUrl(e,o){let n=new URL(e);return n.searchParams.delete(T.LOCALE),o!==void 0&&n.searchParams.append(T.LOCALE,o),n.toString()}};Ae.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Cn(t){var e,o,n,i;return(i=(n=(o=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&o!==void 0?o:t?.document)!==null&&n!==void 0?n:t?.htmlPackage)!==null&&i!==void 0?i:t?.htmlPackagePage}function Zd(t){var e,o,n,i,s,a,l,d,p;return(p=(d=(l=(a=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&a!==void 0?a:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&l!==void 0?l:(n=t?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=t?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.contentId}function Yd(t,e){var o,n,i,s,a,l,d,p,h;return(h=(p=(d=(l=En((o=t?.map)===null||o===void 0?void 0:o.readerUrl,e))!==null&&l!==void 0?l:En((n=t?.topic)===null||n===void 0?void 0:n.readerUrl,e))!==null&&d!==void 0?d:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(s=t?.htmlPackage)===null||s===void 0?void 0:s.viewerUrl)!==null&&h!==void 0?h:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.viewerUrl}function Qd(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function En(t,e){if(e&&t){let o=URL.parse(t),n=Ae.serializeValueFilters(e);if(n&&o?.searchParams.append(T.VALUE_FILTERS,n),o)return o.toString()}return t}function On(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var An=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(e,o,n){return e?.find(i=>{var s;return((s=this.extractResultMetadata({result:i}).find(a=>a.key==o))===null||s===void 0?void 0:s.value)==n})}static extractResultMetadata(e){var o,n;let i=(n=(o=Cn(e.result))===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[];return e.key==null?t.flattenMetadata(i,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(i.find(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,o,n)).filter(s=>s!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let s=[],a=[];return e.hierarchicalValues.forEach(l=>{s.push(On(l)),a.push(On(l,o))}),{key:e.key,label:e.label,value:s.join(", "),displayValue:a.join(", "),displayTooltipValue:s.join(", ")}}else{let s=e.values.join(", "),a=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,o,n="No value",i,s){var a,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),p=(l=d?.label)!==null&&l!==void 0?l:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:s})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,b)=>b.findIndex(S=>S.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let s=this.getMetadataDescriptor(n),a=s?.sortRule||"NONE",l=s?.reverseSort||!1;if(a=="ALPHABET"||a=="VERSION"){let d=e.localeCompare(o,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==o}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,s);if(p>l&&(l=p,a=d,p===s.length))break}return a}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var _n={};k(_n,{Debouncer:()=>Re});var Re=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),s=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let a of n)try{await a()}catch(l){i(l);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var kn={};k(kn,{designSystemVariables:()=>Je});var Ln={};k(Ln,{DesignSystemFamily:()=>ar,DesignSystemSize:()=>cr,FtCssVariableFactory:()=>r,badge:()=>hu,banner:()=>fu,button:()=>eu,card:()=>ru,chart:()=>Tu,checkbox:()=>su,chip:()=>du,chipChoice:()=>lu,chipGroup:()=>uu,collapsible:()=>_u,combobox:()=>Au,dateRangePicker:()=>Fu,drawer:()=>vu,eventCard:()=>ou,floatingMenu:()=>Ou,foundation:()=>c,link:()=>pu,modal:()=>xu,notice:()=>ku,notification:()=>Nu,pageDesigner:()=>Lu,pageFooter:()=>yu,pageHeader:()=>gu,pageLayout:()=>bu,popover:()=>Ru,radio:()=>au,reorderableList:()=>Su,resolveFamilyClass:()=>In,resolveSizeClass:()=>Tn,semantic:()=>u,setVariable:()=>Lt,switch_:()=>Iu,table:()=>cu,tabs:()=>Eu,textArea:()=>wu,textInput:()=>Cu,titleBreadcrumb:()=>mu,toc:()=>iu,toggle:()=>tu,tooltip:()=>Pu,treeList:()=>nu,typographies:()=>Jd,typographyBody1Medium:()=>Ba,typographyBody1Regular:()=>Ua,typographyBody1Semibold:()=>$a,typographyBody2Medium:()=>Ha,typographyBody2MediumUnderline:()=>Va,typographyBody2Regular:()=>za,typographyBody2Semibold:()=>Wa,typographyCaption1Medium:()=>Ga,typographyCaption1Semibold:()=>ja,typographyCaption2Bold:()=>Za,typographyCaption2Medium:()=>Ka,typographyCaption2Semibold:()=>qa,typographyDisplay:()=>Pa,typographyTitle1:()=>Fa,typographyTitle2:()=>Ma,typographyTitle3:()=>Da,typographyVariants:()=>Xd});var Be=t=>typeof t=="string"?Yt(t):t,r=class{static create(e,o,n,i){let s=l=>Be(l??i),a=N`var(${Be(e)}, ${s(i)})`;return a.name=e,a.description=o,a.category=n,a.defaultValue=i,a.defaultCssValue=s,a.set=l=>Lt(a,l??s(i)),a.get=l=>N`var(${Be(e)}, ${s(l)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(e,o,n,i){let s=l=>n.get(l??i),a=N`var(${Be(e)}, ${s(i)})`;return a.name=e,a.description=o,a.category=n.category,a.fallbackVariable=n,a.defaultValue=i,a.defaultCssValue=s,a.set=l=>Lt(a,l??s(i)),a.get=l=>N`var(${Be(e)}, ${s(l)})`,a.breadcrumb=()=>[n.name,...n.breadcrumb()],a.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),a}static external(e,o){let n=s=>e.defaultCssValue(s),i=N`var(${Be(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=s=>e.set(s),i.get=s=>N`var(${Be(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Lt(t,e){return Be(`${t.name}: ${e}`)}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)")},Pa={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")},Fa={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")},Ma={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")},Da={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")},Ua={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")},Ba={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")},$a={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")},za={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")},Ha={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")},Va={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")},Wa={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")},Ga={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")},ja={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")},Ka={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")},qa={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")},Za={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")},Jd={display:Pa,"title-1":Fa,"title-2":Ma,"title-3":Da,"body-1-regular":Ua,"body-1-medium":Ba,"body-1-semibold":$a,"body-2-regular":za,"body-2-medium":Ha,"body-2-medium-underline":Va,"body-2-semibold":Wa,"caption-1-medium":Ga,"caption-1-semibold":ja,"caption-2-medium":Ka,"caption-2-semibold":qa,"caption-2-bold":Za},Xd=["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 eu={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 tu={iconSize:r.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",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),width:r.create("--ftds-toggle-width","","SIZE","36px"),height:r.create("--ftds-toggle-height","","SIZE","20px")};var ru={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 ou={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.iconSize3),slotHorizontalPadding:r.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:r.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:r.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:r.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var nu={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 iu={titleColor:r.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:r.extend("--ftds-toc-title-gap","",c.spacing2),offsetTop:r.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:r.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:r.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:r.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:r.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:r.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:r.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:r.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:r.extend("--ftds-toc-item-inactive-label-color","",u.contentGlobalSubtle),itemInactiveBorderColor:r.extend("--ftds-toc-item-inactive-border-color","",u.borderGlobalSubtle),itemInactiveStateLayerColor:r.extend("--ftds-toc-item-inactive-state-layer-color","",u.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",c.opacity8),itemInactiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",c.opacity8),itemActiveLabelColor:r.extend("--ftds-toc-item-active-label-color","",u.contentActionPrimary),itemActiveBorderColor:r.extend("--ftds-toc-item-active-border-color","",u.borderActionPrimary),itemActiveBorderWidth:r.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:r.extend("--ftds-toc-item-active-state-layer-color","",u.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:r.extend("--ftds-toc-item-active-default-state-layer-opacity","",c.opacity8),itemActiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-active-hover-state-layer-opacity","",c.opacity16),itemActiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-active-focus-state-layer-opacity","",c.opacity16),itemChildActiveLabelColor:r.extend("--ftds-toc-item-child-active-label-color","",u.contentActionPrimary),itemChildActiveBorderColor:r.extend("--ftds-toc-item-child-active-border-color","",u.borderGlobalSubtle),itemChildActiveStateLayerColor:r.extend("--ftds-toc-item-child-active-state-layer-color","",u.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",c.opacity8),itemChildActiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",c.opacity8)};var su={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 au={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 cu={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 lu={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 du={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 uu={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 pu={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 fu={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 hu={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 mu={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 gu={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 yu={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 bu={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var xu={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 Su={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 vu={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 Eu={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 Cu={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),helperVerticalGap:r.extend("--ftds-text-input-helper-vertical-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 wu={fieldPaddingLeft:r.extend("--ftds-text-area-field-padding-left","",c.spacing4),fieldPaddingRight:r.extend("--ftds-text-area-field-padding-right","",c.spacing6),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:r.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:r.extend("--ftds-text-area-resize-bottom","",c.spacing05),resizeRight:r.extend("--ftds-text-area-resize-right","",c.spacing05)};var Ou={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 Au={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 Ru={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 _u={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 Iu={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 Tu={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var Lu={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 ku={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 Nu={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 Pu={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 Fu={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 ar;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ar||(ar={}));var cr;(function(t){t.large="large",t.medium="medium",t.small="small"})(cr||(cr={}));function In(t){return`ftds--family-${t}`}function Tn(t){return`ftds--size-${t}`}var Je={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 Nn={};k(Nn,{DynamicImporter:()=>Yr,dynamicImporter:()=>Mu});var Yr=class{async import(e){if(e)return import(e)}},Mu=new Yr;var Gn={};k(Gn,{computeOffsetAutoPosition:()=>ap,computeOffsetPosition:()=>sp});var Qa=["top","right","bottom","left"],Ya=["start","end"],Fn=Qa.reduce((t,e)=>t.concat(e,e+"-"+Ya[0],e+"-"+Ya[1]),[]),Xe=Math.min,ye=Math.max,lr=Math.round;var be=t=>({x:t,y:t}),Du={left:"right",right:"left",bottom:"top",top:"bottom"};function Ja(t,e,o){return ye(t,Xe(e,o))}function kt(t,e){return typeof t=="function"?t(e):t}function et(t){return t.split("-")[0]}function xe(t){return t.split("-")[1]}function Mn(t){return t==="x"?"y":"x"}function Dn(t){return t==="y"?"height":"width"}function Nt(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Un(t){return Mn(Nt(t))}function Xa(t,e,o){o===void 0&&(o=!1);let n=xe(t),i=Un(t),s=Dn(i),a=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=Pn(a)),[a,Pn(a)]}function ec(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Pn(t){let e=et(t);return Du[e]+t.slice(e.length)}function Uu(t){var e,o,n,i;return{top:(e=t.top)!=null?e:0,right:(o=t.right)!=null?o:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function tc(t){return typeof t!="number"?Uu(t):{top:t,right:t,bottom:t,left:t}}function tt(t){let{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function rc(t,e,o){let{reference:n,floating:i}=t,s=Nt(e),a=Un(e),l=Dn(a),d=et(e),p=s==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(d){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}let S=xe(e);return S&&(b[a]+=m*(S==="end"?1:-1)*(o&&p?-1:1)),b}async function oc(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:a,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=kt(e,t),S=tc(b),v=l[m?f==="floating"?"reference":"floating":f],A=tt(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(v)))==null||o?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),_=f==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),g=await(s.isElement==null?void 0:s.isElement(y))&&await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1},x=tt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:_,offsetParent:y,strategy:d}):_);return{top:(A.top-x.top+S.top)/g.y,bottom:(x.bottom-A.bottom+S.bottom)/g.y,left:(A.left-x.left+S.left)/g.x,right:(x.right-A.right+S.right)/g.x}}var Bu=50,nc=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=o,l=a.detectOverflow?a:{...a,detectOverflow:oc},d=await(a.isRTL==null?void 0:a.isRTL(e)),p=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=rc(p,n,d),m=n,b=0,S={};for(let C=0;C<s.length;C++){let v=s[C];if(!v)continue;let{name:A,fn:_}=v,{x:y,y:g,data:x,reset:E}=await _({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:l,elements:{reference:t,floating:e}});h=y??h,f=g??f,S[A]={...S[A],...x},E&&b<Bu&&(b++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(p=E.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:h,y:f}=rc(p,m,d)),C=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function $u(t,e,o){return(t?[...o.filter(i=>xe(i)===t),...o.filter(i=>xe(i)!==t)]:o.filter(i=>et(i)===i)).filter(i=>t?xe(i)===t||(e?ec(i)!==i:!1):!0)}var ic=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:s,middlewareData:a,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Fn,autoAlignment:b=!0,...S}=kt(t,e),C=f!==void 0||m===Fn?$u(f||null,b,m):m,v=((o=a.autoPlacement)==null?void 0:o.index)||0,A=C[v];if(A==null)return{};if(l!==A)return{reset:{placement:C[0]}};let _=await d.detectOverflow(e,S),y=Xa(A,s,await(d.isRTL==null?void 0:d.isRTL(p.floating))),g=[_[et(A)],_[y[0]],_[y[1]]],x=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:g}],E=C[v+1];if(E)return{data:{index:v+1,overflows:x},reset:{placement:E}};let I=x.map(R=>{let P=xe(R.placement);return[R.placement,P&&h?R.overflows.slice(0,2).reduce((z,fe)=>z+fe,0):R.overflows[0],R.overflows]}).sort((R,P)=>R[1]-P[1]),U=((i=I.filter(R=>R[2].slice(0,xe(R[0])?2:3).every(P=>P<=0))[0])==null?void 0:i[0])||I[0][0];return U!==l?{data:{index:v+1,overflows:x},reset:{placement:U}}:{}}}};var zu=new Set(["left","top"]);async function Hu(t,e){let{placement:o,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=et(o),l=xe(o),d=Nt(o)==="y",p=zu.has(a)?-1:1,h=s&&d?-1:1,f=kt(e,t),{mainAxis:m,crossAxis:b,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof S=="number"&&(b=l==="end"?S*-1:S),d?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var sc=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:i,y:s,placement:a,middlewareData:l}=e,d=await Hu(e,t);return a===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},ac=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i,platform:s}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:d={fn:_=>{let{x:y,y:g}=_;return{x:y,y:g}}},...p}=kt(t,e),h={x:o,y:n},f=await s.detectOverflow(e,p),m=Nt(i),b=Mn(m),S=h[b],C=h[m],v=(_,y)=>Ja(y+f[_==="y"?"top":"left"],y,y-f[_==="y"?"bottom":"right"]);a&&(S=v(b,S)),l&&(C=v(m,C));let A=d.fn({...e,[b]:S,[m]:C});return{...A,data:{x:A.x-o,y:A.y-n,enabled:{[b]:a,[m]:l}}}}}};var cc=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:o,rects:n,platform:i,elements:s}=e,{apply:a=()=>{},...l}=kt(t,e),d=await i.detectOverflow(e,l),p=et(o),h=xe(o),f=Nt(o)==="y",{width:m,height:b}=n.floating,S,C;p==="top"||p==="bottom"?(S=p,C=h===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(C=p,S=h==="end"?"top":"bottom");let v=b-d.top-d.bottom,A=m-d.left-d.right,_=Xe(b-d[S],v),y=Xe(m-d[C],A),g=e.middlewareData.shift,x=!g,E=_,I=y;g!=null&&g.enabled.x&&(I=A),g!=null&&g.enabled.y&&(E=v),x&&!h&&(f?I=m-2*ye(d.left,d.right):E=b-2*ye(d.top,d.bottom)),await a({...e,availableWidth:I,availableHeight:E});let F=await i.getDimensions(s.floating);return m!==F.width||b!==F.height?{reset:{rects:!0}}:{}}}};function Jr(){return typeof window<"u"}function ot(t){return dc(t)?(t.nodeName||"").toLowerCase():"#document"}function J(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function _e(t){var e;return(e=(dc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function dc(t){return Jr()?t instanceof Node||t instanceof J(t).Node:!1}function de(t){return Jr()?t instanceof Element||t instanceof J(t).Element:!1}function Ie(t){return Jr()?t instanceof HTMLElement||t instanceof J(t).HTMLElement:!1}function lc(t){return!Jr()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof J(t).ShadowRoot}function dr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&i!=="inline"&&i!=="contents"}function uc(t){return/^(table|td|th)$/.test(ot(t))}function ur(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var Vu=/transform|translate|scale|rotate|perspective|filter/,Wu=/paint|layout|strict|content/,rt=t=>!!t&&t!=="none",Bn;function Pt(t){let e=de(t)?ue(t):t;return rt(e.transform)||rt(e.translate)||rt(e.scale)||rt(e.rotate)||rt(e.perspective)||!Xr()&&(rt(e.backdropFilter)||rt(e.filter))||Vu.test(e.willChange||"")||Wu.test(e.contain||"")}function pc(t){let e=$e(t);for(;Ie(e)&&!Ft(e);){if(Pt(e))return e;if(ur(e))return null;e=$e(e)}return null}function Xr(){return Bn==null&&(Bn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Bn}function Ft(t){return/^(html|body|#document)$/.test(ot(t))}function ue(t){return J(t).getComputedStyle(t)}function pr(t){return de(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function $e(t){if(ot(t)==="html")return t;let e=t.assignedSlot||t.parentNode||lc(t)&&t.host||_e(t);return lc(e)?e.host:e}function fc(t){let e=$e(t);return Ft(e)?(t.ownerDocument||t).body:Ie(e)&&dr(e)?e:fc(e)}function Qr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=fc(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),a=J(i);if(s){let l=eo(a);return e.concat(a,a.visualViewport||[],dr(i)?i:[],l&&o?Qr(l):[])}else return e.concat(i,Qr(i,[],o))}function eo(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function gc(t){let e=ue(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ie(t),s=i?t.offsetWidth:o,a=i?t.offsetHeight:n,l=lr(o)!==s||lr(n)!==a;return l&&(o=s,n=a),{width:o,height:n,$:l}}function yc(t){return de(t)?t:t.contextElement}function Mt(t){let e=yc(t);if(!Ie(e))return be(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:s}=gc(e),a=(s?lr(o.width):o.width)/n,l=(s?lr(o.height):o.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}var Gu=be(0);function bc(t){let e=J(t);return!Xr()||!e.visualViewport?Gu:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ju(t,e,o){return e===void 0&&(e=!1),!!o&&e&&o===J(t)}function fr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),s=yc(t),a=be(1);e&&(n?de(n)&&(a=Mt(n)):a=Mt(t));let l=ju(s,o,n)?bc(s):be(0),d=(i.left+l.x)/a.x,p=(i.top+l.y)/a.y,h=i.width/a.x,f=i.height/a.y;if(s&&n){let m=J(s),b=de(n)?J(n):n,S=m,C=eo(S);for(;C&&b!==S;){let v=Mt(C),A=C.getBoundingClientRect(),_=ue(C),y=A.left+(C.clientLeft+parseFloat(_.paddingLeft))*v.x,g=A.top+(C.clientTop+parseFloat(_.paddingTop))*v.y;d*=v.x,p*=v.y,h*=v.x,f*=v.y,d+=y,p+=g,S=J(C),C=eo(S)}}return tt({width:h,height:f,x:d,y:p})}function to(t,e){let o=pr(t).scrollLeft;return e?e.left+o:fr(_e(t)).left+o}function xc(t,e){let o=t.getBoundingClientRect(),n=o.left+e.scrollLeft-to(t,o),i=o.top+e.scrollTop;return{x:n,y:i}}function Ku(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t,s=i==="fixed",a=_e(n),l=e?ur(e.floating):!1;if(n===a||l&&s)return o;let d={scrollLeft:0,scrollTop:0},p=be(1),h=be(0),f=Ie(n);if((f||!s)&&((ot(n)!=="body"||dr(a))&&(d=pr(n)),f)){let b=fr(n);p=Mt(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=a&&!f&&!s?xc(a,d):be(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 qu(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Zu(t){let e=pr(t),o=t.ownerDocument.body,n=ye(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=ye(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-e.scrollLeft+to(t),a=-e.scrollTop;return ue(o).direction==="rtl"&&(s+=ye(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:s,y:a}}var Yu=25;function Qu(t,e,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",i=J(t),s=_e(t),a=i.visualViewport,l=s.clientWidth,d=s.clientHeight,p=0,h=0;if(a){let m=!Xr()||e==="fixed";n?m||(p=-a.offsetLeft,h=-a.offsetTop):(l=a.width,d=a.height,m&&(p=a.offsetLeft,h=a.offsetTop))}if(to(s)<=0){let m=s.ownerDocument,b=m.body,S=getComputedStyle(b),C=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,v=Math.abs(s.clientWidth-b.clientWidth-C),A=getComputedStyle(s).scrollbarGutter==="stable both-edges"?v/2:v;A<=Yu&&(l-=A)}return{width:l,height:d,x:p,y:h}}function Ju(t,e){let o=fr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,s=Mt(t),a=t.clientWidth*s.x,l=t.clientHeight*s.y,d=i*s.x,p=n*s.y;return{width:a,height:l,x:d,y:p}}function hc(t,e,o){let n;if(e==="viewport"||e==="layoutViewport")n=Qu(t,o,e);else if(e==="document")n=Zu(_e(t));else if(de(e))n=Ju(e,o);else{let i=bc(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return tt(n)}function Xu(t,e){let o=e.get(t);if(o)return o;let n=Qr(t,[],!1).filter(l=>de(l)&&ot(l)!=="body"),i=null,s=ue(t).position==="fixed",a=s?$e(t):t;for(;de(a)&&!Ft(a);){let l=ue(a),d=Pt(a),p=i?i.position:s?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==a):i=l,a=$e(a)}return e.set(t,n),n}function ep(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,a=[...o==="clippingAncestors"?ur(e)?[]:Xu(e,this._c):[].concat(o),n],l=hc(e,a[0],i),d=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<a.length;m++){let b=hc(e,a[m],i);d=ye(b.top,d),p=Xe(b.right,p),h=Xe(b.bottom,h),f=ye(b.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function tp(t){let{width:e,height:o}=gc(t);return{width:e,height:o}}function rp(t,e,o){let n=Ie(e),i=_e(e),s=o==="fixed",a=fr(t,!0,s,e),l={scrollLeft:0,scrollTop:0},d=be(0);if((n||!s)&&((ot(e)!=="body"||dr(i))&&(l=pr(e)),n)){let m=fr(e,!0,s,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=to(i));let p=i&&!n&&!s?xc(i,l):be(0),h=a.left+l.scrollLeft-d.x-p.x,f=a.top+l.scrollTop-d.y-p.y;return{x:h,y:f,width:a.width,height:a.height}}function $n(t){return ue(t).position==="static"}function mc(t,e){if(!Ie(t)||ue(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return _e(t)===o&&(o=o.ownerDocument.body),o}function Sc(t,e){let o=J(t);if(ur(t))return o;if(!Ie(t)){let i=$e(t);for(;i&&!Ft(i);){if(de(i)&&!$n(i))return i;i=$e(i)}return o}let n=mc(t,e);for(;n&&uc(n)&&$n(n);)n=mc(n,e);return n&&Ft(n)&&$n(n)&&!Pt(n)?o:n||pc(t)||o}var op=async function(t){let e=this.getOffsetParent||Sc,o=this.getDimensions,n=await o(t.floating);return{reference:rp(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function np(t){return ue(t).direction==="rtl"}var Dt={convertOffsetParentRelativeRectToViewportRelativeRect:Ku,getDocumentElement:_e,getClippingRect:ep,getOffsetParent:Sc,getElementRects:op,getClientRects:qu,getDimensions:tp,getScale:Mt,isElement:de,isRTL:np};var vc=sc,zn=ic,Ec=ac;var Cc=cc;var Hn=(t,e,o)=>{let n=new Map,i=o??{},s={...Dt,...i.platform,_c:n};return nc(t,e,{...i,platform:s})};function Wn(t){return ip(t)}function Vn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ip(t){for(let e=t;e;e=Vn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Vn(t);e;e=Vn(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||Pt(o)||e.tagName==="BODY"))return e}return null}async function sp(t,e,o){let n;return typeof o=="object"?n=o:n={placement:o},Hn(t,e,{strategy:n.strategy,platform:{...Dt,getOffsetParent:i=>Dt.getOffsetParent(i,Wn)},middleware:[Ec({crossAxis:!0}),zn({allowedPlacements:[n.placement]})]})}async function ap(t,e,o,n,i,s,a){let l,d;return typeof o=="object"?(l=o.placement,n=o.allowedPlacements,i=o.strategy,s=o.maxHeightCssVariable,d=o.maxWidthCssVariable,a=o.offsetValue):l=o,Hn(t,e,{placement:l,strategy:i,platform:{...Dt,getOffsetParent:p=>Dt.getOffsetParent(p,Wn)},middleware:[vc(a??4),zn({allowedPlacements:n}),Cc({apply({availableHeight:p,availableWidth:h,elements:f}){typeof s=="string"&&(s=`var(${s})`),s?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${s})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof d=="string"&&(d=`var(${d})`),d?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var jn={};k(jn,{isSlotEmptyOrWithoutContent:()=>cp});var cp=t=>t?t.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var Jn={};k(Jn,{FtdsBase:()=>Qn,toFtdsBase:()=>Tc});var Yn={};k(Yn,{ExportpartsUpdatedEvent:()=>nt,FtLitElement:()=>j});var Kn={};k(Kn,{ScopedRegistryLitElement:()=>hr});var hr=class extends Ce{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Qt(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(e,o){nr(e)(o),this.canDefineScopedElement(e)&&this.registry.define(e,o)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,o){this.scopedRegistryConstructor.defineScopedElement(e,o)}};var Zn={};k(Zn,{shadowQuerySelector:()=>qn,shadowQuerySelectorAll:()=>lp});function qn(t,e,...o){var n;let i=t.querySelector(e);for(let s of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}function lp(t,e,...o){let n=[...t.querySelectorAll(e)];for(let i of o)n=n.flatMap(s=>{var a,l;return[...(l=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Ut=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},Rc,wc=Symbol("constructorPrototype"),Oc=Symbol("constructorName"),_c=Symbol("exportpartsDebouncer"),Ac=Symbol("dynamicDependenciesLoaded"),nt=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};nt.eventName="exportparts-updated";var j=class extends hr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Rc]=new Re(5),this.scheduleExportpartsUpdate=()=>{var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[_c].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Oc]=this.constructor.name,this[wc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Oc]&&Object.setPrototypeOf(this,this[wc])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[Ac]||(o[Ac]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(nt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(nt.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new nt)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];o=qn(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){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(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(e){var o,n,i,s,a,l;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(s=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let b=(a=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[],C=[...b,...S].filter(d).map(v=>v.trim());for(let v of C)h.add(v)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Rc=_c;Ut([w()],j.prototype,"exportpartsPrefix",void 0);Ut([le([])],j.prototype,"exportpartsPrefixes",void 0);Ut([w({reflect:!0})],j.prototype,"exportparts",void 0);Ut([w()],j.prototype,"customStylesheet",void 0);Ut([w()],j.prototype,"elementToFocus",void 0);Ut([$()],j.prototype,"useAdoptedStyleSheets",void 0);var Ic=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},Tc=V(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=cr.medium,this.family=ar.neutral}getDesignSystemBaseClasses(){return{[In(this.family)]:!0,[Tn(this.size)]:!0}}}return Ic([w()],e.prototype,"size",void 0),Ic([w()],e.prototype,"family",void 0),e}),Qn=class extends Tc(j){};var Lc={};var ti={};k(ti,{highlightHtml:()=>ei,highlightHtmlColorCssVariable:()=>kc,highlightHtmlStyles:()=>up});var it=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let s=!1;return n.every(a=>i.call(e,a)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=o.filter(s=>s.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let s=e.contentWindow;if(i=s.document,!s||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,s=null,a=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",a),s=setTimeout(a,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let s=e.querySelectorAll("iframe"),a=s.length,l=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&i(l)};a||d(),s.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),d()},d)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(o!==null){let a=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(a&l)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let s=!1,a=!1;return i.forEach((l,d)=>{l.val===n&&(s=d,a=l.handled)}),this.compareNodeIframe(e,o,n)?(s===!1&&!a?i.push({val:n,handled:!0}):s!==!1&&!a&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,s){let a=this.createIterator(o,e,i),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(a),p);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,b=>d.push(b),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),s()}forEachNode(e,o,n,i=()=>{}){let s=this.getContexts(),a=s.length;a||i(),s.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,o,n,()=>{--a<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var mr=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new it(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in o)if(o.hasOwnProperty(s)){let a=o[s],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?o:o+"\0"})}createJoinersRegExp(e){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?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){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 e.split("").forEach(s=>{n.every(a=>{if(a.indexOf(s)!==-1){if(i.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${o}`),`[${a}]`),i.push(a)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,s=typeof n=="string"?[]:n.limiters,a="";switch(s.forEach(l=>{a+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return a="\\s"+(a||this.escapeStr(o)),`()([^${a}]*${e}[^${a}]*)`;case"exactly":return`(^|\\s${a})(${e})(?=$|\\s${a})`}}getSeparatedKeywords(e){let o=[];return e.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(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((i,s)=>i.start-s.start).forEach(i=>{let{start:s,end:a,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=s,i.length=a-s,o.push(i),n=a)}),o}callNoMatchOnInvalidRanges(e,o){let n,i,s=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-o>0&&i-n>0?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:s}}checkWhitespaceRanges(e,o,n){let i,s=!0,a=n.length,l=o-a,d=parseInt(e.start,10)-l;return d=d>a?a:d,i=d+parseInt(e.length,10),i>a&&(i=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||i-d<0||d>a||i>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:s}}getTextNodes(e){let 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,()=>{e({value:o,nodes:n})})}matchesExclude(e){return it.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",s=e.splitText(o),a=s.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=s.textContent,s.parentNode.replaceChild(l,s),a}wrapRangeInMappedTextNode(e,o,n,i,s){e.nodes.every((a,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>o){if(!i(a.node))return!1;let p=o-a.start,h=(n>a.end?a.end:n)-a.start,f=e.value.substr(0,a.start),m=e.value.substr(h+a.start);if(a.node=this.wrapRangeInTextNode(a.node,p,h),e.value=f+m,e.nodes.forEach((b,S)=>{S>=l&&(e.nodes[S].start>0&&S!==l&&(e.nodes[S].start-=h),e.nodes[S].end-=h)}),n-=h,s(a.node.previousSibling,a.start),n>a.end)o=a.end;else return!1}return!0})}wrapMatches(e,o,n,i,s){let a=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[a]!=="";){if(!n(p[a],d))continue;let h=p.index;if(a!==0)for(let f=1;f<a;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[a].length),i(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,o,n,i,s){let a=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[a]!=="";){let p=d.index;if(a!==0)for(let f=1;f<a;f++)p+=d[f].length;let h=p+d[a].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(d[a],f),(f,m)=>{e.lastIndex=m,i(f)})}s()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(s=>{let a=s.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,a,s.value);f&&this.wrapRangeInMappedTextNode(s,p,h,m=>o(m,l,s.value.substring(p,h),d),m=>{n(m,l)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",s=a=>{n++,this.opt.each(a)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(a,l)=>this.opt.filter(l,a,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:s,length:a}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),s[a-1]===p?this.opt.done(n):d(s[s.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),a===0?this.opt.done(n):d(s[0])}markRanges(e,o){this.opt=o;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(s,a,l,d)=>this.opt.filter(s,a,l,d),(s,a)=>{n++,this.opt.each(s,a)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let 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=it.matches(n,o),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Xn(t){let e=new mr(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var dp=Xn,kc=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),up=N`
1
+ "use strict";(()=>{var ed=Object.defineProperty;var k=(t,e)=>{for(var o in e)ed(t,o,{get:e[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(y,g){if(y=y.toLowerCase(),this._getDefinition(y)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${y}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=g.prototype.attributeChangedCallback,E=new Set(g.observedAttributes||[]);m(g,E,x);let I={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:E};this._definitionsByTag.set(y,I),this._definitionsByClass.set(g,I);let F=o.call(n,y);F||(F=f(y),e.call(n,y,F)),this===window.customElements&&(a.set(g,I),I.standInClass=F);let U=this._awaitingUpgrade.get(y);if(U){this._awaitingUpgrade.delete(y);for(let P of U)s.delete(P),v(P,I,!0)}let R=this._whenDefinedPromises.get(y);return R!==void 0&&(R.resolve(g),this._whenDefinedPromises.delete(y)),g}upgrade(){S.push(this),n.upgrade.apply(n,arguments),S.pop()}get(y){return this._definitionsByTag.get(y)?.elementClass}_getDefinition(y){return this._definitionsByTag.get(y)}whenDefined(y){let g=this._getDefinition(y);if(g!==void 0)return Promise.resolve(g.elementClass);let x=this._whenDefinedPromises.get(y);return x===void 0&&(x={},x.promise=new Promise(E=>x.resolve=E),this._whenDefinedPromises.set(y,x)),x.promise}_upgradeWhenDefined(y,g,x){let E=this._awaitingUpgrade.get(g);E||this._awaitingUpgrade.set(g,E=new Set),x?E.add(y):E.delete(y)}};let d;window.HTMLElement=function(){let g=d;if(g)return d=void 0,g;let x=a.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(t,[],x.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,x),g},window.HTMLElement.prototype=t.prototype;let p=y=>y===document||y instanceof ShadowRoot,h=y=>{let g=y.getRootNode();if(!p(g)){let x=S[S.length-1];if(x instanceof CustomElementRegistry)return x;g=x.getRootNode(),p(g)||(g=l.get(g)?.getRootNode()||document)}return g.customElements},f=y=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let E=h(x)||window.customElements,I=E._getDefinition(y);return I?v(x,I):s.set(x,E),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,y,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,y,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(y,g,x)=>{if(g.size===0||x===void 0)return;let E=y.prototype.setAttribute;E&&(y.prototype.setAttribute=function(U,R){let P=U.toLowerCase();if(g.has(P)){let z=this.getAttribute(P);E.call(this,P,R),x.call(this,P,z,R)}else E.call(this,P,R)});let I=y.prototype.removeAttribute;I&&(y.prototype.removeAttribute=function(U){let R=U.toLowerCase();if(g.has(R)){let P=this.getAttribute(R);I.call(this,R),x.call(this,R,P,null)}else I.call(this,R)});let F=y.prototype.toggleAttribute;F&&(y.prototype.toggleAttribute=function(U,R){let P=U.toLowerCase();if(g.has(P)){let z=this.getAttribute(P);F.call(this,P,R);let fe=this.getAttribute(P);x.call(this,P,z,fe)}else F.call(this,P,R)})},b=y=>{let g=Object.getPrototypeOf(y);if(g!==window.HTMLElement)return g===t?Object.setPrototypeOf(y,window.HTMLElement):b(g)},v=(y,g,x=!1)=>{Object.setPrototypeOf(y,g.elementClass.prototype),i.set(y,g),d=y;try{new g.elementClass}catch{b(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(E=>{y.hasAttribute(E)&&g.attributeChangedCallback.call(y,E,null,y.getAttribute(E))}),x&&g.connectedCallback&&y.isConnected&&g.connectedCallback.call(y)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(y){let g=C.apply(this,arguments);return y.customElements&&(g.customElements=y.customElements),g};let S=[document],A=(y,g,x=void 0)=>{let E=(x?Object.getPrototypeOf(x):y.prototype)[g];y.prototype[g]=function(){S.push(this);let I=E.apply(x||this,arguments);return I!==void 0&&l.set(I,this),S.pop(),I}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let _=(y,g)=>{let x=Object.getOwnPropertyDescriptor(y.prototype,g);Object.defineProperty(y.prototype,g,{...x,set(E){S.push(this),x.set.call(this,E),S.pop()}})};if(_(Element,"innerHTML"),_(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 R=g.call(this,...U);return y.set(R,this),R},x.forEach(U=>{let R=window.ElementInternals.prototype,P=R[U];R[U]=function(...z){let fe=y.get(this);if(i.get(fe).formAssociated===!0)return P?.call(this,...z);throw new DOMException(`Failed to execute ${P} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class E extends Array{constructor(R){super(...R),this._elements=R}get value(){return this._elements.find(R=>R.checked===!0)?.value||""}}class I{constructor(R){let P=new Map;R.forEach((z,fe)=>{let Vo=z.getAttribute("name"),us=P.get(Vo)||[];this[+fe]=z,us.push(z),P.set(Vo,us)}),this.length=R.length,P.forEach((z,fe)=>{z&&(z.length===1?this[fe]=z[0]:this[fe]=new E(z))})}namedItem(R){return this[R]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=F.get.call(this,[]),R=[];for(let P of U){let z=i.get(P);(!z||z.formAssociated===!0)&&R.push(P)}return new I(R)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{var s;if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(o,class extends n{},i):console.info(o,n,i,a)}}}var rn={};k(rn,{CSSResult:()=>Ot,LitElement:()=>Ce,ReactiveElement:()=>oe,_$LE:()=>pd,_$LH:()=>Xo,adoptStyles:()=>Qt,css:()=>N,defaultConverter:()=>At,getCompatibleStyle:()=>kr,html:()=>Q,isServer:()=>rh,mathml:()=>Jo,noChange:()=>H,notEqual:()=>Xt,nothing:()=>M,render:()=>en,supportsAdoptingStyleSheets:()=>Zt,svg:()=>Qo,unsafeCSS:()=>Yt});var Lr=globalThis,Zt=Lr.ShadowRoot&&(Lr.ShadyCSS===void 0||Lr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wo=Symbol(),ps=new WeakMap,Ot=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Wo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Zt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=ps.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ps.set(o,e))}return e}toString(){return this.cssText}},Yt=t=>new Ot(typeof t=="string"?t:t+"",void 0,Wo),N=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,i,s)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new Ot(o,t,Wo)},Qt=(t,e)=>{if(Zt)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=Lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},kr=Zt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Yt(o)})(t):t;var{is:td,defineProperty:rd,getOwnPropertyDescriptor:od,getOwnPropertyNames:nd,getOwnPropertySymbols:id,getPrototypeOf:sd}=Object,Nr=globalThis,fs=Nr.trustedTypes,ad=fs?fs.emptyScript:"",cd=Nr.reactiveElementPolyfillSupport,Jt=(t,e)=>t,At={toAttribute(t,e){switch(e){case Boolean:t=t?ad:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Xt=(t,e)=>!td(t,e),hs={attribute:!0,type:String,converter:At,reflect:!1,useDefault:!1,hasChanged:Xt};Symbol.metadata??=Symbol("metadata"),Nr.litPropertyMetadata??=new WeakMap;var oe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=hs){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&rd(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:s}=od(this.prototype,e)??{get(){return this[o]},set(a){this[o]=a}};return{get:i,set(a){let l=i?.call(this);s?.call(this,a),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??hs}static _$Ei(){if(this.hasOwnProperty(Jt("elementProperties")))return;let e=sd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Jt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Jt("properties"))){let o=this.properties,n=[...nd(o),...id(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);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(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(kr(i))}else e!==void 0&&o.push(kr(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Qt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$ET(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:At).toAttribute(o,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:At;this._$Em=i;let l=a.fromAttribute(o,s.type);this[i]=l??this._$Ej?.get(i)??l,this._$Em=null}}requestUpdate(e,o,n,i=!1,s){if(e!==void 0){let a=this.constructor;if(i===!1&&(s=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??Xt)(s,o)||n.useDefault&&n.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:i,wrapped:s},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??o??this[e]),s!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n){let{wrapped:a}=s,l=this[i];a!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,s,l)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};oe.elementStyles=[],oe.shadowRootOptions={mode:"open"},oe[Jt("elementProperties")]=new Map,oe[Jt("finalized")]=new Map,cd?.({ReactiveElement:oe}),(Nr.reactiveElementVersions??=[]).push("2.1.2");var jo=globalThis,ms=t=>t,Pr=jo.trustedTypes,gs=Pr?Pr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ko="$lit$",Ee=`lit$${Math.random().toFixed(9).slice(2)}$`,qo="?"+Ee,ld=`<${qo}>`,qe=document,tr=()=>qe.createComment(""),rr=t=>t===null||typeof t!="object"&&typeof t!="function",Zo=Array.isArray,Es=t=>Zo(t)||typeof t?.[Symbol.iterator]=="function",Go=`[
2
+ \f\r]`,er=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ys=/-->/g,bs=/>/g,je=RegExp(`>|${Go}(?:([^\\s"'>=/]+)(${Go}*=${Go}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),xs=/'/g,vs=/"/g,Cs=/^(?:script|style|textarea|title)$/i,Yo=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Q=Yo(1),Qo=Yo(2),Jo=Yo(3),H=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Ss=new WeakMap,Ke=qe.createTreeWalker(qe,129);function ws(t,e){if(!Zo(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return gs!==void 0?gs.createHTML(e):e}var Os=(t,e)=>{let o=t.length-1,n=[],i,s=e===2?"<svg>":e===3?"<math>":"",a=er;for(let l=0;l<o;l++){let d=t[l],p,h,f=-1,m=0;for(;m<d.length&&(a.lastIndex=m,h=a.exec(d),h!==null);)m=a.lastIndex,a===er?h[1]==="!--"?a=ys:h[1]!==void 0?a=bs:h[2]!==void 0?(Cs.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=je):h[3]!==void 0&&(a=je):a===je?h[0]===">"?(a=i??er,f=-1):h[1]===void 0?f=-2:(f=a.lastIndex-h[2].length,p=h[1],a=h[3]===void 0?je:h[3]==='"'?vs:xs):a===vs||a===xs?a=je:a===ys||a===bs?a=er:(a=je,i=void 0);let b=a===je&&t[l+1].startsWith("/>")?" ":"";s+=a===er?d+ld:f>=0?(n.push(p),d.slice(0,f)+Ko+d.slice(f)+Ee+b):d+Ee+(f===-2?l:b)}return[ws(t,s+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},or=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let s=0,a=0,l=e.length-1,d=this.parts,[p,h]=Os(e,o);if(this.el=t.createElement(p,n),Ke.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ke.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Ko)){let m=h[a++],b=i.getAttribute(f).split(Ee),v=/([.?@])?(.*)/.exec(m);d.push({type:1,index:s,name:v[2],strings:b,ctor:v[1]==="."?Mr:v[1]==="?"?Dr:v[1]==="@"?Ur:Ye}),i.removeAttribute(f)}else f.startsWith(Ee)&&(d.push({type:6,index:s}),i.removeAttribute(f));if(Cs.test(i.tagName)){let f=i.textContent.split(Ee),m=f.length-1;if(m>0){i.textContent=Pr?Pr.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],tr()),Ke.nextNode(),d.push({type:2,index:++s});i.append(f[m],tr())}}}else if(i.nodeType===8)if(i.data===qo)d.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(Ee,f+1))!==-1;)d.push({type:7,index:s}),f+=Ee.length-1}s++}}static createElement(e,o){let n=qe.createElement("template");return n.innerHTML=e,n}};function Ze(t,e,o=t,n){if(e===H)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,s=rr(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Ze(t,i._$AS(t,e.values),i,n)),e}var Fr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??qe).importNode(o,!0);Ke.currentNode=i;let s=Ke.nextNode(),a=0,l=0,d=n[0];for(;d!==void 0;){if(a===d.index){let p;d.type===2?p=new Rt(s,s.nextSibling,this,e):d.type===1?p=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(p=new Br(s,this,e)),this._$AV.push(p),d=n[++l]}a!==d?.index&&(s=Ke.nextNode(),a++)}return Ke.currentNode=qe,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Rt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Ze(this,e,o),rr(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==H&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Es(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==M&&rr(this._$AH)?this._$AA.nextSibling.data=e:this.T(qe.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=or.createElement(ws(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let s=new Fr(i,this),a=s.u(this.options);s.p(o),this.T(a),this._$AH=s}}_$AC(e){let o=Ss.get(e.strings);return o===void 0&&Ss.set(e.strings,o=new or(e)),o}k(e){Zo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let s of e)i===o.length?o.push(n=new t(this.O(tr()),this.O(tr()),this,this.options)):n=o[i],n._$AI(s),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e!==this._$AB;){let n=ms(e).nextSibling;ms(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ye=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,s){this.type=1,this._$AH=M,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(e,o=this,n,i){let s=this.strings,a=!1;if(s===void 0)e=Ze(this,e,o,0),a=!rr(e)||e!==this._$AH&&e!==H,a&&(this._$AH=e);else{let l=e,d,p;for(e=s[0],d=0;d<s.length-1;d++)p=Ze(this,l[n+d],o,d),p===H&&(p=this._$AH[d]),a||=!rr(p)||p!==this._$AH[d],p===M?e=M:e!==M&&(e+=(p??"")+s[d+1]),this._$AH[d]=p}a&&!i&&this.j(e)}j(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Mr=class extends Ye{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===M?void 0:e}},Dr=class extends Ye{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Ur=class extends Ye{constructor(e,o,n,i,s){super(e,o,n,i,s),this.type=5}_$AI(e,o=this){if((e=Ze(this,e,o,0)??M)===H)return;let n=this._$AH,i=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Br=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ze(this,e)}},Xo={M:Ko,P:Ee,A:qo,C:1,L:Os,R:Fr,D:Es,V:Ze,I:Rt,H:Ye,N:Dr,U:Ur,B:Mr,F:Br},dd=jo.litHtmlPolyfillSupport;dd?.(or,Rt),(jo.litHtmlVersions??=[]).push("3.3.3");var en=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=o?.renderBefore??null;n._$litPart$=i=new Rt(e.insertBefore(tr(),s),s,void 0,o??{})}return i._$AI(t),i};var tn=globalThis,Ce=class extends oe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=en(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return H}};Ce._$litElement$=!0,Ce.finalized=!0,tn.litElementHydrateSupport?.({LitElement:Ce});var ud=tn.litElementPolyfillSupport;ud?.({LitElement:Ce});var pd={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(tn.litElementVersions??=[]).push("4.2.2");var rh=!1;var on={};k(on,{customElement:()=>fd,eventOptions:()=>md,property:()=>w,query:()=>gd,queryAll:()=>bd,queryAssignedElements:()=>vd,queryAssignedNodes:()=>Sd,queryAsync:()=>xd,standardProperty:()=>As,state:()=>$});var fd=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var hd={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:Xt},As=(t=hd,e,o)=>{let{kind:n,metadata:i}=o,s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(o.name,t),n==="accessor"){let{name:a}=o;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(a,d,t,!0,l)},init(l){return l!==void 0&&this.C(a,void 0,t,l),l}}}if(n==="setter"){let{name:a}=o;return function(l){let d=this[a];e.call(this,l),this.requestUpdate(a,d,t,!0,l)}}throw Error("Unsupported decorator location: "+n)};function w(t){return(e,o)=>typeof o=="object"?As(t,e,o):((n,i,s)=>{let a=i.hasOwnProperty(s);return i.constructor.createProperty(s,n),a?Object.getOwnPropertyDescriptor(i,s):void 0})(t,e,o)}function $(t){return w({...t,state:!0,attribute:!1})}function md(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var ce=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function gd(t,e){return(o,n,i)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:l}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return ce(o,n,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return ce(o,n,{get(){return s(this)}})}}var yd;function bd(t){return(e,o)=>ce(e,o,{get(){return(this.renderRoot??(yd??=document.createDocumentFragment())).querySelectorAll(t)}})}function xd(t){return(e,o)=>ce(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function vd(t){return(e,o)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return ce(e,o,{get(){let a=this.renderRoot?.querySelector(s),l=a?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function Sd(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ce(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var nn={};k(nn,{repeat:()=>zr});var he={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ee=t=>(...e)=>({_$litDirective$:t,values:e}),ne=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:Ed}=Xo,Rs=t=>t;var Is=t=>t.strings===void 0,_s=()=>document.createComment(""),_t=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let s=n.insertBefore(_s(),i),a=n.insertBefore(_s(),i);o=new Ed(s,a,t,t.options)}else{let s=o._$AB.nextSibling,a=o._$AM,l=a!==t;if(l){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==a._$AU&&o._$AP(d)}if(s!==i||l){let d=o._$AA;for(;d!==s;){let p=Rs(d).nextSibling;Rs(n).insertBefore(d,i),d=p}}}return o},Me=(t,e,o=t)=>(t._$AI(e,o),t),Cd={},Ts=(t,e=Cd)=>t._$AH=e,Ls=t=>t._$AH,$r=t=>{t._$AR(),t._$AA.remove()};var ks=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},zr=ee(class extends ne{constructor(t){if(super(t),t.type!==he.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],s=[],a=0;for(let l of t)i[a]=n?n(l,a):a,s[a]=o(l,a),a++;return{values:s,keys:i}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let i=Ls(t),{values:s,keys:a}=this.dt(e,o,n);if(!Array.isArray(i))return this.ut=a,s;let l=this.ut??=[],d=[],p,h,f=0,m=i.length-1,b=0,v=s.length-1;for(;f<=m&&b<=v;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===a[b])d[b]=Me(i[f],s[b]),f++,b++;else if(l[m]===a[v])d[v]=Me(i[m],s[v]),m--,v--;else if(l[f]===a[v])d[v]=Me(i[f],s[v]),_t(t,d[v+1],i[f]),f++,v--;else if(l[m]===a[b])d[b]=Me(i[m],s[b]),_t(t,i[f],i[m]),m--,b++;else if(p===void 0&&(p=ks(a,b,v),h=ks(l,f,m)),p.has(l[f]))if(p.has(l[m])){let C=h.get(a[b]),S=C!==void 0?i[C]:null;if(S===null){let A=_t(t,i[f]);Me(A,s[b]),d[b]=A}else d[b]=Me(S,s[b]),_t(t,i[f],S),i[C]=null;b++}else $r(i[m]),m--;else $r(i[f]),f++;for(;b<=v;){let C=_t(t,d[v+1]);Me(C,s[b]),d[b++]=C}for(;f<=m;){let C=i[f++];C!==null&&$r(C)}return this.ut=a,Ts(t,d),H}});var sn={};k(sn,{classMap:()=>wd});var wd=ee(class extends ne{constructor(t){if(super(t),t.type!==he.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.st)n in e||(o.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return H}});var an={};k(an,{styleMap:()=>Ad});var Ns="important",Od=" !"+Ns,Ad=ee(class extends ne{constructor(t){if(super(t),t.type!==he.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let s=typeof i=="string"&&i.endsWith(Od);n.includes("-")||s?o.setProperty(n,s?i.slice(0,-11):i,s?Ns:""):o[n]=i}}return H}});var cn={};k(cn,{UnsafeHTMLDirective:()=>It,unsafeHTML:()=>Rd});var It=class extends ne{constructor(e){if(super(e),this.it=M,e.type!==he.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===M||e==null)return this._t=void 0,this.it=e;if(e===H)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};It.directiveName="unsafeHTML",It.resultType=1;var Rd=ee(It);var ln={};k(ln,{splitBreadcrumbForMenu:()=>_d});function _d(t,e=0,o=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(o,1),i=t.slice(n*-1);return e+n>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-i.length),afterMenu:i}}var yn={};k(yn,{CacheRegistry:()=>ge,ClearCacheEvent:()=>sr});var dn={};k(dn,{CancelablePromise:()=>Hr,CanceledPromiseError:()=>De,cancelable:()=>Vr});var De=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Hr=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new De("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new De("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Vr=t=>new Hr((e,o)=>t.then(e).catch(o));var gn={};k(gn,{FtNotificationEvent:()=>ir,PostResizeEvent:()=>mn,PreResizeEvent:()=>hn,WithEventBus:()=>Oe,withEventBus:()=>Gr});var fn={};k(fn,{applyMixinOnce:()=>V,customElements:()=>we,dateReviver:()=>Nd,deepCopy:()=>ie,deepEqual:()=>Z,delay:()=>Wr,eventPathContainsMatchingElement:()=>Fd,everyDeep:()=>kd,flatDeep:()=>Us,forEachDeep:()=>Bs,getComposedPathTo:()=>pn,groupBy:()=>Bd,hasChanged:()=>me,ignoreComposingEvents:()=>Ud,last:()=>Md,minmax:()=>Ue,parseDate:()=>zs,randomId:()=>Dd,someDeep:()=>$s,unslotText:()=>Hs,waitFor:()=>Ds,waitUntil:()=>Ld});var un={};k(un,{customElement:()=>nr,dateProperty:()=>Td,isNumber:()=>Ms,jsonProperty:()=>le,jsonPropertyConverter:()=>Ps,numberProperty:()=>Fs,optionalNumberProperty:()=>Id});var nr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},Ps=t=>({fromAttribute:e=>{if(e==null)return ie(t);try{return JSON.parse(e)}catch{return ie(t)}},toAttribute:e=>JSON.stringify(e)});function le(t,e){return w({type:Object,converter:Ps(t),hasChanged:me,...e??{}})}function Id(t){return Fs(t)}function Fs(t){return w({type:Object,converter:{fromAttribute:e=>{var o,n;if(e==null)return;let i=(o=t?.min)!==null&&o!==void 0?o:-1/0,s=(n=t?.max)!==null&&n!==void 0?n:1/0;return Ms(e)?Ue(i,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Ms(t){return!isNaN(parseFloat(t))}function Td(t){return w({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let o=new Date(Date.parse(e));if(!isNaN(o.valueOf()))return o},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var Wr=t=>new Promise(e=>setTimeout(e,t));async function Ld(t,e=10,o=2e4){await Ds(async()=>await t()||void 0,e,o)}async function Ds(t,e=10,o=2e4){let n=await t(),i=performance.now(),s=i;for(;n==null&&(!o||s-i<o);)await Wr(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Us(t,e){return t.flatMap(o=>[o,...Us(e(o),e)])}function Bs(t,e,o){let n=(i,s)=>{var a;for(let l=0;l<i.length;l++){let d=i[l];if(!(((a=o(d,l,i,s))!==null&&a!==void 0?a:!0)&&n(e(d),[...s,d])))return!1}return!0};n(t,[])}function $s(t,e,o){let n=!1;return Bs(t,e,(i,s,a,l)=>(n=!!o(i,s,a,l),!n)),n}function kd(t,e,o){return!$s(t,e,(n,i,s,a)=>!o(n,i,s,a))}function Nd(...t){return(e,o)=>t.includes(e)?zs(o):o}function zs(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function Pd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Z(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Z(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=a=>Object.keys(a).filter(l=>a[l]!=null),s=i(t);if(o=s.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=o;n--!==0;){let a=s[n];if(!Z(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Z(t,e){try{return Pd(t,e)}catch{return!1}}function me(t,e){return!Z(t,e)}function Fd(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(s=>i.matches(s)))return!0}}return!1}function Ue(t,e,o){return Math.min(Math.max(t,e),o)}function Md(t){return t[t.length-1]}function Hs(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Hs(e)).join(""):t?.textContent||""}function pn(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function ie(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Dd(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function V(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}function Ud(){return function(t,e,o){let n=o.value;o.value=function(i,...s){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(s))}}}function we(t){for(let[e,o]of Object.entries(t))nr(e)(o)}function Bd(t,e){var o,n;let i=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((o=s[n=i(a)])!==null&&o!==void 0?o:s[n]=[]).push(a);return s}var ir=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},hn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},mn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Gr=V(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??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)}}}),Oe=class extends Gr(Object){};var sr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},ge=class extends Oe{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var i;let s=this.content[e],a=(i=s?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...s,loader:o,final:n,status:a}}registerFinal(e,o){this.register(e,o,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,o=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new sr(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new sr([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,i;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let i=async()=>o,s="RESOLVED";this.content[e]={loader:i,final:n,status:s,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=Vr(o()),i.promise.then(s=>(i.status="RESOLVED",i.value=s,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),s)).catch(s=>{var a;throw!((a=i.promise)===null||a===void 0)&&a.isCanceled||(i.status="ERROR",i.error=s),s})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var An={};k(An,{ClusteringHelper:()=>On,formatHierarchicalValues:()=>wn});var Cn={};k(Cn,{accessBreadcrumb:()=>qd,accessResult:()=>En,accessResultId:()=>jd,accessResultUrl:()=>Kd,enrichReaderUrl:()=>Sn});var vn={};k(vn,{SearchPlaceConverter:()=>Ae,SearchPlaceQueryParams:()=>T,isSearchPlaceQueryParams:()=>Ta,serializeRequest:()=>Wd});var $d=t=>typeof t=="object"&&t!=null;var zd=t=>typeof t=="number",jr=t=>typeof t=="string",xn=t=>$d(t)&&jr(t.endpoint)&&jr(t.method)&&jr(t.statusText)&&jr(t.body)&&zd(t.status),Vs;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Vs||(Vs={}));var Ws;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ws||(Ws={}));var Gs;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Gs||(Gs={}));var js;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(js||(js={}));var Ks;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ks||(Ks={}));var qs;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(qs||(qs={}));var Zs;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(Zs||(Zs={}));var Ys;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Ys||(Ys={}));var Qs;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(Qs||(Qs={}));var Js;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Js||(Js={}));var Xs;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Xs||(Xs={}));var ea;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(ea||(ea={}));var ta;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ta||(ta={}));var ra;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ra||(ra={}));var oa;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(oa||(oa={}));var na;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(na||(na={}));var ia;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(ia||(ia={}));var Qe;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Qe||(Qe={}));var sa;(function(t){t.ASC="ASC",t.DESC="DESC"})(sa||(sa={}));var aa;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(aa||(aa={}));var Kr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Kr||(Kr={}));var ha=t=>Object.keys(Kr).includes(t);var ca;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(ca||(ca={}));var la;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(la||(la={}));var da;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(da||(da={}));var Tt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Tt||(Tt={}));var ma=t=>Object.keys(Tt).includes(t);var ua;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(ua||(ua={}));var bn;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(bn||(bn={}));var pa;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(pa||(pa={}));var B;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(B||(B={}));var se;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(se||(se={}));var fa;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(fa||(fa={}));var ga;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(ga||(ga={}));var ya;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(ya||(ya={}));var ba;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(ba||(ba={}));var xa;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(xa||(xa={}));var va;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(va||(va={}));var Sa;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Sa||(Sa={}));var Ea;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Ea||(Ea={}));var Ca;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Ca||(Ca={}));var wa;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(wa||(wa={}));var Oa;(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(Oa||(Oa={}));var Aa;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Aa||(Aa={}));var Hd={[B.PERSONAL_BOOK_SHARE_USER]:[B.PERSONAL_BOOK_USER],[B.HTML_EXPORT_USER]:[B.PERSONAL_BOOK_USER],[B.PDF_EXPORT_USER]:[B.PERSONAL_BOOK_USER],[B.KHUB_ADMIN]:[B.CONTENT_PUBLISHER],[B.ADMIN]:[B.KHUB_ADMIN,B.USERS_ADMIN,B.PORTAL_ADMIN,B.BEHAVIOR_DATA_USER],[B.GENERATIVE_AI_EXPORT_USER]:[B.GENERATIVE_AI_USER]};function Ra(t,e){return t===e||(Hd[t]??[]).some(o=>Ra(o,e))}function qr(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>Ra(n,e))}function _a(t,...e){return t==null?!1:e.some(o=>qr(t,o))}function Vd(t){return`"${t}"`}function Ia(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Wd(t,e){return new Ae(t).serialize(e)}var T;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(T||(T={}));var Gd=new Set(Object.values(T));function Ta(t){return Gd.has(t)}var Ae=class t{constructor(e,o=20,n=!1,i="en-US",s=[]){this.baseUrl=e,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=s,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,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(e),i.toString()}toURLSearchParams(e,o=!1){var n,i,s,a,l,d,p,h,f;let m=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&m.append(T.LOCALE,e.contentLocale):m.append(T.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(T.QUERY,e.query);let b=t.serializeValueFilters(e.metadataFilters);b&&m.append(T.VALUE_FILTERS,b);let v=t.serializeNegativeValueFilters(e.metadataFilters);v&&m.append(T.NEGATIVE_VALUE_FILTERS,v);let C=(d=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(y=>y.dateFilter))!==null&&d!==void 0?d:[];if(C.length>0){let y=C.map(g=>{var x;return`${g.key}~${(x=g.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(T.DATE_FILTERS,y)}let S=(p=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(y=>y.rangeFilter))!==null&&p!==void 0?p:[];if(S.length>0){let y=S.map(g=>{var x,E;return`${g.key}~${(x=g.rangeFilter)===null||x===void 0?void 0:x.from}_${(E=g.rangeFilter)===null||E===void 0?void 0:E.to}`}).join("*");m.append(T.RANGE_FILTERS,y)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(T.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(T.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(T.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((h=(l=e.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(T.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(T.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let A=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let y in A)m.append(y,A[y]);let _=new Array;return m.forEach((y,g)=>{_.push(this.encodeQueryString(g)+"="+this.encodeQueryString(y))}),encodeURI(_.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),s=n[0].split("/search/")[1];return s==null?i:{...i,scope:(o=this.scopeMapping[s])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,s,a,l,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(_){console.warn("Could not decode search request query params, fallback on raw value",_)}let p=new URLSearchParams(e),h=(n=p.get(T.LOCALE))!==null&&n!==void 0?n:void 0,f=((i=p.get(T.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(o=p.get(T.SORT))===null||o===void 0?void 0:o.toLowerCase(),b=(s=p.get(T.SCOPE))!==null&&s!==void 0?s:"default",v=+((a=p.get(T.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),C=p.get(T.KEYWORD_MATCH),S=C?C.toUpperCase()===Qe.MANDATORY?Qe.MANDATORY:Qe.OPTIONAL:void 0,A={};for(let _ of p.keys())Ta(_)||(A[_]=p.get(_));return h==="all"?h=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!h||this.availableContentLocales.length>0&&!this.availableContentLocales.some(_=>_.lang===h))&&(h=this.defaultContentLocale),{contentLocale:h,query:(l=p.get(T.QUERY))!==null&&l!==void 0?l:"",scope:(d=this.scopeMapping[b])!==null&&d!==void 0?d:"DEFAULT",virtualField:ha(f)?f:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(p),facets:[],paging:{page:1,perPage:Ue(1,isNaN(v)?this.defaultPerPage:v,1e3)},keywordMatch:S,otherQueryParams:A}}parseCompatFilters(e){var o,n,i,s,a,l,d;let p=[];return e.has(T.FILTERS)&&(p=t.parseValueFilters((o=e.get(T.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(T.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(T.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((s=e.get(T.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(T.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((l=e.get(T.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=e.get(T.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}static parseValueFilters(e,o=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Ia).map(i=>this.unescapeFilterValue(i)),negative:o}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Tt[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}static escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}static superEscapeFilters(e){for(let[o,n,i]of t.filtersEscapeMapping)e=e.replaceAll(n,i);return e}static unescapeFilterValue(e){for(let[o,n,i]of t.filtersEscapeMapping)e=e.replaceAll(i,o);return e}parseLegacyPeriodFilter(e){if(ma(e))return[{key:"ft:lastEdition",dateFilter:{type:Tt[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(e){var o,n;let i=((n=(o=e.valueFilter)===null||o===void 0?void 0:o.values)!==null&&n!==void 0?n:[]).map(s=>t.escapeFilters(s)).map(s=>Vd(Ia(s))).join("_");return`${e.key}~${i}`}static serializeValueFilters(e){var o;let n=(o=e?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var o;let n=(o=e?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let o=new URL(e);return[T.LOCALE,T.FILTERS,T.VALUE_FILTERS,T.NEGATIVE_VALUE_FILTERS,T.DATE_FILTERS,T.RANGE_FILTERS].forEach(i=>{o.searchParams.delete(i)}),o.toString()}static updateLocaleParamInUrl(e,o){let n=new URL(e);return n.searchParams.delete(T.LOCALE),o!==void 0&&n.searchParams.append(T.LOCALE,o),n.toString()}};Ae.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function En(t){var e,o,n,i;return(i=(n=(o=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&o!==void 0?o:t?.document)!==null&&n!==void 0?n:t?.htmlPackage)!==null&&i!==void 0?i:t?.htmlPackagePage}function jd(t){var e,o,n,i,s,a,l,d,p;return(p=(d=(l=(a=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&a!==void 0?a:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&l!==void 0?l:(n=t?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=t?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.contentId}function Kd(t,e){var o,n,i,s,a,l,d,p,h;return(h=(p=(d=(l=Sn((o=t?.map)===null||o===void 0?void 0:o.readerUrl,e))!==null&&l!==void 0?l:Sn((n=t?.topic)===null||n===void 0?void 0:n.readerUrl,e))!==null&&d!==void 0?d:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(s=t?.htmlPackage)===null||s===void 0?void 0:s.viewerUrl)!==null&&h!==void 0?h:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.viewerUrl}function qd(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function Sn(t,e){if(e&&t){let o=URL.parse(t),n=Ae.serializeValueFilters(e);if(n&&o?.searchParams.append(T.VALUE_FILTERS,n),o)return o.toString()}return t}function wn(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var On=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(e,o,n){return e?.find(i=>{var s;return((s=this.extractResultMetadata({result:i}).find(a=>a.key==o))===null||s===void 0?void 0:s.value)==n})}static extractResultMetadata(e){var o,n;let i=(n=(o=En(e.result))===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[];return e.key==null?t.flattenMetadata(i,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(i.find(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,o,n)).filter(s=>s!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let s=[],a=[];return e.hierarchicalValues.forEach(l=>{s.push(wn(l)),a.push(wn(l,o))}),{key:e.key,label:e.label,value:s.join(", "),displayValue:a.join(", "),displayTooltipValue:s.join(", ")}}else{let s=e.values.join(", "),a=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,o,n="No value",i,s){var a,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),p=(l=d?.label)!==null&&l!==void 0?l:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:s})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,b)=>b.findIndex(v=>v.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let s=this.getMetadataDescriptor(n),a=s?.sortRule||"NONE",l=s?.reverseSort||!1;if(a=="ALPHABET"||a=="VERSION"){let d=e.localeCompare(o,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==o}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,s);if(p>l&&(l=p,a=d,p===s.length))break}return a}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var Rn={};k(Rn,{Debouncer:()=>Re});var Re=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),s=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let a of n)try{await a()}catch(l){i(l);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ln={};k(Ln,{designSystemVariables:()=>Je});var Tn={};k(Tn,{DesignSystemFamily:()=>ar,DesignSystemSize:()=>cr,FtCssVariableFactory:()=>r,badge:()=>uu,banner:()=>du,button:()=>Qd,card:()=>Xd,chart:()=>Ru,checkbox:()=>ou,chip:()=>au,chipChoice:()=>su,chipGroup:()=>cu,collapsible:()=>Ou,combobox:()=>Cu,dateRangePicker:()=>ku,drawer:()=>bu,eventCard:()=>eu,floatingMenu:()=>Eu,foundation:()=>c,link:()=>lu,modal:()=>gu,notice:()=>Iu,notification:()=>Tu,pageDesigner:()=>_u,pageFooter:()=>hu,pageHeader:()=>fu,pageLayout:()=>mu,popover:()=>wu,radio:()=>nu,reorderableList:()=>yu,resolveFamilyClass:()=>_n,resolveSizeClass:()=>In,semantic:()=>u,setVariable:()=>Lt,switch_:()=>Au,table:()=>iu,tabs:()=>xu,textArea:()=>Su,textInput:()=>vu,titleBreadcrumb:()=>pu,toc:()=>ru,toggle:()=>Jd,tooltip:()=>Lu,treeList:()=>tu,typographies:()=>Zd,typographyBody1Medium:()=>Ma,typographyBody1Regular:()=>Fa,typographyBody1Semibold:()=>Da,typographyBody2Medium:()=>Ba,typographyBody2MediumUnderline:()=>$a,typographyBody2Regular:()=>Ua,typographyBody2Semibold:()=>za,typographyCaption1Medium:()=>Ha,typographyCaption1Semibold:()=>Va,typographyCaption2Bold:()=>ja,typographyCaption2Medium:()=>Wa,typographyCaption2Semibold:()=>Ga,typographyDisplay:()=>La,typographyTitle1:()=>ka,typographyTitle2:()=>Na,typographyTitle3:()=>Pa,typographyVariants:()=>Yd});var Be=t=>typeof t=="string"?Yt(t):t,r=class{static create(e,o,n,i){let s=l=>Be(l??i),a=N`var(${Be(e)}, ${s(i)})`;return a.name=e,a.description=o,a.category=n,a.defaultValue=i,a.defaultCssValue=s,a.set=l=>Lt(a,l??s(i)),a.get=l=>N`var(${Be(e)}, ${s(l)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(e,o,n,i){let s=l=>n.get(l??i),a=N`var(${Be(e)}, ${s(i)})`;return a.name=e,a.description=o,a.category=n.category,a.fallbackVariable=n,a.defaultValue=i,a.defaultCssValue=s,a.set=l=>Lt(a,l??s(i)),a.get=l=>N`var(${Be(e)}, ${s(l)})`,a.breadcrumb=()=>[n.name,...n.breadcrumb()],a.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),a}static external(e,o){let n=s=>e.defaultCssValue(s),i=N`var(${Be(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=s=>e.set(s),i.get=s=>N`var(${Be(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Lt(t,e){return Be(`${t.name}: ${e}`)}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)")},La={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")},ka={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")},Na={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")},Pa={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")},Fa={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")},Ma={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")},Da={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")},Ua={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")},Ba={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")},$a={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")},za={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")},Ha={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")},Va={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")},Wa={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")},Ga={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")},ja={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")},Zd={display:La,"title-1":ka,"title-2":Na,"title-3":Pa,"body-1-regular":Fa,"body-1-medium":Ma,"body-1-semibold":Da,"body-2-regular":Ua,"body-2-medium":Ba,"body-2-medium-underline":$a,"body-2-semibold":za,"caption-1-medium":Ha,"caption-1-semibold":Va,"caption-2-medium":Wa,"caption-2-semibold":Ga,"caption-2-bold":ja},Yd=["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 Qd={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 Jd={iconSize:r.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",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),width:r.create("--ftds-toggle-width","","SIZE","36px"),height:r.create("--ftds-toggle-height","","SIZE","20px")};var Xd={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 eu={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.iconSize3),slotHorizontalPadding:r.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:r.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:r.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:r.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var tu={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 ru={titleColor:r.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:r.extend("--ftds-toc-title-gap","",c.spacing2),offsetTop:r.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:r.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:r.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:r.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:r.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:r.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:r.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:r.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:r.extend("--ftds-toc-item-inactive-label-color","",u.contentGlobalSubtle),itemInactiveBorderColor:r.extend("--ftds-toc-item-inactive-border-color","",u.borderGlobalSubtle),itemInactiveStateLayerColor:r.extend("--ftds-toc-item-inactive-state-layer-color","",u.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",c.opacity8),itemInactiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",c.opacity8),itemActiveLabelColor:r.extend("--ftds-toc-item-active-label-color","",u.contentActionPrimary),itemActiveBorderColor:r.extend("--ftds-toc-item-active-border-color","",u.borderActionPrimary),itemActiveBorderWidth:r.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:r.extend("--ftds-toc-item-active-state-layer-color","",u.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:r.extend("--ftds-toc-item-active-default-state-layer-opacity","",c.opacity8),itemActiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-active-hover-state-layer-opacity","",c.opacity16),itemActiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-active-focus-state-layer-opacity","",c.opacity16),itemChildActiveLabelColor:r.extend("--ftds-toc-item-child-active-label-color","",u.contentActionPrimary),itemChildActiveBorderColor:r.extend("--ftds-toc-item-child-active-border-color","",u.borderGlobalSubtle),itemChildActiveStateLayerColor:r.extend("--ftds-toc-item-child-active-state-layer-color","",u.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",c.opacity8),itemChildActiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",c.opacity8)};var ou={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 nu={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 iu={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 su={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 au={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 cu={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 lu={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 du={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 uu={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 pu={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 fu={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 hu={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 mu={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var gu={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 yu={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 bu={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 xu={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 vu={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),helperVerticalGap:r.extend("--ftds-text-input-helper-vertical-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 Su={fieldPaddingLeft:r.extend("--ftds-text-area-field-padding-left","",c.spacing4),fieldPaddingRight:r.extend("--ftds-text-area-field-padding-right","",c.spacing6),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:r.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:r.extend("--ftds-text-area-resize-bottom","",c.spacing05),resizeRight:r.extend("--ftds-text-area-resize-right","",c.spacing05)};var Eu={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 Cu={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 wu={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 Ou={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 Au={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 Ru={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var _u={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 Iu={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 Tu={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 Lu={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 ku={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 ar;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ar||(ar={}));var cr;(function(t){t.large="large",t.medium="medium",t.small="small"})(cr||(cr={}));function _n(t){return`ftds--family-${t}`}function In(t){return`ftds--size-${t}`}var Je={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 kn={};k(kn,{DynamicImporter:()=>Zr,dynamicImporter:()=>Nu});var Zr=class{async import(e){if(e)return import(e)}},Nu=new Zr;var Wn={};k(Wn,{computeOffsetAutoPosition:()=>np,computeOffsetPosition:()=>op});var qa=["top","right","bottom","left"],Ka=["start","end"],Pn=qa.reduce((t,e)=>t.concat(e,e+"-"+Ka[0],e+"-"+Ka[1]),[]),Xe=Math.min,ye=Math.max,lr=Math.round;var be=t=>({x:t,y:t}),Pu={left:"right",right:"left",bottom:"top",top:"bottom"};function Za(t,e,o){return ye(t,Xe(e,o))}function kt(t,e){return typeof t=="function"?t(e):t}function et(t){return t.split("-")[0]}function xe(t){return t.split("-")[1]}function Fn(t){return t==="x"?"y":"x"}function Mn(t){return t==="y"?"height":"width"}function Nt(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Dn(t){return Fn(Nt(t))}function Ya(t,e,o){o===void 0&&(o=!1);let n=xe(t),i=Dn(t),s=Mn(i),a=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=Nn(a)),[a,Nn(a)]}function Qa(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Nn(t){let e=et(t);return Pu[e]+t.slice(e.length)}function Fu(t){var e,o,n,i;return{top:(e=t.top)!=null?e:0,right:(o=t.right)!=null?o:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function Ja(t){return typeof t!="number"?Fu(t):{top:t,right:t,bottom:t,left:t}}function tt(t){let{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function Xa(t,e,o){let{reference:n,floating:i}=t,s=Nt(e),a=Dn(e),l=Mn(a),d=et(e),p=s==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(d){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}let v=xe(e);return v&&(b[a]+=m*(v==="end"?1:-1)*(o&&p?-1:1)),b}async function ec(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:a,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=kt(e,t),v=Ja(b),S=l[m?f==="floating"?"reference":"floating":f],A=tt(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(S)))==null||o?S:S.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),_=f==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),g=await(s.isElement==null?void 0:s.isElement(y))&&await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1},x=tt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:_,offsetParent:y,strategy:d}):_);return{top:(A.top-x.top+v.top)/g.y,bottom:(x.bottom-A.bottom+v.bottom)/g.y,left:(A.left-x.left+v.left)/g.x,right:(x.right-A.right+v.right)/g.x}}var Mu=50,tc=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=o,l=a.detectOverflow?a:{...a,detectOverflow:ec},d=await(a.isRTL==null?void 0:a.isRTL(e)),p=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=Xa(p,n,d),m=n,b=0,v={};for(let C=0;C<s.length;C++){let S=s[C];if(!S)continue;let{name:A,fn:_}=S,{x:y,y:g,data:x,reset:E}=await _({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:v,rects:p,platform:l,elements:{reference:t,floating:e}});h=y??h,f=g??f,v[A]={...v[A],...x},E&&b<Mu&&(b++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(p=E.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:h,y:f}=Xa(p,m,d)),C=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:v}};function Du(t,e,o){return(t?[...o.filter(i=>xe(i)===t),...o.filter(i=>xe(i)!==t)]:o.filter(i=>et(i)===i)).filter(i=>t?xe(i)===t||(e?Qa(i)!==i:!1):!0)}var rc=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:s,middlewareData:a,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Pn,autoAlignment:b=!0,...v}=kt(t,e),C=f!==void 0||m===Pn?Du(f||null,b,m):m,S=((o=a.autoPlacement)==null?void 0:o.index)||0,A=C[S];if(A==null)return{};if(l!==A)return{reset:{placement:C[0]}};let _=await d.detectOverflow(e,v),y=Ya(A,s,await(d.isRTL==null?void 0:d.isRTL(p.floating))),g=[_[et(A)],_[y[0]],_[y[1]]],x=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:g}],E=C[S+1];if(E)return{data:{index:S+1,overflows:x},reset:{placement:E}};let I=x.map(R=>{let P=xe(R.placement);return[R.placement,P&&h?R.overflows.slice(0,2).reduce((z,fe)=>z+fe,0):R.overflows[0],R.overflows]}).sort((R,P)=>R[1]-P[1]),U=((i=I.filter(R=>R[2].slice(0,xe(R[0])?2:3).every(P=>P<=0))[0])==null?void 0:i[0])||I[0][0];return U!==l?{data:{index:S+1,overflows:x},reset:{placement:U}}:{}}}};var Uu=new Set(["left","top"]);async function Bu(t,e){let{placement:o,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=et(o),l=xe(o),d=Nt(o)==="y",p=Uu.has(a)?-1:1,h=s&&d?-1:1,f=kt(e,t),{mainAxis:m,crossAxis:b,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof v=="number"&&(b=l==="end"?v*-1:v),d?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var oc=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:i,y:s,placement:a,middlewareData:l}=e,d=await Bu(e,t);return a===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},nc=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i,platform:s}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:d={fn:_=>{let{x:y,y:g}=_;return{x:y,y:g}}},...p}=kt(t,e),h={x:o,y:n},f=await s.detectOverflow(e,p),m=Nt(i),b=Fn(m),v=h[b],C=h[m],S=(_,y)=>Za(y+f[_==="y"?"top":"left"],y,y-f[_==="y"?"bottom":"right"]);a&&(v=S(b,v)),l&&(C=S(m,C));let A=d.fn({...e,[b]:v,[m]:C});return{...A,data:{x:A.x-o,y:A.y-n,enabled:{[b]:a,[m]:l}}}}}};var ic=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:o,rects:n,platform:i,elements:s}=e,{apply:a=()=>{},...l}=kt(t,e),d=await i.detectOverflow(e,l),p=et(o),h=xe(o),f=Nt(o)==="y",{width:m,height:b}=n.floating,v,C;p==="top"||p==="bottom"?(v=p,C=h===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(C=p,v=h==="end"?"top":"bottom");let S=b-d.top-d.bottom,A=m-d.left-d.right,_=Xe(b-d[v],S),y=Xe(m-d[C],A),g=e.middlewareData.shift,x=!g,E=_,I=y;g!=null&&g.enabled.x&&(I=A),g!=null&&g.enabled.y&&(E=S),x&&!h&&(f?I=m-2*ye(d.left,d.right):E=b-2*ye(d.top,d.bottom)),await a({...e,availableWidth:I,availableHeight:E});let F=await i.getDimensions(s.floating);return m!==F.width||b!==F.height?{reset:{rects:!0}}:{}}}};function Qr(){return typeof window<"u"}function ot(t){return ac(t)?(t.nodeName||"").toLowerCase():"#document"}function J(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function _e(t){var e;return(e=(ac(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ac(t){return Qr()?t instanceof Node||t instanceof J(t).Node:!1}function de(t){return Qr()?t instanceof Element||t instanceof J(t).Element:!1}function Ie(t){return Qr()?t instanceof HTMLElement||t instanceof J(t).HTMLElement:!1}function sc(t){return!Qr()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof J(t).ShadowRoot}function dr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&i!=="inline"&&i!=="contents"}function cc(t){return/^(table|td|th)$/.test(ot(t))}function ur(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var $u=/transform|translate|scale|rotate|perspective|filter/,zu=/paint|layout|strict|content/,rt=t=>!!t&&t!=="none",Un;function Pt(t){let e=de(t)?ue(t):t;return rt(e.transform)||rt(e.translate)||rt(e.scale)||rt(e.rotate)||rt(e.perspective)||!Jr()&&(rt(e.backdropFilter)||rt(e.filter))||$u.test(e.willChange||"")||zu.test(e.contain||"")}function lc(t){let e=$e(t);for(;Ie(e)&&!Ft(e);){if(Pt(e))return e;if(ur(e))return null;e=$e(e)}return null}function Jr(){return Un==null&&(Un=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Un}function Ft(t){return/^(html|body|#document)$/.test(ot(t))}function ue(t){return J(t).getComputedStyle(t)}function pr(t){return de(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function $e(t){if(ot(t)==="html")return t;let e=t.assignedSlot||t.parentNode||sc(t)&&t.host||_e(t);return sc(e)?e.host:e}function dc(t){let e=$e(t);return Ft(e)?(t.ownerDocument||t).body:Ie(e)&&dr(e)?e:dc(e)}function Yr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=dc(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),a=J(i);if(s){let l=Xr(a);return e.concat(a,a.visualViewport||[],dr(i)?i:[],l&&o?Yr(l):[])}else return e.concat(i,Yr(i,[],o))}function Xr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function fc(t){let e=ue(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ie(t),s=i?t.offsetWidth:o,a=i?t.offsetHeight:n,l=lr(o)!==s||lr(n)!==a;return l&&(o=s,n=a),{width:o,height:n,$:l}}function hc(t){return de(t)?t:t.contextElement}function Mt(t){let e=hc(t);if(!Ie(e))return be(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:s}=fc(e),a=(s?lr(o.width):o.width)/n,l=(s?lr(o.height):o.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}var Hu=be(0);function mc(t){let e=J(t);return!Jr()||!e.visualViewport?Hu:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Vu(t,e,o){return e===void 0&&(e=!1),!!o&&e&&o===J(t)}function fr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),s=hc(t),a=be(1);e&&(n?de(n)&&(a=Mt(n)):a=Mt(t));let l=Vu(s,o,n)?mc(s):be(0),d=(i.left+l.x)/a.x,p=(i.top+l.y)/a.y,h=i.width/a.x,f=i.height/a.y;if(s&&n){let m=J(s),b=de(n)?J(n):n,v=m,C=Xr(v);for(;C&&b!==v;){let S=Mt(C),A=C.getBoundingClientRect(),_=ue(C),y=A.left+(C.clientLeft+parseFloat(_.paddingLeft))*S.x,g=A.top+(C.clientTop+parseFloat(_.paddingTop))*S.y;d*=S.x,p*=S.y,h*=S.x,f*=S.y,d+=y,p+=g,v=J(C),C=Xr(v)}}return tt({width:h,height:f,x:d,y:p})}function eo(t,e){let o=pr(t).scrollLeft;return e?e.left+o:fr(_e(t)).left+o}function gc(t,e){let o=t.getBoundingClientRect(),n=o.left+e.scrollLeft-eo(t,o),i=o.top+e.scrollTop;return{x:n,y:i}}function Wu(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t,s=i==="fixed",a=_e(n),l=e?ur(e.floating):!1;if(n===a||l&&s)return o;let d={scrollLeft:0,scrollTop:0},p=be(1),h=be(0),f=Ie(n);if((f||!s)&&((ot(n)!=="body"||dr(a))&&(d=pr(n)),f)){let b=fr(n);p=Mt(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=a&&!f&&!s?gc(a,d):be(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 Gu(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function ju(t){let e=pr(t),o=t.ownerDocument.body,n=ye(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=ye(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-e.scrollLeft+eo(t),a=-e.scrollTop;return ue(o).direction==="rtl"&&(s+=ye(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:s,y:a}}var Ku=25;function qu(t,e,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",i=J(t),s=_e(t),a=i.visualViewport,l=s.clientWidth,d=s.clientHeight,p=0,h=0;if(a){let m=!Jr()||e==="fixed";n?m||(p=-a.offsetLeft,h=-a.offsetTop):(l=a.width,d=a.height,m&&(p=a.offsetLeft,h=a.offsetTop))}if(eo(s)<=0){let m=s.ownerDocument,b=m.body,v=getComputedStyle(b),C=m.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,S=Math.abs(s.clientWidth-b.clientWidth-C),A=getComputedStyle(s).scrollbarGutter==="stable both-edges"?S/2:S;A<=Ku&&(l-=A)}return{width:l,height:d,x:p,y:h}}function Zu(t,e){let o=fr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,s=Mt(t),a=t.clientWidth*s.x,l=t.clientHeight*s.y,d=i*s.x,p=n*s.y;return{width:a,height:l,x:d,y:p}}function uc(t,e,o){let n;if(e==="viewport"||e==="layoutViewport")n=qu(t,o,e);else if(e==="document")n=ju(_e(t));else if(de(e))n=Zu(e,o);else{let i=mc(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return tt(n)}function Yu(t,e){let o=e.get(t);if(o)return o;let n=Yr(t,[],!1).filter(l=>de(l)&&ot(l)!=="body"),i=null,s=ue(t).position==="fixed",a=s?$e(t):t;for(;de(a)&&!Ft(a);){let l=ue(a),d=Pt(a),p=i?i.position:s?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==a):i=l,a=$e(a)}return e.set(t,n),n}function Qu(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,a=[...o==="clippingAncestors"?ur(e)?[]:Yu(e,this._c):[].concat(o),n],l=uc(e,a[0],i),d=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<a.length;m++){let b=uc(e,a[m],i);d=ye(b.top,d),p=Xe(b.right,p),h=Xe(b.bottom,h),f=ye(b.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function Ju(t){let{width:e,height:o}=fc(t);return{width:e,height:o}}function Xu(t,e,o){let n=Ie(e),i=_e(e),s=o==="fixed",a=fr(t,!0,s,e),l={scrollLeft:0,scrollTop:0},d=be(0);if((n||!s)&&((ot(e)!=="body"||dr(i))&&(l=pr(e)),n)){let m=fr(e,!0,s,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=eo(i));let p=i&&!n&&!s?gc(i,l):be(0),h=a.left+l.scrollLeft-d.x-p.x,f=a.top+l.scrollTop-d.y-p.y;return{x:h,y:f,width:a.width,height:a.height}}function Bn(t){return ue(t).position==="static"}function pc(t,e){if(!Ie(t)||ue(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return _e(t)===o&&(o=o.ownerDocument.body),o}function yc(t,e){let o=J(t);if(ur(t))return o;if(!Ie(t)){let i=$e(t);for(;i&&!Ft(i);){if(de(i)&&!Bn(i))return i;i=$e(i)}return o}let n=pc(t,e);for(;n&&cc(n)&&Bn(n);)n=pc(n,e);return n&&Ft(n)&&Bn(n)&&!Pt(n)?o:n||lc(t)||o}var ep=async function(t){let e=this.getOffsetParent||yc,o=this.getDimensions,n=await o(t.floating);return{reference:Xu(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function tp(t){return ue(t).direction==="rtl"}var Dt={convertOffsetParentRelativeRectToViewportRelativeRect:Wu,getDocumentElement:_e,getClippingRect:Qu,getOffsetParent:yc,getElementRects:ep,getClientRects:Gu,getDimensions:Ju,getScale:Mt,isElement:de,isRTL:tp};var bc=oc,$n=rc,xc=nc;var vc=ic;var zn=(t,e,o)=>{let n=new Map,i=o??{},s={...Dt,...i.platform,_c:n};return tc(t,e,{...i,platform:s})};function Vn(t){return rp(t)}function Hn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function rp(t){for(let e=t;e;e=Hn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Hn(t);e;e=Hn(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||Pt(o)||e.tagName==="BODY"))return e}return null}async function op(t,e,o){let n;return typeof o=="object"?n=o:n={placement:o},zn(t,e,{strategy:n.strategy,platform:{...Dt,getOffsetParent:i=>Dt.getOffsetParent(i,Vn)},middleware:[xc({crossAxis:!0}),$n({allowedPlacements:[n.placement]})]})}async function np(t,e,o,n,i,s,a){let l,d;return typeof o=="object"?(l=o.placement,n=o.allowedPlacements,i=o.strategy,s=o.maxHeightCssVariable,d=o.maxWidthCssVariable,a=o.offsetValue):l=o,zn(t,e,{placement:l,strategy:i,platform:{...Dt,getOffsetParent:p=>Dt.getOffsetParent(p,Vn)},middleware:[bc(a??4),$n({allowedPlacements:n}),vc({apply({availableHeight:p,availableWidth:h,elements:f}){typeof s=="string"&&(s=`var(${s})`),s?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${s})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof d=="string"&&(d=`var(${d})`),d?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var Gn={};k(Gn,{isSlotEmptyOrWithoutContent:()=>ip});var ip=t=>t?t.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var Qn={};k(Qn,{FtdsBase:()=>Yn,toFtdsBase:()=>Rc});var Zn={};k(Zn,{ExportpartsUpdatedEvent:()=>nt,FtLitElement:()=>j});var jn={};k(jn,{ScopedRegistryLitElement:()=>hr});var hr=class extends Ce{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Qt(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(e,o){nr(e)(o),this.canDefineScopedElement(e)&&this.registry.define(e,o)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,o){this.scopedRegistryConstructor.defineScopedElement(e,o)}};var qn={};k(qn,{shadowQuerySelector:()=>Kn,shadowQuerySelectorAll:()=>sp});function Kn(t,e,...o){var n;let i=t.querySelector(e);for(let s of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}function sp(t,e,...o){let n=[...t.querySelectorAll(e)];for(let i of o)n=n.flatMap(s=>{var a,l;return[...(l=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Ut=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},wc,Sc=Symbol("constructorPrototype"),Ec=Symbol("constructorName"),Oc=Symbol("exportpartsDebouncer"),Cc=Symbol("dynamicDependenciesLoaded"),nt=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};nt.eventName="exportparts-updated";var j=class extends hr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[wc]=new Re(5),this.scheduleExportpartsUpdate=()=>{var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Oc].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Ec]=this.constructor.name,this[Sc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ec]&&Object.setPrototypeOf(this,this[Sc])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[Cc]||(o[Cc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(nt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(nt.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new nt)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];o=Kn(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){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(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(e){var o,n,i,s,a,l;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(s=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let b=(a=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],v=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[],C=[...b,...v].filter(d).map(S=>S.trim());for(let S of C)h.add(S)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};wc=Oc;Ut([w()],j.prototype,"exportpartsPrefix",void 0);Ut([le([])],j.prototype,"exportpartsPrefixes",void 0);Ut([w({reflect:!0})],j.prototype,"exportparts",void 0);Ut([w()],j.prototype,"customStylesheet",void 0);Ut([w()],j.prototype,"elementToFocus",void 0);Ut([$()],j.prototype,"useAdoptedStyleSheets",void 0);var Ac=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},Rc=V(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=cr.medium,this.family=ar.neutral}getDesignSystemBaseClasses(){return{[_n(this.family)]:!0,[In(this.size)]:!0}}}return Ac([w()],e.prototype,"size",void 0),Ac([w()],e.prototype,"family",void 0),e}),Yn=class extends Rc(j){};var _c={};var ei={};k(ei,{highlightHtml:()=>Xn,highlightHtmlColorCssVariable:()=>Ic,highlightHtmlStyles:()=>cp});var it=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let s=!1;return n.every(a=>i.call(e,a)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=o.filter(s=>s.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let s=e.contentWindow;if(i=s.document,!s||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,s=null,a=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",a),s=setTimeout(a,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let s=e.querySelectorAll("iframe"),a=s.length,l=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&i(l)};a||d(),s.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),d()},d)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(o!==null){let a=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(a&l)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let s=!1,a=!1;return i.forEach((l,d)=>{l.val===n&&(s=d,a=l.handled)}),this.compareNodeIframe(e,o,n)?(s===!1&&!a?i.push({val:n,handled:!0}):s!==!1&&!a&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,s){let a=this.createIterator(o,e,i),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(a),p);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,b=>d.push(b),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),s()}forEachNode(e,o,n,i=()=>{}){let s=this.getContexts(),a=s.length;a||i(),s.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,o,n,()=>{--a<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var mr=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new it(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in o)if(o.hasOwnProperty(s)){let a=o[s],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?o:o+"\0"})}createJoinersRegExp(e){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?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){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 e.split("").forEach(s=>{n.every(a=>{if(a.indexOf(s)!==-1){if(i.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${o}`),`[${a}]`),i.push(a)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,s=typeof n=="string"?[]:n.limiters,a="";switch(s.forEach(l=>{a+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return a="\\s"+(a||this.escapeStr(o)),`()([^${a}]*${e}[^${a}]*)`;case"exactly":return`(^|\\s${a})(${e})(?=$|\\s${a})`}}getSeparatedKeywords(e){let o=[];return e.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(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((i,s)=>i.start-s.start).forEach(i=>{let{start:s,end:a,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=s,i.length=a-s,o.push(i),n=a)}),o}callNoMatchOnInvalidRanges(e,o){let n,i,s=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-o>0&&i-n>0?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:s}}checkWhitespaceRanges(e,o,n){let i,s=!0,a=n.length,l=o-a,d=parseInt(e.start,10)-l;return d=d>a?a:d,i=d+parseInt(e.length,10),i>a&&(i=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||i-d<0||d>a||i>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:s}}getTextNodes(e){let 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,()=>{e({value:o,nodes:n})})}matchesExclude(e){return it.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",s=e.splitText(o),a=s.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=s.textContent,s.parentNode.replaceChild(l,s),a}wrapRangeInMappedTextNode(e,o,n,i,s){e.nodes.every((a,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>o){if(!i(a.node))return!1;let p=o-a.start,h=(n>a.end?a.end:n)-a.start,f=e.value.substr(0,a.start),m=e.value.substr(h+a.start);if(a.node=this.wrapRangeInTextNode(a.node,p,h),e.value=f+m,e.nodes.forEach((b,v)=>{v>=l&&(e.nodes[v].start>0&&v!==l&&(e.nodes[v].start-=h),e.nodes[v].end-=h)}),n-=h,s(a.node.previousSibling,a.start),n>a.end)o=a.end;else return!1}return!0})}wrapMatches(e,o,n,i,s){let a=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[a]!=="";){if(!n(p[a],d))continue;let h=p.index;if(a!==0)for(let f=1;f<a;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[a].length),i(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,o,n,i,s){let a=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[a]!=="";){let p=d.index;if(a!==0)for(let f=1;f<a;f++)p+=d[f].length;let h=p+d[a].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(d[a],f),(f,m)=>{e.lastIndex=m,i(f)})}s()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(s=>{let a=s.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,a,s.value);f&&this.wrapRangeInMappedTextNode(s,p,h,m=>o(m,l,s.value.substring(p,h),d),m=>{n(m,l)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",s=a=>{n++,this.opt.each(a)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(a,l)=>this.opt.filter(l,a,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:s,length:a}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),s[a-1]===p?this.opt.done(n):d(s[s.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),a===0?this.opt.done(n):d(s[0])}markRanges(e,o){this.opt=o;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(s,a,l,d)=>this.opt.filter(s,a,l,d),(s,a)=>{n++,this.opt.each(s,a)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let 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=it.matches(n,o),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Jn(t){let e=new mr(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var ap=Jn,Ic=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),cp=N`
5
5
  .highlight-html-match {
6
- background: ${kc};
6
+ background: ${Ic};
7
7
  }
8
- `;function ei(t,e,o){var n,i;let s=t.getAttribute("data-highlight-html-query");if((s??"")!==(e??"")){let a=new dp(t);if(a.unmark(),e&&e.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])}),a.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>a.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var ri={};k(ri,{noTextInputDefaultClearButton:()=>mp,noTextSelect:()=>pp,safariEllipsisFix:()=>hp,wordWrap:()=>fp});var pp=N`
8
+ `;function Xn(t,e,o){var n,i;let s=t.getAttribute("data-highlight-html-query");if((s??"")!==(e??"")){let a=new ap(t);if(a.unmark(),e&&e.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])}),a.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>a.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var ti={};k(ti,{noTextInputDefaultClearButton:()=>pp,noTextSelect:()=>lp,safariEllipsisFix:()=>up,wordWrap:()=>dp});var lp=N`
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
- `,fp=N`
17
+ `,dp=N`
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
- `,hp=N`
29
+ `,up=N`
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
- `,mp=N`
40
+ `,pp=N`
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 Nc={};var oi={};k(oi,{ParametrizedLabelResolver:()=>gr});var gr=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let s=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(s,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(n,a))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Ci={};k(Ci,{FtCommandQueue:()=>yr,FtLitElementRedux:()=>Le,FtReduxStore:()=>Ve,FtStateManager:()=>Ht,ReduxWatcher:()=>Or,clearAllStores:()=>ff,isFtReduxStore:()=>Bt,redux:()=>Te,reduxEventListener:()=>yp,reduxReactive:()=>gp,watch:()=>hf,withRedux:()=>Pc});var gp=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Te=t=>{let e=t??{};return(o,n)=>{var i;let s={hasChanged:me,attribute:!1,...e};w(s)(o,n);let a=o.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(l=>l[n]),store:e.store})}},yp=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var yr=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function Bt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var br=Symbol("internalReduxEventsUnsubscribers"),ze=Symbol("internalStoresUnsubscribers"),st=Symbol("internalStores"),Pc=V(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(l=>a.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[st].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[st].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[st].get(a)}addStore(a,l){var d;l=(d=l??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[st].set(l,a),this.subscribeToStore(l,a),this.updateFromStores()}removeStore(a){let l=typeof a=="string"?a:a.name;this.unsubscribeFromStore(l),this[st].delete(l)}setupStores(){this.unsubscribeFromStores(),this[st].forEach((a,l)=>this.subscribeToStore(l,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(a.store);p&&(a.store?this[ze].has(a.store):this[ze].size>0)&&(this[l]=a.selector(p.getState(),this))}})}subscribeToStore(a,l){var d,p;this[ze].set(a,l.subscribe(()=>this.updateFromStores())),this[br].set(a,[]),Bt(l)&&(!((d=l.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((h,f)=>{this.getStore(h.store)===l&&l.deprecatedKeys.includes(f)&&console.warn("Element",this,"is subscribed to deprecated key",f,"in store",l.name)}),l.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((h,f)=>{if(typeof this[f]=="function"&&(!h.store||l.name===h.store)){let m=b=>this[f](b);l.addEventListener(h.eventName,m),this[br].get(a).push(()=>l.removeEventListener(h.eventName,m))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[ze].forEach((a,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(a){var l;this[ze].has(a)&&this[ze].get(a)(),this[ze].delete(a),(l=this[br].get(a))===null||l===void 0||l.forEach(d=>d()),this[br].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=ze,o=st,n=br,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Le=class extends Pc(j){};function K(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var bp=typeof Symbol=="function"&&Symbol.observable||"@@observable",Fc=bp,ni=()=>Math.random().toString(36).substring(7).split("").join("."),xp={INIT:`@@redux/INIT${ni()}`,REPLACE:`@@redux/REPLACE${ni()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${ni()}`},ro=xp;function oo(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function ii(t,e,o){if(typeof t!="function")throw new Error(K(2));if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(K(1));return o(ii)(t,e)}let n=t,i=e,s=new Map,a=s,l=0,d=!1;function p(){a===s&&(a=new Map,s.forEach((v,A)=>{a.set(A,v)}))}function h(){if(d)throw new Error(K(3));return i}function f(v){if(typeof v!="function")throw new Error(K(4));if(d)throw new Error(K(5));let A=!0;p();let _=l++;return a.set(_,v),function(){if(A){if(d)throw new Error(K(6));A=!1,p(),a.delete(_),s=null}}}function m(v){if(!oo(v))throw new Error(K(7));if(typeof v.type>"u")throw new Error(K(8));if(typeof v.type!="string")throw new Error(K(17));if(d)throw new Error(K(9));try{d=!0,i=n(i,v)}finally{d=!1}return(s=a).forEach(_=>{_()}),v}function b(v){if(typeof v!="function")throw new Error(K(10));n=v,m({type:ro.REPLACE})}function S(){let v=f;return{subscribe(A){if(typeof A!="object"||A===null)throw new Error(K(11));function _(){let g=A;g.next&&g.next(h())}return _(),{unsubscribe:v(_)}},[Fc](){return this}}}return m({type:ro.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[Fc]:S}}function Sp(t){Object.keys(t).forEach(e=>{let o=t[e];if(typeof o(void 0,{type:ro.INIT})>"u")throw new Error(K(12));if(typeof o(void 0,{type:ro.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function si(t){let e=Object.keys(t),o={};for(let a=0;a<e.length;a++){let l=e[a];typeof t[l]=="function"&&(o[l]=t[l])}let n=Object.keys(o),i,s;try{Sp(o)}catch(a){s=a}return function(l={},d){if(s)throw s;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],b=o[m],S=l[m],C=b(S,d);if(typeof C>"u"){let v=d&&d.type;throw new Error(K(14))}h[m]=C,p=p||C!==S}return p=p||n.length!==Object.keys(l).length,p?h:l}}function xr(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,o)=>(...n)=>e(o(...n)))}function Mc(...t){return e=>(o,n)=>{let i=e(o,n),s=()=>{throw new Error(K(15))},a={getState:i.getState,dispatch:(d,...p)=>s(d,...p)},l=t.map(d=>d(a));return s=xr(...l)(i.dispatch),{...i,dispatch:s}}}function Dc(t){return oo(t)&&"type"in t&&typeof t.type=="string"}var jc=Symbol.for("immer-nothing"),Uc=Symbol.for("immer-draftable"),q=Symbol.for("immer-state");function pe(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var te=Object,zt=te.getPrototypeOf,ao="constructor",ho="prototype",di="configurable",co="enumerable",io="writable",Sr="value",Se=t=>!!t&&!!t[q];function re(t){return t?Kc(t)||go(t)||!!t[Uc]||!!t[ao]?.[Uc]||yo(t)||bo(t):!1}var vp=te[ho][ao].toString(),Bc=new WeakMap;function Kc(t){if(!t||!bi(t))return!1;let e=zt(t);if(e===null||e===te[ho])return!0;let o=te.hasOwnProperty.call(e,ao)&&e[ao];if(o===Object)return!0;if(!$t(o))return!1;let n=Bc.get(o);return n===void 0&&(n=Function.toString.call(o),Bc.set(o,n)),n===vp}function mo(t,e,o=!0){Cr(t)===0?(o?Reflect.ownKeys(t):te.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function Cr(t){let e=t[q];return e?e.type_:go(t)?1:yo(t)?2:bo(t)?3:0}var ai=(t,e,o=Cr(t))=>o===2?t.has(e):te[ho].hasOwnProperty.call(t,e),ui=(t,e,o=Cr(t))=>o===2?t.get(e):t[e],lo=(t,e,o,n=Cr(t))=>{n===2?t.set(e,o):n===3?t.add(o):t[e]=o};function Ep(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var go=Array.isArray,yo=t=>t instanceof Map,bo=t=>t instanceof Set,bi=t=>typeof t=="object",$t=t=>typeof t=="function",ci=t=>typeof t=="boolean";function Cp(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var ke=t=>t.copy_||t.base_;var xi=t=>t.modified_?t.copy_:t.base_;function pi(t,e){if(yo(t))return new Map(t);if(bo(t))return new Set(t);if(go(t))return Array[ho].slice.call(t);let o=Kc(t);if(e===!0||e==="class_only"&&!o){let n=te.getOwnPropertyDescriptors(t);delete n[q];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let a=i[s],l=n[a];l[io]===!1&&(l[io]=!0,l[di]=!0),(l.get||l.set)&&(n[a]={[di]:!0,[io]:!0,[co]:l[co],[Sr]:t[a]})}return te.create(zt(t),n)}else{let n=zt(t);if(n!==null&&o)return{...t};let i=te.create(n);return te.assign(i,t)}}function xo(t,e=!1){return So(t)||Se(t)||!re(t)||(Cr(t)>1&&te.defineProperties(t,{set:no,add:no,clear:no,delete:no}),te.freeze(t),e&&mo(t,(o,n)=>{xo(n,!0)},!1)),t}function wp(){pe(2)}var no={[Sr]:wp};function So(t){return t===null||!bi(t)?!0:te.isFrozen(t)}var uo="MapSet",fi="Patches",$c="ArrayMethods",qc={};function at(t){let e=qc[t];return e||pe(0,t),e}var zc=t=>!!qc[t];var vr,Zc=()=>vr,Op=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:zc(uo)?at(uo):void 0,arrayMethodsPlugin_:zc($c)?at($c):void 0});function Hc(t,e){e&&(t.patchPlugin_=at(fi),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function hi(t){mi(t),t.drafts_.forEach(Ap),t.drafts_=null}function mi(t){t===vr&&(vr=t.parent_)}var Vc=t=>vr=Op(vr,t);function Ap(t){let e=t[q];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Wc(t,e){e.unfinalizedDrafts_=e.drafts_.length;let o=e.drafts_[0];if(t!==void 0&&t!==o){o[q].modified_&&(hi(e),pe(4)),re(t)&&(t=Gc(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(o[q].base_,t,e)}else t=Gc(e,o);return Rp(e,t,!0),hi(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==jc?t:void 0}function Gc(t,e){if(So(e))return e;let o=e[q];if(!o)return po(e,t.handledSet_,t);if(!vo(o,t))return e;if(!o.modified_)return o.base_;if(!o.finalized_){let{callbacks_:n}=o;if(n)for(;n.length>0;)n.pop()(t);Jc(o,t)}return o.copy_}function Rp(t,e,o=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&xo(e,o)}function Yc(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var vo=(t,e)=>t.scope_===e,_p=[];function Qc(t,e,o,n){let i=ke(t),s=t.type_;if(n!==void 0&&ui(i,n,s)===e){lo(i,n,o,s);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;mo(i,(d,p)=>{if(Se(p)){let h=l.get(p)||[];h.push(d),l.set(p,h)}})}let a=t.draftLocations_.get(e)??_p;for(let l of a)lo(i,l,o,s)}function Ip(t,e,o){t.callbacks_.push(function(i){let s=e;if(!s||!vo(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let a=xi(s);Qc(t,s.draft_??s,a,o),Jc(s,i)})}function Jc(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:n}=e;if(n){let i=n.getPath(t);i&&n.generatePatches_(t,i,e)}Yc(t)}}function Tp(t,e,o){let{scope_:n}=t;if(Se(o)){let i=o[q];vo(i,n)&&i.callbacks_.push(function(){so(t);let a=xi(i);Qc(t,o,a,e)})}else re(o)&&t.callbacks_.push(function(){let s=ke(t);t.type_===3?s.has(o)&&po(o,n.handledSet_,n):ui(s,e,t.type_)===o&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&po(ui(t.copy_,e,t.type_),n.handledSet_,n)})}function po(t,e,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||Se(t)||e.has(t)||!re(t)||So(t)||(e.add(t),mo(t,(n,i)=>{if(Se(i)){let s=i[q];if(vo(s,o)){let a=xi(s);lo(t,n,a,t.type_),Yc(s)}}else re(i)&&po(i,e,o)})),t}function Lp(t,e){let o=go(t),n={type_:o?1:0,scope_:e?e.scope_:Zc(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,s=fo;o&&(i=[n],s=Er);let{revoke:a,proxy:l}=Proxy.revocable(i,s);return n.draft_=l,n.revoke_=a,[l,n]}var fo={get(t,e){if(e===q)return t;let o=t.scope_.arrayMethodsPlugin_,n=t.type_===1&&typeof e=="string";if(n&&o?.isArrayOperationMethod(e))return o.createMethodInterceptor(t,e);let i=ke(t);if(!ai(i,e,t.type_))return Np(t,i,e);let s=i[e];if(t.finalized_||!re(s)||n&&t.operationMethod&&o?.isMutatingArrayMethod(t.operationMethod)&&Cp(e))return s;if(s===li(t.base_,e)||kp(t,e,s)){so(t);let a=t.type_===1?+e:e,l=yi(t.scope_,s,t,a);return t.copy_[a]=l}return s},has(t,e){return e in ke(t)},ownKeys(t){return Reflect.ownKeys(ke(t))},set(t,e,o){let n=Xc(ke(t),e);if(n?.set)return n.set.call(t.draft_,o),!0;if(!t.modified_){let i=li(ke(t),e),s=i?.[q];if(s&&s.base_===o)return t.copy_[e]=o,t.assigned_.delete(e),!0;if(Ep(o,i)&&(o!==void 0||ai(t.base_,e,t.type_)))return!0;so(t),gi(t)}return t.copy_[e]===o&&(o!==void 0||ai(t.copy_,e,t.type_))||Number.isNaN(o)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=o,t.assigned_.set(e,!0),Tp(t,e,o)),!0},deleteProperty(t,e){return so(t),li(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),gi(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let o=ke(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{[io]:!0,[di]:t.type_!==1||e!=="length",[co]:n[co],[Sr]:o[e]}},defineProperty(){pe(11)},getPrototypeOf(t){return zt(t.base_)},setPrototypeOf(){pe(12)}},Er={};for(let t in fo){let e=fo[t];Er[t]=function(){let o=arguments;return o[0]=o[0][0],e.apply(this,o)}}Er.deleteProperty=function(t,e){return Er.set.call(this,t,e,void 0)};Er.set=function(t,e,o){return fo.set.call(this,t[0],e,o,t[0])};function li(t,e){let o=t[q];return(o?ke(o):t)[e]}function kp(t,e,o){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!re(o)||o[q]?!1:t.baseRefs_.has(o)}function Np(t,e,o){let n=Xc(e,o);return n?Sr in n?n[Sr]:n.get?.call(t.draft_):void 0}function Xc(t,e){if(!(e in t))return;let o=zt(t);for(;o;){let n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=zt(o)}}function gi(t){t.modified_||(t.modified_=!0,t.parent_&&gi(t.parent_))}function so(t){t.copy_||(t.assigned_=new Map,t.copy_=pi(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Pp=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,o,n)=>{if($t(e)&&!$t(o)){let s=o;o=e;let a=this;return function(d=s,...p){return a.produce(d,h=>o.call(this,h,...p))}}$t(o)||pe(6),n!==void 0&&!$t(n)&&pe(7);let i;if(re(e)){let s=Vc(this),a=yi(s,e,void 0),l=!0;try{i=o(a),l=!1}finally{l?hi(s):mi(s)}return Hc(s,n),Wc(i,s)}else if(!e||!bi(e)){if(i=o(e),i===void 0&&(i=e),i===jc&&(i=void 0),this.autoFreeze_&&xo(i,!0),n){let s=[],a=[];at(fi).generateReplacementPatches_(e,i,{patches_:s,inversePatches_:a}),n(s,a)}return i}else pe(1,e)},this.produceWithPatches=(e,o)=>{if($t(e))return(a,...l)=>this.produceWithPatches(a,d=>e(d,...l));let n,i;return[this.produce(e,o,(a,l)=>{n=a,i=l}),n,i]},ci(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),ci(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),ci(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){re(t)||pe(8),Se(t)&&(t=el(t));let e=Vc(this),o=yi(e,t,void 0);return o[q].isManual_=!0,mi(e),o}finishDraft(t,e){let o=t&&t[q];(!o||!o.isManual_)&&pe(9);let{scope_:n}=o;return Hc(n,e),Wc(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let o;for(o=e.length-1;o>=0;o--){let i=e[o];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}o>-1&&(e=e.slice(o+1));let n=at(fi).applyPatches_;return Se(t)?n(t,e):this.produce(t,i=>n(i,e))}};function yi(t,e,o,n){let[i,s]=yo(e)?at(uo).proxyMap_(e,o):bo(e)?at(uo).proxySet_(e,o):Lp(e,o);return(o?.scope_??Zc()).drafts_.push(i),s.callbacks_=o?.callbacks_??[],s.key_=n,o&&n!==void 0?Ip(o,s,n):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:p}=d;s.modified_&&p&&p.generatePatches_(s,[],d)}),i}function el(t){return Se(t)||pe(10,t),tl(t)}function tl(t){if(!re(t)||So(t))return t;let e=t[q],o,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,o=pi(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else o=pi(t,!0);return mo(o,(i,s)=>{lo(o,i,tl(s))},n),e&&(e.finalized_=!1),o}var Fp=globalThis.Iterator,i0=typeof Fp?.from=="function";var Mp=new Pp,Si=Mp.produce;function rl(t){return({dispatch:o,getState:n})=>i=>s=>typeof s=="function"?s(o,n,t):i(s)}var ol=rl(),nl=rl;var Dp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?xr:xr.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var Up=t=>t&&typeof t.match=="function";function He(t,e){function o(...n){if(e){let i=e(...n);if(!i)throw new Error(ve(0));return{type:t,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:t,payload:n[0]}}return o.toString=()=>`${t}`,o.type=t,o.match=n=>Dc(n)&&n.type===t,o}var ll=class wr extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,wr.prototype)}static get[Symbol.species](){return wr}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new wr(...e[0].concat(this)):new wr(...e.concat(this))}};function il(t){return re(t)?Si(t,()=>{}):t}function Eo(t,e,o){return t.has(e)?t.get(e):t.set(e,o(e)).get(e)}function Bp(t){return typeof t=="boolean"}var $p=()=>function(e){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=e??{},a=new ll;return o&&(Bp(o)?a.push(ol):a.push(nl(o.extraArgument))),a},zp="RTK_autoBatch";var sl=t=>e=>{setTimeout(e,t)},Hp=(t,e)=>o=>{let n=!1,i,s,a=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),o())};i=t(a),s=setTimeout(a,e)},Vp=(t={type:"raf"})=>e=>(...o)=>{let n=e(...o),i=!0,s=!1,a=!1,l=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Hp(window.requestAnimationFrame,100):sl(10):t.type==="callback"?t.queueNotification:sl(t.timeout),p=()=>{a=!1,s&&(s=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[zp],s=!i,s&&(a||(a=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},Wp=t=>function(o){let{autoBatch:n=!0}=o??{},i=new ll(t);return n&&i.push(Vp(typeof n=="object"?n:void 0)),i};function dl(t){let e=$p(),{reducer:o=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:l=void 0}=t||{},d;if(typeof o=="function")d=o;else if(oo(o))d=si(o);else throw new Error(ve(1));let p;typeof n=="function"?p=n(e):p=e();let h=xr;i&&(h=Dp({trace:!1,...typeof i=="object"&&i}));let f=Mc(...p),m=Wp(f),b=typeof l=="function"?l(m):m(),S=h(...b);return ii(d,a,S)}function ul(t){let e={},o=[],n,i={addCase(s,a){let l=typeof s=="string"?s:s.type;if(!l)throw new Error(ve(28));if(l in e)throw new Error(ve(29));return e[l]=a,i},addAsyncThunk(s,a){return a.pending&&(e[s.pending.type]=a.pending),a.rejected&&(e[s.rejected.type]=a.rejected),a.fulfilled&&(e[s.fulfilled.type]=a.fulfilled),a.settled&&o.push({matcher:s.settled,reducer:a.settled}),i},addMatcher(s,a){return o.push({matcher:s,reducer:a}),i},addDefaultCase(s){return n=s,i}};return t(i),[e,o,n]}function Gp(t){return typeof t=="function"}function jp(t,e){let[o,n,i]=ul(e),s;if(Gp(t))s=()=>il(t());else{let l=il(t);s=()=>l}function a(l=s(),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(Se(h)){let m=f(h,d);return m===void 0?h:m}else{if(re(h))return Si(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw new Error(ve(9))}return m}}return h},l)}return a.getInitialState=s,a}var Kp=(t,e)=>Up(t)?t.match(e):t(e);function qp(...t){return e=>t.some(o=>Kp(o,e))}var Zp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Yp=(t=21)=>{let e="",o=t;for(;o--;)e+=Zp[Math.random()*64|0];return e},Qp=["name","message","stack","code"],vi=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},al=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},Jp=t=>{if(typeof t=="object"&&t!==null){let e={};for(let o of Qp)typeof t[o]=="string"&&(e[o]=t[o]);return e}return{message:String(t)}},cl="External signal was aborted",Xp=(()=>{function t(e,o,n){let i=He(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),s=He(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),a=He(e+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||Jp)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:p}={}){return(h,f,m)=>{let b=n?.idGenerator?n.idGenerator(d):Yp(),S=new AbortController,C,v;function A(y){v=y,S.abort()}p&&(p.aborted?A(cl):p.addEventListener("abort",()=>A(cl),{once:!0}));let _=(async function(){let y;try{let g=n?.condition?.(d,{getState:f,extra:m});if(tf(g)&&(g=await g),g===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:v||"Aborted"};let x=new Promise((E,I)=>{C=()=>{I({name:"AbortError",message:v||"Aborted"})},S.signal.addEventListener("abort",C,{once:!0})});h(s(b,d,n?.getPendingMeta?.({requestId:b,arg:d},{getState:f,extra:m}))),y=await Promise.race([x,Promise.resolve(o(d,{dispatch:h,getState:f,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:((E,I)=>new vi(E,I)),fulfillWithValue:((E,I)=>new al(E,I))})).then(E=>{if(E instanceof vi)throw E;return E instanceof al?i(E.payload,b,d,E.meta):i(E,b,d)})])}catch(g){y=g instanceof vi?a(null,b,d,g.payload,g.meta):a(g,b,d)}finally{C&&S.signal.removeEventListener("abort",C)}return n&&!n.dispatchConditionRejection&&a.match(y)&&y.meta.condition||h(y),y})();return Object.assign(_,{abort:A,requestId:b,arg:d,unwrap(){return _.then(ef)}})}}return Object.assign(l,{pending:s,rejected:a,fulfilled:i,settled:qp(a,i),typePrefix:e})}return t.withTypes=()=>t,t})();function ef(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function tf(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var pl=Symbol.for("rtk-slice-createasyncthunk"),f0={[pl]:Xp};function rf(t,e){return`${t}/${e}`}function of({creators:t}={}){let e=t?.asyncThunk?.[pl];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(ve(11));typeof process<"u";let a=(typeof n.reducers=="function"?n.reducers(sf()):n.reducers)||{},l=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(y,g){let x=typeof y=="string"?y:y.type;if(!x)throw new Error(ve(12));if(x in d.sliceCaseReducersByType)throw new Error(ve(13));return d.sliceCaseReducersByType[x]=g,p},addMatcher(y,g){return d.sliceMatchers.push({matcher:y,reducer:g}),p},exposeAction(y,g){return d.actionCreators[y]=g,p},exposeCaseReducer(y,g){return d.sliceCaseReducersByName[y]=g,p}};l.forEach(y=>{let g=a[y],x={reducerName:y,type:rf(i,y),createNotation:typeof n.reducers=="function"};cf(g)?df(x,g,p,e):af(x,g,p)});function h(){let[y={},g=[],x=void 0]=typeof n.extraReducers=="function"?ul(n.extraReducers):[n.extraReducers],E={...y,...d.sliceCaseReducersByType};return jp(n.initialState,I=>{for(let F in E)I.addCase(F,E[F]);for(let F of d.sliceMatchers)I.addMatcher(F.matcher,F.reducer);for(let F of g)I.addMatcher(F.matcher,F.reducer);x&&I.addDefaultCase(x)})}let f=y=>y,m=new Map,b=new WeakMap,S;function C(y,g){return S||(S=h()),S(y,g)}function v(){return S||(S=h()),S.getInitialState()}function A(y,g=!1){function x(I){let F=I[y];return typeof F>"u"&&g&&(F=Eo(b,x,v)),F}function E(I=f){return Eo(Eo(m,g,()=>new WeakMap),I,()=>{let F={};for(let[U,R]of Object.entries(n.selectors??{}))F[U]=nf(R,I,()=>Eo(b,I,v),g);return F})}return{reducerPath:y,getSelectors:E,get selectors(){return E(x)},selectSlice:x}}let _={name:i,reducer:C,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:v,...A(s),injectInto(y,{reducerPath:g,...x}={}){let E=g??s;return y.inject({reducerPath:E,reducer:C},x),{..._,...A(E,!0)}}};return _}}function nf(t,e,o,n){function i(s,...a){let l=e(s);return typeof l>"u"&&n&&(l=o()),t(l,...a)}return i.unwrapped=t,i}var fl=of();function sf(){function t(e,o){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...o}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...o){return e(...o)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,o){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:o}},asyncThunk:t}}function af({type:t,reducerName:e,createNotation:o},n,i){let s,a;if("reducer"in n){if(o&&!lf(n))throw new Error(ve(17));s=n.reducer,a=n.prepare}else s=n;i.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?He(t,a):He(t))}function cf(t){return t._reducerDefinitionType==="asyncThunk"}function lf(t){return t._reducerDefinitionType==="reducerWithPrepare"}function df({type:t,reducerName:e},o,n,i){if(!i)throw new Error(ve(18));let{payloadCreator:s,fulfilled:a,pending:l,rejected:d,settled:p,options:h}=o,f=i(t,s,h);n.exposeAction(e,f),a&&n.addCase(f.fulfilled,a),l&&n.addCase(f.pending,l),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:a||Co,pending:l||Co,rejected:d||Co,settled:p||Co})}function Co(){}var hl="listener",ml="completed",gl="cancelled",h0=`task-${gl}`,m0=`task-${ml}`,g0=`${hl}-${gl}`,y0=`${hl}-${ml}`;var{assign:yl}=Object;var Ei="listenerMiddleware";var uf=yl(He(`${Ei}/add`),{withTypes:()=>uf}),b0=He(`${Ei}/removeAll`),pf=yl(He(`${Ei}/remove`),{withTypes:()=>pf});function ve(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var Ve=class t extends Oe{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(Bt(s))return s;if(i==null)return;let a=fl({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=dl({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=ie(a.getInitialState());for(let f of p.keeping)h[f]=(d??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return a.reducer(d,p)}});return window.ftReduxStores[i.name]=new t(a,l,i.eventBus,i.deprecatedKeys)}constructor(e,o,n,i){super(),this.reduxSlice=e,this.reduxStore=o,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new yr,this.injectInto=(a,l)=>this.reduxSlice.injectInto(a,l),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let s=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,l,d)=>{let p=l,h=a[p];return h?(...f)=>{let m=h(...f.map(s));return this.reduxStore.dispatch(m),m}:f=>{let m=p,b=this.getState()[m];Z(b,f)||this.setState({[m]:s(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function ff(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Bt(e)&&e.clear()}var Or=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);me(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function hf(t,e,o){return new Or(t,e,o).watch()}var Ht=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var o;return(o=this.requestConsumers.get(e))!==null&&o!==void 0?o:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,o){for(let n of o)this.getOrCreateRequestConsumers(n).add(e).size==1&&this.onNewNeededRequest(n)}unregisterComponent(e,o){for(let n of o)this.getOrCreateRequestConsumers(n).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var Ai={};k(Ai,{scrollHelper:()=>mf});var wi,wo=new Map,Oi=class{lock(e,o){if(o){let n=wo.get(o);if(n==null||n===e)return wo.set(o,e),o}}release(e,o){o&&wo.get(o)===e&&wo.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let s of fn(e)){let a=s,l=this.elementCanScroll(a);if(l&&a.clientHeight&&a.clientHeight<a.scrollHeight){n=a;break}else l&&i==null&&(i=a)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,i;let s=0;for(;o&&o.offsetParent!==e.offsetParent;)s+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return s+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),s=i-n.clientHeight+e.clientHeight,a=i,l=Ue(0,(a-n.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(o?.position,l)*(s-a)+a;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(wi=window.FluidTopicsScrollHelper)!==null&&wi!==void 0?wi:new Oi;var mf=window.FluidTopicsScrollHelper;var _i={};k(_i,{toFtFormComponent:()=>gf});var Ri=Symbol("elementInternals"),gf=V(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Ri].form}constructor(...n){super(n),this[Ri]=this.attachInternals()}setFormValue(n){this[Ri].setFormValue(n)}}return e});var Ii={};k(Ii,{DateFormatter:()=>ct});var ct=class{static format(e,o,n,i,s){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(e,o,n,i,!!s)}static getMomentDateFormat(e,o,n){return n?"LT":e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i,s){let a=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return s?d:i?`${l} ${d}`:l}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var Li={};k(Li,{ALL_KEYS_VALUE:()=>Ti,SameWindowStorageEvent:()=>Vt});var Ti="__all__",Vt=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Ti}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new Vt(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new Vt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new Vt(Ti))}});var Ni={};k(Ni,{FocusMainContentEvent:()=>ki});var ki=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var bl={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function yf(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function bf(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",yf);document.addEventListener("click",bf);var xl=N`
47
+ `;var Tc={};var ri={};k(ri,{ParametrizedLabelResolver:()=>gr});var gr=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let s=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(s,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(n,a))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Ei={};k(Ei,{FtCommandQueue:()=>yr,FtLitElementRedux:()=>Le,FtReduxStore:()=>Ve,FtStateManager:()=>Ht,ReduxWatcher:()=>Or,clearAllStores:()=>df,isFtReduxStore:()=>Bt,redux:()=>Te,reduxEventListener:()=>hp,reduxReactive:()=>fp,watch:()=>uf,withRedux:()=>Lc});var fp=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Te=t=>{let e=t??{};return(o,n)=>{var i;let s={hasChanged:me,attribute:!1,...e};w(s)(o,n);let a=o.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(l=>l[n]),store:e.store})}},hp=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var yr=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function Bt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var br=Symbol("internalReduxEventsUnsubscribers"),ze=Symbol("internalStoresUnsubscribers"),st=Symbol("internalStores"),Lc=V(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(l=>a.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[st].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[st].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[st].get(a)}addStore(a,l){var d;l=(d=l??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[st].set(l,a),this.subscribeToStore(l,a),this.updateFromStores()}removeStore(a){let l=typeof a=="string"?a:a.name;this.unsubscribeFromStore(l),this[st].delete(l)}setupStores(){this.unsubscribeFromStores(),this[st].forEach((a,l)=>this.subscribeToStore(l,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(a.store);p&&(a.store?this[ze].has(a.store):this[ze].size>0)&&(this[l]=a.selector(p.getState(),this))}})}subscribeToStore(a,l){var d,p;this[ze].set(a,l.subscribe(()=>this.updateFromStores())),this[br].set(a,[]),Bt(l)&&(!((d=l.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((h,f)=>{this.getStore(h.store)===l&&l.deprecatedKeys.includes(f)&&console.warn("Element",this,"is subscribed to deprecated key",f,"in store",l.name)}),l.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((h,f)=>{if(typeof this[f]=="function"&&(!h.store||l.name===h.store)){let m=b=>this[f](b);l.addEventListener(h.eventName,m),this[br].get(a).push(()=>l.removeEventListener(h.eventName,m))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[ze].forEach((a,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(a){var l;this[ze].has(a)&&this[ze].get(a)(),this[ze].delete(a),(l=this[br].get(a))===null||l===void 0||l.forEach(d=>d()),this[br].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=ze,o=st,n=br,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Le=class extends Lc(j){};function K(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var mp=typeof Symbol=="function"&&Symbol.observable||"@@observable",kc=mp,oi=()=>Math.random().toString(36).substring(7).split("").join("."),gp={INIT:`@@redux/INIT${oi()}`,REPLACE:`@@redux/REPLACE${oi()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${oi()}`},to=gp;function ro(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function ni(t,e,o){if(typeof t!="function")throw new Error(K(2));if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(K(1));return o(ni)(t,e)}let n=t,i=e,s=new Map,a=s,l=0,d=!1;function p(){a===s&&(a=new Map,s.forEach((S,A)=>{a.set(A,S)}))}function h(){if(d)throw new Error(K(3));return i}function f(S){if(typeof S!="function")throw new Error(K(4));if(d)throw new Error(K(5));let A=!0;p();let _=l++;return a.set(_,S),function(){if(A){if(d)throw new Error(K(6));A=!1,p(),a.delete(_),s=null}}}function m(S){if(!ro(S))throw new Error(K(7));if(typeof S.type>"u")throw new Error(K(8));if(typeof S.type!="string")throw new Error(K(17));if(d)throw new Error(K(9));try{d=!0,i=n(i,S)}finally{d=!1}return(s=a).forEach(_=>{_()}),S}function b(S){if(typeof S!="function")throw new Error(K(10));n=S,m({type:to.REPLACE})}function v(){let S=f;return{subscribe(A){if(typeof A!="object"||A===null)throw new Error(K(11));function _(){let g=A;g.next&&g.next(h())}return _(),{unsubscribe:S(_)}},[kc](){return this}}}return m({type:to.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[kc]:v}}function yp(t){Object.keys(t).forEach(e=>{let o=t[e];if(typeof o(void 0,{type:to.INIT})>"u")throw new Error(K(12));if(typeof o(void 0,{type:to.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function ii(t){let e=Object.keys(t),o={};for(let a=0;a<e.length;a++){let l=e[a];typeof t[l]=="function"&&(o[l]=t[l])}let n=Object.keys(o),i,s;try{yp(o)}catch(a){s=a}return function(l={},d){if(s)throw s;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],b=o[m],v=l[m],C=b(v,d);if(typeof C>"u"){let S=d&&d.type;throw new Error(K(14))}h[m]=C,p=p||C!==v}return p=p||n.length!==Object.keys(l).length,p?h:l}}function xr(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,o)=>(...n)=>e(o(...n)))}function Nc(...t){return e=>(o,n)=>{let i=e(o,n),s=()=>{throw new Error(K(15))},a={getState:i.getState,dispatch:(d,...p)=>s(d,...p)},l=t.map(d=>d(a));return s=xr(...l)(i.dispatch),{...i,dispatch:s}}}function Pc(t){return ro(t)&&"type"in t&&typeof t.type=="string"}var Vc=Symbol.for("immer-nothing"),Fc=Symbol.for("immer-draftable"),q=Symbol.for("immer-state");function pe(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var te=Object,zt=te.getPrototypeOf,so="constructor",fo="prototype",li="configurable",ao="enumerable",no="writable",vr="value",ve=t=>!!t&&!!t[q];function re(t){return t?Wc(t)||mo(t)||!!t[Fc]||!!t[so]?.[Fc]||go(t)||yo(t):!1}var bp=te[fo][so].toString(),Mc=new WeakMap;function Wc(t){if(!t||!yi(t))return!1;let e=zt(t);if(e===null||e===te[fo])return!0;let o=te.hasOwnProperty.call(e,so)&&e[so];if(o===Object)return!0;if(!$t(o))return!1;let n=Mc.get(o);return n===void 0&&(n=Function.toString.call(o),Mc.set(o,n)),n===bp}function ho(t,e,o=!0){Cr(t)===0?(o?Reflect.ownKeys(t):te.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function Cr(t){let e=t[q];return e?e.type_:mo(t)?1:go(t)?2:yo(t)?3:0}var si=(t,e,o=Cr(t))=>o===2?t.has(e):te[fo].hasOwnProperty.call(t,e),di=(t,e,o=Cr(t))=>o===2?t.get(e):t[e],co=(t,e,o,n=Cr(t))=>{n===2?t.set(e,o):n===3?t.add(o):t[e]=o};function xp(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var mo=Array.isArray,go=t=>t instanceof Map,yo=t=>t instanceof Set,yi=t=>typeof t=="object",$t=t=>typeof t=="function",ai=t=>typeof t=="boolean";function vp(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var ke=t=>t.copy_||t.base_;var bi=t=>t.modified_?t.copy_:t.base_;function ui(t,e){if(go(t))return new Map(t);if(yo(t))return new Set(t);if(mo(t))return Array[fo].slice.call(t);let o=Wc(t);if(e===!0||e==="class_only"&&!o){let n=te.getOwnPropertyDescriptors(t);delete n[q];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let a=i[s],l=n[a];l[no]===!1&&(l[no]=!0,l[li]=!0),(l.get||l.set)&&(n[a]={[li]:!0,[no]:!0,[ao]:l[ao],[vr]:t[a]})}return te.create(zt(t),n)}else{let n=zt(t);if(n!==null&&o)return{...t};let i=te.create(n);return te.assign(i,t)}}function bo(t,e=!1){return xo(t)||ve(t)||!re(t)||(Cr(t)>1&&te.defineProperties(t,{set:oo,add:oo,clear:oo,delete:oo}),te.freeze(t),e&&ho(t,(o,n)=>{bo(n,!0)},!1)),t}function Sp(){pe(2)}var oo={[vr]:Sp};function xo(t){return t===null||!yi(t)?!0:te.isFrozen(t)}var lo="MapSet",pi="Patches",Dc="ArrayMethods",Gc={};function at(t){let e=Gc[t];return e||pe(0,t),e}var Uc=t=>!!Gc[t];var Sr,jc=()=>Sr,Ep=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Uc(lo)?at(lo):void 0,arrayMethodsPlugin_:Uc(Dc)?at(Dc):void 0});function Bc(t,e){e&&(t.patchPlugin_=at(pi),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function fi(t){hi(t),t.drafts_.forEach(Cp),t.drafts_=null}function hi(t){t===Sr&&(Sr=t.parent_)}var $c=t=>Sr=Ep(Sr,t);function Cp(t){let e=t[q];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function zc(t,e){e.unfinalizedDrafts_=e.drafts_.length;let o=e.drafts_[0];if(t!==void 0&&t!==o){o[q].modified_&&(fi(e),pe(4)),re(t)&&(t=Hc(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(o[q].base_,t,e)}else t=Hc(e,o);return wp(e,t,!0),fi(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==Vc?t:void 0}function Hc(t,e){if(xo(e))return e;let o=e[q];if(!o)return uo(e,t.handledSet_,t);if(!vo(o,t))return e;if(!o.modified_)return o.base_;if(!o.finalized_){let{callbacks_:n}=o;if(n)for(;n.length>0;)n.pop()(t);Zc(o,t)}return o.copy_}function wp(t,e,o=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&bo(e,o)}function Kc(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var vo=(t,e)=>t.scope_===e,Op=[];function qc(t,e,o,n){let i=ke(t),s=t.type_;if(n!==void 0&&di(i,n,s)===e){co(i,n,o,s);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;ho(i,(d,p)=>{if(ve(p)){let h=l.get(p)||[];h.push(d),l.set(p,h)}})}let a=t.draftLocations_.get(e)??Op;for(let l of a)co(i,l,o,s)}function Ap(t,e,o){t.callbacks_.push(function(i){let s=e;if(!s||!vo(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let a=bi(s);qc(t,s.draft_??s,a,o),Zc(s,i)})}function Zc(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:n}=e;if(n){let i=n.getPath(t);i&&n.generatePatches_(t,i,e)}Kc(t)}}function Rp(t,e,o){let{scope_:n}=t;if(ve(o)){let i=o[q];vo(i,n)&&i.callbacks_.push(function(){io(t);let a=bi(i);qc(t,o,a,e)})}else re(o)&&t.callbacks_.push(function(){let s=ke(t);t.type_===3?s.has(o)&&uo(o,n.handledSet_,n):di(s,e,t.type_)===o&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&uo(di(t.copy_,e,t.type_),n.handledSet_,n)})}function uo(t,e,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||ve(t)||e.has(t)||!re(t)||xo(t)||(e.add(t),ho(t,(n,i)=>{if(ve(i)){let s=i[q];if(vo(s,o)){let a=bi(s);co(t,n,a,t.type_),Kc(s)}}else re(i)&&uo(i,e,o)})),t}function _p(t,e){let o=mo(t),n={type_:o?1:0,scope_:e?e.scope_:jc(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,s=po;o&&(i=[n],s=Er);let{revoke:a,proxy:l}=Proxy.revocable(i,s);return n.draft_=l,n.revoke_=a,[l,n]}var po={get(t,e){if(e===q)return t;let o=t.scope_.arrayMethodsPlugin_,n=t.type_===1&&typeof e=="string";if(n&&o?.isArrayOperationMethod(e))return o.createMethodInterceptor(t,e);let i=ke(t);if(!si(i,e,t.type_))return Tp(t,i,e);let s=i[e];if(t.finalized_||!re(s)||n&&t.operationMethod&&o?.isMutatingArrayMethod(t.operationMethod)&&vp(e))return s;if(s===ci(t.base_,e)||Ip(t,e,s)){io(t);let a=t.type_===1?+e:e,l=gi(t.scope_,s,t,a);return t.copy_[a]=l}return s},has(t,e){return e in ke(t)},ownKeys(t){return Reflect.ownKeys(ke(t))},set(t,e,o){let n=Yc(ke(t),e);if(n?.set)return n.set.call(t.draft_,o),!0;if(!t.modified_){let i=ci(ke(t),e),s=i?.[q];if(s&&s.base_===o)return t.copy_[e]=o,t.assigned_.delete(e),!0;if(xp(o,i)&&(o!==void 0||si(t.base_,e,t.type_)))return!0;io(t),mi(t)}return t.copy_[e]===o&&(o!==void 0||si(t.copy_,e,t.type_))||Number.isNaN(o)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=o,t.assigned_.set(e,!0),Rp(t,e,o)),!0},deleteProperty(t,e){return io(t),ci(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),mi(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let o=ke(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{[no]:!0,[li]:t.type_!==1||e!=="length",[ao]:n[ao],[vr]:o[e]}},defineProperty(){pe(11)},getPrototypeOf(t){return zt(t.base_)},setPrototypeOf(){pe(12)}},Er={};for(let t in po){let e=po[t];Er[t]=function(){let o=arguments;return o[0]=o[0][0],e.apply(this,o)}}Er.deleteProperty=function(t,e){return Er.set.call(this,t,e,void 0)};Er.set=function(t,e,o){return po.set.call(this,t[0],e,o,t[0])};function ci(t,e){let o=t[q];return(o?ke(o):t)[e]}function Ip(t,e,o){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!re(o)||o[q]?!1:t.baseRefs_.has(o)}function Tp(t,e,o){let n=Yc(e,o);return n?vr in n?n[vr]:n.get?.call(t.draft_):void 0}function Yc(t,e){if(!(e in t))return;let o=zt(t);for(;o;){let n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=zt(o)}}function mi(t){t.modified_||(t.modified_=!0,t.parent_&&mi(t.parent_))}function io(t){t.copy_||(t.assigned_=new Map,t.copy_=ui(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Lp=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,o,n)=>{if($t(e)&&!$t(o)){let s=o;o=e;let a=this;return function(d=s,...p){return a.produce(d,h=>o.call(this,h,...p))}}$t(o)||pe(6),n!==void 0&&!$t(n)&&pe(7);let i;if(re(e)){let s=$c(this),a=gi(s,e,void 0),l=!0;try{i=o(a),l=!1}finally{l?fi(s):hi(s)}return Bc(s,n),zc(i,s)}else if(!e||!yi(e)){if(i=o(e),i===void 0&&(i=e),i===Vc&&(i=void 0),this.autoFreeze_&&bo(i,!0),n){let s=[],a=[];at(pi).generateReplacementPatches_(e,i,{patches_:s,inversePatches_:a}),n(s,a)}return i}else pe(1,e)},this.produceWithPatches=(e,o)=>{if($t(e))return(a,...l)=>this.produceWithPatches(a,d=>e(d,...l));let n,i;return[this.produce(e,o,(a,l)=>{n=a,i=l}),n,i]},ai(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),ai(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),ai(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){re(t)||pe(8),ve(t)&&(t=Qc(t));let e=$c(this),o=gi(e,t,void 0);return o[q].isManual_=!0,hi(e),o}finishDraft(t,e){let o=t&&t[q];(!o||!o.isManual_)&&pe(9);let{scope_:n}=o;return Bc(n,e),zc(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let o;for(o=e.length-1;o>=0;o--){let i=e[o];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}o>-1&&(e=e.slice(o+1));let n=at(pi).applyPatches_;return ve(t)?n(t,e):this.produce(t,i=>n(i,e))}};function gi(t,e,o,n){let[i,s]=go(e)?at(lo).proxyMap_(e,o):yo(e)?at(lo).proxySet_(e,o):_p(e,o);return(o?.scope_??jc()).drafts_.push(i),s.callbacks_=o?.callbacks_??[],s.key_=n,o&&n!==void 0?Ap(o,s,n):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:p}=d;s.modified_&&p&&p.generatePatches_(s,[],d)}),i}function Qc(t){return ve(t)||pe(10,t),Jc(t)}function Jc(t){if(!re(t)||xo(t))return t;let e=t[q],o,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,o=ui(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else o=ui(t,!0);return ho(o,(i,s)=>{co(o,i,Jc(s))},n),e&&(e.finalized_=!1),o}var kp=globalThis.Iterator,o0=typeof kp?.from=="function";var Np=new Lp,xi=Np.produce;function Xc(t){return({dispatch:o,getState:n})=>i=>s=>typeof s=="function"?s(o,n,t):i(s)}var el=Xc(),tl=Xc;var Pp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?xr:xr.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var Fp=t=>t&&typeof t.match=="function";function He(t,e){function o(...n){if(e){let i=e(...n);if(!i)throw new Error(Se(0));return{type:t,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:t,payload:n[0]}}return o.toString=()=>`${t}`,o.type=t,o.match=n=>Pc(n)&&n.type===t,o}var sl=class wr extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,wr.prototype)}static get[Symbol.species](){return wr}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new wr(...e[0].concat(this)):new wr(...e.concat(this))}};function rl(t){return re(t)?xi(t,()=>{}):t}function So(t,e,o){return t.has(e)?t.get(e):t.set(e,o(e)).get(e)}function Mp(t){return typeof t=="boolean"}var Dp=()=>function(e){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=e??{},a=new sl;return o&&(Mp(o)?a.push(el):a.push(tl(o.extraArgument))),a},Up="RTK_autoBatch";var ol=t=>e=>{setTimeout(e,t)},Bp=(t,e)=>o=>{let n=!1,i,s,a=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),o())};i=t(a),s=setTimeout(a,e)},$p=(t={type:"raf"})=>e=>(...o)=>{let n=e(...o),i=!0,s=!1,a=!1,l=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Bp(window.requestAnimationFrame,100):ol(10):t.type==="callback"?t.queueNotification:ol(t.timeout),p=()=>{a=!1,s&&(s=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[Up],s=!i,s&&(a||(a=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},zp=t=>function(o){let{autoBatch:n=!0}=o??{},i=new sl(t);return n&&i.push($p(typeof n=="object"?n:void 0)),i};function al(t){let e=Dp(),{reducer:o=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:l=void 0}=t||{},d;if(typeof o=="function")d=o;else if(ro(o))d=ii(o);else throw new Error(Se(1));let p;typeof n=="function"?p=n(e):p=e();let h=xr;i&&(h=Pp({trace:!1,...typeof i=="object"&&i}));let f=Nc(...p),m=zp(f),b=typeof l=="function"?l(m):m(),v=h(...b);return ni(d,a,v)}function cl(t){let e={},o=[],n,i={addCase(s,a){let l=typeof s=="string"?s:s.type;if(!l)throw new Error(Se(28));if(l in e)throw new Error(Se(29));return e[l]=a,i},addAsyncThunk(s,a){return a.pending&&(e[s.pending.type]=a.pending),a.rejected&&(e[s.rejected.type]=a.rejected),a.fulfilled&&(e[s.fulfilled.type]=a.fulfilled),a.settled&&o.push({matcher:s.settled,reducer:a.settled}),i},addMatcher(s,a){return o.push({matcher:s,reducer:a}),i},addDefaultCase(s){return n=s,i}};return t(i),[e,o,n]}function Hp(t){return typeof t=="function"}function Vp(t,e){let[o,n,i]=cl(e),s;if(Hp(t))s=()=>rl(t());else{let l=rl(t);s=()=>l}function a(l=s(),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(ve(h)){let m=f(h,d);return m===void 0?h:m}else{if(re(h))return xi(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw new Error(Se(9))}return m}}return h},l)}return a.getInitialState=s,a}var Wp=(t,e)=>Fp(t)?t.match(e):t(e);function Gp(...t){return e=>t.some(o=>Wp(o,e))}var jp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Kp=(t=21)=>{let e="",o=t;for(;o--;)e+=jp[Math.random()*64|0];return e},qp=["name","message","stack","code"],vi=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},nl=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},Zp=t=>{if(typeof t=="object"&&t!==null){let e={};for(let o of qp)typeof t[o]=="string"&&(e[o]=t[o]);return e}return{message:String(t)}},il="External signal was aborted",Yp=(()=>{function t(e,o,n){let i=He(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),s=He(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),a=He(e+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||Zp)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:p}={}){return(h,f,m)=>{let b=n?.idGenerator?n.idGenerator(d):Kp(),v=new AbortController,C,S;function A(y){S=y,v.abort()}p&&(p.aborted?A(il):p.addEventListener("abort",()=>A(il),{once:!0}));let _=(async function(){let y;try{let g=n?.condition?.(d,{getState:f,extra:m});if(Jp(g)&&(g=await g),g===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(v.signal.aborted)throw{name:"AbortError",message:S||"Aborted"};let x=new Promise((E,I)=>{C=()=>{I({name:"AbortError",message:S||"Aborted"})},v.signal.addEventListener("abort",C,{once:!0})});h(s(b,d,n?.getPendingMeta?.({requestId:b,arg:d},{getState:f,extra:m}))),y=await Promise.race([x,Promise.resolve(o(d,{dispatch:h,getState:f,extra:m,requestId:b,signal:v.signal,abort:A,rejectWithValue:((E,I)=>new vi(E,I)),fulfillWithValue:((E,I)=>new nl(E,I))})).then(E=>{if(E instanceof vi)throw E;return E instanceof nl?i(E.payload,b,d,E.meta):i(E,b,d)})])}catch(g){y=g instanceof vi?a(null,b,d,g.payload,g.meta):a(g,b,d)}finally{C&&v.signal.removeEventListener("abort",C)}return n&&!n.dispatchConditionRejection&&a.match(y)&&y.meta.condition||h(y),y})();return Object.assign(_,{abort:A,requestId:b,arg:d,unwrap(){return _.then(Qp)}})}}return Object.assign(l,{pending:s,rejected:a,fulfilled:i,settled:Gp(a,i),typePrefix:e})}return t.withTypes=()=>t,t})();function Qp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Jp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var ll=Symbol.for("rtk-slice-createasyncthunk"),u0={[ll]:Yp};function Xp(t,e){return`${t}/${e}`}function ef({creators:t}={}){let e=t?.asyncThunk?.[ll];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(Se(11));typeof process<"u";let a=(typeof n.reducers=="function"?n.reducers(rf()):n.reducers)||{},l=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(y,g){let x=typeof y=="string"?y:y.type;if(!x)throw new Error(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=a[y],x={reducerName:y,type:Xp(i,y),createNotation:typeof n.reducers=="function"};nf(g)?af(x,g,p,e):of(x,g,p)});function h(){let[y={},g=[],x=void 0]=typeof n.extraReducers=="function"?cl(n.extraReducers):[n.extraReducers],E={...y,...d.sliceCaseReducersByType};return Vp(n.initialState,I=>{for(let F in E)I.addCase(F,E[F]);for(let F of d.sliceMatchers)I.addMatcher(F.matcher,F.reducer);for(let F of g)I.addMatcher(F.matcher,F.reducer);x&&I.addDefaultCase(x)})}let f=y=>y,m=new Map,b=new WeakMap,v;function C(y,g){return v||(v=h()),v(y,g)}function S(){return v||(v=h()),v.getInitialState()}function A(y,g=!1){function x(I){let F=I[y];return typeof F>"u"&&g&&(F=So(b,x,S)),F}function E(I=f){return So(So(m,g,()=>new WeakMap),I,()=>{let F={};for(let[U,R]of Object.entries(n.selectors??{}))F[U]=tf(R,I,()=>So(b,I,S),g);return F})}return{reducerPath:y,getSelectors:E,get selectors(){return E(x)},selectSlice:x}}let _={name:i,reducer:C,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:S,...A(s),injectInto(y,{reducerPath:g,...x}={}){let E=g??s;return y.inject({reducerPath:E,reducer:C},x),{..._,...A(E,!0)}}};return _}}function tf(t,e,o,n){function i(s,...a){let l=e(s);return typeof l>"u"&&n&&(l=o()),t(l,...a)}return i.unwrapped=t,i}var dl=ef();function rf(){function t(e,o){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...o}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...o){return e(...o)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,o){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:o}},asyncThunk:t}}function of({type:t,reducerName:e,createNotation:o},n,i){let s,a;if("reducer"in n){if(o&&!sf(n))throw new Error(Se(17));s=n.reducer,a=n.prepare}else s=n;i.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?He(t,a):He(t))}function nf(t){return t._reducerDefinitionType==="asyncThunk"}function sf(t){return t._reducerDefinitionType==="reducerWithPrepare"}function af({type:t,reducerName:e},o,n,i){if(!i)throw new Error(Se(18));let{payloadCreator:s,fulfilled:a,pending:l,rejected:d,settled:p,options:h}=o,f=i(t,s,h);n.exposeAction(e,f),a&&n.addCase(f.fulfilled,a),l&&n.addCase(f.pending,l),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:a||Eo,pending:l||Eo,rejected:d||Eo,settled:p||Eo})}function Eo(){}var ul="listener",pl="completed",fl="cancelled",p0=`task-${fl}`,f0=`task-${pl}`,h0=`${ul}-${fl}`,m0=`${ul}-${pl}`;var{assign:hl}=Object;var Si="listenerMiddleware";var cf=hl(He(`${Si}/add`),{withTypes:()=>cf}),g0=He(`${Si}/removeAll`),lf=hl(He(`${Si}/remove`),{withTypes:()=>lf});function Se(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var Ve=class t extends Oe{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(Bt(s))return s;if(i==null)return;let a=dl({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=al({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=ie(a.getInitialState());for(let f of p.keeping)h[f]=(d??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return a.reducer(d,p)}});return window.ftReduxStores[i.name]=new t(a,l,i.eventBus,i.deprecatedKeys)}constructor(e,o,n,i){super(),this.reduxSlice=e,this.reduxStore=o,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new yr,this.injectInto=(a,l)=>this.reduxSlice.injectInto(a,l),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let s=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,l,d)=>{let p=l,h=a[p];return h?(...f)=>{let m=h(...f.map(s));return this.reduxStore.dispatch(m),m}:f=>{let m=p,b=this.getState()[m];Z(b,f)||this.setState({[m]:s(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function df(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Bt(e)&&e.clear()}var Or=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);me(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function uf(t,e,o){return new Or(t,e,o).watch()}var Ht=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var o;return(o=this.requestConsumers.get(e))!==null&&o!==void 0?o:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,o){for(let n of o)this.getOrCreateRequestConsumers(n).add(e).size==1&&this.onNewNeededRequest(n)}unregisterComponent(e,o){for(let n of o)this.getOrCreateRequestConsumers(n).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var Oi={};k(Oi,{scrollHelper:()=>pf});var Ci,Co=new Map,wi=class{lock(e,o){if(o){let n=Co.get(o);if(n==null||n===e)return Co.set(o,e),o}}release(e,o){o&&Co.get(o)===e&&Co.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let s of pn(e)){let a=s,l=this.elementCanScroll(a);if(l&&a.clientHeight&&a.clientHeight<a.scrollHeight){n=a;break}else l&&i==null&&(i=a)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,i;let s=0;for(;o&&o.offsetParent!==e.offsetParent;)s+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return s+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),s=i-n.clientHeight+e.clientHeight,a=i,l=Ue(0,(a-n.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(o?.position,l)*(s-a)+a;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Ci=window.FluidTopicsScrollHelper)!==null&&Ci!==void 0?Ci:new wi;var pf=window.FluidTopicsScrollHelper;var Ri={};k(Ri,{toFtFormComponent:()=>ff});var Ai=Symbol("elementInternals"),ff=V(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Ai].form}constructor(...n){super(n),this[Ai]=this.attachInternals()}setFormValue(n){this[Ai].setFormValue(n)}}return e});var _i={};k(_i,{DateFormatter:()=>ct});var ct=class{static format(e,o,n,i,s){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(e,o,n,i,!!s)}static getMomentDateFormat(e,o,n){return n?"LT":e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i,s){let a=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return s?d:i?`${l} ${d}`:l}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var Ti={};k(Ti,{ALL_KEYS_VALUE:()=>Ii,SameWindowStorageEvent:()=>Vt});var Ii="__all__",Vt=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Ii}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new Vt(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new Vt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new Vt(Ii))}});var ki={};k(ki,{FocusMainContentEvent:()=>Li});var Li=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var ml={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function hf(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function mf(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",hf);document.addEventListener("click",mf);var gl=N`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,36 +68,36 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var Pi={};k(Pi,{withAriaNotification:()=>Sf});var xf={checkVisibility:!0},Sf=V(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:s}={...xf,...i};setTimeout(()=>{(!s||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new ir({type:"aria",message:n})))},20)}}return e});var Fi={};k(Fi,{withConditionalVisibility:()=>vf});var Sl=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s};function vf(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let s=document.createElement("style");s.classList.add("conditional-visibility-style"),s.innerHTML=i,this.shadowRoot.append(s)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Sl([w({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),Sl([$()],e.prototype,"isVisible",void 0),e}var Di={};k(Di,{FormController:()=>Mi});function Ef(t){let e={};for(let o of Object.keys(t))e[o]=t[o].initial;return e}var Mi=class{constructor(e,o){this.host=e,this.config=o,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Ef(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(e){return this.data[e]}hasError(e){return this.errors.has(e)}errorFor(e){return this.errors.get(e)}setValue(e,o){if(this.data[e]===o)return;let n={...this.data};n[e]=o,this.data=n,this.checkValidity()}bind(e){return o=>this.setValue(e,o.detail)}setInitialValues(e){this.initial={...e},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(e,o){var n,i;let s=(i=(n=this.config[e]).validator)===null||i===void 0?void 0:i.call(n,this.value(e),this.data,o);s!==void 0&&this.errors.set(e,s)}checkValidity(e){return this.errors.clear(),this.fields.forEach(o=>{this.validateField(o,e)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let e of this.fields){let o=this.config[e].selector;if(this.errors.has(e)&&o!==void 0)return o}}focusFirstFieldInError(){let e=this.firstFieldSelectorInError;if(e===void 0)return;let o=this.host.renderRoot.querySelector(e);o instanceof HTMLElement&&o.focus()}async submit(e){var o,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(o=e.onInvalid)===null||o===void 0||o.call(e);return}e.onSuccess(await e.request(this.data))}catch(s){let a=Sn(s)?s:void 0;if(!this.checkValidity(a)){this.focusFirstFieldInError(),(n=e.onInvalid)===null||n===void 0||n.call(e);return}(i=e.onFailure)===null||i===void 0||i.call(e,a)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var Bi={};k(Bi,{MetadataValueLocalizer:()=>Ui});var Ui=class{constructor(e){this.contentLocales=e}localize(e){var o,n;return e?.key!=="ft:locale"?e:{...e,displayValue:(o=this.findLocaleValue(e))!==null&&o!==void 0?o:e.displayValue,displayTooltipValue:(n=this.findLocaleValue(e))!==null&&n!==void 0?n:e.displayTooltipValue}}findLocaleValue(e){var o;return(o=this.contentLocales.find(n=>n.lang===e.value))===null||o===void 0?void 0:o.label}};function $i(t,e){return e.map(o=>o(t)).filter(o=>o!==!0).map(o=>o)}function vl(t,e,o){return t?e(t):o?.(t)}var W=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},lt;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(lt||(lt={}));var We;(function(t){t.default="default",t.warning="warning",t.error="error"})(We||(We={}));var zi=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var oS=V(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=lt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=We.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===lt.blur||this.validateOn===lt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==We.default&&this.validateOn===lt.blurWithStatusResolutionOnInput||this.validateOn===lt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...$i(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=$i(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new zi(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return Q`
71
+ `;var Ni={};k(Ni,{withAriaNotification:()=>yf});var gf={checkVisibility:!0},yf=V(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:s}={...gf,...i};setTimeout(()=>{(!s||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new ir({type:"aria",message:n})))},20)}}return e});var Pi={};k(Pi,{withConditionalVisibility:()=>bf});var yl=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s};function bf(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let s=document.createElement("style");s.classList.add("conditional-visibility-style"),s.innerHTML=i,this.shadowRoot.append(s)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return yl([w({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),yl([$()],e.prototype,"isVisible",void 0),e}var Mi={};k(Mi,{FormController:()=>Fi});function xf(t){let e={};for(let o of Object.keys(t))e[o]=t[o].initial;return e}var Fi=class{constructor(e,o){this.host=e,this.config=o,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=xf(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(e){return this.data[e]}hasError(e){return this.errors.has(e)}errorFor(e){return this.errors.get(e)}setValue(e,o){if(this.data[e]===o)return;let n={...this.data};n[e]=o,this.data=n,this.checkValidity()}bind(e){return o=>this.setValue(e,o.detail)}setInitialValues(e){this.initial={...e},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(e,o){var n,i;let s=(i=(n=this.config[e]).validator)===null||i===void 0?void 0:i.call(n,this.value(e),this.data,o);s!==void 0&&this.errors.set(e,s)}checkValidity(e){return this.errors.clear(),this.fields.forEach(o=>{this.validateField(o,e)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let e of this.fields){let o=this.config[e].selector;if(this.errors.has(e)&&o!==void 0)return o}}focusFirstFieldInError(){let e=this.firstFieldSelectorInError;if(e===void 0)return;let o=this.host.renderRoot.querySelector(e);o instanceof HTMLElement&&o.focus()}async submit(e){var o,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(o=e.onInvalid)===null||o===void 0||o.call(e);return}e.onSuccess(await e.request(this.data))}catch(s){let a=xn(s)?s:void 0;if(!this.checkValidity(a)){this.focusFirstFieldInError(),(n=e.onInvalid)===null||n===void 0||n.call(e);return}(i=e.onFailure)===null||i===void 0||i.call(e,a)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var Ui={};k(Ui,{MetadataValueLocalizer:()=>Di});var Di=class{constructor(e){this.contentLocales=e}localize(e){var o,n;return e?.key!=="ft:locale"?e:{...e,displayValue:(o=this.findLocaleValue(e))!==null&&o!==void 0?o:e.displayValue,displayTooltipValue:(n=this.findLocaleValue(e))!==null&&n!==void 0?n:e.displayTooltipValue}}findLocaleValue(e){var o;return(o=this.contentLocales.find(n=>n.lang===e.value))===null||o===void 0?void 0:o.label}};function Bi(t,e){return e.map(o=>o(t)).filter(o=>o!==!0).map(o=>o)}function bl(t,e,o){return t?e(t):o?.(t)}var W=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},lt;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(lt||(lt={}));var We;(function(t){t.default="default",t.warning="warning",t.error="error"})(We||(We={}));var $i=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var tv=V(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=lt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=We.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===lt.blur||this.validateOn===lt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==We.default&&this.validateOn===lt.blurWithStatusResolutionOnInput||this.validateOn===lt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Bi(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Bi(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new $i(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return Q`
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
- ${Hr(this.errorMessages,n=>Q`
74
+ ${zr(this.errorMessages,n=>Q`
75
75
  <li>${n}</li>
76
76
  `)}
77
- ${Hr(this.warningMessages,n=>Q`
77
+ ${zr(this.warningMessages,n=>Q`
78
78
  <li>${n}</li>
79
79
  `)}
80
- ${vl(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>Q`
80
+ ${bl(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>Q`
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?We.error:this.warningMessages.length?We.warning:We.default}}return W([w()],e.prototype,"warningRules",void 0),W([w()],e.prototype,"errorRules",void 0),W([w()],e.prototype,"validateOn",void 0),W([w({type:Boolean})],e.prototype,"validateAtRender",void 0),W([w()],e.prototype,"label",void 0),W([w({type:Boolean})],e.prototype,"hideLabel",void 0),W([w()],e.prototype,"name",void 0),W([w({type:Boolean})],e.prototype,"disabled",void 0),W([w()],e.prototype,"helperText",void 0),W([w()],e.prototype,"forceStatus",void 0),W([w({reflect:!0})],e.prototype,"value",void 0),W([$()],e.prototype,"errorMessages",void 0),W([$()],e.prototype,"warningMessages",void 0),W([$()],e.prototype,"status",void 0),W([$()],e.prototype,"focused",void 0),W([$()],e.prototype,"additionalWarningRules",void 0),W([$()],e.prototype,"additionalErrorRules",void 0),W([$()],e.prototype,"forceErrorMessages",void 0),e});var Ar=(t,e)=>{let o=t._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(e,!1),Ar(n,e);return!0},Oo=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while(o?.size===0)},El=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),Af(e)}};function wf(t){this._$AN!==void 0?(Oo(this),this._$AM=t,El(this)):this._$AM=t}function Of(t,e=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let s=o;s<n.length;s++)Ar(n[s],!1),Oo(n[s]);else n!=null&&(Ar(n,!1),Oo(n));else Ar(this,t)}var Af=t=>{t.type==he.CHILD&&(t._$AP??=Of,t._$AQ??=wf)},Wt=class extends ne{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,n){super._$AT(e,o,n),El(this),this.isConnected=e._$AU}_$AO(e,o=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),o&&(Ar(this,e),Oo(this))}setValue(e){if(ks(this._$Ct))this._$Ct._$AI(e,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var Hi=class extends Wt{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),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 H}update(e){return this.part=e,this.ensureFocusTrap(e.element),H}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var o,n;this.isElementTrappable(e)&&(((o=this.firstTrap)===null||o===void 0?void 0:o.parentElement)===e&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,o,n,i;(e=this.firstTrap)===null||e===void 0||e.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(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let o=this.getChildren(e);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(e){await this.updateCompleteIfNecessary(e);let o=this.getChildren(e);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(e){e instanceof oe&&await e.updateComplete}isInsideElement(e,o){for(let n=e;n;n=n.parentNode){if(n===o)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},kS=ee(Hi);var Cl;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Cl||(Cl={}));var Rf={sm:640,md:768,lg:1024,xl:1280},Vi=class extends Wt{constructor(e){super(e),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(e,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(e,o,n){let i=this.resolveThreshold(e),s=n??(()=>M);return this.size>i?o():s()}resolveThreshold(e){return typeof e=="number"?e:Rf[e]}},MS=ee(Vi);var Rr=class t{static isShadowRoot(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}static getShadowRoots(e){let o=[],n=e.getRootNode();for(;t.isShadowRoot(n);)o.push(n),n=n.host.getRootNode();return o}static compareDeepPosition(e,o){if(e===o)return 0;let n=t.getShadowRoots(e),i=t.getShadowRoots(o),s=n.findIndex(p=>i.includes(p)),a=s<0?-1:i.findIndex(p=>p===n[s]),l=s===0||n.length===0?e:n[(s<0?n.length:s)-1].host,d=a===0||i.length===0?o:i[(a<0?i.length:a)-1].host;return l===d?l===e?Node.DOCUMENT_POSITION_CONTAINED_BY:Node.DOCUMENT_POSITION_CONTAINS:l.compareDocumentPosition(d)}static getDeepActiveElement(){var e;if(!document.activeElement)return null;let o=document.activeElement;for(;!((e=o.shadowRoot)===null||e===void 0)&&e.activeElement;)o=o.shadowRoot.activeElement;return o}};var Wi=class t{static autoFocus(e){t.allowAutoFocus(e)&&e.focus()}static allowAutoFocus(e){if(Gi)return!1;let o=Rr.getDeepActiveElement();if(!o)return!0;let n=Rr.compareDeepPosition(o,e);return(n&(Node.DOCUMENT_POSITION_DISCONNECTED|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC))!==0?!1:(n&Node.DOCUMENT_POSITION_PRECEDING)!==0&&(n&Node.DOCUMENT_POSITION_CONTAINS)===0||(n&Node.DOCUMENT_POSITION_CONTAINED_BY)!==0}};window.FluidTopicsFocusHelper=Wi;var ji,Ki,qi,Zi,_f=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((qi=(Ki=(ji=window.safari)===null||ji===void 0?void 0:ji.pushNotification)===null||Ki===void 0?void 0:Ki.toString())!==null&&qi!==void 0?qi:"")==="[object SafariRemoteNotification]",Gi="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Zi=window.ftGlobals)!==null&&Zi!==void 0?Zi:{lit:on,litDecorators:nn,litRepeat:sn,litClassMap:an,litStyleMap:cn,litUnsafeHTML:ln,wcUtils:{...dn,...bn,...un,...Rn,...Ii,..._n,...pn,...kn,...yn,...Gn,...Ni,...bl,...Ai,...jn,...Ln,...Jn,..._i,...Yn,...Pi,...Fi,...Lc,...hn,...ti,...Bi,...Nn,...ri,...xl,...Nc,...oi,...Ci,...Li,...Kn,...Zn,...vn,...wn,...Di,isSafari:_f,isTouchScreen:Gi,setVariable:Lt}};var Ao={linkColor:r.external(Je.colorPrimaryVariant,"Design system"),linkHoverColor:r.external(Je.colorPrimary,"Design system")},wl=N`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?We.error:this.warningMessages.length?We.warning:We.default}}return W([w()],e.prototype,"warningRules",void 0),W([w()],e.prototype,"errorRules",void 0),W([w()],e.prototype,"validateOn",void 0),W([w({type:Boolean})],e.prototype,"validateAtRender",void 0),W([w()],e.prototype,"label",void 0),W([w({type:Boolean})],e.prototype,"hideLabel",void 0),W([w()],e.prototype,"name",void 0),W([w({type:Boolean})],e.prototype,"disabled",void 0),W([w()],e.prototype,"helperText",void 0),W([w()],e.prototype,"forceStatus",void 0),W([w({reflect:!0})],e.prototype,"value",void 0),W([$()],e.prototype,"errorMessages",void 0),W([$()],e.prototype,"warningMessages",void 0),W([$()],e.prototype,"status",void 0),W([$()],e.prototype,"focused",void 0),W([$()],e.prototype,"additionalWarningRules",void 0),W([$()],e.prototype,"additionalErrorRules",void 0),W([$()],e.prototype,"forceErrorMessages",void 0),e});var Ar=(t,e)=>{let o=t._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(e,!1),Ar(n,e);return!0},wo=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while(o?.size===0)},xl=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),Cf(e)}};function Sf(t){this._$AN!==void 0?(wo(this),this._$AM=t,xl(this)):this._$AM=t}function Ef(t,e=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let s=o;s<n.length;s++)Ar(n[s],!1),wo(n[s]);else n!=null&&(Ar(n,!1),wo(n));else Ar(this,t)}var Cf=t=>{t.type==he.CHILD&&(t._$AP??=Ef,t._$AQ??=Sf)},Wt=class extends ne{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,n){super._$AT(e,o,n),xl(this),this.isConnected=e._$AU}_$AO(e,o=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),o&&(Ar(this,e),wo(this))}setValue(e){if(Is(this._$Ct))this._$Ct._$AI(e,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var zi=class extends Wt{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),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 H}update(e){return this.part=e,this.ensureFocusTrap(e.element),H}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var o,n;this.isElementTrappable(e)&&(((o=this.firstTrap)===null||o===void 0?void 0:o.parentElement)===e&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,o,n,i;(e=this.firstTrap)===null||e===void 0||e.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(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let o=this.getChildren(e);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(e){await this.updateCompleteIfNecessary(e);let o=this.getChildren(e);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(e){e instanceof oe&&await e.updateComplete}isInsideElement(e,o){for(let n=e;n;n=n.parentNode){if(n===o)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},Tv=ee(zi);var vl;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(vl||(vl={}));var wf={sm:640,md:768,lg:1024,xl:1280},Hi=class extends Wt{constructor(e){super(e),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(e,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(e,o,n){let i=this.resolveThreshold(e),s=n??(()=>M);return this.size>i?o():s()}resolveThreshold(e){return typeof e=="number"?e:wf[e]}},Pv=ee(Hi);var Vi,Wi,Gi,ji,Of=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Gi=(Wi=(Vi=window.safari)===null||Vi===void 0?void 0:Vi.pushNotification)===null||Wi===void 0?void 0:Wi.toString())!==null&&Gi!==void 0?Gi:"")==="[object SafariRemoteNotification]",Af="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ji=window.ftGlobals)!==null&&ji!==void 0?ji:{lit:rn,litDecorators:on,litRepeat:nn,litClassMap:sn,litStyleMap:an,litUnsafeHTML:cn,wcUtils:{...ln,...yn,...dn,...An,..._i,...Rn,...un,...Ln,...gn,...Wn,...ki,...ml,...Oi,...Gn,...Tn,...Qn,...Ri,...Zn,...Ni,...Pi,..._c,...fn,...ei,...Ui,...kn,...ti,...gl,...Tc,...ri,...Ei,...Ti,...jn,...qn,...vn,...Cn,...Mi,isSafari:Of,isTouchScreen:Af,setVariable:Lt}};var Oo={linkColor:r.external(Je.colorPrimaryVariant,"Design system"),linkHoverColor:r.external(Je.colorPrimary,"Design system")},Sl=N`
85
85
  .ft-search-results-spellcheck--spellcheck {
86
86
  display: flex;
87
87
  flex-direction: column;
88
88
  }
89
89
 
90
90
  .link {
91
- color: ${Ao.linkColor};
91
+ color: ${Oo.linkColor};
92
92
  text-decoration: underline;
93
- text-decoration-color: ${Ao.linkColor};
93
+ text-decoration-color: ${Oo.linkColor};
94
94
  }
95
95
 
96
96
  .link:hover {
97
- color: ${Ao.linkHoverColor};
98
- text-decoration-color: ${Ao.linkHoverColor};
97
+ color: ${Oo.linkHoverColor};
98
+ text-decoration-color: ${Oo.linkHoverColor};
99
99
  }
100
- `;var _r;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(_r||(_r={}));var Al=Symbol.for(""),If=t=>{if(t?.r===Al)return t?._$litStatic$},Yi=t=>({_$litStatic$:t,r:Al});var Ol=new Map,Qi=t=>(e,...o)=>{let n=o.length,i,s,a=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(s=o[p],(i=If(s))!==void 0);)d+=i+e[++p],h=!0;p!==n&&l.push(s),a.push(d),p++}if(p===n&&a.push(e[n]),h){let f=a.join("$$lit$$");(e=Ol.get(f))===void 0&&(a.raw=a,Ol.set(f,e=a)),o=l}return t(e,...o)},Ji=Qi(Q),jv=Qi(Jo),Kv=Qi(Xo);var Ro;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(Ro||(Ro={}));var Rl=r.extend("--ft-typography-font-family","",Je.titleFont),Ne=r.extend("--ft-typography-font-family","",Je.contentFont),O={fontFamily:Ne,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")},dt={fontFamily:r.extend("--ft-typography-title-font-family","",Rl),fontSize:r.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-text-decoration","",O.textDecoration,"inherit")},ut={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Rl),fontSize:r.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-dense-text-decoration","",O.textDecoration,"inherit")},pt={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Ne),fontSize:r.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle1-text-decoration","",O.textDecoration,"inherit")},ft={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Ne),fontSize:r.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle2-text-decoration","",O.textDecoration,"inherit")},ht={fontFamily:r.extend("--ft-typography-body1-font-family","",Ne),fontSize:r.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body1-text-decoration","",O.textDecoration,"inherit")},mt={fontFamily:r.extend("--ft-typography-body2-font-family","",Ne),fontSize:r.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body2-text-decoration","",O.textDecoration,"inherit")},gt={fontFamily:r.extend("--ft-typography-caption-font-family","",Ne),fontSize:r.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-caption-text-decoration","",O.textDecoration,"inherit")},yt={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Ne),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-breadcrumb-text-decoration","",O.textDecoration,"inherit")},bt={fontFamily:r.extend("--ft-typography-overline-font-family","",Ne),fontSize:r.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-overline-text-decoration","",O.textDecoration,"inherit")},xt={fontFamily:r.extend("--ft-typography-button-font-family","",Ne),fontSize:r.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-button-text-decoration","",O.textDecoration,"inherit")},_l=N`
100
+ `;var Rr;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(Rr||(Rr={}));var Cl=Symbol.for(""),Rf=t=>{if(t?.r===Cl)return t?._$litStatic$},Ki=t=>({_$litStatic$:t,r:Cl});var El=new Map,qi=t=>(e,...o)=>{let n=o.length,i,s,a=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(s=o[p],(i=Rf(s))!==void 0);)d+=i+e[++p],h=!0;p!==n&&l.push(s),a.push(d),p++}if(p===n&&a.push(e[n]),h){let f=a.join("$$lit$$");(e=El.get(f))===void 0&&(a.raw=a,El.set(f,e=a)),o=l}return t(e,...o)},Zi=qi(Q),BS=qi(Qo),$S=qi(Jo);var Ao;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(Ao||(Ao={}));var wl=r.extend("--ft-typography-font-family","",Je.titleFont),Ne=r.extend("--ft-typography-font-family","",Je.contentFont),O={fontFamily:Ne,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")},dt={fontFamily:r.extend("--ft-typography-title-font-family","",wl),fontSize:r.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-text-decoration","",O.textDecoration,"inherit")},ut={fontFamily:r.extend("--ft-typography-title-dense-font-family","",wl),fontSize:r.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-dense-text-decoration","",O.textDecoration,"inherit")},pt={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Ne),fontSize:r.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle1-text-decoration","",O.textDecoration,"inherit")},ft={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Ne),fontSize:r.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle2-text-decoration","",O.textDecoration,"inherit")},ht={fontFamily:r.extend("--ft-typography-body1-font-family","",Ne),fontSize:r.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body1-text-decoration","",O.textDecoration,"inherit")},mt={fontFamily:r.extend("--ft-typography-body2-font-family","",Ne),fontSize:r.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body2-text-decoration","",O.textDecoration,"inherit")},gt={fontFamily:r.extend("--ft-typography-caption-font-family","",Ne),fontSize:r.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-caption-text-decoration","",O.textDecoration,"inherit")},yt={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Ne),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-breadcrumb-text-decoration","",O.textDecoration,"inherit")},bt={fontFamily:r.extend("--ft-typography-overline-font-family","",Ne),fontSize:r.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-overline-text-decoration","",O.textDecoration,"inherit")},xt={fontFamily:r.extend("--ft-typography-button-font-family","",Ne),fontSize:r.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-button-text-decoration","",O.textDecoration,"inherit")},Ol=N`
101
101
  .ft-typography--title {
102
102
  font-family: ${dt.fontFamily};
103
103
  font-size: ${dt.fontSize};
@@ -107,7 +107,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
107
107
  text-transform: ${dt.textTransform};
108
108
  text-decoration: ${dt.textDecoration};
109
109
  }
110
- `,Il=N`
110
+ `,Al=N`
111
111
  .ft-typography--title-dense {
112
112
  font-family: ${ut.fontFamily};
113
113
  font-size: ${ut.fontSize};
@@ -117,7 +117,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
117
117
  text-transform: ${ut.textTransform};
118
118
  text-decoration: ${ut.textDecoration};
119
119
  }
120
- `,Tl=N`
120
+ `,Rl=N`
121
121
  .ft-typography--subtitle1 {
122
122
  font-family: ${pt.fontFamily};
123
123
  font-size: ${pt.fontSize};
@@ -127,7 +127,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
127
127
  text-transform: ${pt.textTransform};
128
128
  text-decoration: ${pt.textDecoration};
129
129
  }
130
- `,Ll=N`
130
+ `,_l=N`
131
131
  .ft-typography--subtitle2 {
132
132
  font-family: ${ft.fontFamily};
133
133
  font-size: ${ft.fontSize};
@@ -138,7 +138,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
138
138
  text-decoration: ${ft.textDecoration};
139
139
  }
140
140
 
141
- `,kl=N`
141
+ `,Il=N`
142
142
  .ft-typography--body1 {
143
143
  font-family: ${ht.fontFamily};
144
144
  font-size: ${ht.fontSize};
@@ -148,7 +148,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
148
148
  text-transform: ${ht.textTransform};
149
149
  text-decoration: ${ht.textDecoration};
150
150
  }
151
- `,Nl=N`
151
+ `,Tl=N`
152
152
  .ft-typography--body2 {
153
153
  font-family: ${mt.fontFamily};
154
154
  font-size: ${mt.fontSize};
@@ -158,7 +158,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
158
158
  text-transform: ${mt.textTransform};
159
159
  text-decoration: ${mt.textDecoration};
160
160
  }
161
- `,Pl=N`
161
+ `,Ll=N`
162
162
  .ft-typography--caption {
163
163
  font-family: ${gt.fontFamily};
164
164
  font-size: ${gt.fontSize};
@@ -168,7 +168,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
168
168
  text-transform: ${gt.textTransform};
169
169
  text-decoration: ${gt.textDecoration};
170
170
  }
171
- `,Fl=N`
171
+ `,kl=N`
172
172
  .ft-typography--breadcrumb {
173
173
  font-family: ${yt.fontFamily};
174
174
  font-size: ${yt.fontSize};
@@ -178,7 +178,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
178
178
  text-transform: ${yt.textTransform};
179
179
  text-decoration: ${yt.textDecoration};
180
180
  }
181
- `,Ml=N`
181
+ `,Nl=N`
182
182
  .ft-typography--overline {
183
183
  font-family: ${bt.fontFamily};
184
184
  font-size: ${bt.fontSize};
@@ -188,7 +188,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
188
188
  text-transform: ${bt.textTransform};
189
189
  text-decoration: ${bt.textDecoration};
190
190
  }
191
- `,Dl=N`
191
+ `,Pl=N`
192
192
  .ft-typography--button {
193
193
  font-family: ${xt.fontFamily};
194
194
  font-size: ${xt.fontSize};
@@ -198,31 +198,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
198
198
  text-transform: ${xt.textTransform};
199
199
  text-decoration: ${xt.textDecoration};
200
200
  }
201
- `,Ul=N`
201
+ `,Fl=N`
202
202
  .ft-typography {
203
203
  vertical-align: inherit;
204
204
  }
205
- `;var Bl=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},Pe=class extends j{constructor(){super(...arguments),this.variant=Ro.body1}render(){return this.element?Ji`
206
- <${Yi(this.element)}
205
+ `;var Ml=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},Pe=class extends j{constructor(){super(...arguments),this.variant=Ao.body1}render(){return this.element?Zi`
206
+ <${Ki(this.element)}
207
207
  part="text"
208
208
  class="ft-typography ft-typography--${this.variant}">
209
209
  <slot></slot>
210
- </${Yi(this.element)}>
211
- `:Ji`
210
+ </${Ki(this.element)}>
211
+ `:Zi`
212
212
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
213
- `}};Pe.styles=[_l,Il,Tl,Ll,kl,Nl,Pl,Fl,Ml,Dl,Ul];Bl([w()],Pe.prototype,"element",void 0);Bl([w()],Pe.prototype,"variant",void 0);var $l={"ft-typography":Pe};we($l);var Tf="ft-app-info",Ge=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Ge.eventName="authentication-change";var Ir=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Ir.eventName="ui-locale-changed";var Lf={session:(t,e)=>{Z(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>L.dispatchEvent(new Ge(e.payload)),0))}},L=Ve.get({name:Tf,reducers:Lf,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}});var _o=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},CE=V(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(L)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(l=>l.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?l=>ct.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return _o([w({type:Boolean})],e.prototype,"useLongDateFormat",void 0),_o([w({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),_o([Te({store:L.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),_o([Te({store:L.name})],e.prototype,"uiLocale",void 0),e});var St=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=L.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=L.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var Gt=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:St.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):St.await()}};var X=class extends Gt{constructor(e=!0,o){var n;super(o),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([l],[d])=>l.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new ge,this.cache=e?i.commonCache:new ge}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var Io=class extends X{async listMySearches(){let{session:e}=L.getState();return Zr(e,B.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var To=class extends X{async listMyBookmarks(){let e=L.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var Lo=class extends X{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=L.getState().session;return!!e?.sessionAuthenticated}};var ko=class extends X{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=L.getState().session;return!!e?.sessionAuthenticated}};var kf="ft-user-assets",Nf={setAssetCount:(t,e)=>{let{userAssetType:o,count:n}=e.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(se).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let o=e.payload.mapId;t.assetCounts.bookmarkByMap[o]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:o,mapId:n,asset:i}=e.payload;es(t,o,[...Xi(t,o),i]),zl(t,o,1,n),Hl(t,i)},editAsset:(t,e)=>{let{assetType:o,asset:n}=e.payload;es(t,o,Xi(t,o).map(i=>i.id===n.id?n:i)),Hl(t,n)},removeAsset:(t,e)=>{let{assetType:o,mapId:n,assetId:i}=e.payload;es(t,o,Xi(t,o).filter(s=>s.id!==i)),zl(t,o,-1,n)}},Vl={[se.SEARCHES]:"savedSearches",[se.BOOKMARKS]:"bookmarks",[se.BOOKS]:void 0,[se.COLLECTIONS]:void 0},Xi=(t,e)=>{var o;let n=Vl[e];return n?(o=t[n])!==null&&o!==void 0?o:[]:[]},es=(t,e,o)=>{let n=Vl[e];n&&(t[n]=o)},zl=(t,e,o,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+o),e===se.BOOKMARKS&&n)){let s=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},Hl=(t,e)=>{let o=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},Y=Ve.get({name:kf,reducers:Nf,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(se).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ts=class{constructor(e=new Lo,o=new ko){this.assetCountsService=e,this.assetLabelsService=o,this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new To,this.savedSearchesService=new Io,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=L.getState();Z((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Y.actions.clearAssetCount(),Y.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Y.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Y.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Y.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Y.actions.assetLabels(e)}async loadAssetCount(e){let o=await this.assetCountsService.getUserAssetCount(e);o&&Y.getState().assetCounts.allAsset[e]!==o.count&&Y.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(e){let o=await this.assetCountsService.getUserBookmarkCountByMap(e);o&&Y.getState().assetCounts.bookmarkByMap[e]!==o.count&&Y.actions.setBookmarkCountByMap({count:o.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let o=Object.keys(Y.getState().assetCounts.bookmarkByMap).length!==0;e===se.BOOKMARKS&&o&&Y.actions.clearBookmarkCountByMap(),Y.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Y.actions.bookmarks(o)}}},Pf=new ts;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Pf);var rs=class{addCommand(e,o=!1){L.commands.add(e,o)}consumeCommand(e){return L.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new rs;var Wl,jt=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Ff=Symbol("clearAfterUnitTest"),No=class extends jr(X){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Wl]=()=>{this.defaultMessages={},this.cache=new ge,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=L.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};Z(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var i;let s=e.toLowerCase(),a=this.resolveContext(s);return new gr((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},a).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),o&&await this.notify(e)}catch(i){!(i instanceof De)&&o&&console.error(i)}return n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new jt({loadedContexts:e})),this.dispatchEvent(new jt({loadedContexts:e})),await Promise.all(e.map(o=>this.notify(o,!1)))}async notify(e,o=!0){o&&(document.body.dispatchEvent(new jt({loadedContexts:[e]})),this.dispatchEvent(new jt({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>Gr(0).then(()=>n()).catch(()=>null)))}};Wl=Ff;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends No{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends No{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Kt=window.FluidTopicsI18nService,Po=window.FluidTopicsCustomI18nService;var os=class{highlightHtml(e,o,n){ei(e,o,n)}};window.FluidTopicsHighlightHtmlService=new os;var ns=class{isDate(e){var o,n,i,s;return(s=(n=((i=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1}format(e,o){var n,i,s,a;if(e==null)return"";try{return ct.format(e,(n=o?.locale)!==null&&n!==void 0?n:L.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1,(a=o?.onlyTime)!==null&&a!==void 0?a:!1)}catch(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new ns;var vt=class{static get(e,o,{baseUrl:n,localesConfiguration:i,availableContentLocales:s}=L.getState()){var a;if(!o||s.length>0&&!s.some(l=>l.lang===o)){let l=i?.defaultLocales.defaultContentLocale;o=l?`${l.lang}-${l.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new Ae(n,e??20,i?.allLanguagesAllowed,o,s)}};var is=class{urlToSearchRequest(e){return vt.get().parse(e)}searchRequestToUrl(e){return vt.get().serialize(e)}};window.FluidTopicsUrlService=new is;var Et=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};Et.eventName="before-location-change";var Ct=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Ct.eventName="change";var ss=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let o=sessionStorage.getItem(this.itemName(e));return o?JSON.parse(o):void 0}set(e,o){sessionStorage.setItem(this.itemName(e),JSON.stringify(o))}},Gl=new ss;var Fo=class t extends Oe{static build(){return new t(window.history,Gl,()=>window.location,!1)}constructor(e,o,n,i){var s,a;super(),this.history=e,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(a=(s=e.state)===null||s===void 0?void 0:s.index)!==null&&a!==void 0?a:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,o=!1){let n=o&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Z(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new Ct(this.currentItem())),0)}installProxies(){let e=o=>(n,i,[s,a,l])=>{let d=new Et(new URL(typeof l=="string"?l:(l??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let p=o(),h={...p===this.currentIndex?this.currentState:void 0,...s,index:p,href:d.detail.nextLocation.href};n.apply(i,[h,a,h.href]),this.setCurrentState(h,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let o=this.history.length-1;o>=0;o--)e?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(e){var o;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(o=e?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addBeforeLocationChangeListener(e){this.addEventListener(Et.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(Et.eventName,e)}addHistoryChangeListener(e){this.addEventListener(Ct.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Ct.eventName,e)}currentItem(){return ie(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return ie(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let o=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return ie(o.find(n=>e(n)))}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return ie(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var o;let n=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;if(!n)return e;let i=e,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var e,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&o!==void 0?o:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,o){var n;if(!this.hasState(e))return!1;let i=o??this.currentState.majorStateId,s=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Fo.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t),addBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(t),removeBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(t)});var jl=N`
214
- `;function Kl(t,e){let{authenticationRequired:o,session:n}=L.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var Mo=class extends Gt{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var as=class t extends Ht{static build(e){return new t(L,e)}constructor(e,o){super(),this.store=e,this.cache=new ge,this.withManualResources=!0,this.userLocaleService=new Mo,this.cleanSessionDebouncer=new Re,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new Re(500),this.apiProvider=o??(()=>St.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(Ge.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(Ge.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},o.idleTimeoutInMillis),o});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let o=await this.cache.get("availableContentLocales",()=>Kl(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=o.contentLocales)!==null&&e!==void 0?e:[])}setStickyFilters(e){this.store.actions.stickyFilters(e)}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setTenantId(e){this.store.actions.tenantId(e)}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){this.store.actions.localesConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e,o){this.userLocaleService.updateUiLocale({uiLocale:e,contentLocale:o}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new Ir(n)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setNoCustomCode(e){this.store.actions.noCustomCode(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}userHasAnyRole(...e){return La(L.getState().session,...e)}},cs=as.build();var wt=class extends Event{constructor(e,o,n,i){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=o,this.callback=n,this.subscribe=i??!1}};var Tr=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=e=>{let o=this.pendingContextRequests.get(e.context);if(o===void 0)return;this.pendingContextRequests.delete(e.context);let{requests:n}=o;for(let{elementRef:i,callbackRef:s}of n){let a=i.deref(),l=s.deref();a===void 0||l===void 0||a.dispatchEvent(new wt(e.context,a,l,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let o=e.contextTarget??e.composedPath()[0],n=e.callback,i=this.pendingContextRequests.get(e.context);i===void 0&&this.pendingContextRequests.set(e.context,i={callbacks:new WeakMap,requests:[]});let s=i.callbacks.get(o);s===void 0&&i.callbacks.set(o,s=new WeakSet),s.has(n)||(s.add(n),i.requests.push({elementRef:new WeakRef(o),callbackRef:new WeakRef(n)}))}}attach(e){e.addEventListener("context-request",this.onContextRequest),e.addEventListener("context-provider",this.onContextProvider)}detach(e){e.removeEventListener("context-request",this.onContextRequest),e.removeEventListener("context-provider",this.onContextProvider)}};var G=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},D=class extends Le{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=cs,this.contextRoot=new Tr}render(){return Q`
213
+ `}};Pe.styles=[Ol,Al,Rl,_l,Il,Tl,Ll,kl,Nl,Pl,Fl];Ml([w()],Pe.prototype,"element",void 0);Ml([w()],Pe.prototype,"variant",void 0);var Dl={"ft-typography":Pe};we(Dl);var _f="ft-app-info",Ge=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Ge.eventName="authentication-change";var _r=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};_r.eventName="ui-locale-changed";var If={session:(t,e)=>{Z(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>L.dispatchEvent(new Ge(e.payload)),0))}},L=Ve.get({name:_f,reducers:If,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}});var Ro=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},gE=V(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(L)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(l=>l.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?l=>ct.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Ro([w({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Ro([w({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Ro([Te({store:L.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),Ro([Te({store:L.name})],e.prototype,"uiLocale",void 0),e});var vt=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=L.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=L.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var Gt=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:vt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):vt.await()}};var X=class extends Gt{constructor(e=!0,o){var n;super(o),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([l],[d])=>l.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new ge,this.cache=e?i.commonCache:new ge}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var _o=class extends X{async listMySearches(){let{session:e}=L.getState();return qr(e,B.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var Io=class extends X{async listMyBookmarks(){let e=L.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var To=class extends X{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=L.getState().session;return!!e?.sessionAuthenticated}};var Lo=class extends X{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=L.getState().session;return!!e?.sessionAuthenticated}};var Tf="ft-user-assets",Lf={setAssetCount:(t,e)=>{let{userAssetType:o,count:n}=e.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(se).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let o=e.payload.mapId;t.assetCounts.bookmarkByMap[o]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:o,mapId:n,asset:i}=e.payload;Qi(t,o,[...Yi(t,o),i]),Ul(t,o,1,n),Bl(t,i)},editAsset:(t,e)=>{let{assetType:o,asset:n}=e.payload;Qi(t,o,Yi(t,o).map(i=>i.id===n.id?n:i)),Bl(t,n)},removeAsset:(t,e)=>{let{assetType:o,mapId:n,assetId:i}=e.payload;Qi(t,o,Yi(t,o).filter(s=>s.id!==i)),Ul(t,o,-1,n)}},$l={[se.SEARCHES]:"savedSearches",[se.BOOKMARKS]:"bookmarks",[se.BOOKS]:void 0,[se.COLLECTIONS]:void 0},Yi=(t,e)=>{var o;let n=$l[e];return n?(o=t[n])!==null&&o!==void 0?o:[]:[]},Qi=(t,e,o)=>{let n=$l[e];n&&(t[n]=o)},Ul=(t,e,o,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+o),e===se.BOOKMARKS&&n)){let s=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},Bl=(t,e)=>{let o=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},Y=Ve.get({name:Tf,reducers:Lf,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(se).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Ji=class{constructor(e=new To,o=new Lo){this.assetCountsService=e,this.assetLabelsService=o,this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Io,this.savedSearchesService=new _o,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=L.getState();Z((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Y.actions.clearAssetCount(),Y.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Y.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Y.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Y.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Y.actions.assetLabels(e)}async loadAssetCount(e){let o=await this.assetCountsService.getUserAssetCount(e);o&&Y.getState().assetCounts.allAsset[e]!==o.count&&Y.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(e){let o=await this.assetCountsService.getUserBookmarkCountByMap(e);o&&Y.getState().assetCounts.bookmarkByMap[e]!==o.count&&Y.actions.setBookmarkCountByMap({count:o.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let o=Object.keys(Y.getState().assetCounts.bookmarkByMap).length!==0;e===se.BOOKMARKS&&o&&Y.actions.clearBookmarkCountByMap(),Y.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Y.actions.bookmarks(o)}}},kf=new Ji;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=kf);var Xi=class{addCommand(e,o=!1){L.commands.add(e,o)}consumeCommand(e){return L.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Xi;var zl,jt=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Nf=Symbol("clearAfterUnitTest"),ko=class extends Gr(X){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[zl]=()=>{this.defaultMessages={},this.cache=new ge,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=L.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};Z(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var i;let s=e.toLowerCase(),a=this.resolveContext(s);return new gr((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},a).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),o&&await this.notify(e)}catch(i){!(i instanceof De)&&o&&console.error(i)}return n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new jt({loadedContexts:e})),this.dispatchEvent(new jt({loadedContexts:e})),await Promise.all(e.map(o=>this.notify(o,!1)))}async notify(e,o=!0){o&&(document.body.dispatchEvent(new jt({loadedContexts:[e]})),this.dispatchEvent(new jt({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>Wr(0).then(()=>n()).catch(()=>null)))}};zl=Nf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ko{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ko{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Kt=window.FluidTopicsI18nService,No=window.FluidTopicsCustomI18nService;var es=class{highlightHtml(e,o,n){Xn(e,o,n)}};window.FluidTopicsHighlightHtmlService=new es;var ts=class{isDate(e){var o,n,i,s;return(s=(n=((i=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1}format(e,o){var n,i,s,a;if(e==null)return"";try{return ct.format(e,(n=o?.locale)!==null&&n!==void 0?n:L.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1,(a=o?.onlyTime)!==null&&a!==void 0?a:!1)}catch(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new ts;var St=class{static get(e,o,{baseUrl:n,localesConfiguration:i,availableContentLocales:s}=L.getState()){var a;if(!o||s.length>0&&!s.some(l=>l.lang===o)){let l=i?.defaultLocales.defaultContentLocale;o=l?`${l.lang}-${l.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new Ae(n,e??20,i?.allLanguagesAllowed,o,s)}};var rs=class{urlToSearchRequest(e){return St.get().parse(e)}searchRequestToUrl(e){return St.get().serialize(e)}};window.FluidTopicsUrlService=new rs;var Et=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};Et.eventName="before-location-change";var Ct=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Ct.eventName="change";var os=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let o=sessionStorage.getItem(this.itemName(e));return o?JSON.parse(o):void 0}set(e,o){sessionStorage.setItem(this.itemName(e),JSON.stringify(o))}},Hl=new os;var Po=class t extends Oe{static build(){return new t(window.history,Hl,()=>window.location,!1)}constructor(e,o,n,i){var s,a;super(),this.history=e,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(a=(s=e.state)===null||s===void 0?void 0:s.index)!==null&&a!==void 0?a:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,o=!1){let n=o&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Z(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new Ct(this.currentItem())),0)}installProxies(){let e=o=>(n,i,[s,a,l])=>{let d=new Et(new URL(typeof l=="string"?l:(l??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let p=o(),h={...p===this.currentIndex?this.currentState:void 0,...s,index:p,href:d.detail.nextLocation.href};n.apply(i,[h,a,h.href]),this.setCurrentState(h,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let o=this.history.length-1;o>=0;o--)e?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(e){var o;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(o=e?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addBeforeLocationChangeListener(e){this.addEventListener(Et.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(Et.eventName,e)}addHistoryChangeListener(e){this.addEventListener(Ct.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Ct.eventName,e)}currentItem(){return ie(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return ie(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let o=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return ie(o.find(n=>e(n)))}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return ie(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var o;let n=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;if(!n)return e;let i=e,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var e,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&o!==void 0?o:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,o){var n;if(!this.hasState(e))return!1;let i=o??this.currentState.majorStateId,s=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Po.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t),addBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(t),removeBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(t)});var Vl=N`
214
+ `;function Wl(t,e){let{authenticationRequired:o,session:n}=L.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var Fo=class extends Gt{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var ns=class t extends Ht{static build(e){return new t(L,e)}constructor(e,o){super(),this.store=e,this.cache=new ge,this.withManualResources=!0,this.userLocaleService=new Fo,this.cleanSessionDebouncer=new Re,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new Re(500),this.apiProvider=o??(()=>vt.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(Ge.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(Ge.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},o.idleTimeoutInMillis),o});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let o=await this.cache.get("availableContentLocales",()=>Wl(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=o.contentLocales)!==null&&e!==void 0?e:[])}setStickyFilters(e){this.store.actions.stickyFilters(e)}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setTenantId(e){this.store.actions.tenantId(e)}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){this.store.actions.localesConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e,o){this.userLocaleService.updateUiLocale({uiLocale:e,contentLocale:o}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new _r(n)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setNoCustomCode(e){this.store.actions.noCustomCode(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}userHasAnyRole(...e){return _a(L.getState().session,...e)}},is=ns.build();var wt=class extends Event{constructor(e,o,n,i){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=o,this.callback=n,this.subscribe=i??!1}};var Ir=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=e=>{let o=this.pendingContextRequests.get(e.context);if(o===void 0)return;this.pendingContextRequests.delete(e.context);let{requests:n}=o;for(let{elementRef:i,callbackRef:s}of n){let a=i.deref(),l=s.deref();a===void 0||l===void 0||a.dispatchEvent(new wt(e.context,a,l,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let o=e.contextTarget??e.composedPath()[0],n=e.callback,i=this.pendingContextRequests.get(e.context);i===void 0&&this.pendingContextRequests.set(e.context,i={callbacks:new WeakMap,requests:[]});let s=i.callbacks.get(o);s===void 0&&i.callbacks.set(o,s=new WeakSet),s.has(n)||(s.add(n),i.requests.push({elementRef:new WeakRef(o),callbackRef:new WeakRef(n)}))}}attach(e){e.addEventListener("context-request",this.onContextRequest),e.addEventListener("context-provider",this.onContextProvider)}detach(e){e.removeEventListener("context-request",this.onContextRequest),e.removeEventListener("context-provider",this.onContextProvider)}};var G=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},D=class extends Le{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=is,this.contextRoot=new Ir}render(){return Q`
215
215
  <slot></slot>
216
- `}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.contextRoot.detach(document.body)}update(e){var o;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Kt.addContext(n)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((o=this.stateManager)===null||o===void 0||o.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};D.elementDefinitions={};D.styles=jl;G([w()],D.prototype,"baseUrl",void 0);G([w()],D.prototype,"tenantId",void 0);G([w()],D.prototype,"apiIntegrationIdentifier",void 0);G([w()],D.prototype,"apiIntegrationAppVersion",void 0);G([w()],D.prototype,"uiLocale",void 0);G([le(null)],D.prototype,"availableUiLocales",void 0);G([le(null)],D.prototype,"metadataConfiguration",void 0);G([w({type:Boolean})],D.prototype,"editorMode",void 0);G([w({type:Boolean})],D.prototype,"noCustom",void 0);G([w({type:Boolean})],D.prototype,"openExternalDocumentInNewTab",void 0);G([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],D.prototype,"noCustomComponent",void 0);G([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],D.prototype,"noCustomCode",void 0);G([w({type:Boolean})],D.prototype,"withManualResources",void 0);G([w({type:Boolean})],D.prototype,"navigatorOnline",void 0);G([w({type:Boolean})],D.prototype,"forcedOffline",void 0);G([w({type:Boolean})],D.prototype,"authenticationRequired",void 0);G([le([])],D.prototype,"messageContexts",void 0);G([le(void 0)],D.prototype,"session",void 0);var ql={"ft-app-context":D};we(ql);var Do=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Po:Kt}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return a=>({context:this.name,key:s,custom:this.custom,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};var ls=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[o,n]=e.split(".");return{context:o,key:n,custom:o!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Zl=new ls;var Uf=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},Bf=Symbol("i18nAttributes"),$f=Symbol("i18nListAttributes"),Ql=Symbol("i18nProperties"),Uo=Symbol("i18nContexts"),Lr=Symbol("i18nUnsubs"),$o=V(Symbol("withI18n"),function(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?Po:Kt}i18n(s){let{context:a,key:l,message:d}=s,{custom:p,args:h,argsProvider:f}=s;if(a&&l){this.hasI18nContext(a)||this.addI18nContext(a,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(a,l,...m)}return d}async awaitI18n(s){let{context:a,custom:l}=s;return a&&await this.getI18nService(l).prepareContext(a),this.i18n(s)}customI18n(s,a){if(Zl.isI18nKey(s)){let[l,d]=s.split(".");return this.i18n({custom:!0,context:l,key:d,...a})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((a,l,d)=>s.has(l)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,l,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,l;let d=this,p=(h,f,m)=>m?.context&&m.key&&s(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(a=this[Bf])===null||a===void 0||a.forEach((h,f)=>d[f]=p(h,f,d[f])),(l=this[$f])===null||l===void 0||l.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(b=>p(h,f,b))})}updateI18nProperties(s){var a;(a=this[Ql])===null||a===void 0||a.forEach((l,d)=>{s(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(s,a,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,l)}addI18nContext(s,a,l){let d=(typeof s=="string"?s:s.name).toLowerCase();l=typeof s=="string"?l:s.custom,this[Uo].set(d,{isCustomContext:l}),this[Lr].has(d)||this[Lr].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,a)}hasI18nContext(s){return this[Uo].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Uo].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Lr].forEach(s=>s()),this[Lr].clear()}}return e=Uo,o=Lr,Uf([w({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Yl=class extends $o(j){},Bo=class extends $o(Le){};var Jl=N`
217
- `;var qt=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},ae=class extends Bo{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:M:Q`
216
+ `}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.contextRoot.detach(document.body)}update(e){var o;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Kt.addContext(n)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((o=this.stateManager)===null||o===void 0||o.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};D.elementDefinitions={};D.styles=Vl;G([w()],D.prototype,"baseUrl",void 0);G([w()],D.prototype,"tenantId",void 0);G([w()],D.prototype,"apiIntegrationIdentifier",void 0);G([w()],D.prototype,"apiIntegrationAppVersion",void 0);G([w()],D.prototype,"uiLocale",void 0);G([le(null)],D.prototype,"availableUiLocales",void 0);G([le(null)],D.prototype,"metadataConfiguration",void 0);G([w({type:Boolean})],D.prototype,"editorMode",void 0);G([w({type:Boolean})],D.prototype,"noCustom",void 0);G([w({type:Boolean})],D.prototype,"openExternalDocumentInNewTab",void 0);G([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],D.prototype,"noCustomComponent",void 0);G([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],D.prototype,"noCustomCode",void 0);G([w({type:Boolean})],D.prototype,"withManualResources",void 0);G([w({type:Boolean})],D.prototype,"navigatorOnline",void 0);G([w({type:Boolean})],D.prototype,"forcedOffline",void 0);G([w({type:Boolean})],D.prototype,"authenticationRequired",void 0);G([le([])],D.prototype,"messageContexts",void 0);G([le(void 0)],D.prototype,"session",void 0);var Gl={"ft-app-context":D};we(Gl);var Mo=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?No:Kt}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return a=>({context:this.name,key:s,custom:this.custom,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};var ss=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[o,n]=e.split(".");return{context:o,key:n,custom:o!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},jl=new ss;var Mf=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},Df=Symbol("i18nAttributes"),Uf=Symbol("i18nListAttributes"),ql=Symbol("i18nProperties"),Do=Symbol("i18nContexts"),Tr=Symbol("i18nUnsubs"),Bo=V(Symbol("withI18n"),function(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?No:Kt}i18n(s){let{context:a,key:l,message:d}=s,{custom:p,args:h,argsProvider:f}=s;if(a&&l){this.hasI18nContext(a)||this.addI18nContext(a,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(a,l,...m)}return d}async awaitI18n(s){let{context:a,custom:l}=s;return a&&await this.getI18nService(l).prepareContext(a),this.i18n(s)}customI18n(s,a){if(jl.isI18nKey(s)){let[l,d]=s.split(".");return this.i18n({custom:!0,context:l,key:d,...a})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((a,l,d)=>s.has(l)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,l,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,l;let d=this,p=(h,f,m)=>m?.context&&m.key&&s(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(a=this[Df])===null||a===void 0||a.forEach((h,f)=>d[f]=p(h,f,d[f])),(l=this[Uf])===null||l===void 0||l.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(b=>p(h,f,b))})}updateI18nProperties(s){var a;(a=this[ql])===null||a===void 0||a.forEach((l,d)=>{s(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(s,a,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,l)}addI18nContext(s,a,l){let d=(typeof s=="string"?s:s.name).toLowerCase();l=typeof s=="string"?l:s.custom,this[Do].set(d,{isCustomContext:l}),this[Tr].has(d)||this[Tr].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,a)}hasI18nContext(s){return this[Do].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Do].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Tr].forEach(s=>s()),this[Tr].clear()}}return e=Do,o=Tr,Mf([w({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Kl=class extends Bo(j){},Uo=class extends Bo(Le){};var Zl=N`
217
+ `;var qt=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},ae=class extends Uo{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:M:Q`
218
218
  <span class="ft-i18n">
219
219
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
220
220
  </span>
221
- `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ae.elementDefinitions={};ae.styles=Jl;qt([Te()],ae.prototype,"editorMode",void 0);qt([w()],ae.prototype,"context",void 0);qt([w()],ae.prototype,"key",void 0);qt([le([])],ae.prototype,"args",void 0);qt([w()],ae.prototype,"defaultMessage",void 0);qt([$()],ae.prototype,"editorMessage",void 0);var Xl={"ft-i18n":ae};we(Xl);var zo=class t extends Event{constructor(){super(t.eventName)}};zo.eventName="search-context-clear-all-filters";var ds=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},ps=class extends CustomEvent{constructor(e){super("register-ft-search-component",{bubbles:!0,composed:!0,detail:{registrationId:e}})}},ed=Symbol("registerInterval"),us=Symbol("registerAttempts"),zf=40,Hf=V(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,s,a;super.willUpdate(n),n.has("neededSearchRequests")&&((i=this.stateManager)===null||i===void 0||i.unregisterComponent(this,(a=n.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[us]=0,this.tryToRegisterToContext(),this[ed]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[us]>zf?window.clearInterval(this[ed]):(this[us]++,this.dispatchEvent(new ps(this.searchRegistrationId)))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return ds([$()],e.prototype,"stateManager",void 0),ds([$({hasChanged:me})],e.prototype,"neededSearchRequests",void 0),ds([w()],e.prototype,"searchRegistrationId",void 0),e}),Ho=class extends Hf(Le){};var Vo=Do.build("integratedSpellcheckComponent"),td={resultsFor:"Results for ",noResultsForQuery:'No results for query "{0}"'};var fs=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},Fe=class extends $o(Ho){constructor(){super(),this.neededSearchRequests=[_r.CLUSTERED_SEARCH],this.addI18nContext(Vo,td)}render(){return this.spellcheckAutocorrect&&this.request&&this.autocorrectLink?Q`
221
+ `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ae.elementDefinitions={};ae.styles=Zl;qt([Te()],ae.prototype,"editorMode",void 0);qt([w()],ae.prototype,"context",void 0);qt([w()],ae.prototype,"key",void 0);qt([le([])],ae.prototype,"args",void 0);qt([w()],ae.prototype,"defaultMessage",void 0);qt([$()],ae.prototype,"editorMessage",void 0);var Yl={"ft-i18n":ae};we(Yl);var $o=class t extends Event{constructor(){super(t.eventName)}};$o.eventName="search-context-clear-all-filters";var as=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},ls=class extends CustomEvent{constructor(e){super("register-ft-search-component",{bubbles:!0,composed:!0,detail:{registrationId:e}})}},Ql=Symbol("registerInterval"),cs=Symbol("registerAttempts"),Bf=40,$f=V(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,s,a;super.willUpdate(n),n.has("neededSearchRequests")&&((i=this.stateManager)===null||i===void 0||i.unregisterComponent(this,(a=n.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[cs]=0,this.tryToRegisterToContext(),this[Ql]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[cs]>Bf?window.clearInterval(this[Ql]):(this[cs]++,this.dispatchEvent(new ls(this.searchRegistrationId)))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return as([$()],e.prototype,"stateManager",void 0),as([$({hasChanged:me})],e.prototype,"neededSearchRequests",void 0),as([w()],e.prototype,"searchRegistrationId",void 0),e}),zo=class extends $f(Le){};var Ho=Mo.build("integratedSpellcheckComponent"),Jl={resultsFor:"Results for ",noResultsForQuery:'No results for query "{0}"'};var ds=function(t,e,o,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,o,s):a(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},Fe=class extends Bo(zo){constructor(){super(),this.neededSearchRequests=[Rr.CLUSTERED_SEARCH],this.addI18nContext(Ho,Jl)}render(){return this.spellcheckAutocorrect&&this.request&&this.autocorrectLink?Q`
222
222
  <div class="ft-search-results-spellcheck--spellcheck">
223
223
  <div>
224
224
  <ft-typography variant="subtitle1">
225
- ${Vo.messages.resultsFor()}
225
+ ${Ho.messages.resultsFor()}
226
226
  </ft-typography>
227
227
  <a href="${this.autocorrectLink}">
228
228
  <ft-typography variant="subtitle1" class="link ft-search-results-spellcheck--new-query">
@@ -232,10 +232,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
232
232
  </div>
233
233
 
234
234
  <ft-typography variant="subtitle2" class="ft-search-results-spellcheck--old-query">
235
- ${Vo.messages.noResultsForQuery(this.request.query)}
235
+ ${Ho.messages.noResultsForQuery(this.request.query)}
236
236
  </ft-typography>
237
237
  </div>
238
- `:M}update(e){super.update(e),["request","spellcheckAutocorrect"].some(o=>e.has(o))&&this.request&&this.spellcheckAutocorrect&&(this.autocorrectLink=vt.get().serialize({...this.request,query:this.spellcheckAutocorrect.suggestedQuery}))}};Fe.elementDefinitions={"ft-typography":Pe};Fe.styles=wl;fs([Te({store:"search"})],Fe.prototype,"request",void 0);fs([Te({store:"search",selector:t=>t.spellcheck})],Fe.prototype,"spellcheckAutocorrect",void 0);fs([$()],Fe.prototype,"autocorrectLink",void 0);var rd={"ft-search-results-spellcheck":Fe};we(rd);})();
238
+ `:M}update(e){super.update(e),["request","spellcheckAutocorrect"].some(o=>e.has(o))&&this.request&&this.spellcheckAutocorrect&&(this.autocorrectLink=St.get().serialize({...this.request,query:this.spellcheckAutocorrect.suggestedQuery}))}};Fe.elementDefinitions={"ft-typography":Pe};Fe.styles=Sl;ds([Te({store:"search"})],Fe.prototype,"request",void 0);ds([Te({store:"search",selector:t=>t.spellcheck})],Fe.prototype,"spellcheckAutocorrect",void 0);ds([$()],Fe.prototype,"autocorrectLink",void 0);var Xl={"ft-search-results-spellcheck":Fe};we(Xl);})();
239
239
  /*! Bundled license information:
240
240
 
241
241
  .store/@webcomponents-scoped-custom-element-registry-npm-0.0.9-2bdd05710b/package/src/scoped-custom-element-registry.js: