@fluid-topics/ft-reader-search-in-document 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  "use strict";(()=>{var w8=Object.create;var rc=Object.defineProperty;var _8=Object.getOwnPropertyDescriptor;var k8=Object.getOwnPropertyNames;var T8=Object.getPrototypeOf,M8=Object.prototype.hasOwnProperty;var u=(t,e)=>()=>(t&&(e=t(t=0)),e);var N8=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),oe=(t,e)=>{for(var r in e)rc(t,r,{get:e[r],enumerable:!0})},P8=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of k8(e))!M8.call(t,n)&&n!==r&&rc(t,n,{get:()=>e[n],enumerable:!(o=_8(e,n))||o.enumerable});return t};var I8=(t,e,r)=>(r=t!=null?w8(T8(t)):{},P8(e||!t||!t.__esModule?rc(r,"default",{value:t,enumerable:!0}):r,t));var m2=u(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(k,A){if(k=k.toLowerCase(),this._getDefinition(k)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${k}" has already been used with this registry`);if(this._definitionsByClass.get(A)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let P=A.prototype.attributeChangedCallback,K=new Set(A.observedAttributes||[]);b(A,K,P);let te={elementClass:A,connectedCallback:A.prototype.connectedCallback,disconnectedCallback:A.prototype.disconnectedCallback,adoptedCallback:A.prototype.adoptedCallback,attributeChangedCallback:P,formAssociated:A.formAssociated,formAssociatedCallback:A.prototype.formAssociatedCallback,formDisabledCallback:A.prototype.formDisabledCallback,formResetCallback:A.prototype.formResetCallback,formStateRestoreCallback:A.prototype.formStateRestoreCallback,observedAttributes:K};this._definitionsByTag.set(k,te),this._definitionsByClass.set(A,te);let ye=r.call(o,k);ye||(ye=g(k),e.call(o,k,ye)),this===window.customElements&&(s.set(A,te),te.standInClass=ye);let he=this._awaitingUpgrade.get(k);if(he){this._awaitingUpgrade.delete(k);for(let C of he)a.delete(C),L(C,te,!0)}let X=this._whenDefinedPromises.get(k);return X!==void 0&&(X.resolve(A),this._whenDefinedPromises.delete(k)),A}upgrade(){z.push(this),o.upgrade.apply(o,arguments),z.pop()}get(k){return this._definitionsByTag.get(k)?.elementClass}_getDefinition(k){return this._definitionsByTag.get(k)}whenDefined(k){let A=this._getDefinition(k);if(A!==void 0)return Promise.resolve(A.elementClass);let P=this._whenDefinedPromises.get(k);return P===void 0&&(P={},P.promise=new Promise(K=>P.resolve=K),this._whenDefinedPromises.set(k,P)),P.promise}_upgradeWhenDefined(k,A,P){let K=this._awaitingUpgrade.get(A);K||this._awaitingUpgrade.set(A,K=new Set),P?K.add(k):K.delete(k)}};let d;window.HTMLElement=function(){let A=d;if(A)return d=void 0,A;let P=s.get(this.constructor);if(!P)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return A=Reflect.construct(t,[],P.standInClass),Object.setPrototypeOf(A,this.constructor.prototype),n.set(A,P),A},window.HTMLElement.prototype=t.prototype;let p=k=>k===document||k instanceof ShadowRoot,m=k=>{let A=k.getRootNode();if(!p(A)){let P=z[z.length-1];if(P instanceof CustomElementRegistry)return P;A=P.getRootNode(),p(A)||(A=l.get(A)?.getRootNode()||document)}return A.customElements},g=k=>class{static get formAssociated(){return!0}constructor(){let P=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(P,HTMLElement.prototype);let K=m(P)||window.customElements,te=K._getDefinition(k);return te?L(P,te):a.set(P,K),P}connectedCallback(){let P=n.get(this);P?P.connectedCallback&&P.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,k,!0)}disconnectedCallback(){let P=n.get(this);P?P.disconnectedCallback&&P.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,k,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let P=n.get(this);P&&P.formAssociated&&P?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let P=n.get(this);P?.formAssociated&&P?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let P=n.get(this);P?.formAssociated&&P?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let P=n.get(this);P?.formAssociated&&P?.formStateRestoreCallback?.apply(this,arguments)}},b=(k,A,P)=>{if(A.size===0||P===void 0)return;let K=k.prototype.setAttribute;K&&(k.prototype.setAttribute=function(he,X){let C=he.toLowerCase();if(A.has(C)){let M=this.getAttribute(C);K.call(this,C,X),P.call(this,C,M,X)}else K.call(this,C,X)});let te=k.prototype.removeAttribute;te&&(k.prototype.removeAttribute=function(he){let X=he.toLowerCase();if(A.has(X)){let C=this.getAttribute(X);te.call(this,X),P.call(this,X,C,null)}else te.call(this,X)});let ye=k.prototype.toggleAttribute;ye&&(k.prototype.toggleAttribute=function(he,X){let C=he.toLowerCase();if(A.has(C)){let M=this.getAttribute(C);ye.call(this,C,X);let Z=this.getAttribute(C);P.call(this,C,M,Z)}else ye.call(this,C,X)})},E=k=>{let A=Object.getPrototypeOf(k);if(A!==window.HTMLElement)return A===t?Object.setPrototypeOf(k,window.HTMLElement):E(A)},L=(k,A,P=!1)=>{Object.setPrototypeOf(k,A.elementClass.prototype),n.set(k,A),d=k;try{new A.elementClass}catch{E(A.elementClass),new A.elementClass}A.attributeChangedCallback&&A.observedAttributes.forEach(K=>{k.hasAttribute(K)&&A.attributeChangedCallback.call(k,K,null,k.getAttribute(K))}),P&&A.connectedCallback&&k.isConnected&&A.connectedCallback.call(k)},N=Element.prototype.attachShadow;Element.prototype.attachShadow=function(k){let A=N.apply(this,arguments);return k.customElements&&(A.customElements=k.customElements),A};let z=[document],B=(k,A,P=void 0)=>{let K=(P?Object.getPrototypeOf(P):k.prototype)[A];k.prototype[A]=function(){z.push(this);let te=K.apply(P||this,arguments);return te!==void 0&&l.set(te,this),z.pop(),te}};B(ShadowRoot,"createElement",document),B(ShadowRoot,"importNode",document),B(Element,"insertAdjacentHTML");let F=(k,A)=>{let P=Object.getOwnPropertyDescriptor(k.prototype,A);Object.defineProperty(k.prototype,A,{...P,set(K){z.push(this),P.set.call(this,K),z.pop()}})};if(F(Element,"innerHTML"),F(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let k=new WeakMap,A=HTMLElement.prototype.attachInternals,P=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...he){let X=A.call(this,...he);return k.set(X,this),X},P.forEach(he=>{let X=window.ElementInternals.prototype,C=X[he];X[he]=function(...M){let Z=k.get(this);if(n.get(Z).formAssociated===!0)return C?.call(this,...M);throw new DOMException(`Failed to execute ${C} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class K extends Array{constructor(X){super(...X),this._elements=X}get value(){return this._elements.find(X=>X.checked===!0)?.value||""}}class te{constructor(X){let C=new Map;X.forEach((M,Z)=>{let Se=M.getAttribute("name"),Ne=C.get(Se)||[];this[+Z]=M,Ne.push(M),C.set(Se,Ne)}),this.length=X.length,C.forEach((M,Z)=>{M&&(M.length===1?this[Z]=M[0]:this[Z]=new K(M))})}namedItem(X){return this[X]}}let ye=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let he=ye.get.call(this,[]),X=[];for(let C of he){let M=n.get(C);(!M||M.formAssociated===!0)&&X.push(C)}return new te(X)}})}}});var g2=u(()=>{"use strict";m2();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,n)=>{if(o!==null)try{e.bind(window.customElements)(r,o,n)}catch(a){console.info(r,o,n,a)}}}});var Xa,Un,oc,y2,Bi,kr,_,Hn,Qa,Ja=u(()=>{Xa=globalThis,Un=Xa.ShadowRoot&&(Xa.ShadyCSS===void 0||Xa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,oc=Symbol(),y2=new WeakMap,Bi=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==oc)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Un&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=y2.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&y2.set(r,e))}return e}toString(){return this.cssText}},kr=t=>new Bi(typeof t=="string"?t:t+"",void 0,oc),_=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,n,a)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[a+1],t[0]);return new Bi(r,t,oc)},Hn=(t,e)=>{if(Un)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),n=Xa.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)}},Qa=Un?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return kr(r)})(t):t});var $8,z8,D8,B8,F8,U8,es,b2,H8,G8,Gn,Fi,Vn,v2,Tr,Wn=u(()=>{Ja();Ja();({is:$8,defineProperty:z8,getOwnPropertyDescriptor:D8,getOwnPropertyNames:B8,getOwnPropertySymbols:F8,getPrototypeOf:U8}=Object),es=globalThis,b2=es.trustedTypes,H8=b2?b2.emptyScript:"",G8=es.reactiveElementPolyfillSupport,Gn=(t,e)=>t,Fi={toAttribute(t,e){switch(e){case Boolean:t=t?H8:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Vn=(t,e)=>!$8(t,e),v2={attribute:!0,type:String,converter:Fi,reflect:!1,useDefault:!1,hasChanged:Vn};Symbol.metadata??=Symbol("metadata"),es.litPropertyMetadata??=new WeakMap;Tr=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=v2){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),n=this.getPropertyDescriptor(e,o,r);n!==void 0&&z8(this.prototype,e,n)}}static getPropertyDescriptor(e,r,o){let{get:n,set:a}=D8(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??v2}static _$Ei(){if(this.hasOwnProperty(Gn("elementProperties")))return;let e=U8(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Gn("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Gn("properties"))){let r=this.properties,o=[...B8(r),...F8(r)];for(let n of o)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,n]of r)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let n=this._$Eu(r,o);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let n of o)r.unshift(Qa(n))}else e!==void 0&&r.push(Qa(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Hn(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$ET(e,r){let o=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,o);if(n!==void 0&&o.reflect===!0){let a=(o.converter?.toAttribute!==void 0?o.converter:Fi).toAttribute(r,o.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){let o=this.constructor,n=o._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=o.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Fi;this._$Em=n,this[n]=s.fromAttribute(r,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,r,o){if(e!==void 0){let n=this.constructor,a=this[e];if(o??=n.getPropertyOptions(e),!((o.hasChanged??Vn)(a,r)||o.useDefault&&o.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,o))))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:o,reflect:n,wrapped:a},s){o&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||o||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,a]of o){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw e=!1,this._$EM(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};Tr.elementStyles=[],Tr.shadowRootOptions={mode:"open"},Tr[Gn("elementProperties")]=new Map,Tr[Gn("finalized")]=new Map,G8?.({ReactiveElement:Tr}),(es.reactiveElementVersions??=[]).push("2.1.0")});function w2(t,e){if(!lc(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return x2!==void 0?x2.createHTML(e):e}function ti(t,e,r=t,o){if(e===Ot)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,a=qn(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=n:r._$Cl=n),n!==void 0&&(e=ti(t,n._$AS(t,e.values),n,o)),e}var nc,ts,x2,ac,io,sc,V8,ei,Kn,qn,lc,A2,ic,jn,S2,C2,Qo,O2,E2,R2,cc,S,dc,uc,Ot,$,L2,Jo,_2,Zn,rs,Ui,ri,os,is,ns,as,pc,W8,fc,yr=u(()=>{nc=globalThis,ts=nc.trustedTypes,x2=ts?ts.createPolicy("lit-html",{createHTML:t=>t}):void 0,ac="$lit$",io=`lit$${Math.random().toFixed(9).slice(2)}$`,sc="?"+io,V8=`<${sc}>`,ei=document,Kn=()=>ei.createComment(""),qn=t=>t===null||typeof t!="object"&&typeof t!="function",lc=Array.isArray,A2=t=>lc(t)||typeof t?.[Symbol.iterator]=="function",ic=`[
2
2
  \f\r]`,jn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,S2=/-->/g,C2=/>/g,Qo=RegExp(`>|${ic}(?:([^\\s"'>=/]+)(${ic}*=${ic}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),O2=/'/g,E2=/"/g,R2=/^(?:script|style|textarea|title)$/i,cc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),S=cc(1),dc=cc(2),uc=cc(3),Ot=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),L2=new WeakMap,Jo=ei.createTreeWalker(ei,129);_2=(t,e)=>{let r=t.length-1,o=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=jn;for(let l=0;l<r;l++){let d=t[l],p,m,g=-1,b=0;for(;b<d.length&&(s.lastIndex=b,m=s.exec(d),m!==null);)b=s.lastIndex,s===jn?m[1]==="!--"?s=S2:m[1]!==void 0?s=C2:m[2]!==void 0?(R2.test(m[2])&&(n=RegExp("</"+m[2],"g")),s=Qo):m[3]!==void 0&&(s=Qo):s===Qo?m[0]===">"?(s=n??jn,g=-1):m[1]===void 0?g=-2:(g=s.lastIndex-m[2].length,p=m[1],s=m[3]===void 0?Qo:m[3]==='"'?E2:O2):s===E2||s===O2?s=Qo:s===S2||s===C2?s=jn:(s=Qo,n=void 0);let E=s===Qo&&t[l+1].startsWith("/>")?" ":"";a+=s===jn?d+V8:g>=0?(o.push(p),d.slice(0,g)+ac+d.slice(g)+io+E):d+io+(g===-2?l:E)}return[w2(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},Zn=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,m]=_2(e,r);if(this.el=t.createElement(p,o),Jo.currentNode=this.el.content,r===2||r===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(n=Jo.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let g of n.getAttributeNames())if(g.endsWith(ac)){let b=m[s++],E=n.getAttribute(g).split(io),L=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:L[2],strings:E,ctor:L[1]==="."?os:L[1]==="?"?is:L[1]==="@"?ns:ri}),n.removeAttribute(g)}else g.startsWith(io)&&(d.push({type:6,index:a}),n.removeAttribute(g));if(R2.test(n.tagName)){let g=n.textContent.split(io),b=g.length-1;if(b>0){n.textContent=ts?ts.emptyScript:"";for(let E=0;E<b;E++)n.append(g[E],Kn()),Jo.nextNode(),d.push({type:2,index:++a});n.append(g[b],Kn())}}}else if(n.nodeType===8)if(n.data===sc)d.push({type:2,index:a});else{let g=-1;for(;(g=n.data.indexOf(io,g+1))!==-1;)d.push({type:7,index:a}),g+=io.length-1}a++}}static createElement(e,r){let o=ei.createElement("template");return o.innerHTML=e,o}};rs=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,n=(e?.creationScope??ei).importNode(r,!0);Jo.currentNode=n;let a=Jo.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Ui(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new as(a,this,e)),this._$AV.push(p),d=o[++l]}s!==d?.index&&(a=Jo.nextNode(),s++)}return Jo.currentNode=ei,n}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Ui=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ti(this,e,r),qn(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==Ot&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):A2(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!==$&&qn(this._$AH)?this._$AA.nextSibling.data=e:this.T(ei.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Zn.createElement(w2(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new rs(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=L2.get(e.strings);return r===void 0&&L2.set(e.strings,r=new Zn(e)),r}k(e){lc(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let a of e)n===r.length?r.push(o=new t(this.O(Kn()),this.O(Kn()),this,this.options)):o=r[n],o._$AI(a),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ri=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,a){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=$}_$AI(e,r=this,o,n){let a=this.strings,s=!1;if(a===void 0)e=ti(this,e,r,0),s=!qn(e)||e!==this._$AH&&e!==Ot,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=ti(this,l[o+d],r,d),p===Ot&&(p=this._$AH[d]),s||=!qn(p)||p!==this._$AH[d],p===$?e=$:e!==$&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!n&&this.j(e)}j(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},os=class extends ri{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===$?void 0:e}},is=class extends ri{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},ns=class extends ri{constructor(e,r,o,n,a){super(e,r,o,n,a),this.type=5}_$AI(e,r=this){if((e=ti(this,e,r,0)??$)===Ot)return;let o=this._$AH,n=e===$&&o!==$||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==$&&(o===$||n);n&&this.element.removeEventListener(this.name,this,o),a&&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)}},as=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){ti(this,e)}},pc={M:ac,P:io,A:sc,C:1,L:_2,R:rs,D:A2,V:ti,I:Ui,H:ri,N:is,U:ns,B:os,F:as},W8=nc.litHtmlPolyfillSupport;W8?.(Zn,Ui),(nc.litHtmlVersions??=[]).push("3.3.0");fc=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let a=r?.renderBefore??null;o._$litPart$=n=new Ui(e.insertBefore(Kn(),a),a,void 0,r??{})}return n._$AI(t),n}});var hc,br,j8,K8,k2=u(()=>{Wn();Wn();yr();yr();hc=globalThis,br=class extends Tr{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=fc(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ot}};br._$litElement$=!0,br.finalized=!0,hc.litElementHydrateSupport?.({LitElement:br});j8=hc.litElementPolyfillSupport;j8?.({LitElement:br});K8={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(hc.litElementVersions??=[]).push("4.2.0")});var FL,T2=u(()=>{FL=!1});var mc={};oe(mc,{CSSResult:()=>Bi,LitElement:()=>br,ReactiveElement:()=>Tr,_$LE:()=>K8,_$LH:()=>pc,adoptStyles:()=>Hn,css:()=>_,defaultConverter:()=>Fi,getCompatibleStyle:()=>Qa,html:()=>S,isServer:()=>FL,mathml:()=>uc,noChange:()=>Ot,notEqual:()=>Vn,nothing:()=>$,render:()=>fc,supportsAdoptingStyleSheets:()=>Un,svg:()=>dc,unsafeCSS:()=>kr});var I=u(()=>{Wn();yr();k2();T2()});var q8,M2=u(()=>{q8=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function h(t){return(e,r)=>typeof r=="object"?N2(t,e,r):((o,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,o),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}var Z8,N2,gc=u(()=>{Wn();Z8={attribute:!0,type:String,converter:Fi,reflect:!1,hasChanged:Vn},N2=(t=Z8,e,r)=>{let{kind:o,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(o==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+o)}});function U(t){return h({...t,state:!0,attribute:!1})}var P2=u(()=>{gc();});function Y8(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var I2=u(()=>{});var vr,Hi=u(()=>{vr=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function G(t,e){return(r,o,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof o=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return vr(r,o,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return vr(r,o,{get(){return a(this)}})}}var $2=u(()=>{Hi();});function yc(t){return(e,r)=>vr(e,r,{get(){return(this.renderRoot??(X8??=document.createDocumentFragment())).querySelectorAll(t)}})}var X8,z2=u(()=>{Hi();});function Q8(t){return(e,r)=>vr(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var D2=u(()=>{Hi();});function bc(t){return(e,r)=>{let{slot:o,selector:n}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return vr(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var B2=u(()=>{Hi();});function vc(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return vr(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var F2=u(()=>{Hi();});var xc={};oe(xc,{customElement:()=>q8,eventOptions:()=>Y8,property:()=>h,query:()=>G,queryAll:()=>yc,queryAssignedElements:()=>bc,queryAssignedNodes:()=>vc,queryAsync:()=>Q8,standardProperty:()=>N2,state:()=>U});var J=u(()=>{M2();gc();P2();I2();$2();z2();D2();B2();F2()});var Mr,xr,tr,oi=u(()=>{Mr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},xr=t=>(...e)=>({_$litDirective$:t,values:e}),tr=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var J8,H2,U2,Gi,Oo,ev,G2,V2,ss,Sc=u(()=>{yr();({I:J8}=pc),H2=t=>t.strings===void 0,U2=()=>document.createComment(""),Gi=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore(U2(),n),s=o.insertBefore(U2(),n);r=new J8(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==n||l){let d=r._$AA;for(;d!==a;){let p=d.nextSibling;o.insertBefore(d,n),d=p}}}return r},Oo=(t,e,r=t)=>(t._$AI(e,r),t),ev={},G2=(t,e=ev)=>t._$AH=e,V2=t=>t._$AH,ss=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}}});var W2,De,j2=u(()=>{yr();oi();Sc();W2=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},De=xr(class extends tr{constructor(t){if(super(t),t.type!==Mr.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let n=[],a=[],s=0;for(let l of t)n[s]=o?o(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let n=V2(t),{values:a,keys:s}=this.dt(e,r,o);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],p,m,g=0,b=n.length-1,E=0,L=a.length-1;for(;g<=b&&E<=L;)if(n[g]===null)g++;else if(n[b]===null)b--;else if(l[g]===s[E])d[E]=Oo(n[g],a[E]),g++,E++;else if(l[b]===s[L])d[L]=Oo(n[b],a[L]),b--,L--;else if(l[g]===s[L])d[L]=Oo(n[g],a[L]),Gi(t,d[L+1],n[g]),g++,L--;else if(l[b]===s[E])d[E]=Oo(n[b],a[E]),Gi(t,n[g],n[b]),b--,E++;else if(p===void 0&&(p=W2(s,E,L),m=W2(l,g,b)),p.has(l[g]))if(p.has(l[b])){let N=m.get(s[E]),z=N!==void 0?n[N]:null;if(z===null){let B=Gi(t,n[g]);Oo(B,a[E]),d[E]=B}else d[E]=Oo(z,a[E]),Gi(t,n[g],z),n[N]=null;E++}else ss(n[b]),b--;else ss(n[g]),g++;for(;E<=L;){let N=Gi(t,d[L+1]);Oo(N,a[E]),d[E++]=N}for(;g<=b;){let N=n[g++];N!==null&&ss(N)}return this.ut=s,G2(t,d),Ot}})});var Cc={};oe(Cc,{repeat:()=>De});var Sr=u(()=>{j2()});var ce,K2=u(()=>{yr();oi();ce=xr(class extends tr{constructor(t){if(super(t),t.type!==Mr.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(o=>o!=="")));for(let o in e)e[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.st)o in e||(r.remove(o),this.st.delete(o));for(let o in e){let n=!!e[o];n===this.st.has(o)||this.nt?.has(o)||(n?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return Ot}})});var Oc={};oe(Oc,{classMap:()=>ce});var Ye=u(()=>{K2()});var q2,tv,rv,Z2=u(()=>{yr();oi();q2="important",tv=" !"+q2,rv=xr(class extends tr{constructor(t){if(super(t),t.type!==Mr.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let o of this.ft)e[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let n=e[o];if(n!=null){this.ft.add(o);let a=typeof n=="string"&&n.endsWith(tv);o.includes("-")||a?r.setProperty(o,a?n.slice(0,-11):n,a?q2:""):r[o]=n}}return Ot}})});var Ec={};oe(Ec,{styleMap:()=>rv});var Y2=u(()=>{Z2()});var Vi,no,X2=u(()=>{yr();oi();Vi=class extends tr{constructor(e){if(super(e),this.it=$,e.type!==Mr.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===$||e==null)return this._t=void 0,this.it=e;if(e===Ot)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Vi.directiveName="unsafeHTML",Vi.resultType=1;no=xr(Vi)});var Lc={};oe(Lc,{UnsafeHTMLDirective:()=>Vi,unsafeHTML:()=>no});var Wi=u(()=>{X2()});var Ac={};oe(Ac,{CancelablePromise:()=>ls,CanceledPromiseError:()=>Nr,cancelable:()=>ji});var Nr,ls,ji,cs=u(()=>{"use strict";Nr=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},ls=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new Nr("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new Nr("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ji=t=>new ls((e,r)=>t.then(e).catch(r))});var Tc={};oe(Tc,{applyMixinOnce:()=>je,dateReviver:()=>iv,deepCopy:()=>ii,deepEqual:()=>ot,delay:()=>ds,eventPathContainsMatchingElement:()=>Rc,everyDeep:()=>ov,flatDeep:()=>Ht,forEachDeep:()=>Q2,getComposedPathTo:()=>_c,hasChanged:()=>Gt,last:()=>wc,minmax:()=>ao,parseDate:()=>e0,randomId:()=>kc,someDeep:()=>J2,unslotText:()=>Pr,waitFor:()=>Eo,waitUntil:()=>Yn});async function Yn(t,e=10,r=2e4){await Eo(async()=>await t()||void 0,e,r)}async function Eo(t,e=10,r=2e4){let o=await t(),n,a;for(n=a=performance.now();o==null&&(!r||a-n<r);)await ds(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function Ht(t,e){return t.flatMap(r=>[r,...Ht(e(r),e)])}function Q2(t,e,r){let o=(n,a)=>{var s;for(let l=0;l<n.length;l++){let d=n[l];if(!(((s=r(d,l,n,a))!==null&&s!==void 0?s:!0)&&o(e(d),[...a,d])))return!1}return!0};o(t,[])}function J2(t,e,r){let o=!1;return Q2(t,e,(n,a,s,l)=>(o=!!r(n,a,s,l),!o)),o}function ov(t,e,r){return!J2(t,e,(o,n,a,s)=>!r(o,n,a,s))}function iv(...t){return(e,r)=>t.includes(e)?e0(r):r}function e0(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,n)=>r+o+":"+n),new Date(t)}function nv(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,o,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!ot(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!ot(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[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 a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=r;o--!==0;){let s=n[o];if(!ot(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ot(t,e){try{return nv(t,e)}catch{return!1}}function Gt(t,e){return!ot(t,e)}function Rc(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let n of o){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function ao(t,e,r){return Math.min(Math.max(t,e),r)}function wc(t){return t[t.length-1]}function Pr(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Pr(e)).join(""):t?.textContent||""}function _c(t){let e=[],r=o=>{o.stopPropagation(),e=o.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function ii(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function kc(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function je(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let n=e(o);return n[t]=!0,n}}var ds,Tt=u(()=>{"use strict";ds=t=>new Promise(e=>setTimeout(e,t))});var Pc={};oe(Pc,{FtNotificationEvent:()=>Xn,PostResizeEvent:()=>Nc,PreResizeEvent:()=>Mc,WithEventBus:()=>so,withEventBus:()=>us});var Xn,Mc,Nc,us,so,Ki=u(()=>{"use strict";Tt();Xn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Mc=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Nc=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},us=je(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,o,n){this.eventBus.addEventListener(r,o,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,n){this.eventBus.removeEventListener(r,o,n)}}}),so=class extends us(Object){}});var Ic={};oe(Ic,{CacheRegistry:()=>Ir,ClearCacheEvent:()=>Qn});var Qn,Ir,$c=u(()=>{"use strict";cs();Ki();Qn=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Ir=class extends so{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:r,final:o,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let o=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Qn(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Qn([e])),e}forceClear(e){var r;let o=this.content[e];o&&(this.clearClearTimeout(e),(r=o.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(e){var r,o,n;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,r,o=!1){this.forceClear(e);let n=async()=>r,a="RESOLVED";this.content[e]={loader:n,final:o,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,o){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let n=this.content[e];switch(n.status){case"ERROR":throw n.error;case"LOADING":return n.promise;case"RESOLVED":return n.value;case"REGISTERED":return r=r??n.loader,n.status="LOADING",n.promise=ji(r()),n.promise.then(a=>(n.status="RESOLVED",n.value=a,o!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),o)),a)).catch(a=>{var s;throw!((s=n.promise)===null||s===void 0)&&s.isCanceled||(n.status="ERROR",n.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,o;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[e])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}}});var Dc={};oe(Dc,{accessBreadcrumb:()=>av,accessResult:()=>rr,accessResultId:()=>ps,accessResultUrl:()=>zc});function rr(t){var e,r,o,n;return(n=(o=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&o!==void 0?o:t?.htmlPackage)!==null&&n!==void 0?n:t?.htmlPackagePage}function ps(t){var e,r,o,n,a,s,l,d,p;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.documentId)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(p=t?.htmlPackagePage)===null||p===void 0?void 0:p.contentId}function zc(t){var e,r,o,n,a,s,l,d,p;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.readerUrl)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(p=t?.htmlPackagePage)===null||p===void 0?void 0:p.viewerUrl}function av(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]:[]}var fs=u(()=>{"use strict"});var Uc={};oe(Uc,{ClusteringHelper:()=>Fc,formatHierarchicalValues:()=>Bc});function Bc(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Fc,Hc=u(()=>{"use strict";fs();Fc=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static extractResultMetadata(e){let r=rr(e.result).metadata;return e.key==null?t.flattenMetadata(r,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(r.find(o=>o.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,o)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(Bc(l)),s.push(Bc(l,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>o?o(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,o="No value",n,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(g=>t.extractResultMetadata({result:g,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(g=>g??{key:e,label:p,value:void 0,displayValue:o}).filter(g=>g.value!=d?.value).filter((g,b,E)=>E.findIndex(L=>L.value===g.value)===b).map(g=>({result:this.findBestResultForMetadataValue(e,g.value),metadata:g})).sort((g,b)=>this.compareMetadata(g.metadata.value,b.metadata.value,e,r))}compareMetadata(e,r,o,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(o),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of o){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(n=>n.key===o.key&&n.value===o.value)).length}}});var Gc={};oe(Gc,{Debouncer:()=>me});var me,hs=u(()=>{"use strict";me=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Vc={};oe(Vc,{customElement:()=>H,dateProperty:()=>lv,isNumber:()=>t0,jsonProperty:()=>Ee,numberProperty:()=>or,optionalNumberProperty:()=>sv});function Ee(t,e){let r=()=>JSON.parse(JSON.stringify(t));return h({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:Gt,...e??{}})}function sv(t){return or(t)}function or(t){return h({type:Object,converter:{fromAttribute:e=>{var r,o;if(e==null)return;let n=(r=t?.min)!==null&&r!==void 0?r:-1/0,a=(o=t?.max)!==null&&o!==void 0?o:1/0;return t0(e)?ao(n,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function t0(t){return!isNaN(parseFloat(t))}function lv(t){return h({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var H,ms=u(()=>{"use strict";J();Tt();H=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function x(t,e){return Lo(`${t.name}: ${e}`)}var Lo,i,pe=u(()=>{I();Lo=t=>typeof t=="string"?kr(t):t,i=class{static create(e,r,o,n){let a=l=>Lo(l??n),s=_`var(${Lo(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>x(s,l??a(n)),s.get=l=>_`var(${Lo(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,o,n){let a=l=>o.get(l??n),s=_`var(${Lo(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>x(s,l??a(n)),s.get=l=>_`var(${Lo(e)}, ${a(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>n??o.lastResortDefaultValue(),s}static external(e,r){let o=a=>e.defaultCssValue(a),n=_`var(${Lo(e.name)}, ${o(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=o,n.set=a=>e.set(a),n.get=a=>_`var(${Lo(e.name)}, ${o(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,Wc,jc,Kc,qc,Zc,Yc,Xc,Qc,ni,r0,Jc,ed,td,Ao,rd,od,gs,cv,fe=u(()=>{pe();c={colorWhite:i.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:i.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:i.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:i.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:i.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:i.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:i.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:i.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:i.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:i.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:i.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:i.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:i.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:i.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:i.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:i.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:i.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:i.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:i.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:i.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:i.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:i.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:i.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:i.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:i.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:i.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:i.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:i.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:i.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:i.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:i.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:i.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:i.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:i.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:i.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:i.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:i.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:i.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:i.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:i.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:i.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:i.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:i.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:i.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:i.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:i.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:i.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:i.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:i.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:i.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:i.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:i.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:i.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:i.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:i.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:i.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:i.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:i.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:i.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:i.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:i.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:i.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:i.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:i.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:i.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:i.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:i.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:i.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:i.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:i.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:i.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:i.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:i.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:i.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:i.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:i.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:i.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:i.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:i.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:i.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:i.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:i.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:i.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:i.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:i.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:i.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:i.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:i.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:i.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:i.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:i.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:i.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:i.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:i.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:i.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:i.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:i.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:i.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:i.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:i.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:i.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:i.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:i.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:i.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:i.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:i.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:i.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:i.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:i.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:i.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:i.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:i.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:i.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:i.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:i.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:i.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:i.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:i.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:i.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:i.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:i.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:i.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:i.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:i.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:i.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:i.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:i.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:i.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:i.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:i.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:i.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:i.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:i.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:i.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:i.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:i.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:i.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:i.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:i.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:i.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:i.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:i.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:i.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:i.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:i.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:i.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:i.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:i.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:i.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:i.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:i.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:i.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:i.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:i.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:i.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:i.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:i.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:i.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:i.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:i.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:i.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:i.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:i.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:i.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:i.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:i.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:i.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:i.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:i.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:i.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:i.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:i.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:i.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:i.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:i.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:i.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:i.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:i.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:i.create("--ftds-opacity-0","","NUMBER","0"),opacity8:i.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:i.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:i.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:i.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:i.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:i.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:i.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:i.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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)")},Wc={fontFamily:i.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:i.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-display-text-case","","UNKNOWN","none")},jc={fontFamily:i.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:i.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Kc={fontFamily:i.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:i.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},qc={fontFamily:i.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:i.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:i.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Zc={fontFamily:i.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Yc={fontFamily:i.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Xc={fontFamily:i.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Qc={fontFamily:i.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},ni={fontFamily:i.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},r0={fontFamily:i.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:i.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:i.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Jc={fontFamily:i.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},ed={fontFamily:i.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},td={fontFamily:i.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Ao={fontFamily:i.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},rd={fontFamily:i.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},od={fontFamily:i.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:i.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},gs={display:Wc,"title-1":jc,"title-2":Kc,"title-3":qc,"body-1-regular":Zc,"body-1-medium":Yc,"body-1-semibold":Xc,"body-2-regular":Qc,"body-2-medium":ni,"body-2-medium-underline":r0,"body-2-semibold":Jc,"caption-1-medium":ed,"caption-1-semibold":td,"caption-2-medium":Ao,"caption-2-semibold":rd,"caption-2-bold":od},cv=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"]});var f,Ce=u(()=>{pe();fe();f={backgroundActionPrimary:i.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:i.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:i.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:i.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:i.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:i.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:i.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:i.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:i.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:i.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:i.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:i.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:i.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:i.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:i.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:i.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:i.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:i.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:i.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:i.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:i.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:i.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:i.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:i.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:i.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:i.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:i.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:i.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:i.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:i.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:i.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:i.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:i.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:i.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:i.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var O,o0=u(()=>{pe();fe();Ce();O={largeHeight:i.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:i.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:i.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:i.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:i.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:i.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:i.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:i.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:i.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:i.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:i.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:i.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:i.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:i.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:i.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:i.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:i.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:i.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:i.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:i.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:i.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:i.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:i.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:i.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:i.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:i.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:i.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:i.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:i.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:i.extend("--ftds-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:i.extend("--ftds-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:i.extend("--ftds-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:i.extend("--ftds-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:i.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:i.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:i.extend("--ftds-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:i.extend("--ftds-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:i.extend("--ftds-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:i.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:i.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:i.extend("--ftds-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:i.extend("--ftds-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:i.extend("--ftds-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:i.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:i.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:i.extend("--ftds-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:i.extend("--ftds-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:i.extend("--ftds-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:i.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:i.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:i.extend("--ftds-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:i.extend("--ftds-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:i.extend("--ftds-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:i.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:i.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:i.extend("--ftds-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:i.extend("--ftds-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:i.extend("--ftds-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:i.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:i.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:i.extend("--ftds-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:i.extend("--ftds-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:i.extend("--ftds-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:i.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:i.extend("--ftds-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:i.extend("--ftds-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:i.extend("--ftds-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:i.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:i.extend("--ftds-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:i.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:i.extend("--ftds-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:i.extend("--ftds-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:i.extend("--ftds-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:i.extend("--ftds-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:i.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:i.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:i.extend("--ftds-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:i.extend("--ftds-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:i.extend("--ftds-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:i.extend("--ftds-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:i.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:i.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:i.extend("--ftds-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:i.extend("--ftds-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:i.extend("--ftds-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:i.extend("--ftds-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:i.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:i.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:i.extend("--ftds-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:i.extend("--ftds-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:i.extend("--ftds-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:i.extend("--ftds-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:i.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:i.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:i.extend("--ftds-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:i.extend("--ftds-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:i.extend("--ftds-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:i.extend("--ftds-button-secondary-error-state-layer-color","",f.contentErrorPrimary)}});var dv,i0=u(()=>{pe();fe();Ce();dv={loadMoreIconSize:i.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:i.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-unselected-default-border-color","",f.borderGlobalSubtle),loadMoreIconColor:i.extend("--ftds-tree-list-load-more-icon-color","",f.contentActionPrimary),loadMoreLabelColor:i.extend("--ftds-tree-list-load-more-label-color","",f.contentActionPrimary),loadMoreHoverBorderColor:i.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:i.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:i.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:i.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:i.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:i.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",f.borderGlobalPrimary),loadMoreLabelMarginLeft:i.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:i.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:i.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:i.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:i.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:i.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:i.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:i.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-node-unselected-default-border-color","",f.borderGlobalSubtle),nodeUnselectedIconColor:i.extend("--ftds-tree-list-node-unselected-icon-color","",f.contentGlobalSecondary),nodeUnselectedLabelColor:i.extend("--ftds-tree-list-node-unselected-label-color","",f.contentGlobalSecondary),nodeUnselectedCounterColor:i.extend("--ftds-tree-list-node-unselected-counter-color","",f.contentGlobalSecondary),nodeHoverBorderColor:i.extend("--ftds-tree-list-node-hover-border-color","",f.borderActionPrimary),nodeFocusFocusRingColor:i.extend("--ftds-tree-list-node-focus-focus-ring-color","",f.borderActionFocusRing),nodeFocusOutlineWidth:i.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-selected-default-border-color","",f.borderGlobalPrimary),nodeSelectedIconColor:i.extend("--ftds-tree-list-node-selected-icon-color","",f.contentGlobalSecondary),nodeSelectedLabelColor:i.extend("--ftds-tree-list-node-selected-label-color","",f.contentGlobalPrimary),nodeSelectedCounterColor:i.extend("--ftds-tree-list-node-selected-counter-color","",f.contentGlobalSecondary),nodeSelectedBackgroundColor:i.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",f.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:i.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:i.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:i.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:i.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:i.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:i.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:i.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:i.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:i.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:i.extend("--ftds-tree-list-header-section-color","",f.contentGlobalPrimary),headerSectionCounterColor:i.extend("--ftds-tree-list-header-section-counter-color","",f.contentGlobalSecondary),listContainerBorderWidth:i.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:i.extend("--ftds-tree-list-list-container-background-color","",f.backgroundGlobalSurface),listContainerBorderColor:i.extend("--ftds-tree-list-list-container-border-color","",f.borderGlobalSubtle),emptyStateIllustrationWidth:i.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:i.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:i.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:i.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:i.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:i.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:i.extend("--ftds-tree-list-empty-state-title-label-color","",f.contentGlobalSecondary),emptyStateDescriptionLabelColor:i.extend("--ftds-tree-list-empty-state-description-label-color","",f.contentGlobalSecondary)}});var Q,n0=u(()=>{pe();fe();Ce();Q={iconSize:i.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:i.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:i.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:i.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:i.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:i.extend("--ftds-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ftds-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:i.extend("--ftds-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:i.extend("--ftds-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:i.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:i.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:i.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:i.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:i.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:i.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:i.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:i.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:i.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:i.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:i.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:i.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:i.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:i.extend("--ftds-checkbox-error-unchecked-border-color","",f.borderErrorPrimary),errorStateLayerColor:i.extend("--ftds-checkbox-error-state-layer-color","",f.contentErrorPrimary),errorHelperTextColor:i.extend("--ftds-checkbox-error-helper-text-color","",f.borderErrorPrimary),errorCheckedBackgroundColor:i.extend("--ftds-checkbox-error-checked-background-color","",f.contentErrorPrimary),helperTextColor:i.extend("--ftds-checkbox-helper-text-color","",f.contentGlobalSubtle),groupVerticalGap:i.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)}});var ve,a0=u(()=>{pe();fe();Ce();ve={circleSize:i.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:i.create("--ftds-radio-border-width","","SIZE","2px"),color:i.extend("--ftds-radio-color","",f.contentGlobalPrimary),selectedRadioColor:i.extend("--ftds-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:i.extend("--ftds-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:i.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:i.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:i.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:i.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:i.extend("--ftds-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:i.extend("--ftds-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:i.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:i.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:i.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:i.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:i.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:i.extend("--ftds-radio-horizontal-gap","",c.spacing3)}});var uv,s0=u(()=>{pe();fe();Ce();uv={headerRowBorderWidth:i.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:i.extend("--ftds-table-header-row-background-color","",f.backgroundGlobalOnSurfaceDark),headerRowBorderColor:i.extend("--ftds-table-header-row-border-color","",f.borderGlobalPrimary),headerRowColor:i.extend("--ftds-table-header-row-color","",f.contentGlobalPrimary),dataRowBorderWidth:i.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:i.extend("--ftds-table-data-row-background-color","",f.backgroundGlobalOnSurface),dataRowBorderColor:i.extend("--ftds-table-data-row-border-color","",f.borderGlobalSubtle),dataRowColor:i.extend("--ftds-table-data-row-color","",f.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:i.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:i.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:i.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:i.extend("--ftds-table-data-row-selectable-selected-color","",f.contentActionPrimary),dataRowClickableHoverBackgroundColor:i.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:i.extend("--ftds-table-data-row-clickable-focus-border-color","",f.borderActionFocusRing),dataRowClickableFocusBackgroundColor:i.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:i.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:i.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:i.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:i.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:i.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:i.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:i.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)}});var pv,l0=u(()=>{pe();fe();Ce();pv={neutralOffHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:i.extend("--ftds-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:i.extend("--ftds-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:i.extend("--ftds-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:i.extend("--ftds-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:i.extend("--ftds-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:i.extend("--ftds-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:i.extend("--ftds-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:i.extend("--ftds-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:i.extend("--ftds-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:i.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:i.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:i.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:i.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:i.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)}});var re,c0=u(()=>{pe();fe();Ce();re={largeMinHeight:i.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:i.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:i.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:i.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:i.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:i.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:i.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:i.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:i.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:i.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:i.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:i.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:i.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:i.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:i.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:i.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:i.extend("--ftds-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:i.extend("--ftds-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:i.extend("--ftds-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:i.extend("--ftds-chip-neutral-border-color","",f.borderGlobalSecondary),infoBackgroundColor:i.extend("--ftds-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:i.extend("--ftds-chip-info-color","",f.contentInfoPrimary),infoIconColor:i.extend("--ftds-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:i.extend("--ftds-chip-success-color","",f.contentSuccessPrimary),successIconColor:i.extend("--ftds-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:i.extend("--ftds-chip-warning-color","",f.contentWarningPrimary),warningIconColor:i.extend("--ftds-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:i.extend("--ftds-chip-error-color","",f.contentErrorPrimary),errorIconColor:i.extend("--ftds-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-chip-error-border-color","",f.borderErrorSubtle)}});var Xe,d0=u(()=>{pe();fe();Ce();Xe={brandHoverOpacity:i.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:i.extend("--ftds-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:i.extend("--ftds-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:i.extend("--ftds-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:i.extend("--ftds-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:i.extend("--ftds-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:i.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:i.extend("--ftds-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:i.extend("--ftds-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:i.extend("--ftds-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:i.extend("--ftds-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:i.extend("--ftds-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:i.extend("--ftds-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:i.extend("--ftds-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:i.extend("--ftds-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:i.extend("--ftds-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:i.extend("--ftds-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:i.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)}});var fv,u0=u(()=>{pe();fe();Ce();fv={iconSize:i.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:i.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:i.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:i.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:i.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:i.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:i.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:i.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:i.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:i.extend("--ftds-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:i.extend("--ftds-banner-info-color","",f.contentInfoPrimary),infoIconColor:i.extend("--ftds-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-banner-info-border-color","",f.borderInfoSubtle)}});var hv,p0=u(()=>{pe();fe();Ce();hv={horizontalPadding:i.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:i.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:i.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:i.extend("--ftds-badge-color","",f.contentGlobalOnColor),backgroundColor:i.extend("--ftds-badge-background-color","",f.contentActionPrimary)}});var mv,f0=u(()=>{pe();fe();Ce();mv={horizontalGap:i.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:i.extend("--ftds-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:i.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:i.extend("--ftds-title-breadcrumb-icon-color","",f.contentGlobalSubtle)}});var gv,h0=u(()=>{pe();fe();Ce();gv={parentHorizontalPadding:i.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:i.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:i.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:i.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:i.extend("--ftds-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:i.extend("--ftds-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:i.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:i.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:i.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:i.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:i.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:i.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:i.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:i.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:i.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:i.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:i.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:i.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:i.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:i.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:i.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:i.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:i.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:i.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:i.extend("--ftds-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:i.create("--ftds-page-header-bottom-border-width","","SIZE","1px")}});var yv,m0=u(()=>{pe();fe();Ce();yv={horizontalPadding:i.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:i.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:i.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:i.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:i.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:i.extend("--ftds-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:i.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:i.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)}});var bv,g0=u(()=>{pe();fe();bv={contentHorizontalPadding:i.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:i.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)}});var vv,y0=u(()=>{pe();fe();Ce();vv={smallContainerTargetWidth:i.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:i.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:i.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:i.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:i.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:i.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:i.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:i.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:i.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:i.extend("--ftds-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:i.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:i.extend("--ftds-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-modal-header-border-color","",f.borderGlobalSubtle),headerColor:i.extend("--ftds-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:i.extend("--ftds-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:i.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:i.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:i.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:i.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:i.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:i.extend("--ftds-modal-border-radius","",c.borderRadiusM)}});var xv,b0=u(()=>{pe();fe();Ce();xv={overlayOpacity:i.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:i.extend("--ftds-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:i.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:i.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:i.extend("--ftds-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:i.extend("--ftds-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ftds-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:i.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:i.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:i.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:i.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:i.extend("--ftds-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ftds-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:i.extend("--ftds-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:i.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:i.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:i.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:i.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:i.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:i.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:i.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:i.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:i.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)}});var Sv,v0=u(()=>{pe();fe();Ce();Sv={offBorderBottomWidth:i.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:i.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:i.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:i.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:i.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:i.extend("--ftds-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:i.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:i.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:i.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:i.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:i.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:i.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:i.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:i.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:i.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:i.extend("--ftds-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:i.extend("--ftds-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ftds-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:i.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:i.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:i.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:i.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:i.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-tabs-focus-focus-ring-color","",f.borderActionFocusRing)}});var Cv,x0=u(()=>{pe();fe();Ce();Cv={largeFieldHorizontalPadding:i.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:i.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:i.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:i.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:i.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:i.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:i.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:i.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:i.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:i.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:i.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:i.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:i.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:i.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:i.extend("--ftds-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderColor:i.extend("--ftds-text-input-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-text-input-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-text-input-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:i.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)}});var Ov,S0=u(()=>{pe();fe();Ce();Ov={backgroundColor:i.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:i.extend("--ftds-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:i.extend("--ftds-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:i.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:i.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:i.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:i.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:i.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:i.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:i.extend("--ftds-text-area-border-radius","",c.borderRadiusS)}});var Ev,C0=u(()=>{pe();fe();Ce();Ev={height:i.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:i.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:i.extend("--ftds-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:i.extend("--ftds-floating-menu-off-color","",f.contentGlobalPrimary),onColor:i.extend("--ftds-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:i.extend("--ftds-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:i.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:i.extend("--ftds-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:i.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:i.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:i.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:i.extend("--ftds-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:i.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)}});var Lv,O0=u(()=>{pe();fe();Ce();Lv={largeFieldHorizontalPadding:i.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:i.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:i.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:i.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:i.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:i.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:i.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:i.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:i.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:i.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:i.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:i.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:i.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:i.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:i.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:i.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:i.extend("--ftds-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:i.extend("--ftds-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:i.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:i.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var Av,E0=u(()=>{pe();fe();Ce();Av={backgroundColor:i.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:i.extend("--ftds-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:i.extend("--ftds-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:i.extend("--ftds-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:i.extend("--ftds-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:i.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:i.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:i.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:i.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:i.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:i.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:i.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:i.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:i.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:i.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:i.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:i.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)}});var ct,L0=u(()=>{pe();fe();Ce();ct={backgroundColor:i.extend("--ftds-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:i.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:i.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:i.extend("--ftds-popover-title-color","",f.contentGlobalPrimary),bodyColor:i.extend("--ftds-popover-body-color","",f.contentGlobalSecondary),gap:i.extend("--ftds-popover-gap","",c.spacing2),borderRadius:i.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:i.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:i.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:i.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)}});var Rv,A0=u(()=>{pe();fe();Ce();Rv={hoverStateLayerOpacity:i.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:i.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:i.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:i.extend("--ftds-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:i.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:i.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:i.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:i.extend("--ftds-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:i.extend("--ftds-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:i.extend("--ftds-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:i.extend("--ftds-collapsible-border-color","",f.borderGlobalSubtle),iconSize:i.extend("--ftds-collapsible-icon-size","",c.iconSize3)}});var wv,R0=u(()=>{pe();fe();Ce();wv={groupHorizontalPadding:i.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:i.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:i.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:i.extend("--ftds-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:i.extend("--ftds-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:i.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:i.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:i.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:i.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:i.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:i.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:i.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:i.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:i.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:i.extend("--ftds-switch-on-color","",f.contentActionPrimary),onStateLayerColor:i.extend("--ftds-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:i.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:i.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:i.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:i.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)}});var _v,w0=u(()=>{pe();fe();_v={color1Light:i.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:i.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:i.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:i.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:i.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:i.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:i.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:i.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:i.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:i.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:i.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:i.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:i.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:i.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:i.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:i.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:i.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:i.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:i.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:i.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:i.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:i.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:i.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:i.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:i.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:i.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:i.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:i.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:i.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var kv,_0=u(()=>{pe();fe();kv={color1IconColor:i.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:i.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:i.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:i.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:i.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:i.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:i.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:i.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:i.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:i.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:i.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:i.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:i.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:i.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:i.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:i.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var Tv,k0=u(()=>{pe();fe();Ce();Tv={borderWidth:i.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:i.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:i.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:i.extend("--ftds-notice-gap","",c.spacing2),iconSize:i.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:i.extend("--ftds-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:i.extend("--ftds-notice-info-border-color","",f.borderInfoSubtle),infoColor:i.extend("--ftds-notice-info-color","",f.contentInfoPrimary),infoIconColor:i.extend("--ftds-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:i.extend("--ftds-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:i.extend("--ftds-notice-warning-border-color","",f.borderWarningSubtle),warningColor:i.extend("--ftds-notice-warning-color","",f.contentWarningPrimary),warningIconColor:i.extend("--ftds-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:i.extend("--ftds-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:i.extend("--ftds-notice-error-border-color","",f.borderErrorSubtle),errorColor:i.extend("--ftds-notice-error-color","",f.contentErrorPrimary),errorIconColor:i.extend("--ftds-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:i.extend("--ftds-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:i.extend("--ftds-notice-success-border-color","",f.borderSuccessSubtle),successColor:i.extend("--ftds-notice-success-color","",f.contentSuccessPrimary),successIconColor:i.extend("--ftds-notice-success-icon-color","",f.contentSuccessIconOnly),denseHorizontalPadding:i.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:i.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:i.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:i.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:i.create("--ftds-notice-dense-border-width","","SIZE","0")}});var Mv,T0=u(()=>{pe();fe();Ce();Mv={offHoverStateLayerOpacity:i.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:i.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:i.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:i.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:i.extend("--ftds-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:i.extend("--ftds-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:i.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:i.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:i.extend("--ftds-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:i.extend("--ftds-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:i.extend("--ftds-toggle-on-icon-color","",f.contentActionPrimary),color:i.extend("--ftds-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:i.extend("--ftds-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:i.extend("--ftds-toggle-gap","",c.spacing3)}});var Nv,M0=u(()=>{pe();fe();Ce();Nv={iconSize:i.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:i.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:i.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:i.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:i.extend("--ftds-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:i.extend("--ftds-notification-info-color","",f.contentInfoPrimary),infoIconColor:i.extend("--ftds-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:i.extend("--ftds-notification-success-color","",f.contentSuccessPrimary),successIconColor:i.extend("--ftds-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:i.extend("--ftds-notification-warning-color","",f.contentWarningPrimary),warningIconColor:i.extend("--ftds-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:i.extend("--ftds-notification-error-color","",f.contentErrorPrimary),errorIconColor:i.extend("--ftds-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-notification-error-border-color","",f.borderErrorSubtle),borderRadius:i.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:i.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:i.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:i.extend("--ftds-notification-trailing-gap","",c.spacing8)}});var Pv,N0=u(()=>{pe();fe();Ce();Pv={horizontalPadding:i.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:i.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:i.extend("--ftds-tooltip-color","",f.contentGlobalOnColor),backgroundColor:i.extend("--ftds-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:i.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:i.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:i.extend("--ftds-tooltip-gap","",c.spacing05)}});var Iv,P0=u(()=>{pe();fe();Ce();Iv={verticalPadding:i.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:i.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:i.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:i.extend("--ftds-reorderable-list-reorderable-item-title-color","",f.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:i.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",f.contentGlobalPrimary),reorderableItemUsersCountMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:i.extend("--ftds-reorderable-list-reorderable-item-background-color","",f.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",f.contentWarningPrimary),reorderableItemWarningMessageIconColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",f.contentWarningIconOnly),reorderableItemGripColor:i.extend("--ftds-reorderable-list-reorderable-item-grip-color","",f.contentGlobalSecondary),reorderableItemGripOpacity:i.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:i.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:i.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:i.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:i.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:i.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:i.extend("--ftds-reorderable-list-border-color","",f.borderGlobalPrimary),backgroundColor:i.extend("--ftds-reorderable-list-background-color","",f.backgroundGlobalOnSurfaceDark)}});var $v,I0=u(()=>{pe();fe();$v={menuHorizontalPadding:i.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:i.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:i.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:i.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)}});var $0=u(()=>{fe();Ce();o0();i0();n0();a0();s0();l0();c0();d0();u0();p0();f0();h0();m0();g0();y0();b0();v0();x0();S0();C0();O0();E0();L0();A0();R0();w0();_0();k0();T0();M0();N0();P0();I0()});function id(t){return`ftds--family-${t}`}function nd(t){return`ftds--size-${t}`}var it,dt,z0=u(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(it||(it={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(dt||(dt={}))});var ge=u(()=>{pe();$0();z0()});var ad={};oe(ad,{DesignSystemFamily:()=>it,DesignSystemSize:()=>dt,FtCssVariableFactory:()=>i,badge:()=>hv,banner:()=>fv,button:()=>O,chart:()=>_v,checkbox:()=>Q,chip:()=>re,chipChoice:()=>pv,collapsible:()=>Rv,comboboxMultiSelect:()=>Av,comboboxSingleSelect:()=>Lv,dateRangePicker:()=>$v,drawer:()=>xv,floatingMenu:()=>Ev,foundation:()=>c,link:()=>Xe,modal:()=>vv,notice:()=>Tv,notification:()=>Nv,pageDesigner:()=>kv,pageFooter:()=>yv,pageHeader:()=>gv,pageLayout:()=>bv,popover:()=>ct,radio:()=>ve,reorderableList:()=>Iv,resolveFamilyClass:()=>id,resolveSizeClass:()=>nd,semantic:()=>f,setVariable:()=>x,switch_:()=>wv,table:()=>uv,tabs:()=>Sv,textArea:()=>Ov,textInput:()=>Cv,titleBreadcrumb:()=>mv,toggle:()=>Mv,tooltip:()=>Pv,treeList:()=>dv,typographies:()=>gs,typographyBody1Medium:()=>Yc,typographyBody1Regular:()=>Zc,typographyBody1Semibold:()=>Xc,typographyBody2Medium:()=>ni,typographyBody2MediumUnderline:()=>r0,typographyBody2Regular:()=>Qc,typographyBody2Semibold:()=>Jc,typographyCaption1Medium:()=>ed,typographyCaption1Semibold:()=>td,typographyCaption2Bold:()=>od,typographyCaption2Medium:()=>Ao,typographyCaption2Semibold:()=>rd,typographyDisplay:()=>Wc,typographyTitle1:()=>jc,typographyTitle2:()=>Kc,typographyTitle3:()=>qc,typographyVariants:()=>cv});var ys=u(()=>{"use strict";ge()});var sd={};oe(sd,{designSystemVariables:()=>R});var R,ld=u(()=>{"use strict";ys();R={colorPrimary:i.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:i.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:i.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:i.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:i.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:i.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:i.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:i.create("--ft-color-warning","","COLOR","#B74706"),colorError:i.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:i.create("--ft-color-success","","COLOR","#187856"),colorOutline:i.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:i.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:i.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:i.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:i.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:i.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:i.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:i.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:i.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:i.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:i.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:i.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:i.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:i.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:i.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:i.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:i.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:i.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:i.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:i.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:i.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:i.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:i.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:i.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:i.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:i.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:i.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:i.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:i.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:i.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:i.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:i.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:i.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:i.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:i.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:i.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:i.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:i.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:i.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:i.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:i.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:i.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var cd={};oe(cd,{DynamicImporter:()=>bs,dynamicImporter:()=>zv});var bs,zv,dd=u(()=>{"use strict";bs=class{async import(e){if(e)return import(e)}},zv=new bs});function fd(t,e,r){return It(t,ai(e,r))}function qi(t,e){return typeof t=="function"?t(e):t}function Ro(t){return t.split("-")[0]}function $r(t){return t.split("-")[1]}function hd(t){return t==="x"?"y":"x"}function md(t){return t==="y"?"height":"width"}function Zi(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function gd(t){return hd(Zi(t))}function F0(t,e,r){r===void 0&&(r=!1);let o=$r(t),n=gd(t),a=md(n),s=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ud(s)),[s,ud(s)]}function U0(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function ud(t){let e=Ro(t);return Dv[e]+t.slice(e.length)}function Bv(t){return{top:0,right:0,bottom:0,left:0,...t}}function H0(t){return typeof t!="number"?Bv(t):{top:t,right:t,bottom:t,left:t}}function si(t){let{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}var B0,D0,pd,ai,It,Jn,Cr,Dv,vs=u(()=>{B0=["top","right","bottom","left"],D0=["start","end"],pd=B0.reduce((t,e)=>t.concat(e,e+"-"+D0[0],e+"-"+D0[1]),[]),ai=Math.min,It=Math.max,Jn=Math.round,Cr=t=>({x:t,y:t}),Dv={left:"right",right:"left",bottom:"top",top:"bottom"}});function G0(t,e,r){let{reference:o,floating:n}=t,a=Zi(e),s=gd(e),l=md(s),d=Ro(e),p=a==="y",m=o.x+o.width/2-n.width/2,g=o.y+o.height/2-n.height/2,b=o[l]/2-n[l]/2,E;switch(d){case"top":E={x:m,y:o.y-n.height};break;case"bottom":E={x:m,y:o.y+o.height};break;case"right":E={x:o.x+o.width,y:g};break;case"left":E={x:o.x-n.width,y:g};break;default:E={x:o.x,y:o.y}}switch($r(e)){case"start":E[s]-=b*(r&&p?-1:1);break;case"end":E[s]+=b*(r&&p?-1:1);break}return E}async function V0(t,e){var r;e===void 0&&(e={});let{x:o,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:b=!1,padding:E=0}=qi(e,t),L=H0(E),z=l[b?g==="floating"?"reference":"floating":g],B=si(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(z)))==null||r?z:z.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:m,strategy:d})),F=g==="floating"?{x:o,y:n,width:s.floating.width,height:s.floating.height}:s.reference,k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),A=await(a.isElement==null?void 0:a.isElement(k))?await(a.getScale==null?void 0:a.getScale(k))||{x:1,y:1}:{x:1,y:1},P=si(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:F,offsetParent:k,strategy:d}):F);return{top:(B.top-P.top+L.top)/A.y,bottom:(P.bottom-B.bottom+L.bottom)/A.y,left:(B.left-P.left+L.left)/A.x,right:(P.right-B.right+L.right)/A.x}}function Uv(t,e,r){return(t?[...r.filter(n=>$r(n)===t),...r.filter(n=>$r(n)!==t)]:r.filter(n=>Ro(n)===n)).filter(n=>t?$r(n)===t||(e?U0(n)!==n:!1):!0)}async function Gv(t,e){let{placement:r,platform:o,elements:n}=t,a=await(o.isRTL==null?void 0:o.isRTL(n.floating)),s=Ro(r),l=$r(r),d=Zi(r)==="y",p=Hv.has(s)?-1:1,m=a&&d?-1:1,g=qi(e,t),{mainAxis:b,crossAxis:E,alignmentAxis:L}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return l&&typeof L=="number"&&(E=l==="end"?L*-1:L),d?{x:E*m,y:b*p}:{x:b*p,y:E*m}}var Fv,W0,j0,Hv,K0,q0,Z0,Y0=u(()=>{vs();vs();Fv=50,W0=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:V0},d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:m,y:g}=G0(p,o,d),b=o,E=0,L={};for(let N=0;N<a.length;N++){let z=a[N];if(!z)continue;let{name:B,fn:F}=z,{x:k,y:A,data:P,reset:K}=await F({x:m,y:g,initialPlacement:o,placement:b,strategy:n,middlewareData:L,rects:p,platform:l,elements:{reference:t,floating:e}});m=k??m,g=A??g,L[B]={...L[B],...P},K&&E<Fv&&(E++,typeof K=="object"&&(K.placement&&(b=K.placement),K.rects&&(p=K.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):K.rects),{x:m,y:g}=G0(p,b,d)),N=-1)}return{x:m,y:g,placement:b,strategy:n,middlewareData:L}};j0=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:m=!1,alignment:g,allowedPlacements:b=pd,autoAlignment:E=!0,...L}=qi(t,e),N=g!==void 0||b===pd?Uv(g||null,E,b):b,z=await d.detectOverflow(e,L),B=((r=s.autoPlacement)==null?void 0:r.index)||0,F=N[B];if(F==null)return{};let k=F0(F,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==F)return{reset:{placement:N[0]}};let A=[z[Ro(F)],z[k[0]],z[k[1]]],P=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:F,overflows:A}],K=N[B+1];if(K)return{data:{index:B+1,overflows:P},reset:{placement:K}};let te=P.map(X=>{let C=$r(X.placement);return[X.placement,C&&m?X.overflows.slice(0,2).reduce((M,Z)=>M+Z,0):X.overflows[0],X.overflows]}).sort((X,C)=>X[1]-C[1]),he=((n=te.filter(X=>X[2].slice(0,$r(X[0])?2:3).every(C=>C<=0))[0])==null?void 0:n[0])||te[0][0];return he!==l?{data:{index:B+1,overflows:P},reset:{placement:he}}:{}}}},Hv=new Set(["left","top"]);K0=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Gv(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},q0=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:n,platform:a}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:B=>{let{x:F,y:k}=B;return{x:F,y:k}}},...p}=qi(t,e),m={x:r,y:o},g=await a.detectOverflow(e,p),b=Zi(Ro(n)),E=hd(b),L=m[E],N=m[b];if(s){let B=E==="y"?"top":"left",F=E==="y"?"bottom":"right",k=L+g[B],A=L-g[F];L=fd(k,L,A)}if(l){let B=b==="y"?"top":"left",F=b==="y"?"bottom":"right",k=N+g[B],A=N-g[F];N=fd(k,N,A)}let z=d.fn({...e,[E]:L,[b]:N});return{...z,data:{x:z.x-r,y:z.y-o,enabled:{[E]:s,[b]:l}}}}}},Z0=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,o;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...p}=qi(t,e),m=await s.detectOverflow(e,p),g=Ro(n),b=$r(n),E=Zi(n)==="y",{width:L,height:N}=a.floating,z,B;g==="top"||g==="bottom"?(z=g,B=b===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(B=g,z=b==="end"?"top":"bottom");let F=N-m.top-m.bottom,k=L-m.left-m.right,A=ai(N-m[z],F),P=ai(L-m[B],k),K=!e.middlewareData.shift,te=A,ye=P;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(ye=k),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(te=F),K&&!b){let X=It(m.left,0),C=It(m.right,0),M=It(m.top,0),Z=It(m.bottom,0);E?ye=L-2*(X!==0||C!==0?X+C:It(m.left,m.right)):te=N-2*(M!==0||Z!==0?M+Z:It(m.top,m.bottom))}await d({...e,availableWidth:ye,availableHeight:te});let he=await s.getDimensions(l.floating);return L!==he.width||N!==he.height?{reset:{rects:!0}}:{}}}}});function Ss(){return typeof window<"u"}function ci(t){return Q0(t)?(t.nodeName||"").toLowerCase():"#document"}function $t(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function zr(t){var e;return(e=(Q0(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Q0(t){return Ss()?t instanceof Node||t instanceof $t(t).Node:!1}function ir(t){return Ss()?t instanceof Element||t instanceof $t(t).Element:!1}function Dr(t){return Ss()?t instanceof HTMLElement||t instanceof $t(t).HTMLElement:!1}function X0(t){return!Ss()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof $t(t).ShadowRoot}function Yi(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=nr(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function J0(t){return/^(table|td|th)$/.test(ci(t))}function ea(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}function Cs(t){let e=ir(t)?nr(t):t;return li(e.transform)||li(e.translate)||li(e.scale)||li(e.rotate)||li(e.perspective)||!Os()&&(li(e.backdropFilter)||li(e.filter))||Vv.test(e.willChange||"")||Wv.test(e.contain||"")}function eh(t){let e=lo(t);for(;Dr(e)&&!di(e);){if(Cs(e))return e;if(ea(e))return null;e=lo(e)}return null}function Os(){return yd==null&&(yd=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),yd}function di(t){return/^(html|body|#document)$/.test(ci(t))}function nr(t){return $t(t).getComputedStyle(t)}function ta(t){return ir(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function lo(t){if(ci(t)==="html")return t;let e=t.assignedSlot||t.parentNode||X0(t)&&t.host||zr(t);return X0(e)?e.host:e}function th(t){let e=lo(t);return di(e)?t.ownerDocument?t.ownerDocument.body:t.body:Dr(e)&&Yi(e)?e:th(e)}function xs(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=th(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=$t(n);if(a){let l=Es(s);return e.concat(s,s.visualViewport||[],Yi(n)?n:[],l&&r?xs(l):[])}else return e.concat(n,xs(n,[],r))}function Es(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}var Vv,Wv,li,yd,rh=u(()=>{Vv=/transform|translate|scale|rotate|perspective|filter/,Wv=/paint|layout|strict|content/,li=t=>!!t&&t!=="none"});function ah(t){let e=nr(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=Dr(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=Jn(r)!==a||Jn(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function sh(t){return ir(t)?t:t.contextElement}function Xi(t){let e=sh(t);if(!Dr(e))return Cr(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:a}=ah(e),s=(a?Jn(r.width):r.width)/o,l=(a?Jn(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function lh(t){let e=$t(t);return!Os()||!e.visualViewport?jv:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Kv(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==$t(t)?!1:e}function ra(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=sh(t),s=Cr(1);e&&(o?ir(o)&&(s=Xi(o)):s=Xi(t));let l=Kv(a,r,o)?lh(a):Cr(0),d=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,m=n.width/s.x,g=n.height/s.y;if(a){let b=$t(a),E=o&&ir(o)?$t(o):o,L=b,N=Es(L);for(;N&&o&&E!==L;){let z=Xi(N),B=N.getBoundingClientRect(),F=nr(N),k=B.left+(N.clientLeft+parseFloat(F.paddingLeft))*z.x,A=B.top+(N.clientTop+parseFloat(F.paddingTop))*z.y;d*=z.x,p*=z.y,m*=z.x,g*=z.y,d+=k,p+=A,L=$t(N),N=Es(L)}}return si({width:m,height:g,x:d,y:p})}function Ls(t,e){let r=ta(t).scrollLeft;return e?e.left+r:ra(zr(t)).left+r}function ch(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-Ls(t,r),n=r.top+e.scrollTop;return{x:o,y:n}}function qv(t){let{elements:e,rect:r,offsetParent:o,strategy:n}=t,a=n==="fixed",s=zr(o),l=e?ea(e.floating):!1;if(o===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},p=Cr(1),m=Cr(0),g=Dr(o);if((g||!g&&!a)&&((ci(o)!=="body"||Yi(s))&&(d=ta(o)),g)){let E=ra(o);p=Xi(o),m.x=E.x+o.clientLeft,m.y=E.y+o.clientTop}let b=s&&!g&&!a?ch(s,d):Cr(0);return{width:r.width*p.x,height:r.height*p.y,x:r.x*p.x-d.scrollLeft*p.x+m.x+b.x,y:r.y*p.y-d.scrollTop*p.y+m.y+b.y}}function Zv(t){return Array.from(t.getClientRects())}function Yv(t){let e=zr(t),r=ta(t),o=t.ownerDocument.body,n=It(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=It(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+Ls(t),l=-r.scrollTop;return nr(o).direction==="rtl"&&(s+=It(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Xv(t,e){let r=$t(t),o=zr(t),n=r.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let m=Os();(!m||m&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}let p=Ls(o);if(p<=0){let m=o.ownerDocument,g=m.body,b=getComputedStyle(g),E=m.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,L=Math.abs(o.clientWidth-g.clientWidth-E);L<=oh&&(a-=L)}else p<=oh&&(a+=p);return{width:a,height:s,x:l,y:d}}function Qv(t,e){let r=ra(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,a=Dr(t)?Xi(t):Cr(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,p=o*a.y;return{width:s,height:l,x:d,y:p}}function ih(t,e,r){let o;if(e==="viewport")o=Xv(t,r);else if(e==="document")o=Yv(zr(t));else if(ir(e))o=Qv(e,r);else{let n=lh(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return si(o)}function dh(t,e){let r=lo(t);return r===e||!ir(r)||di(r)?!1:nr(r).position==="fixed"||dh(r,e)}function Jv(t,e){let r=e.get(t);if(r)return r;let o=xs(t,[],!1).filter(l=>ir(l)&&ci(l)!=="body"),n=null,a=nr(t).position==="fixed",s=a?lo(t):t;for(;ir(s)&&!di(s);){let l=nr(s),d=Cs(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||Yi(s)&&!d&&dh(t,s))?o=o.filter(m=>m!==s):n=l,s=lo(s)}return e.set(t,o),o}function e5(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,s=[...r==="clippingAncestors"?ea(e)?[]:Jv(e,this._c):[].concat(r),o],l=ih(e,s[0],n),d=l.top,p=l.right,m=l.bottom,g=l.left;for(let b=1;b<s.length;b++){let E=ih(e,s[b],n);d=It(E.top,d),p=ai(E.right,p),m=ai(E.bottom,m),g=It(E.left,g)}return{width:p-g,height:m-d,x:g,y:d}}function t5(t){let{width:e,height:r}=ah(t);return{width:e,height:r}}function r5(t,e,r){let o=Dr(e),n=zr(e),a=r==="fixed",s=ra(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Cr(0);function p(){d.x=Ls(n)}if(o||!o&&!a)if((ci(e)!=="body"||Yi(n))&&(l=ta(e)),o){let E=ra(e,!0,a,e);d.x=E.x+e.clientLeft,d.y=E.y+e.clientTop}else n&&p();a&&!o&&n&&p();let m=n&&!o&&!a?ch(n,l):Cr(0),g=s.left+l.scrollLeft-d.x-m.x,b=s.top+l.scrollTop-d.y-m.y;return{x:g,y:b,width:s.width,height:s.height}}function bd(t){return nr(t).position==="static"}function nh(t,e){if(!Dr(t)||nr(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return zr(t)===r&&(r=r.ownerDocument.body),r}function uh(t,e){let r=$t(t);if(ea(t))return r;if(!Dr(t)){let n=lo(t);for(;n&&!di(n);){if(ir(n)&&!bd(n))return n;n=lo(n)}return r}let o=nh(t,e);for(;o&&J0(o)&&bd(o);)o=nh(o,e);return o&&di(o)&&bd(o)&&!Cs(o)?r:o||eh(t)||r}function i5(t){return nr(t).direction==="rtl"}var jv,oh,o5,Qi,ph,vd,fh,hh,xd,mh=u(()=>{Y0();vs();rh();jv=Cr(0);oh=25;o5=async function(t){let e=this.getOffsetParent||uh,r=this.getDimensions,o=await r(t.floating);return{reference:r5(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};Qi={convertOffsetParentRelativeRectToViewportRelativeRect:qv,getDocumentElement:zr,getClippingRect:e5,getOffsetParent:uh,getElementRects:o5,getClientRects:Zv,getDimensions:t5,getScale:Xi,isElement:ir,isRTL:i5},ph=K0,vd=j0,fh=q0,hh=Z0,xd=(t,e,r)=>{let o=new Map,n={platform:Qi,...r},a={...n.platform,_c:o};return W0(t,e,{...n,platform:a})}});function Cd(t){return n5(t)}function Sd(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function n5(t){for(let e=t;e;e=Sd(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Sd(t);e;e=Sd(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var gh=u(()=>{});var Ed={};oe(Ed,{computeOffsetAutoPosition:()=>oa,computeOffsetPosition:()=>Od});async function Od(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},xd(t,e,{strategy:o.strategy,platform:{...Qi,getOffsetParent:n=>Qi.getOffsetParent(n,Cd)},middleware:[fh({crossAxis:!0}),vd({allowedPlacements:[o.placement]})]})}async function oa(t,e,r,o,n,a,s){let l,d;return typeof r=="object"?(l=r.placement,o=r.allowedPlacements,n=r.strategy,a=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,xd(t,e,{placement:l,strategy:n,platform:{...Qi,getOffsetParent:p=>Qi.getOffsetParent(p,Cd)},middleware:[ph(s??4),vd({allowedPlacements:o}),hh({apply({availableHeight:p,availableWidth:m,elements:g}){typeof a=="string"&&(a=`var(${a})`),a?g.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${a})`:g.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof d=="string"&&(d=`var(${d})`),d?g.floating.style.maxWidth=`min(${Math.max(0,m)}px, ${d})`:g.floating.style.maxWidth=`${Math.max(0,m)}px`}})]})}var As=u(()=>{"use strict";mh();gh()});var Ld={};oe(Ld,{isSlotEmptyOrWithoutContent:()=>ia});var ia,Ad=u(()=>{"use strict";ia=t=>t?t.assignedNodes({flatten:!0}).filter(o=>{var n;return o.nodeType===Node.TEXT_NODE?((n=o.textContent)!==null&&n!==void 0?n:"").trim().length>0:!0}).length===0:!0});var Rd={};oe(Rd,{ScopedRegistryLitElement:()=>na});var na,Rs=u(()=>{"use strict";I();Ja();na=class extends br{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Hn(o,e.elementStyles),o}}});var _d={};oe(_d,{shadowQuerySelector:()=>wd,shadowQuerySelectorAll:()=>a5});function wd(t,e,...r){var o;let n=t.querySelector(e);for(let a of r)n=(o=n?.shadowRoot)===null||o===void 0?void 0:o.querySelector(a);return n}function a5(t,e,...r){let o=[...t.querySelectorAll(e)];for(let n of r)o=o.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return o}var ws=u(()=>{"use strict"});var kd={};oe(kd,{ExportpartsUpdatedEvent:()=>ui,FtLitElement:()=>W});var Ji,xh,yh,bh,Sh,vh,ui,W,aa=u(()=>{"use strict";J();ms();hs();Rs();ws();Ji=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},yh=Symbol("constructorPrototype"),bh=Symbol("constructorName"),Sh=Symbol("exportpartsDebouncer"),vh=Symbol("dynamicDependenciesLoaded"),ui=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};ui.eventName="exportparts-updated";W=class extends na{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[xh]=new me(5),this.scheduleExportpartsUpdate=()=>{var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[Sh].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[bh]=this.constructor.name,this[yh]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[bh]&&Object.setPrototypeOf(this,this[yh])}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(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[vh]||(r[vh]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(ui.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(ui.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 ui)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:n}=this.elementToFocus;if(o!=null){let a=[...n??[],o];r=wd(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,o,n;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var r,o,n,a,s,l;let d=b=>b!=null&&b.trim().length>0,p=e.filter(d).map(b=>b.trim());if(p.length===0){this.exportparts=void 0;return}let m=new Set;for(let b of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let E=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],L=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(z=>z.split(":")[1]))!==null&&l!==void 0?l:[],N=[...E,...L].filter(d).map(z=>z.trim());for(let z of N)m.add(z)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(b=>p.map(E=>`${b}:${E}--${b}`));this.exportparts=[...this.part,...g].join(", ")}};xh=Sh;Ji([h()],W.prototype,"exportpartsPrefix",void 0);Ji([Ee([])],W.prototype,"exportpartsPrefixes",void 0);Ji([h({reflect:!0})],W.prototype,"exportparts",void 0);Ji([h()],W.prototype,"customStylesheet",void 0);Ji([h()],W.prototype,"elementToFocus",void 0);Ji([U()],W.prototype,"useAdoptedStyleSheets",void 0)});var Td={};oe(Td,{FtdsBase:()=>pi,toFtdsBase:()=>ar});var Ch,ar,pi,Md=u(()=>{"use strict";aa();J();ge();Tt();Ch=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ar=je(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=dt.medium,this.family=it.neutral}getDesignSystemBaseClasses(){return{[id(this.family)]:!0,[nd(this.size)]:!0}}}return Ch([h()],e.prototype,"size",void 0),Ch([h()],e.prototype,"family",void 0),e}),pi=class extends ar(W){}});var Oh={};var Nd=u(()=>{"use strict"});var fi,Eh=u(()=>{fi=class t{constructor(e,r=!0,o=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=n}static matches(e,r){let o=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return o.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let n=r.filter(a=>a.contains(o)).length>0;r.indexOf(o)===-1&&!n&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{o()}n&&r(n)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,n=>{o++,this.waitForIframes(n.querySelector("html"),()=>{--o||r()})},n=>{n||r()})}forEachIframe(e,r,o,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,m=>{r(p)&&(l++,o(m)),d()},d)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let n=e.compareDocumentPosition(o),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===o&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,o)?(a===!1&&!s?n.push({val:o,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,n)})})}iterateThroughNodes(e,r,o,n,a){let s=this.createIterator(r,e,n),l=[],d=[],p,m,g=()=>({prevNode:m,node:p}=this.getIteratorNode(s),p);for(;g();)this.iframes&&this.forEachIframe(r,b=>this.checkIframeFilter(p,m,b,l),b=>{this.createInstanceOnIframe(b).forEachNode(e,E=>d.push(E),n)}),d.push(p);d.forEach(b=>{o(b)}),this.iframes&&this.handleOpenIframes(l,e,o,n),a()}forEachNode(e,r,o,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var sa,Lh=u(()=>{Eh();sa=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new fi(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${o}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,n)=>{let a=n.charAt(o+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=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"],n=[];return e.split("").forEach(a=>{o.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,n=typeof o=="string"?o:o.value,a=typeof o=="string"?[]:o.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,n)=>n.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,o);l&&(n.start=a,n.length=s-a,r.push(n),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,n,a=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),n=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-o>0?a=!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:o,end:n,valid:a}}checkWhitespaceRanges(e,r,o){let n,a=!0,s=o.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{o.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return fi.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(o-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,o,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(s.node))return!1;let p=r-s.start,m=(o>s.end?s.end:o)-s.start,g=e.value.substr(0,s.start),b=e.value.substr(m+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,m),e.value=g+b,e.nodes.forEach((E,L)=>{L>=l&&(e.nodes[L].start>0&&L!==l&&(e.nodes[L].start-=m),e.nodes[L].end-=m)}),o-=m,a(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!o(p[s],d))continue;let m=p.index;if(s!==0)for(let g=1;g<s;g++)m+=p[g].length;d=this.wrapRangeInTextNode(d,m,m+p[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let g=1;g<s;g++)p+=d[g].length;let m=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,m,g=>o(d[s],g),(g,b)=>{e.lastIndex=b,n(g)})}a()})}wrapRangeFromIndex(e,r,o,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:p,end:m,valid:g}=this.checkWhitespaceRanges(l,s,a.value);g&&this.wrapRangeInMappedTextNode(a,p,m,b=>r(b,l,a.value.substring(p,m),d),b=>{o(b,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,n="wrapMatches",a=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),a,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let m=new RegExp(this.createRegExp(p),`gm${l}`),g=0;this.log(`Searching with expression "${m}"`),this[n](m,1,(b,E)=>this.opt.filter(E,p,o,g),b=>{g++,o++,this.opt.each(b)},()=>{g===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(o):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(a[0])}markRanges(e,r){this.opt=r;let o=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{o++,this.opt.each(a,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let n=fi.matches(o,r),a=this.matchesExclude(o);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Pd(t){let e=new sa(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var Ah=u(()=>{Lh()});var $d={};oe($d,{highlightHtml:()=>Id,highlightHtmlColorCssVariable:()=>Rh,highlightHtmlStyles:()=>l5});function Id(t,e,r){var o,n;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new s5(t);if(s.unmark(),e&&e.trim()){let l={className:(o=r?.className)!==null&&o!==void 0?o:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=p=>{for(let m in r.attributes)p.setAttribute(m,r.attributes[m])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var s5,Rh,l5,zd=u(()=>{"use strict";I();ge();Ah();s5=Pd,Rh=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),l5=_`
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),O2=/'/g,E2=/"/g,R2=/^(?:script|style|textarea|title)$/i,cc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),S=cc(1),dc=cc(2),uc=cc(3),Ot=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),L2=new WeakMap,Jo=ei.createTreeWalker(ei,129);_2=(t,e)=>{let r=t.length-1,o=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=jn;for(let l=0;l<r;l++){let d=t[l],p,m,g=-1,b=0;for(;b<d.length&&(s.lastIndex=b,m=s.exec(d),m!==null);)b=s.lastIndex,s===jn?m[1]==="!--"?s=S2:m[1]!==void 0?s=C2:m[2]!==void 0?(R2.test(m[2])&&(n=RegExp("</"+m[2],"g")),s=Qo):m[3]!==void 0&&(s=Qo):s===Qo?m[0]===">"?(s=n??jn,g=-1):m[1]===void 0?g=-2:(g=s.lastIndex-m[2].length,p=m[1],s=m[3]===void 0?Qo:m[3]==='"'?E2:O2):s===E2||s===O2?s=Qo:s===S2||s===C2?s=jn:(s=Qo,n=void 0);let E=s===Qo&&t[l+1].startsWith("/>")?" ":"";a+=s===jn?d+V8:g>=0?(o.push(p),d.slice(0,g)+ac+d.slice(g)+io+E):d+io+(g===-2?l:E)}return[w2(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},Zn=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,m]=_2(e,r);if(this.el=t.createElement(p,o),Jo.currentNode=this.el.content,r===2||r===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(n=Jo.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let g of n.getAttributeNames())if(g.endsWith(ac)){let b=m[s++],E=n.getAttribute(g).split(io),L=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:L[2],strings:E,ctor:L[1]==="."?os:L[1]==="?"?is:L[1]==="@"?ns:ri}),n.removeAttribute(g)}else g.startsWith(io)&&(d.push({type:6,index:a}),n.removeAttribute(g));if(R2.test(n.tagName)){let g=n.textContent.split(io),b=g.length-1;if(b>0){n.textContent=ts?ts.emptyScript:"";for(let E=0;E<b;E++)n.append(g[E],Kn()),Jo.nextNode(),d.push({type:2,index:++a});n.append(g[b],Kn())}}}else if(n.nodeType===8)if(n.data===sc)d.push({type:2,index:a});else{let g=-1;for(;(g=n.data.indexOf(io,g+1))!==-1;)d.push({type:7,index:a}),g+=io.length-1}a++}}static createElement(e,r){let o=ei.createElement("template");return o.innerHTML=e,o}};rs=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,n=(e?.creationScope??ei).importNode(r,!0);Jo.currentNode=n;let a=Jo.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Ui(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new as(a,this,e)),this._$AV.push(p),d=o[++l]}s!==d?.index&&(a=Jo.nextNode(),s++)}return Jo.currentNode=ei,n}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Ui=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ti(this,e,r),qn(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==Ot&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):A2(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!==$&&qn(this._$AH)?this._$AA.nextSibling.data=e:this.T(ei.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Zn.createElement(w2(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new rs(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=L2.get(e.strings);return r===void 0&&L2.set(e.strings,r=new Zn(e)),r}k(e){lc(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let a of e)n===r.length?r.push(o=new t(this.O(Kn()),this.O(Kn()),this,this.options)):o=r[n],o._$AI(a),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ri=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,a){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=$}_$AI(e,r=this,o,n){let a=this.strings,s=!1;if(a===void 0)e=ti(this,e,r,0),s=!qn(e)||e!==this._$AH&&e!==Ot,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=ti(this,l[o+d],r,d),p===Ot&&(p=this._$AH[d]),s||=!qn(p)||p!==this._$AH[d],p===$?e=$:e!==$&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!n&&this.j(e)}j(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},os=class extends ri{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===$?void 0:e}},is=class extends ri{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},ns=class extends ri{constructor(e,r,o,n,a){super(e,r,o,n,a),this.type=5}_$AI(e,r=this){if((e=ti(this,e,r,0)??$)===Ot)return;let o=this._$AH,n=e===$&&o!==$||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==$&&(o===$||n);n&&this.element.removeEventListener(this.name,this,o),a&&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)}},as=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){ti(this,e)}},pc={M:ac,P:io,A:sc,C:1,L:_2,R:rs,D:A2,V:ti,I:Ui,H:ri,N:is,U:ns,B:os,F:as},W8=nc.litHtmlPolyfillSupport;W8?.(Zn,Ui),(nc.litHtmlVersions??=[]).push("3.3.0");fc=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let a=r?.renderBefore??null;o._$litPart$=n=new Ui(e.insertBefore(Kn(),a),a,void 0,r??{})}return n._$AI(t),n}});var hc,br,j8,K8,k2=u(()=>{Wn();Wn();yr();yr();hc=globalThis,br=class extends Tr{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=fc(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ot}};br._$litElement$=!0,br.finalized=!0,hc.litElementHydrateSupport?.({LitElement:br});j8=hc.litElementPolyfillSupport;j8?.({LitElement:br});K8={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(hc.litElementVersions??=[]).push("4.2.0")});var FL,T2=u(()=>{FL=!1});var mc={};oe(mc,{CSSResult:()=>Bi,LitElement:()=>br,ReactiveElement:()=>Tr,_$LE:()=>K8,_$LH:()=>pc,adoptStyles:()=>Hn,css:()=>_,defaultConverter:()=>Fi,getCompatibleStyle:()=>Qa,html:()=>S,isServer:()=>FL,mathml:()=>uc,noChange:()=>Ot,notEqual:()=>Vn,nothing:()=>$,render:()=>fc,supportsAdoptingStyleSheets:()=>Un,svg:()=>dc,unsafeCSS:()=>kr});var I=u(()=>{Wn();yr();k2();T2()});var q8,M2=u(()=>{q8=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function h(t){return(e,r)=>typeof r=="object"?N2(t,e,r):((o,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,o),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}var Z8,N2,gc=u(()=>{Wn();Z8={attribute:!0,type:String,converter:Fi,reflect:!1,hasChanged:Vn},N2=(t=Z8,e,r)=>{let{kind:o,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(o==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+o)}});function U(t){return h({...t,state:!0,attribute:!1})}var P2=u(()=>{gc();});function Y8(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var I2=u(()=>{});var vr,Hi=u(()=>{vr=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function G(t,e){return(r,o,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof o=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return vr(r,o,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return vr(r,o,{get(){return a(this)}})}}var $2=u(()=>{Hi();});function yc(t){return(e,r)=>vr(e,r,{get(){return(this.renderRoot??(X8??=document.createDocumentFragment())).querySelectorAll(t)}})}var X8,z2=u(()=>{Hi();});function Q8(t){return(e,r)=>vr(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var D2=u(()=>{Hi();});function bc(t){return(e,r)=>{let{slot:o,selector:n}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return vr(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var B2=u(()=>{Hi();});function vc(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return vr(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var F2=u(()=>{Hi();});var xc={};oe(xc,{customElement:()=>q8,eventOptions:()=>Y8,property:()=>h,query:()=>G,queryAll:()=>yc,queryAssignedElements:()=>bc,queryAssignedNodes:()=>vc,queryAsync:()=>Q8,standardProperty:()=>N2,state:()=>U});var J=u(()=>{M2();gc();P2();I2();$2();z2();D2();B2();F2()});var Mr,xr,tr,oi=u(()=>{Mr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},xr=t=>(...e)=>({_$litDirective$:t,values:e}),tr=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var J8,H2,U2,Gi,Oo,ev,G2,V2,ss,Sc=u(()=>{yr();({I:J8}=pc),H2=t=>t.strings===void 0,U2=()=>document.createComment(""),Gi=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore(U2(),n),s=o.insertBefore(U2(),n);r=new J8(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==n||l){let d=r._$AA;for(;d!==a;){let p=d.nextSibling;o.insertBefore(d,n),d=p}}}return r},Oo=(t,e,r=t)=>(t._$AI(e,r),t),ev={},G2=(t,e=ev)=>t._$AH=e,V2=t=>t._$AH,ss=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}}});var W2,De,j2=u(()=>{yr();oi();Sc();W2=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},De=xr(class extends tr{constructor(t){if(super(t),t.type!==Mr.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let n=[],a=[],s=0;for(let l of t)n[s]=o?o(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let n=V2(t),{values:a,keys:s}=this.dt(e,r,o);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],p,m,g=0,b=n.length-1,E=0,L=a.length-1;for(;g<=b&&E<=L;)if(n[g]===null)g++;else if(n[b]===null)b--;else if(l[g]===s[E])d[E]=Oo(n[g],a[E]),g++,E++;else if(l[b]===s[L])d[L]=Oo(n[b],a[L]),b--,L--;else if(l[g]===s[L])d[L]=Oo(n[g],a[L]),Gi(t,d[L+1],n[g]),g++,L--;else if(l[b]===s[E])d[E]=Oo(n[b],a[E]),Gi(t,n[g],n[b]),b--,E++;else if(p===void 0&&(p=W2(s,E,L),m=W2(l,g,b)),p.has(l[g]))if(p.has(l[b])){let N=m.get(s[E]),z=N!==void 0?n[N]:null;if(z===null){let B=Gi(t,n[g]);Oo(B,a[E]),d[E]=B}else d[E]=Oo(z,a[E]),Gi(t,n[g],z),n[N]=null;E++}else ss(n[b]),b--;else ss(n[g]),g++;for(;E<=L;){let N=Gi(t,d[L+1]);Oo(N,a[E]),d[E++]=N}for(;g<=b;){let N=n[g++];N!==null&&ss(N)}return this.ut=s,G2(t,d),Ot}})});var Cc={};oe(Cc,{repeat:()=>De});var Sr=u(()=>{j2()});var ce,K2=u(()=>{yr();oi();ce=xr(class extends tr{constructor(t){if(super(t),t.type!==Mr.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(o=>o!=="")));for(let o in e)e[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.st)o in e||(r.remove(o),this.st.delete(o));for(let o in e){let n=!!e[o];n===this.st.has(o)||this.nt?.has(o)||(n?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return Ot}})});var Oc={};oe(Oc,{classMap:()=>ce});var Ye=u(()=>{K2()});var q2,tv,rv,Z2=u(()=>{yr();oi();q2="important",tv=" !"+q2,rv=xr(class extends tr{constructor(t){if(super(t),t.type!==Mr.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let o of this.ft)e[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let n=e[o];if(n!=null){this.ft.add(o);let a=typeof n=="string"&&n.endsWith(tv);o.includes("-")||a?r.setProperty(o,a?n.slice(0,-11):n,a?q2:""):r[o]=n}}return Ot}})});var Ec={};oe(Ec,{styleMap:()=>rv});var Y2=u(()=>{Z2()});var Vi,no,X2=u(()=>{yr();oi();Vi=class extends tr{constructor(e){if(super(e),this.it=$,e.type!==Mr.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===$||e==null)return this._t=void 0,this.it=e;if(e===Ot)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Vi.directiveName="unsafeHTML",Vi.resultType=1;no=xr(Vi)});var Lc={};oe(Lc,{UnsafeHTMLDirective:()=>Vi,unsafeHTML:()=>no});var Wi=u(()=>{X2()});var Ac={};oe(Ac,{CancelablePromise:()=>ls,CanceledPromiseError:()=>Nr,cancelable:()=>ji});var Nr,ls,ji,cs=u(()=>{"use strict";Nr=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},ls=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new Nr("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new Nr("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ji=t=>new ls((e,r)=>t.then(e).catch(r))});var Tc={};oe(Tc,{applyMixinOnce:()=>je,dateReviver:()=>iv,deepCopy:()=>ii,deepEqual:()=>it,delay:()=>ds,eventPathContainsMatchingElement:()=>Rc,everyDeep:()=>ov,flatDeep:()=>Ht,forEachDeep:()=>Q2,getComposedPathTo:()=>_c,hasChanged:()=>Gt,last:()=>wc,minmax:()=>ao,parseDate:()=>e0,randomId:()=>kc,someDeep:()=>J2,unslotText:()=>Pr,waitFor:()=>Eo,waitUntil:()=>Yn});async function Yn(t,e=10,r=2e4){await Eo(async()=>await t()||void 0,e,r)}async function Eo(t,e=10,r=2e4){let o=await t(),n,a;for(n=a=performance.now();o==null&&(!r||a-n<r);)await ds(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function Ht(t,e){return t.flatMap(r=>[r,...Ht(e(r),e)])}function Q2(t,e,r){let o=(n,a)=>{var s;for(let l=0;l<n.length;l++){let d=n[l];if(!(((s=r(d,l,n,a))!==null&&s!==void 0?s:!0)&&o(e(d),[...a,d])))return!1}return!0};o(t,[])}function J2(t,e,r){let o=!1;return Q2(t,e,(n,a,s,l)=>(o=!!r(n,a,s,l),!o)),o}function ov(t,e,r){return!J2(t,e,(o,n,a,s)=>!r(o,n,a,s))}function iv(...t){return(e,r)=>t.includes(e)?e0(r):r}function e0(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,n)=>r+o+":"+n),new Date(t)}function nv(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,o,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!it(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!it(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[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 a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=r;o--!==0;){let s=n[o];if(!it(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function it(t,e){try{return nv(t,e)}catch{return!1}}function Gt(t,e){return!it(t,e)}function Rc(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let n of o){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function ao(t,e,r){return Math.min(Math.max(t,e),r)}function wc(t){return t[t.length-1]}function Pr(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Pr(e)).join(""):t?.textContent||""}function _c(t){let e=[],r=o=>{o.stopPropagation(),e=o.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function ii(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function kc(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function je(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let n=e(o);return n[t]=!0,n}}var ds,Tt=u(()=>{"use strict";ds=t=>new Promise(e=>setTimeout(e,t))});var Pc={};oe(Pc,{FtNotificationEvent:()=>Xn,PostResizeEvent:()=>Nc,PreResizeEvent:()=>Mc,WithEventBus:()=>so,withEventBus:()=>us});var Xn,Mc,Nc,us,so,Ki=u(()=>{"use strict";Tt();Xn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Mc=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Nc=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},us=je(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,o,n){this.eventBus.addEventListener(r,o,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,n){this.eventBus.removeEventListener(r,o,n)}}}),so=class extends us(Object){}});var Ic={};oe(Ic,{CacheRegistry:()=>Ir,ClearCacheEvent:()=>Qn});var Qn,Ir,$c=u(()=>{"use strict";cs();Ki();Qn=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Ir=class extends so{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:r,final:o,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let o=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Qn(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Qn([e])),e}forceClear(e){var r;let o=this.content[e];o&&(this.clearClearTimeout(e),(r=o.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(e){var r,o,n;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,r,o=!1){this.forceClear(e);let n=async()=>r,a="RESOLVED";this.content[e]={loader:n,final:o,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,o){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let n=this.content[e];switch(n.status){case"ERROR":throw n.error;case"LOADING":return n.promise;case"RESOLVED":return n.value;case"REGISTERED":return r=r??n.loader,n.status="LOADING",n.promise=ji(r()),n.promise.then(a=>(n.status="RESOLVED",n.value=a,o!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),o)),a)).catch(a=>{var s;throw!((s=n.promise)===null||s===void 0)&&s.isCanceled||(n.status="ERROR",n.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,o;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[e])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}}});var Dc={};oe(Dc,{accessBreadcrumb:()=>av,accessResult:()=>rr,accessResultId:()=>ps,accessResultUrl:()=>zc});function rr(t){var e,r,o,n;return(n=(o=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&o!==void 0?o:t?.htmlPackage)!==null&&n!==void 0?n:t?.htmlPackagePage}function ps(t){var e,r,o,n,a,s,l,d,p;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.documentId)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(p=t?.htmlPackagePage)===null||p===void 0?void 0:p.contentId}function zc(t){var e,r,o,n,a,s,l,d,p;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.readerUrl)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(p=t?.htmlPackagePage)===null||p===void 0?void 0:p.viewerUrl}function av(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]:[]}var fs=u(()=>{"use strict"});var Uc={};oe(Uc,{ClusteringHelper:()=>Fc,formatHierarchicalValues:()=>Bc});function Bc(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Fc,Hc=u(()=>{"use strict";fs();Fc=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static extractResultMetadata(e){let r=rr(e.result).metadata;return e.key==null?t.flattenMetadata(r,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(r.find(o=>o.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,o)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(Bc(l)),s.push(Bc(l,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>o?o(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,o="No value",n,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(g=>t.extractResultMetadata({result:g,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(g=>g??{key:e,label:p,value:void 0,displayValue:o}).filter(g=>g.value!=d?.value).filter((g,b,E)=>E.findIndex(L=>L.value===g.value)===b).map(g=>({result:this.findBestResultForMetadataValue(e,g.value),metadata:g})).sort((g,b)=>this.compareMetadata(g.metadata.value,b.metadata.value,e,r))}compareMetadata(e,r,o,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(o),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of o){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(n=>n.key===o.key&&n.value===o.value)).length}}});var Gc={};oe(Gc,{Debouncer:()=>me});var me,hs=u(()=>{"use strict";me=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Vc={};oe(Vc,{customElement:()=>H,dateProperty:()=>lv,isNumber:()=>t0,jsonProperty:()=>Ee,numberProperty:()=>or,optionalNumberProperty:()=>sv});function Ee(t,e){let r=()=>JSON.parse(JSON.stringify(t));return h({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:Gt,...e??{}})}function sv(t){return or(t)}function or(t){return h({type:Object,converter:{fromAttribute:e=>{var r,o;if(e==null)return;let n=(r=t?.min)!==null&&r!==void 0?r:-1/0,a=(o=t?.max)!==null&&o!==void 0?o:1/0;return t0(e)?ao(n,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function t0(t){return!isNaN(parseFloat(t))}function lv(t){return h({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var H,ms=u(()=>{"use strict";J();Tt();H=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function x(t,e){return Lo(`${t.name}: ${e}`)}var Lo,i,pe=u(()=>{I();Lo=t=>typeof t=="string"?kr(t):t,i=class{static create(e,r,o,n){let a=l=>Lo(l??n),s=_`var(${Lo(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>x(s,l??a(n)),s.get=l=>_`var(${Lo(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,o,n){let a=l=>o.get(l??n),s=_`var(${Lo(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>x(s,l??a(n)),s.get=l=>_`var(${Lo(e)}, ${a(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>n??o.lastResortDefaultValue(),s}static external(e,r){let o=a=>e.defaultCssValue(a),n=_`var(${Lo(e.name)}, ${o(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=o,n.set=a=>e.set(a),n.get=a=>_`var(${Lo(e.name)}, ${o(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,Wc,jc,Kc,qc,Zc,Yc,Xc,Qc,ni,r0,Jc,ed,td,Ao,rd,od,gs,cv,fe=u(()=>{pe();c={colorWhite:i.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:i.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:i.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:i.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:i.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:i.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:i.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:i.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:i.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:i.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:i.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:i.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:i.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:i.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:i.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:i.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:i.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:i.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:i.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:i.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:i.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:i.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:i.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:i.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:i.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:i.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:i.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:i.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:i.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:i.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:i.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:i.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:i.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:i.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:i.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:i.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:i.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:i.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:i.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:i.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:i.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:i.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:i.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:i.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:i.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:i.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:i.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:i.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:i.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:i.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:i.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:i.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:i.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:i.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:i.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:i.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:i.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:i.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:i.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:i.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:i.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:i.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:i.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:i.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:i.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:i.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:i.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:i.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:i.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:i.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:i.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:i.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:i.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:i.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:i.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:i.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:i.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:i.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:i.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:i.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:i.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:i.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:i.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:i.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:i.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:i.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:i.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:i.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:i.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:i.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:i.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:i.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:i.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:i.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:i.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:i.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:i.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:i.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:i.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:i.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:i.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:i.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:i.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:i.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:i.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:i.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:i.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:i.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:i.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:i.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:i.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:i.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:i.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:i.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:i.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:i.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:i.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:i.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:i.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:i.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:i.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:i.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:i.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:i.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:i.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:i.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:i.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:i.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:i.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:i.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:i.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:i.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:i.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:i.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:i.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:i.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:i.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:i.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:i.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:i.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:i.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:i.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:i.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:i.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:i.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:i.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:i.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:i.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:i.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:i.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:i.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:i.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:i.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:i.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:i.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:i.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:i.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:i.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:i.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:i.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:i.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:i.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:i.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:i.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:i.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:i.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:i.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:i.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:i.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:i.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:i.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:i.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:i.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:i.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:i.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:i.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:i.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:i.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:i.create("--ftds-opacity-0","","NUMBER","0"),opacity8:i.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:i.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:i.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:i.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:i.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:i.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:i.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:i.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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)")},Wc={fontFamily:i.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:i.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-display-text-case","","UNKNOWN","none")},jc={fontFamily:i.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:i.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Kc={fontFamily:i.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:i.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},qc={fontFamily:i.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:i.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:i.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Zc={fontFamily:i.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Yc={fontFamily:i.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Xc={fontFamily:i.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Qc={fontFamily:i.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},ni={fontFamily:i.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},r0={fontFamily:i.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:i.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:i.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Jc={fontFamily:i.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},ed={fontFamily:i.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},td={fontFamily:i.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Ao={fontFamily:i.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},rd={fontFamily:i.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},od={fontFamily:i.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:i.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},gs={display:Wc,"title-1":jc,"title-2":Kc,"title-3":qc,"body-1-regular":Zc,"body-1-medium":Yc,"body-1-semibold":Xc,"body-2-regular":Qc,"body-2-medium":ni,"body-2-medium-underline":r0,"body-2-semibold":Jc,"caption-1-medium":ed,"caption-1-semibold":td,"caption-2-medium":Ao,"caption-2-semibold":rd,"caption-2-bold":od},cv=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"]});var f,Ce=u(()=>{pe();fe();f={backgroundActionPrimary:i.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:i.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:i.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:i.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:i.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:i.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:i.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:i.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:i.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:i.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:i.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:i.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:i.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:i.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:i.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:i.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:i.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:i.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:i.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:i.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:i.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:i.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:i.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:i.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:i.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:i.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:i.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:i.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:i.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:i.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:i.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:i.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:i.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:i.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:i.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var O,o0=u(()=>{pe();fe();Ce();O={largeHeight:i.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:i.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:i.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:i.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:i.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:i.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:i.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:i.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:i.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:i.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:i.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:i.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:i.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:i.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:i.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:i.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:i.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:i.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:i.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:i.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:i.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:i.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:i.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:i.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:i.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:i.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:i.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:i.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:i.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:i.extend("--ftds-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:i.extend("--ftds-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:i.extend("--ftds-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:i.extend("--ftds-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:i.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:i.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:i.extend("--ftds-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:i.extend("--ftds-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:i.extend("--ftds-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:i.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:i.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:i.extend("--ftds-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:i.extend("--ftds-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:i.extend("--ftds-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:i.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:i.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:i.extend("--ftds-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:i.extend("--ftds-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:i.extend("--ftds-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:i.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:i.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:i.extend("--ftds-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:i.extend("--ftds-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:i.extend("--ftds-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:i.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:i.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:i.extend("--ftds-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:i.extend("--ftds-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:i.extend("--ftds-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:i.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:i.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:i.extend("--ftds-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:i.extend("--ftds-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:i.extend("--ftds-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:i.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:i.extend("--ftds-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:i.extend("--ftds-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:i.extend("--ftds-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:i.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:i.extend("--ftds-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:i.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:i.extend("--ftds-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:i.extend("--ftds-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:i.extend("--ftds-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:i.extend("--ftds-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:i.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:i.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:i.extend("--ftds-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:i.extend("--ftds-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:i.extend("--ftds-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:i.extend("--ftds-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:i.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:i.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:i.extend("--ftds-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:i.extend("--ftds-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:i.extend("--ftds-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:i.extend("--ftds-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:i.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:i.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:i.extend("--ftds-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:i.extend("--ftds-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:i.extend("--ftds-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:i.extend("--ftds-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:i.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:i.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:i.extend("--ftds-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:i.extend("--ftds-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:i.extend("--ftds-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:i.extend("--ftds-button-secondary-error-state-layer-color","",f.contentErrorPrimary)}});var dv,i0=u(()=>{pe();fe();Ce();dv={loadMoreIconSize:i.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:i.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-unselected-default-border-color","",f.borderGlobalSubtle),loadMoreIconColor:i.extend("--ftds-tree-list-load-more-icon-color","",f.contentActionPrimary),loadMoreLabelColor:i.extend("--ftds-tree-list-load-more-label-color","",f.contentActionPrimary),loadMoreHoverBorderColor:i.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:i.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:i.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:i.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:i.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:i.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",f.borderGlobalPrimary),loadMoreLabelMarginLeft:i.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:i.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:i.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:i.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:i.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:i.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:i.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:i.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-node-unselected-default-border-color","",f.borderGlobalSubtle),nodeUnselectedIconColor:i.extend("--ftds-tree-list-node-unselected-icon-color","",f.contentGlobalSecondary),nodeUnselectedLabelColor:i.extend("--ftds-tree-list-node-unselected-label-color","",f.contentGlobalSecondary),nodeUnselectedCounterColor:i.extend("--ftds-tree-list-node-unselected-counter-color","",f.contentGlobalSecondary),nodeHoverBorderColor:i.extend("--ftds-tree-list-node-hover-border-color","",f.borderActionPrimary),nodeFocusFocusRingColor:i.extend("--ftds-tree-list-node-focus-focus-ring-color","",f.borderActionFocusRing),nodeFocusOutlineWidth:i.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-selected-default-border-color","",f.borderGlobalPrimary),nodeSelectedIconColor:i.extend("--ftds-tree-list-node-selected-icon-color","",f.contentGlobalSecondary),nodeSelectedLabelColor:i.extend("--ftds-tree-list-node-selected-label-color","",f.contentGlobalPrimary),nodeSelectedCounterColor:i.extend("--ftds-tree-list-node-selected-counter-color","",f.contentGlobalSecondary),nodeSelectedBackgroundColor:i.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",f.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:i.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:i.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:i.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:i.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:i.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:i.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:i.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:i.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:i.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:i.extend("--ftds-tree-list-header-section-color","",f.contentGlobalPrimary),headerSectionCounterColor:i.extend("--ftds-tree-list-header-section-counter-color","",f.contentGlobalSecondary),listContainerBorderWidth:i.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:i.extend("--ftds-tree-list-list-container-background-color","",f.backgroundGlobalSurface),listContainerBorderColor:i.extend("--ftds-tree-list-list-container-border-color","",f.borderGlobalSubtle),emptyStateIllustrationWidth:i.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:i.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:i.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:i.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:i.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:i.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:i.extend("--ftds-tree-list-empty-state-title-label-color","",f.contentGlobalSecondary),emptyStateDescriptionLabelColor:i.extend("--ftds-tree-list-empty-state-description-label-color","",f.contentGlobalSecondary)}});var Q,n0=u(()=>{pe();fe();Ce();Q={iconSize:i.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:i.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:i.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:i.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:i.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:i.extend("--ftds-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ftds-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:i.extend("--ftds-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:i.extend("--ftds-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:i.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:i.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:i.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:i.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:i.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:i.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:i.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:i.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:i.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:i.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:i.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:i.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:i.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:i.extend("--ftds-checkbox-error-unchecked-border-color","",f.borderErrorPrimary),errorStateLayerColor:i.extend("--ftds-checkbox-error-state-layer-color","",f.contentErrorPrimary),errorHelperTextColor:i.extend("--ftds-checkbox-error-helper-text-color","",f.borderErrorPrimary),errorCheckedBackgroundColor:i.extend("--ftds-checkbox-error-checked-background-color","",f.contentErrorPrimary),helperTextColor:i.extend("--ftds-checkbox-helper-text-color","",f.contentGlobalSubtle),groupVerticalGap:i.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)}});var ve,a0=u(()=>{pe();fe();Ce();ve={circleSize:i.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:i.create("--ftds-radio-border-width","","SIZE","2px"),color:i.extend("--ftds-radio-color","",f.contentGlobalPrimary),selectedRadioColor:i.extend("--ftds-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:i.extend("--ftds-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:i.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:i.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:i.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:i.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:i.extend("--ftds-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:i.extend("--ftds-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:i.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:i.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:i.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:i.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:i.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:i.extend("--ftds-radio-horizontal-gap","",c.spacing3)}});var uv,s0=u(()=>{pe();fe();Ce();uv={headerRowBorderWidth:i.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:i.extend("--ftds-table-header-row-background-color","",f.backgroundGlobalOnSurfaceDark),headerRowBorderColor:i.extend("--ftds-table-header-row-border-color","",f.borderGlobalPrimary),headerRowColor:i.extend("--ftds-table-header-row-color","",f.contentGlobalPrimary),dataRowBorderWidth:i.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:i.extend("--ftds-table-data-row-background-color","",f.backgroundGlobalOnSurface),dataRowBorderColor:i.extend("--ftds-table-data-row-border-color","",f.borderGlobalSubtle),dataRowColor:i.extend("--ftds-table-data-row-color","",f.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:i.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:i.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:i.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:i.extend("--ftds-table-data-row-selectable-selected-color","",f.contentActionPrimary),dataRowClickableHoverBackgroundColor:i.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:i.extend("--ftds-table-data-row-clickable-focus-border-color","",f.borderActionFocusRing),dataRowClickableFocusBackgroundColor:i.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:i.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:i.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:i.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:i.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:i.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:i.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:i.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)}});var pv,l0=u(()=>{pe();fe();Ce();pv={neutralOffHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:i.extend("--ftds-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:i.extend("--ftds-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:i.extend("--ftds-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:i.extend("--ftds-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:i.extend("--ftds-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:i.extend("--ftds-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:i.extend("--ftds-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:i.extend("--ftds-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:i.extend("--ftds-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:i.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:i.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:i.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:i.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:i.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)}});var re,c0=u(()=>{pe();fe();Ce();re={largeMinHeight:i.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:i.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:i.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:i.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:i.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:i.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:i.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:i.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:i.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:i.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:i.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:i.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:i.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:i.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:i.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:i.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:i.extend("--ftds-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:i.extend("--ftds-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:i.extend("--ftds-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:i.extend("--ftds-chip-neutral-border-color","",f.borderGlobalSecondary),infoBackgroundColor:i.extend("--ftds-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:i.extend("--ftds-chip-info-color","",f.contentInfoPrimary),infoIconColor:i.extend("--ftds-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:i.extend("--ftds-chip-success-color","",f.contentSuccessPrimary),successIconColor:i.extend("--ftds-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:i.extend("--ftds-chip-warning-color","",f.contentWarningPrimary),warningIconColor:i.extend("--ftds-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:i.extend("--ftds-chip-error-color","",f.contentErrorPrimary),errorIconColor:i.extend("--ftds-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-chip-error-border-color","",f.borderErrorSubtle)}});var Xe,d0=u(()=>{pe();fe();Ce();Xe={brandHoverOpacity:i.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:i.extend("--ftds-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:i.extend("--ftds-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:i.extend("--ftds-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:i.extend("--ftds-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:i.extend("--ftds-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:i.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:i.extend("--ftds-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:i.extend("--ftds-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:i.extend("--ftds-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:i.extend("--ftds-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:i.extend("--ftds-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:i.extend("--ftds-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:i.extend("--ftds-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:i.extend("--ftds-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:i.extend("--ftds-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:i.extend("--ftds-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:i.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)}});var fv,u0=u(()=>{pe();fe();Ce();fv={iconSize:i.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:i.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:i.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:i.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:i.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:i.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:i.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:i.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:i.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:i.extend("--ftds-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:i.extend("--ftds-banner-info-color","",f.contentInfoPrimary),infoIconColor:i.extend("--ftds-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-banner-info-border-color","",f.borderInfoSubtle)}});var hv,p0=u(()=>{pe();fe();Ce();hv={horizontalPadding:i.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:i.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:i.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:i.extend("--ftds-badge-color","",f.contentGlobalOnColor),backgroundColor:i.extend("--ftds-badge-background-color","",f.contentActionPrimary)}});var mv,f0=u(()=>{pe();fe();Ce();mv={horizontalGap:i.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:i.extend("--ftds-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:i.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:i.extend("--ftds-title-breadcrumb-icon-color","",f.contentGlobalSubtle)}});var gv,h0=u(()=>{pe();fe();Ce();gv={parentHorizontalPadding:i.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:i.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:i.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:i.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:i.extend("--ftds-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:i.extend("--ftds-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:i.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:i.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:i.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:i.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:i.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:i.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:i.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:i.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:i.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:i.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:i.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:i.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:i.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:i.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:i.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:i.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:i.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:i.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:i.extend("--ftds-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:i.create("--ftds-page-header-bottom-border-width","","SIZE","1px")}});var yv,m0=u(()=>{pe();fe();Ce();yv={horizontalPadding:i.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:i.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:i.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:i.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:i.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:i.extend("--ftds-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:i.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:i.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)}});var bv,g0=u(()=>{pe();fe();bv={contentHorizontalPadding:i.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:i.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)}});var vv,y0=u(()=>{pe();fe();Ce();vv={smallContainerTargetWidth:i.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:i.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:i.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:i.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:i.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:i.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:i.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:i.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:i.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:i.extend("--ftds-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:i.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:i.extend("--ftds-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-modal-header-border-color","",f.borderGlobalSubtle),headerColor:i.extend("--ftds-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:i.extend("--ftds-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:i.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:i.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:i.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:i.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:i.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:i.extend("--ftds-modal-border-radius","",c.borderRadiusM)}});var xv,b0=u(()=>{pe();fe();Ce();xv={overlayOpacity:i.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:i.extend("--ftds-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:i.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:i.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:i.extend("--ftds-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:i.extend("--ftds-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ftds-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:i.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:i.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:i.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:i.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:i.extend("--ftds-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ftds-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:i.extend("--ftds-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:i.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:i.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:i.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:i.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:i.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:i.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:i.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:i.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:i.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)}});var Sv,v0=u(()=>{pe();fe();Ce();Sv={offBorderBottomWidth:i.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:i.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:i.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:i.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:i.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:i.extend("--ftds-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:i.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:i.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:i.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:i.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:i.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:i.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:i.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:i.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:i.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:i.extend("--ftds-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:i.extend("--ftds-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ftds-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:i.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:i.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:i.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:i.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:i.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-tabs-focus-focus-ring-color","",f.borderActionFocusRing)}});var Cv,x0=u(()=>{pe();fe();Ce();Cv={largeFieldHorizontalPadding:i.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:i.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:i.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:i.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:i.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:i.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:i.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:i.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:i.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:i.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:i.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:i.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:i.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:i.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:i.extend("--ftds-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderColor:i.extend("--ftds-text-input-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-text-input-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-text-input-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:i.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)}});var Ov,S0=u(()=>{pe();fe();Ce();Ov={backgroundColor:i.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:i.extend("--ftds-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:i.extend("--ftds-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:i.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:i.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:i.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:i.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:i.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:i.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:i.extend("--ftds-text-area-border-radius","",c.borderRadiusS)}});var Ev,C0=u(()=>{pe();fe();Ce();Ev={height:i.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:i.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:i.extend("--ftds-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:i.extend("--ftds-floating-menu-off-color","",f.contentGlobalPrimary),onColor:i.extend("--ftds-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:i.extend("--ftds-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:i.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:i.extend("--ftds-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:i.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:i.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:i.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:i.extend("--ftds-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:i.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)}});var Lv,O0=u(()=>{pe();fe();Ce();Lv={largeFieldHorizontalPadding:i.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:i.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:i.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:i.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:i.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:i.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:i.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:i.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:i.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:i.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:i.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:i.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:i.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:i.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:i.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:i.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:i.extend("--ftds-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:i.extend("--ftds-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:i.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:i.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var Av,E0=u(()=>{pe();fe();Ce();Av={backgroundColor:i.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:i.extend("--ftds-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:i.extend("--ftds-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:i.extend("--ftds-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:i.extend("--ftds-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:i.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:i.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:i.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:i.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:i.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:i.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:i.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:i.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:i.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:i.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:i.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:i.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)}});var Qe,L0=u(()=>{pe();fe();Ce();Qe={backgroundColor:i.extend("--ftds-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:i.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:i.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:i.extend("--ftds-popover-title-color","",f.contentGlobalPrimary),bodyColor:i.extend("--ftds-popover-body-color","",f.contentGlobalSecondary),gap:i.extend("--ftds-popover-gap","",c.spacing2),borderRadius:i.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:i.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:i.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:i.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)}});var Rv,A0=u(()=>{pe();fe();Ce();Rv={hoverStateLayerOpacity:i.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:i.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:i.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:i.extend("--ftds-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:i.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:i.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:i.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:i.extend("--ftds-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:i.extend("--ftds-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:i.extend("--ftds-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:i.extend("--ftds-collapsible-border-color","",f.borderGlobalSubtle),iconSize:i.extend("--ftds-collapsible-icon-size","",c.iconSize3)}});var wv,R0=u(()=>{pe();fe();Ce();wv={groupHorizontalPadding:i.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:i.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:i.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:i.extend("--ftds-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:i.extend("--ftds-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:i.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:i.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:i.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:i.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:i.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:i.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:i.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:i.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:i.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:i.extend("--ftds-switch-on-color","",f.contentActionPrimary),onStateLayerColor:i.extend("--ftds-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:i.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:i.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:i.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:i.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)}});var _v,w0=u(()=>{pe();fe();_v={color1Light:i.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:i.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:i.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:i.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:i.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:i.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:i.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:i.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:i.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:i.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:i.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:i.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:i.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:i.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:i.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:i.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:i.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:i.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:i.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:i.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:i.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:i.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:i.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:i.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:i.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:i.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:i.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:i.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:i.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var kv,_0=u(()=>{pe();fe();kv={color1IconColor:i.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:i.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:i.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:i.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:i.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:i.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:i.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:i.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:i.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:i.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:i.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:i.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:i.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:i.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:i.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:i.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var Tv,k0=u(()=>{pe();fe();Ce();Tv={borderWidth:i.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:i.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:i.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:i.extend("--ftds-notice-gap","",c.spacing2),iconSize:i.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:i.extend("--ftds-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:i.extend("--ftds-notice-info-border-color","",f.borderInfoSubtle),infoColor:i.extend("--ftds-notice-info-color","",f.contentInfoPrimary),infoIconColor:i.extend("--ftds-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:i.extend("--ftds-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:i.extend("--ftds-notice-warning-border-color","",f.borderWarningSubtle),warningColor:i.extend("--ftds-notice-warning-color","",f.contentWarningPrimary),warningIconColor:i.extend("--ftds-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:i.extend("--ftds-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:i.extend("--ftds-notice-error-border-color","",f.borderErrorSubtle),errorColor:i.extend("--ftds-notice-error-color","",f.contentErrorPrimary),errorIconColor:i.extend("--ftds-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:i.extend("--ftds-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:i.extend("--ftds-notice-success-border-color","",f.borderSuccessSubtle),successColor:i.extend("--ftds-notice-success-color","",f.contentSuccessPrimary),successIconColor:i.extend("--ftds-notice-success-icon-color","",f.contentSuccessIconOnly),denseHorizontalPadding:i.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:i.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:i.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:i.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:i.create("--ftds-notice-dense-border-width","","SIZE","0")}});var Mv,T0=u(()=>{pe();fe();Ce();Mv={offHoverStateLayerOpacity:i.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:i.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:i.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:i.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:i.extend("--ftds-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:i.extend("--ftds-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:i.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:i.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:i.extend("--ftds-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:i.extend("--ftds-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:i.extend("--ftds-toggle-on-icon-color","",f.contentActionPrimary),color:i.extend("--ftds-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:i.extend("--ftds-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:i.extend("--ftds-toggle-gap","",c.spacing3)}});var Nv,M0=u(()=>{pe();fe();Ce();Nv={iconSize:i.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:i.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:i.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:i.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:i.extend("--ftds-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:i.extend("--ftds-notification-info-color","",f.contentInfoPrimary),infoIconColor:i.extend("--ftds-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:i.extend("--ftds-notification-success-color","",f.contentSuccessPrimary),successIconColor:i.extend("--ftds-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:i.extend("--ftds-notification-warning-color","",f.contentWarningPrimary),warningIconColor:i.extend("--ftds-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:i.extend("--ftds-notification-error-color","",f.contentErrorPrimary),errorIconColor:i.extend("--ftds-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-notification-error-border-color","",f.borderErrorSubtle),borderRadius:i.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:i.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:i.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:i.extend("--ftds-notification-trailing-gap","",c.spacing8)}});var Pv,N0=u(()=>{pe();fe();Ce();Pv={horizontalPadding:i.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:i.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:i.extend("--ftds-tooltip-color","",f.contentGlobalOnColor),backgroundColor:i.extend("--ftds-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:i.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:i.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:i.extend("--ftds-tooltip-gap","",c.spacing05)}});var Iv,P0=u(()=>{pe();fe();Ce();Iv={verticalPadding:i.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:i.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:i.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:i.extend("--ftds-reorderable-list-reorderable-item-title-color","",f.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:i.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",f.contentGlobalPrimary),reorderableItemUsersCountMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:i.extend("--ftds-reorderable-list-reorderable-item-background-color","",f.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",f.contentWarningPrimary),reorderableItemWarningMessageIconColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",f.contentWarningIconOnly),reorderableItemGripColor:i.extend("--ftds-reorderable-list-reorderable-item-grip-color","",f.contentGlobalSecondary),reorderableItemGripOpacity:i.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:i.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:i.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:i.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:i.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:i.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:i.extend("--ftds-reorderable-list-border-color","",f.borderGlobalPrimary),backgroundColor:i.extend("--ftds-reorderable-list-background-color","",f.backgroundGlobalOnSurfaceDark)}});var $v,I0=u(()=>{pe();fe();$v={menuHorizontalPadding:i.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:i.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:i.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:i.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)}});var $0=u(()=>{fe();Ce();o0();i0();n0();a0();s0();l0();c0();d0();u0();p0();f0();h0();m0();g0();y0();b0();v0();x0();S0();C0();O0();E0();L0();A0();R0();w0();_0();k0();T0();M0();N0();P0();I0()});function id(t){return`ftds--family-${t}`}function nd(t){return`ftds--size-${t}`}var nt,dt,z0=u(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(nt||(nt={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(dt||(dt={}))});var ge=u(()=>{pe();$0();z0()});var ad={};oe(ad,{DesignSystemFamily:()=>nt,DesignSystemSize:()=>dt,FtCssVariableFactory:()=>i,badge:()=>hv,banner:()=>fv,button:()=>O,chart:()=>_v,checkbox:()=>Q,chip:()=>re,chipChoice:()=>pv,collapsible:()=>Rv,comboboxMultiSelect:()=>Av,comboboxSingleSelect:()=>Lv,dateRangePicker:()=>$v,drawer:()=>xv,floatingMenu:()=>Ev,foundation:()=>c,link:()=>Xe,modal:()=>vv,notice:()=>Tv,notification:()=>Nv,pageDesigner:()=>kv,pageFooter:()=>yv,pageHeader:()=>gv,pageLayout:()=>bv,popover:()=>Qe,radio:()=>ve,reorderableList:()=>Iv,resolveFamilyClass:()=>id,resolveSizeClass:()=>nd,semantic:()=>f,setVariable:()=>x,switch_:()=>wv,table:()=>uv,tabs:()=>Sv,textArea:()=>Ov,textInput:()=>Cv,titleBreadcrumb:()=>mv,toggle:()=>Mv,tooltip:()=>Pv,treeList:()=>dv,typographies:()=>gs,typographyBody1Medium:()=>Yc,typographyBody1Regular:()=>Zc,typographyBody1Semibold:()=>Xc,typographyBody2Medium:()=>ni,typographyBody2MediumUnderline:()=>r0,typographyBody2Regular:()=>Qc,typographyBody2Semibold:()=>Jc,typographyCaption1Medium:()=>ed,typographyCaption1Semibold:()=>td,typographyCaption2Bold:()=>od,typographyCaption2Medium:()=>Ao,typographyCaption2Semibold:()=>rd,typographyDisplay:()=>Wc,typographyTitle1:()=>jc,typographyTitle2:()=>Kc,typographyTitle3:()=>qc,typographyVariants:()=>cv});var ys=u(()=>{"use strict";ge()});var sd={};oe(sd,{designSystemVariables:()=>R});var R,ld=u(()=>{"use strict";ys();R={colorPrimary:i.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:i.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:i.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:i.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:i.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:i.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:i.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:i.create("--ft-color-warning","","COLOR","#B74706"),colorError:i.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:i.create("--ft-color-success","","COLOR","#187856"),colorOutline:i.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:i.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:i.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:i.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:i.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:i.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:i.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:i.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:i.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:i.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:i.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:i.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:i.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:i.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:i.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:i.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:i.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:i.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:i.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:i.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:i.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:i.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:i.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:i.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:i.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:i.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:i.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:i.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:i.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:i.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:i.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:i.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:i.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:i.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:i.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:i.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:i.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:i.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:i.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:i.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:i.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:i.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var cd={};oe(cd,{DynamicImporter:()=>bs,dynamicImporter:()=>zv});var bs,zv,dd=u(()=>{"use strict";bs=class{async import(e){if(e)return import(e)}},zv=new bs});function fd(t,e,r){return It(t,ai(e,r))}function qi(t,e){return typeof t=="function"?t(e):t}function Ro(t){return t.split("-")[0]}function $r(t){return t.split("-")[1]}function hd(t){return t==="x"?"y":"x"}function md(t){return t==="y"?"height":"width"}function Zi(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function gd(t){return hd(Zi(t))}function F0(t,e,r){r===void 0&&(r=!1);let o=$r(t),n=gd(t),a=md(n),s=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ud(s)),[s,ud(s)]}function U0(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function ud(t){let e=Ro(t);return Dv[e]+t.slice(e.length)}function Bv(t){return{top:0,right:0,bottom:0,left:0,...t}}function H0(t){return typeof t!="number"?Bv(t):{top:t,right:t,bottom:t,left:t}}function si(t){let{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}var B0,D0,pd,ai,It,Jn,Cr,Dv,vs=u(()=>{B0=["top","right","bottom","left"],D0=["start","end"],pd=B0.reduce((t,e)=>t.concat(e,e+"-"+D0[0],e+"-"+D0[1]),[]),ai=Math.min,It=Math.max,Jn=Math.round,Cr=t=>({x:t,y:t}),Dv={left:"right",right:"left",bottom:"top",top:"bottom"}});function G0(t,e,r){let{reference:o,floating:n}=t,a=Zi(e),s=gd(e),l=md(s),d=Ro(e),p=a==="y",m=o.x+o.width/2-n.width/2,g=o.y+o.height/2-n.height/2,b=o[l]/2-n[l]/2,E;switch(d){case"top":E={x:m,y:o.y-n.height};break;case"bottom":E={x:m,y:o.y+o.height};break;case"right":E={x:o.x+o.width,y:g};break;case"left":E={x:o.x-n.width,y:g};break;default:E={x:o.x,y:o.y}}switch($r(e)){case"start":E[s]-=b*(r&&p?-1:1);break;case"end":E[s]+=b*(r&&p?-1:1);break}return E}async function V0(t,e){var r;e===void 0&&(e={});let{x:o,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:b=!1,padding:E=0}=qi(e,t),L=H0(E),z=l[b?g==="floating"?"reference":"floating":g],B=si(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(z)))==null||r?z:z.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:m,strategy:d})),F=g==="floating"?{x:o,y:n,width:s.floating.width,height:s.floating.height}:s.reference,k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),A=await(a.isElement==null?void 0:a.isElement(k))?await(a.getScale==null?void 0:a.getScale(k))||{x:1,y:1}:{x:1,y:1},P=si(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:F,offsetParent:k,strategy:d}):F);return{top:(B.top-P.top+L.top)/A.y,bottom:(P.bottom-B.bottom+L.bottom)/A.y,left:(B.left-P.left+L.left)/A.x,right:(P.right-B.right+L.right)/A.x}}function Uv(t,e,r){return(t?[...r.filter(n=>$r(n)===t),...r.filter(n=>$r(n)!==t)]:r.filter(n=>Ro(n)===n)).filter(n=>t?$r(n)===t||(e?U0(n)!==n:!1):!0)}async function Gv(t,e){let{placement:r,platform:o,elements:n}=t,a=await(o.isRTL==null?void 0:o.isRTL(n.floating)),s=Ro(r),l=$r(r),d=Zi(r)==="y",p=Hv.has(s)?-1:1,m=a&&d?-1:1,g=qi(e,t),{mainAxis:b,crossAxis:E,alignmentAxis:L}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return l&&typeof L=="number"&&(E=l==="end"?L*-1:L),d?{x:E*m,y:b*p}:{x:b*p,y:E*m}}var Fv,W0,j0,Hv,K0,q0,Z0,Y0=u(()=>{vs();vs();Fv=50,W0=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:V0},d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:m,y:g}=G0(p,o,d),b=o,E=0,L={};for(let N=0;N<a.length;N++){let z=a[N];if(!z)continue;let{name:B,fn:F}=z,{x:k,y:A,data:P,reset:K}=await F({x:m,y:g,initialPlacement:o,placement:b,strategy:n,middlewareData:L,rects:p,platform:l,elements:{reference:t,floating:e}});m=k??m,g=A??g,L[B]={...L[B],...P},K&&E<Fv&&(E++,typeof K=="object"&&(K.placement&&(b=K.placement),K.rects&&(p=K.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):K.rects),{x:m,y:g}=G0(p,b,d)),N=-1)}return{x:m,y:g,placement:b,strategy:n,middlewareData:L}};j0=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:m=!1,alignment:g,allowedPlacements:b=pd,autoAlignment:E=!0,...L}=qi(t,e),N=g!==void 0||b===pd?Uv(g||null,E,b):b,z=await d.detectOverflow(e,L),B=((r=s.autoPlacement)==null?void 0:r.index)||0,F=N[B];if(F==null)return{};let k=F0(F,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==F)return{reset:{placement:N[0]}};let A=[z[Ro(F)],z[k[0]],z[k[1]]],P=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:F,overflows:A}],K=N[B+1];if(K)return{data:{index:B+1,overflows:P},reset:{placement:K}};let te=P.map(X=>{let C=$r(X.placement);return[X.placement,C&&m?X.overflows.slice(0,2).reduce((M,Z)=>M+Z,0):X.overflows[0],X.overflows]}).sort((X,C)=>X[1]-C[1]),he=((n=te.filter(X=>X[2].slice(0,$r(X[0])?2:3).every(C=>C<=0))[0])==null?void 0:n[0])||te[0][0];return he!==l?{data:{index:B+1,overflows:P},reset:{placement:he}}:{}}}},Hv=new Set(["left","top"]);K0=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Gv(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},q0=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:n,platform:a}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:B=>{let{x:F,y:k}=B;return{x:F,y:k}}},...p}=qi(t,e),m={x:r,y:o},g=await a.detectOverflow(e,p),b=Zi(Ro(n)),E=hd(b),L=m[E],N=m[b];if(s){let B=E==="y"?"top":"left",F=E==="y"?"bottom":"right",k=L+g[B],A=L-g[F];L=fd(k,L,A)}if(l){let B=b==="y"?"top":"left",F=b==="y"?"bottom":"right",k=N+g[B],A=N-g[F];N=fd(k,N,A)}let z=d.fn({...e,[E]:L,[b]:N});return{...z,data:{x:z.x-r,y:z.y-o,enabled:{[E]:s,[b]:l}}}}}},Z0=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,o;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...p}=qi(t,e),m=await s.detectOverflow(e,p),g=Ro(n),b=$r(n),E=Zi(n)==="y",{width:L,height:N}=a.floating,z,B;g==="top"||g==="bottom"?(z=g,B=b===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(B=g,z=b==="end"?"top":"bottom");let F=N-m.top-m.bottom,k=L-m.left-m.right,A=ai(N-m[z],F),P=ai(L-m[B],k),K=!e.middlewareData.shift,te=A,ye=P;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(ye=k),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(te=F),K&&!b){let X=It(m.left,0),C=It(m.right,0),M=It(m.top,0),Z=It(m.bottom,0);E?ye=L-2*(X!==0||C!==0?X+C:It(m.left,m.right)):te=N-2*(M!==0||Z!==0?M+Z:It(m.top,m.bottom))}await d({...e,availableWidth:ye,availableHeight:te});let he=await s.getDimensions(l.floating);return L!==he.width||N!==he.height?{reset:{rects:!0}}:{}}}}});function Ss(){return typeof window<"u"}function ci(t){return Q0(t)?(t.nodeName||"").toLowerCase():"#document"}function $t(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function zr(t){var e;return(e=(Q0(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Q0(t){return Ss()?t instanceof Node||t instanceof $t(t).Node:!1}function ir(t){return Ss()?t instanceof Element||t instanceof $t(t).Element:!1}function Dr(t){return Ss()?t instanceof HTMLElement||t instanceof $t(t).HTMLElement:!1}function X0(t){return!Ss()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof $t(t).ShadowRoot}function Yi(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=nr(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function J0(t){return/^(table|td|th)$/.test(ci(t))}function ea(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}function Cs(t){let e=ir(t)?nr(t):t;return li(e.transform)||li(e.translate)||li(e.scale)||li(e.rotate)||li(e.perspective)||!Os()&&(li(e.backdropFilter)||li(e.filter))||Vv.test(e.willChange||"")||Wv.test(e.contain||"")}function eh(t){let e=lo(t);for(;Dr(e)&&!di(e);){if(Cs(e))return e;if(ea(e))return null;e=lo(e)}return null}function Os(){return yd==null&&(yd=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),yd}function di(t){return/^(html|body|#document)$/.test(ci(t))}function nr(t){return $t(t).getComputedStyle(t)}function ta(t){return ir(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function lo(t){if(ci(t)==="html")return t;let e=t.assignedSlot||t.parentNode||X0(t)&&t.host||zr(t);return X0(e)?e.host:e}function th(t){let e=lo(t);return di(e)?t.ownerDocument?t.ownerDocument.body:t.body:Dr(e)&&Yi(e)?e:th(e)}function xs(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=th(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=$t(n);if(a){let l=Es(s);return e.concat(s,s.visualViewport||[],Yi(n)?n:[],l&&r?xs(l):[])}else return e.concat(n,xs(n,[],r))}function Es(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}var Vv,Wv,li,yd,rh=u(()=>{Vv=/transform|translate|scale|rotate|perspective|filter/,Wv=/paint|layout|strict|content/,li=t=>!!t&&t!=="none"});function ah(t){let e=nr(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=Dr(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=Jn(r)!==a||Jn(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function sh(t){return ir(t)?t:t.contextElement}function Xi(t){let e=sh(t);if(!Dr(e))return Cr(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:a}=ah(e),s=(a?Jn(r.width):r.width)/o,l=(a?Jn(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function lh(t){let e=$t(t);return!Os()||!e.visualViewport?jv:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Kv(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==$t(t)?!1:e}function ra(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=sh(t),s=Cr(1);e&&(o?ir(o)&&(s=Xi(o)):s=Xi(t));let l=Kv(a,r,o)?lh(a):Cr(0),d=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,m=n.width/s.x,g=n.height/s.y;if(a){let b=$t(a),E=o&&ir(o)?$t(o):o,L=b,N=Es(L);for(;N&&o&&E!==L;){let z=Xi(N),B=N.getBoundingClientRect(),F=nr(N),k=B.left+(N.clientLeft+parseFloat(F.paddingLeft))*z.x,A=B.top+(N.clientTop+parseFloat(F.paddingTop))*z.y;d*=z.x,p*=z.y,m*=z.x,g*=z.y,d+=k,p+=A,L=$t(N),N=Es(L)}}return si({width:m,height:g,x:d,y:p})}function Ls(t,e){let r=ta(t).scrollLeft;return e?e.left+r:ra(zr(t)).left+r}function ch(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-Ls(t,r),n=r.top+e.scrollTop;return{x:o,y:n}}function qv(t){let{elements:e,rect:r,offsetParent:o,strategy:n}=t,a=n==="fixed",s=zr(o),l=e?ea(e.floating):!1;if(o===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},p=Cr(1),m=Cr(0),g=Dr(o);if((g||!g&&!a)&&((ci(o)!=="body"||Yi(s))&&(d=ta(o)),g)){let E=ra(o);p=Xi(o),m.x=E.x+o.clientLeft,m.y=E.y+o.clientTop}let b=s&&!g&&!a?ch(s,d):Cr(0);return{width:r.width*p.x,height:r.height*p.y,x:r.x*p.x-d.scrollLeft*p.x+m.x+b.x,y:r.y*p.y-d.scrollTop*p.y+m.y+b.y}}function Zv(t){return Array.from(t.getClientRects())}function Yv(t){let e=zr(t),r=ta(t),o=t.ownerDocument.body,n=It(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=It(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+Ls(t),l=-r.scrollTop;return nr(o).direction==="rtl"&&(s+=It(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Xv(t,e){let r=$t(t),o=zr(t),n=r.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let m=Os();(!m||m&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}let p=Ls(o);if(p<=0){let m=o.ownerDocument,g=m.body,b=getComputedStyle(g),E=m.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,L=Math.abs(o.clientWidth-g.clientWidth-E);L<=oh&&(a-=L)}else p<=oh&&(a+=p);return{width:a,height:s,x:l,y:d}}function Qv(t,e){let r=ra(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,a=Dr(t)?Xi(t):Cr(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,p=o*a.y;return{width:s,height:l,x:d,y:p}}function ih(t,e,r){let o;if(e==="viewport")o=Xv(t,r);else if(e==="document")o=Yv(zr(t));else if(ir(e))o=Qv(e,r);else{let n=lh(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return si(o)}function dh(t,e){let r=lo(t);return r===e||!ir(r)||di(r)?!1:nr(r).position==="fixed"||dh(r,e)}function Jv(t,e){let r=e.get(t);if(r)return r;let o=xs(t,[],!1).filter(l=>ir(l)&&ci(l)!=="body"),n=null,a=nr(t).position==="fixed",s=a?lo(t):t;for(;ir(s)&&!di(s);){let l=nr(s),d=Cs(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||Yi(s)&&!d&&dh(t,s))?o=o.filter(m=>m!==s):n=l,s=lo(s)}return e.set(t,o),o}function e5(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,s=[...r==="clippingAncestors"?ea(e)?[]:Jv(e,this._c):[].concat(r),o],l=ih(e,s[0],n),d=l.top,p=l.right,m=l.bottom,g=l.left;for(let b=1;b<s.length;b++){let E=ih(e,s[b],n);d=It(E.top,d),p=ai(E.right,p),m=ai(E.bottom,m),g=It(E.left,g)}return{width:p-g,height:m-d,x:g,y:d}}function t5(t){let{width:e,height:r}=ah(t);return{width:e,height:r}}function r5(t,e,r){let o=Dr(e),n=zr(e),a=r==="fixed",s=ra(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Cr(0);function p(){d.x=Ls(n)}if(o||!o&&!a)if((ci(e)!=="body"||Yi(n))&&(l=ta(e)),o){let E=ra(e,!0,a,e);d.x=E.x+e.clientLeft,d.y=E.y+e.clientTop}else n&&p();a&&!o&&n&&p();let m=n&&!o&&!a?ch(n,l):Cr(0),g=s.left+l.scrollLeft-d.x-m.x,b=s.top+l.scrollTop-d.y-m.y;return{x:g,y:b,width:s.width,height:s.height}}function bd(t){return nr(t).position==="static"}function nh(t,e){if(!Dr(t)||nr(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return zr(t)===r&&(r=r.ownerDocument.body),r}function uh(t,e){let r=$t(t);if(ea(t))return r;if(!Dr(t)){let n=lo(t);for(;n&&!di(n);){if(ir(n)&&!bd(n))return n;n=lo(n)}return r}let o=nh(t,e);for(;o&&J0(o)&&bd(o);)o=nh(o,e);return o&&di(o)&&bd(o)&&!Cs(o)?r:o||eh(t)||r}function i5(t){return nr(t).direction==="rtl"}var jv,oh,o5,Qi,ph,vd,fh,hh,xd,mh=u(()=>{Y0();vs();rh();jv=Cr(0);oh=25;o5=async function(t){let e=this.getOffsetParent||uh,r=this.getDimensions,o=await r(t.floating);return{reference:r5(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};Qi={convertOffsetParentRelativeRectToViewportRelativeRect:qv,getDocumentElement:zr,getClippingRect:e5,getOffsetParent:uh,getElementRects:o5,getClientRects:Zv,getDimensions:t5,getScale:Xi,isElement:ir,isRTL:i5},ph=K0,vd=j0,fh=q0,hh=Z0,xd=(t,e,r)=>{let o=new Map,n={platform:Qi,...r},a={...n.platform,_c:o};return W0(t,e,{...n,platform:a})}});function Cd(t){return n5(t)}function Sd(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function n5(t){for(let e=t;e;e=Sd(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Sd(t);e;e=Sd(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var gh=u(()=>{});var Ed={};oe(Ed,{computeOffsetAutoPosition:()=>oa,computeOffsetPosition:()=>Od});async function Od(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},xd(t,e,{strategy:o.strategy,platform:{...Qi,getOffsetParent:n=>Qi.getOffsetParent(n,Cd)},middleware:[fh({crossAxis:!0}),vd({allowedPlacements:[o.placement]})]})}async function oa(t,e,r,o,n,a,s){let l,d;return typeof r=="object"?(l=r.placement,o=r.allowedPlacements,n=r.strategy,a=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,xd(t,e,{placement:l,strategy:n,platform:{...Qi,getOffsetParent:p=>Qi.getOffsetParent(p,Cd)},middleware:[ph(s??4),vd({allowedPlacements:o}),hh({apply({availableHeight:p,availableWidth:m,elements:g}){typeof a=="string"&&(a=`var(${a})`),a?g.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${a})`:g.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof d=="string"&&(d=`var(${d})`),d?g.floating.style.maxWidth=`min(${Math.max(0,m)}px, ${d})`:g.floating.style.maxWidth=`${Math.max(0,m)}px`}})]})}var As=u(()=>{"use strict";mh();gh()});var Ld={};oe(Ld,{isSlotEmptyOrWithoutContent:()=>ia});var ia,Ad=u(()=>{"use strict";ia=t=>t?t.assignedNodes({flatten:!0}).filter(o=>{var n;return o.nodeType===Node.TEXT_NODE?((n=o.textContent)!==null&&n!==void 0?n:"").trim().length>0:!0}).length===0:!0});var Rd={};oe(Rd,{ScopedRegistryLitElement:()=>na});var na,Rs=u(()=>{"use strict";I();Ja();na=class extends br{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Hn(o,e.elementStyles),o}}});var _d={};oe(_d,{shadowQuerySelector:()=>wd,shadowQuerySelectorAll:()=>a5});function wd(t,e,...r){var o;let n=t.querySelector(e);for(let a of r)n=(o=n?.shadowRoot)===null||o===void 0?void 0:o.querySelector(a);return n}function a5(t,e,...r){let o=[...t.querySelectorAll(e)];for(let n of r)o=o.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return o}var ws=u(()=>{"use strict"});var kd={};oe(kd,{ExportpartsUpdatedEvent:()=>ui,FtLitElement:()=>W});var Ji,xh,yh,bh,Sh,vh,ui,W,aa=u(()=>{"use strict";J();ms();hs();Rs();ws();Ji=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},yh=Symbol("constructorPrototype"),bh=Symbol("constructorName"),Sh=Symbol("exportpartsDebouncer"),vh=Symbol("dynamicDependenciesLoaded"),ui=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};ui.eventName="exportparts-updated";W=class extends na{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[xh]=new me(5),this.scheduleExportpartsUpdate=()=>{var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[Sh].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[bh]=this.constructor.name,this[yh]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[bh]&&Object.setPrototypeOf(this,this[yh])}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(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[vh]||(r[vh]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(ui.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(ui.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 ui)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:n}=this.elementToFocus;if(o!=null){let a=[...n??[],o];r=wd(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,o,n;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var r,o,n,a,s,l;let d=b=>b!=null&&b.trim().length>0,p=e.filter(d).map(b=>b.trim());if(p.length===0){this.exportparts=void 0;return}let m=new Set;for(let b of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let E=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],L=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(z=>z.split(":")[1]))!==null&&l!==void 0?l:[],N=[...E,...L].filter(d).map(z=>z.trim());for(let z of N)m.add(z)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(b=>p.map(E=>`${b}:${E}--${b}`));this.exportparts=[...this.part,...g].join(", ")}};xh=Sh;Ji([h()],W.prototype,"exportpartsPrefix",void 0);Ji([Ee([])],W.prototype,"exportpartsPrefixes",void 0);Ji([h({reflect:!0})],W.prototype,"exportparts",void 0);Ji([h()],W.prototype,"customStylesheet",void 0);Ji([h()],W.prototype,"elementToFocus",void 0);Ji([U()],W.prototype,"useAdoptedStyleSheets",void 0)});var Td={};oe(Td,{FtdsBase:()=>pi,toFtdsBase:()=>ar});var Ch,ar,pi,Md=u(()=>{"use strict";aa();J();ge();Tt();Ch=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ar=je(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=dt.medium,this.family=nt.neutral}getDesignSystemBaseClasses(){return{[id(this.family)]:!0,[nd(this.size)]:!0}}}return Ch([h()],e.prototype,"size",void 0),Ch([h()],e.prototype,"family",void 0),e}),pi=class extends ar(W){}});var Oh={};var Nd=u(()=>{"use strict"});var fi,Eh=u(()=>{fi=class t{constructor(e,r=!0,o=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=n}static matches(e,r){let o=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return o.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let n=r.filter(a=>a.contains(o)).length>0;r.indexOf(o)===-1&&!n&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{o()}n&&r(n)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,n=>{o++,this.waitForIframes(n.querySelector("html"),()=>{--o||r()})},n=>{n||r()})}forEachIframe(e,r,o,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,m=>{r(p)&&(l++,o(m)),d()},d)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let n=e.compareDocumentPosition(o),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===o&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,o)?(a===!1&&!s?n.push({val:o,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,n)})})}iterateThroughNodes(e,r,o,n,a){let s=this.createIterator(r,e,n),l=[],d=[],p,m,g=()=>({prevNode:m,node:p}=this.getIteratorNode(s),p);for(;g();)this.iframes&&this.forEachIframe(r,b=>this.checkIframeFilter(p,m,b,l),b=>{this.createInstanceOnIframe(b).forEachNode(e,E=>d.push(E),n)}),d.push(p);d.forEach(b=>{o(b)}),this.iframes&&this.handleOpenIframes(l,e,o,n),a()}forEachNode(e,r,o,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var sa,Lh=u(()=>{Eh();sa=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new fi(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${o}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,n)=>{let a=n.charAt(o+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=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"],n=[];return e.split("").forEach(a=>{o.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,n=typeof o=="string"?o:o.value,a=typeof o=="string"?[]:o.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,n)=>n.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,o);l&&(n.start=a,n.length=s-a,r.push(n),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,n,a=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),n=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-o>0?a=!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:o,end:n,valid:a}}checkWhitespaceRanges(e,r,o){let n,a=!0,s=o.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{o.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return fi.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(o-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,o,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(s.node))return!1;let p=r-s.start,m=(o>s.end?s.end:o)-s.start,g=e.value.substr(0,s.start),b=e.value.substr(m+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,m),e.value=g+b,e.nodes.forEach((E,L)=>{L>=l&&(e.nodes[L].start>0&&L!==l&&(e.nodes[L].start-=m),e.nodes[L].end-=m)}),o-=m,a(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!o(p[s],d))continue;let m=p.index;if(s!==0)for(let g=1;g<s;g++)m+=p[g].length;d=this.wrapRangeInTextNode(d,m,m+p[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let g=1;g<s;g++)p+=d[g].length;let m=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,m,g=>o(d[s],g),(g,b)=>{e.lastIndex=b,n(g)})}a()})}wrapRangeFromIndex(e,r,o,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:p,end:m,valid:g}=this.checkWhitespaceRanges(l,s,a.value);g&&this.wrapRangeInMappedTextNode(a,p,m,b=>r(b,l,a.value.substring(p,m),d),b=>{o(b,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,n="wrapMatches",a=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),a,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let m=new RegExp(this.createRegExp(p),`gm${l}`),g=0;this.log(`Searching with expression "${m}"`),this[n](m,1,(b,E)=>this.opt.filter(E,p,o,g),b=>{g++,o++,this.opt.each(b)},()=>{g===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(o):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(a[0])}markRanges(e,r){this.opt=r;let o=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{o++,this.opt.each(a,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let n=fi.matches(o,r),a=this.matchesExclude(o);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Pd(t){let e=new sa(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var Ah=u(()=>{Lh()});var $d={};oe($d,{highlightHtml:()=>Id,highlightHtmlColorCssVariable:()=>Rh,highlightHtmlStyles:()=>l5});function Id(t,e,r){var o,n;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new s5(t);if(s.unmark(),e&&e.trim()){let l={className:(o=r?.className)!==null&&o!==void 0?o:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=p=>{for(let m in r.attributes)p.setAttribute(m,r.attributes[m])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var s5,Rh,l5,zd=u(()=>{"use strict";I();ge();Ah();s5=Pd,Rh=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),l5=_`
5
5
  .highlight-html-match {
6
6
  background: ${Rh};
7
7
  }
@@ -45,7 +45,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
45
45
  display: none;
46
46
  }
47
47
  `});var wh={};var Fd=u(()=>{"use strict"});var Ud={};oe(Ud,{ParametrizedLabelResolver:()=>wo});var wo,Hd=u(()=>{"use strict";wo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,n;e=this.resolvePluralKey(e,r);let a=(n=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((o,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let n=`${String(e)}[\\=${o}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return o(document.documentElement.lang)}catch{return o()}}}});var c5,ke,d5,_h=u(()=>{"use strict";Tt();J();c5=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},ke=t=>{let e=t??{};return(r,o)=>{var n;let a={hasChanged:Gt,attribute:!1,...e};h(a)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[o],store:e.store})}},d5=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)}});var ca,Gd=u(()=>{"use strict";ca=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}}});function en(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var _s=u(()=>{"use strict"});var da,_o,mi,kh,Er,Th=u(()=>{"use strict";aa();_s();Tt();da=Symbol("internalReduxEventsUnsubscribers"),_o=Symbol("internalStoresUnsubscribers"),mi=Symbol("internalStores"),kh=je(Symbol("withRedux"),function(t){var e,r,o;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[mi].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[mi].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[mi].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[mi].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[mi].delete(l)}setupStores(){this.unsubscribeFromStores(),this[mi].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[_o].has(s.store):this[_o].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var d;this[_o].set(s,l.subscribe(()=>this.updateFromStores())),this[da].set(s,[]),en(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((p,m)=>{if(typeof this[m]=="function"&&(!p.store||l.name===p.store)){let g=b=>this[m](b);l.addEventListener(p.eventName,g),this[da].get(s).push(()=>l.removeEventListener(p.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[_o].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[_o].has(s)&&this[_o].get(s)(),this[_o].delete(s),(l=this[da].get(s))===null||l===void 0||l.forEach(d=>d()),this[da].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=_o,r=mi,o=da,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),Er=class extends kh(W){}});function sr(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function co(t){return!!t&&!!t[Ge]}function Lr(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var n=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===b5}(t)||Array.isArray(t)||!!t[Dh]||!!(!((e=t.constructor)===null||e===void 0)&&e[Dh])||Qd(t)||Jd(t))}function gi(t,e,r){r===void 0&&(r=!1),on(t)===0?(r?Object.keys:rn)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,n){return e(n,o,t)})}function on(t){var e=t[Ge];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Qd(t)?2:Jd(t)?3:0}function tn(t,e){return on(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function u5(t,e){return on(t)===2?t.get(e):t[e]}function Bh(t,e,r){var o=on(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Fh(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Qd(t){return g5&&t instanceof Map}function Jd(t){return y5&&t instanceof Set}function ko(t){return t.o||t.t}function eu(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Gh(t);delete e[Ge];for(var r=rn(e),o=0;o<r.length;o++){var n=r[o],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function tu(t,e){return e===void 0&&(e=!1),ru(t)||co(t)||!Lr(t)||(on(t)>1&&(t.set=t.add=t.clear=t.delete=p5),Object.freeze(t),e&&gi(t,function(r,o){return tu(o,!0)},!0)),t}function p5(){sr(2)}function ru(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Br(t){var e=Xd[t];return e||sr(18,t),e}function f5(t,e){Xd[t]||(Xd[t]=e)}function qd(){return pa}function Vd(t,e){e&&(Br("Patches"),t.u=[],t.s=[],t.v=e)}function ks(t){Zd(t),t.p.forEach(h5),t.p=null}function Zd(t){t===pa&&(pa=t.l)}function Mh(t){return pa={p:[],l:pa,h:t,m:!0,_:0}}function h5(t){var e=t[Ge];e.i===0||e.i===1?e.j():e.g=!0}function Wd(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||Br("ES5").S(e,t,o),o?(r[Ge].P&&(ks(e),sr(4)),Lr(t)&&(t=Ts(e,t),e.l||Ms(e,t)),e.u&&Br("Patches").M(r[Ge].t,t,e.u,e.s)):t=Ts(e,r,[]),ks(e),e.u&&e.v(e.u,e.s),t!==Hh?t:void 0}function Ts(t,e,r){if(ru(e))return e;var o=e[Ge];if(!o)return gi(e,function(l,d){return Nh(t,o,e,l,d,r)},!0),e;if(o.A!==t)return e;if(!o.P)return Ms(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=o.i===4||o.i===5?o.o=eu(o.k):o.o,a=n,s=!1;o.i===3&&(a=new Set(n),n.clear(),s=!0),gi(a,function(l,d){return Nh(t,o,n,l,d,r,s)}),Ms(t,n,!1),r&&t.u&&Br("Patches").N(o,r,t.u,t.s)}return o.o}function Nh(t,e,r,o,n,a,s){if(co(n)){var l=Ts(t,n,a&&e&&e.i!==3&&!tn(e.R,o)?a.concat(o):void 0);if(Bh(r,o,l),!co(l))return;t.m=!1}else s&&r.add(n);if(Lr(n)&&!ru(n)){if(!t.h.D&&t._<1)return;Ts(t,n),e&&e.A.l||Ms(t,n)}}function Ms(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&tu(e,r)}function jd(t,e){var r=t[Ge];return(r?ko(r):t)[e]}function Ph(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function To(t){t.P||(t.P=!0,t.l&&To(t.l))}function Kd(t){t.o||(t.o=eu(t.t))}function Yd(t,e,r){var o=Qd(e)?Br("MapSet").F(e,r):Jd(e)?Br("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:qd(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,p=fa;s&&(d=[l],p=ua);var m=Proxy.revocable(d,p),g=m.revoke,b=m.proxy;return l.k=b,l.j=g,b}(e,r):Br("ES5").J(e,r);return(r?r.A:qd()).p.push(o),o}function m5(t){return co(t)||sr(22,t),function e(r){if(!Lr(r))return r;var o,n=r[Ge],a=on(r);if(n){if(!n.P&&(n.i<4||!Br("ES5").K(n)))return n.t;n.I=!0,o=Ih(r,a),n.I=!1}else o=Ih(r,a);return gi(o,function(s,l){n&&u5(n.t,s)===l||Bh(o,s,e(l))}),a===3?new Set(o):o}(t)}function Ih(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return eu(t)}function Uh(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[Ge];return fa.get(p,s)},set:function(p){var m=this[Ge];fa.set(m,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Ge];if(!d.P)switch(d.i){case 5:o(d)&&To(d);break;case 4:r(d)&&To(d)}}}function r(s){for(var l=s.t,d=s.k,p=rn(d),m=p.length-1;m>=0;m--){var g=p[m];if(g!==Ge){var b=l[g];if(b===void 0&&!tn(l,g))return!0;var E=d[g],L=E&&E[Ge];if(L?L.t!==b:!Fh(E,b))return!0}}var N=!!l[Ge];return p.length!==rn(l).length+(N?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&sr(3,JSON.stringify(ko(s)))}var a={};f5("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(g,b){if(g){for(var E=Array(b.length),L=0;L<b.length;L++)Object.defineProperty(E,""+L,t(L,!0));return E}var N=Gh(b);delete N[Ge];for(var z=rn(N),B=0;B<z.length;B++){var F=z[B];N[F]=t(F,g||!!N[F].enumerable)}return Object.create(Object.getPrototypeOf(b),N)}(d,s),m={i:d?5:4,A:l?l.A:qd(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,Ge,{value:m,writable:!0}),p},S:function(s,l,d){d?co(l)&&l[Ge].A===s&&e(s.p):(s.u&&function p(m){if(m&&typeof m=="object"){var g=m[Ge];if(g){var b=g.t,E=g.k,L=g.R,N=g.i;if(N===4)gi(E,function(A){A!==Ge&&(b[A]!==void 0||tn(b,A)?L[A]||p(E[A]):(L[A]=!0,To(g)))}),gi(b,function(A){E[A]!==void 0||tn(E,A)||(L[A]=!1,To(g))});else if(N===5){if(o(g)&&(To(g),L.length=!0),E.length<b.length)for(var z=E.length;z<b.length;z++)L[z]=!1;else for(var B=b.length;B<E.length;B++)L[B]=!0;for(var F=Math.min(E.length,b.length),k=0;k<F;k++)E.hasOwnProperty(k)||(L[k]=!0),L[k]===void 0&&p(E[k])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var $h,pa,ou,g5,y5,zh,Hh,Dh,Ge,b5,rn,Gh,Xd,fa,ua,v5,Wt,x5,nT,aT,sT,lT,cT,dT,Ns,Ps=u(()=>{ou=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",g5=typeof Map<"u",y5=typeof Set<"u",zh=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Hh=ou?Symbol.for("immer-nothing"):(($h={})["immer-nothing"]=!0,$h),Dh=ou?Symbol.for("immer-draftable"):"__$immer_draftable",Ge=ou?Symbol.for("immer-state"):"__$immer_state",b5=""+Object.prototype.constructor,rn=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Gh=Object.getOwnPropertyDescriptors||function(t){var e={};return rn(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Xd={},fa={get:function(t,e){if(e===Ge)return t;var r=ko(t);if(!tn(r,e))return function(n,a,s){var l,d=Ph(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var o=r[e];return t.I||!Lr(o)?o:o===jd(t.t,e)?(Kd(t),t.o[e]=Yd(t.A.h,o,t)):o},has:function(t,e){return e in ko(t)},ownKeys:function(t){return Reflect.ownKeys(ko(t))},set:function(t,e,r){var o=Ph(ko(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var n=jd(ko(t),e),a=n?.[Ge];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Fh(r,n)&&(r!==void 0||tn(t.t,e)))return!0;Kd(t),To(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return jd(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Kd(t),To(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=ko(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){sr(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){sr(12)}},ua={};gi(fa,function(t,e){ua[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),ua.deleteProperty=function(t,e){return ua.set.call(this,t,e,void 0)},ua.set=function(t,e,r){return fa.set.call(this,t[0],e,r,t[0])};v5=function(){function t(r){var o=this;this.O=zh,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=o;return function(N){var z=this;N===void 0&&(N=l);for(var B=arguments.length,F=Array(B>1?B-1:0),k=1;k<B;k++)F[k-1]=arguments[k];return d.produce(N,function(A){var P;return(P=a).call.apply(P,[z,A].concat(F))})}}var p;if(typeof a!="function"&&sr(6),s!==void 0&&typeof s!="function"&&sr(7),Lr(n)){var m=Mh(o),g=Yd(o,n,void 0),b=!0;try{p=a(g),b=!1}finally{b?ks(m):Zd(m)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(N){return Vd(m,s),Wd(N,m)},function(N){throw ks(m),N}):(Vd(m,s),Wd(p,m))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===Hh&&(p=void 0),o.D&&tu(p,!0),s){var E=[],L=[];Br("Patches").M(n,p,E,L),s(E,L)}return p}sr(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var m=arguments.length,g=Array(m>1?m-1:0),b=1;b<m;b++)g[b-1]=arguments[b];return o.produceWithPatches(p,function(E){return n.apply(void 0,[E].concat(g))})};var s,l,d=o.produce(n,a,function(p,m){s=p,l=m});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Lr(r)||sr(8),co(r)&&(r=m5(r));var o=Mh(this),n=Yd(this,r,void 0);return n[Ge].C=!0,Zd(o),n},e.finishDraft=function(r,o){var n=r&&r[Ge],a=n.A;return Vd(a,o),Wd(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!zh&&sr(20),this.O=r},e.applyPatches=function(r,o){var n;for(n=o.length-1;n>=0;n--){var a=o[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(o=o.slice(n+1));var s=Br("Patches").$;return co(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},t}(),Wt=new v5,x5=Wt.produce,nT=Wt.produceWithPatches.bind(Wt),aT=Wt.setAutoFreeze.bind(Wt),sT=Wt.setUseProxies.bind(Wt),lT=Wt.applyPatches.bind(Wt),cT=Wt.createDraft.bind(Wt),dT=Wt.finishDraft.bind(Wt),Ns=x5});function yi(t){"@babel/helpers - typeof";return yi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yi(t)}var iu=u(()=>{});function Vh(t,e){if(yi(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(yi(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Wh=u(()=>{iu()});function jh(t){var e=Vh(t,"string");return yi(e)=="symbol"?e:e+""}var Kh=u(()=>{iu();Wh()});function qh(t,e,r){return(e=jh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Zh=u(()=>{Kh()});function Yh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function nu(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Yh(Object(r),!0).forEach(function(o){qh(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yh(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}var Xh=u(()=>{Zh()});function Et(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. "}function S5(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function su(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Et(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Et(1));return r(su)(t,e)}if(typeof t!="function")throw new Error(Et(2));var n=t,a=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function m(){if(d)throw new Error(Et(3));return a}function g(N){if(typeof N!="function")throw new Error(Et(4));if(d)throw new Error(Et(5));var z=!0;return p(),l.push(N),function(){if(z){if(d)throw new Error(Et(6));z=!1,p();var F=l.indexOf(N);l.splice(F,1),s=null}}}function b(N){if(!S5(N))throw new Error(Et(7));if(typeof N.type>"u")throw new Error(Et(8));if(d)throw new Error(Et(9));try{d=!0,a=n(a,N)}finally{d=!1}for(var z=s=l,B=0;B<z.length;B++){var F=z[B];F()}return N}function E(N){if(typeof N!="function")throw new Error(Et(10));n=N,b({type:Is.REPLACE})}function L(){var N,z=g;return N={subscribe:function(F){if(typeof F!="object"||F===null)throw new Error(Et(11));function k(){F.next&&F.next(m())}k();var A=z(k);return{unsubscribe:A}}},N[Qh]=function(){return this},N}return b({type:Is.INIT}),o={dispatch:b,subscribe:g,getState:m,replaceReducer:E},o[Qh]=L,o}function C5(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:Is.INIT});if(typeof o>"u")throw new Error(Et(12));if(typeof r(void 0,{type:Is.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Et(13))})}function Jh(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var n=e[o];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{C5(r)}catch(d){l=d}return function(p,m){if(p===void 0&&(p={}),l)throw l;if(0)var g;for(var b=!1,E={},L=0;L<a.length;L++){var N=a[L],z=r[N],B=p[N],F=z(B,m);if(typeof F>"u"){var k=m&&m.type;throw new Error(Et(14))}E[N]=F,b=b||F!==B}return b=b||a.length!==Object.keys(p).length,b?E:p}}function nn(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,n){return function(){return o(n.apply(void 0,arguments))}})}function e4(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var n=o.apply(void 0,arguments),a=function(){throw new Error(Et(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=nn.apply(void 0,l)(n.dispatch),nu(nu({},n),{},{dispatch:a})}}}var Qh,au,Is,$s=u(()=>{Xh();Qh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),au=function(){return Math.random().toString(36).substring(7).split("").join(".")},Is={INIT:"@@redux/INIT"+au(),REPLACE:"@@redux/REPLACE"+au(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+au()}}});function t4(t){var e=function(o){var n=o.dispatch,a=o.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var r4,lu,o4=u(()=>{r4=t4();r4.withExtraArgument=t4;lu=r4});function T5(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function pu(t){return Lr(t)?Ns(t,function(){}):t}function P5(t){return typeof t=="boolean"}function I5(){return function(e){return $5(e)}}function $5(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,n=o===void 0?!0:o,a=t.serializableCheck,s=a===void 0?!0:a,l=new M5;if(r&&(P5(r)?l.push(lu):l.push(lu.withExtraArgument(r.extraArgument))),0){if(n)var d;if(s)var p}return l}function c4(t){var e=I5(),r=t||{},o=r.reducer,n=o===void 0?void 0:o,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,p=r.preloadedState,m=p===void 0?void 0:p,g=r.enhancers,b=g===void 0?void 0:g,E;if(typeof n=="function")E=n;else if(T5(n))E=Jh(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var L=s;if(typeof L=="function"&&(L=L(e),!du&&!Array.isArray(L)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!du&&L.some(function(A){return typeof A!="function"}))throw new Error("each middleware provided to configureStore must be a function");var N=e4.apply(void 0,L),z=nn;d&&(z=k5(Mo({trace:!du},typeof d=="object"&&d)));var B=new N5(N),F=B;Array.isArray(b)?F=an([N],b):typeof b=="function"&&(F=b(B));var k=z.apply(void 0,F);return su(E,m,k)}function No(t,e){function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];if(e){var a=e.apply(void 0,o);if(!a)throw new Error("prepareAction did not return an object");return Mo(Mo({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function d4(t){var e={},r=[],o,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return o=a,n}};return t(n),[e,r,o]}function z5(t){return typeof t=="function"}function D5(t,e,r,o){r===void 0&&(r=[]);var n=typeof e=="function"?d4(e):[e,r,o],a=n[0],s=n[1],l=n[2],d;if(z5(t))d=function(){return pu(t())};else{var p=pu(t);d=function(){return p}}function m(g,b){g===void 0&&(g=d());var E=an([a[b.type]],s.filter(function(L){var N=L.matcher;return N(b)}).map(function(L){var N=L.reducer;return N}));return E.filter(function(L){return!!L}).length===0&&(E=[l]),E.reduce(function(L,N){if(N)if(co(L)){var z=L,B=N(z,b);return B===void 0?L:B}else{if(Lr(L))return Ns(L,function(F){return N(F,b)});var B=N(L,b);if(B===void 0){if(L===null)return L;throw Error("A case reducer on a non-draftable value must not return undefined")}return B}return L},g)}return m.getInitialState=d,m}function B5(t,e){return t+"/"+e}function u4(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:pu(t.initialState),o=t.reducers||{},n=Object.keys(o),a={},s={},l={};n.forEach(function(m){var g=o[m],b=B5(e,m),E,L;"reducer"in g?(E=g.reducer,L=g.prepare):E=g,a[m]=E,s[b]=E,l[m]=L?No(b,L):No(b)});function d(){var m=typeof t.extraReducers=="function"?d4(t.extraReducers):[t.extraReducers],g=m[0],b=g===void 0?{}:g,E=m[1],L=E===void 0?[]:E,N=m[2],z=N===void 0?void 0:N,B=Mo(Mo({},b),s);return D5(r,function(F){for(var k in B)F.addCase(k,B[k]);for(var A=0,P=L;A<P.length;A++){var K=P[A];F.addMatcher(K.matcher,K.reducer)}z&&F.addDefaultCase(z)})}var p;return{name:e,reducer:function(m,g){return p||(p=d()),p(m,g)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}function V5(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function W5(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var l4,O5,an,E5,L5,A5,i4,R5,w5,n4,Mo,cu,_5,k5,wT,M5,N5,du,F5,U5,H5,uu,a4,G5,MT,p4,f4,h4,NT,PT,IT,$T,fu,zT,DT,BT,s4,FT,j5,UT,m4=u(()=>{Ps();$s();$s();$s();o4();Ps();Ps();l4=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,n){o.__proto__=n}||function(o,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(o[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),O5=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(m){return d([p,m])}}function d(p){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,n&&(a=p[0]&2?n.return:p[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,p[1])).done)return a;switch(n=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,n=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){r.label=p[1];break}if(p[0]===6&&r.label<a[1]){r.label=a[1],a=p;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(p);break}a[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(m){p=[6,m],n=0}finally{o=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},an=function(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t},E5=Object.defineProperty,L5=Object.defineProperties,A5=Object.getOwnPropertyDescriptors,i4=Object.getOwnPropertySymbols,R5=Object.prototype.hasOwnProperty,w5=Object.prototype.propertyIsEnumerable,n4=function(t,e,r){return e in t?E5(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Mo=function(t,e){for(var r in e||(e={}))R5.call(e,r)&&n4(t,r,e[r]);if(i4)for(var o=0,n=i4(e);o<n.length;o++){var r=n[o];w5.call(e,r)&&n4(t,r,e[r])}return t},cu=function(t,e){return L5(t,A5(e))},_5=function(t,e,r){return new Promise(function(o,n){var a=function(d){try{l(r.next(d))}catch(p){n(p)}},s=function(d){try{l(r.throw(d))}catch(p){n(p)}},l=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})},k5=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?nn:nn.apply(null,arguments)},wT=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};M5=function(t){l4(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,an([void 0],r[0].concat(this)))):new(e.bind.apply(e,an([void 0],r.concat(this))))},e}(Array),N5=function(t){l4(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,an([void 0],r[0].concat(this)))):new(e.bind.apply(e,an([void 0],r.concat(this))))},e}(Array);du=!0;F5="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",U5=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=F5[Math.random()*64|0];return e},H5=["name","message","stack","code"],uu=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),a4=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),G5=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=H5;r<o.length;r++){var n=o[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},MT=function(){function t(e,r,o){var n=No(e+"/fulfilled",function(m,g,b,E){return{payload:m,meta:cu(Mo({},E||{}),{arg:b,requestId:g,requestStatus:"fulfilled"})}}),a=No(e+"/pending",function(m,g,b){return{payload:void 0,meta:cu(Mo({},b||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=No(e+"/rejected",function(m,g,b,E,L){return{payload:E,error:(o&&o.serializeError||G5)(m||"Rejected"),meta:cu(Mo({},L||{}),{arg:b,requestId:g,rejectedWithValue:!!E,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function p(m){return function(g,b,E){var L=o?.idGenerator?o.idGenerator(m):U5(),N=new d,z,B=!1;function F(A){z=A,N.abort()}var k=function(){return _5(this,null,function(){var A,P,K,te,ye,he,X;return O5(this,function(C){switch(C.label){case 0:return C.trys.push([0,4,,5]),te=(A=o?.condition)==null?void 0:A.call(o,m,{getState:b,extra:E}),W5(te)?[4,te]:[3,2];case 1:te=C.sent(),C.label=2;case 2:if(te===!1||N.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return B=!0,ye=new Promise(function(M,Z){return N.signal.addEventListener("abort",function(){return Z({name:"AbortError",message:z||"Aborted"})})}),g(a(L,m,(P=o?.getPendingMeta)==null?void 0:P.call(o,{requestId:L,arg:m},{getState:b,extra:E}))),[4,Promise.race([ye,Promise.resolve(r(m,{dispatch:g,getState:b,extra:E,requestId:L,signal:N.signal,abort:F,rejectWithValue:function(M,Z){return new uu(M,Z)},fulfillWithValue:function(M,Z){return new a4(M,Z)}})).then(function(M){if(M instanceof uu)throw M;return M instanceof a4?n(M.payload,L,m,M.meta):n(M,L,m)})])];case 3:return K=C.sent(),[3,5];case 4:return he=C.sent(),K=he instanceof uu?s(null,L,m,he.payload,he.meta):s(he,L,m),[3,5];case 5:return X=o&&!o.dispatchConditionRejection&&s.match(K)&&K.meta.condition,X||g(K),[2,K]}})})}();return Object.assign(k,{abort:F,requestId:L,arg:m,unwrap:function(){return k.then(V5)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();p4="listener",f4="completed",h4="cancelled",NT="task-"+h4,PT="task-"+f4,IT=p4+"-"+h4,$T=p4+"-"+f4,fu="listenerMiddleware",zT=No(fu+"/add"),DT=No(fu+"/removeAll"),BT=No(fu+"/remove"),FT=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(s4||(s4=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},j5=function(t){return function(e){setTimeout(e,t)}},UT=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:j5(10);Uh()});function K5(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))en(e)&&e.clear()}var uo,g4=u(()=>{"use strict";m4();_s();Gd();Ki();Tt();window.ftReduxStores||(window.ftReduxStores={});uo=class t extends so{static get(e){var r;let o=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[o];if(en(a))return a;if(n==null)return;let s=u4({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=c4({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let m=ii(s.getInitialState());for(let g of p.keeping)m[g]=(d??m)[g];return m}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return s.reducer(d,p)}});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,o){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new ca;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,p=a[d];return p?(...m)=>{let g=p(...m.map(n));return this.reduxStore.dispatch(g),g}:m=>{this.setState({[d]:n(m)})}}}),this.eventBus=o??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()}}});function sn(t,e,r){return new zs(t,e,r).watch()}var zs,y4=u(()=>{"use strict";Tt();zs=class{constructor(e,r,o){this.store=e,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);Gt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var ha,b4=u(()=>{"use strict";ha=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(e).size==1&&this.onNewNeededRequest(o)}unregisterComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}}});var hu={};oe(hu,{FtCommandQueue:()=>ca,FtLitElementRedux:()=>Er,FtReduxStore:()=>uo,FtStateManager:()=>ha,ReduxWatcher:()=>zs,clearAllStores:()=>K5,isFtReduxStore:()=>en,redux:()=>ke,reduxEventListener:()=>d5,reduxReactive:()=>c5,watch:()=>sn,withRedux:()=>kh});var Ds=u(()=>{"use strict";_h();Gd();Th();g4();_s();y4();b4()});var bu={};oe(bu,{scrollHelper:()=>yu});var mu,Bs,gu,yu,vu=u(()=>{"use strict";Tt();Bs=new Map,gu=class{lock(e,r){if(r){let o=Bs.get(r);if(o==null||o===e)return Bs.set(r,e),r}}release(e,r){r&&Bs.get(r)===e&&Bs.delete(r)}findFirstScrollableParent(e){var r;let o,n;for(let a of _c(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else l&&n==null&&(n=s)}return(r=o??n)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var o,n;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return a+((n=r?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let n=this.getAbsoluteScrollOffset(o,e),a=n-o.clientHeight+e.clientHeight,s=n,l=ao(0,(s-o.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(mu=window.FluidTopicsScrollHelper)!==null&&mu!==void 0?mu:new gu;yu=window.FluidTopicsScrollHelper});var x4=N8((Po,v4)=>{var Fs=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Us=function(){function t(){this.fetch=!1,this.DOMException=Fs.DOMException}return t.prototype=Fs,new t}();(function(t){var e=function(r){var o=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function a(C){return C&&DataView.prototype.isPrototypeOf(C)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(C){return C&&s.indexOf(Object.prototype.toString.call(C))>-1};function d(C){if(typeof C!="string"&&(C=String(C)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(C)||C==="")throw new TypeError('Invalid character in header field name: "'+C+'"');return C.toLowerCase()}function p(C){return typeof C!="string"&&(C=String(C)),C}function m(C){var M={next:function(){var Z=C.shift();return{done:Z===void 0,value:Z}}};return n.iterable&&(M[Symbol.iterator]=function(){return M}),M}function g(C){this.map={},C instanceof g?C.forEach(function(M,Z){this.append(Z,M)},this):Array.isArray(C)?C.forEach(function(M){if(M.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+M.length);this.append(M[0],M[1])},this):C&&Object.getOwnPropertyNames(C).forEach(function(M){this.append(M,C[M])},this)}g.prototype.append=function(C,M){C=d(C),M=p(M);var Z=this.map[C];this.map[C]=Z?Z+", "+M:M},g.prototype.delete=function(C){delete this.map[d(C)]},g.prototype.get=function(C){return C=d(C),this.has(C)?this.map[C]:null},g.prototype.has=function(C){return this.map.hasOwnProperty(d(C))},g.prototype.set=function(C,M){this.map[d(C)]=p(M)},g.prototype.forEach=function(C,M){for(var Z in this.map)this.map.hasOwnProperty(Z)&&C.call(M,this.map[Z],Z,this)},g.prototype.keys=function(){var C=[];return this.forEach(function(M,Z){C.push(Z)}),m(C)},g.prototype.values=function(){var C=[];return this.forEach(function(M){C.push(M)}),m(C)},g.prototype.entries=function(){var C=[];return this.forEach(function(M,Z){C.push([Z,M])}),m(C)},n.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function b(C){if(!C._noBody){if(C.bodyUsed)return Promise.reject(new TypeError("Already read"));C.bodyUsed=!0}}function E(C){return new Promise(function(M,Z){C.onload=function(){M(C.result)},C.onerror=function(){Z(C.error)}})}function L(C){var M=new FileReader,Z=E(M);return M.readAsArrayBuffer(C),Z}function N(C){var M=new FileReader,Z=E(M),Se=/charset=([A-Za-z0-9_-]+)/.exec(C.type),Ne=Se?Se[1]:"utf-8";return M.readAsText(C,Ne),Z}function z(C){for(var M=new Uint8Array(C),Z=new Array(M.length),Se=0;Se<M.length;Se++)Z[Se]=String.fromCharCode(M[Se]);return Z.join("")}function B(C){if(C.slice)return C.slice(0);var M=new Uint8Array(C.byteLength);return M.set(new Uint8Array(C)),M.buffer}function F(){return this.bodyUsed=!1,this._initBody=function(C){this.bodyUsed=this.bodyUsed,this._bodyInit=C,C?typeof C=="string"?this._bodyText=C:n.blob&&Blob.prototype.isPrototypeOf(C)?this._bodyBlob=C:n.formData&&FormData.prototype.isPrototypeOf(C)?this._bodyFormData=C:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(C)?this._bodyText=C.toString():n.arrayBuffer&&n.blob&&a(C)?(this._bodyArrayBuffer=B(C.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(C)||l(C))?this._bodyArrayBuffer=B(C):this._bodyText=C=Object.prototype.toString.call(C):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof C=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(C)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var C=b(this);if(C)return C;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var C=b(this);return C||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(L);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var C=b(this);if(C)return C;if(this._bodyBlob)return N(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(z(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(K)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function A(C){var M=C.toUpperCase();return k.indexOf(M)>-1?M:C}function P(C,M){if(!(this instanceof P))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');M=M||{};var Z=M.body;if(C instanceof P){if(C.bodyUsed)throw new TypeError("Already read");this.url=C.url,this.credentials=C.credentials,M.headers||(this.headers=new g(C.headers)),this.method=C.method,this.mode=C.mode,this.signal=C.signal,!Z&&C._bodyInit!=null&&(Z=C._bodyInit,C.bodyUsed=!0)}else this.url=String(C);if(this.credentials=M.credentials||this.credentials||"same-origin",(M.headers||!this.headers)&&(this.headers=new g(M.headers)),this.method=A(M.method||this.method||"GET"),this.mode=M.mode||this.mode||null,this.signal=M.signal||this.signal||function(){if("AbortController"in o){var be=new AbortController;return be.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&Z)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(Z),(this.method==="GET"||this.method==="HEAD")&&(M.cache==="no-store"||M.cache==="no-cache")){var Se=/([?&])_=[^&]*/;if(Se.test(this.url))this.url=this.url.replace(Se,"$1_="+new Date().getTime());else{var Ne=/\?/;this.url+=(Ne.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}P.prototype.clone=function(){return new P(this,{body:this._bodyInit})};function K(C){var M=new FormData;return C.trim().split("&").forEach(function(Z){if(Z){var Se=Z.split("="),Ne=Se.shift().replace(/\+/g," "),be=Se.join("=").replace(/\+/g," ");M.append(decodeURIComponent(Ne),decodeURIComponent(be))}}),M}function te(C){var M=new g,Z=C.replace(/\r?\n[\t ]+/g," ");return Z.split("\r").map(function(Se){return Se.indexOf(`
48
- `)===0?Se.substr(1,Se.length):Se}).forEach(function(Se){var Ne=Se.split(":"),be=Ne.shift().trim();if(be){var Ya=Ne.join(":").trim();try{M.append(be,Ya)}catch(tc){console.warn("Response "+tc.message)}}}),M}F.call(P.prototype);function ye(C,M){if(!(this instanceof ye))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(M||(M={}),this.type="default",this.status=M.status===void 0?200:M.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=M.statusText===void 0?"":""+M.statusText,this.headers=new g(M.headers),this.url=M.url||"",this._initBody(C)}F.call(ye.prototype),ye.prototype.clone=function(){return new ye(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},ye.error=function(){var C=new ye(null,{status:200,statusText:""});return C.ok=!1,C.status=0,C.type="error",C};var he=[301,302,303,307,308];ye.redirect=function(C,M){if(he.indexOf(M)===-1)throw new RangeError("Invalid status code");return new ye(null,{status:M,headers:{location:C}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(M,Z){this.message=M,this.name=Z;var Se=Error(M);this.stack=Se.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function X(C,M){return new Promise(function(Z,Se){var Ne=new P(C,M);if(Ne.signal&&Ne.signal.aborted)return Se(new r.DOMException("Aborted","AbortError"));var be=new XMLHttpRequest;function Ya(){be.abort()}be.onload=function(){var ht={statusText:be.statusText,headers:te(be.getAllResponseHeaders()||"")};Ne.url.indexOf("file://")===0&&(be.status<200||be.status>599)?ht.status=200:ht.status=be.status,ht.url="responseURL"in be?be.responseURL:ht.headers.get("X-Request-URL");var Xo="response"in be?be.response:be.responseText;setTimeout(function(){Z(new ye(Xo,ht))},0)},be.onerror=function(){setTimeout(function(){Se(new TypeError("Network request failed"))},0)},be.ontimeout=function(){setTimeout(function(){Se(new TypeError("Network request timed out"))},0)},be.onabort=function(){setTimeout(function(){Se(new r.DOMException("Aborted","AbortError"))},0)};function tc(ht){try{return ht===""&&o.location.href?o.location.href:ht}catch{return ht}}if(be.open(Ne.method,tc(Ne.url),!0),Ne.credentials==="include"?be.withCredentials=!0:Ne.credentials==="omit"&&(be.withCredentials=!1),"responseType"in be&&(n.blob?be.responseType="blob":n.arrayBuffer&&(be.responseType="arraybuffer")),M&&typeof M.headers=="object"&&!(M.headers instanceof g||o.Headers&&M.headers instanceof o.Headers)){var h2=[];Object.getOwnPropertyNames(M.headers).forEach(function(ht){h2.push(d(ht)),be.setRequestHeader(ht,p(M.headers[ht]))}),Ne.headers.forEach(function(ht,Xo){h2.indexOf(Xo)===-1&&be.setRequestHeader(Xo,ht)})}else Ne.headers.forEach(function(ht,Xo){be.setRequestHeader(Xo,ht)});Ne.signal&&(Ne.signal.addEventListener("abort",Ya),be.onreadystatechange=function(){be.readyState===4&&Ne.signal.removeEventListener("abort",Ya)}),be.send(typeof Ne._bodyInit>"u"?null:Ne._bodyInit)})}return X.polyfill=!0,o.fetch||(o.fetch=X,o.Headers=g,o.Request=P,o.Response=ye),r.Headers=g,r.Request=P,r.Response=ye,r.fetch=X,r}({})})(Us);Us.fetch.ponyfill=!0;delete Us.fetch.polyfill;var ln=Fs.fetch?Fs:Us;Po=ln.fetch;Po.default=ln.fetch;Po.fetch=ln.fetch;Po.Headers=ln.Headers;Po.Request=ln.Request;Po.Response=ln.Response;v4.exports=Po});var xu=u(()=>{});var S4,C4,O4,Io,E4,L4,bi,A4,R4,w4,_4,k4,T4,M4,$o,N4,P4,vi,B4,I4,Hs,$4,cn,F4,Fr,dn,z4,Qe,lr,D4,Su=u(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(S4||(S4={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(C4||(C4={}));(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"})(O4||(O4={}));(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"})(Io||(Io={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(E4||(E4={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(L4||(L4={}));(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__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",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__DISPLAY="TOPIC__DISPLAY",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"})(bi||(bi={}));(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"})(A4||(A4={}));(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"})(R4||(R4={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(w4||(w4={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(_4||(_4={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(k4||(k4={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(T4||(T4={}));(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"})(M4||(M4={}));(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})($o||($o={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(N4||(N4={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(P4||(P4={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(vi||(vi={}));B4=t=>Object.keys(vi).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(I4||(I4={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Hs||(Hs={}));(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"})($4||($4={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(cn||(cn={}));F4=t=>Object.keys(cn).includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Fr||(Fr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(dn||(dn={}));(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(z4||(z4={}));(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"})(Qe||(Qe={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(lr||(lr={}));(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(D4||(D4={}))});var U4,H4,G4,V4,W4,j4,K4,q4,Z4=u(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(U4||(U4={}));(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.OTHER="OTHER"})(H4||(H4={}));(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(G4||(G4={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(V4||(V4={}));(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(W4||(W4={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(j4||(j4={}));(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(K4||(K4={}));(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(q4||(q4={}))});var Y4=u(()=>{Su();Z4()});function X4(t,e){return t===e||(q5[t]??[]).some(r=>X4(r,e))}function Q4(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(o=>X4(o,e))}var q5,J4=u(()=>{Su();q5={[Qe.PERSONAL_BOOK_SHARE_USER]:[Qe.PERSONAL_BOOK_USER],[Qe.HTML_EXPORT_USER]:[Qe.PERSONAL_BOOK_USER],[Qe.PDF_EXPORT_USER]:[Qe.PERSONAL_BOOK_USER],[Qe.KHUB_ADMIN]:[Qe.CONTENT_PUBLISHER],[Qe.ADMIN]:[Qe.KHUB_ADMIN,Qe.USERS_ADMIN,Qe.PORTAL_ADMIN,Qe.BEHAVIOR_DATA_USER],[Qe.GENERATIVE_AI_EXPORT_USER]:[Qe.GENERATIVE_AI_USER]}});var em=u(()=>{});var Z5,zo=u(()=>{Z5=I8(x4(),1);xu();Y4();J4();em();xu()});var Cu={};oe(Cu,{SearchPlaceConverter:()=>Do,SearchPlaceQueryParams:()=>Le,isSearchPlaceQueryParams:()=>rm,serializeRequest:()=>X5});function Y5(t){return`"${t}"`}function tm(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function X5(t,e){return new Do(t).serialize(e)}function rm(t){return Q5.has(t)}var Le,Q5,Do,Ou=u(()=>{"use strict";zo();Tt();(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.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(Le||(Le={}));Q5=new Set(Object.values(Le));Do=class{constructor(e,r=20,o=!1,n="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=n,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=r==null||r.trim().length===0,n=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,r=!1){var o,n,a,s,l,d,p,m,g,b,E;let L=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&L.append(Le.LOCALE,e.contentLocale):L.append(Le.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&L.append(Le.QUERY,e.query);let N=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(A=>A.valueFilter&&!A.valueFilter.negative))!==null&&a!==void 0?a:[];if(N.length>0){let A=N.map(P=>{var K,te;let ye=((te=(K=P.valueFilter)===null||K===void 0?void 0:K.values)!==null&&te!==void 0?te:[]).map(he=>this.escapeFilters(he)).map(he=>Y5(tm(he))).join("_");return`${P.key}~${ye}`}).join("*");L.append(Le.VALUE_FILTERS,A)}let z=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(A=>A.dateFilter))!==null&&l!==void 0?l:[];if(z.length>0){let A=z.map(P=>{var K;return`${P.key}~${(K=P.dateFilter)===null||K===void 0?void 0:K.type.toLowerCase()}`}).join("*");L.append(Le.DATE_FILTERS,A)}let B=(p=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(A=>A.rangeFilter))!==null&&p!==void 0?p:[];if(B.length>0){let A=B.map(P=>{var K,te;return`${P.key}~${(K=P.rangeFilter)===null||K===void 0?void 0:K.from}_${(te=P.rangeFilter)===null||te===void 0?void 0:te.to}`}).join("*");L.append(Le.RANGE_FILTERS,A)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&L.append(Le.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&L.append(Le.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&L.append(Le.SORT,e.sortId),!((m=e.paging)===null||m===void 0)&&m.perPage&&((b=(g=e.paging)===null||g===void 0?void 0:g.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&L.append(Le.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&L.append(Le.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let F=(E=e.otherQueryParams)!==null&&E!==void 0?E:{};for(let A in F)L.append(A,F[A]);let k=new Array;return L.forEach((A,P)=>{k.push(this.encodeQueryString(P)+"="+this.encodeQueryString(A))}),encodeURI(k.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let o=e.split("?"),n=this.fromURLSearchParams(o.slice(1).join("?")),a=o[0].split("/search/")[1];return a==null?n:{...n,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,o,n,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(B){console.warn("Could not decode search request query params, fallback on raw value",B)}let d=new URLSearchParams(e),p=d.get(Le.LOCALE)==="all"?void 0:d.get(Le.LOCALE),m=((r=d.get(Le.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),g=(o=d.get(Le.SORT))===null||o===void 0?void 0:o.toLowerCase(),b=(n=d.get(Le.SCOPE))!==null&&n!==void 0?n:"default",E=+((a=d.get(Le.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),L=d.get(Le.KEYWORD_MATCH),N=L?L.toUpperCase()===$o.MANDATORY?$o.MANDATORY:$o.OPTIONAL:void 0,z={};for(let B of d.keys())rm(B)||(z[B]=d.get(B));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(Le.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:B4(m)?m:"EVERYWHERE",sortId:g,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:ao(1,isNaN(E)?this.defaultPerPage:E,1e3)},keywordMatch:N,otherQueryParams:z}}parseCompatFilters(e){var r,o,n,a,s,l;let d=[];return e.has(Le.FILTERS)&&(d=this.parseValueFilters((r=e.get(Le.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(Le.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(Le.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(Le.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(Le.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(Le.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(tm).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:cn[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}unescapeFilterValue(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replace(n,r);return e}parseLegacyPeriodFilter(e){if(F4(e))return[{key:"ft:lastEdition",dateFilter:{type:cn[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:n}}]}return[]}}});var Au={};oe(Au,{toFtFormComponent:()=>Lu});var Eu,Lu,Ru=u(()=>{"use strict";Tt();Eu=Symbol("elementInternals"),Lu=je(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Eu].form}constructor(...o){super(o),this[Eu]=this.attachInternals()}setFormValue(o){this[Eu].setFormValue(o)}}return e})});var wu={};oe(wu,{DateFormatter:()=>xi});var xi,Gs=u(()=>{"use strict";xi=class{static format(e,r,o,n){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,n)):this.getIntlDateTime(e,r,o,n)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,n){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(a);if(!n)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}}});var ku={};oe(ku,{ALL_KEYS_VALUE:()=>_u,SameWindowStorageEvent:()=>un});var _u,un,Tu=u(()=>{"use strict";_u="__all__",un=class extends CustomEvent{constructor(e,r,o){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:o}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==_u}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new un(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new un(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new un(_u))}})});var Nu={};oe(Nu,{FocusMainContentEvent:()=>Mu});var Mu,Pu=u(()=>{"use strict";Mu=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var om={};function J5(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function e7(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}var Iu=u(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};document.addEventListener("keydown",J5);document.addEventListener("click",e7)});var pn,$u=u(()=>{"use strict";I();pn=_`
48
+ `)===0?Se.substr(1,Se.length):Se}).forEach(function(Se){var Ne=Se.split(":"),be=Ne.shift().trim();if(be){var Ya=Ne.join(":").trim();try{M.append(be,Ya)}catch(tc){console.warn("Response "+tc.message)}}}),M}F.call(P.prototype);function ye(C,M){if(!(this instanceof ye))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(M||(M={}),this.type="default",this.status=M.status===void 0?200:M.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=M.statusText===void 0?"":""+M.statusText,this.headers=new g(M.headers),this.url=M.url||"",this._initBody(C)}F.call(ye.prototype),ye.prototype.clone=function(){return new ye(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},ye.error=function(){var C=new ye(null,{status:200,statusText:""});return C.ok=!1,C.status=0,C.type="error",C};var he=[301,302,303,307,308];ye.redirect=function(C,M){if(he.indexOf(M)===-1)throw new RangeError("Invalid status code");return new ye(null,{status:M,headers:{location:C}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(M,Z){this.message=M,this.name=Z;var Se=Error(M);this.stack=Se.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function X(C,M){return new Promise(function(Z,Se){var Ne=new P(C,M);if(Ne.signal&&Ne.signal.aborted)return Se(new r.DOMException("Aborted","AbortError"));var be=new XMLHttpRequest;function Ya(){be.abort()}be.onload=function(){var ht={statusText:be.statusText,headers:te(be.getAllResponseHeaders()||"")};Ne.url.indexOf("file://")===0&&(be.status<200||be.status>599)?ht.status=200:ht.status=be.status,ht.url="responseURL"in be?be.responseURL:ht.headers.get("X-Request-URL");var Xo="response"in be?be.response:be.responseText;setTimeout(function(){Z(new ye(Xo,ht))},0)},be.onerror=function(){setTimeout(function(){Se(new TypeError("Network request failed"))},0)},be.ontimeout=function(){setTimeout(function(){Se(new TypeError("Network request timed out"))},0)},be.onabort=function(){setTimeout(function(){Se(new r.DOMException("Aborted","AbortError"))},0)};function tc(ht){try{return ht===""&&o.location.href?o.location.href:ht}catch{return ht}}if(be.open(Ne.method,tc(Ne.url),!0),Ne.credentials==="include"?be.withCredentials=!0:Ne.credentials==="omit"&&(be.withCredentials=!1),"responseType"in be&&(n.blob?be.responseType="blob":n.arrayBuffer&&(be.responseType="arraybuffer")),M&&typeof M.headers=="object"&&!(M.headers instanceof g||o.Headers&&M.headers instanceof o.Headers)){var h2=[];Object.getOwnPropertyNames(M.headers).forEach(function(ht){h2.push(d(ht)),be.setRequestHeader(ht,p(M.headers[ht]))}),Ne.headers.forEach(function(ht,Xo){h2.indexOf(Xo)===-1&&be.setRequestHeader(Xo,ht)})}else Ne.headers.forEach(function(ht,Xo){be.setRequestHeader(Xo,ht)});Ne.signal&&(Ne.signal.addEventListener("abort",Ya),be.onreadystatechange=function(){be.readyState===4&&Ne.signal.removeEventListener("abort",Ya)}),be.send(typeof Ne._bodyInit>"u"?null:Ne._bodyInit)})}return X.polyfill=!0,o.fetch||(o.fetch=X,o.Headers=g,o.Request=P,o.Response=ye),r.Headers=g,r.Request=P,r.Response=ye,r.fetch=X,r}({})})(Us);Us.fetch.ponyfill=!0;delete Us.fetch.polyfill;var ln=Fs.fetch?Fs:Us;Po=ln.fetch;Po.default=ln.fetch;Po.fetch=ln.fetch;Po.Headers=ln.Headers;Po.Request=ln.Request;Po.Response=ln.Response;v4.exports=Po});var xu=u(()=>{});var S4,C4,O4,Io,E4,L4,bi,A4,R4,w4,_4,k4,T4,M4,$o,N4,P4,vi,B4,I4,Hs,$4,cn,F4,Fr,dn,z4,Je,lr,D4,Su=u(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(S4||(S4={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(C4||(C4={}));(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"})(O4||(O4={}));(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"})(Io||(Io={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(E4||(E4={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(L4||(L4={}));(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__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",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__DISPLAY="TOPIC__DISPLAY",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"})(bi||(bi={}));(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"})(A4||(A4={}));(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"})(R4||(R4={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(w4||(w4={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(_4||(_4={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(k4||(k4={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(T4||(T4={}));(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"})(M4||(M4={}));(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})($o||($o={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(N4||(N4={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(P4||(P4={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(vi||(vi={}));B4=t=>Object.keys(vi).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(I4||(I4={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Hs||(Hs={}));(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"})($4||($4={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(cn||(cn={}));F4=t=>Object.keys(cn).includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Fr||(Fr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(dn||(dn={}));(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(z4||(z4={}));(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"})(Je||(Je={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(lr||(lr={}));(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(D4||(D4={}))});var U4,H4,G4,V4,W4,j4,K4,q4,Z4=u(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(U4||(U4={}));(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.OTHER="OTHER"})(H4||(H4={}));(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(G4||(G4={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(V4||(V4={}));(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(W4||(W4={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(j4||(j4={}));(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(K4||(K4={}));(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(q4||(q4={}))});var Y4=u(()=>{Su();Z4()});function X4(t,e){return t===e||(q5[t]??[]).some(r=>X4(r,e))}function Q4(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(o=>X4(o,e))}var q5,J4=u(()=>{Su();q5={[Je.PERSONAL_BOOK_SHARE_USER]:[Je.PERSONAL_BOOK_USER],[Je.HTML_EXPORT_USER]:[Je.PERSONAL_BOOK_USER],[Je.PDF_EXPORT_USER]:[Je.PERSONAL_BOOK_USER],[Je.KHUB_ADMIN]:[Je.CONTENT_PUBLISHER],[Je.ADMIN]:[Je.KHUB_ADMIN,Je.USERS_ADMIN,Je.PORTAL_ADMIN,Je.BEHAVIOR_DATA_USER],[Je.GENERATIVE_AI_EXPORT_USER]:[Je.GENERATIVE_AI_USER]}});var em=u(()=>{});var Z5,zo=u(()=>{Z5=I8(x4(),1);xu();Y4();J4();em();xu()});var Cu={};oe(Cu,{SearchPlaceConverter:()=>Do,SearchPlaceQueryParams:()=>Le,isSearchPlaceQueryParams:()=>rm,serializeRequest:()=>X5});function Y5(t){return`"${t}"`}function tm(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function X5(t,e){return new Do(t).serialize(e)}function rm(t){return Q5.has(t)}var Le,Q5,Do,Ou=u(()=>{"use strict";zo();Tt();(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.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(Le||(Le={}));Q5=new Set(Object.values(Le));Do=class{constructor(e,r=20,o=!1,n="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=n,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=r==null||r.trim().length===0,n=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,r=!1){var o,n,a,s,l,d,p,m,g,b,E;let L=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&L.append(Le.LOCALE,e.contentLocale):L.append(Le.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&L.append(Le.QUERY,e.query);let N=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(A=>A.valueFilter&&!A.valueFilter.negative))!==null&&a!==void 0?a:[];if(N.length>0){let A=N.map(P=>{var K,te;let ye=((te=(K=P.valueFilter)===null||K===void 0?void 0:K.values)!==null&&te!==void 0?te:[]).map(he=>this.escapeFilters(he)).map(he=>Y5(tm(he))).join("_");return`${P.key}~${ye}`}).join("*");L.append(Le.VALUE_FILTERS,A)}let z=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(A=>A.dateFilter))!==null&&l!==void 0?l:[];if(z.length>0){let A=z.map(P=>{var K;return`${P.key}~${(K=P.dateFilter)===null||K===void 0?void 0:K.type.toLowerCase()}`}).join("*");L.append(Le.DATE_FILTERS,A)}let B=(p=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(A=>A.rangeFilter))!==null&&p!==void 0?p:[];if(B.length>0){let A=B.map(P=>{var K,te;return`${P.key}~${(K=P.rangeFilter)===null||K===void 0?void 0:K.from}_${(te=P.rangeFilter)===null||te===void 0?void 0:te.to}`}).join("*");L.append(Le.RANGE_FILTERS,A)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&L.append(Le.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&L.append(Le.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&L.append(Le.SORT,e.sortId),!((m=e.paging)===null||m===void 0)&&m.perPage&&((b=(g=e.paging)===null||g===void 0?void 0:g.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&L.append(Le.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&L.append(Le.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let F=(E=e.otherQueryParams)!==null&&E!==void 0?E:{};for(let A in F)L.append(A,F[A]);let k=new Array;return L.forEach((A,P)=>{k.push(this.encodeQueryString(P)+"="+this.encodeQueryString(A))}),encodeURI(k.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let o=e.split("?"),n=this.fromURLSearchParams(o.slice(1).join("?")),a=o[0].split("/search/")[1];return a==null?n:{...n,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,o,n,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(B){console.warn("Could not decode search request query params, fallback on raw value",B)}let d=new URLSearchParams(e),p=d.get(Le.LOCALE)==="all"?void 0:d.get(Le.LOCALE),m=((r=d.get(Le.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),g=(o=d.get(Le.SORT))===null||o===void 0?void 0:o.toLowerCase(),b=(n=d.get(Le.SCOPE))!==null&&n!==void 0?n:"default",E=+((a=d.get(Le.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),L=d.get(Le.KEYWORD_MATCH),N=L?L.toUpperCase()===$o.MANDATORY?$o.MANDATORY:$o.OPTIONAL:void 0,z={};for(let B of d.keys())rm(B)||(z[B]=d.get(B));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(Le.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:B4(m)?m:"EVERYWHERE",sortId:g,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:ao(1,isNaN(E)?this.defaultPerPage:E,1e3)},keywordMatch:N,otherQueryParams:z}}parseCompatFilters(e){var r,o,n,a,s,l;let d=[];return e.has(Le.FILTERS)&&(d=this.parseValueFilters((r=e.get(Le.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(Le.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(Le.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(Le.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(Le.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(Le.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(tm).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:cn[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}unescapeFilterValue(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replace(n,r);return e}parseLegacyPeriodFilter(e){if(F4(e))return[{key:"ft:lastEdition",dateFilter:{type:cn[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:n}}]}return[]}}});var Au={};oe(Au,{toFtFormComponent:()=>Lu});var Eu,Lu,Ru=u(()=>{"use strict";Tt();Eu=Symbol("elementInternals"),Lu=je(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Eu].form}constructor(...o){super(o),this[Eu]=this.attachInternals()}setFormValue(o){this[Eu].setFormValue(o)}}return e})});var wu={};oe(wu,{DateFormatter:()=>xi});var xi,Gs=u(()=>{"use strict";xi=class{static format(e,r,o,n){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,n)):this.getIntlDateTime(e,r,o,n)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,n){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(a);if(!n)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}}});var ku={};oe(ku,{ALL_KEYS_VALUE:()=>_u,SameWindowStorageEvent:()=>un});var _u,un,Tu=u(()=>{"use strict";_u="__all__",un=class extends CustomEvent{constructor(e,r,o){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:o}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==_u}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new un(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new un(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new un(_u))}})});var Nu={};oe(Nu,{FocusMainContentEvent:()=>Mu});var Mu,Pu=u(()=>{"use strict";Mu=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var om={};function J5(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function e7(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}var Iu=u(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};document.addEventListener("keydown",J5);document.addEventListener("click",e7)});var pn,$u=u(()=>{"use strict";I();pn=_`
49
49
  .sr-only {
50
50
  position:absolute;
51
51
  left:-10000px;
@@ -194,7 +194,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
194
194
  opacity: ${T.opacityContentOnSurfacePressed};
195
195
  transform: translate(-50%, -50%) scale(1);
196
196
  }
197
- `});var Sm,ho,q,fn,hn,mn,gn,fo,nt,ut,yn,bn,Hr,Cm,Om,Em,Lm,Am,Bo,Gr,Rm,wm,_m,km,cr=u(()=>{"use strict";I();w();Sm=i.extend("--ft-typography-font-family","",R.titleFont),ho=i.extend("--ft-typography-font-family","",R.contentFont),q={fontFamily:ho,fontSize:i.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:i.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:i.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:i.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:i.create("--ft-typography-text-transform","","UNKNOWN","inherit")},fn={fontFamily:i.extend("--ft-typography-title-font-family","",Sm),fontSize:i.extend("--ft-typography-title-font-size","",q.fontSize,"20px"),fontWeight:i.extend("--ft-typography-title-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-letter-spacing","",q.letterSpacing,"0.15px"),lineHeight:i.extend("--ft-typography-title-line-height","",q.lineHeight,"1.2"),textTransform:i.extend("--ft-typography-title-text-transform","",q.textTransform,"inherit")},hn={fontFamily:i.extend("--ft-typography-title-dense-font-family","",Sm),fontSize:i.extend("--ft-typography-title-dense-font-size","",q.fontSize,"14px"),fontWeight:i.extend("--ft-typography-title-dense-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-dense-letter-spacing","",q.letterSpacing,"0.105px"),lineHeight:i.extend("--ft-typography-title-dense-line-height","",q.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-title-dense-text-transform","",q.textTransform,"inherit")},mn={fontFamily:i.extend("--ft-typography-subtitle1-font-family","",ho),fontSize:i.extend("--ft-typography-subtitle1-font-size","",q.fontSize,"16px"),fontWeight:i.extend("--ft-typography-subtitle1-font-weight","",q.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-subtitle1-letter-spacing","",q.letterSpacing,"0.144px"),lineHeight:i.extend("--ft-typography-subtitle1-line-height","",q.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-subtitle1-text-transform","",q.textTransform,"inherit")},gn={fontFamily:i.extend("--ft-typography-subtitle2-font-family","",ho),fontSize:i.extend("--ft-typography-subtitle2-font-size","",q.fontSize,"14px"),fontWeight:i.extend("--ft-typography-subtitle2-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-subtitle2-letter-spacing","",q.letterSpacing,"0.098px"),lineHeight:i.extend("--ft-typography-subtitle2-line-height","",q.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-subtitle2-text-transform","",q.textTransform,"inherit")},fo={fontFamily:i.extend("--ft-typography-body1-font-family","",ho),fontSize:i.extend("--ft-typography-body1-font-size","",q.fontSize,"16px"),fontWeight:i.extend("--ft-typography-body1-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body1-letter-spacing","",q.letterSpacing,"0.496px"),lineHeight:i.extend("--ft-typography-body1-line-height","",q.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-body1-text-transform","",q.textTransform,"inherit")},nt={fontFamily:i.extend("--ft-typography-body2-font-family","",ho),fontSize:i.extend("--ft-typography-body2-font-size","",q.fontSize,"14px"),fontWeight:i.extend("--ft-typography-body2-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body2-letter-spacing","",q.letterSpacing,"0.252px"),lineHeight:i.extend("--ft-typography-body2-line-height","",q.lineHeight,"1.4"),textTransform:i.extend("--ft-typography-body2-text-transform","",q.textTransform,"inherit")},ut={fontFamily:i.extend("--ft-typography-caption-font-family","",ho),fontSize:i.extend("--ft-typography-caption-font-size","",q.fontSize,"12px"),fontWeight:i.extend("--ft-typography-caption-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-caption-letter-spacing","",q.letterSpacing,"0.396px"),lineHeight:i.extend("--ft-typography-caption-line-height","",q.lineHeight,"1.33"),textTransform:i.extend("--ft-typography-caption-text-transform","",q.textTransform,"inherit")},yn={fontFamily:i.extend("--ft-typography-breadcrumb-font-family","",ho),fontSize:i.extend("--ft-typography-breadcrumb-font-size","",q.fontSize,"10px"),fontWeight:i.extend("--ft-typography-breadcrumb-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-breadcrumb-letter-spacing","",q.letterSpacing,"0.33px"),lineHeight:i.extend("--ft-typography-breadcrumb-line-height","",q.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-breadcrumb-text-transform","",q.textTransform,"inherit")},bn={fontFamily:i.extend("--ft-typography-overline-font-family","",ho),fontSize:i.extend("--ft-typography-overline-font-size","",q.fontSize,"10px"),fontWeight:i.extend("--ft-typography-overline-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-overline-letter-spacing","",q.letterSpacing,"1.5px"),lineHeight:i.extend("--ft-typography-overline-line-height","",q.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-overline-text-transform","",q.textTransform,"uppercase")},Hr={fontFamily:i.extend("--ft-typography-button-font-family","",ho),fontSize:i.extend("--ft-typography-button-font-size","",q.fontSize,"14px"),fontWeight:i.extend("--ft-typography-button-font-weight","",q.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-button-letter-spacing","",q.letterSpacing,"1.246px"),lineHeight:i.extend("--ft-typography-button-line-height","",q.lineHeight,"1.15"),textTransform:i.extend("--ft-typography-button-text-transform","",q.textTransform,"uppercase")},Cm=_`
197
+ `});var Sm,ho,q,fn,hn,mn,gn,fo,at,ut,yn,bn,Hr,Cm,Om,Em,Lm,Am,Bo,Gr,Rm,wm,_m,km,cr=u(()=>{"use strict";I();w();Sm=i.extend("--ft-typography-font-family","",R.titleFont),ho=i.extend("--ft-typography-font-family","",R.contentFont),q={fontFamily:ho,fontSize:i.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:i.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:i.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:i.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:i.create("--ft-typography-text-transform","","UNKNOWN","inherit")},fn={fontFamily:i.extend("--ft-typography-title-font-family","",Sm),fontSize:i.extend("--ft-typography-title-font-size","",q.fontSize,"20px"),fontWeight:i.extend("--ft-typography-title-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-letter-spacing","",q.letterSpacing,"0.15px"),lineHeight:i.extend("--ft-typography-title-line-height","",q.lineHeight,"1.2"),textTransform:i.extend("--ft-typography-title-text-transform","",q.textTransform,"inherit")},hn={fontFamily:i.extend("--ft-typography-title-dense-font-family","",Sm),fontSize:i.extend("--ft-typography-title-dense-font-size","",q.fontSize,"14px"),fontWeight:i.extend("--ft-typography-title-dense-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-dense-letter-spacing","",q.letterSpacing,"0.105px"),lineHeight:i.extend("--ft-typography-title-dense-line-height","",q.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-title-dense-text-transform","",q.textTransform,"inherit")},mn={fontFamily:i.extend("--ft-typography-subtitle1-font-family","",ho),fontSize:i.extend("--ft-typography-subtitle1-font-size","",q.fontSize,"16px"),fontWeight:i.extend("--ft-typography-subtitle1-font-weight","",q.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-subtitle1-letter-spacing","",q.letterSpacing,"0.144px"),lineHeight:i.extend("--ft-typography-subtitle1-line-height","",q.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-subtitle1-text-transform","",q.textTransform,"inherit")},gn={fontFamily:i.extend("--ft-typography-subtitle2-font-family","",ho),fontSize:i.extend("--ft-typography-subtitle2-font-size","",q.fontSize,"14px"),fontWeight:i.extend("--ft-typography-subtitle2-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-subtitle2-letter-spacing","",q.letterSpacing,"0.098px"),lineHeight:i.extend("--ft-typography-subtitle2-line-height","",q.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-subtitle2-text-transform","",q.textTransform,"inherit")},fo={fontFamily:i.extend("--ft-typography-body1-font-family","",ho),fontSize:i.extend("--ft-typography-body1-font-size","",q.fontSize,"16px"),fontWeight:i.extend("--ft-typography-body1-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body1-letter-spacing","",q.letterSpacing,"0.496px"),lineHeight:i.extend("--ft-typography-body1-line-height","",q.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-body1-text-transform","",q.textTransform,"inherit")},at={fontFamily:i.extend("--ft-typography-body2-font-family","",ho),fontSize:i.extend("--ft-typography-body2-font-size","",q.fontSize,"14px"),fontWeight:i.extend("--ft-typography-body2-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body2-letter-spacing","",q.letterSpacing,"0.252px"),lineHeight:i.extend("--ft-typography-body2-line-height","",q.lineHeight,"1.4"),textTransform:i.extend("--ft-typography-body2-text-transform","",q.textTransform,"inherit")},ut={fontFamily:i.extend("--ft-typography-caption-font-family","",ho),fontSize:i.extend("--ft-typography-caption-font-size","",q.fontSize,"12px"),fontWeight:i.extend("--ft-typography-caption-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-caption-letter-spacing","",q.letterSpacing,"0.396px"),lineHeight:i.extend("--ft-typography-caption-line-height","",q.lineHeight,"1.33"),textTransform:i.extend("--ft-typography-caption-text-transform","",q.textTransform,"inherit")},yn={fontFamily:i.extend("--ft-typography-breadcrumb-font-family","",ho),fontSize:i.extend("--ft-typography-breadcrumb-font-size","",q.fontSize,"10px"),fontWeight:i.extend("--ft-typography-breadcrumb-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-breadcrumb-letter-spacing","",q.letterSpacing,"0.33px"),lineHeight:i.extend("--ft-typography-breadcrumb-line-height","",q.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-breadcrumb-text-transform","",q.textTransform,"inherit")},bn={fontFamily:i.extend("--ft-typography-overline-font-family","",ho),fontSize:i.extend("--ft-typography-overline-font-size","",q.fontSize,"10px"),fontWeight:i.extend("--ft-typography-overline-font-weight","",q.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-overline-letter-spacing","",q.letterSpacing,"1.5px"),lineHeight:i.extend("--ft-typography-overline-line-height","",q.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-overline-text-transform","",q.textTransform,"uppercase")},Hr={fontFamily:i.extend("--ft-typography-button-font-family","",ho),fontSize:i.extend("--ft-typography-button-font-size","",q.fontSize,"14px"),fontWeight:i.extend("--ft-typography-button-font-weight","",q.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-button-letter-spacing","",q.letterSpacing,"1.246px"),lineHeight:i.extend("--ft-typography-button-line-height","",q.lineHeight,"1.15"),textTransform:i.extend("--ft-typography-button-text-transform","",q.textTransform,"uppercase")},Cm=_`
198
198
  .ft-typography--title {
199
199
  font-family: ${fn.fontFamily};
200
200
  font-size: ${fn.fontSize};
@@ -242,12 +242,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
242
242
  }
243
243
  `,Bo=_`
244
244
  .ft-typography--body2 {
245
- font-family: ${nt.fontFamily};
246
- font-size: ${nt.fontSize};
247
- font-weight: ${nt.fontWeight};
248
- letter-spacing: ${nt.letterSpacing};
249
- line-height: ${nt.lineHeight};
250
- text-transform: ${nt.textTransform};
245
+ font-family: ${at.fontFamily};
246
+ font-size: ${at.fontSize};
247
+ font-weight: ${at.fontWeight};
248
+ letter-spacing: ${at.letterSpacing};
249
+ line-height: ${at.lineHeight};
250
+ text-transform: ${at.textTransform};
251
251
  }
252
252
  `,Gr=_`
253
253
  .ft-typography--caption {
@@ -572,7 +572,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
572
572
  text-decoration: ${r.textDecoration};
573
573
  text-transform: ${r.textCase};
574
574
  }
575
- `}var Hm,Xu=u(()=>{"use strict";ge();I();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();Hm=[Object.keys(gs).map(t=>s7(t))]});var Gm,at,Qu=u(()=>{"use strict";qu();J();w();Yu();Xu();Gm=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},at=class extends W{constructor(){super(...arguments),this.variant=Pe.body2medium}render(){return this.element?xn`
575
+ `}var Hm,Xu=u(()=>{"use strict";ge();I();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();ge();Hm=[Object.keys(gs).map(t=>s7(t))]});var Gm,st,Qu=u(()=>{"use strict";qu();J();w();Yu();Xu();Gm=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},st=class extends W{constructor(){super(...arguments),this.variant=Pe.body2medium}render(){return this.element?xn`
576
576
  <${vn(this.element)}
577
577
  part="text"
578
578
  class="ftds-typography ftds-typography--${this.variant}">
@@ -580,7 +580,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
580
580
  </${vn(this.element)}>
581
581
  `:xn`
582
582
  <slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
583
- `}};at.styles=[...Hm];Gm([h()],at.prototype,"element",void 0);Gm([h()],at.prototype,"variant",void 0)});var Vm=u(()=>{"use strict";w();Zu();Qu();H("ft-typography")(de);H("ftds-typography")(at)});var Re=u(()=>{"use strict";Zu();cr();Ks();Qu();Xu();Yu();Vm()});var va,Wm,Ju=u(()=>{"use strict";I();w();va={distance:i.create("--ft-tooltip-distance","","SIZE","4px"),color:i.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:i.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:i.extend("--ft-tooltip-border-radius","",R.borderRadiusS),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","150px")},Wm=_`
583
+ `}};st.styles=[...Hm];Gm([h()],st.prototype,"element",void 0);Gm([h()],st.prototype,"variant",void 0)});var Vm=u(()=>{"use strict";w();Zu();Qu();H("ft-typography")(de);H("ftds-typography")(st)});var Re=u(()=>{"use strict";Zu();cr();Ks();Qu();Xu();Yu();Vm()});var va,Wm,Ju=u(()=>{"use strict";I();w();va={distance:i.create("--ft-tooltip-distance","","SIZE","4px"),color:i.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:i.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:i.extend("--ft-tooltip-border-radius","",R.borderRadiusS),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","150px")},Wm=_`
584
584
  .ft-tooltip--container {
585
585
  display: block;
586
586
  }
@@ -611,10 +611,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
611
611
  position: relative;
612
612
  word-break: break-word;
613
613
  }
614
- `});var l7,Ai,c7,j,Lt=u(()=>{"use strict";w();l7="ft-app-info",Ai=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Ai.eventName="authentication-change";c7={session:(t,e)=>{ot(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>j.dispatchEvent(new Ai(e.payload)),0))}},j=uo.get({name:l7,reducers:c7,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}})});var qs,wI,jm=u(()=>{"use strict";J();Ds();Gs();Lt();w();qs=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},wI=je(Symbol("withDateFormat"),function(t){class e extends t{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(j)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===o))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>xi.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return qs([h({type:Boolean})],e.prototype,"useLongDateFormat",void 0),qs([h({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),qs([ke({store:j.name,selector:r=>{var o,n;return(n=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),qs([ke({store:j.name})],e.prototype,"uiLocale",void 0),e})});var Ri,ep=u(()=>{"use strict";Lt();Ri=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=j.getState(),n=e??o;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let n=j.subscribe(()=>{o=t.get(e),o&&(n(),r(o))})}})}}});var Zs,Km=u(()=>{"use strict";ep();Zs=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ri.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ri.await()}}});var At,Fo=u(()=>{"use strict";w();Km();At=class extends Zs{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(o=n.commonCache)!==null&&o!==void 0?o:new Ir,this.cache=e?n.commonCache:new Ir}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}}});var Ys,tp=u(()=>{"use strict";Lt();zo();Fo();Ys=class extends At{async listMySearches(){let{session:e}=j.getState();return Q4(e,Qe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Xs,rp=u(()=>{"use strict";Lt();Fo();Xs=class extends At{async listMyBookmarks(){let e=j.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Qs,qm=u(()=>{"use strict";Lt();Fo();Qs=class extends At{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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=j.getState().session;return!!e?.sessionAuthenticated}}});var Js,Zm=u(()=>{"use strict";Fo();Lt();Js=class extends At{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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=j.getState().session;return!!e?.sessionAuthenticated}}});var d7,u7,Qm,op,ip,Ym,Xm,jt,np,ap,el=u(()=>{"use strict";zo();w();tp();rp();Lt();qm();Zm();d7="ft-user-assets",u7={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(lr).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:o,asset:n}=e.payload;ip(t,r,[...op(t,r),n]),Ym(t,r,1,o),Xm(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;ip(t,r,op(t,r).map(n=>n.id===o.id?o:n)),Xm(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:n}=e.payload;ip(t,r,op(t,r).filter(a=>a.id!==n)),Ym(t,r,-1,o)}},Qm={[lr.SEARCHES]:"savedSearches",[lr.BOOKMARKS]:"bookmarks",[lr.BOOKS]:void 0,[lr.COLLECTIONS]:void 0},op=(t,e)=>{var r;let o=Qm[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},ip=(t,e,r)=>{let o=Qm[e];o&&(t[o]=r)},Ym=(t,e,r,o)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===lr.BOOKMARKS&&o)){let a=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,a+r)}},Xm=(t,e)=>{let r=t.assetLabels.map(n=>n.title),o=e.labels.filter(n=>!r.includes(n)).map(n=>({title:n}));t.assetLabels.push(...o)},jt=uo.get({name:d7,reducers:u7,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(lr).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),np=class{constructor(e=new Qs,r=new Js){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=j.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Xs,this.savedSearchesService=new Ys,j.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=j.getState();ot((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),jt.actions.clearAssetCount(),jt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),jt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),jt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();jt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();jt.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&jt.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&jt.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(jt.getState().assetCounts.bookmarkByMap).length!==0;e===lr.BOOKMARKS&&r&&jt.actions.clearBookmarkCountByMap(),jt.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;jt.actions.bookmarks(r)}}},ap=new np;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=ap)});var Jm=u(()=>{"use strict";zo();el()});var sp,e3=u(()=>{"use strict";Lt();sp=class{addCommand(e,r=!1){j.commands.add(e,r)}consumeCommand(e){return j.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new sp});var t3,Sn,p7,tl,Cn,rl,r3=u(()=>{"use strict";Lt();w();Fo();Sn=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},p7=Symbol("clearAfterUnitTest"),tl=class extends us(At){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[t3]=()=>{this.defaultMessages={},this.cache=new Ir,this.listeners={}},this.currentUiLocale=j.getState().uiLocale,j.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=j.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var o;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};ot(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new wo((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...o)}async fetchContext(e){let r=!this.cache.has(e),o;try{o=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof Nr)&&r&&console.error(n)}return o}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Sn({loadedContexts:e})),this.dispatchEvent(new Sn({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Sn({loadedContexts:[e]})),this.dispatchEvent(new Sn({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>ds(0).then(()=>o()).catch(()=>null)))}};t3=p7;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends tl{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends tl{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Cn=window.FluidTopicsI18nService,rl=window.FluidTopicsCustomI18nService});var lp,o3=u(()=>{"use strict";w();lp=class{highlightHtml(e,r,o){Id(e,r,o)}};window.FluidTopicsHighlightHtmlService=new lp});var cp,i3=u(()=>{"use strict";w();Lt();cp=class{isDate(e){var r,o,n,a;return(a=(n=((o=(r=j.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var o,n,a;if(e==null)return"";try{return xi.format(e,(o=r?.locale)!==null&&o!==void 0?o:j.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}catch(s){throw console.error(`Date ${JSON.stringify(e)} is not valid`,s),s}}};window.FluidTopicsDateService=new cp});var mo,dp=u(()=>{"use strict";w();Lt();mo=class{static get(e,r){var o,n;let a=j.getState(),{lang:s,region:l}=(n=(o=a.defaultLocales)===null||o===void 0?void 0:o.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Do(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}}});var ol,n3=u(()=>{"use strict";Fo();ol=class extends At{async sendDocumentStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.start_display event")}async sendTopicStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.start_display event")}async sendKhubSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send khub.search event")}async sendDocumentSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.search event")}async sendSearchPageSelectEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_page.select event")}async sendSearchResultOpenContextMenuEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_result.open_context_menu event")}sortEventArrays(e){let r=Object.entries(e).map(([o,n])=>Array.isArray(n)?[o,n.map(a=>typeof a=="object"&&a!=null&&!Array.isArray(a)?this.sortEventArrays(a):a).sort((a,s)=>typeof a=="object"&&a!==null&&"key"in a?a.key.localeCompare(s.key):typeof a=="string"&&typeof s=="string"?a.localeCompare(s):String(a).localeCompare(String(s)))]:typeof n=="object"&&n!==null?[o,this.sortEventArrays(n)]:[o,n]);return Object.fromEntries(r)}sendEvents(e,r){let o="anything not undefined";return this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>o).catch(n=>(console.info(r),console.debug(n),o)),1e3)}}});var up,a3=u(()=>{"use strict";dp();up=class{urlToSearchRequest(e){return mo.get().parse(e)}searchRequestToUrl(e){return mo.get().serialize(e)}};window.FluidTopicsUrlService=new up});var wi,s3=u(()=>{"use strict";wi=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};wi.eventName="change"});var pp,l3,c3=u(()=>{"use strict";pp=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},l3=new pp});var il,d3=u(()=>{"use strict";w();s3();c3();il=class t extends so{static build(){return new t(window.history,l3,()=>window.location,!1)}constructor(e,r,o,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let o=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),ot(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new wi(this.currentItem())),0)}installProxies(){let e=r=>(o,n,[a,s,l])=>{let d=r(),p={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};o.apply(n,[p,s,l]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let o={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(e){this.addEventListener(wi.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(wi.eventName,e)}currentItem(){return ii(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 ii(this.states[this.previousDifferentMajorPosition()])}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 ii(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let o=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!o)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,o);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var o;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,a=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return a==null||a!=n}}});var u3=u(()=>{"use strict";d3();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=il.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)})});var p3=u(()=>{"use strict";Lt()});var fp=u(()=>{"use strict";rp();ep();e3();r3();Fo();o3();tp();i3();dp();n3();a3();u3();p3()});var f3,hp=u(()=>{"use strict";I();f3=_`
615
- `});var h3=u(()=>{"use strict"});function m3(t,e){let{authenticationRequired:r,session:o}=j.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var g3=u(()=>{"use strict";Lt()});var st,Be,mp=u(()=>{"use strict";I();J();w();hp();Lt();fp();g3();st=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Be=class extends W{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.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ri.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Ir,this.cleanSessionDebouncer=new me,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return S`
614
+ `});var l7,Ai,c7,j,Lt=u(()=>{"use strict";w();l7="ft-app-info",Ai=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Ai.eventName="authentication-change";c7={session:(t,e)=>{it(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>j.dispatchEvent(new Ai(e.payload)),0))}},j=uo.get({name:l7,reducers:c7,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}})});var qs,wI,jm=u(()=>{"use strict";J();Ds();Gs();Lt();w();qs=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},wI=je(Symbol("withDateFormat"),function(t){class e extends t{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(j)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===o))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>xi.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return qs([h({type:Boolean})],e.prototype,"useLongDateFormat",void 0),qs([h({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),qs([ke({store:j.name,selector:r=>{var o,n;return(n=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),qs([ke({store:j.name})],e.prototype,"uiLocale",void 0),e})});var Ri,ep=u(()=>{"use strict";Lt();Ri=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=j.getState(),n=e??o;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let n=j.subscribe(()=>{o=t.get(e),o&&(n(),r(o))})}})}}});var Zs,Km=u(()=>{"use strict";ep();Zs=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ri.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ri.await()}}});var At,Fo=u(()=>{"use strict";w();Km();At=class extends Zs{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(o=n.commonCache)!==null&&o!==void 0?o:new Ir,this.cache=e?n.commonCache:new Ir}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}}});var Ys,tp=u(()=>{"use strict";Lt();zo();Fo();Ys=class extends At{async listMySearches(){let{session:e}=j.getState();return Q4(e,Je.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Xs,rp=u(()=>{"use strict";Lt();Fo();Xs=class extends At{async listMyBookmarks(){let e=j.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Qs,qm=u(()=>{"use strict";Lt();Fo();Qs=class extends At{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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=j.getState().session;return!!e?.sessionAuthenticated}}});var Js,Zm=u(()=>{"use strict";Fo();Lt();Js=class extends At{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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=j.getState().session;return!!e?.sessionAuthenticated}}});var d7,u7,Qm,op,ip,Ym,Xm,jt,np,ap,el=u(()=>{"use strict";zo();w();tp();rp();Lt();qm();Zm();d7="ft-user-assets",u7={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(lr).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:o,asset:n}=e.payload;ip(t,r,[...op(t,r),n]),Ym(t,r,1,o),Xm(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;ip(t,r,op(t,r).map(n=>n.id===o.id?o:n)),Xm(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:n}=e.payload;ip(t,r,op(t,r).filter(a=>a.id!==n)),Ym(t,r,-1,o)}},Qm={[lr.SEARCHES]:"savedSearches",[lr.BOOKMARKS]:"bookmarks",[lr.BOOKS]:void 0,[lr.COLLECTIONS]:void 0},op=(t,e)=>{var r;let o=Qm[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},ip=(t,e,r)=>{let o=Qm[e];o&&(t[o]=r)},Ym=(t,e,r,o)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===lr.BOOKMARKS&&o)){let a=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,a+r)}},Xm=(t,e)=>{let r=t.assetLabels.map(n=>n.title),o=e.labels.filter(n=>!r.includes(n)).map(n=>({title:n}));t.assetLabels.push(...o)},jt=uo.get({name:d7,reducers:u7,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(lr).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),np=class{constructor(e=new Qs,r=new Js){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=j.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Xs,this.savedSearchesService=new Ys,j.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=j.getState();it((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),jt.actions.clearAssetCount(),jt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),jt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),jt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();jt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();jt.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&jt.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&jt.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(jt.getState().assetCounts.bookmarkByMap).length!==0;e===lr.BOOKMARKS&&r&&jt.actions.clearBookmarkCountByMap(),jt.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;jt.actions.bookmarks(r)}}},ap=new np;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=ap)});var Jm=u(()=>{"use strict";zo();el()});var sp,e3=u(()=>{"use strict";Lt();sp=class{addCommand(e,r=!1){j.commands.add(e,r)}consumeCommand(e){return j.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new sp});var t3,Sn,p7,tl,Cn,rl,r3=u(()=>{"use strict";Lt();w();Fo();Sn=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},p7=Symbol("clearAfterUnitTest"),tl=class extends us(At){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[t3]=()=>{this.defaultMessages={},this.cache=new Ir,this.listeners={}},this.currentUiLocale=j.getState().uiLocale,j.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=j.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var o;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};it(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new wo((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...o)}async fetchContext(e){let r=!this.cache.has(e),o;try{o=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof Nr)&&r&&console.error(n)}return o}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Sn({loadedContexts:e})),this.dispatchEvent(new Sn({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Sn({loadedContexts:[e]})),this.dispatchEvent(new Sn({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>ds(0).then(()=>o()).catch(()=>null)))}};t3=p7;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends tl{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends tl{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Cn=window.FluidTopicsI18nService,rl=window.FluidTopicsCustomI18nService});var lp,o3=u(()=>{"use strict";w();lp=class{highlightHtml(e,r,o){Id(e,r,o)}};window.FluidTopicsHighlightHtmlService=new lp});var cp,i3=u(()=>{"use strict";w();Lt();cp=class{isDate(e){var r,o,n,a;return(a=(n=((o=(r=j.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var o,n,a;if(e==null)return"";try{return xi.format(e,(o=r?.locale)!==null&&o!==void 0?o:j.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}catch(s){throw console.error(`Date ${JSON.stringify(e)} is not valid`,s),s}}};window.FluidTopicsDateService=new cp});var mo,dp=u(()=>{"use strict";w();Lt();mo=class{static get(e,r){var o,n;let a=j.getState(),{lang:s,region:l}=(n=(o=a.defaultLocales)===null||o===void 0?void 0:o.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Do(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}}});var ol,n3=u(()=>{"use strict";Fo();ol=class extends At{async sendDocumentStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.start_display event")}async sendTopicStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.start_display event")}async sendKhubSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send khub.search event")}async sendDocumentSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.search event")}async sendSearchPageSelectEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_page.select event")}async sendSearchResultOpenContextMenuEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_result.open_context_menu event")}sortEventArrays(e){let r=Object.entries(e).map(([o,n])=>Array.isArray(n)?[o,n.map(a=>typeof a=="object"&&a!=null&&!Array.isArray(a)?this.sortEventArrays(a):a).sort((a,s)=>typeof a=="object"&&a!==null&&"key"in a?a.key.localeCompare(s.key):typeof a=="string"&&typeof s=="string"?a.localeCompare(s):String(a).localeCompare(String(s)))]:typeof n=="object"&&n!==null?[o,this.sortEventArrays(n)]:[o,n]);return Object.fromEntries(r)}sendEvents(e,r){let o="anything not undefined";return this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>o).catch(n=>(console.info(r),console.debug(n),o)),1e3)}}});var up,a3=u(()=>{"use strict";dp();up=class{urlToSearchRequest(e){return mo.get().parse(e)}searchRequestToUrl(e){return mo.get().serialize(e)}};window.FluidTopicsUrlService=new up});var wi,s3=u(()=>{"use strict";wi=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};wi.eventName="change"});var pp,l3,c3=u(()=>{"use strict";pp=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},l3=new pp});var il,d3=u(()=>{"use strict";w();s3();c3();il=class t extends so{static build(){return new t(window.history,l3,()=>window.location,!1)}constructor(e,r,o,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let o=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),it(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new wi(this.currentItem())),0)}installProxies(){let e=r=>(o,n,[a,s,l])=>{let d=r(),p={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};o.apply(n,[p,s,l]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let o={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(e){this.addEventListener(wi.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(wi.eventName,e)}currentItem(){return ii(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 ii(this.states[this.previousDifferentMajorPosition()])}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 ii(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let o=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!o)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,o);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var o;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,a=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return a==null||a!=n}}});var u3=u(()=>{"use strict";d3();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=il.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)})});var p3=u(()=>{"use strict";Lt()});var fp=u(()=>{"use strict";rp();ep();e3();r3();Fo();o3();tp();i3();dp();n3();a3();u3();p3()});var f3,hp=u(()=>{"use strict";I();f3=_`
615
+ `});var h3=u(()=>{"use strict"});function m3(t,e){let{authenticationRequired:r,session:o}=j.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var g3=u(()=>{"use strict";Lt()});var lt,Be,mp=u(()=>{"use strict";I();J();w();hp();Lt();fp();g3();lt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Be=class extends W{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.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ri.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Ir,this.cleanSessionDebouncer=new me,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return S`
616
616
  <slot></slot>
617
- `}connectedCallback(){super.connectedCallback(),j.addEventListener(Ai.eventName,this.reloadConfiguration)}disconnectedCallback(){j.addEventListener(Ai.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,o,n,a,s,l,d;super.update(e),e.has("baseUrl")&&(j.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&j.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&j.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&j.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&j.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&j.actions.noCustom(this.noCustom),e.has("editorMode")&&j.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&j.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&j.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>Cn.addContext(p)),e.has("openExternalDocumentInNewTab")&&j.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&j.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&j.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(j.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),j.actions.availableUiLocales((n=(o=this.localesConfiguration)===null||o===void 0?void 0:o.availableUiLocales)!==null&&n!==void 0?n:[]),j.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&j.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&j.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>m3(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};Be.elementDefinitions={};Be.styles=f3;st([h()],Be.prototype,"baseUrl",void 0);st([h()],Be.prototype,"apiIntegrationIdentifier",void 0);st([h()],Be.prototype,"apiIntegrationAppVersion",void 0);st([h()],Be.prototype,"uiLocale",void 0);st([Ee(null)],Be.prototype,"availableUiLocales",void 0);st([Ee(null)],Be.prototype,"metadataConfiguration",void 0);st([h({type:Boolean})],Be.prototype,"editorMode",void 0);st([h({type:Boolean})],Be.prototype,"noCustom",void 0);st([h({type:Boolean})],Be.prototype,"openExternalDocumentInNewTab",void 0);st([h({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Be.prototype,"noCustomComponent",void 0);st([h({type:Boolean})],Be.prototype,"withManualResources",void 0);st([h({type:Boolean})],Be.prototype,"navigatorOnline",void 0);st([h({type:Boolean})],Be.prototype,"forcedOffline",void 0);st([h({type:Object})],Be.prototype,"apiProvider",void 0);st([h({type:Boolean})],Be.prototype,"authenticationRequired",void 0);st([Ee([])],Be.prototype,"messageContexts",void 0);st([Ee(void 0)],Be.prototype,"session",void 0);st([U()],Be.prototype,"localesConfiguration",void 0);st([U()],Be.prototype,"availableContentLocales",void 0)});var y3=u(()=>{"use strict";w();mp();H("ft-app-context")(Be)});var Wr=u(()=>{"use strict";jm();Lt();el();Jm();fp();hp();h3();mp();y3()});var gp,On,nl=u(()=>{"use strict";gp=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,o]=e.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},On=new gp});var f7,Sa,b3,v3,al,xa,Dt,sl,ll,Ca=u(()=>{"use strict";w();Wr();J();nl();f7=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Sa=Symbol("i18nAttributes"),b3=Symbol("i18nListAttributes"),v3=Symbol("i18nProperties"),al=Symbol("i18nContexts"),xa=Symbol("i18nUnsubs"),Dt=je(Symbol("withI18n"),function(t){var e,r;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?rl:Cn}i18n(a){let{context:s,key:l,message:d}=a,{custom:p,args:m,argsProvider:g}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,p);let b=m??(g?g(this):[]);return this.getI18nService(p).resolveMessage(s,l,...b)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(On.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,p=(m,g,b)=>b?.context&&b.key&&a(m,g,b)?{...b,message:this.i18n({context:b.context,key:b.key,custom:b.custom,...m})}:b;(s=this[Sa])===null||s===void 0||s.forEach((m,g)=>d[g]=p(m,g,d[g])),(l=this[b3])===null||l===void 0||l.forEach((m,g)=>{var b;return d[g]=(b=d[g])===null||b===void 0?void 0:b.map(E=>p(m,g,E))})}updateI18nProperties(a){var s;(s=this[v3])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[al].set(d,{isCustomContext:l}),this[xa].has(d)||this[xa].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[al].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[al].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[xa].forEach(a=>a()),this[xa].clear()}}return e=al,r=xa,f7([h({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),sl=class extends Dt(W){},ll=class extends Dt(Er){}});var yp,h7,x3=u(()=>{"use strict";nl();yp=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?On.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},h7=new yp});var En,cl=u(()=>{"use strict";Ca();w();nl();x3();En=(t,e)=>(r,o)=>{var n;r.constructor.createProperty(o,{type:Object,hasChanged:Gt,converter:On,...e}),r[Sa]=(n=r[Sa])!==null&&n!==void 0?n:new Map,r[Sa].set(o,t??{})}});var jr,S3=u(()=>{"use strict";Wr();jr=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?rl:Cn}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(o,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(o,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(o,n)=>()=>n}),this.attributes=new Proxy({},{get:(o,n)=>()=>({context:this.name,key:n,message:this.service.resolveRawMessage(this.name,n)})})}}});var C3=u(()=>{"use strict";Ca()});var O3,bp=u(()=>{"use strict";I();O3=_`
617
+ `}connectedCallback(){super.connectedCallback(),j.addEventListener(Ai.eventName,this.reloadConfiguration)}disconnectedCallback(){j.addEventListener(Ai.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,o,n,a,s,l,d;super.update(e),e.has("baseUrl")&&(j.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&j.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&j.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&j.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&j.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&j.actions.noCustom(this.noCustom),e.has("editorMode")&&j.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&j.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&j.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>Cn.addContext(p)),e.has("openExternalDocumentInNewTab")&&j.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&j.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&j.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(j.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),j.actions.availableUiLocales((n=(o=this.localesConfiguration)===null||o===void 0?void 0:o.availableUiLocales)!==null&&n!==void 0?n:[]),j.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&j.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&j.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>m3(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};Be.elementDefinitions={};Be.styles=f3;lt([h()],Be.prototype,"baseUrl",void 0);lt([h()],Be.prototype,"apiIntegrationIdentifier",void 0);lt([h()],Be.prototype,"apiIntegrationAppVersion",void 0);lt([h()],Be.prototype,"uiLocale",void 0);lt([Ee(null)],Be.prototype,"availableUiLocales",void 0);lt([Ee(null)],Be.prototype,"metadataConfiguration",void 0);lt([h({type:Boolean})],Be.prototype,"editorMode",void 0);lt([h({type:Boolean})],Be.prototype,"noCustom",void 0);lt([h({type:Boolean})],Be.prototype,"openExternalDocumentInNewTab",void 0);lt([h({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Be.prototype,"noCustomComponent",void 0);lt([h({type:Boolean})],Be.prototype,"withManualResources",void 0);lt([h({type:Boolean})],Be.prototype,"navigatorOnline",void 0);lt([h({type:Boolean})],Be.prototype,"forcedOffline",void 0);lt([h({type:Object})],Be.prototype,"apiProvider",void 0);lt([h({type:Boolean})],Be.prototype,"authenticationRequired",void 0);lt([Ee([])],Be.prototype,"messageContexts",void 0);lt([Ee(void 0)],Be.prototype,"session",void 0);lt([U()],Be.prototype,"localesConfiguration",void 0);lt([U()],Be.prototype,"availableContentLocales",void 0)});var y3=u(()=>{"use strict";w();mp();H("ft-app-context")(Be)});var Wr=u(()=>{"use strict";jm();Lt();el();Jm();fp();hp();h3();mp();y3()});var gp,On,nl=u(()=>{"use strict";gp=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,o]=e.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},On=new gp});var f7,Sa,b3,v3,al,xa,Dt,sl,ll,Ca=u(()=>{"use strict";w();Wr();J();nl();f7=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Sa=Symbol("i18nAttributes"),b3=Symbol("i18nListAttributes"),v3=Symbol("i18nProperties"),al=Symbol("i18nContexts"),xa=Symbol("i18nUnsubs"),Dt=je(Symbol("withI18n"),function(t){var e,r;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?rl:Cn}i18n(a){let{context:s,key:l,message:d}=a,{custom:p,args:m,argsProvider:g}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,p);let b=m??(g?g(this):[]);return this.getI18nService(p).resolveMessage(s,l,...b)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(On.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,p=(m,g,b)=>b?.context&&b.key&&a(m,g,b)?{...b,message:this.i18n({context:b.context,key:b.key,custom:b.custom,...m})}:b;(s=this[Sa])===null||s===void 0||s.forEach((m,g)=>d[g]=p(m,g,d[g])),(l=this[b3])===null||l===void 0||l.forEach((m,g)=>{var b;return d[g]=(b=d[g])===null||b===void 0?void 0:b.map(E=>p(m,g,E))})}updateI18nProperties(a){var s;(s=this[v3])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[al].set(d,{isCustomContext:l}),this[xa].has(d)||this[xa].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[al].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[al].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[xa].forEach(a=>a()),this[xa].clear()}}return e=al,r=xa,f7([h({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),sl=class extends Dt(W){},ll=class extends Dt(Er){}});var yp,h7,x3=u(()=>{"use strict";nl();yp=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?On.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},h7=new yp});var En,cl=u(()=>{"use strict";Ca();w();nl();x3();En=(t,e)=>(r,o)=>{var n;r.constructor.createProperty(o,{type:Object,hasChanged:Gt,converter:On,...e}),r[Sa]=(n=r[Sa])!==null&&n!==void 0?n:new Map,r[Sa].set(o,t??{})}});var jr,S3=u(()=>{"use strict";Wr();jr=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?rl:Cn}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(o,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(o,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(o,n)=>()=>n}),this.attributes=new Proxy({},{get:(o,n)=>()=>({context:this.name,key:n,message:this.service.resolveRawMessage(this.name,n)})})}}});var C3=u(()=>{"use strict";Ca()});var O3,bp=u(()=>{"use strict";I();O3=_`
618
618
  `});var E3=u(()=>{"use strict"});var Oa,Ar,vp=u(()=>{"use strict";I();J();w();bp();Ca();Wr();Oa=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ar=class extends ll{constructor(){super(),this.editorMode=!1,this.addStore(j)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":$:S`
619
619
  <span class="ft-i18n">
620
620
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
@@ -634,12 +634,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
634
634
  </div>
635
635
  </div>
636
636
  </div>
637
- `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){var r,o;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(o=this.tooltip)===null||o===void 0||o.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let o=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(r),this.text=n,this.manual=o}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&Od(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${R.transitionDuration}, left ${R.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||Rc(e,this.ignoreMatchingElements,this.eventsTarget)}};Ze.elementDefinitions={"ft-typography":de};Ze.styles=Wm;Rr([En()],Ze.prototype,"text",void 0);Rr([h({type:Boolean})],Ze.prototype,"manual",void 0);Rr([h({type:Boolean})],Ze.prototype,"inline",void 0);Rr([or()],Ze.prototype,"delay",void 0);Rr([h()],Ze.prototype,"position",void 0);Rr([Ee([])],Ze.prototype,"ignoreMatchingElements",void 0);Rr([vc()],Ze.prototype,"slotNodes",void 0);Rr([G(".ft-tooltip--container")],Ze.prototype,"container",void 0);Rr([G(".ft-tooltip")],Ze.prototype,"tooltip",void 0);Rr([G(".ft-tooltip--content")],Ze.prototype,"tooltipContent",void 0);Rr([U()],Ze.prototype,"visible",void 0)});var A3=u(()=>{"use strict"});var R3=u(()=>{"use strict";w();xp();H("ft-tooltip")(Ze)});var Sp=u(()=>{"use strict";xp();Ju();A3();R3()});var Je,Cp=u(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Je||(Je={}))});function dl(t,e){var r,o,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=m7.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(o=Op.get(l))!==null&&o!==void 0?o:Op.get(e))!==null&&n!==void 0?n:Op.get(s))!==null&&a!==void 0?a:V.UNKNOWN}var Me,V,Op,m7,vD,Ep=u(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CLOUD_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM_REGULAR="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS_REGULAR="&#xe9bd;",t.PERSON_CHALKBOARD_REGULAR="&#xe9be;"})(Me||(Me={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(V||(V={}));Op=new Map([...["abw"].map(t=>[t,V.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,V.AUDIO]),...["avi"].map(t=>[t,V.AVI]),...["chm","xhs"].map(t=>[t,V.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,V.CODE]),...["csv"].map(t=>[t,V.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,V.DITA]),...["epub"].map(t=>[t,V.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,V.EXCEL]),...["flac"].map(t=>[t,V.FLAC]),...["gif"].map(t=>[t,V.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,V.GZIP]),...["html","htm","xhtml"].map(t=>[t,V.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,V.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,V.JPEG]),...["json"].map(t=>[t,V.JSON]),...["m4a","m4p"].map(t=>[t,V.M4A]),...["mov","qt"].map(t=>[t,V.MOV]),...["mp3"].map(t=>[t,V.MP3]),...["mp4","m4v"].map(t=>[t,V.MP4]),...["ogg","oga"].map(t=>[t,V.OGG]),...["pdf","ps"].map(t=>[t,V.PDF]),...["png"].map(t=>[t,V.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,V.POWERPOINT]),...["rar"].map(t=>[t,V.RAR]),...["stp"].map(t=>[t,V.STP]),...["txt","rtf","md","mdown"].map(t=>[t,V.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,V.VIDEO]),...["wav"].map(t=>[t,V.WAV]),...["wma"].map(t=>[t,V.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,V.WORD]),...["xml","xsl","rdf"].map(t=>[t,V.XML]),...["yaml","yml","x-yaml"].map(t=>[t,V.YAML]),...["zip"].map(t=>[t,V.ZIP])]),m7=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);vD={[V.ABW]:"#91ABC6",[V.AUDIO]:"#1795E3",[V.AVI]:"#E63324",[V.CHM]:"#71C3EB",[V.CODE]:"#71C3EB",[V.CSV]:"#1F7345",[V.DITA]:"#71C3EB",[V.EPUB]:"#85B926",[V.EXCEL]:"#1F7345",[V.FLAC]:"#1795E3",[V.GIF]:"#59B031",[V.GZIP]:"#F8AB36",[V.HTML]:"#71C3EB",[V.IMAGE]:"#59B031",[V.JPEG]:"#59B031",[V.JSON]:"#71C3EB",[V.M4A]:"#1795E3",[V.MOV]:"#E63324",[V.MP3]:"#1795E3",[V.MP4]:"#E63324",[V.OGG]:"#1795E3",[V.PDF]:"#E44948",[V.PNG]:"#59B031",[V.POWERPOINT]:"#B54A2B",[V.RAR]:"#F8AB36",[V.STP]:"#3764B1",[V.TEXT]:"#3162AB",[V.UNKNOWN]:"#999999",[V.VIDEO]:"#E63324",[V.WAV]:"#1795E3",[V.WMA]:"#1795E3",[V.WORD]:"#3162AB",[V.XML]:"#71C3EB",[V.YAML]:"#71C3EB",[V.ZIP]:"#F8AB36"}});var Ea,Oe,Lp=u(()=>{"use strict";I();J();w();Wi();Ep();Ei();Cp();Ea=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Oe=class extends W{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=$}render(){let e=this.variant&&Object.values(Je).includes(this.variant)?this.variant:Je.fluid_topics,r=e!==Je.material||!!this.value;return S`
637
+ `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){var r,o;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(o=this.tooltip)===null||o===void 0||o.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let o=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(r),this.text=n,this.manual=o}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&Od(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${R.transitionDuration}, left ${R.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||Rc(e,this.ignoreMatchingElements,this.eventsTarget)}};Ze.elementDefinitions={"ft-typography":de};Ze.styles=Wm;Rr([En()],Ze.prototype,"text",void 0);Rr([h({type:Boolean})],Ze.prototype,"manual",void 0);Rr([h({type:Boolean})],Ze.prototype,"inline",void 0);Rr([or()],Ze.prototype,"delay",void 0);Rr([h()],Ze.prototype,"position",void 0);Rr([Ee([])],Ze.prototype,"ignoreMatchingElements",void 0);Rr([vc()],Ze.prototype,"slotNodes",void 0);Rr([G(".ft-tooltip--container")],Ze.prototype,"container",void 0);Rr([G(".ft-tooltip")],Ze.prototype,"tooltip",void 0);Rr([G(".ft-tooltip--content")],Ze.prototype,"tooltipContent",void 0);Rr([U()],Ze.prototype,"visible",void 0)});var A3=u(()=>{"use strict"});var R3=u(()=>{"use strict";w();xp();H("ft-tooltip")(Ze)});var Sp=u(()=>{"use strict";xp();Ju();A3();R3()});var et,Cp=u(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(et||(et={}))});function dl(t,e){var r,o,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=m7.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(o=Op.get(l))!==null&&o!==void 0?o:Op.get(e))!==null&&n!==void 0?n:Op.get(s))!==null&&a!==void 0?a:V.UNKNOWN}var Me,V,Op,m7,vD,Ep=u(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CLOUD_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM_REGULAR="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS_REGULAR="&#xe9bd;",t.PERSON_CHALKBOARD_REGULAR="&#xe9be;"})(Me||(Me={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(V||(V={}));Op=new Map([...["abw"].map(t=>[t,V.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,V.AUDIO]),...["avi"].map(t=>[t,V.AVI]),...["chm","xhs"].map(t=>[t,V.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,V.CODE]),...["csv"].map(t=>[t,V.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,V.DITA]),...["epub"].map(t=>[t,V.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,V.EXCEL]),...["flac"].map(t=>[t,V.FLAC]),...["gif"].map(t=>[t,V.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,V.GZIP]),...["html","htm","xhtml"].map(t=>[t,V.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,V.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,V.JPEG]),...["json"].map(t=>[t,V.JSON]),...["m4a","m4p"].map(t=>[t,V.M4A]),...["mov","qt"].map(t=>[t,V.MOV]),...["mp3"].map(t=>[t,V.MP3]),...["mp4","m4v"].map(t=>[t,V.MP4]),...["ogg","oga"].map(t=>[t,V.OGG]),...["pdf","ps"].map(t=>[t,V.PDF]),...["png"].map(t=>[t,V.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,V.POWERPOINT]),...["rar"].map(t=>[t,V.RAR]),...["stp"].map(t=>[t,V.STP]),...["txt","rtf","md","mdown"].map(t=>[t,V.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,V.VIDEO]),...["wav"].map(t=>[t,V.WAV]),...["wma"].map(t=>[t,V.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,V.WORD]),...["xml","xsl","rdf"].map(t=>[t,V.XML]),...["yaml","yml","x-yaml"].map(t=>[t,V.YAML]),...["zip"].map(t=>[t,V.ZIP])]),m7=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);vD={[V.ABW]:"#91ABC6",[V.AUDIO]:"#1795E3",[V.AVI]:"#E63324",[V.CHM]:"#71C3EB",[V.CODE]:"#71C3EB",[V.CSV]:"#1F7345",[V.DITA]:"#71C3EB",[V.EPUB]:"#85B926",[V.EXCEL]:"#1F7345",[V.FLAC]:"#1795E3",[V.GIF]:"#59B031",[V.GZIP]:"#F8AB36",[V.HTML]:"#71C3EB",[V.IMAGE]:"#59B031",[V.JPEG]:"#59B031",[V.JSON]:"#71C3EB",[V.M4A]:"#1795E3",[V.MOV]:"#E63324",[V.MP3]:"#1795E3",[V.MP4]:"#E63324",[V.OGG]:"#1795E3",[V.PDF]:"#E44948",[V.PNG]:"#59B031",[V.POWERPOINT]:"#B54A2B",[V.RAR]:"#F8AB36",[V.STP]:"#3764B1",[V.TEXT]:"#3162AB",[V.UNKNOWN]:"#999999",[V.VIDEO]:"#E63324",[V.WAV]:"#1795E3",[V.WMA]:"#1795E3",[V.WORD]:"#3162AB",[V.XML]:"#71C3EB",[V.YAML]:"#71C3EB",[V.ZIP]:"#F8AB36"}});var Ea,Oe,Lp=u(()=>{"use strict";I();J();w();Wi();Ep();Ei();Cp();Ea=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Oe=class extends W{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=$}render(){let e=this.variant&&Object.values(et).includes(this.variant)?this.variant:et.fluid_topics,r=e!==et.material||!!this.value;return S`
638
638
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
639
639
  ${no(this.resolvedIcon)}
640
640
  <slot ?hidden=${r}></slot>
641
641
  </i>
642
- `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let o=this.value||this.getTextContent();switch(this.variant){case Je.file_format:this.resolvedIcon=(e=V[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case Je.material:this.resolvedIcon=this.value||$;break;default:this.resolvedIcon=(r=Me[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Oe.elementDefinitions={};Oe.styles=Mm;Ea([h()],Oe.prototype,"variant",void 0);Ea([h()],Oe.prototype,"value",void 0);Ea([h({reflect:!0,attribute:"aria-hidden"})],Oe.prototype,"ariaHidden",void 0);Ea([U()],Oe.prototype,"resolvedIcon",void 0);Ea([G("slot")],Oe.prototype,"slottedContent",void 0)});var w3,_3,Ap=u(()=>{"use strict";I();w();w3={size:i.create("--ftds-icon-font-size","","SIZE","24px")},_3=[_`
642
+ `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let o=this.value||this.getTextContent();switch(this.variant){case et.file_format:this.resolvedIcon=(e=V[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case et.material:this.resolvedIcon=this.value||$;break;default:this.resolvedIcon=(r=Me[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Oe.elementDefinitions={};Oe.styles=Mm;Ea([h()],Oe.prototype,"variant",void 0);Ea([h()],Oe.prototype,"value",void 0);Ea([h({reflect:!0,attribute:"aria-hidden"})],Oe.prototype,"ariaHidden",void 0);Ea([U()],Oe.prototype,"resolvedIcon",void 0);Ea([G("slot")],Oe.prototype,"slottedContent",void 0)});var w3,_3,Ap=u(()=>{"use strict";I();w();w3={size:i.create("--ftds-icon-font-size","","SIZE","24px")},_3=[_`
643
643
  :host {
644
644
  display: inline-flex;
645
645
  }
@@ -1219,7 +1219,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1219
1219
  <div></div>
1220
1220
  <div></div>
1221
1221
  </div>
1222
- `}};Mi.styles=Tm});var J6=u(()=>{"use strict";w();Ef();H("ft-loader")(Mi)});var ey=u(()=>{"use strict";ba();Q6();Ef();J6()});var Yr,ty=u(()=>{yr();Yr=t=>t??$});var Ia=u(()=>{ty()});var lt,Te,Lf=u(()=>{"use strict";w();gt();Sp();yt();ey();I();Ye();J();Ia();lt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Te=class extends Lu(W){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,o;let n=S`
1222
+ `}};Mi.styles=Tm});var J6=u(()=>{"use strict";w();Ef();H("ft-loader")(Mi)});var ey=u(()=>{"use strict";ba();Q6();Ef();J6()});var Yr,ty=u(()=>{yr();Yr=t=>t??$});var Ia=u(()=>{ty()});var ct,Te,Lf=u(()=>{"use strict";w();gt();Sp();yt();ey();I();Ye();J();Ia();ct=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Te=class extends Lu(W){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,o;let n=S`
1223
1223
  <ft-ripple part="ripple"
1224
1224
  ?disabled=${this.isDisabled()}
1225
1225
  ?activated=${this.activated}
@@ -1261,7 +1261,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1261
1261
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
1262
1262
  `:S`
1263
1263
  <slot part="icon" name="icon"></slot>
1264
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return Pr(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Te.elementDefinitions={"ft-ripple":ne,"ft-tooltip":Ze,"ft-icon":Oe,"ft-loader":Mi};lt([h()],Te.prototype,"href",void 0);lt([h()],Te.prototype,"target",void 0);lt([h()],Te.prototype,"type",void 0);lt([h({type:Boolean})],Te.prototype,"disabled",void 0);lt([h()],Te.prototype,"label",void 0);lt([h()],Te.prototype,"icon",void 0);lt([h()],Te.prototype,"iconVariant",void 0);lt([h({type:Boolean})],Te.prototype,"trailingIcon",void 0);lt([h({type:Boolean})],Te.prototype,"loading",void 0);lt([h({attribute:"aria-label"})],Te.prototype,"ariaLabel",void 0);lt([h()],Te.prototype,"ariaHasPopup",void 0);lt([h({attribute:"aria-pressed"})],Te.prototype,"ariaPressed",void 0);lt([h()],Te.prototype,"tooltipPosition",void 0);lt([h({type:Boolean})],Te.prototype,"hideTooltip",void 0);lt([h({type:Boolean})],Te.prototype,"forceTooltip",void 0);lt([h({type:Boolean})],Te.prototype,"activated",void 0);lt([G(".ft-button")],Te.prototype,"button",void 0);lt([G(".ft-button--label slot")],Te.prototype,"slottedContent",void 0);lt([G("[part=tooltip]")],Te.prototype,"tooltip",void 0)});var El,We,Af=u(()=>{"use strict";J();w();Li();Lf();Re();El=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},We=class extends Te{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return Ae.button}};We.elementDefinitions={...Te.elementDefinitions,"ft-or-ftds-typography":de};We.styles=[Vt,Im];El([h({type:Boolean})],We.prototype,"primary",void 0);El([h({type:Boolean})],We.prototype,"outlined",void 0);El([h({type:Boolean})],We.prototype,"dense",void 0);El([h({type:Boolean})],We.prototype,"round",void 0)});var ry=u(()=>{"use strict"});var Rf,oy,wf=u(()=>{"use strict";I();w();Ur();ba();Ei();ge();Rf={...O,iconOnlyScale:i.create("--ft-button-icon-only-scale","","NUMBER","1")},oy=[_`
1264
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return Pr(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Te.elementDefinitions={"ft-ripple":ne,"ft-tooltip":Ze,"ft-icon":Oe,"ft-loader":Mi};ct([h()],Te.prototype,"href",void 0);ct([h()],Te.prototype,"target",void 0);ct([h()],Te.prototype,"type",void 0);ct([h({type:Boolean})],Te.prototype,"disabled",void 0);ct([h()],Te.prototype,"label",void 0);ct([h()],Te.prototype,"icon",void 0);ct([h()],Te.prototype,"iconVariant",void 0);ct([h({type:Boolean})],Te.prototype,"trailingIcon",void 0);ct([h({type:Boolean})],Te.prototype,"loading",void 0);ct([h({attribute:"aria-label"})],Te.prototype,"ariaLabel",void 0);ct([h()],Te.prototype,"ariaHasPopup",void 0);ct([h({attribute:"aria-pressed"})],Te.prototype,"ariaPressed",void 0);ct([h()],Te.prototype,"tooltipPosition",void 0);ct([h({type:Boolean})],Te.prototype,"hideTooltip",void 0);ct([h({type:Boolean})],Te.prototype,"forceTooltip",void 0);ct([h({type:Boolean})],Te.prototype,"activated",void 0);ct([G(".ft-button")],Te.prototype,"button",void 0);ct([G(".ft-button--label slot")],Te.prototype,"slottedContent",void 0);ct([G("[part=tooltip]")],Te.prototype,"tooltip",void 0)});var El,We,Af=u(()=>{"use strict";J();w();Li();Lf();Re();El=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},We=class extends Te{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return Ae.button}};We.elementDefinitions={...Te.elementDefinitions,"ft-or-ftds-typography":de};We.styles=[Vt,Im];El([h({type:Boolean})],We.prototype,"primary",void 0);El([h({type:Boolean})],We.prototype,"outlined",void 0);El([h({type:Boolean})],We.prototype,"dense",void 0);El([h({type:Boolean})],We.prototype,"round",void 0)});var ry=u(()=>{"use strict"});var Rf,oy,wf=u(()=>{"use strict";I();w();Ur();ba();Ei();ge();Rf={...O,iconOnlyScale:i.create("--ft-button-icon-only-scale","","NUMBER","1")},oy=[_`
1265
1265
  :host {
1266
1266
  display: inline-block;
1267
1267
  max-width: 100%;
@@ -1731,7 +1731,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1731
1731
  .ftds--size-small.ft-button--icon-only {
1732
1732
  width: ${O.smallIconOnlyWidth};
1733
1733
  }
1734
- `,Or]});var Ll,Bt,_f=u(()=>{"use strict";Lf();J();w();wf();ge();yt();Re();Ll=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Bt=class extends ar(Te){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=it.brand,this.iconVariant=Je.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case dt.large:return Pe.body2medium;case dt.medium:return Pe.caption1medium;case dt.small:return Pe.caption2medium}}};Bt.elementDefinitions={...Te.elementDefinitions,"ft-or-ftds-typography":at};Bt.styles=[Vt,oy];Ll([h({type:Boolean})],Bt.prototype,"primary",void 0);Ll([h({type:Boolean})],Bt.prototype,"secondary",void 0);Ll([h({type:Boolean})],Bt.prototype,"tertiary",void 0);Ll([h({type:Boolean})],Bt.prototype,"round",void 0)});var iy=u(()=>{"use strict"});var ny=u(()=>{"use strict";w();Af();_f();H("ft-button")(We);H("ftds-button")(Bt)});var qt=u(()=>{"use strict";Af();Li();ry();_f();wf();iy();ny()});var Ie,kf,$a=u(()=>{"use strict";I();w();qt();Ie={height:i.create("--ft-search-input-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-input-border-radius","",R.borderRadiusS),desktopFiltersHeight:i.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:i.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:i.extend("--ft-search-input-background-color","",R.colorSurface),colorOnSurface:i.extend("--ft-search-input-color","",R.colorOnSurface),colorOnSurfaceMedium:i.extend("--ft-search-input-placeholder-color","",R.colorOnSurfaceMedium),colorOutline:i.extend("--ft-search-input-outline-color","",R.colorOutline),elevation02:i.extend("--ft-search-input-elevation","",R.elevation02),focusOutlineColor:i.extend("--ft-search-input-focused-outline-color","",R.colorPrimary),buttonColor:i.extend("--ft-search-input-button-color","",R.colorPrimary),buttonRippleColor:i.extend("--ft-search-input-button-ripple-color","",R.colorPrimary)},kf=_`
1734
+ `,Or]});var Ll,Bt,_f=u(()=>{"use strict";Lf();J();w();wf();ge();yt();Re();Ll=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Bt=class extends ar(Te){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=nt.brand,this.iconVariant=et.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case dt.large:return Pe.body2medium;case dt.medium:return Pe.caption1medium;case dt.small:return Pe.caption2medium}}};Bt.elementDefinitions={...Te.elementDefinitions,"ft-or-ftds-typography":st};Bt.styles=[Vt,oy];Ll([h({type:Boolean})],Bt.prototype,"primary",void 0);Ll([h({type:Boolean})],Bt.prototype,"secondary",void 0);Ll([h({type:Boolean})],Bt.prototype,"tertiary",void 0);Ll([h({type:Boolean})],Bt.prototype,"round",void 0)});var iy=u(()=>{"use strict"});var ny=u(()=>{"use strict";w();Af();_f();H("ft-button")(We);H("ftds-button")(Bt)});var qt=u(()=>{"use strict";Af();Li();ry();_f();wf();iy();ny()});var Ie,kf,$a=u(()=>{"use strict";I();w();qt();Ie={height:i.create("--ft-search-input-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-input-border-radius","",R.borderRadiusS),desktopFiltersHeight:i.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:i.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:i.extend("--ft-search-input-background-color","",R.colorSurface),colorOnSurface:i.extend("--ft-search-input-color","",R.colorOnSurface),colorOnSurfaceMedium:i.extend("--ft-search-input-placeholder-color","",R.colorOnSurfaceMedium),colorOutline:i.extend("--ft-search-input-outline-color","",R.colorOutline),elevation02:i.extend("--ft-search-input-elevation","",R.elevation02),focusOutlineColor:i.extend("--ft-search-input-focused-outline-color","",R.colorPrimary),buttonColor:i.extend("--ft-search-input-button-color","",R.colorPrimary),buttonRippleColor:i.extend("--ft-search-input-button-ripple-color","",R.colorPrimary)},kf=_`
1735
1735
  * {
1736
1736
  box-sizing: border-box;
1737
1737
  ${x(se.color,Ie.buttonColor)};
@@ -1851,7 +1851,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1851
1851
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1852
1852
  <div class="ft-size-watcher--watcher"></div>
1853
1853
  </div>
1854
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=pr.S:this.size<976?this.category=pr.M:this.size<1024?this.category=pr.L:this.size<1440?this.category=pr.XL:this.category=pr.XXL,this.dispatchEvent(new Kf(this.size,this.category)))},this.debounceTimeout)}};Zt.elementDefinitions={};Zt.styles=Ly;Ua([h({type:Number})],Zt.prototype,"debounceTimeout",void 0);Ua([h({type:Boolean})],Zt.prototype,"local",void 0);Ua([h({type:Number,reflect:!0})],Zt.prototype,"size",void 0);Ua([h({type:String,reflect:!0})],Zt.prototype,"category",void 0);Ua([G(".ft-size-watcher--watcher")],Zt.prototype,"watcher",void 0)});var Ay=u(()=>{"use strict";w();qf();H("ft-size-watcher")(Zt)});var Ry=u(()=>{"use strict";qf();jf();Wf();Ay()});function zl(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function wy(t){return zl(t).split("|").pop()}function _y(t){return zl(t).split("|").join(" > ")}function ky(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>ky(r,t.selected)),value:t.value}}function Ty(t){return Ht(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Zf(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>ky(e,!1))}}function My(t){return Ht(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Yf=u(()=>{"use strict";w()});var Ha,Ny,Xf=u(()=>{"use strict";I();w();Li();cr();Ha={buttonMoreColor:i.extend("--ft-filter-level-button-more-color","",R.colorOnSurface),borderRadiusM:i.external(R.borderRadiusM,"Design system"),colorOutline:i.external(R.colorOutline,"Design system"),colorOnSurface:i.external(R.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(R.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.external(R.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(R.colorPrimary,"Design system"),colorOnPrimary:i.external(R.colorOnPrimary,"Design system"),fontFamily:i.external(nt.fontFamily,"Body2 typography"),fontSize:i.external(nt.fontSize,"Body2 typography"),fontWeight:i.external(nt.fontWeight,"Body2 typography"),letterSpacing:i.external(nt.letterSpacing,"Body2 typography"),lineHeight:i.external(nt.lineHeight,"Body2 typography"),textTransform:i.external(nt.textTransform,"Body2 typography")},Ny=_`
1854
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=pr.S:this.size<976?this.category=pr.M:this.size<1024?this.category=pr.L:this.size<1440?this.category=pr.XL:this.category=pr.XXL,this.dispatchEvent(new Kf(this.size,this.category)))},this.debounceTimeout)}};Zt.elementDefinitions={};Zt.styles=Ly;Ua([h({type:Number})],Zt.prototype,"debounceTimeout",void 0);Ua([h({type:Boolean})],Zt.prototype,"local",void 0);Ua([h({type:Number,reflect:!0})],Zt.prototype,"size",void 0);Ua([h({type:String,reflect:!0})],Zt.prototype,"category",void 0);Ua([G(".ft-size-watcher--watcher")],Zt.prototype,"watcher",void 0)});var Ay=u(()=>{"use strict";w();qf();H("ft-size-watcher")(Zt)});var Ry=u(()=>{"use strict";qf();jf();Wf();Ay()});function zl(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function wy(t){return zl(t).split("|").pop()}function _y(t){return zl(t).split("|").join(" > ")}function ky(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>ky(r,t.selected)),value:t.value}}function Ty(t){return Ht(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Zf(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>ky(e,!1))}}function My(t){return Ht(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Yf=u(()=>{"use strict";w()});var Ha,Ny,Xf=u(()=>{"use strict";I();w();Li();cr();Ha={buttonMoreColor:i.extend("--ft-filter-level-button-more-color","",R.colorOnSurface),borderRadiusM:i.external(R.borderRadiusM,"Design system"),colorOutline:i.external(R.colorOutline,"Design system"),colorOnSurface:i.external(R.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(R.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.external(R.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(R.colorPrimary,"Design system"),colorOnPrimary:i.external(R.colorOnPrimary,"Design system"),fontFamily:i.external(at.fontFamily,"Body2 typography"),fontSize:i.external(at.fontSize,"Body2 typography"),fontWeight:i.external(at.fontWeight,"Body2 typography"),letterSpacing:i.external(at.letterSpacing,"Body2 typography"),lineHeight:i.external(at.lineHeight,"Body2 typography"),textTransform:i.external(at.textTransform,"Body2 typography")},Ny=_`
1855
1855
  .ft-filter-level--container {
1856
1856
  display: flex;
1857
1857
  flex-direction: column;
@@ -1921,7 +1921,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1921
1921
  margin: 10px 0;
1922
1922
  color: ${Ha.colorOnSurfaceMedium};
1923
1923
  }
1924
- `});var fr,Qf,et,Jf=u(()=>{"use strict";I();J();w();Ye();gt();Re();fr=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qf=class extends CustomEvent{constructor(e){super("change",{detail:e})}},et=class extends W{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.helper="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.rippleUnbounded=!0,this.error=!1,this.legendColor=""}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}get checkboxHelperClasses(){return{"ft-checkbox-helper--disabled":this.disabled,"ft-checkbox-helper--error":this.error,"ft-checkbox-helper--checked":this.indeterminate?!1:this.checked,"ft-checkbox-helper--indeterminate":this.indeterminate,"ft-checkbox-helper--legend-color-displayed":this.legendColor&&this.legendColor.trim().length>0}}get typographyVariant(){return Ae.body2}renderBoxContainer(){return S`
1924
+ `});var fr,Qf,tt,Jf=u(()=>{"use strict";I();J();w();Ye();gt();Re();fr=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qf=class extends CustomEvent{constructor(e){super("change",{detail:e})}},tt=class extends W{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.helper="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.rippleUnbounded=!0,this.error=!1,this.legendColor=""}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}get checkboxHelperClasses(){return{"ft-checkbox-helper--disabled":this.disabled,"ft-checkbox-helper--error":this.error,"ft-checkbox-helper--checked":this.indeterminate?!1:this.checked,"ft-checkbox-helper--indeterminate":this.indeterminate,"ft-checkbox-helper--legend-color-displayed":this.legendColor&&this.legendColor.trim().length>0}}get typographyVariant(){return Ae.body2}renderBoxContainer(){return S`
1925
1925
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1926
1926
  <ft-ripple part="checkbox-ripple"
1927
1927
  ?disabled=${this.disabled}
@@ -1957,7 +1957,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1957
1957
  <ft-typography variant="${this.typographyVariant}" part="checkbox-body">
1958
1958
  <slot @slotchange=${this.onSlotchange}></slot>
1959
1959
  </ft-typography>
1960
- `}onSlotchange(){this.requestUpdate()}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new Qf(this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};et.elementDefinitions={"ft-ripple":ne,"ft-typography":de};fr([h()],et.prototype,"name",void 0);fr([h()],et.prototype,"value",void 0);fr([h()],et.prototype,"label",void 0);fr([h()],et.prototype,"helper",void 0);fr([h({type:Boolean,reflect:!0})],et.prototype,"checked",void 0);fr([h({type:Boolean})],et.prototype,"indeterminate",void 0);fr([h({type:Boolean})],et.prototype,"disabled",void 0);fr([h({type:Boolean})],et.prototype,"error",void 0);fr([h()],et.prototype,"legendColor",void 0);fr([G(".ft-checkbox")],et.prototype,"container",void 0);fr([G("ft-ripple")],et.prototype,"ripple",void 0);fr([G("input")],et.prototype,"input",void 0)});var Yt,Py,e1=u(()=>{"use strict";w();I();Re();gt();Yt={textColor:i.extend("--ft-checkbox-text-color","",R.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",q.fontSize),activeColor:i.extend("--ft-checkbox-active-color","",R.colorPrimary),checkColor:i.extend("--ft-checkbox-check-color","",R.colorOnPrimary),borderColor:i.extend("--ft-checkbox-border-color","",R.colorOnSurfaceMedium),disabledColor:i.extend("--ft-checkbox-disabled-color","",R.colorOnSurfaceDisabled),errorColor:i.extend("--ft-checkbox-error-color","",R.colorError)},Py=_`
1960
+ `}onSlotchange(){this.requestUpdate()}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new Qf(this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};tt.elementDefinitions={"ft-ripple":ne,"ft-typography":de};fr([h()],tt.prototype,"name",void 0);fr([h()],tt.prototype,"value",void 0);fr([h()],tt.prototype,"label",void 0);fr([h()],tt.prototype,"helper",void 0);fr([h({type:Boolean,reflect:!0})],tt.prototype,"checked",void 0);fr([h({type:Boolean})],tt.prototype,"indeterminate",void 0);fr([h({type:Boolean})],tt.prototype,"disabled",void 0);fr([h({type:Boolean})],tt.prototype,"error",void 0);fr([h()],tt.prototype,"legendColor",void 0);fr([G(".ft-checkbox")],tt.prototype,"container",void 0);fr([G("ft-ripple")],tt.prototype,"ripple",void 0);fr([G("input")],tt.prototype,"input",void 0)});var Yt,Py,e1=u(()=>{"use strict";w();I();Re();gt();Yt={textColor:i.extend("--ft-checkbox-text-color","",R.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",q.fontSize),activeColor:i.extend("--ft-checkbox-active-color","",R.colorPrimary),checkColor:i.extend("--ft-checkbox-check-color","",R.colorOnPrimary),borderColor:i.extend("--ft-checkbox-border-color","",R.colorOnSurfaceMedium),disabledColor:i.extend("--ft-checkbox-disabled-color","",R.colorOnSurfaceDisabled),errorColor:i.extend("--ft-checkbox-error-color","",R.colorError)},Py=_`
1961
1961
  * {
1962
1962
  box-sizing: border-box;
1963
1963
  }
@@ -2050,7 +2050,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2050
2050
  }
2051
2051
  }
2052
2052
  }
2053
- `});var Pi,t1=u(()=>{"use strict";Jf();Re();e1();Pi=class extends et{get typographyVariant(){return Ae.body2}};Pi.styles=Py});var Iy,r1=u(()=>{"use strict";w();I();gt();yt();Iy=_`
2053
+ `});var Pi,t1=u(()=>{"use strict";Jf();Re();e1();Pi=class extends tt{get typographyVariant(){return Ae.body2}};Pi.styles=Py});var Iy,r1=u(()=>{"use strict";w();I();gt();yt();Iy=_`
2054
2054
  * {
2055
2055
  box-sizing: border-box;
2056
2056
  --input-size: calc(${Q.boxSize} + 2 * (${Q.focusOutlineOffset} + ${Q.focusOutlineWidth}));
@@ -2243,18 +2243,18 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2243
2243
  display: flex;
2244
2244
  flex-direction: column;
2245
2245
 
2246
- max-width: ${ct.maxWidth};
2246
+ max-width: ${Qe.maxWidth};
2247
2247
  width: max-content;
2248
2248
 
2249
- padding-left: ${ct.horizontalPadding};
2250
- padding-right: ${ct.horizontalPadding};
2251
- padding-top: ${ct.verticalPadding};
2252
- padding-bottom: ${ct.verticalPadding};
2253
- gap: ${ct.gap};
2249
+ padding-left: ${Qe.horizontalPadding};
2250
+ padding-right: ${Qe.horizontalPadding};
2251
+ padding-top: ${Qe.verticalPadding};
2252
+ padding-bottom: ${Qe.verticalPadding};
2253
+ gap: ${Qe.gap};
2254
2254
 
2255
- background-color: ${ct.backgroundColor};
2256
- border-radius: ${ct.borderRadius};
2257
- box-shadow: ${ct.shadow};
2255
+ background-color: ${Qe.backgroundColor};
2256
+ border-radius: ${Qe.borderRadius};
2257
+ box-shadow: ${Qe.shadow};
2258
2258
 
2259
2259
  &.positioned {
2260
2260
  visibility: visible;
@@ -2266,9 +2266,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2266
2266
 
2267
2267
  display: flex;
2268
2268
  align-items: center;
2269
- gap: ${ct.gap};
2269
+ gap: ${Qe.gap};
2270
2270
 
2271
- color: ${ct.titleColor};
2271
+ color: ${Qe.titleColor};
2272
2272
  }
2273
2273
 
2274
2274
  [part="heading"] ftds-typography {
@@ -2280,19 +2280,19 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2280
2280
  }
2281
2281
 
2282
2282
  [part="content"] {
2283
- color: ${ct.bodyColor};
2283
+ color: ${Qe.bodyColor};
2284
2284
  }
2285
2285
 
2286
2286
  [part="popover-sections"] {
2287
2287
  display: flex;
2288
2288
  flex-direction: column;
2289
- gap: ${ct.multiSectionVerticalGap};
2289
+ gap: ${Qe.multiSectionVerticalGap};
2290
2290
  }
2291
2291
 
2292
2292
  .hidden {
2293
2293
  display: none;
2294
2294
  }
2295
- `});var ft,$e,i1=u(()=>{"use strict";I();J();Ia();w();Re();qt();o1();Ye();ge();yt();ft=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},$e=class extends W{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=Me.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=dt.medium,this.openButtonFamily=it.info,this.watchFocusIn=e=>{this.popoverWrapper&&!e.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=e=>{var r;e.key==="Escape"&&(this.close(),(r=this.openingButton)===null||r===void 0||r.focus())}}render(){let e={opened:this.opened};return this.hidden?$:S`
2295
+ `});var ft,$e,i1=u(()=>{"use strict";I();J();Ia();w();Re();qt();o1();Ye();ge();yt();ft=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},$e=class extends W{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=Me.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=dt.medium,this.openButtonFamily=nt.info,this.watchFocusIn=e=>{this.popoverWrapper&&!e.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=e=>{var r;e.key==="Escape"&&(this.close(),(r=this.openingButton)===null||r===void 0||r.focus())}}render(){let e={opened:this.opened};return this.hidden?$:S`
2296
2296
  <div part="root-container" class="${ce(e)}">
2297
2297
  <ftds-button @focusin=${this.close}
2298
2298
  part="opening-button"
@@ -2314,7 +2314,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2314
2314
  <ftds-button part="closing-button"
2315
2315
  icon="${Me.CLOSE}"
2316
2316
  size="${dt.small}"
2317
- family="${it.neutral}"
2317
+ family="${nt.neutral}"
2318
2318
  label="${this.closeButtonLabel}"
2319
2319
  @click=${this.closeAndFocusOpeningButton}></ftds-button>
2320
2320
  </div>
@@ -2343,7 +2343,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2343
2343
  </div>
2344
2344
  </div>
2345
2345
  </div>
2346
- `:$}updated(e){super.updated(e),e.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasEmptySlot(e){return Pr(e).trim().length===0}closeAndFocusOpeningButton(){var e,r;this.close(),(e=this.openingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var e,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let o=["right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],{x:n,y:a}=await oa(this.openingButton,this.popoverWrapper,"bottom-start",o,"fixed");this.popoverWrapper.style.left=`${n}px`,this.popoverWrapper.style.top=`${a}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(e=this.closingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}hideUnusedSlots(){var e,r,o;(e=this.popoverLinkTypography)===null||e===void 0||e.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(o=this.popoverSectionsDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};$e.elementDefinitions={"ftds-typography":at,"ftds-button":Bt};$e.styles=$y;ft([h()],$e.prototype,"heading",void 0);ft([h()],$e.prototype,"closeButtonLabel",void 0);ft([h()],$e.prototype,"openButtonIcon",void 0);ft([h()],$e.prototype,"openButtonLabel",void 0);ft([h()],$e.prototype,"openButtonTooltipPosition",void 0);ft([h({type:Boolean})],$e.prototype,"opened",void 0);ft([h({type:Boolean})],$e.prototype,"hidden",void 0);ft([h({type:dt})],$e.prototype,"openButtonSize",void 0);ft([h({type:it})],$e.prototype,"openButtonFamily",void 0);ft([G('[part="opening-button"]')],$e.prototype,"openingButton",void 0);ft([G('[part="closing-button"]')],$e.prototype,"closingButton",void 0);ft([G('[part="wrapper"]')],$e.prototype,"popoverWrapper",void 0);ft([G('[part="content"]')],$e.prototype,"popoverContentDiv",void 0);ft([G('[part="popover-content-slot"]')],$e.prototype,"popoverContentSlot",void 0);ft([G('[part="popover-link"]')],$e.prototype,"slottedLinkContent",void 0);ft([G('[part="popover-link-typography"]')],$e.prototype,"popoverLinkTypography",void 0);ft([G('[part="popover-sections"]')],$e.prototype,"popoverSectionsDiv",void 0);ft([G('[part="popover-sections-slot"]')],$e.prototype,"popoverSectionsSlot",void 0)});var zy=u(()=>{"use strict"});var Dy,n1=u(()=>{"use strict";I();ge();Dy=_`
2346
+ `:$}updated(e){super.updated(e),e.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasEmptySlot(e){return Pr(e).trim().length===0}closeAndFocusOpeningButton(){var e,r;this.close(),(e=this.openingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var e,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let a={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:Qe.maxWidth},{x:s,y:l}=await oa(this.openingButton,this.popoverWrapper,a);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${l}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(e=this.closingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}hideUnusedSlots(){var e,r,o;(e=this.popoverLinkTypography)===null||e===void 0||e.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(o=this.popoverSectionsDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};$e.elementDefinitions={"ftds-typography":st,"ftds-button":Bt};$e.styles=$y;ft([h()],$e.prototype,"heading",void 0);ft([h()],$e.prototype,"closeButtonLabel",void 0);ft([h()],$e.prototype,"openButtonIcon",void 0);ft([h()],$e.prototype,"openButtonLabel",void 0);ft([h()],$e.prototype,"openButtonTooltipPosition",void 0);ft([h({type:Boolean})],$e.prototype,"opened",void 0);ft([h({type:Boolean})],$e.prototype,"hidden",void 0);ft([h({type:dt})],$e.prototype,"openButtonSize",void 0);ft([h({type:nt})],$e.prototype,"openButtonFamily",void 0);ft([G('[part="opening-button"]')],$e.prototype,"openingButton",void 0);ft([G('[part="closing-button"]')],$e.prototype,"closingButton",void 0);ft([G('[part="wrapper"]')],$e.prototype,"popoverWrapper",void 0);ft([G('[part="content"]')],$e.prototype,"popoverContentDiv",void 0);ft([G('[part="popover-content-slot"]')],$e.prototype,"popoverContentSlot",void 0);ft([G('[part="popover-link"]')],$e.prototype,"slottedLinkContent",void 0);ft([G('[part="popover-link-typography"]')],$e.prototype,"popoverLinkTypography",void 0);ft([G('[part="popover-sections"]')],$e.prototype,"popoverSectionsDiv",void 0);ft([G('[part="popover-sections-slot"]')],$e.prototype,"popoverSectionsSlot",void 0)});var zy=u(()=>{"use strict"});var Dy,n1=u(()=>{"use strict";I();ge();Dy=_`
2347
2347
  .ftds-popover-section--heading ftds-typography {
2348
2348
  flex-grow: 1;
2349
2349
  flex-shrink: 1;
@@ -2353,13 +2353,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2353
2353
  }
2354
2354
 
2355
2355
  .ftds-popover-section--content {
2356
- color: ${ct.bodyColor};
2356
+ color: ${Qe.bodyColor};
2357
2357
  }
2358
2358
 
2359
2359
  .ftds-popover-section--container {
2360
2360
  display: flex;
2361
2361
  flex-direction: column;
2362
- gap: ${ct.contentSectionVerticalGap};
2362
+ gap: ${Qe.contentSectionVerticalGap};
2363
2363
  }
2364
2364
  `});var a1,vo,s1=u(()=>{"use strict";I();J();w();Re();n1();a1=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},vo=class extends W{constructor(){super(...arguments),this.heading=""}render(){return S`
2365
2365
  <div class="ftds-popover-section--container">
@@ -2382,7 +2382,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2382
2382
  <div class="ftds-popover-section--heading" part="heading" id="ftds-popover-section-heading">
2383
2383
  <ftds-typography element="span" variant="${Pe.body2semibold}">${this.heading}</ftds-typography>
2384
2384
  </div>
2385
- `:$}updated(e){super.updated(e),this.popoverSectionLinkTypography.hidden=Pr(this.popoverSectionLinkSlot).trim().length===0}};vo.elementDefinitions={"ftds-typography":at};vo.styles=Dy;a1([h()],vo.prototype,"heading",void 0);a1([G("[part=popover-section-link-typography]")],vo.prototype,"popoverSectionLinkTypography",void 0);a1([G("[part=popover-section-link]")],vo.prototype,"popoverSectionLinkSlot",void 0)});var By=u(()=>{"use strict"});var Fy=u(()=>{"use strict";w();i1();s1();H("ftds-popover")($e);H("ftds-popover-section")(vo)});var Uy=u(()=>{"use strict";i1();o1();zy();s1();n1();By();Fy()});var Hy=u(()=>{"use strict"});var Gy,l1=u(()=>{"use strict";I();ge();yt();w();ge();Gy=_`
2385
+ `:$}updated(e){super.updated(e),this.popoverSectionLinkTypography.hidden=Pr(this.popoverSectionLinkSlot).trim().length===0}};vo.elementDefinitions={"ftds-typography":st};vo.styles=Dy;a1([h()],vo.prototype,"heading",void 0);a1([G("[part=popover-section-link-typography]")],vo.prototype,"popoverSectionLinkTypography",void 0);a1([G("[part=popover-section-link]")],vo.prototype,"popoverSectionLinkSlot",void 0)});var By=u(()=>{"use strict"});var Fy=u(()=>{"use strict";w();i1();s1();H("ftds-popover")($e);H("ftds-popover-section")(vo)});var Uy=u(()=>{"use strict";i1();o1();zy();s1();n1();By();Fy()});var Hy=u(()=>{"use strict"});var Gy,l1=u(()=>{"use strict";I();ge();yt();w();ge();Gy=_`
2386
2386
 
2387
2387
  .ftds-link {
2388
2388
  display: inline-flex;
@@ -2487,9 +2487,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2487
2487
  ${this.resolveIcon()}
2488
2488
  </a>
2489
2489
  `}resolveIcon(){return this.target===Dl.BLANK?S`
2490
- <ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant=${Je.fluid_topics} .value=${this.icon}>
2490
+ <ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant=${et.fluid_topics} .value=${this.icon}>
2491
2491
  </ft-icon>
2492
- `:S``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};Xt.elementDefinitions={"ftds-typography":at,"ft-icon":Oe};Xt.styles=[Vt,Gy];Ga([h()],Xt.prototype,"href",void 0);Ga([h()],Xt.prototype,"variant",void 0);Ga([h({type:Boolean})],Xt.prototype,"underlined",void 0);Ga([h()],Xt.prototype,"openInNewTabLabel",void 0);Ga([h()],Xt.prototype,"target",void 0)});var Vy=u(()=>{"use strict";w();c1();H("ftds-link")(Xt)});var Wy=u(()=>{"use strict";Hy();c1();l1();Vy()});var d1,Pn,u1=u(()=>{"use strict";Jf();Ye();w();r1();ge();Re();I();yt();Uy();Wy();d1=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Pn=class extends ar(et){constructor(){super(...arguments),this.rippleUnbounded=!1,this.family=it.brand}get checkboxClasses(){return{...super.checkboxClasses,...this.getDesignSystemBaseClasses()}}render(){return S`
2492
+ `:S``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};Xt.elementDefinitions={"ftds-typography":st,"ft-icon":Oe};Xt.styles=[Vt,Gy];Ga([h()],Xt.prototype,"href",void 0);Ga([h()],Xt.prototype,"variant",void 0);Ga([h({type:Boolean})],Xt.prototype,"underlined",void 0);Ga([h()],Xt.prototype,"openInNewTabLabel",void 0);Ga([h()],Xt.prototype,"target",void 0)});var Vy=u(()=>{"use strict";w();c1();H("ftds-link")(Xt)});var Wy=u(()=>{"use strict";Hy();c1();l1();Vy()});var d1,Pn,u1=u(()=>{"use strict";Jf();Ye();w();r1();ge();Re();I();yt();Uy();Wy();d1=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Pn=class extends ar(tt){constructor(){super(...arguments),this.rippleUnbounded=!1,this.family=nt.brand}get checkboxClasses(){return{...super.checkboxClasses,...this.getDesignSystemBaseClasses()}}render(){return S`
2493
2493
  <div part="checkbox-and-popover">
2494
2494
  <div part="checkbox-label-and-helper">
2495
2495
  <label class="${ce(this.checkboxClasses)}" for="checkbox-input" part="checkbox-label">
@@ -2518,7 +2518,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2518
2518
  <div part="checkbox-popover-wrapper">
2519
2519
  <slot @slotchange=${this.onSlotchange}></slot>
2520
2520
  </div>
2521
- </div>`}get typographyVariant(){return Pe.body2medium}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new d1(this.value,this.checked))}};Pn.elementDefinitions={...et.elementDefinitions,"ftds-popover":$e,"ftds-link":Xt,"ftds-typography":at,"ft-icon":Oe};Pn.styles=[Vt,Iy]});var jy=u(()=>{"use strict";w();t1();u1();H("ft-checkbox")(Pi);H("ftds-checkbox")(Pn)});var Ky=u(()=>{"use strict";t1();e1();u1();r1();jy()});var jo,Bl,bt,Fl=u(()=>{"use strict";I();J();w();Ye();gt();jo=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Bl=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},bt=class extends W{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return S`
2521
+ </div>`}get typographyVariant(){return Pe.body2medium}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new d1(this.value,this.checked))}};Pn.elementDefinitions={...tt.elementDefinitions,"ftds-popover":$e,"ftds-link":Xt,"ftds-typography":st,"ft-icon":Oe};Pn.styles=[Vt,Iy]});var jy=u(()=>{"use strict";w();t1();u1();H("ft-checkbox")(Pi);H("ftds-checkbox")(Pn)});var Ky=u(()=>{"use strict";t1();e1();u1();r1();jy()});var jo,Bl,bt,Fl=u(()=>{"use strict";I();J();w();Ye();gt();jo=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Bl=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},bt=class extends W{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return S`
2522
2522
  <div class="${ce(this.radioClasses)}"
2523
2523
  @click=${this.onClick}>
2524
2524
  <div class="ft-radio--box-container">
@@ -2741,7 +2741,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2741
2741
  .ft-radio ft-or-ftds-typography {
2742
2742
  padding-right: 2px;
2743
2743
  }
2744
- `});var In,m1=u(()=>{"use strict";Fl();w();h1();ge();Re();In=class extends ar(bt){constructor(){super(...arguments),this.family=it.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return Pe.body2medium}};In.elementDefinitions={...bt.elementDefinitions,"ft-or-ftds-typography":de};In.styles=[Vt,Zy]});var Va,hr,Ul=u(()=>{"use strict";w();J();I();Va=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},hr=class extends W{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)},this.onFocusOut=e=>{}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(o=>o.matches("ft-radio,ftds-radio")?[o]:[...o.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return S`
2744
+ `});var In,m1=u(()=>{"use strict";Fl();w();h1();ge();Re();In=class extends ar(bt){constructor(){super(...arguments),this.family=nt.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return Pe.body2medium}};In.elementDefinitions={...bt.elementDefinitions,"ft-or-ftds-typography":de};In.styles=[Vt,Zy]});var Va,hr,Ul=u(()=>{"use strict";w();J();I();Va=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},hr=class extends W{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)},this.onFocusOut=e=>{}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(o=>o.matches("ft-radio,ftds-radio")?[o]:[...o.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return S`
2745
2745
  <slot @slotchange=${this.onSlotChange}
2746
2746
  @change=${this.onChange}
2747
2747
  @keydown=${this.onKeyDown}
@@ -2764,7 +2764,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2764
2764
  :host(:focus-visible) {
2765
2765
  outline: none;
2766
2766
  }
2767
- `});var Wa,v1=u(()=>{"use strict";Ul();w();b1();ge();Wa=class extends ar(hr){constructor(){super(...arguments),this.family=it.brand}};Wa.styles=[Vt,Xy]});var Qy=u(()=>{"use strict";w();f1();m1();y1();v1();H("ft-radio")(Xr);H("ftds-radio")(In);H("ft-radio-group")(Ii);H("ftds-radio-group")(Wa)});var x1=u(()=>{"use strict";f1();p1();m1();h1();y1();g1();v1();b1();Qy()});var vt,Ke,Jy=u(()=>{"use strict";I();J();Sr();w();qt();Re();gt();yt();Ky();x1();Xf();dr();vt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ke=class extends Dt(ma(W)){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new me(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return S`
2767
+ `});var Wa,v1=u(()=>{"use strict";Ul();w();b1();ge();Wa=class extends ar(hr){constructor(){super(...arguments),this.family=nt.brand}};Wa.styles=[Vt,Xy]});var Qy=u(()=>{"use strict";w();f1();m1();y1();v1();H("ft-radio")(Xr);H("ftds-radio")(In);H("ft-radio-group")(Ii);H("ftds-radio-group")(Wa)});var x1=u(()=>{"use strict";f1();p1();m1();h1();y1();g1();v1();b1();Qy()});var vt,Ke,Jy=u(()=>{"use strict";I();J();Sr();w();qt();Re();gt();yt();Ky();x1();Xf();dr();vt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ke=class extends Dt(ma(W)){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new me(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return S`
2768
2768
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
2769
2769
  ${this.parent==null?null:S`
2770
2770
  <div tabindex="0"
@@ -2957,7 +2957,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2957
2957
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
2958
2958
  background-color: ${Mt.colorSurface};
2959
2959
  }
2960
- `});var Qr,S1,tt,C1=u(()=>{"use strict";I();J();w();qt();Ye();Hl();Qr=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},S1=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},tt=class extends W{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new me(200),this.updateScrollDebouncer=new me(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let o=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>o)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=ce({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":po}),r=this.controls&&this.withScroll;return S`
2960
+ `});var Qr,S1,rt,C1=u(()=>{"use strict";I();J();w();qt();Ye();Hl();Qr=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},S1=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},rt=class extends W{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new me(200),this.updateScrollDebouncer=new me(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let o=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>o)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=ce({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":po}),r=this.controls&&this.withScroll;return S`
2961
2961
  <div part="container" class="${e}">
2962
2962
  <ft-button
2963
2963
  class="ft-snap-scroll--previous"
@@ -2981,7 +2981,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2981
2981
  @click=${this.next}
2982
2982
  ></ft-button>
2983
2983
  </div>
2984
- `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new S1(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,o;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(o=this.contentSlot)===null||o===void 0||o.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(o=>o))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};tt.elementDefinitions={"ft-button":We};tt.styles=eb;Qr([h({type:Boolean})],tt.prototype,"horizontal",void 0);Qr([h({type:Boolean})],tt.prototype,"hideScrollbar",void 0);Qr([h({type:Boolean})],tt.prototype,"controls",void 0);Qr([h({type:Boolean})],tt.prototype,"limitSize",void 0);Qr([U()],tt.prototype,"elements",void 0);Qr([U()],tt.prototype,"currentElement",void 0);Qr([U()],tt.prototype,"withScroll",void 0);Qr([U()],tt.prototype,"startReached",void 0);Qr([U()],tt.prototype,"endReached",void 0);Qr([G(".ft-snap-scroll--content")],tt.prototype,"contentSlot",void 0)});var tb=u(()=>{"use strict"});var rb=u(()=>{"use strict";w();C1();H("ft-snap-scroll")(tt)});var Gl=u(()=>{"use strict";C1();Hl();tb();rb()});var Ut,ob,Vl=u(()=>{"use strict";I();w();cr();Li();Ut={colorOutline:i.external(R.colorOutline,"Design system"),colorOnSurface:i.external(R.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(R.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(R.colorPrimary,"Design system"),colorSurface:i.external(R.colorSurface,"Design system"),transitionDuration:i.external(R.transitionDuration,"Design system"),transitionTimingFunction:i.external(R.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",R.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",q.fontSize,"16px")},ob=[Gr,hi,_`
2984
+ `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new S1(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,o;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(o=this.contentSlot)===null||o===void 0||o.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(o=>o))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};rt.elementDefinitions={"ft-button":We};rt.styles=eb;Qr([h({type:Boolean})],rt.prototype,"horizontal",void 0);Qr([h({type:Boolean})],rt.prototype,"hideScrollbar",void 0);Qr([h({type:Boolean})],rt.prototype,"controls",void 0);Qr([h({type:Boolean})],rt.prototype,"limitSize",void 0);Qr([U()],rt.prototype,"elements",void 0);Qr([U()],rt.prototype,"currentElement",void 0);Qr([U()],rt.prototype,"withScroll",void 0);Qr([U()],rt.prototype,"startReached",void 0);Qr([U()],rt.prototype,"endReached",void 0);Qr([G(".ft-snap-scroll--content")],rt.prototype,"contentSlot",void 0)});var tb=u(()=>{"use strict"});var rb=u(()=>{"use strict";w();C1();H("ft-snap-scroll")(rt)});var Gl=u(()=>{"use strict";C1();Hl();tb();rb()});var Ut,ob,Vl=u(()=>{"use strict";I();w();cr();Li();Ut={colorOutline:i.external(R.colorOutline,"Design system"),colorOnSurface:i.external(R.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(R.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(R.colorPrimary,"Design system"),colorSurface:i.external(R.colorSurface,"Design system"),transitionDuration:i.external(R.transitionDuration,"Design system"),transitionTimingFunction:i.external(R.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",R.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",q.fontSize,"16px")},ob=[Gr,hi,_`
2985
2985
  :host {
2986
2986
  display: flex;
2987
2987
  max-height: 100%;
@@ -3181,7 +3181,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3181
3181
  noValuesLabel="${this.noValuesLabel}"
3182
3182
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
3183
3183
  ></ft-filter-level>
3184
- `}goBack(e){this.slideOut=e.detail.value,Yn(()=>this.slideOut===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,Yn(()=>this.slideIn===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnBackButton()})}focusOnFirstOption(){Yn(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let o=this.flatOptions.find(a=>a.value===e.detail.value);o.selected=!o.selected;let n=a=>{var s;a!==o&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=o.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;ot(this.lastDispatchedValues,e)||(this.dispatchEvent(new O1(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};xe.elementDefinitions={"ft-button":We,"ft-filter-level":Ke,"ft-snap-scroll":tt,"ft-typography":de};xe.styles=ob;He([h({type:String})],xe.prototype,"id",void 0);He([h({type:String})],xe.prototype,"label",void 0);He([h({type:String})],xe.prototype,"filterPlaceHolder",void 0);He([h({type:String})],xe.prototype,"clearButtonLabel",void 0);He([h({type:String})],xe.prototype,"moreValuesButtonLabel",void 0);He([h({type:String})],xe.prototype,"noValuesLabel",void 0);He([Ee([])],xe.prototype,"options",void 0);He([h({type:Boolean})],xe.prototype,"multivalued",void 0);He([h({type:Boolean})],xe.prototype,"disabled",void 0);He([h({type:Boolean})],xe.prototype,"raiseSelectedOptions",void 0);He([h({type:Boolean})],xe.prototype,"displayCount",void 0);He([or()],xe.prototype,"displayedValuesLimit",void 0);He([Ee(void 0)],xe.prototype,"filteredOptionsNumberAriaNotification",void 0);He([h({type:Boolean})],xe.prototype,"hideClearButton",void 0);He([G(".ft-filter--slot")],xe.prototype,"slotElement",void 0);He([G(".ft-filter--container")],xe.prototype,"container",void 0);He([G(".ft-filter--values")],xe.prototype,"valuesContainer",void 0);He([G(".ft-filter--levels")],xe.prototype,"levelsContainer",void 0);He([U()],xe.prototype,"lastLevelHasHiddenvalues",void 0);He([G(".ft-filter--filter input")],xe.prototype,"filterInput",void 0);He([yc(".ft-filter--levels ft-filter-level")],xe.prototype,"levels",void 0);He([U()],xe.prototype,"withScroll",void 0);He([U()],xe.prototype,"filter",void 0);He([U()],xe.prototype,"slideIn",void 0);He([U()],xe.prototype,"slideOut",void 0)});var ib=u(()=>{"use strict"});var $n,Qt,L1=u(()=>{"use strict";w();J();I();$n=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qt=class extends W{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return S`
3184
+ `}goBack(e){this.slideOut=e.detail.value,Yn(()=>this.slideOut===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,Yn(()=>this.slideIn===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnBackButton()})}focusOnFirstOption(){Yn(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let o=this.flatOptions.find(a=>a.value===e.detail.value);o.selected=!o.selected;let n=a=>{var s;a!==o&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=o.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;it(this.lastDispatchedValues,e)||(this.dispatchEvent(new O1(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};xe.elementDefinitions={"ft-button":We,"ft-filter-level":Ke,"ft-snap-scroll":rt,"ft-typography":de};xe.styles=ob;He([h({type:String})],xe.prototype,"id",void 0);He([h({type:String})],xe.prototype,"label",void 0);He([h({type:String})],xe.prototype,"filterPlaceHolder",void 0);He([h({type:String})],xe.prototype,"clearButtonLabel",void 0);He([h({type:String})],xe.prototype,"moreValuesButtonLabel",void 0);He([h({type:String})],xe.prototype,"noValuesLabel",void 0);He([Ee([])],xe.prototype,"options",void 0);He([h({type:Boolean})],xe.prototype,"multivalued",void 0);He([h({type:Boolean})],xe.prototype,"disabled",void 0);He([h({type:Boolean})],xe.prototype,"raiseSelectedOptions",void 0);He([h({type:Boolean})],xe.prototype,"displayCount",void 0);He([or()],xe.prototype,"displayedValuesLimit",void 0);He([Ee(void 0)],xe.prototype,"filteredOptionsNumberAriaNotification",void 0);He([h({type:Boolean})],xe.prototype,"hideClearButton",void 0);He([G(".ft-filter--slot")],xe.prototype,"slotElement",void 0);He([G(".ft-filter--container")],xe.prototype,"container",void 0);He([G(".ft-filter--values")],xe.prototype,"valuesContainer",void 0);He([G(".ft-filter--levels")],xe.prototype,"levelsContainer",void 0);He([U()],xe.prototype,"lastLevelHasHiddenvalues",void 0);He([G(".ft-filter--filter input")],xe.prototype,"filterInput",void 0);He([yc(".ft-filter--levels ft-filter-level")],xe.prototype,"levels",void 0);He([U()],xe.prototype,"withScroll",void 0);He([U()],xe.prototype,"filter",void 0);He([U()],xe.prototype,"slideIn",void 0);He([U()],xe.prototype,"slideOut",void 0)});var ib=u(()=>{"use strict"});var $n,Qt,L1=u(()=>{"use strict";w();J();I();$n=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qt=class extends W{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return S`
3185
3185
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
3186
3186
  `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qt.elementDefinitions={};$n([h({type:String})],Qt.prototype,"label",void 0);$n([h({type:Object,converter:t=>t})],Qt.prototype,"value",void 0);$n([h({type:Boolean,reflect:!0})],Qt.prototype,"selected",void 0);$n([h({type:Object})],Qt.prototype,"subOptions",void 0);$n([Ee({})],Qt.prototype,"renderOption",void 0);$n([G(".ft-filter-option--slot")],Qt.prototype,"slotElement",void 0)});var nb=u(()=>{"use strict"});var ab=u(()=>{"use strict";w();E1();L1();H("ft-filter")(xe);H("ft-filter-option")(Qt)});var sb=u(()=>{"use strict";Xf();E1();Vl();ib();L1();nb();ab()});var lb,A1=u(()=>{"use strict";I();lb=_`
3187
3187
  .ft-accordion {
@@ -3267,7 +3267,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3267
3267
  </div>
3268
3268
  <div class="ft-accordion-item--separator" part="separator"></div>
3269
3269
  </div>
3270
- `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};mr.elementDefinitions={"ft-ripple":ne,"ft-typography":de,"ft-icon":Oe};mr.styles=ub;Wl([h()],mr.prototype,"icon",void 0);Wl([h()],mr.prototype,"iconVariant",void 0);Wl([h()],mr.prototype,"label",void 0);Wl([h({type:Boolean,reflect:!0})],mr.prototype,"active",void 0)});var pb=u(()=>{"use strict"});var fb=u(()=>{"use strict";w();R1();_1();H("ft-accordion")(Jr);H("ft-accordion-item")(mr)});var hb=u(()=>{"use strict";R1();A1();db();_1();w1();pb();fb()});var mb,xt,gb,k1,yb,bb,T1=u(()=>{"use strict";I();w();Ur();cr();Ei();qt();mb=i.extend("--ft-chip-color","",R.colorOnSurface),xt={backgroundColor:i.extend("--ft-chip-background-color","",R.colorSurface),color:mb,fontSize:i.extend("--ft-chip-font-size","",nt.fontSize),fontWeight:i.extend("--ft-chip-font-weight","",nt.fontWeight),iconSize:i.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:i.create("--ft-chip-border-radius","","SIZE",""),rippleColor:i.extend("--ft-chip-ripple-color","",mb),horizontalPadding:i.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:i.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:i.extend("--ft-chip-border-color","",R.colorOutline),opacityDisabled:i.external(R.colorOpacityDisabled,"Design system")},gb=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",R.colorOnPrimary)),k1={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",R.colorPrimary)),color:gb,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",gb)},yb={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},bb=[Or,_`
3270
+ `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};mr.elementDefinitions={"ft-ripple":ne,"ft-typography":de,"ft-icon":Oe};mr.styles=ub;Wl([h()],mr.prototype,"icon",void 0);Wl([h()],mr.prototype,"iconVariant",void 0);Wl([h()],mr.prototype,"label",void 0);Wl([h({type:Boolean,reflect:!0})],mr.prototype,"active",void 0)});var pb=u(()=>{"use strict"});var fb=u(()=>{"use strict";w();R1();_1();H("ft-accordion")(Jr);H("ft-accordion-item")(mr)});var hb=u(()=>{"use strict";R1();A1();db();_1();w1();pb();fb()});var mb,xt,gb,k1,yb,bb,T1=u(()=>{"use strict";I();w();Ur();cr();Ei();qt();mb=i.extend("--ft-chip-color","",R.colorOnSurface),xt={backgroundColor:i.extend("--ft-chip-background-color","",R.colorSurface),color:mb,fontSize:i.extend("--ft-chip-font-size","",at.fontSize),fontWeight:i.extend("--ft-chip-font-weight","",at.fontWeight),iconSize:i.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:i.create("--ft-chip-border-radius","","SIZE",""),rippleColor:i.extend("--ft-chip-ripple-color","",mb),horizontalPadding:i.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:i.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:i.extend("--ft-chip-border-color","",R.colorOutline),opacityDisabled:i.external(R.colorOpacityDisabled,"Design system")},gb=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",R.colorOnPrimary)),k1={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",R.colorPrimary)),color:gb,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",gb)},yb={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},bb=[Or,_`
3271
3271
  :host {
3272
3272
  display: inline-block;
3273
3273
  max-width: 100%;
@@ -3369,9 +3369,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3369
3369
  vertical-align: bottom;
3370
3370
  display: block;
3371
3371
  margin: 0 var(--chip-internal-horizontal-padding);
3372
- ${x(nt.fontSize,"var(--chip-internal-font-size)")};
3373
- ${x(nt.fontWeight,"var(--chip-internal-font-weight)")};
3374
- ${x(nt.lineHeight,"var(--chip-internal-content-height)")};
3372
+ ${x(at.fontSize,"var(--chip-internal-font-size)")};
3373
+ ${x(at.fontWeight,"var(--chip-internal-font-weight)")};
3374
+ ${x(at.lineHeight,"var(--chip-internal-content-height)")};
3375
3375
  }
3376
3376
 
3377
3377
  .ft-chip--safari-fix .ft-chip--label {
@@ -3613,7 +3613,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3613
3613
  </div>
3614
3614
  `}renderIcon(){return this.icon?S`
3615
3615
  <div class="ftds-chip--icon-container" part="icon-container">
3616
- <ft-icon .variant=${Je.fluid_topics} .value=${this.icon} part="icon"></ft-icon>
3616
+ <ft-icon .variant=${et.fluid_topics} .value=${this.icon} part="icon"></ft-icon>
3617
3617
  </div>
3618
3618
  `:$}renderAction(){return this.removable?S`
3619
3619
  <ftds-button round
@@ -3621,13 +3621,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3621
3621
  @click=${this.dispatchRemoveEvent}
3622
3622
  icon="${Me.X_MARK}"
3623
3623
  label="${this.removeButtonLabel}"
3624
- family="${it.neutral}"
3624
+ family="${nt.neutral}"
3625
3625
  size="${this.resolveButtonSize()}"
3626
3626
  part="icon-button"
3627
3627
  ></ftds-button>
3628
3628
  `:this.withAction?S`
3629
3629
  <slot name="action"></slot>
3630
- `:$}resolveButtonSize(){switch(this.size){case dt.large:return dt.medium;default:return dt.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new P1)}typographyVariant(){switch(this.size){case dt.large:return Pe.body2medium;default:return Pe.caption1medium}}};gr.elementDefinitions={"ftds-typography":at,"ft-icon":Oe,"ftds-button":Bt};gr.styles=xb;zn([h({type:Boolean})],gr.prototype,"withAction",void 0);zn([h({type:Boolean})],gr.prototype,"removable",void 0);zn([h()],gr.prototype,"removeButtonLabel",void 0);zn([h()],gr.prototype,"label",void 0);zn([h()],gr.prototype,"icon",void 0);zn([G("ftds-typography slot")],gr.prototype,"slottedContent",void 0)});var Sb=u(()=>{"use strict"});var Cb=u(()=>{"use strict";w();M1();I1();H("ft-chip")(qe);H("ftds-chip")(gr)});var $1=u(()=>{"use strict";M1();T1();vb();I1();N1();Sb();Cb()});var ae,Ob,Dn=u(()=>{"use strict";I();w();cr();ae={fontSize:i.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:i.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:i.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:i.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:i.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:i.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:i.extend("--ft-input-label-border-color","",R.colorOutline),textColor:i.extend("--ft-input-label-text-color","",R.colorOnSurfaceMedium),disabledTextColor:i.extend("--ft-input-label-disabled-text-color","",R.colorOnSurfaceDisabled),backgroundColor:i.extend("--ft-input-label-background-color","",R.colorSurface),borderRadius:i.extend("--ft-input-label-border-radius","",R.borderRadiusS),colorError:i.external(R.colorError,"Design system")},Ob=_`
3630
+ `:$}resolveButtonSize(){switch(this.size){case dt.large:return dt.medium;default:return dt.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new P1)}typographyVariant(){switch(this.size){case dt.large:return Pe.body2medium;default:return Pe.caption1medium}}};gr.elementDefinitions={"ftds-typography":st,"ft-icon":Oe,"ftds-button":Bt};gr.styles=xb;zn([h({type:Boolean})],gr.prototype,"withAction",void 0);zn([h({type:Boolean})],gr.prototype,"removable",void 0);zn([h()],gr.prototype,"removeButtonLabel",void 0);zn([h()],gr.prototype,"label",void 0);zn([h()],gr.prototype,"icon",void 0);zn([G("ftds-typography slot")],gr.prototype,"slottedContent",void 0)});var Sb=u(()=>{"use strict"});var Cb=u(()=>{"use strict";w();M1();I1();H("ft-chip")(qe);H("ftds-chip")(gr)});var $1=u(()=>{"use strict";M1();T1();vb();I1();N1();Sb();Cb()});var ae,Ob,Dn=u(()=>{"use strict";I();w();cr();ae={fontSize:i.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:i.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:i.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:i.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:i.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:i.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:i.extend("--ft-input-label-border-color","",R.colorOutline),textColor:i.extend("--ft-input-label-text-color","",R.colorOnSurfaceMedium),disabledTextColor:i.extend("--ft-input-label-disabled-text-color","",R.colorOnSurfaceDisabled),backgroundColor:i.extend("--ft-input-label-background-color","",R.colorSurface),borderRadius:i.extend("--ft-input-label-border-radius","",R.borderRadiusS),colorError:i.external(R.colorError,"Design system")},Ob=_`
3631
3631
  .ft-input-label {
3632
3632
  position: absolute;
3633
3633
  inset: 0;
@@ -4071,7 +4071,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
4071
4071
  label="${e.label}"
4072
4072
  .value=${e.value}
4073
4073
  ></ft-select-option>
4074
- `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,o;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((o=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||o===void 0||o.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];oa(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",le.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=ia(this.optionsSlot);let o=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,o;let n,a=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(n=this.handleAlphanumericPress(e.key));break}n?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let o=this.options.find(n=>{var a;return((a=n.label)===null||a===void 0?void 0:a.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,o&&this.optionsList.find(n=>n.value===o.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(o=>ot(o.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let o=this.options.find(n=>ot(n.value,e));o&&this.selectOption(o,r)}selectOption(e,r=!0){var o,n;if(!ot((o=this.selectedOption)===null||o===void 0?void 0:o.value,e?.value)){this.selectedOption=e;for(let a of this.options)a.selected=a===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};ze.elementDefinitions={"ft-input-label":_r,"ft-typography":de,"ft-ripple":ne,"ft-icon":Oe,"ft-select-option":Pt};ze.searchTimeoutMilliseconds=2e3;ze.styles=[Gr,kb];St([h({type:String})],ze.prototype,"label",void 0);St([h({type:String})],ze.prototype,"ariaLabel",void 0);St([h({type:String})],ze.prototype,"helper",void 0);St([h({type:Boolean})],ze.prototype,"outlined",void 0);St([h({type:Boolean})],ze.prototype,"disabled",void 0);St([h({type:Boolean})],ze.prototype,"error",void 0);St([h({type:Boolean})],ze.prototype,"fixedMenuPosition",void 0);St([h({type:Array})],ze.prototype,"options",void 0);St([U()],ze.prototype,"selectedOption",void 0);St([U()],ze.prototype,"optionsDisplayed",void 0);St([U()],ze.prototype,"focusOptions",void 0);St([U()],ze.prototype,"currentSearch",void 0);St([U()],ze.prototype,"lastSearchInputDate",void 0);St([G(".ft-select")],ze.prototype,"container",void 0);St([G(".ft-select--options")],ze.prototype,"optionsMenu",void 0);St([G(".ft-select--input-panel")],ze.prototype,"mainPanel",void 0);St([G("slot:not([name])")],ze.prototype,"optionsSlot",void 0)});var Pb=u(()=>{"use strict"});var Ib=u(()=>{"use strict";w();H1();H("ft-select")(ze);H("ft-select-option")(Pt)});var $b=u(()=>{"use strict";H1();Ka();Pb();Ib()});var Ct,zb,ql=u(()=>{"use strict";I();w();Ct={display:i.create("--ft-skeleton--display","","DISPLAY","block"),width:i.create("--ft-skeleton--width","","SIZE","100%"),height:i.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:i.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:i.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:i.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:i.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:i.external(R.borderRadiusM,"Design system")},zb=_`
4074
+ `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,o;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((o=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||o===void 0||o.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];oa(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",le.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=ia(this.optionsSlot);let o=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,o;let n,a=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(n=this.handleAlphanumericPress(e.key));break}n?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let o=this.options.find(n=>{var a;return((a=n.label)===null||a===void 0?void 0:a.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,o&&this.optionsList.find(n=>n.value===o.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(o=>it(o.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let o=this.options.find(n=>it(n.value,e));o&&this.selectOption(o,r)}selectOption(e,r=!0){var o,n;if(!it((o=this.selectedOption)===null||o===void 0?void 0:o.value,e?.value)){this.selectedOption=e;for(let a of this.options)a.selected=a===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};ze.elementDefinitions={"ft-input-label":_r,"ft-typography":de,"ft-ripple":ne,"ft-icon":Oe,"ft-select-option":Pt};ze.searchTimeoutMilliseconds=2e3;ze.styles=[Gr,kb];St([h({type:String})],ze.prototype,"label",void 0);St([h({type:String})],ze.prototype,"ariaLabel",void 0);St([h({type:String})],ze.prototype,"helper",void 0);St([h({type:Boolean})],ze.prototype,"outlined",void 0);St([h({type:Boolean})],ze.prototype,"disabled",void 0);St([h({type:Boolean})],ze.prototype,"error",void 0);St([h({type:Boolean})],ze.prototype,"fixedMenuPosition",void 0);St([h({type:Array})],ze.prototype,"options",void 0);St([U()],ze.prototype,"selectedOption",void 0);St([U()],ze.prototype,"optionsDisplayed",void 0);St([U()],ze.prototype,"focusOptions",void 0);St([U()],ze.prototype,"currentSearch",void 0);St([U()],ze.prototype,"lastSearchInputDate",void 0);St([G(".ft-select")],ze.prototype,"container",void 0);St([G(".ft-select--options")],ze.prototype,"optionsMenu",void 0);St([G(".ft-select--input-panel")],ze.prototype,"mainPanel",void 0);St([G("slot:not([name])")],ze.prototype,"optionsSlot",void 0)});var Pb=u(()=>{"use strict"});var Ib=u(()=>{"use strict";w();H1();H("ft-select")(ze);H("ft-select-option")(Pt)});var $b=u(()=>{"use strict";H1();Ka();Pb();Ib()});var Ct,zb,ql=u(()=>{"use strict";I();w();Ct={display:i.create("--ft-skeleton--display","","DISPLAY","block"),width:i.create("--ft-skeleton--width","","SIZE","100%"),height:i.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:i.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:i.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:i.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:i.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:i.external(R.borderRadiusM,"Design system")},zb=_`
4075
4075
  :host {
4076
4076
  width: ${Ct.width};
4077
4077
  height: ${Ct.height};
@@ -4506,7 +4506,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
4506
4506
  </div>
4507
4507
  `)}
4508
4508
  </div>
4509
- `}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(o=>o.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(o=>o.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?Je.file_format:Je.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?Me.BOOK:Me.ARTICLE;break;case"DOCUMENT":o=dl(e.mimeType,e.filenameExtension);break;case"TOPIC":o=Me.TOPICS;break;case"HTML_PACKAGE":o=Me.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=Me.FILE_CODE;break}return S`
4509
+ `}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(o=>o.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(o=>o.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?et.file_format:et.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?Me.BOOK:Me.ARTICLE;break;case"DOCUMENT":o=dl(e.mimeType,e.filenameExtension);break;case"TOPIC":o=Me.TOPICS;break;case"HTML_PACKAGE":o=Me.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=Me.FILE_CODE;break}return S`
4510
4510
  <ft-icon .variant=${r} .value=${o} part="suggestion-icon"></ft-icon>
4511
4511
  `}focusNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}focusPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}getFirstSuggestionElement(){return this.searchBar.querySelector("[part=suggestion-container]")}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}get selectedSuggestOption(){var e;return(e=this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']"))===null||e===void 0?void 0:e.parentElement}get selectedSuggestOptionLink(){return this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']")}get selectedSuggestRemoveRecentButton(){var e;return(e=this.selectedSuggestOption)===null||e===void 0?void 0:e.querySelector("[part=remove-suggestion]")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll("[part=suggestion-container]");return e.length>0?e[e.length-1]:null}selectSuggestion(e){var r;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(r=e.querySelector("[part=suggestions]"))===null||r===void 0?void 0:r.id:this.searchBar.selectedSuggestOptionId=void 0}focusArrowLeft(){this.searchBar.selectedSuggestRemoveRecent?this.searchBar.selectedSuggestRemoveRecent=!1:this.selectSuggestion(null)}focusArrowRight(){!this.searchBar.selectedSuggestRemoveRecent&&this.selectedSuggestRemoveRecentButton?this.searchBar.selectedSuggestRemoveRecent=!0:this.selectSuggestion(null)}get shouldDisplaySuggestions(){return this.searchBar.displaySuggestListbox&&(this.searchBar.suggestions.length>0||this.recentSearchesMatchingQuery.length>0)}get recentSearchesMatchingQuery(){return this.searchBar.recentSearches.filter(e=>e.toLowerCase().includes(this.searchBar.query.toLowerCase()))}};eo.styles=[la,_`
4512
4512
  .ft-search-bar--mobile .ft-search-bar--suggestions {
@@ -4963,7 +4963,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
4963
4963
  part="floating-panel"
4964
4964
  tabindex="-1">
4965
4965
  ${this.renderDesktopMenu()}
4966
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};ie.elementDefinitions={"ft-accordion":Jr,"ft-accordion-item":mr,"ft-button":We,"ft-chip":qe,"ft-filter":xe,"ft-filter-option":Qt,"ft-icon":Oe,"ft-ripple":ne,"ft-select":ze,"ft-select-option":Pt,"ft-size-watcher":Zt,"ft-skeleton":qo,"ft-snap-scroll":tt,"ft-tooltip":Ze,"ft-typography":de,"ft-radio-group":Ii,"ft-radio":Xr};ie.styles=[Bo,hi,Db,Bb,to.styles,eo.styles,pn];ue([h({type:Boolean})],ie.prototype,"dense",void 0);ue([h()],ie.prototype,"mode",void 0);ue([h({type:Boolean})],ie.prototype,"forceMobileMenuOpen",void 0);ue([h({type:Boolean})],ie.prototype,"forceMenuOpen",void 0);ue([h()],ie.prototype,"baseUrl",void 0);ue([h()],ie.prototype,"apiIntegrationIdentifier",void 0);ue([h()],ie.prototype,"contentLocale",void 0);ue([U()],ie.prototype,"availableContentLocales",void 0);ue([U()],ie.prototype,"availableContentLocalesInitialized",void 0);ue([h()],ie.prototype,"uiLocale",void 0);ue([Ee({})],ie.prototype,"labels",void 0);ue([Ee([])],ie.prototype,"displayedFilters",void 0);ue([Ee([])],ie.prototype,"presets",void 0);ue([h({type:String,reflect:!0})],ie.prototype,"selectedPreset",void 0);ue([Ee([])],ie.prototype,"priors",void 0);ue([h()],ie.prototype,"searchRequestSerializer",void 0);ue([h({type:Boolean})],ie.prototype,"focusOnDisplay",void 0);ue([U()],ie.prototype,"metadataFilters",void 0);ue([U()],ie.prototype,"sizeCategory",void 0);ue([U()],ie.prototype,"displayFacets",void 0);ue([U()],ie.prototype,"mobileMenuOpen",void 0);ue([U()],ie.prototype,"facets",void 0);ue([U()],ie.prototype,"facetsInitialized",void 0);ue([G(".ft-search-bar--container")],ie.prototype,"container",void 0);ue([G(".ft-search-bar--filters-opener")],ie.prototype,"filtersOpener",void 0);ue([G(".ft-search-bar--floating-panel")],ie.prototype,"floatingContainer",void 0);ue([G("ft-snap-scroll.ft-search-bar--filters-container")],ie.prototype,"scrollingFiltersContainer",void 0);ue([G(".ft-search-bar--input")],ie.prototype,"input",void 0);ue([G(".ft-search-bar--launch-search")],ie.prototype,"launchSearchButton",void 0);ue([U()],ie.prototype,"query",void 0);ue([U()],ie.prototype,"suggestions",void 0);ue([U()],ie.prototype,"recentSearches",void 0);ue([U()],ie.prototype,"scrollToFacet",void 0);ue([U()],ie.prototype,"api",void 0);ue([U()],ie.prototype,"displaySuggestListbox",void 0);ue([U()],ie.prototype,"selectedSuggestOptionId",void 0);ue([U()],ie.prototype,"selectedSuggestRemoveRecent",void 0);ue([U()],ie.prototype,"facetsLoaded",void 0)});var jb=u(()=>{"use strict"});var Kb=u(()=>{"use strict";w();W1();H("ft-search-bar")(ie)});var qb=u(()=>{"use strict";W1();Zl();jb();Kb()});var Zb,Yb=u(()=>{"use strict";I();$a();w();gt();qb();Zb=_`
4966
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};ie.elementDefinitions={"ft-accordion":Jr,"ft-accordion-item":mr,"ft-button":We,"ft-chip":qe,"ft-filter":xe,"ft-filter-option":Qt,"ft-icon":Oe,"ft-ripple":ne,"ft-select":ze,"ft-select-option":Pt,"ft-size-watcher":Zt,"ft-skeleton":qo,"ft-snap-scroll":rt,"ft-tooltip":Ze,"ft-typography":de,"ft-radio-group":Ii,"ft-radio":Xr};ie.styles=[Bo,hi,Db,Bb,to.styles,eo.styles,pn];ue([h({type:Boolean})],ie.prototype,"dense",void 0);ue([h()],ie.prototype,"mode",void 0);ue([h({type:Boolean})],ie.prototype,"forceMobileMenuOpen",void 0);ue([h({type:Boolean})],ie.prototype,"forceMenuOpen",void 0);ue([h()],ie.prototype,"baseUrl",void 0);ue([h()],ie.prototype,"apiIntegrationIdentifier",void 0);ue([h()],ie.prototype,"contentLocale",void 0);ue([U()],ie.prototype,"availableContentLocales",void 0);ue([U()],ie.prototype,"availableContentLocalesInitialized",void 0);ue([h()],ie.prototype,"uiLocale",void 0);ue([Ee({})],ie.prototype,"labels",void 0);ue([Ee([])],ie.prototype,"displayedFilters",void 0);ue([Ee([])],ie.prototype,"presets",void 0);ue([h({type:String,reflect:!0})],ie.prototype,"selectedPreset",void 0);ue([Ee([])],ie.prototype,"priors",void 0);ue([h()],ie.prototype,"searchRequestSerializer",void 0);ue([h({type:Boolean})],ie.prototype,"focusOnDisplay",void 0);ue([U()],ie.prototype,"metadataFilters",void 0);ue([U()],ie.prototype,"sizeCategory",void 0);ue([U()],ie.prototype,"displayFacets",void 0);ue([U()],ie.prototype,"mobileMenuOpen",void 0);ue([U()],ie.prototype,"facets",void 0);ue([U()],ie.prototype,"facetsInitialized",void 0);ue([G(".ft-search-bar--container")],ie.prototype,"container",void 0);ue([G(".ft-search-bar--filters-opener")],ie.prototype,"filtersOpener",void 0);ue([G(".ft-search-bar--floating-panel")],ie.prototype,"floatingContainer",void 0);ue([G("ft-snap-scroll.ft-search-bar--filters-container")],ie.prototype,"scrollingFiltersContainer",void 0);ue([G(".ft-search-bar--input")],ie.prototype,"input",void 0);ue([G(".ft-search-bar--launch-search")],ie.prototype,"launchSearchButton",void 0);ue([U()],ie.prototype,"query",void 0);ue([U()],ie.prototype,"suggestions",void 0);ue([U()],ie.prototype,"recentSearches",void 0);ue([U()],ie.prototype,"scrollToFacet",void 0);ue([U()],ie.prototype,"api",void 0);ue([U()],ie.prototype,"displaySuggestListbox",void 0);ue([U()],ie.prototype,"selectedSuggestOptionId",void 0);ue([U()],ie.prototype,"selectedSuggestRemoveRecent",void 0);ue([U()],ie.prototype,"facetsLoaded",void 0)});var jb=u(()=>{"use strict"});var Kb=u(()=>{"use strict";w();W1();H("ft-search-bar")(ie)});var qb=u(()=>{"use strict";W1();Zl();jb();Kb()});var Zb,Yb=u(()=>{"use strict";I();$a();w();gt();qb();Zb=_`
4967
4967
  * {
4968
4968
  box-sizing: border-box;
4969
4969
  }
@@ -5046,9 +5046,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
5046
5046
  @click=${()=>this.onSuggestSelected(r.value)}>
5047
5047
  ${a}
5048
5048
  </div>
5049
- `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?Je.file_format:Je.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?Me.BOOK:Me.ARTICLE;break;case"DOCUMENT":o=dl(e.mimeType,e.filenameExtension);break;case"TOPIC":o=Me.TOPICS;break;case"HTML_PACKAGE":o=Me.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=Me.FILE_CODE;break}return S`
5049
+ `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?et.file_format:et.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?Me.BOOK:Me.ARTICLE;break;case"DOCUMENT":o=dl(e.mimeType,e.filenameExtension);break;case"TOPIC":o=Me.TOPICS;break;case"HTML_PACKAGE":o=Me.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=Me.FILE_CODE;break}return S`
5050
5050
  <ft-icon .variant=${r} .value=${o} part="suggestion-icon"></ft-icon>
5051
- `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};Zo.elementDefinitions={"ft-ripple":ne,"ft-typography":de,"ft-icon":Oe};Zo.styles=[la,Zb]});var Jt,rt,j1=u(()=>{"use strict";I();w();$a();Ni();dr();Vf();J();Ye();Xb();qt();Re();Wr();cl();Jt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},rt=class extends Dt(ur){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Zo(this),this.showSuggestionsOnFocus=!0,this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(Wo)}render(){var e,r,o;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=mo.get().serializeToCurrentPageIfPossible(a,s);return S`
5051
+ `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};Zo.elementDefinitions={"ft-ripple":ne,"ft-typography":de,"ft-icon":Oe};Zo.styles=[la,Zb]});var Jt,ot,j1=u(()=>{"use strict";I();w();$a();Ni();dr();Vf();J();Ye();Xb();qt();Re();Wr();cl();Jt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ot=class extends Dt(ur){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Zo(this),this.showSuggestionsOnFocus=!0,this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(Wo)}render(){var e,r,o;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=mo.get().serializeToCurrentPageIfPossible(a,s);return S`
5052
5052
  <div class="${ce(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
5053
5053
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
5054
5054
  <div class="ft-search-input--input-outline" part="input-outline">
@@ -5095,7 +5095,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
5095
5095
  ></ft-button>
5096
5096
  </div>
5097
5097
  </div>
5098
- `}renderLiveText(){return this.shouldDisplaySuggestions?Wo.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":{let r=this.suggestions.selectedSuggestOption||this.launchSearchButton;r?.click();break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return!this.forceCloseSuggestion&&this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await Eo(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),this.focusOnDisplay&&!ya&&this.focusInput(!1)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};rt.elementDefinitions={"ft-button":We,...Zo.elementDefinitions};rt.styles=[Bo,hi,kf,...Zo.styles,pn];Jt([ke()],rt.prototype,"request",void 0);Jt([ke()],rt.prototype,"liveQuery",void 0);Jt([ke()],rt.prototype,"suggestResults",void 0);Jt([U()],rt.prototype,"forceCloseSuggestion",void 0);Jt([U()],rt.prototype,"displaySuggestListbox",void 0);Jt([U()],rt.prototype,"selectedSuggestOptionId",void 0);Jt([h()],rt.prototype,"launchSearchPath",void 0);Jt([En()],rt.prototype,"placeholder",void 0);Jt([h({type:Boolean})],rt.prototype,"useCustomSearchPath",void 0);Jt([h({type:Boolean})],rt.prototype,"triggerSearchOnClear",void 0);Jt([h({type:Boolean})],rt.prototype,"focusOnDisplay",void 0);Jt([G(".ft-search-input--input")],rt.prototype,"input",void 0);Jt([G('[part="launch-search-in-input"]')],rt.prototype,"launchSearchButton",void 0)});var Qb=u(()=>{"use strict";w();j1();H("ft-search-input")(rt)});var Jb={};oe(Jb,{FtSearchInput:()=>rt,FtSearchInputCssVariables:()=>Ie,styles:()=>kf});var e8=u(()=>{"use strict";$a();Ey();j1();Qb()});var SL,K1,q1=u(()=>{"use strict";I();SL={},K1=_`
5098
+ `}renderLiveText(){return this.shouldDisplaySuggestions?Wo.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":{let r=this.suggestions.selectedSuggestOption||this.launchSearchButton;r?.click();break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return!this.forceCloseSuggestion&&this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await Eo(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),this.focusOnDisplay&&!ya&&this.focusInput(!1)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};ot.elementDefinitions={"ft-button":We,...Zo.elementDefinitions};ot.styles=[Bo,hi,kf,...Zo.styles,pn];Jt([ke()],ot.prototype,"request",void 0);Jt([ke()],ot.prototype,"liveQuery",void 0);Jt([ke()],ot.prototype,"suggestResults",void 0);Jt([U()],ot.prototype,"forceCloseSuggestion",void 0);Jt([U()],ot.prototype,"displaySuggestListbox",void 0);Jt([U()],ot.prototype,"selectedSuggestOptionId",void 0);Jt([h()],ot.prototype,"launchSearchPath",void 0);Jt([En()],ot.prototype,"placeholder",void 0);Jt([h({type:Boolean})],ot.prototype,"useCustomSearchPath",void 0);Jt([h({type:Boolean})],ot.prototype,"triggerSearchOnClear",void 0);Jt([h({type:Boolean})],ot.prototype,"focusOnDisplay",void 0);Jt([G(".ft-search-input--input")],ot.prototype,"input",void 0);Jt([G('[part="launch-search-in-input"]')],ot.prototype,"launchSearchButton",void 0)});var Qb=u(()=>{"use strict";w();j1();H("ft-search-input")(ot)});var Jb={};oe(Jb,{FtSearchInput:()=>ot,FtSearchInputCssVariables:()=>Ie,styles:()=>kf});var e8=u(()=>{"use strict";$a();Ey();j1();Qb()});var SL,K1,q1=u(()=>{"use strict";I();SL={},K1=_`
5099
5099
  `});var t8=u(()=>{"use strict"});var Z1,r8=u(()=>{"use strict";dr();Z1=jr.fromGwt("designedActionBlockAriaLabels")});var o8,So,Y1=u(()=>{"use strict";I();w();q1();qt();Ni();dr();r8();Mn();o8=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},So=class extends Dt(ur){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.neededSearchRequests=[wr.CLUSTERED_SEARCH],this.addI18nContext(Z1)}render(){return this.isLastPage?$:S`
5100
5100
  <ft-button @click=${this.loadMore}>
5101
5101
  ${Z1.messages.searchPageLoadMore()}