@fluid-topics/ft-reader-search-in-document 2.2.4 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- "use strict";(()=>{var P0=Object.defineProperty;var p=(t,e,r)=>()=>{if(r)throw r[0];try{return t&&(e=t(t=0)),e}catch(o){throw r=[o],o}};var j=(t,e)=>{for(var r in e)P0(t,r,{get:e[r],enumerable:!0})};var Ou=p(()=>{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(v,S){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=S.prototype.attributeChangedCallback,z=new Set(S.observedAttributes||[]);b(S,z,R);let V={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:z};this._definitionsByTag.set(v,V),this._definitionsByClass.set(S,V);let U=r.call(o,v);U||(U=m(v),e.call(o,v,U)),this===window.customElements&&(s.set(S,V),V.standInClass=U);let ae=this._awaitingUpgrade.get(v);if(ae){this._awaitingUpgrade.delete(v);for(let Q of ae)a.delete(Q),A(Q,V,!0)}let F=this._whenDefinedPromises.get(v);return F!==void 0&&(F.resolve(S),this._whenDefinedPromises.delete(v)),S}upgrade(){_.push(this),o.upgrade.apply(o,arguments),_.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let S=this._getDefinition(v);if(S!==void 0)return Promise.resolve(S.elementClass);let R=this._whenDefinedPromises.get(v);return R===void 0&&(R={},R.promise=new Promise(z=>R.resolve=z),this._whenDefinedPromises.set(v,R)),R.promise}_upgradeWhenDefined(v,S,R){let z=this._awaitingUpgrade.get(S);z||this._awaitingUpgrade.set(S,z=new Set),R?z.add(v):z.delete(v)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),n.set(S,R),S},window.HTMLElement.prototype=t.prototype;let f=v=>v===document||v instanceof ShadowRoot,g=v=>{let S=v.getRootNode();if(!f(S)){let R=_[_.length-1];if(R instanceof CustomElementRegistry)return R;S=R.getRootNode(),f(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},m=v=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let z=g(R)||window.customElements,V=z._getDefinition(v);return V?A(R,V):a.set(R,z),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},b=(v,S,R)=>{if(S.size===0||R===void 0)return;let z=v.prototype.setAttribute;z&&(v.prototype.setAttribute=function(ae,F){let Q=ae.toLowerCase();if(S.has(Q)){let we=this.getAttribute(Q);z.call(this,Q,F),R.call(this,Q,we,F)}else z.call(this,Q,F)});let V=v.prototype.removeAttribute;V&&(v.prototype.removeAttribute=function(ae){let F=ae.toLowerCase();if(S.has(F)){let Q=this.getAttribute(F);V.call(this,F),R.call(this,F,Q,null)}else V.call(this,F)});let U=v.prototype.toggleAttribute;U&&(v.prototype.toggleAttribute=function(ae,F){let Q=ae.toLowerCase();if(S.has(Q)){let we=this.getAttribute(Q);U.call(this,Q,F);let Zt=this.getAttribute(Q);R.call(this,Q,we,Zt)}else U.call(this,Q,F)})},C=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(v,window.HTMLElement):C(S)},A=(v,S,R=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),n.set(v,S),d=v;try{new S.elementClass}catch{C(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(z=>{v.hasAttribute(z)&&S.attributeChangedCallback.call(v,z,null,v.getAttribute(z))}),R&&S.connectedCallback&&v.isConnected&&S.connectedCallback.call(v)},P=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let S=P.apply(this,arguments);return v.customElements&&(S.customElements=v.customElements),S};let _=[document],D=(v,S,R=void 0)=>{let z=(R?Object.getPrototypeOf(R):v.prototype)[S];v.prototype[S]=function(){_.push(this);let V=z.apply(R||this,arguments);return V!==void 0&&l.set(V,this),_.pop(),V}};D(ShadowRoot,"createElement",document),D(ShadowRoot,"importNode",document),D(Element,"insertAdjacentHTML");let te=(v,S)=>{let R=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...R,set(z){_.push(this),R.set.call(this,z),_.pop()}})};if(te(Element,"innerHTML"),te(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,S=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ae){let F=S.call(this,...ae);return v.set(F,this),F},R.forEach(ae=>{let F=window.ElementInternals.prototype,Q=F[ae];F[ae]=function(...we){let Zt=v.get(this);if(n.get(Zt).formAssociated===!0)return Q?.call(this,...we);throw new DOMException(`Failed to execute ${Q} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class z extends Array{constructor(F){super(...F),this._elements=F}get value(){return this._elements.find(F=>F.checked===!0)?.value||""}}class V{constructor(F){let Q=new Map;F.forEach((we,Zt)=>{let Ns=we.getAttribute("name"),Eu=Q.get(Ns)||[];this[+Zt]=we,Eu.push(we),Q.set(Ns,Eu)}),this.length=F.length,Q.forEach((we,Zt)=>{we&&(we.length===1?this[Zt]=we[0]:this[Zt]=new z(we))})}namedItem(F){return this[F]}}let U=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ae=U.get.call(this,[]),F=[];for(let Q of ae){let we=n.get(Q);(!we||we.formAssociated===!0)&&F.push(Q)}return new V(F)}})}}});var wu=p(()=>{"use strict";Ou();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,n)=>{var a;if(o!==null)try{e.bind(window.customElements)(r,o,n)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(r,class extends o{},n):console.info(r,o,n,s)}}}});var $n,Ii,Ms,Ru,Fo,Xr,O,Pi,Dn,Fn=p(()=>{$n=globalThis,Ii=$n.ShadowRoot&&($n.ShadyCSS===void 0||$n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ms=Symbol(),Ru=new WeakMap,Fo=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Ms)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(Ii&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Ru.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Ru.set(r,e))}return e}toString(){return this.cssText}},Xr=t=>new Fo(typeof t=="string"?t:t+"",void 0,Ms),O=(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 Fo(r,t,Ms)},Pi=(t,e)=>{if(Ii)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),n=$n.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)}},Dn=Ii?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Xr(r)})(t):t});var N0,M0,$0,D0,F0,B0,Bn,Au,U0,z0,Ni,Bo,Mi,_u,Rt,Uo=p(()=>{Fn();Fn();({is:N0,defineProperty:M0,getOwnPropertyDescriptor:$0,getOwnPropertyNames:D0,getOwnPropertySymbols:F0,getPrototypeOf:B0}=Object),Bn=globalThis,Au=Bn.trustedTypes,U0=Au?Au.emptyScript:"",z0=Bn.reactiveElementPolyfillSupport,Ni=(t,e)=>t,Bo={toAttribute(t,e){switch(e){case Boolean:t=t?U0: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}},Mi=(t,e)=>!N0(t,e),_u={attribute:!0,type:String,converter:Bo,reflect:!1,useDefault:!1,hasChanged:Mi};Symbol.metadata??=Symbol("metadata"),Bn.litPropertyMetadata??=new WeakMap;Rt=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=_u){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&&M0(this.prototype,e,n)}}static getPropertyDescriptor(e,r,o){let{get:n,set:a}=$0(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)??_u}static _$Ei(){if(this.hasOwnProperty(Ni("elementProperties")))return;let e=B0(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ni("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ni("properties"))){let r=this.properties,o=[...D0(r),...F0(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(Dn(n))}else e!==void 0&&r.push(Dn(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 Pi(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:Bo).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:Bo;this._$Em=n;let l=s.fromAttribute(r,a.type);this[n]=l??this._$Ej?.get(n)??l,this._$Em=null}}requestUpdate(e,r,o,n=!1,a){if(e!==void 0){let s=this.constructor;if(n===!1&&(a=this[e]),o??=s.getPropertyOptions(e),!((o.hasChanged??Mi)(a,r)||o.useDefault&&o.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(s._$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){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[Ni("elementProperties")]=new Map,Rt[Ni("finalized")]=new Map,z0?.({ReactiveElement:Rt}),(Bn.reactiveElementVersions??=[]).push("2.1.2")});function Fu(t,e){if(!Us(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Lu!==void 0?Lu.createHTML(e):e}function ro(t,e,r=t,o){if(e===Me)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,a=Fi(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=ro(t,n._$AS(t,e.values),n,o)),e}var Ds,ku,Un,Lu,Fs,hr,Bs,H0,to,Di,Fi,Us,$u,$s,$i,Tu,Iu,Jr,Pu,Nu,Du,zs,y,Hs,Vs,Me,k,Mu,eo,Bu,Bi,zn,zo,oo,Hn,Vn,Wn,Gn,Ws,V0,Gs,At=p(()=>{Ds=globalThis,ku=t=>t,Un=Ds.trustedTypes,Lu=Un?Un.createPolicy("lit-html",{createHTML:t=>t}):void 0,Fs="$lit$",hr=`lit$${Math.random().toFixed(9).slice(2)}$`,Bs="?"+hr,H0=`<${Bs}>`,to=document,Di=()=>to.createComment(""),Fi=t=>t===null||typeof t!="object"&&typeof t!="function",Us=Array.isArray,$u=t=>Us(t)||typeof t?.[Symbol.iterator]=="function",$s=`[
2
- \f\r]`,$i=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tu=/-->/g,Iu=/>/g,Jr=RegExp(`>|${$s}(?:([^\\s"'>=/]+)(${$s}*=${$s}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Pu=/'/g,Nu=/"/g,Du=/^(?:script|style|textarea|title)$/i,zs=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),y=zs(1),Hs=zs(2),Vs=zs(3),Me=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),Mu=new WeakMap,eo=to.createTreeWalker(to,129);Bu=(t,e)=>{let r=t.length-1,o=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=$i;for(let l=0;l<r;l++){let d=t[l],f,g,m=-1,b=0;for(;b<d.length&&(s.lastIndex=b,g=s.exec(d),g!==null);)b=s.lastIndex,s===$i?g[1]==="!--"?s=Tu:g[1]!==void 0?s=Iu:g[2]!==void 0?(Du.test(g[2])&&(n=RegExp("</"+g[2],"g")),s=Jr):g[3]!==void 0&&(s=Jr):s===Jr?g[0]===">"?(s=n??$i,m=-1):g[1]===void 0?m=-2:(m=s.lastIndex-g[2].length,f=g[1],s=g[3]===void 0?Jr:g[3]==='"'?Nu:Pu):s===Nu||s===Pu?s=Jr:s===Tu||s===Iu?s=$i:(s=Jr,n=void 0);let C=s===Jr&&t[l+1].startsWith("/>")?" ":"";a+=s===$i?d+H0:m>=0?(o.push(f),d.slice(0,m)+Fs+d.slice(m)+hr+C):d+hr+(m===-2?l:C)}return[Fu(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},Bi=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,g]=Bu(e,r);if(this.el=t.createElement(f,o),eo.currentNode=this.el.content,r===2||r===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=eo.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(Fs)){let b=g[s++],C=n.getAttribute(m).split(hr),A=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:A[2],strings:C,ctor:A[1]==="."?Hn:A[1]==="?"?Vn:A[1]==="@"?Wn:oo}),n.removeAttribute(m)}else m.startsWith(hr)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(Du.test(n.tagName)){let m=n.textContent.split(hr),b=m.length-1;if(b>0){n.textContent=Un?Un.emptyScript:"";for(let C=0;C<b;C++)n.append(m[C],Di()),eo.nextNode(),d.push({type:2,index:++a});n.append(m[b],Di())}}}else if(n.nodeType===8)if(n.data===Bs)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(hr,m+1))!==-1;)d.push({type:7,index:a}),m+=hr.length-1}a++}}static createElement(e,r){let o=to.createElement("template");return o.innerHTML=e,o}};zn=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??to).importNode(r,!0);eo.currentNode=n;let a=eo.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new zo(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new Gn(a,this,e)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(a=eo.nextNode(),s++)}return eo.currentNode=to,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++}},zo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=k,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=ro(this,e,r),Fi(e)?e===k||e==null||e===""?(this._$AH!==k&&this._$AR(),this._$AH=k):e!==this._$AH&&e!==Me&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):$u(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!==k&&Fi(this._$AH)?this._$AA.nextSibling.data=e:this.T(to.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=Bi.createElement(Fu(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new zn(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Mu.get(e.strings);return r===void 0&&Mu.set(e.strings,r=new Bi(e)),r}k(e){Us(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(Di()),this.O(Di()),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!==this._$AB;){let o=ku(e).nextSibling;ku(e).remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},oo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,a){this.type=1,this._$AH=k,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=k}_$AI(e,r=this,o,n){let a=this.strings,s=!1;if(a===void 0)e=ro(this,e,r,0),s=!Fi(e)||e!==this._$AH&&e!==Me,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=ro(this,l[o+d],r,d),f===Me&&(f=this._$AH[d]),s||=!Fi(f)||f!==this._$AH[d],f===k?e=k:e!==k&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Hn=class extends oo{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===k?void 0:e}},Vn=class extends oo{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==k)}},Wn=class extends oo{constructor(e,r,o,n,a){super(e,r,o,n,a),this.type=5}_$AI(e,r=this){if((e=ro(this,e,r,0)??k)===Me)return;let o=this._$AH,n=e===k&&o!==k||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==k&&(o===k||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)}},Gn=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){ro(this,e)}},Ws={M:Fs,P:hr,A:Bs,C:1,L:Bu,R:zn,D:$u,V:ro,I:zo,H:oo,N:Vn,U:Wn,B:Hn,F:Gn},V0=Ds.litHtmlPolyfillSupport;V0?.(Bi,zo),(Ds.litHtmlVersions??=[]).push("3.3.3");Gs=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let a=r?.renderBefore??null;o._$litPart$=n=new zo(e.insertBefore(Di(),a),a,void 0,r??{})}return n._$AI(t),n}});var js,_t,W0,Uu,Ks=p(()=>{Uo();Uo();At();At();js=globalThis,_t=class extends Rt{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=Gs(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Me}};_t._$litElement$=!0,_t.finalized=!0,js.litElementHydrateSupport?.({LitElement:_t});W0=js.litElementPolyfillSupport;W0?.({LitElement:_t});Uu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(js.litElementVersions??=[]).push("4.2.2")});var SO,zu=p(()=>{SO=!1});var qs={};j(qs,{CSSResult:()=>Fo,LitElement:()=>_t,ReactiveElement:()=>Rt,_$LE:()=>Uu,_$LH:()=>Ws,adoptStyles:()=>Pi,css:()=>O,defaultConverter:()=>Bo,getCompatibleStyle:()=>Dn,html:()=>y,isServer:()=>SO,mathml:()=>Vs,noChange:()=>Me,notEqual:()=>Mi,nothing:()=>k,render:()=>Gs,supportsAdoptingStyleSheets:()=>Ii,svg:()=>Hs,unsafeCSS:()=>Xr});var L=p(()=>{Uo();At();Ks();zu()});var G0,Hu=p(()=>{G0=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"?Vu(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 j0,Vu,Zs=p(()=>{Uo();j0={attribute:!0,type:String,converter:Bo,reflect:!1,hasChanged:Mi},Vu=(t=j0,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,!0,l)},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,!0,l)}}throw Error("Unsupported decorator location: "+o)}});function T(t){return h({...t,state:!0,attribute:!1})}var Wu=p(()=>{Zs();});function K0(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var Gu=p(()=>{});var Dt,Ho=p(()=>{Dt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function M(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(f){this[d]=f}}})();return Dt(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 Dt(r,o,{get(){return a(this)}})}}var ju=p(()=>{Ho();});function Qs(t){return(e,r)=>Dt(e,r,{get(){return(this.renderRoot??(q0??=document.createDocumentFragment())).querySelectorAll(t)}})}var q0,Ku=p(()=>{Ho();});function Z0(t){return(e,r)=>Dt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var qu=p(()=>{Ho();});function Ys(t){return(e,r)=>{let{slot:o,selector:n}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Dt(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 Zu=p(()=>{Ho();});function Xs(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return Dt(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var Qu=p(()=>{Ho();});var Js={};j(Js,{customElement:()=>G0,eventOptions:()=>K0,property:()=>h,query:()=>M,queryAll:()=>Qs,queryAssignedElements:()=>Ys,queryAssignedNodes:()=>Xs,queryAsync:()=>Z0,standardProperty:()=>Vu,state:()=>T});var q=p(()=>{Hu();Zs();Wu();Gu();ju();Ku();qu();Zu();Qu()});var Qt,ft,kt,io=p(()=>{Qt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ft=t=>(...e)=>({_$litDirective$:t,values:e}),kt=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 Q0,Yu,Ju,Xu,Vo,Pr,Y0,ef,tf,jn,el=p(()=>{At();({I:Q0}=Ws),Yu=t=>t,Ju=t=>t.strings===void 0,Xu=()=>document.createComment(""),Vo=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore(Xu(),n),s=o.insertBefore(Xu(),n);r=new Q0(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 f=Yu(d).nextSibling;Yu(o).insertBefore(d,n),d=f}}}return r},Pr=(t,e,r=t)=>(t._$AI(e,r),t),Y0={},ef=(t,e=Y0)=>t._$AH=e,tf=t=>t._$AH,jn=t=>{t._$AR(),t._$AA.remove()}});var rf,ge,of=p(()=>{At();io();el();rf=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},ge=ft(class extends kt{constructor(t){if(super(t),t.type!==Qt.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=tf(t),{values:a,keys:s}=this.dt(e,r,o);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,g,m=0,b=n.length-1,C=0,A=a.length-1;for(;m<=b&&C<=A;)if(n[m]===null)m++;else if(n[b]===null)b--;else if(l[m]===s[C])d[C]=Pr(n[m],a[C]),m++,C++;else if(l[b]===s[A])d[A]=Pr(n[b],a[A]),b--,A--;else if(l[m]===s[A])d[A]=Pr(n[m],a[A]),Vo(t,d[A+1],n[m]),m++,A--;else if(l[b]===s[C])d[C]=Pr(n[b],a[C]),Vo(t,n[m],n[b]),b--,C++;else if(f===void 0&&(f=rf(s,C,A),g=rf(l,m,b)),f.has(l[m]))if(f.has(l[b])){let P=g.get(s[C]),_=P!==void 0?n[P]:null;if(_===null){let D=Vo(t,n[m]);Pr(D,a[C]),d[C]=D}else d[C]=Pr(_,a[C]),Vo(t,n[m],_),n[P]=null;C++}else jn(n[b]),b--;else jn(n[m]),m++;for(;C<=A;){let P=Vo(t,d[A+1]);Pr(P,a[C]),d[C++]=P}for(;m<=b;){let P=n[m++];P!==null&&jn(P)}return this.ut=s,ef(t,d),Me}})});var tl={};j(tl,{repeat:()=>ge});var Ft=p(()=>{of()});var he,nf=p(()=>{At();io();he=ft(class extends kt{constructor(t){if(super(t),t.type!==Qt.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 Me}})});var rl={};j(rl,{classMap:()=>he});var et=p(()=>{nf()});var af,X0,J0,sf=p(()=>{At();io();af="important",X0=" !"+af,J0=ft(class extends kt{constructor(t){if(super(t),t.type!==Qt.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(X0);o.includes("-")||a?r.setProperty(o,a?n.slice(0,-11):n,a?af:""):r[o]=n}}return Me}})});var ol={};j(ol,{styleMap:()=>J0});var lf=p(()=>{sf()});var Wo,no,cf=p(()=>{At();io();Wo=class extends kt{constructor(e){if(super(e),this.it=k,e.type!==Qt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===k||e==null)return this._t=void 0,this.it=e;if(e===Me)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:[]}}};Wo.directiveName="unsafeHTML",Wo.resultType=1;no=ft(Wo)});var il={};j(il,{UnsafeHTMLDirective:()=>Wo,unsafeHTML:()=>no});var Ui=p(()=>{cf()});var nl={};j(nl,{splitBreadcrumbForMenu:()=>eS});function eS(t,e=0,r=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let o=Math.max(r,1),n=t.slice(o*-1);return e+o>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-n.length),afterMenu:n}}var al=p(()=>{"use strict"});var sl={};j(sl,{CancelablePromise:()=>Kn,CanceledPromiseError:()=>Yt,cancelable:()=>Go});var Yt,Kn,Go,qn=p(()=>{"use strict";Yt=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Kn=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new Yt("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new Yt("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Go=t=>new Kn((e,r)=>t.then(e).catch(r))});var ll={};j(ll,{customElement:()=>zi,dateProperty:()=>rS,isNumber:()=>df,jsonProperty:()=>pe,numberProperty:()=>Lt,optionalNumberProperty:()=>tS});function pe(t,e){return h({type:Object,converter:{fromAttribute:r=>{if(r==null)return ht(t);try{return JSON.parse(r)}catch{return ht(t)}},toAttribute:r=>JSON.stringify(r)},hasChanged:mt,...e??{}})}function tS(t){return Lt(t)}function Lt(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 df(e)?mr(n,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function df(t){return!isNaN(parseFloat(t))}function rS(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 zi,ao=p(()=>{"use strict";q();tt();zi=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});var fl={};j(fl,{applyMixinOnce:()=>Re,customElements:()=>B,dateReviver:()=>iS,deepCopy:()=>ht,deepEqual:()=>Le,delay:()=>Zn,eventPathContainsMatchingElement:()=>cl,everyDeep:()=>oS,flatDeep:()=>gt,forEachDeep:()=>pf,getComposedPathTo:()=>pl,groupBy:()=>aS,hasChanged:()=>mt,ignoreComposingEvents:()=>Mr,last:()=>dl,minmax:()=>mr,parseDate:()=>ff,randomId:()=>ul,someDeep:()=>uf,unslotText:()=>Qn,waitFor:()=>Nr,waitUntil:()=>Hi});async function Hi(t,e=10,r=2e4){await Nr(async()=>await t()||void 0,e,r)}async function Nr(t,e=10,r=2e4){let o=await t(),n=performance.now(),a=n;for(;o==null&&(!r||a-n<r);)await Zn(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function gt(t,e){return t.flatMap(r=>[r,...gt(e(r),e)])}function pf(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 uf(t,e,r){let o=!1;return pf(t,e,(n,a,s,l)=>(o=!!r(n,a,s,l),!o)),o}function oS(t,e,r){return!uf(t,e,(o,n,a,s)=>!r(o,n,a,s))}function iS(...t){return(e,r)=>t.includes(e)?ff(r):r}function ff(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 nS(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;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!Le(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(!Le(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 n=s=>Object.keys(s).filter(l=>s[l]!=null),a=n(t);if(r=a.length,r!==n(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!Le(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Le(t,e){try{return nS(t,e)}catch{return!1}}function mt(t,e){return!Le(t,e)}function cl(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 mr(t,e,r){return Math.min(Math.max(t,e),r)}function dl(t){return t[t.length-1]}function Qn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Qn(e)).join(""):t?.textContent||""}function pl(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 ht(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function ul(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Re(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let n=e(o);return n[t]=!0,n}}function Mr(){return function(t,e,r){let o=r.value;r.value=function(n,...a){if(n.isComposing||n.keyCode===229){n.stopPropagation();return}return o.apply(this,[n].concat(a))}}}function B(t){for(let[e,r]of Object.entries(t))zi(e)(r)}function aS(t,e){var r,o;let n=typeof e=="function"?e:s=>s[e],a={};for(let s of t)((r=a[o=n(s)])!==null&&r!==void 0?r:a[o]=[]).push(s);return a}var Zn,tt=p(()=>{"use strict";ao();Zn=t=>new Promise(e=>setTimeout(e,t))});var gl={};j(gl,{FtNotificationEvent:()=>Vi,PostResizeEvent:()=>ml,PreResizeEvent:()=>hl,WithEventBus:()=>gr,withEventBus:()=>Yn});var Vi,hl,ml,Yn,gr,jo=p(()=>{"use strict";tt();Vi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},hl=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ml=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Yn=Re(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)}}}),gr=class extends Yn(Object){}});var yl={};j(yl,{CacheRegistry:()=>Xt,ClearCacheEvent:()=>Wi});var Wi,Xt,bl=p(()=>{"use strict";qn();jo();Wi=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Xt=class extends gr{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 Wi(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Wi([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=Go(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 vl={};j(vl,{accessBreadcrumb:()=>sS,accessResult:()=>Tt,accessResultId:()=>Xn,accessResultUrl:()=>xl});function Tt(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 Xn(t){var e,r,o,n,a,s,l,d,f;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:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function xl(t){var e,r,o,n,a,s,l,d,f;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:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function sS(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 Jn=p(()=>{"use strict"});var El={};j(El,{ClusteringHelper:()=>Cl,formatHierarchicalValues:()=>Sl});function Sl(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Cl,Ol=p(()=>{"use strict";Jn();Cl=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static findResultWithMetadataValue(e,r,o){return e?.find(n=>{var a;return((a=this.extractResultMetadata({result:n}).find(s=>s.key==r))===null||a===void 0?void 0:a.value)==o})}static extractResultMetadata(e){var r,o;let n=(o=(r=Tt(e.result))===null||r===void 0?void 0:r.metadata)!==null&&o!==void 0?o:[];return e.key==null?t.flattenMetadata(n,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(n.find(a=>a.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(Sl(l)),s.push(Sl(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}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(m=>t.extractResultMetadata({result:m,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(m=>m??{key:e,label:f,value:void 0,displayValue:o}).filter(m=>m.value!=d?.value).filter((m,b,C)=>C.findIndex(A=>A.value===m.value)===b).map(m=>({result:this.findBestResultForMetadataValue(e,m.value),metadata:m})).sort((m,b)=>this.compareMetadata(m.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 f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.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 f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===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 wl={};j(wl,{Debouncer:()=>se});var se,ea=p(()=>{"use strict";se=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}}});function w(t,e){return $r(`${t.name}: ${e}`)}var $r,i,ee=p(()=>{L();$r=t=>typeof t=="string"?Xr(t):t,i=class{static create(e,r,o,n){let a=l=>$r(l??n),s=O`var(${$r(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>w(s,l??a(n)),s.get=l=>O`var(${$r(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,o,n){let a=l=>o.get(l??n),s=O`var(${$r(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=>w(s,l??a(n)),s.get=l=>O`var(${$r(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=O`var(${$r(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=>O`var(${$r(e.name)}, ${o(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,hf,mf,gf,yf,bf,xf,vf,Sf,Cf,Ef,Of,wf,Rf,Af,_f,kf,lS,cS,re=p(()=>{ee();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.5rem"),iconSize2:i.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:i.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:i.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:i.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:i.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:i.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:i.create("--ftds-opacity-0","","NUMBER","0"),opacity4:i.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:i.create("--ftds-opacity-6","","NUMBER","0.06"),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)")},hf={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")},mf={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")},gf={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")},yf={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")},bf={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")},xf={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")},vf={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")},Sf={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")},Cf={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")},Ef={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")},Of={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")},wf={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")},Rf={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")},Af={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")},_f={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")},kf={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")},lS={display:hf,"title-1":mf,"title-2":gf,"title-3":yf,"body-1-regular":bf,"body-1-medium":xf,"body-1-semibold":vf,"body-2-regular":Sf,"body-2-medium":Cf,"body-2-medium-underline":Ef,"body-2-semibold":Of,"caption-1-medium":wf,"caption-1-semibold":Rf,"caption-2-medium":Af,"caption-2-semibold":_f,"caption-2-bold":kf},cS=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"]});var u,ce=p(()=>{ee();re();u={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 dS,Lf=p(()=>{ee();re();ce();dS={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","",u.backgroundActionPrimary),primaryBrandColor:i.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:i.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:i.extend("--ftds-button-primary-brand-state-layer-color","",u.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","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:i.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:i.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:i.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:i.extend("--ftds-button-tertiary-brand-state-layer-color","",u.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","",u.contentInfoPrimary),tertiaryInfoIconColor:i.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:i.extend("--ftds-button-tertiary-info-state-layer-color","",u.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","",u.contentSuccessPrimary),tertiarySuccessIconColor:i.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:i.extend("--ftds-button-tertiary-success-state-layer-color","",u.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","",u.contentWarningPrimary),tertiaryWarningIconColor:i.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:i.extend("--ftds-button-tertiary-warning-state-layer-color","",u.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","",u.contentErrorPrimary),tertiaryErrorIconColor:i.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:i.extend("--ftds-button-tertiary-error-state-layer-color","",u.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","",u.contentGlobalSecondary),tertiaryNeutralColor:i.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:i.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.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","",u.contentActionPrimary),secondaryBrandIconColor:i.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:i.extend("--ftds-button-secondary-brand-state-layer-color","",u.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","",u.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","",u.contentGlobalSecondary),secondaryNeutralIconColor:i.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:i.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:i.extend("--ftds-button-secondary-neutral-border-color","",u.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","",u.borderInfoPrimary),secondaryInfoColor:i.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:i.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:i.extend("--ftds-button-secondary-info-state-layer-color","",u.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","",u.borderSuccessPrimary),secondarySuccessColor:i.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:i.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:i.extend("--ftds-button-secondary-success-state-layer-color","",u.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","",u.borderWarningPrimary),secondaryWarningColor:i.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:i.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:i.extend("--ftds-button-secondary-warning-state-layer-color","",u.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","",u.contentErrorPrimary),secondaryErrorColor:i.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:i.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:i.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)}});var pS,Tf=p(()=>{ee();re();ce();pS={borderRadius:i.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:i.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:i.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:i.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:i.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:i.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:i.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:i.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:i.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:i.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:i.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:i.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:i.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:i.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:i.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:i.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:i.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:i.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:i.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:i.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:i.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:i.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:i.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:i.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:i.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:i.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:i.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:i.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:i.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:i.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:i.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:i.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:i.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:i.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:i.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:i.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:i.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:i.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:i.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:i.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:i.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:i.create("--ftds-card-internal-border-width","","SIZE","1px")}});var uS,If=p(()=>{ee();re();ce();uS={borderRadius:i.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:i.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:i.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:i.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:i.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize4),slotHorizontalPadding:i.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:i.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:i.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:i.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)}});var fS,Pf=p(()=>{ee();re();ce();fS={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","",u.borderGlobalSubtle),loadMoreIconColor:i.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:i.extend("--ftds-tree-list-load-more-label-color","",u.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","",u.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","",u.borderGlobalSubtle),nodeUnselectedIconColor:i.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:i.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:i.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:i.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:i.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:i.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:i.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:i.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:i.extend("--ftds-tree-list-node-selected-counter-color","",u.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","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:i.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:i.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:i.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.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","",u.contentGlobalPrimary),headerSectionCounterColor:i.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:i.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:i.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:i.extend("--ftds-tree-list-list-container-border-color","",u.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","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:i.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)}});var hS,Nf=p(()=>{ee();re();ce();hS={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","",u.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:i.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:i.extend("--ftds-checkbox-checked-icon-color","",u.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","",u.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","",u.borderErrorPrimary),errorStateLayerColor:i.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:i.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:i.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:i.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:i.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)}});var mS,Mf=p(()=>{ee();re();ce();mS={circleSize:i.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:i.create("--ftds-radio-border-width","","SIZE","2px"),color:i.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:i.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:i.extend("--ftds-radio-selected-state-layer-color","",u.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","",u.borderInputPrimary),unselectedBorderColor:i.extend("--ftds-radio-unselected-border-color","",u.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","",u.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 gS,$f=p(()=>{ee();re();ce();gS={headerRowBorderWidth:i.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:i.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:i.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:i.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:i.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:i.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:i.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:i.extend("--ftds-table-data-row-color","",u.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","",u.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","",u.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 yS,Df=p(()=>{ee();re();ce();yS={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","",u.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","",u.backgroundGlobalOnSurface),neutralOffBorderColor:i.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:i.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:i.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.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","",u.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","",u.backgroundGlobalOnSurface),neutralOnBorderColor:i.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:i.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:i.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:i.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.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 bS,Ff=p(()=>{ee();re();ce();bS={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","",u.backgroundGlobalOnSurface),neutralColor:i.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:i.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:i.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:i.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)}});var xS,Bf=p(()=>{ee();re();ce();xS={horizontalGap:i.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:i.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:i.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:i.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:i.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:i.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:i.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:i.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:i.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:i.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:i.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)}});var vS,Uf=p(()=>{ee();re();ce();vS={brandHoverOpacity:i.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:i.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:i.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:i.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:i.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:i.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:i.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:i.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:i.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:i.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:i.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:i.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:i.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:i.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:i.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:i.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:i.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:i.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:i.extend("--ftds-link-horizontal-gap","",c.spacing1)}});var SS,zf=p(()=>{ee();re();ce();SS={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","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)}});var CS,Hf=p(()=>{ee();re();ce();CS={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","",u.contentGlobalOnColor),backgroundColor:i.extend("--ftds-badge-background-color","",u.contentActionPrimary)}});var ES,Vf=p(()=>{ee();re();ce();ES={horizontalGap:i.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:i.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:i.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:i.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var OS,Wf=p(()=>{ee();re();ce();OS={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","",u.contentGlobalPrimary),parentSubtitleColor:i.extend("--ftds-page-header-parent-subtitle-color","",u.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","",u.borderGlobalSubtle),bottomBorderWidth:i.create("--ftds-page-header-bottom-border-width","","SIZE","1px")}});var wS,Gf=p(()=>{ee();re();ce();wS={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","",u.borderGlobalSubtle),topBorderWidth:i.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:i.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)}});var RS,jf=p(()=>{ee();re();RS={contentHorizontalPadding:i.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:i.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)}});var AS,Kf=p(()=>{ee();re();ce();AS={smallContainerTargetWidth:i.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:i.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:i.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:i.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:i.extend("--ftds-modal-header-leading-icon-color","",u.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"),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","",u.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),borderRadius:i.extend("--ftds-modal-border-radius","",c.borderRadiusM)}});var _S,qf=p(()=>{ee();re();ce();_S={grabberIconSize:i.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize3),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","",u.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","",u.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","",u.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","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:i.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.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","",u.borderGlobalPrimary),backgroundColor:i.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)}});var kS,Zf=p(()=>{ee();re();ce();kS={overlayOpacity:i.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:i.extend("--ftds-drawer-body-color","",u.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","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ftds-drawer-header-trailing-icon-color","",u.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","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:i.extend("--ftds-drawer-buttons-bar-color","",u.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 LS,Qf=p(()=>{ee();re();ce();LS={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","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:i.extend("--ftds-tabs-off-border-bottom-color","",u.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","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ftds-tabs-on-active-tab-indicator-color","",u.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","",u.borderActionFocusRing),mainIconIconSize:i.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:i.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)}});var TS,Yf=p(()=>{ee();re();ce();TS={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","",u.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:i.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:i.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-text-input-warning-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)}});var IS,Xf=p(()=>{ee();re();ce();IS={backgroundColor:i.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:i.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:i.extend("--ftds-text-area-focus-focus-ring-color","",u.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 PS,Jf=p(()=>{ee();re();ce();PS={height:i.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:i.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:i.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:i.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:i.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:i.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:i.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:i.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),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","",u.backgroundGlobalOnSurface),shadow:i.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:i.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:i.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:i.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:i.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:i.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:i.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:i.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:i.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:i.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:i.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:i.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:i.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:i.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:i.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:i.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:i.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:i.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:i.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:i.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)}});var NS,eh=p(()=>{ee();re();ce();NS={menuVerticalGap:i.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:i.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:i.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:i.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:i.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:i.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:i.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:i.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:i.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:i.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:i.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:i.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:i.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:i.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:i.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:i.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:i.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:i.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)}});var MS,th=p(()=>{ee();re();ce();MS={backgroundColor:i.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:i.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:i.extend("--ftds-popover-body-color","",u.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"),minWidth:i.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:i.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:i.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:i.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:i.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:i.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:i.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:i.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)}});var $S,rh=p(()=>{ee();re();ce();$S={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","",u.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","",u.contentGlobalPrimary),stateLayerColor:i.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:i.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:i.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:i.extend("--ftds-collapsible-icon-size","",c.iconSize3)}});var DS,oh=p(()=>{ee();re();ce();DS={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","",u.backgroundGlobalSurface),groupBorderColor:i.extend("--ftds-switch-group-border-color","",u.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","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-switch-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-switch-on-state-layer-color","",u.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","",u.borderActionFocusRing),optionBorderRadius:i.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)}});var FS,ih=p(()=>{ee();re();FS={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 BS,nh=p(()=>{ee();re();BS={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 US,ah=p(()=>{ee();re();ce();US={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","",u.backgroundInfoSubtle),infoBorderColor:i.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:i.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:i.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:i.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:i.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:i.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:i.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:i.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:i.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:i.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:i.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-notice-success-icon-color","",u.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 zS,sh=p(()=>{ee();re();ce();zS={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","",u.contentGlobalSubtle),offIconColor:i.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-toggle-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:i.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:i.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:i.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:i.extend("--ftds-toggle-gap","",c.spacing3)}});var HS,lh=p(()=>{ee();re();ce();HS={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","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-notification-error-border-color","",u.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 VS,ch=p(()=>{ee();re();ce();VS={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","",u.contentGlobalOnColor),backgroundColor:i.extend("--ftds-tooltip-background-color","",u.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 WS,dh=p(()=>{ee();re();WS={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 ph=p(()=>{re();ce();Lf();Tf();If();Pf();Nf();Mf();$f();Df();Ff();Bf();Uf();zf();Hf();Vf();Wf();Gf();jf();Kf();qf();Zf();Qf();Yf();Xf();Jf();eh();th();rh();oh();ih();nh();ah();sh();lh();ch();dh()});function Rl(t){return`ftds--family-${t}`}function Al(t){return`ftds--size-${t}`}var Gi,ji,uh=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Gi||(Gi={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(ji||(ji={}))});var Ko=p(()=>{ee();ph();uh()});var _l={};j(_l,{DesignSystemFamily:()=>Gi,DesignSystemSize:()=>ji,FtCssVariableFactory:()=>i,badge:()=>CS,banner:()=>SS,button:()=>dS,card:()=>pS,chart:()=>FS,checkbox:()=>hS,chip:()=>bS,chipChoice:()=>yS,chipGroup:()=>xS,collapsible:()=>$S,combobox:()=>NS,dateRangePicker:()=>WS,drawer:()=>kS,eventCard:()=>uS,floatingMenu:()=>PS,foundation:()=>c,link:()=>vS,modal:()=>AS,notice:()=>US,notification:()=>HS,pageDesigner:()=>BS,pageFooter:()=>wS,pageHeader:()=>OS,pageLayout:()=>RS,popover:()=>MS,radio:()=>mS,reorderableList:()=>_S,resolveFamilyClass:()=>Rl,resolveSizeClass:()=>Al,semantic:()=>u,setVariable:()=>w,switch_:()=>DS,table:()=>gS,tabs:()=>LS,textArea:()=>IS,textInput:()=>TS,titleBreadcrumb:()=>ES,toggle:()=>zS,tooltip:()=>VS,treeList:()=>fS,typographies:()=>lS,typographyBody1Medium:()=>xf,typographyBody1Regular:()=>bf,typographyBody1Semibold:()=>vf,typographyBody2Medium:()=>Cf,typographyBody2MediumUnderline:()=>Ef,typographyBody2Regular:()=>Sf,typographyBody2Semibold:()=>Of,typographyCaption1Medium:()=>wf,typographyCaption1Semibold:()=>Rf,typographyCaption2Bold:()=>kf,typographyCaption2Medium:()=>Af,typographyCaption2Semibold:()=>_f,typographyDisplay:()=>hf,typographyTitle1:()=>mf,typographyTitle2:()=>gf,typographyTitle3:()=>yf,typographyVariants:()=>cS});var ta=p(()=>{"use strict";Ko()});var kl={};j(kl,{designSystemVariables:()=>x});var x,Ll=p(()=>{"use strict";ta();x={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 Tl={};j(Tl,{DynamicImporter:()=>ra,dynamicImporter:()=>GS});var ra,GS,Il=p(()=>{"use strict";ra=class{async import(e){if(e)return import(e)}},GS=new ra});function mh(t,e,r){return Jt(t,so(e,r))}function qo(t,e){return typeof t=="function"?t(e):t}function lo(t){return t.split("-")[0]}function tr(t){return t.split("-")[1]}function Ml(t){return t==="x"?"y":"x"}function $l(t){return t==="y"?"height":"width"}function Zo(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Dl(t){return Ml(Zo(t))}function gh(t,e,r){r===void 0&&(r=!1);let o=tr(t),n=Dl(t),a=$l(n),s=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Pl(s)),[s,Pl(s)]}function yh(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Pl(t){let e=lo(t);return jS[e]+t.slice(e.length)}function KS(t){var e,r,o,n;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(o=t.bottom)!=null?o:0,left:(n=t.left)!=null?n:0}}function bh(t){return typeof t!="number"?KS(t):{top:t,right:t,bottom:t,left:t}}function co(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 hh,fh,Nl,so,Jt,Ki,er,jS,oa=p(()=>{hh=["top","right","bottom","left"],fh=["start","end"],Nl=hh.reduce((t,e)=>t.concat(e,e+"-"+fh[0],e+"-"+fh[1]),[]),so=Math.min,Jt=Math.max,Ki=Math.round,er=t=>({x:t,y:t}),jS={left:"right",right:"left",bottom:"top",top:"bottom"}});function xh(t,e,r){let{reference:o,floating:n}=t,a=Zo(e),s=Dl(e),l=$l(s),d=lo(e),f=a==="y",g=o.x+o.width/2-n.width/2,m=o.y+o.height/2-n.height/2,b=o[l]/2-n[l]/2,C;switch(d){case"top":C={x:g,y:o.y-n.height};break;case"bottom":C={x:g,y:o.y+o.height};break;case"right":C={x:o.x+o.width,y:m};break;case"left":C={x:o.x-n.width,y:m};break;default:C={x:o.x,y:o.y}}let A=tr(e);return A&&(C[s]+=b*(A==="end"?1:-1)*(r&&f?-1:1)),C}async function vh(t,e){var r;e===void 0&&(e={});let{x:o,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:b=!1,padding:C=0}=qo(e,t),A=bh(C),_=l[b?m==="floating"?"reference":"floating":m],D=co(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(_)))==null||r?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:g,strategy:d})),te=m==="floating"?{x:o,y:n,width:s.floating.width,height:s.floating.height}:s.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(v))&&await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1},R=co(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:te,offsetParent:v,strategy:d}):te);return{top:(D.top-R.top+A.top)/S.y,bottom:(R.bottom-D.bottom+A.bottom)/S.y,left:(D.left-R.left+A.left)/S.x,right:(R.right-D.right+A.right)/S.x}}function ZS(t,e,r){return(t?[...r.filter(n=>tr(n)===t),...r.filter(n=>tr(n)!==t)]:r.filter(n=>lo(n)===n)).filter(n=>t?tr(n)===t||(e?yh(n)!==n:!1):!0)}async function YS(t,e){let{placement:r,platform:o,elements:n}=t,a=await(o.isRTL==null?void 0:o.isRTL(n.floating)),s=lo(r),l=tr(r),d=Zo(r)==="y",f=QS.has(s)?-1:1,g=a&&d?-1:1,m=qo(e,t),{mainAxis:b,crossAxis:C,alignmentAxis:A}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof A=="number"&&(C=l==="end"?A*-1:A),d?{x:C*g,y:b*f}:{x:b*f,y:C*g}}var qS,Sh,Ch,QS,Eh,Oh,wh,Rh=p(()=>{oa();oa();qS=50,Sh=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:vh},d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:g,y:m}=xh(f,o,d),b=o,C=0,A={};for(let P=0;P<a.length;P++){let _=a[P];if(!_)continue;let{name:D,fn:te}=_,{x:v,y:S,data:R,reset:z}=await te({x:g,y:m,initialPlacement:o,placement:b,strategy:n,middlewareData:A,rects:f,platform:l,elements:{reference:t,floating:e}});g=v??g,m=S??m,A[D]={...A[D],...R},z&&C<qS&&(C++,typeof z=="object"&&(z.placement&&(b=z.placement),z.rects&&(f=z.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):z.rects),{x:g,y:m}=xh(f,b,d)),P=-1)}return{x:g,y:m,placement:b,strategy:n,middlewareData:A}};Ch=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:f}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:b=Nl,autoAlignment:C=!0,...A}=qo(t,e),P=m!==void 0||b===Nl?ZS(m||null,C,b):b,_=((r=s.autoPlacement)==null?void 0:r.index)||0,D=P[_];if(D==null)return{};if(l!==D)return{reset:{placement:P[0]}};let te=await d.detectOverflow(e,A),v=gh(D,a,await(d.isRTL==null?void 0:d.isRTL(f.floating))),S=[te[lo(D)],te[v[0]],te[v[1]]],R=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:D,overflows:S}],z=P[_+1];if(z)return{data:{index:_+1,overflows:R},reset:{placement:z}};let V=R.map(F=>{let Q=tr(F.placement);return[F.placement,Q&&g?F.overflows.slice(0,2).reduce((we,Zt)=>we+Zt,0):F.overflows[0],F.overflows]}).sort((F,Q)=>F[1]-Q[1]),ae=((n=V.filter(F=>F[2].slice(0,tr(F[0])?2:3).every(Q=>Q<=0))[0])==null?void 0:n[0])||V[0][0];return ae!==l?{data:{index:_+1,overflows:R},reset:{placement:ae}}:{}}}},QS=new Set(["left","top"]);Eh=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 YS(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}}}}},Oh=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:te=>{let{x:v,y:S}=te;return{x:v,y:S}}},...f}=qo(t,e),g={x:r,y:o},m=await a.detectOverflow(e,f),b=Zo(n),C=Ml(b),A=g[C],P=g[b],_=(te,v)=>mh(v+m[te==="y"?"top":"left"],v,v-m[te==="y"?"bottom":"right"]);s&&(A=_(C,A)),l&&(P=_(b,P));let D=d.fn({...e,[C]:A,[b]:P});return{...D,data:{x:D.x-r,y:D.y-o,enabled:{[C]:s,[b]:l}}}}}},wh=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:o,platform:n,elements:a}=e,{apply:s=()=>{},...l}=qo(t,e),d=await n.detectOverflow(e,l),f=lo(r),g=tr(r),m=Zo(r)==="y",{width:b,height:C}=o.floating,A,P;f==="top"||f==="bottom"?(A=f,P=g===(await(n.isRTL==null?void 0:n.isRTL(a.floating))?"start":"end")?"left":"right"):(P=f,A=g==="end"?"top":"bottom");let _=C-d.top-d.bottom,D=b-d.left-d.right,te=so(C-d[A],_),v=so(b-d[P],D),S=e.middlewareData.shift,R=!S,z=te,V=v;S!=null&&S.enabled.x&&(V=D),S!=null&&S.enabled.y&&(z=_),R&&!g&&(m?V=b-2*Jt(d.left,d.right):z=C-2*Jt(d.top,d.bottom)),await s({...e,availableWidth:V,availableHeight:z});let U=await n.getDimensions(a.floating);return b!==U.width||C!==U.height?{reset:{rects:!0}}:{}}}}});function na(){return typeof window<"u"}function uo(t){return _h(t)?(t.nodeName||"").toLowerCase():"#document"}function lt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function yr(t){var e;return(e=(_h(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function _h(t){return na()?t instanceof Node||t instanceof lt(t).Node:!1}function Bt(t){return na()?t instanceof Element||t instanceof lt(t).Element:!1}function br(t){return na()?t instanceof HTMLElement||t instanceof lt(t).HTMLElement:!1}function Ah(t){return!na()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof lt(t).ShadowRoot}function qi(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=Ut(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function kh(t){return/^(table|td|th)$/.test(uo(t))}function Zi(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}function Qo(t){let e=Bt(t)?Ut(t):t;return po(e.transform)||po(e.translate)||po(e.scale)||po(e.rotate)||po(e.perspective)||!aa()&&(po(e.backdropFilter)||po(e.filter))||XS.test(e.willChange||"")||JS.test(e.contain||"")}function Lh(t){let e=Dr(t);for(;br(e)&&!Yo(e);){if(Qo(e))return e;if(Zi(e))return null;e=Dr(e)}return null}function aa(){return Fl==null&&(Fl=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fl}function Yo(t){return/^(html|body|#document)$/.test(uo(t))}function Ut(t){return lt(t).getComputedStyle(t)}function Qi(t){return Bt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Dr(t){if(uo(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ah(t)&&t.host||yr(t);return Ah(e)?e.host:e}function Th(t){let e=Dr(t);return Yo(e)?(t.ownerDocument||t).body:br(e)&&qi(e)?e:Th(e)}function ia(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=lt(n);if(a){let l=sa(s);return e.concat(s,s.visualViewport||[],qi(n)?n:[],l&&r?ia(l):[])}else return e.concat(n,ia(n,[],r))}function sa(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}var XS,JS,po,Fl,Bl=p(()=>{XS=/transform|translate|scale|rotate|perspective|filter/,JS=/paint|layout|strict|content/,po=t=>!!t&&t!=="none"});function Nh(t){let e=Ut(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=br(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=Ki(r)!==a||Ki(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function Mh(t){return Bt(t)?t:t.contextElement}function Xo(t){let e=Mh(t);if(!br(e))return er(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:a}=Nh(e),s=(a?Ki(r.width):r.width)/o,l=(a?Ki(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function $h(t){let e=lt(t);return!aa()||!e.visualViewport?eC:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function tC(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===lt(t)}function Yi(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=Mh(t),s=er(1);e&&(o?Bt(o)&&(s=Xo(o)):s=Xo(t));let l=tC(a,r,o)?$h(a):er(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,g=n.width/s.x,m=n.height/s.y;if(a&&o){let b=lt(a),C=Bt(o)?lt(o):o,A=b,P=sa(A);for(;P&&C!==A;){let _=Xo(P),D=P.getBoundingClientRect(),te=Ut(P),v=D.left+(P.clientLeft+parseFloat(te.paddingLeft))*_.x,S=D.top+(P.clientTop+parseFloat(te.paddingTop))*_.y;d*=_.x,f*=_.y,g*=_.x,m*=_.y,d+=v,f+=S,A=lt(P),P=sa(A)}}return co({width:g,height:m,x:d,y:f})}function la(t,e){let r=Qi(t).scrollLeft;return e?e.left+r:Yi(yr(t)).left+r}function Dh(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-la(t,r),n=r.top+e.scrollTop;return{x:o,y:n}}function rC(t){let{elements:e,rect:r,offsetParent:o,strategy:n}=t,a=n==="fixed",s=yr(o),l=e?Zi(e.floating):!1;if(o===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},f=er(1),g=er(0),m=br(o);if((m||!a)&&((uo(o)!=="body"||qi(s))&&(d=Qi(o)),m)){let C=Yi(o);f=Xo(o),g.x=C.x+o.clientLeft,g.y=C.y+o.clientTop}let b=s&&!m&&!a?Dh(s,d):er(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+g.x+b.x,y:r.y*f.y-d.scrollTop*f.y+g.y+b.y}}function oC(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function iC(t){let e=Qi(t),r=t.ownerDocument.body,o=Jt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),n=Jt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-e.scrollLeft+la(t),s=-e.scrollTop;return Ut(r).direction==="rtl"&&(a+=Jt(t.clientWidth,r.clientWidth)-o),{width:o,height:n,x:a,y:s}}function aC(t,e,r){r===void 0&&(r="viewport");let o=r==="layoutViewport",n=lt(t),a=yr(t),s=n.visualViewport,l=a.clientWidth,d=a.clientHeight,f=0,g=0;if(s){let b=!aa()||e==="fixed";o?b||(f=-s.offsetLeft,g=-s.offsetTop):(l=s.width,d=s.height,b&&(f=s.offsetLeft,g=s.offsetTop))}if(la(a)<=0){let b=a.ownerDocument,C=b.body,A=getComputedStyle(C),P=b.compatMode==="CSS1Compat"&&parseFloat(A.marginLeft)+parseFloat(A.marginRight)||0,_=Math.abs(a.clientWidth-C.clientWidth-P),D=getComputedStyle(a).scrollbarGutter==="stable both-edges"?_/2:_;D<=nC&&(l-=D)}return{width:l,height:d,x:f,y:g}}function sC(t,e){let r=Yi(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,a=Xo(t),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,f=o*a.y;return{width:s,height:l,x:d,y:f}}function Ih(t,e,r){let o;if(e==="viewport"||e==="layoutViewport")o=aC(t,r,e);else if(e==="document")o=iC(yr(t));else if(Bt(e))o=sC(e,r);else{let n=$h(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return co(o)}function lC(t,e){let r=e.get(t);if(r)return r;let o=ia(t,[],!1).filter(l=>Bt(l)&&uo(l)!=="body"),n=null,a=Ut(t).position==="fixed",s=a?Dr(t):t;for(;Bt(s)&&!Yo(s);){let l=Ut(s),d=Qo(s),f=n?n.position:a?"fixed":"";!d&&(f==="fixed"||f==="absolute"&&l.position==="static")?o=o.filter(m=>m!==s):n=l,s=Dr(s)}return e.set(t,o),o}function cC(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,s=[...r==="clippingAncestors"?Zi(e)?[]:lC(e,this._c):[].concat(r),o],l=Ih(e,s[0],n),d=l.top,f=l.right,g=l.bottom,m=l.left;for(let b=1;b<s.length;b++){let C=Ih(e,s[b],n);d=Jt(C.top,d),f=so(C.right,f),g=so(C.bottom,g),m=Jt(C.left,m)}return{width:f-m,height:g-d,x:m,y:d}}function dC(t){let{width:e,height:r}=Nh(t);return{width:e,height:r}}function pC(t,e,r){let o=br(e),n=yr(e),a=r==="fixed",s=Yi(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=er(0);if((o||!a)&&((uo(e)!=="body"||qi(n))&&(l=Qi(e)),o)){let b=Yi(e,!0,a,e);d.x=b.x+e.clientLeft,d.y=b.y+e.clientTop}!o&&n&&(d.x=la(n));let f=n&&!o&&!a?Dh(n,l):er(0),g=s.left+l.scrollLeft-d.x-f.x,m=s.top+l.scrollTop-d.y-f.y;return{x:g,y:m,width:s.width,height:s.height}}function Ul(t){return Ut(t).position==="static"}function Ph(t,e){if(!br(t)||Ut(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return yr(t)===r&&(r=r.ownerDocument.body),r}function Fh(t,e){let r=lt(t);if(Zi(t))return r;if(!br(t)){let n=Dr(t);for(;n&&!Yo(n);){if(Bt(n)&&!Ul(n))return n;n=Dr(n)}return r}let o=Ph(t,e);for(;o&&kh(o)&&Ul(o);)o=Ph(o,e);return o&&Yo(o)&&Ul(o)&&!Qo(o)?r:o||Lh(t)||r}function fC(t){return Ut(t).direction==="rtl"}var eC,nC,uC,Jo,Bh,zl,Uh,zh,Hl,Hh=p(()=>{Rh();oa();Bl();eC=er(0);nC=25;uC=async function(t){let e=this.getOffsetParent||Fh,r=this.getDimensions,o=await r(t.floating);return{reference:pC(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};Jo={convertOffsetParentRelativeRectToViewportRelativeRect:rC,getDocumentElement:yr,getClippingRect:cC,getOffsetParent:Fh,getElementRects:uC,getClientRects:oC,getDimensions:dC,getScale:Xo,isElement:Bt,isRTL:fC},Bh=Eh,zl=Ch,Uh=Oh,zh=wh,Hl=(t,e,r)=>{let o=new Map,n=r??{},a={...Jo,...n.platform,_c:o};return Sh(t,e,{...n,platform:a})}});function Wl(t){return hC(t)}function Vl(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function hC(t){for(let e=t;e;e=Vl(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Vl(t);e;e=Vl(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||Qo(r)||e.tagName==="BODY"))return e}return null}var Vh=p(()=>{Bl()});var Kl={};j(Kl,{computeOffsetAutoPosition:()=>jl,computeOffsetPosition:()=>Gl});async function Gl(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},Hl(t,e,{strategy:o.strategy,platform:{...Jo,getOffsetParent:n=>Jo.getOffsetParent(n,Wl)},middleware:[Uh({crossAxis:!0}),zl({allowedPlacements:[o.placement]})]})}async function jl(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,Hl(t,e,{placement:l,strategy:n,platform:{...Jo,getOffsetParent:f=>Jo.getOffsetParent(f,Wl)},middleware:[Bh(s??4),zl({allowedPlacements:o}),zh({apply({availableHeight:f,availableWidth:g,elements:m}){typeof a=="string"&&(a=`var(${a})`),a?m.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${a})`:m.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?m.floating.style.maxWidth=`min(${Math.max(0,g)}px, ${d})`:m.floating.style.maxWidth=`${Math.max(0,g)}px`}})]})}var ca=p(()=>{"use strict";Hh();Vh()});var ql={};j(ql,{isSlotEmptyOrWithoutContent:()=>Xi});var Xi,Zl=p(()=>{"use strict";Xi=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 Ql={};j(Ql,{ScopedRegistryLitElement:()=>Ji});var Ji,da=p(()=>{"use strict";L();Fn();ao();Ji=class extends _t{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Pi(o,e.elementStyles),o}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,o])=>this.defineScopedElement(r,o))}static defineScopedElement(e,r){zi(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}}});var Xl={};j(Xl,{shadowQuerySelector:()=>Yl,shadowQuerySelectorAll:()=>mC});function Yl(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 mC(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 pa=p(()=>{"use strict"});var Jl={};j(Jl,{ExportpartsUpdatedEvent:()=>fo,FtLitElement:()=>$});var ei,Kh,Wh,Gh,qh,jh,fo,$,en=p(()=>{"use strict";q();ao();ea();da();pa();ei=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},Wh=Symbol("constructorPrototype"),Gh=Symbol("constructorName"),qh=Symbol("exportpartsDebouncer"),jh=Symbol("dynamicDependenciesLoaded"),fo=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};fo.eventName="exportparts-updated";$=class extends Ji{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Kh]=new se(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[qh].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[Gh]=this.constructor.name,this[Wh]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Gh]&&Object.setPrototypeOf(this,this[Wh])}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[jh]||(r[jh]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(fo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(fo.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 fo)})}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=Yl(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,f=e.filter(d).map(b=>b.trim());if(f.length===0){this.exportparts=void 0;return}let g=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 C=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],A=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(_=>_.split(":")[1]))!==null&&l!==void 0?l:[],P=[...C,...A].filter(d).map(_=>_.trim());for(let _ of P)g.add(_)}if(g.size===0){this.exportparts=void 0;return}let m=[...g.values()].flatMap(b=>f.map(C=>`${b}:${C}--${b}`));this.exportparts=[...this.part,...m].join(", ")}};Kh=qh;ei([h()],$.prototype,"exportpartsPrefix",void 0);ei([pe([])],$.prototype,"exportpartsPrefixes",void 0);ei([h({reflect:!0})],$.prototype,"exportparts",void 0);ei([h()],$.prototype,"customStylesheet",void 0);ei([h()],$.prototype,"elementToFocus",void 0);ei([T()],$.prototype,"useAdoptedStyleSheets",void 0)});var tc={};j(tc,{FtdsBase:()=>ec,toFtdsBase:()=>Qh});var Zh,Qh,ec,rc=p(()=>{"use strict";en();q();Ko();tt();Zh=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},Qh=Re(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=ji.medium,this.family=Gi.neutral}getDesignSystemBaseClasses(){return{[Rl(this.family)]:!0,[Al(this.size)]:!0}}}return Zh([h()],e.prototype,"size",void 0),Zh([h()],e.prototype,"family",void 0),e}),ec=class extends Qh($){}});var Yh={};var oc=p(()=>{"use strict"});var ho,Xh=p(()=>{ho=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(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,g=>{r(f)&&(l++,o(g)),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=[],f,g,m=()=>({prevNode:g,node:f}=this.getIteratorNode(s),f);for(;m();)this.iframes&&this.forEachIframe(r,b=>this.checkIframeFilter(f,g,b,l),b=>{this.createInstanceOnIframe(b).forEachNode(e,C=>d.push(C),n)}),d.push(f);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 tn,Jh=p(()=>{Xh();tn=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 ho(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 ho.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 f=r-s.start,g=(o>s.end?s.end:o)-s.start,m=e.value.substr(0,s.start),b=e.value.substr(g+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,g),e.value=m+b,e.nodes.forEach((C,A)=>{A>=l&&(e.nodes[A].start>0&&A!==l&&(e.nodes[A].start-=g),e.nodes[A].end-=g)}),o-=g,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 f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!o(f[s],d))continue;let g=f.index;if(s!==0)for(let m=1;m<s;m++)g+=f[m].length;d=this.wrapRangeInTextNode(d,g,g+f[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 f=d.index;if(s!==0)for(let m=1;m<s;m++)f+=d[m].length;let g=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,g,m=>o(d[s],m),(m,b)=>{e.lastIndex=b,n(m)})}a()})}wrapRangeFromIndex(e,r,o,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:g,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,f,g,b=>r(b,l,a.value.substring(f,g),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=f=>{let g=new RegExp(this.createRegExp(f),`gm${l}`),m=0;this.log(`Searching with expression "${g}"`),this[n](g,1,(b,C)=>this.opt.filter(C,f,o,m),b=>{m++,o++,this.opt.each(b)},()=>{m===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(o):d(a[a.indexOf(f)+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=ho.matches(o,r),a=this.matchesExclude(o);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function ic(t){let e=new tn(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 em=p(()=>{Jh()});var ac={};j(ac,{highlightHtml:()=>nc,highlightHtmlColorCssVariable:()=>tm,highlightHtmlStyles:()=>yC});function nc(t,e,r){var o,n;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new gC(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=f=>{for(let g in r.attributes)f.setAttribute(g,r.attributes[g])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var gC,tm,yC,sc=p(()=>{"use strict";L();Ko();em();gC=ic,tm=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),yC=O`
1
+ "use strict";(()=>{var N0=Object.defineProperty;var p=(t,e,r)=>()=>{if(r)throw r[0];try{return t&&(e=t(t=0)),e}catch(o){throw r=[o],o}};var j=(t,e)=>{for(var r in e)N0(t,r,{get:e[r],enumerable:!0})};var wu=p(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,S){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=S.prototype.attributeChangedCallback,z=new Set(S.observedAttributes||[]);b(S,z,R);let V={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:z};this._definitionsByTag.set(v,V),this._definitionsByClass.set(S,V);let U=r.call(o,v);U||(U=m(v),e.call(o,v,U)),this===window.customElements&&(a.set(S,V),V.standInClass=U);let se=this._awaitingUpgrade.get(v);if(se){this._awaitingUpgrade.delete(v);for(let Q of se)s.delete(Q),A(Q,V,!0)}let F=this._whenDefinedPromises.get(v);return F!==void 0&&(F.resolve(S),this._whenDefinedPromises.delete(v)),S}upgrade(){_.push(this),o.upgrade.apply(o,arguments),_.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let S=this._getDefinition(v);if(S!==void 0)return Promise.resolve(S.elementClass);let R=this._whenDefinedPromises.get(v);return R===void 0&&(R={},R.promise=new Promise(z=>R.resolve=z),this._whenDefinedPromises.set(v,R)),R.promise}_upgradeWhenDefined(v,S,R){let z=this._awaitingUpgrade.get(S);z||this._awaitingUpgrade.set(S,z=new Set),R?z.add(v):z.delete(v)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let R=a.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),n.set(S,R),S},window.HTMLElement.prototype=t.prototype;let f=v=>v===document||v instanceof ShadowRoot,g=v=>{let S=v.getRootNode();if(!f(S)){let R=_[_.length-1];if(R instanceof CustomElementRegistry)return R;S=R.getRootNode(),f(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},m=v=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let z=g(R)||window.customElements,V=z._getDefinition(v);return V?A(R,V):s.set(R,z),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},b=(v,S,R)=>{if(S.size===0||R===void 0)return;let z=v.prototype.setAttribute;z&&(v.prototype.setAttribute=function(se,F){let Q=se.toLowerCase();if(S.has(Q)){let we=this.getAttribute(Q);z.call(this,Q,F),R.call(this,Q,we,F)}else z.call(this,Q,F)});let V=v.prototype.removeAttribute;V&&(v.prototype.removeAttribute=function(se){let F=se.toLowerCase();if(S.has(F)){let Q=this.getAttribute(F);V.call(this,F),R.call(this,F,Q,null)}else V.call(this,F)});let U=v.prototype.toggleAttribute;U&&(v.prototype.toggleAttribute=function(se,F){let Q=se.toLowerCase();if(S.has(Q)){let we=this.getAttribute(Q);U.call(this,Q,F);let Zt=this.getAttribute(Q);R.call(this,Q,we,Zt)}else U.call(this,Q,F)})},C=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(v,window.HTMLElement):C(S)},A=(v,S,R=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),n.set(v,S),d=v;try{new S.elementClass}catch{C(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(z=>{v.hasAttribute(z)&&S.attributeChangedCallback.call(v,z,null,v.getAttribute(z))}),R&&S.connectedCallback&&v.isConnected&&S.connectedCallback.call(v)},P=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let S=P.apply(this,arguments);return v.customElements&&(S.customElements=v.customElements),S};let _=[document],D=(v,S,R=void 0)=>{let z=(R?Object.getPrototypeOf(R):v.prototype)[S];v.prototype[S]=function(){_.push(this);let V=z.apply(R||this,arguments);return V!==void 0&&l.set(V,this),_.pop(),V}};D(ShadowRoot,"createElement",document),D(ShadowRoot,"importNode",document),D(Element,"insertAdjacentHTML");let te=(v,S)=>{let R=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...R,set(z){_.push(this),R.set.call(this,z),_.pop()}})};if(te(Element,"innerHTML"),te(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,S=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...se){let F=S.call(this,...se);return v.set(F,this),F},R.forEach(se=>{let F=window.ElementInternals.prototype,Q=F[se];F[se]=function(...we){let Zt=v.get(this);if(n.get(Zt).formAssociated===!0)return Q?.call(this,...we);throw new DOMException(`Failed to execute ${Q} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class z extends Array{constructor(F){super(...F),this._elements=F}get value(){return this._elements.find(F=>F.checked===!0)?.value||""}}class V{constructor(F){let Q=new Map;F.forEach((we,Zt)=>{let Ma=we.getAttribute("name"),Ou=Q.get(Ma)||[];this[+Zt]=we,Ou.push(we),Q.set(Ma,Ou)}),this.length=F.length,Q.forEach((we,Zt)=>{we&&(we.length===1?this[Zt]=we[0]:this[Zt]=new z(we))})}namedItem(F){return this[F]}}let U=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let se=U.get.call(this,[]),F=[];for(let Q of se){let we=n.get(Q);(!we||we.formAssociated===!0)&&F.push(Q)}return new V(F)}})}}});var Ru=p(()=>{"use strict";wu();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,n)=>{var s;if(o!==null)try{e.bind(window.customElements)(r,o,n)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(r,class extends o{},n):console.info(r,o,n,a)}}}});var Dn,Ni,$a,Au,Bo,Xr,O,Mi,Fn,Bn=p(()=>{Dn=globalThis,Ni=Dn.ShadowRoot&&(Dn.ShadyCSS===void 0||Dn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$a=Symbol(),Au=new WeakMap,Bo=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==$a)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(Ni&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Au.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Au.set(r,e))}return e}toString(){return this.cssText}},Xr=t=>new Bo(typeof t=="string"?t:t+"",void 0,$a),O=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,n,s)=>o+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[s+1],t[0]);return new Bo(r,t,$a)},Mi=(t,e)=>{if(Ni)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),n=Dn.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)}},Fn=Ni?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Xr(r)})(t):t});var M0,$0,D0,F0,B0,U0,Un,_u,z0,H0,$i,Uo,Di,ku,Rt,zo=p(()=>{Bn();Bn();({is:M0,defineProperty:$0,getOwnPropertyDescriptor:D0,getOwnPropertyNames:F0,getOwnPropertySymbols:B0,getPrototypeOf:U0}=Object),Un=globalThis,_u=Un.trustedTypes,z0=_u?_u.emptyScript:"",H0=Un.reactiveElementPolyfillSupport,$i=(t,e)=>t,Uo={toAttribute(t,e){switch(e){case Boolean:t=t?z0: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}},Di=(t,e)=>!M0(t,e),ku={attribute:!0,type:String,converter:Uo,reflect:!1,useDefault:!1,hasChanged:Di};Symbol.metadata??=Symbol("metadata"),Un.litPropertyMetadata??=new WeakMap;Rt=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=ku){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&&$0(this.prototype,e,n)}}static getPropertyDescriptor(e,r,o){let{get:n,set:s}=D0(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:n,set(a){let l=n?.call(this);s?.call(this,a),this.requestUpdate(e,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ku}static _$Ei(){if(this.hasOwnProperty($i("elementProperties")))return;let e=U0(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($i("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($i("properties"))){let r=this.properties,o=[...F0(r),...B0(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(Fn(n))}else e!==void 0&&r.push(Fn(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 Mi(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 s=(o.converter?.toAttribute!==void 0?o.converter:Uo).toAttribute(r,o.type);this._$Em=e,s==null?this.removeAttribute(n):this.setAttribute(n,s),this._$Em=null}}_$AK(e,r){let o=this.constructor,n=o._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let s=o.getPropertyOptions(n),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:Uo;this._$Em=n;let l=a.fromAttribute(r,s.type);this[n]=l??this._$Ej?.get(n)??l,this._$Em=null}}requestUpdate(e,r,o,n=!1,s){if(e!==void 0){let a=this.constructor;if(n===!1&&(s=this[e]),o??=a.getPropertyOptions(e),!((o.hasChanged??Di)(s,r)||o.useDefault&&o.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,o))))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:o,reflect:n,wrapped:s},a){o&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),s!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||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,s]of this._$Ep)this[n]=s;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,s]of o){let{wrapped:a}=s,l=this[n];a!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,s,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){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[$i("elementProperties")]=new Map,Rt[$i("finalized")]=new Map,H0?.({ReactiveElement:Rt}),(Un.reactiveElementVersions??=[]).push("2.1.2")});function Bu(t,e){if(!za(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Tu!==void 0?Tu.createHTML(e):e}function ro(t,e,r=t,o){if(e===Me)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,s=Ui(e)?void 0:e._$litDirective$;return n?.constructor!==s&&(n?._$AO?.(!1),s===void 0?n=void 0:(n=new s(t),n._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=n:r._$Cl=n),n!==void 0&&(e=ro(t,n._$AS(t,e.values),n,o)),e}var Fa,Lu,zn,Tu,Ba,mr,Ua,V0,to,Bi,Ui,za,Du,Da,Fi,Iu,Pu,Jr,Nu,Mu,Fu,Ha,y,Va,Wa,Me,k,$u,eo,Uu,zi,Hn,Ho,oo,Vn,Wn,Gn,jn,Ga,W0,ja,At=p(()=>{Fa=globalThis,Lu=t=>t,zn=Fa.trustedTypes,Tu=zn?zn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ba="$lit$",mr=`lit$${Math.random().toFixed(9).slice(2)}$`,Ua="?"+mr,V0=`<${Ua}>`,to=document,Bi=()=>to.createComment(""),Ui=t=>t===null||typeof t!="object"&&typeof t!="function",za=Array.isArray,Du=t=>za(t)||typeof t?.[Symbol.iterator]=="function",Da=`[
2
+ \f\r]`,Fi=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Iu=/-->/g,Pu=/>/g,Jr=RegExp(`>|${Da}(?:([^\\s"'>=/]+)(${Da}*=${Da}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Nu=/'/g,Mu=/"/g,Fu=/^(?:script|style|textarea|title)$/i,Ha=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),y=Ha(1),Va=Ha(2),Wa=Ha(3),Me=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),$u=new WeakMap,eo=to.createTreeWalker(to,129);Uu=(t,e)=>{let r=t.length-1,o=[],n,s=e===2?"<svg>":e===3?"<math>":"",a=Fi;for(let l=0;l<r;l++){let d=t[l],f,g,m=-1,b=0;for(;b<d.length&&(a.lastIndex=b,g=a.exec(d),g!==null);)b=a.lastIndex,a===Fi?g[1]==="!--"?a=Iu:g[1]!==void 0?a=Pu:g[2]!==void 0?(Fu.test(g[2])&&(n=RegExp("</"+g[2],"g")),a=Jr):g[3]!==void 0&&(a=Jr):a===Jr?g[0]===">"?(a=n??Fi,m=-1):g[1]===void 0?m=-2:(m=a.lastIndex-g[2].length,f=g[1],a=g[3]===void 0?Jr:g[3]==='"'?Mu:Nu):a===Mu||a===Nu?a=Jr:a===Iu||a===Pu?a=Fi:(a=Jr,n=void 0);let C=a===Jr&&t[l+1].startsWith("/>")?" ":"";s+=a===Fi?d+V0:m>=0?(o.push(f),d.slice(0,m)+Ba+d.slice(m)+mr+C):d+mr+(m===-2?l:C)}return[Bu(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},zi=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let s=0,a=0,l=e.length-1,d=this.parts,[f,g]=Uu(e,r);if(this.el=t.createElement(f,o),eo.currentNode=this.el.content,r===2||r===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=eo.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(Ba)){let b=g[a++],C=n.getAttribute(m).split(mr),A=/([.?@])?(.*)/.exec(b);d.push({type:1,index:s,name:A[2],strings:C,ctor:A[1]==="."?Vn:A[1]==="?"?Wn:A[1]==="@"?Gn:oo}),n.removeAttribute(m)}else m.startsWith(mr)&&(d.push({type:6,index:s}),n.removeAttribute(m));if(Fu.test(n.tagName)){let m=n.textContent.split(mr),b=m.length-1;if(b>0){n.textContent=zn?zn.emptyScript:"";for(let C=0;C<b;C++)n.append(m[C],Bi()),eo.nextNode(),d.push({type:2,index:++s});n.append(m[b],Bi())}}}else if(n.nodeType===8)if(n.data===Ua)d.push({type:2,index:s});else{let m=-1;for(;(m=n.data.indexOf(mr,m+1))!==-1;)d.push({type:7,index:s}),m+=mr.length-1}s++}}static createElement(e,r){let o=to.createElement("template");return o.innerHTML=e,o}};Hn=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??to).importNode(r,!0);eo.currentNode=n;let s=eo.nextNode(),a=0,l=0,d=o[0];for(;d!==void 0;){if(a===d.index){let f;d.type===2?f=new Ho(s,s.nextSibling,this,e):d.type===1?f=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(f=new jn(s,this,e)),this._$AV.push(f),d=o[++l]}a!==d?.index&&(s=eo.nextNode(),a++)}return eo.currentNode=to,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++}},Ho=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=k,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=ro(this,e,r),Ui(e)?e===k||e==null||e===""?(this._$AH!==k&&this._$AR(),this._$AH=k):e!==this._$AH&&e!==Me&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Du(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!==k&&Ui(this._$AH)?this._$AA.nextSibling.data=e:this.T(to.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=zi.createElement(Bu(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let s=new Hn(n,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=$u.get(e.strings);return r===void 0&&$u.set(e.strings,r=new zi(e)),r}k(e){za(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let s of e)n===r.length?r.push(o=new t(this.O(Bi()),this.O(Bi()),this,this.options)):o=r[n],o._$AI(s),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!==this._$AB;){let o=Lu(e).nextSibling;Lu(e).remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},oo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,s){this.type=1,this._$AH=k,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=k}_$AI(e,r=this,o,n){let s=this.strings,a=!1;if(s===void 0)e=ro(this,e,r,0),a=!Ui(e)||e!==this._$AH&&e!==Me,a&&(this._$AH=e);else{let l=e,d,f;for(e=s[0],d=0;d<s.length-1;d++)f=ro(this,l[o+d],r,d),f===Me&&(f=this._$AH[d]),a||=!Ui(f)||f!==this._$AH[d],f===k?e=k:e!==k&&(e+=(f??"")+s[d+1]),this._$AH[d]=f}a&&!n&&this.j(e)}j(e){e===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Vn=class extends oo{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===k?void 0:e}},Wn=class extends oo{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==k)}},Gn=class extends oo{constructor(e,r,o,n,s){super(e,r,o,n,s),this.type=5}_$AI(e,r=this){if((e=ro(this,e,r,0)??k)===Me)return;let o=this._$AH,n=e===k&&o!==k||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,s=e!==k&&(o===k||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},jn=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){ro(this,e)}},Ga={M:Ba,P:mr,A:Ua,C:1,L:Uu,R:Hn,D:Du,V:ro,I:Ho,H:oo,N:Wn,U:Gn,B:Vn,F:jn},W0=Fa.litHtmlPolyfillSupport;W0?.(zi,Ho),(Fa.litHtmlVersions??=[]).push("3.3.3");ja=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let s=r?.renderBefore??null;o._$litPart$=n=new Ho(e.insertBefore(Bi(),s),s,void 0,r??{})}return n._$AI(t),n}});var Ka,_t,G0,zu,qa=p(()=>{zo();zo();At();At();Ka=globalThis,_t=class extends Rt{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=ja(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Me}};_t._$litElement$=!0,_t.finalized=!0,Ka.litElementHydrateSupport?.({LitElement:_t});G0=Ka.litElementPolyfillSupport;G0?.({LitElement:_t});zu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Ka.litElementVersions??=[]).push("4.2.2")});var CO,Hu=p(()=>{CO=!1});var Za={};j(Za,{CSSResult:()=>Bo,LitElement:()=>_t,ReactiveElement:()=>Rt,_$LE:()=>zu,_$LH:()=>Ga,adoptStyles:()=>Mi,css:()=>O,defaultConverter:()=>Uo,getCompatibleStyle:()=>Fn,html:()=>y,isServer:()=>CO,mathml:()=>Wa,noChange:()=>Me,notEqual:()=>Di,nothing:()=>k,render:()=>ja,supportsAdoptingStyleSheets:()=>Ni,svg:()=>Va,unsafeCSS:()=>Xr});var T=p(()=>{zo();At();qa();Hu()});var j0,Vu=p(()=>{j0=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"?Wu(t,e,r):((o,n,s)=>{let a=n.hasOwnProperty(s);return n.constructor.createProperty(s,o),a?Object.getOwnPropertyDescriptor(n,s):void 0})(t,e,r)}var K0,Wu,Qa=p(()=>{zo();K0={attribute:!0,type:String,converter:Uo,reflect:!1,hasChanged:Di},Wu=(t=K0,e,r)=>{let{kind:o,metadata:n}=r,s=globalThis.litPropertyMetadata.get(n);if(s===void 0&&globalThis.litPropertyMetadata.set(n,s=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),o==="accessor"){let{name:a}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(a,d,t,!0,l)},init(l){return l!==void 0&&this.C(a,void 0,t,l),l}}}if(o==="setter"){let{name:a}=r;return function(l){let d=this[a];e.call(this,l),this.requestUpdate(a,d,t,!0,l)}}throw Error("Unsupported decorator location: "+o)}});function L(t){return h({...t,state:!0,attribute:!1})}var Gu=p(()=>{Qa();});function q0(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var ju=p(()=>{});var Ft,Vo=p(()=>{Ft=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function M(t,e){return(r,o,n)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:l}=typeof o=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Ft(r,o,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ft(r,o,{get(){return s(this)}})}}var Ku=p(()=>{Vo();});function Ya(t){return(e,r)=>Ft(e,r,{get(){return(this.renderRoot??(Z0??=document.createDocumentFragment())).querySelectorAll(t)}})}var Z0,qu=p(()=>{Vo();});function Q0(t){return(e,r)=>Ft(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var Zu=p(()=>{Vo();});function Xa(t){return(e,r)=>{let{slot:o,selector:n}=t??{},s="slot"+(o?`[name=${o}]`:":not([name])");return Ft(e,r,{get(){let a=this.renderRoot?.querySelector(s),l=a?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var Qu=p(()=>{Vo();});function Ja(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return Ft(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var Yu=p(()=>{Vo();});var el={};j(el,{customElement:()=>j0,eventOptions:()=>q0,property:()=>h,query:()=>M,queryAll:()=>Ya,queryAssignedElements:()=>Xa,queryAssignedNodes:()=>Ja,queryAsync:()=>Q0,standardProperty:()=>Wu,state:()=>L});var q=p(()=>{Vu();Qa();Gu();ju();Ku();qu();Zu();Qu();Yu()});var Qt,ft,kt,io=p(()=>{Qt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ft=t=>(...e)=>({_$litDirective$:t,values:e}),kt=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 Y0,Xu,ef,Ju,Wo,Pr,X0,tf,rf,Kn,tl=p(()=>{At();({I:Y0}=Ga),Xu=t=>t,ef=t=>t.strings===void 0,Ju=()=>document.createComment(""),Wo=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=o.insertBefore(Ju(),n),a=o.insertBefore(Ju(),n);r=new Y0(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,l=a!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==n||l){let d=r._$AA;for(;d!==s;){let f=Xu(d).nextSibling;Xu(o).insertBefore(d,n),d=f}}}return r},Pr=(t,e,r=t)=>(t._$AI(e,r),t),X0={},tf=(t,e=X0)=>t._$AH=e,rf=t=>t._$AH,Kn=t=>{t._$AR(),t._$AA.remove()}});var of,ge,nf=p(()=>{At();io();tl();of=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},ge=ft(class extends kt{constructor(t){if(super(t),t.type!==Qt.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=[],s=[],a=0;for(let l of t)n[a]=o?o(l,a):a,s[a]=r(l,a),a++;return{values:s,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let n=rf(t),{values:s,keys:a}=this.dt(e,r,o);if(!Array.isArray(n))return this.ut=a,s;let l=this.ut??=[],d=[],f,g,m=0,b=n.length-1,C=0,A=s.length-1;for(;m<=b&&C<=A;)if(n[m]===null)m++;else if(n[b]===null)b--;else if(l[m]===a[C])d[C]=Pr(n[m],s[C]),m++,C++;else if(l[b]===a[A])d[A]=Pr(n[b],s[A]),b--,A--;else if(l[m]===a[A])d[A]=Pr(n[m],s[A]),Wo(t,d[A+1],n[m]),m++,A--;else if(l[b]===a[C])d[C]=Pr(n[b],s[C]),Wo(t,n[m],n[b]),b--,C++;else if(f===void 0&&(f=of(a,C,A),g=of(l,m,b)),f.has(l[m]))if(f.has(l[b])){let P=g.get(a[C]),_=P!==void 0?n[P]:null;if(_===null){let D=Wo(t,n[m]);Pr(D,s[C]),d[C]=D}else d[C]=Pr(_,s[C]),Wo(t,n[m],_),n[P]=null;C++}else Kn(n[b]),b--;else Kn(n[m]),m++;for(;C<=A;){let P=Wo(t,d[A+1]);Pr(P,s[C]),d[C++]=P}for(;m<=b;){let P=n[m++];P!==null&&Kn(P)}return this.ut=a,tf(t,d),Me}})});var rl={};j(rl,{repeat:()=>ge});var Bt=p(()=>{nf()});var he,sf=p(()=>{At();io();he=ft(class extends kt{constructor(t){if(super(t),t.type!==Qt.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 Me}})});var ol={};j(ol,{classMap:()=>he});var et=p(()=>{sf()});var af,J0,eS,lf=p(()=>{At();io();af="important",J0=" !"+af,eS=ft(class extends kt{constructor(t){if(super(t),t.type!==Qt.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 s=typeof n=="string"&&n.endsWith(J0);o.includes("-")||s?r.setProperty(o,s?n.slice(0,-11):n,s?af:""):r[o]=n}}return Me}})});var il={};j(il,{styleMap:()=>eS});var cf=p(()=>{lf()});var Go,no,df=p(()=>{At();io();Go=class extends kt{constructor(e){if(super(e),this.it=k,e.type!==Qt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===k||e==null)return this._t=void 0,this.it=e;if(e===Me)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:[]}}};Go.directiveName="unsafeHTML",Go.resultType=1;no=ft(Go)});var nl={};j(nl,{UnsafeHTMLDirective:()=>Go,unsafeHTML:()=>no});var Hi=p(()=>{df()});var sl={};j(sl,{splitBreadcrumbForMenu:()=>tS});function tS(t,e=0,r=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let o=Math.max(r,1),n=t.slice(o*-1);return e+o>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-n.length),afterMenu:n}}var al=p(()=>{"use strict"});var ll={};j(ll,{CancelablePromise:()=>qn,CanceledPromiseError:()=>Yt,cancelable:()=>jo});var Yt,qn,jo,Zn=p(()=>{"use strict";Yt=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},qn=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new Yt("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new Yt("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},jo=t=>new qn((e,r)=>t.then(e).catch(r))});var cl={};j(cl,{customElement:()=>Vi,dateProperty:()=>oS,isNumber:()=>pf,jsonProperty:()=>pe,numberProperty:()=>Lt,optionalNumberProperty:()=>rS});function pe(t,e){return h({type:Object,converter:{fromAttribute:r=>{if(r==null)return ht(t);try{return JSON.parse(r)}catch{return ht(t)}},toAttribute:r=>JSON.stringify(r)},hasChanged:mt,...e??{}})}function rS(t){return Lt(t)}function Lt(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,s=(o=t?.max)!==null&&o!==void 0?o:1/0;return pf(e)?gr(n,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function pf(t){return!isNaN(parseFloat(t))}function oS(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 Vi,so=p(()=>{"use strict";q();tt();Vi=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});var hl={};j(hl,{applyMixinOnce:()=>Re,customElements:()=>B,dateReviver:()=>nS,deepCopy:()=>ht,deepEqual:()=>Le,delay:()=>Qn,eventPathContainsMatchingElement:()=>dl,everyDeep:()=>iS,flatDeep:()=>gt,forEachDeep:()=>uf,getComposedPathTo:()=>ul,groupBy:()=>aS,hasChanged:()=>mt,ignoreComposingEvents:()=>Mr,last:()=>pl,minmax:()=>gr,parseDate:()=>hf,randomId:()=>fl,someDeep:()=>ff,unslotText:()=>Yn,waitFor:()=>Nr,waitUntil:()=>Wi});async function Wi(t,e=10,r=2e4){await Nr(async()=>await t()||void 0,e,r)}async function Nr(t,e=10,r=2e4){let o=await t(),n=performance.now(),s=n;for(;o==null&&(!r||s-n<r);)await Qn(e),o=await t(),s=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function gt(t,e){return t.flatMap(r=>[r,...gt(e(r),e)])}function uf(t,e,r){let o=(n,s)=>{var a;for(let l=0;l<n.length;l++){let d=n[l];if(!(((a=r(d,l,n,s))!==null&&a!==void 0?a:!0)&&o(e(d),[...s,d])))return!1}return!0};o(t,[])}function ff(t,e,r){let o=!1;return uf(t,e,(n,s,a,l)=>(o=!!r(n,s,a,l),!o)),o}function iS(t,e,r){return!ff(t,e,(o,n,s,a)=>!r(o,n,s,a))}function nS(...t){return(e,r)=>t.includes(e)?hf(r):r}function hf(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 sS(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;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!Le(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(!Le(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 n=a=>Object.keys(a).filter(l=>a[l]!=null),s=n(t);if(r=s.length,r!==n(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=r;o--!==0;){let a=s[o];if(!Le(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Le(t,e){try{return sS(t,e)}catch{return!1}}function mt(t,e){return!Le(t,e)}function dl(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(s=>n.matches(s)))return!0}}return!1}function gr(t,e,r){return Math.min(Math.max(t,e),r)}function pl(t){return t[t.length-1]}function Yn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Yn(e)).join(""):t?.textContent||""}function ul(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 ht(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function fl(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Re(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let n=e(o);return n[t]=!0,n}}function Mr(){return function(t,e,r){let o=r.value;r.value=function(n,...s){if(n.isComposing||n.keyCode===229){n.stopPropagation();return}return o.apply(this,[n].concat(s))}}}function B(t){for(let[e,r]of Object.entries(t))Vi(e)(r)}function aS(t,e){var r,o;let n=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((r=s[o=n(a)])!==null&&r!==void 0?r:s[o]=[]).push(a);return s}var Qn,tt=p(()=>{"use strict";so();Qn=t=>new Promise(e=>setTimeout(e,t))});var yl={};j(yl,{FtNotificationEvent:()=>Gi,PostResizeEvent:()=>gl,PreResizeEvent:()=>ml,WithEventBus:()=>yr,withEventBus:()=>Xn});var Gi,ml,gl,Xn,yr,Ko=p(()=>{"use strict";tt();Gi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ml=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},gl=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Xn=Re(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)}}}),yr=class extends Xn(Object){}});var bl={};j(bl,{CacheRegistry:()=>Xt,ClearCacheEvent:()=>ji});var ji,Xt,xl=p(()=>{"use strict";Zn();Ko();ji=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Xt=class extends yr{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var n;let s=this.content[e],a=(n=s?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...s,loader:r,final:o,status:a}}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 ji(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new ji([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,s="RESOLVED";this.content[e]={loader:n,final:o,status:s,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=jo(r()),n.promise.then(s=>(n.status="RESOLVED",n.value=s,o!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),o)),s)).catch(s=>{var a;throw!((a=n.promise)===null||a===void 0)&&a.isCanceled||(n.status="ERROR",n.error=s),s})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,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 Sl={};j(Sl,{accessBreadcrumb:()=>lS,accessResult:()=>Tt,accessResultId:()=>Jn,accessResultUrl:()=>vl});function Tt(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 Jn(t){var e,r,o,n,s,a,l,d,f;return(d=(a=(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:(s=t?.document)===null||s===void 0?void 0:s.documentId)!==null&&a!==void 0?a:(l=t?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function vl(t){var e,r,o,n,s,a,l,d,f;return(d=(a=(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:(s=t?.document)===null||s===void 0?void 0:s.viewerUrl)!==null&&a!==void 0?a:(l=t?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function lS(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 es=p(()=>{"use strict"});var Ol={};j(Ol,{ClusteringHelper:()=>El,formatHierarchicalValues:()=>Cl});function Cl(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var El,wl=p(()=>{"use strict";es();El=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static findResultWithMetadataValue(e,r,o){return e?.find(n=>{var s;return((s=this.extractResultMetadata({result:n}).find(a=>a.key==r))===null||s===void 0?void 0:s.value)==o})}static extractResultMetadata(e){var r,o;let n=(o=(r=Tt(e.result))===null||r===void 0?void 0:r.metadata)!==null&&o!==void 0?o:[];return e.key==null?t.flattenMetadata(n,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(n.find(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,r,o)).filter(s=>s!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let s=[],a=[];return e.hierarchicalValues.forEach(l=>{s.push(Cl(l)),a.push(Cl(l,r))}),{key:e.key,label:e.label,value:s.join(", "),displayValue:a.join(", "),displayTooltipValue:s.join(", ")}}else{let s=e.values.join(", "),a=e.values.map(l=>o?o(l):l).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,o="No value",n,s){var a,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),f=(a=d?.label)!==null&&a!==void 0?a:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(m=>t.extractResultMetadata({result:m,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:s})).map(m=>m??{key:e,label:f,value:void 0,displayValue:o}).filter(m=>m.value!=d?.value).filter((m,b,C)=>C.findIndex(A=>A.value===m.value)===b).map(m=>({result:this.findBestResultForMetadataValue(e,m.value),metadata:m})).sort((m,b)=>this.compareMetadata(m.metadata.value,b.metadata.value,e,r))}compareMetadata(e,r,o,n){if(e==null)return-1;if(r==null)return 1;let s=this.getMetadataDescriptor(o),a=s?.sortRule||"NONE",l=s?.reverseSort||!1;if(a=="ALPHABET"||a=="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 f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,l=-1;for(let d of o){let f=this.countMatchingMetadata(d,s);if(f>l&&(l=f,a=d,f===s.length))break}return a}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(n=>n.key===o.key&&n.value===o.value)).length}}});var Rl={};j(Rl,{Debouncer:()=>ae});var ae,ts=p(()=>{"use strict";ae=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),s=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let a of o)try{await a()}catch(l){n(l);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});function w(t,e){return $r(`${t.name}: ${e}`)}var $r,i,ee=p(()=>{T();$r=t=>typeof t=="string"?Xr(t):t,i=class{static create(e,r,o,n){let s=l=>$r(l??n),a=O`var(${$r(e)}, ${s(n)})`;return a.name=e,a.description=r,a.category=o,a.defaultValue=n,a.defaultCssValue=s,a.set=l=>w(a,l??s(n)),a.get=l=>O`var(${$r(e)}, ${s(l)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>n,a}static extend(e,r,o,n){let s=l=>o.get(l??n),a=O`var(${$r(e)}, ${s(n)})`;return a.name=e,a.description=r,a.category=o.category,a.fallbackVariable=o,a.defaultValue=n,a.defaultCssValue=s,a.set=l=>w(a,l??s(n)),a.get=l=>O`var(${$r(e)}, ${s(l)})`,a.breadcrumb=()=>[o.name,...o.breadcrumb()],a.lastResortDefaultValue=()=>n??o.lastResortDefaultValue(),a}static external(e,r){let o=s=>e.defaultCssValue(s),n=O`var(${$r(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=s=>e.set(s),n.get=s=>O`var(${$r(e.name)}, ${o(s)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,mf,gf,yf,bf,xf,vf,Sf,Cf,Ef,Of,wf,Rf,Af,_f,kf,Lf,cS,dS,re=p(()=>{ee();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.5rem"),iconSize2:i.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:i.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:i.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:i.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:i.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:i.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:i.create("--ftds-opacity-0","","NUMBER","0"),opacity4:i.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:i.create("--ftds-opacity-6","","NUMBER","0.06"),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)")},mf={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")},gf={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")},yf={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")},bf={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")},xf={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")},vf={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")},Sf={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")},Cf={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")},Ef={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")},Of={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")},wf={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")},Rf={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")},Af={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")},_f={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")},kf={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")},Lf={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")},cS={display:mf,"title-1":gf,"title-2":yf,"title-3":bf,"body-1-regular":xf,"body-1-medium":vf,"body-1-semibold":Sf,"body-2-regular":Cf,"body-2-medium":Ef,"body-2-medium-underline":Of,"body-2-semibold":wf,"caption-1-medium":Rf,"caption-1-semibold":Af,"caption-2-medium":_f,"caption-2-semibold":kf,"caption-2-bold":Lf},dS=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"]});var u,ce=p(()=>{ee();re();u={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 pS,Tf=p(()=>{ee();re();ce();pS={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","",u.backgroundActionPrimary),primaryBrandColor:i.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:i.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:i.extend("--ftds-button-primary-brand-state-layer-color","",u.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","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:i.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:i.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:i.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:i.extend("--ftds-button-tertiary-brand-state-layer-color","",u.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","",u.contentInfoPrimary),tertiaryInfoIconColor:i.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:i.extend("--ftds-button-tertiary-info-state-layer-color","",u.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","",u.contentSuccessPrimary),tertiarySuccessIconColor:i.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:i.extend("--ftds-button-tertiary-success-state-layer-color","",u.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","",u.contentWarningPrimary),tertiaryWarningIconColor:i.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:i.extend("--ftds-button-tertiary-warning-state-layer-color","",u.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","",u.contentErrorPrimary),tertiaryErrorIconColor:i.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:i.extend("--ftds-button-tertiary-error-state-layer-color","",u.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","",u.contentGlobalSecondary),tertiaryNeutralColor:i.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:i.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.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","",u.contentActionPrimary),secondaryBrandIconColor:i.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:i.extend("--ftds-button-secondary-brand-state-layer-color","",u.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","",u.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","",u.contentGlobalSecondary),secondaryNeutralIconColor:i.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:i.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:i.extend("--ftds-button-secondary-neutral-border-color","",u.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","",u.borderInfoPrimary),secondaryInfoColor:i.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:i.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:i.extend("--ftds-button-secondary-info-state-layer-color","",u.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","",u.borderSuccessPrimary),secondarySuccessColor:i.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:i.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:i.extend("--ftds-button-secondary-success-state-layer-color","",u.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","",u.borderWarningPrimary),secondaryWarningColor:i.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:i.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:i.extend("--ftds-button-secondary-warning-state-layer-color","",u.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","",u.contentErrorPrimary),secondaryErrorColor:i.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:i.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:i.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)}});var uS,If=p(()=>{ee();re();ce();uS={borderRadius:i.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:i.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:i.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:i.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:i.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:i.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:i.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:i.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:i.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:i.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:i.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:i.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:i.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:i.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:i.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:i.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:i.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:i.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:i.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:i.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:i.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:i.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:i.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:i.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:i.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:i.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:i.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:i.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:i.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:i.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:i.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:i.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:i.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:i.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:i.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:i.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:i.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:i.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:i.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:i.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:i.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:i.create("--ftds-card-internal-border-width","","SIZE","1px")}});var fS,Pf=p(()=>{ee();re();ce();fS={borderRadius:i.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:i.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:i.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:i.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:i.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize4),slotHorizontalPadding:i.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:i.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:i.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:i.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)}});var hS,Nf=p(()=>{ee();re();ce();hS={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","",u.borderGlobalSubtle),loadMoreIconColor:i.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:i.extend("--ftds-tree-list-load-more-label-color","",u.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","",u.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","",u.borderGlobalSubtle),nodeUnselectedIconColor:i.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:i.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:i.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:i.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:i.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:i.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:i.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:i.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:i.extend("--ftds-tree-list-node-selected-counter-color","",u.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","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:i.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:i.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:i.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.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","",u.contentGlobalPrimary),headerSectionCounterColor:i.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:i.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:i.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:i.extend("--ftds-tree-list-list-container-border-color","",u.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","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:i.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)}});var mS,Mf=p(()=>{ee();re();ce();mS={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","",u.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:i.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:i.extend("--ftds-checkbox-checked-icon-color","",u.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","",u.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","",u.borderErrorPrimary),errorStateLayerColor:i.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:i.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:i.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:i.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:i.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)}});var gS,$f=p(()=>{ee();re();ce();gS={circleSize:i.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:i.create("--ftds-radio-border-width","","SIZE","2px"),color:i.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:i.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:i.extend("--ftds-radio-selected-state-layer-color","",u.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","",u.borderInputPrimary),unselectedBorderColor:i.extend("--ftds-radio-unselected-border-color","",u.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","",u.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 yS,Df=p(()=>{ee();re();ce();yS={headerRowBorderWidth:i.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:i.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:i.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:i.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:i.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:i.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:i.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:i.extend("--ftds-table-data-row-color","",u.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","",u.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","",u.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 bS,Ff=p(()=>{ee();re();ce();bS={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","",u.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","",u.backgroundGlobalOnSurface),neutralOffBorderColor:i.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:i.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:i.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.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","",u.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","",u.backgroundGlobalOnSurface),neutralOnBorderColor:i.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:i.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:i.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:i.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.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 xS,Bf=p(()=>{ee();re();ce();xS={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","",u.backgroundGlobalOnSurface),neutralColor:i.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:i.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:i.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:i.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)}});var vS,Uf=p(()=>{ee();re();ce();vS={horizontalGap:i.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:i.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:i.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:i.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:i.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:i.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:i.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:i.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:i.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:i.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:i.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)}});var SS,zf=p(()=>{ee();re();ce();SS={brandHoverOpacity:i.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:i.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:i.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:i.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:i.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:i.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:i.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:i.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:i.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:i.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:i.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:i.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:i.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:i.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:i.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:i.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:i.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:i.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:i.extend("--ftds-link-horizontal-gap","",c.spacing1)}});var CS,Hf=p(()=>{ee();re();ce();CS={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","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)}});var ES,Vf=p(()=>{ee();re();ce();ES={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","",u.contentGlobalOnColor),backgroundColor:i.extend("--ftds-badge-background-color","",u.contentActionPrimary)}});var OS,Wf=p(()=>{ee();re();ce();OS={horizontalGap:i.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:i.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:i.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:i.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var wS,Gf=p(()=>{ee();re();ce();wS={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","",u.contentGlobalPrimary),parentSubtitleColor:i.extend("--ftds-page-header-parent-subtitle-color","",u.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","",u.borderGlobalSubtle),bottomBorderWidth:i.create("--ftds-page-header-bottom-border-width","","SIZE","1px")}});var RS,jf=p(()=>{ee();re();ce();RS={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","",u.borderGlobalSubtle),topBorderWidth:i.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:i.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)}});var AS,Kf=p(()=>{ee();re();AS={contentHorizontalPadding:i.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:i.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)}});var _S,qf=p(()=>{ee();re();ce();_S={smallContainerTargetWidth:i.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:i.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:i.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:i.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:i.extend("--ftds-modal-header-leading-icon-color","",u.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"),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","",u.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),borderRadius:i.extend("--ftds-modal-border-radius","",c.borderRadiusM)}});var kS,Zf=p(()=>{ee();re();ce();kS={grabberIconSize:i.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize3),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","",u.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","",u.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","",u.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","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:i.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.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","",u.borderGlobalPrimary),backgroundColor:i.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)}});var LS,Qf=p(()=>{ee();re();ce();LS={overlayOpacity:i.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:i.extend("--ftds-drawer-body-color","",u.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","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ftds-drawer-header-trailing-icon-color","",u.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","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:i.extend("--ftds-drawer-buttons-bar-color","",u.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 TS,Yf=p(()=>{ee();re();ce();TS={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","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:i.extend("--ftds-tabs-off-border-bottom-color","",u.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","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ftds-tabs-on-active-tab-indicator-color","",u.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","",u.borderActionFocusRing),mainIconIconSize:i.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:i.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)}});var IS,Xf=p(()=>{ee();re();ce();IS={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","",u.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:i.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:i.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-text-input-warning-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)}});var PS,Jf=p(()=>{ee();re();ce();PS={backgroundColor:i.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:i.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:i.extend("--ftds-text-area-focus-focus-ring-color","",u.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 NS,eh=p(()=>{ee();re();ce();NS={height:i.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:i.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:i.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:i.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:i.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:i.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:i.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:i.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),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","",u.backgroundGlobalOnSurface),shadow:i.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:i.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:i.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:i.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:i.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:i.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:i.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:i.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:i.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:i.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:i.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:i.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:i.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:i.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:i.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:i.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:i.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:i.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:i.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:i.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)}});var MS,th=p(()=>{ee();re();ce();MS={menuVerticalGap:i.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:i.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:i.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:i.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:i.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:i.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:i.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:i.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:i.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:i.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:i.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:i.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:i.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:i.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:i.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:i.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:i.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:i.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)}});var $S,rh=p(()=>{ee();re();ce();$S={backgroundColor:i.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:i.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:i.extend("--ftds-popover-body-color","",u.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"),minWidth:i.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:i.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:i.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:i.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:i.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:i.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:i.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:i.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)}});var DS,oh=p(()=>{ee();re();ce();DS={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","",u.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","",u.contentGlobalPrimary),stateLayerColor:i.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:i.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:i.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:i.extend("--ftds-collapsible-icon-size","",c.iconSize3)}});var FS,ih=p(()=>{ee();re();ce();FS={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","",u.backgroundGlobalSurface),groupBorderColor:i.extend("--ftds-switch-group-border-color","",u.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","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-switch-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-switch-on-state-layer-color","",u.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","",u.borderActionFocusRing),optionBorderRadius:i.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)}});var BS,nh=p(()=>{ee();re();BS={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 US,sh=p(()=>{ee();re();US={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 zS,ah=p(()=>{ee();re();ce();zS={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","",u.backgroundInfoSubtle),infoBorderColor:i.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:i.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:i.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:i.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:i.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:i.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:i.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:i.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:i.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:i.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:i.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-notice-success-icon-color","",u.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 HS,lh=p(()=>{ee();re();ce();HS={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","",u.contentGlobalSubtle),offIconColor:i.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-toggle-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:i.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:i.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:i.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:i.extend("--ftds-toggle-gap","",c.spacing3)}});var VS,ch=p(()=>{ee();re();ce();VS={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","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-notification-error-border-color","",u.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 WS,dh=p(()=>{ee();re();ce();WS={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","",u.contentGlobalOnColor),backgroundColor:i.extend("--ftds-tooltip-background-color","",u.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 GS,ph=p(()=>{ee();re();GS={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 uh=p(()=>{re();ce();Tf();If();Pf();Nf();Mf();$f();Df();Ff();Bf();Uf();zf();Hf();Vf();Wf();Gf();jf();Kf();qf();Zf();Qf();Yf();Xf();Jf();eh();th();rh();oh();ih();nh();sh();ah();lh();ch();dh();ph()});function Al(t){return`ftds--family-${t}`}function _l(t){return`ftds--size-${t}`}var Ki,qi,fh=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ki||(Ki={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(qi||(qi={}))});var qo=p(()=>{ee();uh();fh()});var kl={};j(kl,{DesignSystemFamily:()=>Ki,DesignSystemSize:()=>qi,FtCssVariableFactory:()=>i,badge:()=>ES,banner:()=>CS,button:()=>pS,card:()=>uS,chart:()=>BS,checkbox:()=>mS,chip:()=>xS,chipChoice:()=>bS,chipGroup:()=>vS,collapsible:()=>DS,combobox:()=>MS,dateRangePicker:()=>GS,drawer:()=>LS,eventCard:()=>fS,floatingMenu:()=>NS,foundation:()=>c,link:()=>SS,modal:()=>_S,notice:()=>zS,notification:()=>VS,pageDesigner:()=>US,pageFooter:()=>RS,pageHeader:()=>wS,pageLayout:()=>AS,popover:()=>$S,radio:()=>gS,reorderableList:()=>kS,resolveFamilyClass:()=>Al,resolveSizeClass:()=>_l,semantic:()=>u,setVariable:()=>w,switch_:()=>FS,table:()=>yS,tabs:()=>TS,textArea:()=>PS,textInput:()=>IS,titleBreadcrumb:()=>OS,toggle:()=>HS,tooltip:()=>WS,treeList:()=>hS,typographies:()=>cS,typographyBody1Medium:()=>vf,typographyBody1Regular:()=>xf,typographyBody1Semibold:()=>Sf,typographyBody2Medium:()=>Ef,typographyBody2MediumUnderline:()=>Of,typographyBody2Regular:()=>Cf,typographyBody2Semibold:()=>wf,typographyCaption1Medium:()=>Rf,typographyCaption1Semibold:()=>Af,typographyCaption2Bold:()=>Lf,typographyCaption2Medium:()=>_f,typographyCaption2Semibold:()=>kf,typographyDisplay:()=>mf,typographyTitle1:()=>gf,typographyTitle2:()=>yf,typographyTitle3:()=>bf,typographyVariants:()=>dS});var rs=p(()=>{"use strict";qo()});var Ll={};j(Ll,{designSystemVariables:()=>x});var x,Tl=p(()=>{"use strict";rs();x={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 Il={};j(Il,{DynamicImporter:()=>os,dynamicImporter:()=>jS});var os,jS,Pl=p(()=>{"use strict";os=class{async import(e){if(e)return import(e)}},jS=new os});function gh(t,e,r){return Jt(t,ao(e,r))}function Zo(t,e){return typeof t=="function"?t(e):t}function lo(t){return t.split("-")[0]}function tr(t){return t.split("-")[1]}function $l(t){return t==="x"?"y":"x"}function Dl(t){return t==="y"?"height":"width"}function Qo(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Fl(t){return $l(Qo(t))}function yh(t,e,r){r===void 0&&(r=!1);let o=tr(t),n=Fl(t),s=Dl(n),a=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=Nl(a)),[a,Nl(a)]}function bh(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Nl(t){let e=lo(t);return KS[e]+t.slice(e.length)}function qS(t){var e,r,o,n;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(o=t.bottom)!=null?o:0,left:(n=t.left)!=null?n:0}}function xh(t){return typeof t!="number"?qS(t):{top:t,right:t,bottom:t,left:t}}function co(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 mh,hh,Ml,ao,Jt,Zi,er,KS,is=p(()=>{mh=["top","right","bottom","left"],hh=["start","end"],Ml=mh.reduce((t,e)=>t.concat(e,e+"-"+hh[0],e+"-"+hh[1]),[]),ao=Math.min,Jt=Math.max,Zi=Math.round,er=t=>({x:t,y:t}),KS={left:"right",right:"left",bottom:"top",top:"bottom"}});function vh(t,e,r){let{reference:o,floating:n}=t,s=Qo(e),a=Fl(e),l=Dl(a),d=lo(e),f=s==="y",g=o.x+o.width/2-n.width/2,m=o.y+o.height/2-n.height/2,b=o[l]/2-n[l]/2,C;switch(d){case"top":C={x:g,y:o.y-n.height};break;case"bottom":C={x:g,y:o.y+o.height};break;case"right":C={x:o.x+o.width,y:m};break;case"left":C={x:o.x-n.width,y:m};break;default:C={x:o.x,y:o.y}}let A=tr(e);return A&&(C[a]+=b*(A==="end"?1:-1)*(r&&f?-1:1)),C}async function Sh(t,e){var r;e===void 0&&(e={});let{x:o,y:n,platform:s,rects:a,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:b=!1,padding:C=0}=Zo(e,t),A=xh(C),_=l[b?m==="floating"?"reference":"floating":m],D=co(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(_)))==null||r?_:_.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:f,rootBoundary:g,strategy:d})),te=m==="floating"?{x:o,y:n,width:a.floating.width,height:a.floating.height}:a.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),S=await(s.isElement==null?void 0:s.isElement(v))&&await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1},R=co(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:te,offsetParent:v,strategy:d}):te);return{top:(D.top-R.top+A.top)/S.y,bottom:(R.bottom-D.bottom+A.bottom)/S.y,left:(D.left-R.left+A.left)/S.x,right:(R.right-D.right+A.right)/S.x}}function QS(t,e,r){return(t?[...r.filter(n=>tr(n)===t),...r.filter(n=>tr(n)!==t)]:r.filter(n=>lo(n)===n)).filter(n=>t?tr(n)===t||(e?bh(n)!==n:!1):!0)}async function XS(t,e){let{placement:r,platform:o,elements:n}=t,s=await(o.isRTL==null?void 0:o.isRTL(n.floating)),a=lo(r),l=tr(r),d=Qo(r)==="y",f=YS.has(a)?-1:1,g=s&&d?-1:1,m=Zo(e,t),{mainAxis:b,crossAxis:C,alignmentAxis:A}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof A=="number"&&(C=l==="end"?A*-1:A),d?{x:C*g,y:b*f}:{x:b*f,y:C*g}}var ZS,Ch,Eh,YS,Oh,wh,Rh,Ah=p(()=>{is();is();ZS=50,Ch=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:s=[],platform:a}=r,l=a.detectOverflow?a:{...a,detectOverflow:Sh},d=await(a.isRTL==null?void 0:a.isRTL(e)),f=await a.getElementRects({reference:t,floating:e,strategy:n}),{x:g,y:m}=vh(f,o,d),b=o,C=0,A={};for(let P=0;P<s.length;P++){let _=s[P];if(!_)continue;let{name:D,fn:te}=_,{x:v,y:S,data:R,reset:z}=await te({x:g,y:m,initialPlacement:o,placement:b,strategy:n,middlewareData:A,rects:f,platform:l,elements:{reference:t,floating:e}});g=v??g,m=S??m,A[D]={...A[D],...R},z&&C<ZS&&(C++,typeof z=="object"&&(z.placement&&(b=z.placement),z.rects&&(f=z.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:n}):z.rects),{x:g,y:m}=vh(f,b,d)),P=-1)}return{x:g,y:m,placement:b,strategy:n,middlewareData:A}};Eh=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,n;let{rects:s,middlewareData:a,placement:l,platform:d,elements:f}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:b=Ml,autoAlignment:C=!0,...A}=Zo(t,e),P=m!==void 0||b===Ml?QS(m||null,C,b):b,_=((r=a.autoPlacement)==null?void 0:r.index)||0,D=P[_];if(D==null)return{};if(l!==D)return{reset:{placement:P[0]}};let te=await d.detectOverflow(e,A),v=yh(D,s,await(d.isRTL==null?void 0:d.isRTL(f.floating))),S=[te[lo(D)],te[v[0]],te[v[1]]],R=[...((o=a.autoPlacement)==null?void 0:o.overflows)||[],{placement:D,overflows:S}],z=P[_+1];if(z)return{data:{index:_+1,overflows:R},reset:{placement:z}};let V=R.map(F=>{let Q=tr(F.placement);return[F.placement,Q&&g?F.overflows.slice(0,2).reduce((we,Zt)=>we+Zt,0):F.overflows[0],F.overflows]}).sort((F,Q)=>F[1]-Q[1]),se=((n=V.filter(F=>F[2].slice(0,tr(F[0])?2:3).every(Q=>Q<=0))[0])==null?void 0:n[0])||V[0][0];return se!==l?{data:{index:_+1,overflows:R},reset:{placement:se}}:{}}}},YS=new Set(["left","top"]);Oh=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:n,y:s,placement:a,middlewareData:l}=e,d=await XS(e,t);return a===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:n+d.x,y:s+d.y,data:{...d,placement:a}}}}},wh=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:n,platform:s}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:d={fn:te=>{let{x:v,y:S}=te;return{x:v,y:S}}},...f}=Zo(t,e),g={x:r,y:o},m=await s.detectOverflow(e,f),b=Qo(n),C=$l(b),A=g[C],P=g[b],_=(te,v)=>gh(v+m[te==="y"?"top":"left"],v,v-m[te==="y"?"bottom":"right"]);a&&(A=_(C,A)),l&&(P=_(b,P));let D=d.fn({...e,[C]:A,[b]:P});return{...D,data:{x:D.x-r,y:D.y-o,enabled:{[C]:a,[b]:l}}}}}},Rh=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:o,platform:n,elements:s}=e,{apply:a=()=>{},...l}=Zo(t,e),d=await n.detectOverflow(e,l),f=lo(r),g=tr(r),m=Qo(r)==="y",{width:b,height:C}=o.floating,A,P;f==="top"||f==="bottom"?(A=f,P=g===(await(n.isRTL==null?void 0:n.isRTL(s.floating))?"start":"end")?"left":"right"):(P=f,A=g==="end"?"top":"bottom");let _=C-d.top-d.bottom,D=b-d.left-d.right,te=ao(C-d[A],_),v=ao(b-d[P],D),S=e.middlewareData.shift,R=!S,z=te,V=v;S!=null&&S.enabled.x&&(V=D),S!=null&&S.enabled.y&&(z=_),R&&!g&&(m?V=b-2*Jt(d.left,d.right):z=C-2*Jt(d.top,d.bottom)),await a({...e,availableWidth:V,availableHeight:z});let U=await n.getDimensions(s.floating);return b!==U.width||C!==U.height?{reset:{rects:!0}}:{}}}}});function ss(){return typeof window<"u"}function uo(t){return kh(t)?(t.nodeName||"").toLowerCase():"#document"}function lt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function br(t){var e;return(e=(kh(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function kh(t){return ss()?t instanceof Node||t instanceof lt(t).Node:!1}function Ut(t){return ss()?t instanceof Element||t instanceof lt(t).Element:!1}function xr(t){return ss()?t instanceof HTMLElement||t instanceof lt(t).HTMLElement:!1}function _h(t){return!ss()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof lt(t).ShadowRoot}function Qi(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=zt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function Lh(t){return/^(table|td|th)$/.test(uo(t))}function Yi(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}function Yo(t){let e=Ut(t)?zt(t):t;return po(e.transform)||po(e.translate)||po(e.scale)||po(e.rotate)||po(e.perspective)||!as()&&(po(e.backdropFilter)||po(e.filter))||JS.test(e.willChange||"")||eC.test(e.contain||"")}function Th(t){let e=Dr(t);for(;xr(e)&&!Xo(e);){if(Yo(e))return e;if(Yi(e))return null;e=Dr(e)}return null}function as(){return Bl==null&&(Bl=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Bl}function Xo(t){return/^(html|body|#document)$/.test(uo(t))}function zt(t){return lt(t).getComputedStyle(t)}function Xi(t){return Ut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Dr(t){if(uo(t)==="html")return t;let e=t.assignedSlot||t.parentNode||_h(t)&&t.host||br(t);return _h(e)?e.host:e}function Ih(t){let e=Dr(t);return Xo(e)?(t.ownerDocument||t).body:xr(e)&&Qi(e)?e:Ih(e)}function ns(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Ih(t),s=n===((o=t.ownerDocument)==null?void 0:o.body),a=lt(n);if(s){let l=ls(a);return e.concat(a,a.visualViewport||[],Qi(n)?n:[],l&&r?ns(l):[])}else return e.concat(n,ns(n,[],r))}function ls(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}var JS,eC,po,Bl,Ul=p(()=>{JS=/transform|translate|scale|rotate|perspective|filter/,eC=/paint|layout|strict|content/,po=t=>!!t&&t!=="none"});function Mh(t){let e=zt(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=xr(t),s=n?t.offsetWidth:r,a=n?t.offsetHeight:o,l=Zi(r)!==s||Zi(o)!==a;return l&&(r=s,o=a),{width:r,height:o,$:l}}function $h(t){return Ut(t)?t:t.contextElement}function Jo(t){let e=$h(t);if(!xr(e))return er(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:s}=Mh(e),a=(s?Zi(r.width):r.width)/o,l=(s?Zi(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}function Dh(t){let e=lt(t);return!as()||!e.visualViewport?tC:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function rC(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===lt(t)}function Ji(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),s=$h(t),a=er(1);e&&(o?Ut(o)&&(a=Jo(o)):a=Jo(t));let l=rC(s,r,o)?Dh(s):er(0),d=(n.left+l.x)/a.x,f=(n.top+l.y)/a.y,g=n.width/a.x,m=n.height/a.y;if(s&&o){let b=lt(s),C=Ut(o)?lt(o):o,A=b,P=ls(A);for(;P&&C!==A;){let _=Jo(P),D=P.getBoundingClientRect(),te=zt(P),v=D.left+(P.clientLeft+parseFloat(te.paddingLeft))*_.x,S=D.top+(P.clientTop+parseFloat(te.paddingTop))*_.y;d*=_.x,f*=_.y,g*=_.x,m*=_.y,d+=v,f+=S,A=lt(P),P=ls(A)}}return co({width:g,height:m,x:d,y:f})}function cs(t,e){let r=Xi(t).scrollLeft;return e?e.left+r:Ji(br(t)).left+r}function Fh(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-cs(t,r),n=r.top+e.scrollTop;return{x:o,y:n}}function oC(t){let{elements:e,rect:r,offsetParent:o,strategy:n}=t,s=n==="fixed",a=br(o),l=e?Yi(e.floating):!1;if(o===a||l&&s)return r;let d={scrollLeft:0,scrollTop:0},f=er(1),g=er(0),m=xr(o);if((m||!s)&&((uo(o)!=="body"||Qi(a))&&(d=Xi(o)),m)){let C=Ji(o);f=Jo(o),g.x=C.x+o.clientLeft,g.y=C.y+o.clientTop}let b=a&&!m&&!s?Fh(a,d):er(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+g.x+b.x,y:r.y*f.y-d.scrollTop*f.y+g.y+b.y}}function iC(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function nC(t){let e=Xi(t),r=t.ownerDocument.body,o=Jt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),n=Jt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+cs(t),a=-e.scrollTop;return zt(r).direction==="rtl"&&(s+=Jt(t.clientWidth,r.clientWidth)-o),{width:o,height:n,x:s,y:a}}function aC(t,e,r){r===void 0&&(r="viewport");let o=r==="layoutViewport",n=lt(t),s=br(t),a=n.visualViewport,l=s.clientWidth,d=s.clientHeight,f=0,g=0;if(a){let b=!as()||e==="fixed";o?b||(f=-a.offsetLeft,g=-a.offsetTop):(l=a.width,d=a.height,b&&(f=a.offsetLeft,g=a.offsetTop))}if(cs(s)<=0){let b=s.ownerDocument,C=b.body,A=getComputedStyle(C),P=b.compatMode==="CSS1Compat"&&parseFloat(A.marginLeft)+parseFloat(A.marginRight)||0,_=Math.abs(s.clientWidth-C.clientWidth-P),D=getComputedStyle(s).scrollbarGutter==="stable both-edges"?_/2:_;D<=sC&&(l-=D)}return{width:l,height:d,x:f,y:g}}function lC(t,e){let r=Ji(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,s=Jo(t),a=t.clientWidth*s.x,l=t.clientHeight*s.y,d=n*s.x,f=o*s.y;return{width:a,height:l,x:d,y:f}}function Ph(t,e,r){let o;if(e==="viewport"||e==="layoutViewport")o=aC(t,r,e);else if(e==="document")o=nC(br(t));else if(Ut(e))o=lC(e,r);else{let n=Dh(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return co(o)}function cC(t,e){let r=e.get(t);if(r)return r;let o=ns(t,[],!1).filter(l=>Ut(l)&&uo(l)!=="body"),n=null,s=zt(t).position==="fixed",a=s?Dr(t):t;for(;Ut(a)&&!Xo(a);){let l=zt(a),d=Yo(a),f=n?n.position:s?"fixed":"";!d&&(f==="fixed"||f==="absolute"&&l.position==="static")?o=o.filter(m=>m!==a):n=l,a=Dr(a)}return e.set(t,o),o}function dC(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,a=[...r==="clippingAncestors"?Yi(e)?[]:cC(e,this._c):[].concat(r),o],l=Ph(e,a[0],n),d=l.top,f=l.right,g=l.bottom,m=l.left;for(let b=1;b<a.length;b++){let C=Ph(e,a[b],n);d=Jt(C.top,d),f=ao(C.right,f),g=ao(C.bottom,g),m=Jt(C.left,m)}return{width:f-m,height:g-d,x:m,y:d}}function pC(t){let{width:e,height:r}=Mh(t);return{width:e,height:r}}function uC(t,e,r){let o=xr(e),n=br(e),s=r==="fixed",a=Ji(t,!0,s,e),l={scrollLeft:0,scrollTop:0},d=er(0);if((o||!s)&&((uo(e)!=="body"||Qi(n))&&(l=Xi(e)),o)){let b=Ji(e,!0,s,e);d.x=b.x+e.clientLeft,d.y=b.y+e.clientTop}!o&&n&&(d.x=cs(n));let f=n&&!o&&!s?Fh(n,l):er(0),g=a.left+l.scrollLeft-d.x-f.x,m=a.top+l.scrollTop-d.y-f.y;return{x:g,y:m,width:a.width,height:a.height}}function zl(t){return zt(t).position==="static"}function Nh(t,e){if(!xr(t)||zt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return br(t)===r&&(r=r.ownerDocument.body),r}function Bh(t,e){let r=lt(t);if(Yi(t))return r;if(!xr(t)){let n=Dr(t);for(;n&&!Xo(n);){if(Ut(n)&&!zl(n))return n;n=Dr(n)}return r}let o=Nh(t,e);for(;o&&Lh(o)&&zl(o);)o=Nh(o,e);return o&&Xo(o)&&zl(o)&&!Yo(o)?r:o||Th(t)||r}function hC(t){return zt(t).direction==="rtl"}var tC,sC,fC,ei,Uh,Hl,zh,Hh,Vl,Vh=p(()=>{Ah();is();Ul();tC=er(0);sC=25;fC=async function(t){let e=this.getOffsetParent||Bh,r=this.getDimensions,o=await r(t.floating);return{reference:uC(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};ei={convertOffsetParentRelativeRectToViewportRelativeRect:oC,getDocumentElement:br,getClippingRect:dC,getOffsetParent:Bh,getElementRects:fC,getClientRects:iC,getDimensions:pC,getScale:Jo,isElement:Ut,isRTL:hC},Uh=Oh,Hl=Eh,zh=wh,Hh=Rh,Vl=(t,e,r)=>{let o=new Map,n=r??{},s={...ei,...n.platform,_c:o};return Ch(t,e,{...n,platform:s})}});function Gl(t){return mC(t)}function Wl(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function mC(t){for(let e=t;e;e=Wl(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Wl(t);e;e=Wl(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||Yo(r)||e.tagName==="BODY"))return e}return null}var Wh=p(()=>{Ul()});var ql={};j(ql,{computeOffsetAutoPosition:()=>Kl,computeOffsetPosition:()=>jl});async function jl(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},Vl(t,e,{strategy:o.strategy,platform:{...ei,getOffsetParent:n=>ei.getOffsetParent(n,Gl)},middleware:[zh({crossAxis:!0}),Hl({allowedPlacements:[o.placement]})]})}async function Kl(t,e,r,o,n,s,a){let l,d;return typeof r=="object"?(l=r.placement,o=r.allowedPlacements,n=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):l=r,Vl(t,e,{placement:l,strategy:n,platform:{...ei,getOffsetParent:f=>ei.getOffsetParent(f,Gl)},middleware:[Uh(a??4),Hl({allowedPlacements:o}),Hh({apply({availableHeight:f,availableWidth:g,elements:m}){typeof s=="string"&&(s=`var(${s})`),s?m.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${s})`:m.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?m.floating.style.maxWidth=`min(${Math.max(0,g)}px, ${d})`:m.floating.style.maxWidth=`${Math.max(0,g)}px`}})]})}var ds=p(()=>{"use strict";Vh();Wh()});var Zl={};j(Zl,{isSlotEmptyOrWithoutContent:()=>en});var en,Ql=p(()=>{"use strict";en=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 Yl={};j(Yl,{ScopedRegistryLitElement:()=>tn});var tn,ps=p(()=>{"use strict";T();Bn();so();tn=class extends _t{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Mi(o,e.elementStyles),o}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,o])=>this.defineScopedElement(r,o))}static defineScopedElement(e,r){Vi(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}}});var Jl={};j(Jl,{shadowQuerySelector:()=>Xl,shadowQuerySelectorAll:()=>gC});function Xl(t,e,...r){var o;let n=t.querySelector(e);for(let s of r)n=(o=n?.shadowRoot)===null||o===void 0?void 0:o.querySelector(s);return n}function gC(t,e,...r){let o=[...t.querySelectorAll(e)];for(let n of r)o=o.flatMap(s=>{var a,l;return[...(l=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return o}var us=p(()=>{"use strict"});var ec={};j(ec,{ExportpartsUpdatedEvent:()=>fo,FtLitElement:()=>$});var ti,qh,Gh,jh,Zh,Kh,fo,$,rn=p(()=>{"use strict";q();so();ts();ps();us();ti=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Gh=Symbol("constructorPrototype"),jh=Symbol("constructorName"),Zh=Symbol("exportpartsDebouncer"),Kh=Symbol("dynamicDependenciesLoaded"),fo=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};fo.eventName="exportparts-updated";$=class extends tn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[qh]=new ae(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[Zh].run(()=>{var n,s;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[jh]=this.constructor.name,this[Gh]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[jh]&&Object.setPrototypeOf(this,this[Gh])}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[Kh]||(r[Kh]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(fo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(fo.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 fo)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:n}=this.elementToFocus;if(o!=null){let s=[...n??[],o];r=Xl(this.shadowRoot,...s)}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(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(e){var r,o,n,s,a,l;let d=b=>b!=null&&b.trim().length>0,f=e.filter(d).map(b=>b.trim());if(f.length===0){this.exportparts=void 0;return}let g=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 C=(s=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&s!==void 0?s:[],A=(l=(a=b.getAttribute("exportparts"))===null||a===void 0?void 0:a.split(",").map(_=>_.split(":")[1]))!==null&&l!==void 0?l:[],P=[...C,...A].filter(d).map(_=>_.trim());for(let _ of P)g.add(_)}if(g.size===0){this.exportparts=void 0;return}let m=[...g.values()].flatMap(b=>f.map(C=>`${b}:${C}--${b}`));this.exportparts=[...this.part,...m].join(", ")}};qh=Zh;ti([h()],$.prototype,"exportpartsPrefix",void 0);ti([pe([])],$.prototype,"exportpartsPrefixes",void 0);ti([h({reflect:!0})],$.prototype,"exportparts",void 0);ti([h()],$.prototype,"customStylesheet",void 0);ti([h()],$.prototype,"elementToFocus",void 0);ti([L()],$.prototype,"useAdoptedStyleSheets",void 0)});var rc={};j(rc,{FtdsBase:()=>tc,toFtdsBase:()=>Yh});var Qh,Yh,tc,oc=p(()=>{"use strict";rn();q();qo();tt();Qh=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Yh=Re(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=qi.medium,this.family=Ki.neutral}getDesignSystemBaseClasses(){return{[Al(this.family)]:!0,[_l(this.size)]:!0}}}return Qh([h()],e.prototype,"size",void 0),Qh([h()],e.prototype,"family",void 0),e}),tc=class extends Yh($){}});var Xh={};var ic=p(()=>{"use strict"});var ho,Jh=p(()=>{ho=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 s=!1;return o.every(a=>n.call(e,a)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let n=r.filter(s=>s.contains(o)).length>0;r.indexOf(o)===-1&&!n&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let n;try{let s=e.contentWindow;if(n=s.document,!s||!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,s=null,a=()=>{if(!n){n=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",a),s=setTimeout(a,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 s=e.querySelectorAll("iframe"),a=s.length,l=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&n(l)};a||d(),s.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,g=>{r(f)&&(l++,o(g)),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),s=Node.DOCUMENT_POSITION_PRECEDING;if(n&s)if(r!==null){let a=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(a&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 s=!1,a=!1;return n.forEach((l,d)=>{l.val===o&&(s=d,a=l.handled)}),this.compareNodeIframe(e,r,o)?(s===!1&&!a?n.push({val:o,handled:!0}):s!==!1&&!a&&(n[s].handled=!0),!0):(s===!1&&n.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,n){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(r,o,n)})})}iterateThroughNodes(e,r,o,n,s){let a=this.createIterator(r,e,n),l=[],d=[],f,g,m=()=>({prevNode:g,node:f}=this.getIteratorNode(a),f);for(;m();)this.iframes&&this.forEachIframe(r,b=>this.checkIframeFilter(f,g,b,l),b=>{this.createInstanceOnIframe(b).forEachNode(e,C=>d.push(C),n)}),d.push(f);d.forEach(b=>{o(b)}),this.iframes&&this.handleOpenIframes(l,e,o,n),s()}forEachNode(e,r,o,n=()=>{}){let s=this.getContexts(),a=s.length;a||n(),s.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--a<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var on,em=p(()=>{Jh();on=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 ho(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 s in r)if(r.hasOwnProperty(s)){let a=r[s],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${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 s=n.charAt(o+1);return/[(|)\\]/.test(s)||s===""?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(s=>{o.every(a=>{if(a.indexOf(s)!==-1){if(n.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${r}`),`[${a}]`),n.push(a)}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,s=typeof o=="string"?[]:o.limiters,a="";switch(s.forEach(l=>{a+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return a="\\s"+(a||this.escapeStr(r)),`()([^${a}]*${e}[^${a}]*)`;case"exactly":return`(^|\\s${a})(${e})(?=$|\\s${a})`}}getSeparatedKeywords(e){let r=[];return e.forEach(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,s)=>n.start-s.start).forEach(n=>{let{start:s,end:a,valid:l}=this.callNoMatchOnInvalidRanges(n,o);l&&(n.start=s,n.length=a-s,r.push(n),o=a)}),r}callNoMatchOnInvalidRanges(e,r){let o,n,s=!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?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:n,valid:s}}checkWhitespaceRanges(e,r,o){let n,s=!0,a=o.length,l=r-a,d=parseInt(e.start,10)-l;return d=d>a?a:d,n=d+parseInt(e.length,10),n>a&&(n=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||n-d<0||d>a||n>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,n).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:s}}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 ho.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let n=this.opt.element?this.opt.element:"mark",s=e.splitText(r),a=s.splitText(o-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=s.textContent,s.parentNode.replaceChild(l,s),a}wrapRangeInMappedTextNode(e,r,o,n,s){e.nodes.every((a,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(a.node))return!1;let f=r-a.start,g=(o>a.end?a.end:o)-a.start,m=e.value.substr(0,a.start),b=e.value.substr(g+a.start);if(a.node=this.wrapRangeInTextNode(a.node,f,g),e.value=m+b,e.nodes.forEach((C,A)=>{A>=l&&(e.nodes[A].start>0&&A!==l&&(e.nodes[A].start-=g),e.nodes[A].end-=g)}),o-=g,s(a.node.previousSibling,a.start),o>a.end)r=a.end;else return!1}return!0})}wrapMatches(e,r,o,n,s){let a=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[a]!=="";){if(!o(f[a],d))continue;let g=f.index;if(a!==0)for(let m=1;m<a;m++)g+=f[m].length;d=this.wrapRangeInTextNode(d,g,g+f[a].length),n(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,o,n,s){let a=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[a]!=="";){let f=d.index;if(a!==0)for(let m=1;m<a;m++)f+=d[m].length;let g=f+d[a].length;this.wrapRangeInMappedTextNode(l,f,g,m=>o(d[a],m),(m,b)=>{e.lastIndex=b,n(m)})}s()})}wrapRangeFromIndex(e,r,o,n){this.getTextNodes(s=>{let a=s.value.length;e.forEach((l,d)=>{let{start:f,end:g,valid:m}=this.checkWhitespaceRanges(l,a,s.value);m&&this.wrapRangeInMappedTextNode(s,f,g,b=>r(b,l,s.value.substring(f,g),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",s=a=>{o++,this.opt.each(a)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(a,l)=>this.opt.filter(l,a,o),s,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,n="wrapMatches",{keywords:s,length:a}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let g=new RegExp(this.createRegExp(f),`gm${l}`),m=0;this.log(`Searching with expression "${g}"`),this[n](g,1,(b,C)=>this.opt.filter(C,f,o,m),b=>{m++,o++,this.opt.each(b)},()=>{m===0&&this.opt.noMatch(f),s[a-1]===f?this.opt.done(o):d(s[s.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),a===0?this.opt.done(o):d(s[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,(s,a,l,d)=>this.opt.filter(s,a,l,d),(s,a)=>{o++,this.opt.each(s,a)},()=>{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=ho.matches(o,r),s=this.matchesExclude(o);return!n||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function nc(t){let e=new on(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 tm=p(()=>{em()});var ac={};j(ac,{highlightHtml:()=>sc,highlightHtmlColorCssVariable:()=>rm,highlightHtmlStyles:()=>bC});function sc(t,e,r){var o,n;let s=t.getAttribute("data-highlight-html-query");if((s??"")!==(e??"")){let a=new yC(t);if(a.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=f=>{for(let g in r.attributes)f.setAttribute(g,r.attributes[g])}),a.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(f=>a.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var yC,rm,bC,lc=p(()=>{"use strict";T();qo();tm();yC=nc,rm=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),bC=O`
5
5
  .highlight-html-match {
6
- background: ${tm};
6
+ background: ${rm};
7
7
  }
8
- `});var cc={};j(cc,{noTextInputDefaultClearButton:()=>go,noTextSelect:()=>mo,safariEllipsisFix:()=>lc,wordWrap:()=>rn});var mo,rn,lc,go,dc=p(()=>{"use strict";L();mo=O`
8
+ `});var dc={};j(dc,{noTextInputDefaultClearButton:()=>go,noTextSelect:()=>mo,safariEllipsisFix:()=>cc,wordWrap:()=>nn});var mo,nn,cc,go,pc=p(()=>{"use strict";T();mo=O`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -14,7 +14,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
14
14
  -ms-user-select: none;
15
15
  user-select: none;
16
16
  }
17
- `,rn=O`
17
+ `,nn=O`
18
18
  .ft-word-wrap {
19
19
  white-space: normal;
20
20
  word-wrap: break-word;
@@ -26,7 +26,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,lc=O`
29
+ `,cc=O`
30
30
  .ft-safari-ellipsis-fix {
31
31
  margin-right: 0;
32
32
 
@@ -44,7 +44,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `});var rm={};var pc=p(()=>{"use strict"});var uc={};j(uc,{ParametrizedLabelResolver:()=>Fr});var Fr,fc=p(()=>{"use strict";Fr=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 bC,ue,xC,om=p(()=>{"use strict";tt();q();bC=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},ue=t=>{let e=t??{};return(r,o)=>{var n;let a={hasChanged:mt,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})}},xC=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)}});var on,hc=p(()=>{"use strict";on=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 ti(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ua=p(()=>{"use strict"});var nn,Br,yo,im,yt,nm=p(()=>{"use strict";en();ua();tt();nn=Symbol("internalReduxEventsUnsubscribers"),Br=Symbol("internalStoresUnsubscribers"),yo=Symbol("internalStores"),im=Re(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[yo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[yo].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[yo].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[yo].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[yo].delete(l)}setupStores(){this.unsubscribeFromStores(),this[yo].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 f=this.getStore(s.store);f&&(s.store?this[Br].has(s.store):this[Br].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[Br].set(s,l.subscribe(()=>this.updateFromStores())),this[nn].set(s,[]),ti(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,g)=>{if(typeof this[g]=="function"&&(!f.store||l.name===f.store)){let m=b=>this[g](b);l.addEventListener(f.eventName,m),this[nn].get(s).push(()=>l.removeEventListener(f.eventName,m))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Br].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Br].has(s)&&this[Br].get(s)(),this[Br].delete(s),(l=this[nn].get(s))===null||l===void 0||l.forEach(d=>d()),this[nn].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Br,r=yo,o=nn,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),yt=class extends im($){}});function Ue(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 ha(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function gc(t,e,r){if(typeof t!="function")throw new Error(Ue(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ue(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ue(1));return r(gc)(t,e)}let o=t,n=e,a=new Map,s=a,l=0,d=!1;function f(){s===a&&(s=new Map,a.forEach((_,D)=>{s.set(D,_)}))}function g(){if(d)throw new Error(Ue(3));return n}function m(_){if(typeof _!="function")throw new Error(Ue(4));if(d)throw new Error(Ue(5));let D=!0;f();let te=l++;return s.set(te,_),function(){if(D){if(d)throw new Error(Ue(6));D=!1,f(),s.delete(te),a=null}}}function b(_){if(!ha(_))throw new Error(Ue(7));if(typeof _.type>"u")throw new Error(Ue(8));if(typeof _.type!="string")throw new Error(Ue(17));if(d)throw new Error(Ue(9));try{d=!0,n=o(n,_)}finally{d=!1}return(a=s).forEach(te=>{te()}),_}function C(_){if(typeof _!="function")throw new Error(Ue(10));o=_,b({type:fa.REPLACE})}function A(){let _=m;return{subscribe(D){if(typeof D!="object"||D===null)throw new Error(Ue(11));function te(){let S=D;S.next&&S.next(g())}return te(),{unsubscribe:_(te)}},[am](){return this}}}return b({type:fa.INIT}),{dispatch:b,subscribe:m,getState:g,replaceReducer:C,[am]:A}}function CC(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:fa.INIT})>"u")throw new Error(Ue(12));if(typeof r(void 0,{type:fa.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ue(13))})}function sm(t){let e=Object.keys(t),r={};for(let s=0;s<e.length;s++){let l=e[s];typeof t[l]=="function"&&(r[l]=t[l])}let o=Object.keys(r),n,a;try{CC(r)}catch(s){a=s}return function(l={},d){if(a)throw a;let f=!1,g={};for(let m=0;m<o.length;m++){let b=o[m],C=r[b],A=l[b],P=C(A,d);if(typeof P>"u"){let _=d&&d.type;throw new Error(Ue(14))}g[b]=P,f=f||P!==A}return f=f||o.length!==Object.keys(l).length,f?g:l}}function an(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...o)=>e(r(...o)))}function lm(...t){return e=>(r,o)=>{let n=e(r,o),a=()=>{throw new Error(Ue(15))},s={getState:n.getState,dispatch:(d,...f)=>a(d,...f)},l=t.map(d=>d(s));return a=an(...l)(n.dispatch),{...n,dispatch:a}}}function cm(t){return ha(t)&&"type"in t&&typeof t.type=="string"}var vC,am,mc,SC,fa,yc=p(()=>{vC=typeof Symbol=="function"&&Symbol.observable||"@@observable",am=vC,mc=()=>Math.random().toString(36).substring(7).split("").join("."),SC={INIT:`@@redux/INIT${mc()}`,REPLACE:`@@redux/REPLACE${mc()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${mc()}`},fa=SC});function zt(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}function xt(t){return t?xm(t)||Ra(t)||!!t[dm]||!!t[ba]?.[dm]||Aa(t)||_a(t):!1}function xm(t){if(!t||!kc(t))return!1;let e=oi(t);if(e===null||e===bt[Oa])return!0;let r=bt.hasOwnProperty.call(e,ba)&&e[ba];if(r===Object)return!0;if(!ri(r))return!1;let o=pm.get(r);return o===void 0&&(o=Function.toString.call(r),pm.set(r,o)),o===EC}function wa(t,e,r=!0){dn(t)===0?(r?Reflect.ownKeys(t):bt.keys(t)).forEach(n=>{e(n,t[n],t)}):t.forEach((o,n)=>e(n,o,t))}function dn(t){let e=t[qe];return e?e.type_:Ra(t)?1:Aa(t)?2:_a(t)?3:0}function OC(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}function wC(t){let e=+t;return Number.isInteger(e)&&String(e)===t}function Ec(t,e){if(Aa(t))return new Map(t);if(_a(t))return new Set(t);if(Ra(t))return Array[Oa].slice.call(t);let r=xm(t);if(e===!0||e==="class_only"&&!r){let o=bt.getOwnPropertyDescriptors(t);delete o[qe];let n=Reflect.ownKeys(o);for(let a=0;a<n.length;a++){let s=n[a],l=o[s];l[ga]===!1&&(l[ga]=!0,l[Sc]=!0),(l.get||l.set)&&(o[s]={[Sc]:!0,[ga]:!0,[xa]:l[xa],[sn]:t[s]})}return bt.create(oi(t),o)}else{let o=oi(t);if(o!==null&&r)return{...t};let n=bt.create(o);return bt.assign(n,t)}}function Tc(t,e=!1){return ka(t)||rr(t)||!xt(t)||(dn(t)>1&&bt.defineProperties(t,{set:ma,add:ma,clear:ma,delete:ma}),bt.freeze(t),e&&wa(t,(r,o)=>{Tc(o,!0)},!1)),t}function RC(){zt(2)}function ka(t){return t===null||!kc(t)?!0:bt.isFrozen(t)}function bo(t){let e=vm[t];return e||zt(0,t),e}function hm(t,e){e&&(t.patchPlugin_=bo(Oc),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function wc(t){Rc(t),t.drafts_.forEach(_C),t.drafts_=null}function Rc(t){t===ln&&(ln=t.parent_)}function _C(t){let e=t[qe];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function gm(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[qe].modified_&&(wc(e),zt(4)),xt(t)&&(t=ym(e,t));let{patchPlugin_:n}=e;n&&n.generateReplacementPatches_(r[qe].base_,t,e)}else t=ym(e,r);return kC(e,t,!0),wc(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==bm?t:void 0}function ym(t,e){if(ka(e))return e;let r=e[qe];if(!r)return Ca(e,t.handledSet_,t);if(!La(r,t))return e;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:o}=r;if(o)for(;o.length>0;)o.pop()(t);Om(r,t)}return r.copy_}function kC(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&Tc(e,r)}function Cm(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}function Em(t,e,r,o){let n=xr(t),a=t.type_;if(o!==void 0&&Cc(n,o,a)===e){va(n,o,r,a);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;wa(n,(d,f)=>{if(rr(f)){let g=l.get(f)||[];g.push(d),l.set(f,g)}})}let s=t.draftLocations_.get(e)??LC;for(let l of s)va(n,l,r,a)}function TC(t,e,r){t.callbacks_.push(function(n){let a=e;if(!a||!La(a,n))return;n.mapSetPlugin_?.fixSetContents(a);let s=Lc(a);Em(t,a.draft_??a,s,r),Om(a,n)})}function Om(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:o}=e;if(o){let n=o.getPath(t);n&&o.generatePatches_(t,n,e)}Cm(t)}}function IC(t,e,r){let{scope_:o}=t;if(rr(r)){let n=r[qe];La(n,o)&&n.callbacks_.push(function(){ya(t);let s=Lc(n);Em(t,r,s,e)})}else xt(r)&&t.callbacks_.push(function(){let a=xr(t);t.type_===3?a.has(r)&&Ca(r,o.handledSet_,o):Cc(a,e,t.type_)===r&&o.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&Ca(Cc(t.copy_,e,t.type_),o.handledSet_,o)})}function Ca(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||rr(t)||e.has(t)||!xt(t)||ka(t)||(e.add(t),wa(t,(o,n)=>{if(rr(n)){let a=n[qe];if(La(a,r)){let s=Lc(a);va(t,o,s,t.type_),Cm(a)}}else xt(n)&&Ca(n,e,r)})),t}function PC(t,e){let r=Ra(t),o={type_:r?1:0,scope_:e?e.scope_:Sm(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},n=o,a=Ea;r&&(n=[o],a=cn);let{revoke:s,proxy:l}=Proxy.revocable(n,a);return o.draft_=l,o.revoke_=s,[l,o]}function vc(t,e){let r=t[qe];return(r?xr(r):t)[e]}function NC(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!xt(r)||r[qe]?!1:t.baseRefs_.has(r)}function MC(t,e,r){let o=wm(e,r);return o?sn in o?o[sn]:o.get?.call(t.draft_):void 0}function wm(t,e){if(!(e in t))return;let r=oi(t);for(;r;){let o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=oi(r)}}function Ac(t){t.modified_||(t.modified_=!0,t.parent_&&Ac(t.parent_))}function ya(t){t.copy_||(t.assigned_=new Map,t.copy_=Ec(t.base_,t.scope_.immer_.useStrictShallowCopy_))}function _c(t,e,r,o){let[n,a]=Aa(e)?bo(Sa).proxyMap_(e,r):_a(e)?bo(Sa).proxySet_(e,r):PC(e,r);return(r?.scope_??Sm()).drafts_.push(n),a.callbacks_=r?.callbacks_??[],a.key_=o,r&&o!==void 0?TC(r,a,o):a.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:f}=d;a.modified_&&f&&f.generatePatches_(a,[],d)}),n}function Rm(t){return rr(t)||zt(10,t),Am(t)}function Am(t){if(!xt(t)||ka(t))return t;let e=t[qe],r,o=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=Ec(t,e.scope_.immer_.useStrictShallowCopy_),o=e.scope_.immer_.shouldUseStrictIteration()}else r=Ec(t,!0);return wa(r,(n,a)=>{va(r,n,Am(a))},o),e&&(e.finalized_=!1),r}var bm,dm,qe,bt,oi,ba,Oa,Sc,xa,ga,sn,rr,EC,pm,bc,Cc,va,Ra,Aa,_a,kc,ri,xc,xr,Lc,ma,Sa,Oc,um,vm,fm,ln,Sm,AC,mm,La,LC,Ea,cn,$C,DC,eL,FC,Ic,_m=p(()=>{bm=Symbol.for("immer-nothing"),dm=Symbol.for("immer-draftable"),qe=Symbol.for("immer-state");bt=Object,oi=bt.getPrototypeOf,ba="constructor",Oa="prototype",Sc="configurable",xa="enumerable",ga="writable",sn="value",rr=t=>!!t&&!!t[qe];EC=bt[Oa][ba].toString(),pm=new WeakMap;bc=(t,e,r=dn(t))=>r===2?t.has(e):bt[Oa].hasOwnProperty.call(t,e),Cc=(t,e,r=dn(t))=>r===2?t.get(e):t[e],va=(t,e,r,o=dn(t))=>{o===2?t.set(e,r):o===3?t.add(r):t[e]=r};Ra=Array.isArray,Aa=t=>t instanceof Map,_a=t=>t instanceof Set,kc=t=>typeof t=="object",ri=t=>typeof t=="function",xc=t=>typeof t=="boolean";xr=t=>t.copy_||t.base_,Lc=t=>t.modified_?t.copy_:t.base_;ma={[sn]:RC};Sa="MapSet",Oc="Patches",um="ArrayMethods",vm={};fm=t=>!!vm[t],Sm=()=>ln,AC=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:fm(Sa)?bo(Sa):void 0,arrayMethodsPlugin_:fm(um)?bo(um):void 0});mm=t=>ln=AC(ln,t);La=(t,e)=>t.scope_===e,LC=[];Ea={get(t,e){if(e===qe)return t;let r=t.scope_.arrayMethodsPlugin_,o=t.type_===1&&typeof e=="string";if(o&&r?.isArrayOperationMethod(e))return r.createMethodInterceptor(t,e);let n=xr(t);if(!bc(n,e,t.type_))return MC(t,n,e);let a=n[e];if(t.finalized_||!xt(a)||o&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&wC(e))return a;if(a===vc(t.base_,e)||NC(t,e,a)){ya(t);let s=t.type_===1?+e:e,l=_c(t.scope_,a,t,s);return t.copy_[s]=l}return a},has(t,e){return e in xr(t)},ownKeys(t){return Reflect.ownKeys(xr(t))},set(t,e,r){let o=wm(xr(t),e);if(o?.set)return o.set.call(t.draft_,r),!0;if(!t.modified_){let n=vc(xr(t),e),a=n?.[qe];if(a&&a.base_===r)return t.copy_[e]=r,t.assigned_.set(e,!1),!0;if(OC(r,n)&&(r!==void 0||bc(t.base_,e,t.type_)))return!0;ya(t),Ac(t)}return t.copy_[e]===r&&(r!==void 0||bc(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),IC(t,e,r)),!0},deleteProperty(t,e){return ya(t),vc(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),Ac(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=xr(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{[ga]:!0,[Sc]:t.type_!==1||e!=="length",[xa]:o[xa],[sn]:r[e]}},defineProperty(){zt(11)},getPrototypeOf(t){return oi(t.base_)},setPrototypeOf(){zt(12)}},cn={};for(let t in Ea){let e=Ea[t];cn[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}cn.deleteProperty=function(t,e){return cn.set.call(this,t,e,void 0)};cn.set=function(t,e,r){return Ea.set.call(this,t[0],e,r,t[0])};$C=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,o)=>{if(ri(e)&&!ri(r)){let a=r;r=e;let s=this;return function(d=a,...f){return s.produce(d,g=>r.call(this,g,...f))}}ri(r)||zt(6),o!==void 0&&!ri(o)&&zt(7);let n;if(xt(e)){let a=mm(this),s=_c(a,e,void 0),l=!0;try{n=r(s),l=!1}finally{l?wc(a):Rc(a)}return hm(a,o),gm(n,a)}else if(!e||!kc(e)){if(n=r(e),n===void 0&&(n=e),n===bm&&(n=void 0),this.autoFreeze_&&Tc(n,!0),o){let a=[],s=[];bo(Oc).generateReplacementPatches_(e,n,{patches_:a,inversePatches_:s}),o(a,s)}return n}else zt(1,e)},this.produceWithPatches=(e,r)=>{if(ri(e))return(s,...l)=>this.produceWithPatches(s,d=>e(d,...l));let o,n;return[this.produce(e,r,(s,l)=>{o=s,n=l}),o,n]},xc(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),xc(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),xc(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){xt(t)||zt(8),rr(t)&&(t=Rm(t));let e=mm(this),r=_c(e,t,void 0);return r[qe].isManual_=!0,Rc(e),r}finishDraft(t,e){let r=t&&t[qe];(!r||!r.isManual_)&&zt(9);let{scope_:o}=r;return hm(o,e),gm(void 0,o)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){let n=e[r];if(n.path.length===0&&n.op==="replace"){t=n.value;break}}r>-1&&(e=e.slice(r+1));let o=bo(Oc).applyPatches_;return rr(t)?o(t,e):this.produce(t,n=>o(n,e))}};DC=globalThis.Iterator,eL=typeof DC?.from=="function",FC=new $C,Ic=FC.produce});function km(t){return({dispatch:r,getState:o})=>n=>a=>typeof a=="function"?a(r,o,t):n(a)}var Lm,Tm,Im=p(()=>{Lm=km(),Tm=km});function Ur(t,e){function r(...o){if(e){let n=e(...o);if(!n)throw new Error(vr(0));return{type:t,payload:n.payload,..."meta"in n&&{meta:n.meta},..."error"in n&&{error:n.error}}}return{type:t,payload:o[0]}}return r.toString=()=>`${t}`,r.type=t,r.match=o=>cm(o)&&o.type===t,r}function Pm(t){return xt(t)?Ic(t,()=>{}):t}function Ta(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function zC(t){return typeof t=="boolean"}function Fm(t){let e=HC(),{reducer:r=void 0,middleware:o,devTools:n=!0,duplicateMiddlewareCheck:a=!0,preloadedState:s=void 0,enhancers:l=void 0}=t||{},d;if(typeof r=="function")d=r;else if(ha(r))d=sm(r);else throw new Error(vr(1));let f;typeof o=="function"?f=o(e):f=e();let g=an;n&&(g=BC({trace:!1,...typeof n=="object"&&n}));let m=lm(...f),b=jC(m),C=typeof l=="function"?l(b):b(),A=g(...C);return gc(d,s,A)}function Bm(t){let e={},r=[],o,n={addCase(a,s){let l=typeof a=="string"?a:a.type;if(!l)throw new Error(vr(28));if(l in e)throw new Error(vr(29));return e[l]=s,n},addAsyncThunk(a,s){return s.pending&&(e[a.pending.type]=s.pending),s.rejected&&(e[a.rejected.type]=s.rejected),s.fulfilled&&(e[a.fulfilled.type]=s.fulfilled),s.settled&&r.push({matcher:a.settled,reducer:s.settled}),n},addMatcher(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase(a){return o=a,n}};return t(n),[e,r,o]}function KC(t){return typeof t=="function"}function qC(t,e){let[r,o,n]=Bm(e),a;if(KC(t))a=()=>Pm(t());else{let l=Pm(t);a=()=>l}function s(l=a(),d){let f=[r[d.type],...o.filter(({matcher:g})=>g(d)).map(({reducer:g})=>g)];return f.filter(g=>!!g).length===0&&(f=[n]),f.reduce((g,m)=>{if(m)if(rr(g)){let C=m(g,d);return C===void 0?g:C}else{if(xt(g))return Ic(g,b=>m(b,d));{let b=m(g,d);if(b===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return b}}return g},l)}return s.getInitialState=a,s}function QC(...t){return e=>t.some(r=>ZC(r,e))}function rE(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function oE(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}function iE(t,e){return`${t}/${e}`}function nE({creators:t}={}){let e=t?.asyncThunk?.[Um];return function(o){let{name:n,reducerPath:a=n}=o;if(!n)throw new Error(vr(11));typeof process<"u";let s=(typeof o.reducers=="function"?o.reducers(sE()):o.reducers)||{},l=Object.keys(s),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(v,S){let R=typeof v=="string"?v:v.type;if(!R)throw new Error(vr(12));if(R in d.sliceCaseReducersByType)throw new Error(vr(13));return d.sliceCaseReducersByType[R]=S,f},addMatcher(v,S){return d.sliceMatchers.push({matcher:v,reducer:S}),f},exposeAction(v,S){return d.actionCreators[v]=S,f},exposeCaseReducer(v,S){return d.sliceCaseReducersByName[v]=S,f}};l.forEach(v=>{let S=s[v],R={reducerName:v,type:iE(n,v),createNotation:typeof o.reducers=="function"};cE(S)?pE(R,S,f,e):lE(R,S,f)});function g(){let[v={},S=[],R=void 0]=typeof o.extraReducers=="function"?Bm(o.extraReducers):[o.extraReducers],z={...v,...d.sliceCaseReducersByType};return qC(o.initialState,V=>{for(let U in z)V.addCase(U,z[U]);for(let U of d.sliceMatchers)V.addMatcher(U.matcher,U.reducer);for(let U of S)V.addMatcher(U.matcher,U.reducer);R&&V.addDefaultCase(R)})}let m=v=>v,b=new Map,C=new WeakMap,A;function P(v,S){return A||(A=g()),A(v,S)}function _(){return A||(A=g()),A.getInitialState()}function D(v,S=!1){function R(V){let U=V[v];return typeof U>"u"&&S&&(U=Ta(C,R,_)),U}function z(V=m){let U=Ta(b,S,()=>new WeakMap);return Ta(U,V,()=>{let ae={};for(let[F,Q]of Object.entries(o.selectors??{}))ae[F]=aE(Q,V,()=>Ta(C,V,_),S);return ae})}return{reducerPath:v,getSelectors:z,get selectors(){return z(R)},selectSlice:R}}let te={name:n,reducer:P,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:_,...D(a),injectInto(v,{reducerPath:S,...R}={}){let z=S??a;return v.inject({reducerPath:z,reducer:P},R),{...te,...D(z,!0)}}};return te}}function aE(t,e,r,o){function n(a,...s){let l=e(a);return typeof l>"u"&&o&&(l=r()),t(l,...s)}return n.unwrapped=t,n}function sE(){function t(e,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...r}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...r){return e(...r)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:r}},asyncThunk:t}}function lE({type:t,reducerName:e,createNotation:r},o,n){let a,s;if("reducer"in o){if(r&&!dE(o))throw new Error(vr(17));a=o.reducer,s=o.prepare}else a=o;n.addCase(t,a).exposeCaseReducer(e,a).exposeAction(e,s?Ur(t,s):Ur(t))}function cE(t){return t._reducerDefinitionType==="asyncThunk"}function dE(t){return t._reducerDefinitionType==="reducerWithPrepare"}function pE({type:t,reducerName:e},r,o,n){if(!n)throw new Error(vr(18));let{payloadCreator:a,fulfilled:s,pending:l,rejected:d,settled:f,options:g}=r,m=n(t,a,g);o.exposeAction(e,m),s&&o.addCase(m.fulfilled,s),l&&o.addCase(m.pending,l),d&&o.addCase(m.rejected,d),f&&o.addMatcher(m.settled,f),o.exposeCaseReducer(e,{fulfilled:s||Ia,pending:l||Ia,rejected:d||Ia,settled:f||Ia})}function Ia(){}function vr(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var BC,sL,UC,Dm,HC,VC,Nm,WC,GC,jC,ZC,YC,XC,JC,Pc,Mm,eE,$m,tE,Um,cL,zm,Hm,Vm,Wm,dL,pL,uL,fL,Gm,Nc,uE,hL,fE,jm=p(()=>{yc();_m();yc();Im();BC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?an:an.apply(null,arguments)},sL=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}},UC=t=>t&&typeof t.match=="function";Dm=class pn extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,pn.prototype)}static get[Symbol.species](){return pn}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new pn(...e[0].concat(this)):new pn(...e.concat(this))}};HC=()=>function(e){let{thunk:r=!0,immutableCheck:o=!0,serializableCheck:n=!0,actionCreatorCheck:a=!0}=e??{},s=new Dm;return r&&(zC(r)?s.push(Lm):s.push(Tm(r.extraArgument))),s},VC="RTK_autoBatch",Nm=t=>e=>{setTimeout(e,t)},WC=(t,e)=>r=>{let o=!1,n=()=>{o||(o=!0,cancelAnimationFrame(a),clearTimeout(s),r())},a=t(n),s=setTimeout(n,e)},GC=(t={type:"raf"})=>e=>(...r)=>{let o=e(...r),n=!0,a=!1,s=!1,l=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?WC(window.requestAnimationFrame,100):Nm(10):t.type==="callback"?t.queueNotification:Nm(t.timeout),f=()=>{s=!1,a&&(a=!1,l.forEach(g=>g()))};return Object.assign({},o,{subscribe(g){let m=()=>n&&g(),b=o.subscribe(m);return l.add(g),()=>{b(),l.delete(g)}},dispatch(g){try{return n=!g?.meta?.[VC],a=!n,a&&(s||(s=!0,d(f))),o.dispatch(g)}finally{n=!0}}})},jC=t=>function(r){let{autoBatch:o=!0}=r??{},n=new Dm(t);return o&&n.push(GC(typeof o=="object"?o:void 0)),n};ZC=(t,e)=>UC(t)?t.match(e):t(e);YC="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",XC=(t=21)=>{let e="",r=t;for(;r--;)e+=YC[Math.random()*64|0];return e},JC=["name","message","stack","code"],Pc=class{constructor(t,e){this.payload=t,this.meta=e}payload;meta;_type},Mm=class{constructor(t,e){this.payload=t,this.meta=e}payload;meta;_type},eE=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of JC)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},$m="External signal was aborted",tE=(()=>{function t(e,r,o){let n=Ur(e+"/fulfilled",(d,f,g,m)=>({payload:d,meta:{...m||{},arg:g,requestId:f,requestStatus:"fulfilled"}})),a=Ur(e+"/pending",(d,f,g)=>({payload:void 0,meta:{...g||{},arg:f,requestId:d,requestStatus:"pending"}})),s=Ur(e+"/rejected",(d,f,g,m,b)=>({payload:m,error:(o&&o.serializeError||eE)(d||"Rejected"),meta:{...b||{},arg:g,requestId:f,rejectedWithValue:!!m,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:f}={}){return(g,m,b)=>{let C=o?.idGenerator?o.idGenerator(d):XC(),A=new AbortController,P,_;function D(v){_=v,A.abort()}f&&(f.aborted?D($m):f.addEventListener("abort",()=>D($m),{once:!0}));let te=(async function(){let v;try{let R=o?.condition?.(d,{getState:m,extra:b});if(oE(R)&&(R=await R),R===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let z=new Promise((V,U)=>{P=()=>{U({name:"AbortError",message:_||"Aborted"})},A.signal.addEventListener("abort",P,{once:!0})});g(a(C,d,o?.getPendingMeta?.({requestId:C,arg:d},{getState:m,extra:b}))),v=await Promise.race([z,Promise.resolve(r(d,{dispatch:g,getState:m,extra:b,requestId:C,signal:A.signal,abort:D,rejectWithValue:((V,U)=>new Pc(V,U)),fulfillWithValue:((V,U)=>new Mm(V,U))})).then(V=>{if(V instanceof Pc)throw V;return V instanceof Mm?n(V.payload,C,d,V.meta):n(V,C,d)})])}catch(R){v=R instanceof Pc?s(null,C,d,R.payload,R.meta):s(R,C,d)}finally{P&&A.signal.removeEventListener("abort",P)}return o&&!o.dispatchConditionRejection&&s.match(v)&&v.meta.condition||g(v),v})();return Object.assign(te,{abort:D,requestId:C,arg:d,unwrap(){return te.then(rE)}})}}return Object.assign(l,{pending:a,rejected:s,fulfilled:n,settled:QC(s,n),typePrefix:e})}return t.withTypes=()=>t,t})();Um=Symbol.for("rtk-slice-createasyncthunk"),cL={[Um]:tE};zm=nE();Hm="listener",Vm="completed",Wm="cancelled",dL=`task-${Wm}`,pL=`task-${Vm}`,uL=`${Hm}-${Wm}`,fL=`${Hm}-${Vm}`,{assign:Gm}=Object,Nc="listenerMiddleware",uE=Gm(Ur(`${Nc}/add`),{withTypes:()=>uE}),hL=Ur(`${Nc}/removeAll`),fE=Gm(Ur(`${Nc}/remove`),{withTypes:()=>fE})});function hE(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ti(e)&&e.clear()}var Sr,Km=p(()=>{"use strict";jm();ua();hc();jo();tt();window.ftReduxStores||(window.ftReduxStores={});Sr=class t extends gr{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(ti(a))return a;if(n==null)return;let s=zm({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=Fm({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let g=ht(s.getInitialState());for(let m of f.keeping)g[m]=(d??g)[m];return g}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});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 on,this.injectInto=(a,s)=>this.reduxSlice.injectInto(a,s),this.selectSlice=a=>this.reduxSlice.selectSlice(a);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,f=a[d];return f?(...g)=>{let m=f(...g.map(n));return this.reduxStore.dispatch(m),m}:g=>{let m=d,b=this.getState()[m];Le(b,g)||this.setState({[m]:n(g)})}}}),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()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}}});function ii(t,e,r){return new Pa(t,e,r).watch()}var Pa,qm=p(()=>{"use strict";tt();Pa=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);mt(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 xo,Zm=p(()=>{"use strict";xo=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 Mc={};j(Mc,{FtCommandQueue:()=>on,FtLitElementRedux:()=>yt,FtReduxStore:()=>Sr,FtStateManager:()=>xo,ReduxWatcher:()=>Pa,clearAllStores:()=>hE,isFtReduxStore:()=>ti,redux:()=>ue,reduxEventListener:()=>xC,reduxReactive:()=>bC,watch:()=>ii,withRedux:()=>im});var Na=p(()=>{"use strict";om();hc();nm();Km();ua();qm();Zm()});var Bc={};j(Bc,{scrollHelper:()=>Fc});var $c,Ma,Dc,Fc,Uc=p(()=>{"use strict";tt();Ma=new Map,Dc=class{lock(e,r){if(r){let o=Ma.get(r);if(o==null||o===e)return Ma.set(r,e),r}}release(e,r){r&&Ma.get(r)===e&&Ma.delete(r)}findFirstScrollableParent(e){var r;let o,n;for(let a of pl(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=mr(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=($c=window.FluidTopicsScrollHelper)!==null&&$c!==void 0?$c:new Dc;Fc=window.FluidTopicsScrollHelper});var zc=p(()=>{});var mE,gE,$a,gg,Qm,Ym,Xm,zr,Jm,eg,tg,vo,rg,og,ig,ng,ag,sg,lg,cg,Hr,dg,pg,So,yg,ug,Da,fg,ni,bg,or,ai,hg,ke,It,mg,Hc=p(()=>{mE=t=>typeof t=="object"&&t!=null,gE=t=>typeof t=="number",$a=t=>typeof t=="string",gg=t=>mE(t)&&$a(t.endpoint)&&$a(t.method)&&$a(t.statusText)&&$a(t.body)&&gE(t.status);(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Qm||(Qm={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ym||(Ym={}));(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"})(Xm||(Xm={}));(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"})(zr||(zr={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Jm||(Jm={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(eg||(eg={}));(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(tg||(tg={}));(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(vo||(vo={}));(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(rg||(rg={}));(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"})(og||(og={}));(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"})(ig||(ig={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ng||(ng={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ag||(ag={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(sg||(sg={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(lg||(lg={}));(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"})(cg||(cg={}));(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Hr||(Hr={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(dg||(dg={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(pg||(pg={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(So||(So={}));yg=t=>Object.keys(So).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(ug||(ug={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Da||(Da={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(fg||(fg={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ni||(ni={}));bg=t=>Object.keys(ni).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"})(or||(or={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ai||(ai={}));(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(hg||(hg={}));(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"})(ke||(ke={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(It||(It={}));(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(mg||(mg={}))});var xg,vg,Sg,Cg,Eg,Og,wg,Rg,Ag,_g,kg,Lg=p(()=>{(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(xg||(xg={}));(function(t){t.VALID="VALID",t.INVALID="INVALID"})(vg||(vg={}));(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.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Sg||(Sg={}));(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Cg||(Cg={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Eg||(Eg={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Og||(Og={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(wg||(wg={}));(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Rg||(Rg={}));(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Ag||(Ag={}));(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(_g||(_g={}));(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(kg||(kg={}))});var Tg=p(()=>{Hc();Lg()});function Ig(t,e){return t===e||(yE[t]??[]).some(r=>Ig(r,e))}function Fa(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=>Ig(o,e))}var yE,Pg=p(()=>{Hc();yE={[ke.PERSONAL_BOOK_SHARE_USER]:[ke.PERSONAL_BOOK_USER],[ke.HTML_EXPORT_USER]:[ke.PERSONAL_BOOK_USER],[ke.PDF_EXPORT_USER]:[ke.PERSONAL_BOOK_USER],[ke.KHUB_ADMIN]:[ke.CONTENT_PUBLISHER],[ke.ADMIN]:[ke.KHUB_ADMIN,ke.USERS_ADMIN,ke.PORTAL_ADMIN,ke.BEHAVIOR_DATA_USER],[ke.GENERATIVE_AI_EXPORT_USER]:[ke.GENERATIVE_AI_USER]}});var Ng=p(()=>{});var Cr=p(()=>{zc();Tg();Pg();Ng();zc()});var Vc={};j(Vc,{SearchPlaceConverter:()=>Vr,SearchPlaceQueryParams:()=>X,isSearchPlaceQueryParams:()=>$g,serializeRequest:()=>xE});function bE(t){return`"${t}"`}function Mg(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function xE(t,e){return new Vr(t).serialize(e)}function $g(t){return vE.has(t)}var X,vE,Vr,Wc=p(()=>{"use strict";Cr();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.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(X||(X={}));vE=new Set(Object.values(X));Vr=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,f,g,m,b,C,A,P;let _=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&_.append(X.LOCALE,e.contentLocale):_.append(X.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&_.append(X.QUERY,e.query);let D=U=>{var ae,F;let Q=((F=(ae=U.valueFilter)===null||ae===void 0?void 0:ae.values)!==null&&F!==void 0?F:[]).map(we=>this.escapeFilters(we)).map(we=>bE(Mg(we))).join("_");return`${U.key}~${Q}`},te=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(U=>U.valueFilter&&!U.valueFilter.negative))!==null&&a!==void 0?a:[];te.length>0&&_.append(X.VALUE_FILTERS,te.map(D).join("*"));let v=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(U=>U.valueFilter&&U.valueFilter.negative))!==null&&l!==void 0?l:[];v.length>0&&_.append(X.NEGATIVE_VALUE_FILTERS,v.map(D).join("*"));let S=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(U=>U.dateFilter))!==null&&f!==void 0?f:[];if(S.length>0){let U=S.map(ae=>{var F;return`${ae.key}~${(F=ae.dateFilter)===null||F===void 0?void 0:F.type.toLowerCase()}`}).join("*");_.append(X.DATE_FILTERS,U)}let R=(m=(g=e.metadataFilters)===null||g===void 0?void 0:g.filter(U=>U.rangeFilter))!==null&&m!==void 0?m:[];if(R.length>0){let U=R.map(ae=>{var F,Q;return`${ae.key}~${(F=ae.rangeFilter)===null||F===void 0?void 0:F.from}_${(Q=ae.rangeFilter)===null||Q===void 0?void 0:Q.to}`}).join("*");_.append(X.RANGE_FILTERS,U)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&_.append(X.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&_.append(X.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&_.append(X.SORT,e.sortId),!((b=e.paging)===null||b===void 0)&&b.perPage&&((A=(C=e.paging)===null||C===void 0?void 0:C.perPage)!==null&&A!==void 0?A:this.defaultPerPage)!=this.defaultPerPage&&_.append(X.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&_.append(X.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let z=(P=e.otherQueryParams)!==null&&P!==void 0?P:{};for(let U in z)_.append(U,z[U]);let V=new Array;return _.forEach((U,ae)=>{V.push(this.encodeQueryString(ae)+"="+this.encodeQueryString(U))}),encodeURI(V.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(D){console.warn("Could not decode search request query params, fallback on raw value",D)}let d=new URLSearchParams(e),f=d.get(X.LOCALE)==="all"?void 0:d.get(X.LOCALE),g=((r=d.get(X.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),m=(o=d.get(X.SORT))===null||o===void 0?void 0:o.toLowerCase(),b=(n=d.get(X.SCOPE))!==null&&n!==void 0?n:"default",C=+((a=d.get(X.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),A=d.get(X.KEYWORD_MATCH),P=A?A.toUpperCase()===Hr.MANDATORY?Hr.MANDATORY:Hr.OPTIONAL:void 0,_={};for(let D of d.keys())$g(D)||(_[D]=d.get(D));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(X.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:yg(g)?g:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:mr(1,isNaN(C)?this.defaultPerPage:C,1e3)},keywordMatch:P,otherQueryParams:_}}parseCompatFilters(e){var r,o,n,a,s,l,d;let f=[];return e.has(X.FILTERS)&&(f=this.parseValueFilters((r=e.get(X.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(X.PERIOD))!==null&&o!==void 0&&o&&(f=[...f,...this.parseLegacyPeriodFilter(((n=e.get(X.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...f,...this.parseValueFilters((a=e.get(X.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseValueFilters((s=e.get(X.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=e.get(X.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=e.get(X.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e,r=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Mg).map(n=>this.unescapeFilterValue(n)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:ni[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.replaceAll(n,r);return e}parseLegacyPeriodFilter(e){if(bg(e))return[{key:"ft:lastEdition",dateFilter:{type:ni[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:n}}]}return[]}static clearSearchParamsInUrl(e){let r=new URL(e);return[X.LOCALE,X.FILTERS,X.VALUE_FILTERS,X.NEGATIVE_VALUE_FILTERS,X.DATE_FILTERS,X.RANGE_FILTERS].forEach(n=>{r.searchParams.delete(n)}),r.toString()}static updateLocaleParamInUrl(e,r){let o=new URL(e);return o.searchParams.delete(X.LOCALE),r!==void 0&&o.searchParams.append(X.LOCALE,r),o.toString()}}});var Kc={};j(Kc,{toFtFormComponent:()=>jc});var Gc,jc,qc=p(()=>{"use strict";tt();Gc=Symbol("elementInternals"),jc=Re(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Gc].form}constructor(...o){super(o),this[Gc]=this.attachInternals()}setFormValue(o){this[Gc].setFormValue(o)}}return e})});var Zc={};j(Zc,{DateFormatter:()=>Co});var Co,Ba=p(()=>{"use strict";Co=class{static format(e,r,o,n,a){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,n,!!a)):this.getIntlDateTime(e,r,o,n,!!a)}static getMomentDateFormat(e,r,o){return o?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,n,a){let s=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return a?d:n?`${l} ${d}`: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 Yc={};j(Yc,{ALL_KEYS_VALUE:()=>Qc,SameWindowStorageEvent:()=>si});var Qc,si,Xc=p(()=>{"use strict";Qc="__all__",si=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==Qc}};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 si(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 si(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new si(Qc))}})});var ed={};j(ed,{FocusMainContentEvent:()=>Jc});var Jc,td=p(()=>{"use strict";Jc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var Dg={};function SE(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function CE(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}var rd=p(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};document.addEventListener("keydown",SE);document.addEventListener("click",CE)});var li,od=p(()=>{"use strict";L();li=O`
47
+ `});var om={};var uc=p(()=>{"use strict"});var fc={};j(fc,{ParametrizedLabelResolver:()=>Fr});var Fr,hc=p(()=>{"use strict";Fr=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,n;e=this.resolvePluralKey(e,r);let s=(n=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(s,...r)}static replaceParameters(e,...r){return r.forEach((o,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(o,a))),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 xC,ue,vC,im=p(()=>{"use strict";tt();q();xC=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},ue=t=>{let e=t??{};return(r,o)=>{var n;let s={hasChanged:mt,attribute:!1,...e};h(s)(r,o);let a=r.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(o,{selector:(n=e.selector)!==null&&n!==void 0?n:(l=>l[o]),store:e.store})}},vC=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)}});var sn,mc=p(()=>{"use strict";sn=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 ri(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var fs=p(()=>{"use strict"});var an,Br,yo,nm,yt,sm=p(()=>{"use strict";rn();fs();tt();an=Symbol("internalReduxEventsUnsubscribers"),Br=Symbol("internalStoresUnsubscribers"),yo=Symbol("internalStores"),nm=Re(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(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(l=>a.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[yo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[yo].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[yo].get(a)}addStore(a,l){var d;l=(d=l??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[yo].set(l,a),this.subscribeToStore(l,a),this.updateFromStores()}removeStore(a){let l=typeof a=="string"?a:a.name;this.unsubscribeFromStore(l),this[yo].delete(l)}setupStores(){this.unsubscribeFromStores(),this[yo].forEach((a,l)=>this.subscribeToStore(l,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(a.store);f&&(a.store?this[Br].has(a.store):this[Br].size>0)&&(this[l]=a.selector(f.getState(),this))}})}subscribeToStore(a,l){var d;this[Br].set(a,l.subscribe(()=>this.updateFromStores())),this[an].set(a,[]),ri(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,g)=>{if(typeof this[g]=="function"&&(!f.store||l.name===f.store)){let m=b=>this[g](b);l.addEventListener(f.eventName,m),this[an].get(a).push(()=>l.removeEventListener(f.eventName,m))}})),this.onStoreAvailable(a)}unsubscribeFromStores(){this[Br].forEach((a,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(a){var l;this[Br].has(a)&&this[Br].get(a)(),this[Br].delete(a),(l=this[an].get(a))===null||l===void 0||l.forEach(d=>d()),this[an].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Br,r=yo,o=an,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),yt=class extends nm($){}});function Ue(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 ms(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function yc(t,e,r){if(typeof t!="function")throw new Error(Ue(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ue(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ue(1));return r(yc)(t,e)}let o=t,n=e,s=new Map,a=s,l=0,d=!1;function f(){a===s&&(a=new Map,s.forEach((_,D)=>{a.set(D,_)}))}function g(){if(d)throw new Error(Ue(3));return n}function m(_){if(typeof _!="function")throw new Error(Ue(4));if(d)throw new Error(Ue(5));let D=!0;f();let te=l++;return a.set(te,_),function(){if(D){if(d)throw new Error(Ue(6));D=!1,f(),a.delete(te),s=null}}}function b(_){if(!ms(_))throw new Error(Ue(7));if(typeof _.type>"u")throw new Error(Ue(8));if(typeof _.type!="string")throw new Error(Ue(17));if(d)throw new Error(Ue(9));try{d=!0,n=o(n,_)}finally{d=!1}return(s=a).forEach(te=>{te()}),_}function C(_){if(typeof _!="function")throw new Error(Ue(10));o=_,b({type:hs.REPLACE})}function A(){let _=m;return{subscribe(D){if(typeof D!="object"||D===null)throw new Error(Ue(11));function te(){let S=D;S.next&&S.next(g())}return te(),{unsubscribe:_(te)}},[am](){return this}}}return b({type:hs.INIT}),{dispatch:b,subscribe:m,getState:g,replaceReducer:C,[am]:A}}function EC(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:hs.INIT})>"u")throw new Error(Ue(12));if(typeof r(void 0,{type:hs.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ue(13))})}function lm(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let l=e[a];typeof t[l]=="function"&&(r[l]=t[l])}let o=Object.keys(r),n,s;try{EC(r)}catch(a){s=a}return function(l={},d){if(s)throw s;let f=!1,g={};for(let m=0;m<o.length;m++){let b=o[m],C=r[b],A=l[b],P=C(A,d);if(typeof P>"u"){let _=d&&d.type;throw new Error(Ue(14))}g[b]=P,f=f||P!==A}return f=f||o.length!==Object.keys(l).length,f?g:l}}function ln(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...o)=>e(r(...o)))}function cm(...t){return e=>(r,o)=>{let n=e(r,o),s=()=>{throw new Error(Ue(15))},a={getState:n.getState,dispatch:(d,...f)=>s(d,...f)},l=t.map(d=>d(a));return s=ln(...l)(n.dispatch),{...n,dispatch:s}}}function dm(t){return ms(t)&&"type"in t&&typeof t.type=="string"}var SC,am,gc,CC,hs,bc=p(()=>{SC=typeof Symbol=="function"&&Symbol.observable||"@@observable",am=SC,gc=()=>Math.random().toString(36).substring(7).split("").join("."),CC={INIT:`@@redux/INIT${gc()}`,REPLACE:`@@redux/REPLACE${gc()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${gc()}`},hs=CC});function Ht(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}function xt(t){return t?vm(t)||As(t)||!!t[pm]||!!t[xs]?.[pm]||_s(t)||ks(t):!1}function vm(t){if(!t||!Lc(t))return!1;let e=ii(t);if(e===null||e===bt[ws])return!0;let r=bt.hasOwnProperty.call(e,xs)&&e[xs];if(r===Object)return!0;if(!oi(r))return!1;let o=um.get(r);return o===void 0&&(o=Function.toString.call(r),um.set(r,o)),o===OC}function Rs(t,e,r=!0){un(t)===0?(r?Reflect.ownKeys(t):bt.keys(t)).forEach(n=>{e(n,t[n],t)}):t.forEach((o,n)=>e(n,o,t))}function un(t){let e=t[qe];return e?e.type_:As(t)?1:_s(t)?2:ks(t)?3:0}function wC(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}function RC(t){let e=+t;return Number.isInteger(e)&&String(e)===t}function Oc(t,e){if(_s(t))return new Map(t);if(ks(t))return new Set(t);if(As(t))return Array[ws].slice.call(t);let r=vm(t);if(e===!0||e==="class_only"&&!r){let o=bt.getOwnPropertyDescriptors(t);delete o[qe];let n=Reflect.ownKeys(o);for(let s=0;s<n.length;s++){let a=n[s],l=o[a];l[ys]===!1&&(l[ys]=!0,l[Cc]=!0),(l.get||l.set)&&(o[a]={[Cc]:!0,[ys]:!0,[vs]:l[vs],[cn]:t[a]})}return bt.create(ii(t),o)}else{let o=ii(t);if(o!==null&&r)return{...t};let n=bt.create(o);return bt.assign(n,t)}}function Ic(t,e=!1){return Ls(t)||rr(t)||!xt(t)||(un(t)>1&&bt.defineProperties(t,{set:gs,add:gs,clear:gs,delete:gs}),bt.freeze(t),e&&Rs(t,(r,o)=>{Ic(o,!0)},!1)),t}function AC(){Ht(2)}function Ls(t){return t===null||!Lc(t)?!0:bt.isFrozen(t)}function bo(t){let e=Sm[t];return e||Ht(0,t),e}function mm(t,e){e&&(t.patchPlugin_=bo(wc),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function Rc(t){Ac(t),t.drafts_.forEach(kC),t.drafts_=null}function Ac(t){t===dn&&(dn=t.parent_)}function kC(t){let e=t[qe];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function ym(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[qe].modified_&&(Rc(e),Ht(4)),xt(t)&&(t=bm(e,t));let{patchPlugin_:n}=e;n&&n.generateReplacementPatches_(r[qe].base_,t,e)}else t=bm(e,r);return LC(e,t,!0),Rc(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==xm?t:void 0}function bm(t,e){if(Ls(e))return e;let r=e[qe];if(!r)return Es(e,t.handledSet_,t);if(!Ts(r,t))return e;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:o}=r;if(o)for(;o.length>0;)o.pop()(t);wm(r,t)}return r.copy_}function LC(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&Ic(e,r)}function Em(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}function Om(t,e,r,o){let n=vr(t),s=t.type_;if(o!==void 0&&Ec(n,o,s)===e){Ss(n,o,r,s);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;Rs(n,(d,f)=>{if(rr(f)){let g=l.get(f)||[];g.push(d),l.set(f,g)}})}let a=t.draftLocations_.get(e)??TC;for(let l of a)Ss(n,l,r,s)}function IC(t,e,r){t.callbacks_.push(function(n){let s=e;if(!s||!Ts(s,n))return;n.mapSetPlugin_?.fixSetContents(s);let a=Tc(s);Om(t,s.draft_??s,a,r),wm(s,n)})}function wm(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:o}=e;if(o){let n=o.getPath(t);n&&o.generatePatches_(t,n,e)}Em(t)}}function PC(t,e,r){let{scope_:o}=t;if(rr(r)){let n=r[qe];Ts(n,o)&&n.callbacks_.push(function(){bs(t);let a=Tc(n);Om(t,r,a,e)})}else xt(r)&&t.callbacks_.push(function(){let s=vr(t);t.type_===3?s.has(r)&&Es(r,o.handledSet_,o):Ec(s,e,t.type_)===r&&o.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&Es(Ec(t.copy_,e,t.type_),o.handledSet_,o)})}function Es(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||rr(t)||e.has(t)||!xt(t)||Ls(t)||(e.add(t),Rs(t,(o,n)=>{if(rr(n)){let s=n[qe];if(Ts(s,r)){let a=Tc(s);Ss(t,o,a,t.type_),Em(s)}}else xt(n)&&Es(n,e,r)})),t}function NC(t,e){let r=As(t),o={type_:r?1:0,scope_:e?e.scope_:Cm(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},n=o,s=Os;r&&(n=[o],s=pn);let{revoke:a,proxy:l}=Proxy.revocable(n,s);return o.draft_=l,o.revoke_=a,[l,o]}function Sc(t,e){let r=t[qe];return(r?vr(r):t)[e]}function MC(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!xt(r)||r[qe]?!1:t.baseRefs_.has(r)}function $C(t,e,r){let o=Rm(e,r);return o?cn in o?o[cn]:o.get?.call(t.draft_):void 0}function Rm(t,e){if(!(e in t))return;let r=ii(t);for(;r;){let o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=ii(r)}}function _c(t){t.modified_||(t.modified_=!0,t.parent_&&_c(t.parent_))}function bs(t){t.copy_||(t.assigned_=new Map,t.copy_=Oc(t.base_,t.scope_.immer_.useStrictShallowCopy_))}function kc(t,e,r,o){let[n,s]=_s(e)?bo(Cs).proxyMap_(e,r):ks(e)?bo(Cs).proxySet_(e,r):NC(e,r);return(r?.scope_??Cm()).drafts_.push(n),s.callbacks_=r?.callbacks_??[],s.key_=o,r&&o!==void 0?IC(r,s,o):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:f}=d;s.modified_&&f&&f.generatePatches_(s,[],d)}),n}function Am(t){return rr(t)||Ht(10,t),_m(t)}function _m(t){if(!xt(t)||Ls(t))return t;let e=t[qe],r,o=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=Oc(t,e.scope_.immer_.useStrictShallowCopy_),o=e.scope_.immer_.shouldUseStrictIteration()}else r=Oc(t,!0);return Rs(r,(n,s)=>{Ss(r,n,_m(s))},o),e&&(e.finalized_=!1),r}var xm,pm,qe,bt,ii,xs,ws,Cc,vs,ys,cn,rr,OC,um,xc,Ec,Ss,As,_s,ks,Lc,oi,vc,vr,Tc,gs,Cs,wc,fm,Sm,hm,dn,Cm,_C,gm,Ts,TC,Os,pn,DC,FC,tL,BC,Pc,km=p(()=>{xm=Symbol.for("immer-nothing"),pm=Symbol.for("immer-draftable"),qe=Symbol.for("immer-state");bt=Object,ii=bt.getPrototypeOf,xs="constructor",ws="prototype",Cc="configurable",vs="enumerable",ys="writable",cn="value",rr=t=>!!t&&!!t[qe];OC=bt[ws][xs].toString(),um=new WeakMap;xc=(t,e,r=un(t))=>r===2?t.has(e):bt[ws].hasOwnProperty.call(t,e),Ec=(t,e,r=un(t))=>r===2?t.get(e):t[e],Ss=(t,e,r,o=un(t))=>{o===2?t.set(e,r):o===3?t.add(r):t[e]=r};As=Array.isArray,_s=t=>t instanceof Map,ks=t=>t instanceof Set,Lc=t=>typeof t=="object",oi=t=>typeof t=="function",vc=t=>typeof t=="boolean";vr=t=>t.copy_||t.base_,Tc=t=>t.modified_?t.copy_:t.base_;gs={[cn]:AC};Cs="MapSet",wc="Patches",fm="ArrayMethods",Sm={};hm=t=>!!Sm[t],Cm=()=>dn,_C=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:hm(Cs)?bo(Cs):void 0,arrayMethodsPlugin_:hm(fm)?bo(fm):void 0});gm=t=>dn=_C(dn,t);Ts=(t,e)=>t.scope_===e,TC=[];Os={get(t,e){if(e===qe)return t;let r=t.scope_.arrayMethodsPlugin_,o=t.type_===1&&typeof e=="string";if(o&&r?.isArrayOperationMethod(e))return r.createMethodInterceptor(t,e);let n=vr(t);if(!xc(n,e,t.type_))return $C(t,n,e);let s=n[e];if(t.finalized_||!xt(s)||o&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&RC(e))return s;if(s===Sc(t.base_,e)||MC(t,e,s)){bs(t);let a=t.type_===1?+e:e,l=kc(t.scope_,s,t,a);return t.copy_[a]=l}return s},has(t,e){return e in vr(t)},ownKeys(t){return Reflect.ownKeys(vr(t))},set(t,e,r){let o=Rm(vr(t),e);if(o?.set)return o.set.call(t.draft_,r),!0;if(!t.modified_){let n=Sc(vr(t),e),s=n?.[qe];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.set(e,!1),!0;if(wC(r,n)&&(r!==void 0||xc(t.base_,e,t.type_)))return!0;bs(t),_c(t)}return t.copy_[e]===r&&(r!==void 0||xc(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),PC(t,e,r)),!0},deleteProperty(t,e){return bs(t),Sc(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),_c(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=vr(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{[ys]:!0,[Cc]:t.type_!==1||e!=="length",[vs]:o[vs],[cn]:r[e]}},defineProperty(){Ht(11)},getPrototypeOf(t){return ii(t.base_)},setPrototypeOf(){Ht(12)}},pn={};for(let t in Os){let e=Os[t];pn[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}pn.deleteProperty=function(t,e){return pn.set.call(this,t,e,void 0)};pn.set=function(t,e,r){return Os.set.call(this,t[0],e,r,t[0])};DC=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,o)=>{if(oi(e)&&!oi(r)){let s=r;r=e;let a=this;return function(d=s,...f){return a.produce(d,g=>r.call(this,g,...f))}}oi(r)||Ht(6),o!==void 0&&!oi(o)&&Ht(7);let n;if(xt(e)){let s=gm(this),a=kc(s,e,void 0),l=!0;try{n=r(a),l=!1}finally{l?Rc(s):Ac(s)}return mm(s,o),ym(n,s)}else if(!e||!Lc(e)){if(n=r(e),n===void 0&&(n=e),n===xm&&(n=void 0),this.autoFreeze_&&Ic(n,!0),o){let s=[],a=[];bo(wc).generateReplacementPatches_(e,n,{patches_:s,inversePatches_:a}),o(s,a)}return n}else Ht(1,e)},this.produceWithPatches=(e,r)=>{if(oi(e))return(a,...l)=>this.produceWithPatches(a,d=>e(d,...l));let o,n;return[this.produce(e,r,(a,l)=>{o=a,n=l}),o,n]},vc(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),vc(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),vc(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){xt(t)||Ht(8),rr(t)&&(t=Am(t));let e=gm(this),r=kc(e,t,void 0);return r[qe].isManual_=!0,Ac(e),r}finishDraft(t,e){let r=t&&t[qe];(!r||!r.isManual_)&&Ht(9);let{scope_:o}=r;return mm(o,e),ym(void 0,o)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){let n=e[r];if(n.path.length===0&&n.op==="replace"){t=n.value;break}}r>-1&&(e=e.slice(r+1));let o=bo(wc).applyPatches_;return rr(t)?o(t,e):this.produce(t,n=>o(n,e))}};FC=globalThis.Iterator,tL=typeof FC?.from=="function",BC=new DC,Pc=BC.produce});function Lm(t){return({dispatch:r,getState:o})=>n=>s=>typeof s=="function"?s(r,o,t):n(s)}var Tm,Im,Pm=p(()=>{Tm=Lm(),Im=Lm});function Ur(t,e){function r(...o){if(e){let n=e(...o);if(!n)throw new Error(Sr(0));return{type:t,payload:n.payload,..."meta"in n&&{meta:n.meta},..."error"in n&&{error:n.error}}}return{type:t,payload:o[0]}}return r.toString=()=>`${t}`,r.type=t,r.match=o=>dm(o)&&o.type===t,r}function Nm(t){return xt(t)?Pc(t,()=>{}):t}function Is(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function HC(t){return typeof t=="boolean"}function Bm(t){let e=VC(),{reducer:r=void 0,middleware:o,devTools:n=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:l=void 0}=t||{},d;if(typeof r=="function")d=r;else if(ms(r))d=lm(r);else throw new Error(Sr(1));let f;typeof o=="function"?f=o(e):f=e();let g=ln;n&&(g=UC({trace:!1,...typeof n=="object"&&n}));let m=cm(...f),b=KC(m),C=typeof l=="function"?l(b):b(),A=g(...C);return yc(d,a,A)}function Um(t){let e={},r=[],o,n={addCase(s,a){let l=typeof s=="string"?s:s.type;if(!l)throw new Error(Sr(28));if(l in e)throw new Error(Sr(29));return e[l]=a,n},addAsyncThunk(s,a){return a.pending&&(e[s.pending.type]=a.pending),a.rejected&&(e[s.rejected.type]=a.rejected),a.fulfilled&&(e[s.fulfilled.type]=a.fulfilled),a.settled&&r.push({matcher:s.settled,reducer:a.settled}),n},addMatcher(s,a){return r.push({matcher:s,reducer:a}),n},addDefaultCase(s){return o=s,n}};return t(n),[e,r,o]}function qC(t){return typeof t=="function"}function ZC(t,e){let[r,o,n]=Um(e),s;if(qC(t))s=()=>Nm(t());else{let l=Nm(t);s=()=>l}function a(l=s(),d){let f=[r[d.type],...o.filter(({matcher:g})=>g(d)).map(({reducer:g})=>g)];return f.filter(g=>!!g).length===0&&(f=[n]),f.reduce((g,m)=>{if(m)if(rr(g)){let C=m(g,d);return C===void 0?g:C}else{if(xt(g))return Pc(g,b=>m(b,d));{let b=m(g,d);if(b===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return b}}return g},l)}return a.getInitialState=s,a}function YC(...t){return e=>t.some(r=>QC(r,e))}function oE(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function iE(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}function nE(t,e){return`${t}/${e}`}function sE({creators:t}={}){let e=t?.asyncThunk?.[zm];return function(o){let{name:n,reducerPath:s=n}=o;if(!n)throw new Error(Sr(11));typeof process<"u";let a=(typeof o.reducers=="function"?o.reducers(lE()):o.reducers)||{},l=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(v,S){let R=typeof v=="string"?v:v.type;if(!R)throw new Error(Sr(12));if(R in d.sliceCaseReducersByType)throw new Error(Sr(13));return d.sliceCaseReducersByType[R]=S,f},addMatcher(v,S){return d.sliceMatchers.push({matcher:v,reducer:S}),f},exposeAction(v,S){return d.actionCreators[v]=S,f},exposeCaseReducer(v,S){return d.sliceCaseReducersByName[v]=S,f}};l.forEach(v=>{let S=a[v],R={reducerName:v,type:nE(n,v),createNotation:typeof o.reducers=="function"};dE(S)?uE(R,S,f,e):cE(R,S,f)});function g(){let[v={},S=[],R=void 0]=typeof o.extraReducers=="function"?Um(o.extraReducers):[o.extraReducers],z={...v,...d.sliceCaseReducersByType};return ZC(o.initialState,V=>{for(let U in z)V.addCase(U,z[U]);for(let U of d.sliceMatchers)V.addMatcher(U.matcher,U.reducer);for(let U of S)V.addMatcher(U.matcher,U.reducer);R&&V.addDefaultCase(R)})}let m=v=>v,b=new Map,C=new WeakMap,A;function P(v,S){return A||(A=g()),A(v,S)}function _(){return A||(A=g()),A.getInitialState()}function D(v,S=!1){function R(V){let U=V[v];return typeof U>"u"&&S&&(U=Is(C,R,_)),U}function z(V=m){let U=Is(b,S,()=>new WeakMap);return Is(U,V,()=>{let se={};for(let[F,Q]of Object.entries(o.selectors??{}))se[F]=aE(Q,V,()=>Is(C,V,_),S);return se})}return{reducerPath:v,getSelectors:z,get selectors(){return z(R)},selectSlice:R}}let te={name:n,reducer:P,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:_,...D(s),injectInto(v,{reducerPath:S,...R}={}){let z=S??s;return v.inject({reducerPath:z,reducer:P},R),{...te,...D(z,!0)}}};return te}}function aE(t,e,r,o){function n(s,...a){let l=e(s);return typeof l>"u"&&o&&(l=r()),t(l,...a)}return n.unwrapped=t,n}function lE(){function t(e,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...r}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...r){return e(...r)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:r}},asyncThunk:t}}function cE({type:t,reducerName:e,createNotation:r},o,n){let s,a;if("reducer"in o){if(r&&!pE(o))throw new Error(Sr(17));s=o.reducer,a=o.prepare}else s=o;n.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?Ur(t,a):Ur(t))}function dE(t){return t._reducerDefinitionType==="asyncThunk"}function pE(t){return t._reducerDefinitionType==="reducerWithPrepare"}function uE({type:t,reducerName:e},r,o,n){if(!n)throw new Error(Sr(18));let{payloadCreator:s,fulfilled:a,pending:l,rejected:d,settled:f,options:g}=r,m=n(t,s,g);o.exposeAction(e,m),a&&o.addCase(m.fulfilled,a),l&&o.addCase(m.pending,l),d&&o.addCase(m.rejected,d),f&&o.addMatcher(m.settled,f),o.exposeCaseReducer(e,{fulfilled:a||Ps,pending:l||Ps,rejected:d||Ps,settled:f||Ps})}function Ps(){}function Sr(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var UC,lL,zC,Fm,VC,WC,Mm,GC,jC,KC,QC,XC,JC,eE,Nc,$m,tE,Dm,rE,zm,dL,Hm,Vm,Wm,Gm,pL,uL,fL,hL,jm,Mc,fE,mL,hE,Km=p(()=>{bc();km();bc();Pm();UC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ln:ln.apply(null,arguments)},lL=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}},zC=t=>t&&typeof t.match=="function";Fm=class fn extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,fn.prototype)}static get[Symbol.species](){return fn}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new fn(...e[0].concat(this)):new fn(...e.concat(this))}};VC=()=>function(e){let{thunk:r=!0,immutableCheck:o=!0,serializableCheck:n=!0,actionCreatorCheck:s=!0}=e??{},a=new Fm;return r&&(HC(r)?a.push(Tm):a.push(Im(r.extraArgument))),a},WC="RTK_autoBatch",Mm=t=>e=>{setTimeout(e,t)},GC=(t,e)=>r=>{let o=!1,n=()=>{o||(o=!0,cancelAnimationFrame(s),clearTimeout(a),r())},s=t(n),a=setTimeout(n,e)},jC=(t={type:"raf"})=>e=>(...r)=>{let o=e(...r),n=!0,s=!1,a=!1,l=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?GC(window.requestAnimationFrame,100):Mm(10):t.type==="callback"?t.queueNotification:Mm(t.timeout),f=()=>{a=!1,s&&(s=!1,l.forEach(g=>g()))};return Object.assign({},o,{subscribe(g){let m=()=>n&&g(),b=o.subscribe(m);return l.add(g),()=>{b(),l.delete(g)}},dispatch(g){try{return n=!g?.meta?.[WC],s=!n,s&&(a||(a=!0,d(f))),o.dispatch(g)}finally{n=!0}}})},KC=t=>function(r){let{autoBatch:o=!0}=r??{},n=new Fm(t);return o&&n.push(jC(typeof o=="object"?o:void 0)),n};QC=(t,e)=>zC(t)?t.match(e):t(e);XC="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",JC=(t=21)=>{let e="",r=t;for(;r--;)e+=XC[Math.random()*64|0];return e},eE=["name","message","stack","code"],Nc=class{constructor(t,e){this.payload=t,this.meta=e}payload;meta;_type},$m=class{constructor(t,e){this.payload=t,this.meta=e}payload;meta;_type},tE=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of eE)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},Dm="External signal was aborted",rE=(()=>{function t(e,r,o){let n=Ur(e+"/fulfilled",(d,f,g,m)=>({payload:d,meta:{...m||{},arg:g,requestId:f,requestStatus:"fulfilled"}})),s=Ur(e+"/pending",(d,f,g)=>({payload:void 0,meta:{...g||{},arg:f,requestId:d,requestStatus:"pending"}})),a=Ur(e+"/rejected",(d,f,g,m,b)=>({payload:m,error:(o&&o.serializeError||tE)(d||"Rejected"),meta:{...b||{},arg:g,requestId:f,rejectedWithValue:!!m,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:f}={}){return(g,m,b)=>{let C=o?.idGenerator?o.idGenerator(d):JC(),A=new AbortController,P,_;function D(v){_=v,A.abort()}f&&(f.aborted?D(Dm):f.addEventListener("abort",()=>D(Dm),{once:!0}));let te=(async function(){let v;try{let R=o?.condition?.(d,{getState:m,extra:b});if(iE(R)&&(R=await R),R===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let z=new Promise((V,U)=>{P=()=>{U({name:"AbortError",message:_||"Aborted"})},A.signal.addEventListener("abort",P,{once:!0})});g(s(C,d,o?.getPendingMeta?.({requestId:C,arg:d},{getState:m,extra:b}))),v=await Promise.race([z,Promise.resolve(r(d,{dispatch:g,getState:m,extra:b,requestId:C,signal:A.signal,abort:D,rejectWithValue:((V,U)=>new Nc(V,U)),fulfillWithValue:((V,U)=>new $m(V,U))})).then(V=>{if(V instanceof Nc)throw V;return V instanceof $m?n(V.payload,C,d,V.meta):n(V,C,d)})])}catch(R){v=R instanceof Nc?a(null,C,d,R.payload,R.meta):a(R,C,d)}finally{P&&A.signal.removeEventListener("abort",P)}return o&&!o.dispatchConditionRejection&&a.match(v)&&v.meta.condition||g(v),v})();return Object.assign(te,{abort:D,requestId:C,arg:d,unwrap(){return te.then(oE)}})}}return Object.assign(l,{pending:s,rejected:a,fulfilled:n,settled:YC(a,n),typePrefix:e})}return t.withTypes=()=>t,t})();zm=Symbol.for("rtk-slice-createasyncthunk"),dL={[zm]:rE};Hm=sE();Vm="listener",Wm="completed",Gm="cancelled",pL=`task-${Gm}`,uL=`task-${Wm}`,fL=`${Vm}-${Gm}`,hL=`${Vm}-${Wm}`,{assign:jm}=Object,Mc="listenerMiddleware",fE=jm(Ur(`${Mc}/add`),{withTypes:()=>fE}),mL=Ur(`${Mc}/removeAll`),hE=jm(Ur(`${Mc}/remove`),{withTypes:()=>hE})});function mE(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ri(e)&&e.clear()}var Cr,qm=p(()=>{"use strict";Km();fs();mc();Ko();tt();window.ftReduxStores||(window.ftReduxStores={});Cr=class t extends yr{static get(e){var r;let o=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,s=window.ftReduxStores[o];if(ri(s))return s;if(n==null)return;let a=Hm({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=Bm({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let g=ht(a.getInitialState());for(let m of f.keeping)g[m]=(d??g)[m];return g}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return a.reducer(d,f)}});return window.ftReduxStores[n.name]=new t(a,l,n.eventBus)}constructor(e,r,o){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new sn,this.injectInto=(s,a)=>this.reduxSlice.injectInto(s,a),this.selectSlice=s=>this.reduxSlice.selectSlice(s);let n=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,a,l)=>{let d=a,f=s[d];return f?(...g)=>{let m=f(...g.map(n));return this.reduxStore.dispatch(m),m}:g=>{let m=d,b=this.getState()[m];Le(b,g)||this.setState({[m]:n(g)})}}}),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()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}}});function ni(t,e,r){return new Ns(t,e,r).watch()}var Ns,Zm=p(()=>{"use strict";tt();Ns=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);mt(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 xo,Qm=p(()=>{"use strict";xo=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 $c={};j($c,{FtCommandQueue:()=>sn,FtLitElementRedux:()=>yt,FtReduxStore:()=>Cr,FtStateManager:()=>xo,ReduxWatcher:()=>Ns,clearAllStores:()=>mE,isFtReduxStore:()=>ri,redux:()=>ue,reduxEventListener:()=>vC,reduxReactive:()=>xC,watch:()=>ni,withRedux:()=>nm});var Ms=p(()=>{"use strict";im();mc();sm();qm();fs();Zm();Qm()});var Uc={};j(Uc,{scrollHelper:()=>Bc});var Dc,$s,Fc,Bc,zc=p(()=>{"use strict";tt();$s=new Map,Fc=class{lock(e,r){if(r){let o=$s.get(r);if(o==null||o===e)return $s.set(r,e),r}}release(e,r){r&&$s.get(r)===e&&$s.delete(r)}findFirstScrollableParent(e){var r;let o,n;for(let s of ul(e)){let a=s,l=this.elementCanScroll(a);if(l&&a.clientHeight&&a.clientHeight<a.scrollHeight){o=a;break}else l&&n==null&&(n=a)}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 s=0;for(;r&&r.offsetParent!==e.offsetParent;)s+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return s+((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),s=n-o.clientHeight+e.clientHeight,a=n,l=gr(0,(a-o.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,l)*(s-a)+a;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=(Dc=window.FluidTopicsScrollHelper)!==null&&Dc!==void 0?Dc:new Fc;Bc=window.FluidTopicsScrollHelper});var Hc=p(()=>{});var gE,yE,Ds,yg,Ym,Xm,Jm,zr,eg,tg,rg,vo,og,ig,ng,sg,ag,lg,cg,dg,Hr,pg,ug,So,bg,fg,Fs,hg,si,xg,or,ai,mg,ke,It,gg,Vc=p(()=>{gE=t=>typeof t=="object"&&t!=null,yE=t=>typeof t=="number",Ds=t=>typeof t=="string",yg=t=>gE(t)&&Ds(t.endpoint)&&Ds(t.method)&&Ds(t.statusText)&&Ds(t.body)&&yE(t.status);(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Ym||(Ym={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Xm||(Xm={}));(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"})(Jm||(Jm={}));(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"})(zr||(zr={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(eg||(eg={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(tg||(tg={}));(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(rg||(rg={}));(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(vo||(vo={}));(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(og||(og={}));(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"})(ig||(ig={}));(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"})(ng||(ng={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(sg||(sg={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ag||(ag={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(lg||(lg={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(cg||(cg={}));(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"})(dg||(dg={}));(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Hr||(Hr={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(pg||(pg={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(ug||(ug={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(So||(So={}));bg=t=>Object.keys(So).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(fg||(fg={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Fs||(Fs={}));(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"})(hg||(hg={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(si||(si={}));xg=t=>Object.keys(si).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"})(or||(or={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ai||(ai={}));(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(mg||(mg={}));(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"})(ke||(ke={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(It||(It={}));(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(gg||(gg={}))});var vg,Sg,Cg,Eg,Og,wg,Rg,Ag,_g,kg,Lg,Tg=p(()=>{(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(vg||(vg={}));(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Sg||(Sg={}));(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.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Cg||(Cg={}));(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Eg||(Eg={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Og||(Og={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(wg||(wg={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Rg||(Rg={}));(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Ag||(Ag={}));(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(_g||(_g={}));(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(kg||(kg={}));(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Lg||(Lg={}))});var Ig=p(()=>{Vc();Tg()});function Pg(t,e){return t===e||(bE[t]??[]).some(r=>Pg(r,e))}function Bs(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=>Pg(o,e))}var bE,Ng=p(()=>{Vc();bE={[ke.PERSONAL_BOOK_SHARE_USER]:[ke.PERSONAL_BOOK_USER],[ke.HTML_EXPORT_USER]:[ke.PERSONAL_BOOK_USER],[ke.PDF_EXPORT_USER]:[ke.PERSONAL_BOOK_USER],[ke.KHUB_ADMIN]:[ke.CONTENT_PUBLISHER],[ke.ADMIN]:[ke.KHUB_ADMIN,ke.USERS_ADMIN,ke.PORTAL_ADMIN,ke.BEHAVIOR_DATA_USER],[ke.GENERATIVE_AI_EXPORT_USER]:[ke.GENERATIVE_AI_USER]}});var Mg=p(()=>{});var Er=p(()=>{Hc();Ig();Ng();Mg();Hc()});var Wc={};j(Wc,{SearchPlaceConverter:()=>Vr,SearchPlaceQueryParams:()=>X,isSearchPlaceQueryParams:()=>Dg,serializeRequest:()=>vE});function xE(t){return`"${t}"`}function $g(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function vE(t,e){return new Vr(t).serialize(e)}function Dg(t){return SE.has(t)}var X,SE,Vr,Gc=p(()=>{"use strict";Er();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.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(X||(X={}));SE=new Set(Object.values(X));Vr=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,s,a,l,d,f,g,m,b,C,A,P;let _=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&_.append(X.LOCALE,e.contentLocale):_.append(X.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&_.append(X.QUERY,e.query);let D=U=>{var se,F;let Q=((F=(se=U.valueFilter)===null||se===void 0?void 0:se.values)!==null&&F!==void 0?F:[]).map(we=>this.escapeFilters(we)).map(we=>xE($g(we))).join("_");return`${U.key}~${Q}`},te=(s=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(U=>U.valueFilter&&!U.valueFilter.negative))!==null&&s!==void 0?s:[];te.length>0&&_.append(X.VALUE_FILTERS,te.map(D).join("*"));let v=(l=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(U=>U.valueFilter&&U.valueFilter.negative))!==null&&l!==void 0?l:[];v.length>0&&_.append(X.NEGATIVE_VALUE_FILTERS,v.map(D).join("*"));let S=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(U=>U.dateFilter))!==null&&f!==void 0?f:[];if(S.length>0){let U=S.map(se=>{var F;return`${se.key}~${(F=se.dateFilter)===null||F===void 0?void 0:F.type.toLowerCase()}`}).join("*");_.append(X.DATE_FILTERS,U)}let R=(m=(g=e.metadataFilters)===null||g===void 0?void 0:g.filter(U=>U.rangeFilter))!==null&&m!==void 0?m:[];if(R.length>0){let U=R.map(se=>{var F,Q;return`${se.key}~${(F=se.rangeFilter)===null||F===void 0?void 0:F.from}_${(Q=se.rangeFilter)===null||Q===void 0?void 0:Q.to}`}).join("*");_.append(X.RANGE_FILTERS,U)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&_.append(X.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&_.append(X.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&_.append(X.SORT,e.sortId),!((b=e.paging)===null||b===void 0)&&b.perPage&&((A=(C=e.paging)===null||C===void 0?void 0:C.perPage)!==null&&A!==void 0?A:this.defaultPerPage)!=this.defaultPerPage&&_.append(X.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&_.append(X.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let z=(P=e.otherQueryParams)!==null&&P!==void 0?P:{};for(let U in z)_.append(U,z[U]);let V=new Array;return _.forEach((U,se)=>{V.push(this.encodeQueryString(se)+"="+this.encodeQueryString(U))}),encodeURI(V.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("?")),s=o[0].split("/search/")[1];return s==null?n:{...n,scope:(r=this.scopeMapping[s])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,o,n,s,a,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(D){console.warn("Could not decode search request query params, fallback on raw value",D)}let d=new URLSearchParams(e),f=d.get(X.LOCALE)==="all"?void 0:d.get(X.LOCALE),g=((r=d.get(X.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),m=(o=d.get(X.SORT))===null||o===void 0?void 0:o.toLowerCase(),b=(n=d.get(X.SCOPE))!==null&&n!==void 0?n:"default",C=+((s=d.get(X.PER_PAGE))!==null&&s!==void 0?s:this.defaultPerPage),A=d.get(X.KEYWORD_MATCH),P=A?A.toUpperCase()===Hr.MANDATORY?Hr.MANDATORY:Hr.OPTIONAL:void 0,_={};for(let D of d.keys())Dg(D)||(_[D]=d.get(D));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(a=d.get(X.QUERY))!==null&&a!==void 0?a:"",scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:bg(g)?g:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:gr(1,isNaN(C)?this.defaultPerPage:C,1e3)},keywordMatch:P,otherQueryParams:_}}parseCompatFilters(e){var r,o,n,s,a,l,d;let f=[];return e.has(X.FILTERS)&&(f=this.parseValueFilters((r=e.get(X.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(X.PERIOD))!==null&&o!==void 0&&o&&(f=[...f,...this.parseLegacyPeriodFilter(((n=e.get(X.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...f,...this.parseValueFilters((s=e.get(X.VALUE_FILTERS))!==null&&s!==void 0?s:""),...this.parseValueFilters((a=e.get(X.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((l=e.get(X.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=e.get(X.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e,r=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map($g).map(n=>this.unescapeFilterValue(n)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:si[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.replaceAll(n,r);return e}parseLegacyPeriodFilter(e){if(xg(e))return[{key:"ft:lastEdition",dateFilter:{type:si[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:n}}]}return[]}static clearSearchParamsInUrl(e){let r=new URL(e);return[X.LOCALE,X.FILTERS,X.VALUE_FILTERS,X.NEGATIVE_VALUE_FILTERS,X.DATE_FILTERS,X.RANGE_FILTERS].forEach(n=>{r.searchParams.delete(n)}),r.toString()}static updateLocaleParamInUrl(e,r){let o=new URL(e);return o.searchParams.delete(X.LOCALE),r!==void 0&&o.searchParams.append(X.LOCALE,r),o.toString()}}});var qc={};j(qc,{toFtFormComponent:()=>Kc});var jc,Kc,Zc=p(()=>{"use strict";tt();jc=Symbol("elementInternals"),Kc=Re(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[jc].form}constructor(...o){super(o),this[jc]=this.attachInternals()}setFormValue(o){this[jc].setFormValue(o)}}return e})});var Qc={};j(Qc,{DateFormatter:()=>Co});var Co,Us=p(()=>{"use strict";Co=class{static format(e,r,o,n,s){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,n,!!s)):this.getIntlDateTime(e,r,o,n,!!s)}static getMomentDateFormat(e,r,o){return o?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,n,s){let a=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?d:n?`${l} ${d}`: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 Xc={};j(Xc,{ALL_KEYS_VALUE:()=>Yc,SameWindowStorageEvent:()=>li});var Yc,li,Jc=p(()=>{"use strict";Yc="__all__",li=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==Yc}};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 li(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 li(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new li(Yc))}})});var td={};j(td,{FocusMainContentEvent:()=>ed});var ed,rd=p(()=>{"use strict";ed=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var Fg={};function CE(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function EE(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}var od=p(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};document.addEventListener("keydown",CE);document.addEventListener("click",EE)});var ci,id=p(()=>{"use strict";T();ci=O`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,7 +68,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `});var id={};j(id,{withAriaNotification:()=>un});var EE,un,nd=p(()=>{"use strict";tt();jo();EE={checkVisibility:!0},un=Re(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(o,n){let{checkVisibility:a}={...EE,...n};setTimeout(()=>{(!a||this.checkVisibility())&&(o=typeof o=="string"?o:o?.message,o&&this.dispatchEvent(new Vi({type:"aria",message:o})))},20)}}return e})});var ad={};j(ad,{withConditionalVisibility:()=>OE});function OE(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(o,n){if(o){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=n,this.shadowRoot.append(a)}}hideIfNecessary(){let o=!(this.forceVisible||this.isVisible);this.calculateStyles(o,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(o){super.willUpdate(o),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(n=>n.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Fg([h({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),Fg([T()],e.prototype,"isVisible",void 0),e}var Fg,sd=p(()=>{"use strict";q();Fg=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}});var cd={};j(cd,{FormController:()=>ld});function wE(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var ld,dd=p(()=>{"use strict";Cr();ld=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=wE(r),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(e){return this.data[e]}hasError(e){return this.errors.has(e)}errorFor(e){return this.errors.get(e)}setValue(e,r){if(this.data[e]===r)return;let o={...this.data};o[e]=r,this.data=o,this.checkValidity()}bind(e){return r=>this.setValue(e,r.detail)}setInitialValues(e){this.initial={...e},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(e,r){var o,n;let a=(n=(o=this.config[e]).validator)===null||n===void 0?void 0:n.call(o,this.value(e),this.data,r);a!==void 0&&this.errors.set(e,a)}checkValidity(e){return this.errors.clear(),this.fields.forEach(r=>{this.validateField(r,e)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let e of this.fields){let r=this.config[e].selector;if(this.errors.has(e)&&r!==void 0)return r}}focusFirstFieldInError(){let e=this.firstFieldSelectorInError;if(e===void 0)return;let r=this.host.renderRoot.querySelector(e);r instanceof HTMLElement&&r.focus()}async submit(e){var r,o,n;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(r=e.onInvalid)===null||r===void 0||r.call(e);return}e.onSuccess(await e.request(this.data))}catch(a){let s=gg(a)?a:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(o=e.onInvalid)===null||o===void 0||o.call(e);return}(n=e.onFailure)===null||n===void 0||n.call(e,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}}});function pd(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}var ud=p(()=>{"use strict"});function Eo(t,e,r){return t?e(t):r?.(t)}var Bg=p(()=>{});var Ua=p(()=>{Bg()});var ze,Oo,wo,fd,yT,Ug=p(()=>{"use strict";ud();q();Ft();Ua();L();tt();ze=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};(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Oo||(Oo={}));(function(t){t.default="default",t.warning="warning",t.error="error"})(wo||(wo={}));fd=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},yT=Re(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Oo.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=wo.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Oo.blur||this.validateOn===Oo.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==wo.default&&this.validateOn===Oo.blurWithStatusResolutionOnInput||this.validateOn===Oo.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=pd(this.value,[...this.errorRules,...this.additionalErrorRules]),this.warningMessages=pd(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new fd(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return y`
71
+ `});var nd={};j(nd,{withAriaNotification:()=>hn});var OE,hn,sd=p(()=>{"use strict";tt();Ko();OE={checkVisibility:!0},hn=Re(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(o,n){let{checkVisibility:s}={...OE,...n};setTimeout(()=>{(!s||this.checkVisibility())&&(o=typeof o=="string"?o:o?.message,o&&this.dispatchEvent(new Gi({type:"aria",message:o})))},20)}}return e})});var ad={};j(ad,{withConditionalVisibility:()=>wE});function wE(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(o,n){if(o){let s=document.createElement("style");s.classList.add("conditional-visibility-style"),s.innerHTML=n,this.shadowRoot.append(s)}}hideIfNecessary(){let o=!(this.forceVisible||this.isVisible);this.calculateStyles(o,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(o){super.willUpdate(o),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(n=>n.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Bg([h({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),Bg([L()],e.prototype,"isVisible",void 0),e}var Bg,ld=p(()=>{"use strict";q();Bg=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s}});var dd={};j(dd,{FormController:()=>cd});function RE(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var cd,pd=p(()=>{"use strict";Er();cd=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=RE(r),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(e){return this.data[e]}hasError(e){return this.errors.has(e)}errorFor(e){return this.errors.get(e)}setValue(e,r){if(this.data[e]===r)return;let o={...this.data};o[e]=r,this.data=o,this.checkValidity()}bind(e){return r=>this.setValue(e,r.detail)}setInitialValues(e){this.initial={...e},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(e,r){var o,n;let s=(n=(o=this.config[e]).validator)===null||n===void 0?void 0:n.call(o,this.value(e),this.data,r);s!==void 0&&this.errors.set(e,s)}checkValidity(e){return this.errors.clear(),this.fields.forEach(r=>{this.validateField(r,e)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let e of this.fields){let r=this.config[e].selector;if(this.errors.has(e)&&r!==void 0)return r}}focusFirstFieldInError(){let e=this.firstFieldSelectorInError;if(e===void 0)return;let r=this.host.renderRoot.querySelector(e);r instanceof HTMLElement&&r.focus()}async submit(e){var r,o,n;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(r=e.onInvalid)===null||r===void 0||r.call(e);return}e.onSuccess(await e.request(this.data))}catch(s){let a=yg(s)?s:void 0;if(!this.checkValidity(a)){this.focusFirstFieldInError(),(o=e.onInvalid)===null||o===void 0||o.call(e);return}(n=e.onFailure)===null||n===void 0||n.call(e,a)}finally{this.submitting=!1,this.host.requestUpdate()}}}}});function ud(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}var fd=p(()=>{"use strict"});function Eo(t,e,r){return t?e(t):r?.(t)}var Ug=p(()=>{});var zs=p(()=>{Ug()});var ze,Oo,wo,hd,bT,zg=p(()=>{"use strict";fd();q();Bt();zs();T();tt();ze=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s};(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Oo||(Oo={}));(function(t){t.default="default",t.warning="warning",t.error="error"})(wo||(wo={}));hd=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},bT=Re(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Oo.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=wo.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Oo.blur||this.validateOn===Oo.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==wo.default&&this.validateOn===Oo.blurWithStatusResolutionOnInput||this.validateOn===Oo.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=ud(this.value,[...this.errorRules,...this.additionalErrorRules]),this.warningMessages=ud(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new hd(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return y`
72
72
  <ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
73
73
  style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
74
74
  ${ge(this.errorMessages,o=>y`
@@ -81,7 +81,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?wo.error:this.warningMessages.length?wo.warning:wo.default}}return ze([h()],e.prototype,"warningRules",void 0),ze([h()],e.prototype,"errorRules",void 0),ze([h()],e.prototype,"validateOn",void 0),ze([h({type:Boolean})],e.prototype,"validateAtRender",void 0),ze([h()],e.prototype,"label",void 0),ze([h({type:Boolean})],e.prototype,"hideLabel",void 0),ze([h()],e.prototype,"name",void 0),ze([h({type:Boolean})],e.prototype,"disabled",void 0),ze([h()],e.prototype,"helperText",void 0),ze([h()],e.prototype,"forceStatus",void 0),ze([h({reflect:!0})],e.prototype,"value",void 0),ze([T()],e.prototype,"errorMessages",void 0),ze([T()],e.prototype,"warningMessages",void 0),ze([T()],e.prototype,"status",void 0),ze([T()],e.prototype,"focused",void 0),ze([T()],e.prototype,"additionalWarningRules",void 0),ze([T()],e.prototype,"additionalErrorRules",void 0),e})});var zg=p(()=>{"use strict";Ug();ud()});function RE(t){this._$AN!==void 0?(za(this),this._$AM=t,Hg(this)):this._$AM=t}function AE(t,e=!1,r=0){let o=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(o))for(let a=r;a<o.length;a++)fn(o[a],!1),za(o[a]);else o!=null&&(fn(o,!1),za(o));else fn(this,t)}var fn,za,Hg,_E,ci,Vg=p(()=>{el();io();io();fn=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(e,!1),fn(o,e);return!0},za=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Hg=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),_E(e)}};_E=t=>{t.type==Qt.CHILD&&(t._$AP??=AE,t._$AQ??=RE)},ci=class extends kt{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),Hg(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(fn(this,e),za(this))}setValue(e){if(Ju(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}}});var hd=p(()=>{Vg()});var Wg=p(()=>{Uo();At();Ks()});var md,MT,Gg=p(()=>{"use strict";L();hd();Wg();md=class extends ci{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return Me}update(e){return this.part=e,this.ensureFocusTrap(e.element),Me}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var r,o;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((o=this.lastTrap)===null||o===void 0?void 0:o.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,o,n;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(o=this.firstTrap)===null||o===void 0||o.remove(),(n=this.lastTrap)===null||n===void 0||n.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let o=0;o<r.length;o++){let n=r[o];if(n instanceof HTMLElement&&(this.attemptFocus(n)||await this.focusFirstDescendant(n)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let o=r.length-1;o>=0;o--){let n=r[o];if(n instanceof HTMLElement&&(this.attemptFocus(n)||await this.focusLastDescendant(n)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof Rt&&await e.updateComplete}isInsideElement(e,r){for(let o=e;o;o=o.parentNode){if(o===r)return!0;o instanceof ShadowRoot?o=o.host:o.assignedSlot&&(o=o.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},MT=ft(md)});var jg,kE,gd,BT,Kg=p(()=>{"use strict";hd();L();(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(jg||(jg={}));kE={sm:640,md:768,lg:1024,xl:1280},gd=class extends ci{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,o,n]){return this.lastArgs=[r,o,n],this.render(r,o,n)}render(e,r,o){let n=this.resolveThreshold(e),a=o??(()=>k);return this.size>n?r():a()}resolveThreshold(e){return typeof e=="number"?e:kE[e]}},BT=ft(gd)});var qg=p(()=>{"use strict";Gg();Kg()});function Ha(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(n,a){var s,l;let d=(l=(s=this.configuredAnalyticsActions)===null||s===void 0?void 0:s[n])===null||l===void 0?void 0:l.eventName;if(!d)return;let f=e[n];this.dispatchEvent(new yd({eventName:d,actionType:n,componentType:this.tagName.toLowerCase(),componentId:this.id||f?.defaultComponentId||this.tagName.toLowerCase(),data:a}))}}return r.analyticsActions=e,LE([pe({})],r.prototype,"configuredAnalyticsActions",void 0),r}var LE,yd,Zg=p(()=>{"use strict";ao();LE=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},yd=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}}});var bd,xd,vd,Sd,Ro,hn,E=p(()=>{"use strict";wu();L();q();Ft();et();lf();Ui();al();bl();qn();Ol();ea();ao();Ll();Il();jo();ca();Zl();ta();rc();en();oc();tt();sc();dc();pc();fc();Na();da();Uc();pa();Wc();qc();Ba();Ko();Xc();td();rd();od();Jn();nd();sd();dd();td();rd();al();bl();qn();Ol();Ba();ea();ao();Ll();Il();jo();ca();Uc();Zl();ta();rc();qc();en();nd();sd();oc();tt();sc();dc();pc();fc();Na();Xc();da();pa();Wc();od();zg();qg();Jn();Ko();Zg();dd();Ro=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((vd=(xd=(bd=window.safari)===null||bd===void 0?void 0:bd.pushNotification)===null||xd===void 0?void 0:xd.toString())!==null&&vd!==void 0?vd:"")==="[object SafariRemoteNotification]",hn="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Sd=window.ftGlobals)!==null&&Sd!==void 0?Sd:{lit:qs,litDecorators:Js,litRepeat:tl,litClassMap:rl,litStyleMap:ol,litUnsafeHTML:il,wcUtils:{...nl,...yl,...sl,...El,...Zc,...wl,...ll,...kl,...gl,...Kl,...ed,...Dg,...Bc,...ql,..._l,...tc,...Kc,...Jl,...id,...ad,...Yh,...fl,...ac,...Tl,...cc,...li,...rm,...uc,...Mc,...Yc,...Ql,...Xl,...Vc,...vl,...cd,isSafari:Ro,isTouchScreen:hn,setVariable:w}}});var Qg,le,Yg,Xg,Jg,ey,ty,Er=p(()=>{"use strict";L();E();Qg=i.extend("--ft-ripple-color","",x.colorContent),le={color:Qg,backgroundColor:i.extend("--ft-ripple-background-color","",Qg),opacityContentOnSurfacePressed:i.external(x.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.external(x.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.external(x.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.external(x.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.create("--ft-ripple-border-radius","","SIZE","0px")},Yg=i.extend("--ft-ripple-color","",x.colorPrimary),Xg={color:Yg,backgroundColor:i.extend("--ft-ripple-background-color","",Yg)},Jg=i.extend("--ft-ripple-color","",x.colorSecondary),ey={color:Jg,backgroundColor:i.extend("--ft-ripple-background-color","",Jg)},ty=O`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?wo.error:this.warningMessages.length?wo.warning:wo.default}}return ze([h()],e.prototype,"warningRules",void 0),ze([h()],e.prototype,"errorRules",void 0),ze([h()],e.prototype,"validateOn",void 0),ze([h({type:Boolean})],e.prototype,"validateAtRender",void 0),ze([h()],e.prototype,"label",void 0),ze([h({type:Boolean})],e.prototype,"hideLabel",void 0),ze([h()],e.prototype,"name",void 0),ze([h({type:Boolean})],e.prototype,"disabled",void 0),ze([h()],e.prototype,"helperText",void 0),ze([h()],e.prototype,"forceStatus",void 0),ze([h({reflect:!0})],e.prototype,"value",void 0),ze([L()],e.prototype,"errorMessages",void 0),ze([L()],e.prototype,"warningMessages",void 0),ze([L()],e.prototype,"status",void 0),ze([L()],e.prototype,"focused",void 0),ze([L()],e.prototype,"additionalWarningRules",void 0),ze([L()],e.prototype,"additionalErrorRules",void 0),e})});var Hg=p(()=>{"use strict";zg();fd()});function AE(t){this._$AN!==void 0?(Hs(this),this._$AM=t,Vg(this)):this._$AM=t}function _E(t,e=!1,r=0){let o=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(o))for(let s=r;s<o.length;s++)mn(o[s],!1),Hs(o[s]);else o!=null&&(mn(o,!1),Hs(o));else mn(this,t)}var mn,Hs,Vg,kE,di,Wg=p(()=>{tl();io();io();mn=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(e,!1),mn(o,e);return!0},Hs=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Vg=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),kE(e)}};kE=t=>{t.type==Qt.CHILD&&(t._$AP??=_E,t._$AQ??=AE)},di=class extends kt{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),Vg(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(mn(this,e),Hs(this))}setValue(e){if(ef(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}}});var md=p(()=>{Wg()});var Gg=p(()=>{zo();At();qa()});var gd,$T,jg=p(()=>{"use strict";T();md();Gg();gd=class extends di{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return Me}update(e){return this.part=e,this.ensureFocusTrap(e.element),Me}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var r,o;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((o=this.lastTrap)===null||o===void 0?void 0:o.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,o,n;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(o=this.firstTrap)===null||o===void 0||o.remove(),(n=this.lastTrap)===null||n===void 0||n.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let o=0;o<r.length;o++){let n=r[o];if(n instanceof HTMLElement&&(this.attemptFocus(n)||await this.focusFirstDescendant(n)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let o=r.length-1;o>=0;o--){let n=r[o];if(n instanceof HTMLElement&&(this.attemptFocus(n)||await this.focusLastDescendant(n)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof Rt&&await e.updateComplete}isInsideElement(e,r){for(let o=e;o;o=o.parentNode){if(o===r)return!0;o instanceof ShadowRoot?o=o.host:o.assignedSlot&&(o=o.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},$T=ft(gd)});var Kg,LE,yd,UT,qg=p(()=>{"use strict";md();T();(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Kg||(Kg={}));LE={sm:640,md:768,lg:1024,xl:1280},yd=class extends di{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,o,n]){return this.lastArgs=[r,o,n],this.render(r,o,n)}render(e,r,o){let n=this.resolveThreshold(e),s=o??(()=>k);return this.size>n?r():s()}resolveThreshold(e){return typeof e=="number"?e:LE[e]}},UT=ft(yd)});var Zg=p(()=>{"use strict";jg();qg()});function Vs(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(n,s){var a,l;let d=(l=(a=this.configuredAnalyticsActions)===null||a===void 0?void 0:a[n])===null||l===void 0?void 0:l.eventName;if(!d)return;let f=e[n];this.dispatchEvent(new bd({eventName:d,actionType:n,componentType:this.tagName.toLowerCase(),componentId:this.id||f?.defaultComponentId||this.tagName.toLowerCase(),data:s}))}}return r.analyticsActions=e,TE([pe({})],r.prototype,"configuredAnalyticsActions",void 0),r}var TE,bd,Qg=p(()=>{"use strict";so();TE=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},bd=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}}});var xd,vd,Sd,Cd,Ro,gn,E=p(()=>{"use strict";Ru();T();q();Bt();et();cf();Hi();al();xl();Zn();wl();ts();so();Tl();Pl();Ko();ds();Ql();rs();oc();rn();ic();tt();lc();pc();uc();hc();Ms();ps();zc();us();Gc();Zc();Us();qo();Jc();rd();od();id();es();sd();ld();pd();rd();od();al();xl();Zn();wl();Us();ts();so();Tl();Pl();Ko();ds();zc();Ql();rs();oc();Zc();rn();sd();ld();ic();tt();lc();pc();uc();hc();Ms();Jc();ps();us();Gc();id();Hg();Zg();es();qo();Qg();pd();Ro=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Sd=(vd=(xd=window.safari)===null||xd===void 0?void 0:xd.pushNotification)===null||vd===void 0?void 0:vd.toString())!==null&&Sd!==void 0?Sd:"")==="[object SafariRemoteNotification]",gn="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Cd=window.ftGlobals)!==null&&Cd!==void 0?Cd:{lit:Za,litDecorators:el,litRepeat:rl,litClassMap:ol,litStyleMap:il,litUnsafeHTML:nl,wcUtils:{...sl,...bl,...ll,...Ol,...Qc,...Rl,...cl,...Ll,...yl,...ql,...td,...Fg,...Uc,...Zl,...kl,...rc,...qc,...ec,...nd,...ad,...Xh,...hl,...ac,...Il,...dc,...ci,...om,...fc,...$c,...Xc,...Yl,...Jl,...Wc,...Sl,...dd,isSafari:Ro,isTouchScreen:gn,setVariable:w}}});var Yg,le,Xg,Jg,ey,ty,ry,Or=p(()=>{"use strict";T();E();Yg=i.extend("--ft-ripple-color","",x.colorContent),le={color:Yg,backgroundColor:i.extend("--ft-ripple-background-color","",Yg),opacityContentOnSurfacePressed:i.external(x.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.external(x.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.external(x.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.external(x.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.create("--ft-ripple-border-radius","","SIZE","0px")},Xg=i.extend("--ft-ripple-color","",x.colorPrimary),Jg={color:Xg,backgroundColor:i.extend("--ft-ripple-background-color","",Xg)},ey=i.extend("--ft-ripple-color","",x.colorSecondary),ty={color:ey,backgroundColor:i.extend("--ft-ripple-background-color","",ey)},ry=O`
85
85
  :host {
86
86
  display: contents;
87
87
  }
@@ -136,19 +136,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
136
136
  }
137
137
 
138
138
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
139
- background-color: ${ey.backgroundColor};
139
+ background-color: ${ty.backgroundColor};
140
140
  }
141
141
 
142
142
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
143
- background-color: ${ey.color};
143
+ background-color: ${ty.color};
144
144
  }
145
145
 
146
146
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
147
- background-color: ${Xg.backgroundColor};
147
+ background-color: ${Jg.backgroundColor};
148
148
  }
149
149
 
150
150
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
151
- background-color: ${Xg.color};
151
+ background-color: ${Jg.color};
152
152
  }
153
153
 
154
154
  .ft-ripple .ft-ripple--background {
@@ -193,7 +193,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
193
193
  opacity: ${le.opacityContentOnSurfacePressed};
194
194
  transform: translate(-50%, -50%) scale(1);
195
195
  }
196
- `});var ct,Z,Cd=p(()=>{"use strict";L();q();et();E();Er();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},Z=class extends ${constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new se(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new se(10),this.moveRipple=e=>{var r,o;let{x:n,y:a}=this.getCoordinates(e),s=(o=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return y`
196
+ `});var ct,Z,Ed=p(()=>{"use strict";T();q();et();E();Or();ct=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Z=class extends ${constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ae(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ae(10),this.moveRipple=e=>{var r,o;let{x:n,y:s}=this.getCoordinates(e),a=(o=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-a.x:a.width/2),this.originY=Math.round(s!=null?s-a.y:a.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return y`
197
197
  <style>
198
198
  .ft-ripple .ft-ripple--effect {
199
199
  left: ${this.originX}px;
@@ -204,17 +204,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
204
204
  <div class="ft-ripple--background"></div>
205
205
  <div class="ft-ripple--effect"></div>
206
206
  </div>
207
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,o;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let o=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;o&&this.setupFor((r=this.target)!==null&&r!==void 0?r:o)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},o=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",o,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",o,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,o=e,n,a;return r.x!=null?{x:n,y:a}=r:o.touches!=null&&(n=o.touches[0].clientX,a=o.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Z.elementDefinitions={};Z.styles=ty;ct([h({type:Boolean})],Z.prototype,"primary",void 0);ct([h({type:Boolean})],Z.prototype,"secondary",void 0);ct([h({type:Boolean})],Z.prototype,"unbounded",void 0);ct([h({type:Boolean})],Z.prototype,"activated",void 0);ct([h({type:Boolean})],Z.prototype,"selected",void 0);ct([h({type:Boolean})],Z.prototype,"disabled",void 0);ct([T()],Z.prototype,"hovered",void 0);ct([T()],Z.prototype,"focused",void 0);ct([T()],Z.prototype,"pressed",void 0);ct([T()],Z.prototype,"rippling",void 0);ct([T()],Z.prototype,"originX",void 0);ct([T()],Z.prototype,"originY",void 0);ct([M(".ft-ripple")],Z.prototype,"ripple",void 0);ct([M(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0)});var oy=p(()=>{"use strict"});var iy,ny=p(()=>{"use strict";Cd();iy={"ft-ripple":Z}});var ay=p(()=>{"use strict";E();ny();B(iy)});var rt=p(()=>{"use strict";Cd();Er();oy();ay()});var ly,TE,Ed,sy,Od,wd,iP,nP,cy=p(()=>{At();ly=Symbol.for(""),TE=t=>{if(t?.r===ly)return t?._$litStatic$},Ed=t=>({_$litStatic$:t,r:ly}),sy=new Map,Od=t=>(e,...r)=>{let o=r.length,n,a,s=[],l=[],d,f=0,g=!1;for(;f<o;){for(d=e[f];f<o&&(a=r[f],(n=TE(a))!==void 0);)d+=n+e[++f],g=!0;f!==o&&l.push(a),s.push(d),f++}if(f===o&&s.push(e[o]),g){let m=s.join("$$lit$$");(e=sy.get(m))===void 0&&(s.raw=s,sy.set(m,e=s)),r=l}return t(e,...r)},wd=Od(y),iP=Od(Hs),nP=Od(Vs)});var dy=p(()=>{cy()});var fe,Va=p(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(fe||(fe={}))});var py,wr,N,di,pi,ui,fi,Or,$e,vt,hi,mi,ir,uy,fy,hy,my,gy,Wr,Gr,yy,by,xy,vy,Ht=p(()=>{"use strict";L();E();py=i.extend("--ft-typography-font-family","",x.titleFont),wr=i.extend("--ft-typography-font-family","",x.contentFont),N={fontFamily:wr,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")},di={fontFamily:i.extend("--ft-typography-title-font-family","",py),fontSize:i.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:i.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:i.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:i.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},pi={fontFamily:i.extend("--ft-typography-title-dense-font-family","",py),fontSize:i.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:i.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:i.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},ui={fontFamily:i.extend("--ft-typography-subtitle1-font-family","",wr),fontSize:i.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:i.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:i.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},fi={fontFamily:i.extend("--ft-typography-subtitle2-font-family","",wr),fontSize:i.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:i.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:i.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},Or={fontFamily:i.extend("--ft-typography-body1-font-family","",wr),fontSize:i.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:i.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:i.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},$e={fontFamily:i.extend("--ft-typography-body2-font-family","",wr),fontSize:i.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:i.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:i.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:i.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},vt={fontFamily:i.extend("--ft-typography-caption-font-family","",wr),fontSize:i.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:i.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:i.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:i.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},hi={fontFamily:i.extend("--ft-typography-breadcrumb-font-family","",wr),fontSize:i.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:i.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:i.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},mi={fontFamily:i.extend("--ft-typography-overline-font-family","",wr),fontSize:i.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:i.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:i.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},ir={fontFamily:i.extend("--ft-typography-button-font-family","",wr),fontSize:i.extend("--ft-typography-button-font-size","",N.fontSize,"14px"),fontWeight:i.extend("--ft-typography-button-font-weight","",N.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-button-letter-spacing","",N.letterSpacing,"1.246px"),lineHeight:i.extend("--ft-typography-button-line-height","",N.lineHeight,"1.15"),textTransform:i.extend("--ft-typography-button-text-transform","",N.textTransform,"uppercase")},uy=O`
207
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,o;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let o=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;o&&this.setupFor((r=this.target)!==null&&r!==void 0?r:o)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},o=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),s=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},a={passive:!0};e.addEventListener("mouseover",this.startHover,a),e.addEventListener("mousemove",this.moveRipple,a),e.addEventListener("mouseleave",this.endHover,a),e.addEventListener("mousedown",o,a),e.addEventListener("touchstart",n,a),e.addEventListener("touchmove",this.moveRipple,a),e.addEventListener("keydown",s,a),e.addEventListener("focus",this.startFocus,a),e.addEventListener("blur",this.endFocus,a),e.addEventListener("focusin",this.startFocus,a),e.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,a),e.removeEventListener("mousemove",this.moveRipple,a),e.removeEventListener("mouseleave",this.endHover,a),e.removeEventListener("mousedown",o,a),e.removeEventListener("touchstart",n,a),e.removeEventListener("touchmove",this.moveRipple,a),e.removeEventListener("keydown",s,a),e.removeEventListener("focus",this.startFocus,a),e.removeEventListener("blur",this.endFocus,a),e.removeEventListener("focusin",this.startFocus,a),e.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,o=e,n,s;return r.x!=null?{x:n,y:s}=r:o.touches!=null&&(n=o.touches[0].clientX,s=o.touches[0].clientY),{x:n,y:s}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Z.elementDefinitions={};Z.styles=ry;ct([h({type:Boolean})],Z.prototype,"primary",void 0);ct([h({type:Boolean})],Z.prototype,"secondary",void 0);ct([h({type:Boolean})],Z.prototype,"unbounded",void 0);ct([h({type:Boolean})],Z.prototype,"activated",void 0);ct([h({type:Boolean})],Z.prototype,"selected",void 0);ct([h({type:Boolean})],Z.prototype,"disabled",void 0);ct([L()],Z.prototype,"hovered",void 0);ct([L()],Z.prototype,"focused",void 0);ct([L()],Z.prototype,"pressed",void 0);ct([L()],Z.prototype,"rippling",void 0);ct([L()],Z.prototype,"originX",void 0);ct([L()],Z.prototype,"originY",void 0);ct([M(".ft-ripple")],Z.prototype,"ripple",void 0);ct([M(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0)});var iy=p(()=>{"use strict"});var ny,sy=p(()=>{"use strict";Ed();ny={"ft-ripple":Z}});var ay=p(()=>{"use strict";E();sy();B(ny)});var rt=p(()=>{"use strict";Ed();Or();iy();ay()});var cy,IE,Od,ly,wd,Rd,nP,sP,dy=p(()=>{At();cy=Symbol.for(""),IE=t=>{if(t?.r===cy)return t?._$litStatic$},Od=t=>({_$litStatic$:t,r:cy}),ly=new Map,wd=t=>(e,...r)=>{let o=r.length,n,s,a=[],l=[],d,f=0,g=!1;for(;f<o;){for(d=e[f];f<o&&(s=r[f],(n=IE(s))!==void 0);)d+=n+e[++f],g=!0;f!==o&&l.push(s),a.push(d),f++}if(f===o&&a.push(e[o]),g){let m=a.join("$$lit$$");(e=ly.get(m))===void 0&&(a.raw=a,ly.set(m,e=a)),r=l}return t(e,...r)},Rd=wd(y),nP=wd(Va),sP=wd(Wa)});var py=p(()=>{dy()});var fe,Ws=p(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(fe||(fe={}))});var uy,Rr,N,pi,ui,fi,hi,wr,$e,vt,mi,gi,ir,fy,hy,my,gy,yy,Wr,Gr,by,xy,vy,Sy,Vt=p(()=>{"use strict";T();E();uy=i.extend("--ft-typography-font-family","",x.titleFont),Rr=i.extend("--ft-typography-font-family","",x.contentFont),N={fontFamily:Rr,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")},pi={fontFamily:i.extend("--ft-typography-title-font-family","",uy),fontSize:i.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:i.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:i.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:i.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},ui={fontFamily:i.extend("--ft-typography-title-dense-font-family","",uy),fontSize:i.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:i.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:i.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},fi={fontFamily:i.extend("--ft-typography-subtitle1-font-family","",Rr),fontSize:i.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:i.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:i.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},hi={fontFamily:i.extend("--ft-typography-subtitle2-font-family","",Rr),fontSize:i.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:i.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:i.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},wr={fontFamily:i.extend("--ft-typography-body1-font-family","",Rr),fontSize:i.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:i.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:i.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},$e={fontFamily:i.extend("--ft-typography-body2-font-family","",Rr),fontSize:i.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:i.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:i.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:i.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},vt={fontFamily:i.extend("--ft-typography-caption-font-family","",Rr),fontSize:i.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:i.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:i.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:i.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},mi={fontFamily:i.extend("--ft-typography-breadcrumb-font-family","",Rr),fontSize:i.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:i.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:i.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},gi={fontFamily:i.extend("--ft-typography-overline-font-family","",Rr),fontSize:i.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:i.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:i.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},ir={fontFamily:i.extend("--ft-typography-button-font-family","",Rr),fontSize:i.extend("--ft-typography-button-font-size","",N.fontSize,"14px"),fontWeight:i.extend("--ft-typography-button-font-weight","",N.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-button-letter-spacing","",N.letterSpacing,"1.246px"),lineHeight:i.extend("--ft-typography-button-line-height","",N.lineHeight,"1.15"),textTransform:i.extend("--ft-typography-button-text-transform","",N.textTransform,"uppercase")},fy=O`
208
208
  .ft-typography--title {
209
- font-family: ${di.fontFamily};
210
- font-size: ${di.fontSize};
211
- font-weight: ${di.fontWeight};
212
- letter-spacing: ${di.letterSpacing};
213
- line-height: ${di.lineHeight};
214
- text-transform: ${di.textTransform};
215
- }
216
- `,fy=O`
217
- .ft-typography--title-dense {
218
209
  font-family: ${pi.fontFamily};
219
210
  font-size: ${pi.fontSize};
220
211
  font-weight: ${pi.fontWeight};
@@ -223,7 +214,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
223
214
  text-transform: ${pi.textTransform};
224
215
  }
225
216
  `,hy=O`
226
- .ft-typography--subtitle1 {
217
+ .ft-typography--title-dense {
227
218
  font-family: ${ui.fontFamily};
228
219
  font-size: ${ui.fontSize};
229
220
  font-weight: ${ui.fontWeight};
@@ -232,7 +223,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
232
223
  text-transform: ${ui.textTransform};
233
224
  }
234
225
  `,my=O`
235
- .ft-typography--subtitle2 {
226
+ .ft-typography--subtitle1 {
236
227
  font-family: ${fi.fontFamily};
237
228
  font-size: ${fi.fontSize};
238
229
  font-weight: ${fi.fontWeight};
@@ -240,15 +231,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
240
231
  line-height: ${fi.lineHeight};
241
232
  text-transform: ${fi.textTransform};
242
233
  }
243
-
244
234
  `,gy=O`
235
+ .ft-typography--subtitle2 {
236
+ font-family: ${hi.fontFamily};
237
+ font-size: ${hi.fontSize};
238
+ font-weight: ${hi.fontWeight};
239
+ letter-spacing: ${hi.letterSpacing};
240
+ line-height: ${hi.lineHeight};
241
+ text-transform: ${hi.textTransform};
242
+ }
243
+
244
+ `,yy=O`
245
245
  .ft-typography--body1 {
246
- font-family: ${Or.fontFamily};
247
- font-size: ${Or.fontSize};
248
- font-weight: ${Or.fontWeight};
249
- letter-spacing: ${Or.letterSpacing};
250
- line-height: ${Or.lineHeight};
251
- text-transform: ${Or.textTransform};
246
+ font-family: ${wr.fontFamily};
247
+ font-size: ${wr.fontSize};
248
+ font-weight: ${wr.fontWeight};
249
+ letter-spacing: ${wr.letterSpacing};
250
+ line-height: ${wr.lineHeight};
251
+ text-transform: ${wr.textTransform};
252
252
  }
253
253
  `,Wr=O`
254
254
  .ft-typography--body2 {
@@ -268,17 +268,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
268
268
  line-height: ${vt.lineHeight};
269
269
  text-transform: ${vt.textTransform};
270
270
  }
271
- `,yy=O`
272
- .ft-typography--breadcrumb {
273
- font-family: ${hi.fontFamily};
274
- font-size: ${hi.fontSize};
275
- font-weight: ${hi.fontWeight};
276
- letter-spacing: ${hi.letterSpacing};
277
- line-height: ${hi.lineHeight};
278
- text-transform: ${hi.textTransform};
279
- }
280
271
  `,by=O`
281
- .ft-typography--overline {
272
+ .ft-typography--breadcrumb {
282
273
  font-family: ${mi.fontFamily};
283
274
  font-size: ${mi.fontSize};
284
275
  font-weight: ${mi.fontWeight};
@@ -287,6 +278,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
287
278
  text-transform: ${mi.textTransform};
288
279
  }
289
280
  `,xy=O`
281
+ .ft-typography--overline {
282
+ font-family: ${gi.fontFamily};
283
+ font-size: ${gi.fontSize};
284
+ font-weight: ${gi.fontWeight};
285
+ letter-spacing: ${gi.letterSpacing};
286
+ line-height: ${gi.lineHeight};
287
+ text-transform: ${gi.textTransform};
288
+ }
289
+ `,vy=O`
290
290
  .ft-typography--button {
291
291
  font-family: ${ir.fontFamily};
292
292
  font-size: ${ir.fontSize};
@@ -295,19 +295,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
295
295
  line-height: ${ir.lineHeight};
296
296
  text-transform: ${ir.textTransform};
297
297
  }
298
- `,vy=O`
298
+ `,Sy=O`
299
299
  .ft-typography {
300
300
  vertical-align: inherit;
301
301
  }
302
- `});var Sy,ne,Rd=p(()=>{"use strict";dy();q();E();Va();Ht();Sy=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},ne=class extends ${constructor(){super(...arguments),this.variant=fe.body1}render(){return this.element?wd`
303
- <${Ed(this.element)}
302
+ `});var Cy,ne,Ad=p(()=>{"use strict";py();q();E();Ws();Vt();Cy=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},ne=class extends ${constructor(){super(...arguments),this.variant=fe.body1}render(){return this.element?Rd`
303
+ <${Od(this.element)}
304
304
  part="text"
305
305
  class="ft-typography ft-typography--${this.variant}">
306
306
  <slot></slot>
307
- </${Ed(this.element)}>
308
- `:wd`
307
+ </${Od(this.element)}>
308
+ `:Rd`
309
309
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
310
- `}};ne.styles=[uy,fy,hy,my,gy,Wr,Gr,yy,by,xy,vy];Sy([h()],ne.prototype,"element",void 0);Sy([h()],ne.prototype,"variant",void 0)});var Cy,Ey=p(()=>{"use strict";Rd();Cy={"ft-typography":ne}});var Oy=p(()=>{"use strict";E();Ey();B(Cy)});var Te=p(()=>{"use strict";Rd();Ht();Va();Oy()});var mn,wy,Ad=p(()=>{"use strict";L();E();mn={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","",x.borderRadiusS),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","150px")},wy=O`
310
+ `}};ne.styles=[fy,hy,my,gy,yy,Wr,Gr,by,xy,vy,Sy];Cy([h()],ne.prototype,"element",void 0);Cy([h()],ne.prototype,"variant",void 0)});var Ey,Oy=p(()=>{"use strict";Ad();Ey={"ft-typography":ne}});var wy=p(()=>{"use strict";E();Oy();B(Ey)});var Te=p(()=>{"use strict";Ad();Vt();Ws();wy()});var yn,Ry,_d=p(()=>{"use strict";T();E();yn={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","",x.borderRadiusS),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","150px")},Ry=O`
311
311
  .ft-tooltip--container {
312
312
  display: block;
313
313
  }
@@ -325,28 +325,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
325
325
  box-sizing: border-box;
326
326
  overflow: hidden;
327
327
  width: max-content;
328
- max-width: ${mn.maxWidth};
328
+ max-width: ${yn.maxWidth};
329
329
  text-align: center;
330
- padding: ${mn.distance};
330
+ padding: ${yn.distance};
331
331
  }
332
332
 
333
333
  .ft-tooltip--content {
334
334
  padding: 4px 8px;
335
- border-radius: ${mn.borderRadiusS};
336
- background-color: ${mn.backgroundColor};
337
- color: ${mn.color};
335
+ border-radius: ${yn.borderRadiusS};
336
+ background-color: ${yn.backgroundColor};
337
+ color: ${yn.color};
338
338
  position: relative;
339
339
  word-break: break-word;
340
340
  }
341
- `});var IE,Rr,gn,PE,H,Ze=p(()=>{"use strict";E();IE="ft-app-info",Rr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Rr.eventName="authentication-change";gn=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};gn.eventName="ui-locale-changed";PE={session:(t,e)=>{Le(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>H.dispatchEvent(new Rr(e.payload)),0))}},H=Sr.get({name:IE,reducers:PE,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}})});var Wa,FP,Ry=p(()=>{"use strict";q();Na();Ba();Ze();E();Wa=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},FP=Re(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(H)}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=>Co.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Wa([h({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Wa([h({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Wa([ue({store:H.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),Wa([ue({store:H.name})],e.prototype,"uiLocale",void 0),e})});var Ao,_d=p(()=>{"use strict";Ze();Ao=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=H.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=H.subscribe(()=>{o=t.get(e),o&&(n(),r(o))})}})}}});var gi,kd=p(()=>{"use strict";_d();gi=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ao.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ao.await()}}});var Qe,jr=p(()=>{"use strict";E();kd();Qe=class extends gi{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 Xt,this.cache=e?n.commonCache:new Xt}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 Ga,Ld=p(()=>{"use strict";Ze();Cr();jr();Ga=class extends Qe{async listMySearches(){let{session:e}=H.getState();return Fa(e,ke.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}}});var ja,Td=p(()=>{"use strict";Ze();jr();ja=class extends Qe{async listMyBookmarks(){let e=H.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}}});var Ka,Ay=p(()=>{"use strict";Ze();jr();Ka=class extends Qe{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=H.getState().session;return!!e?.sessionAuthenticated}}});var qa,_y=p(()=>{"use strict";jr();Ze();qa=class extends Qe{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=H.getState().session;return!!e?.sessionAuthenticated}}});var NE,ME,Ty,Id,Pd,ky,Ly,ot,Nd,$E,Md=p(()=>{"use strict";Cr();E();Ld();Td();Ze();Ay();_y();NE="ft-user-assets",ME={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(It).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;Pd(t,r,[...Id(t,r),n]),ky(t,r,1,o),Ly(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;Pd(t,r,Id(t,r).map(n=>n.id===o.id?o:n)),Ly(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:n}=e.payload;Pd(t,r,Id(t,r).filter(a=>a.id!==n)),ky(t,r,-1,o)}},Ty={[It.SEARCHES]:"savedSearches",[It.BOOKMARKS]:"bookmarks",[It.BOOKS]:void 0,[It.COLLECTIONS]:void 0},Id=(t,e)=>{var r;let o=Ty[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},Pd=(t,e,r)=>{let o=Ty[e];o&&(t[o]=r)},ky=(t,e,r,o)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===It.BOOKMARKS&&o)){let a=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,a+r)}},Ly=(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)},ot=Sr.get({name:NE,reducers:ME,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(It).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Nd=class{constructor(e=new Ka,r=new qa){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=H.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ja,this.savedSearchesService=new Ga,H.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=H.getState();Le((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(),ot.actions.clearAssetCount(),ot.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ot.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ot.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();ot.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();ot.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&ot.getState().assetCounts.allAsset[e]!==r.count&&ot.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&ot.getState().assetCounts.bookmarkByMap[e]!==r.count&&ot.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(ot.getState().assetCounts.bookmarkByMap).length!==0;e===It.BOOKMARKS&&r&&ot.actions.clearBookmarkCountByMap(),ot.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;ot.actions.bookmarks(r)}}},$E=new Nd;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=$E)});var Iy=p(()=>{"use strict";Cr();Md()});var $d,Py=p(()=>{"use strict";Ze();$d=class{addCommand(e,r=!1){H.commands.add(e,r)}consumeCommand(e){return H.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new $d});var Ny,yi,DE,Za,bi,Qa,My=p(()=>{"use strict";Ze();E();jr();yi=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},DE=Symbol("clearAfterUnitTest"),Za=class extends Yn(Qe){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ny]=()=>{this.defaultMessages={},this.cache=new Xt,this.listeners={}},this.currentUiLocale=H.getState().uiLocale,H.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=H.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};Le(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 Fr((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 Yt)&&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 yi({loadedContexts:e})),this.dispatchEvent(new yi({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new yi({loadedContexts:[e]})),this.dispatchEvent(new yi({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>Zn(0).then(()=>o()).catch(()=>null)))}};Ny=DE;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Za{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Za{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});bi=window.FluidTopicsI18nService,Qa=window.FluidTopicsCustomI18nService});var Dd,$y=p(()=>{"use strict";E();Dd=class{highlightHtml(e,r,o){nc(e,r,o)}};window.FluidTopicsHighlightHtmlService=new Dd});var Fd,Dy=p(()=>{"use strict";E();Ze();Fd=class{isDate(e){var r,o,n,a;return(a=(n=((o=(r=H.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,s;if(e==null)return"";try{return Co.format(e,(o=r?.locale)!==null&&o!==void 0?o:H.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1,(s=r?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new Fd});var Ar,Bd=p(()=>{"use strict";E();Ze();Ar=class{static get(e,r){var o,n,a,s;let l=H.getState(),{lang:d,region:f}=(a=(n=(o=l.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Vr(l.baseUrl,e??20,(s=l.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed,r??`${d}-${f}`)}}});var Ya,Fy=p(()=>{"use strict";jr();Ya=class extends Qe{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")}async sendDocumentOnDemandTranslateEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.on_demand_translate event")}async sendTopicAiTranslateEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.ai_translate event")}convertMapToAnalyticsDocument(e){let r;switch(e.editorialType){case"BOOK":r="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":r="SHARED_PERSONAL_BOOK";break;case"ARTICLE":r="RESOURCE";break;case"HTML_PACKAGE":r="HTML_PACKAGE";break;default:throw new TypeError("Unknown editorial type for map : "+e.editorialType)}return{id:e.id,title:e.title,type:r,metadata:e.metadata}}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 Ud,By=p(()=>{"use strict";Bd();Ud=class{urlToSearchRequest(e){return Ar.get().parse(e)}searchRequestToUrl(e){return Ar.get().serialize(e)}};window.FluidTopicsUrlService=new Ud});var _o,Uy=p(()=>{"use strict";_o=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};_o.eventName="change"});var zd,zy,Hy=p(()=>{"use strict";zd=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))}},zy=new zd});var Xa,Vy=p(()=>{"use strict";E();Uy();Hy();Xa=class t extends gr{static build(){return new t(window.history,zy,()=>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),Le(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new _o(this.currentItem())),0)}installProxies(){let e=r=>(o,n,[a,s,l])=>{let d=r(),f={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};o.apply(n,[f,s,l]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let 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(_o.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(_o.eventName,e)}currentItem(){return ht(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 ht(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(o=>!!o).filter(o=>o.index<this.currentIndex).reverse();return ht(r.find(o=>e(o)))}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 ht(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 Wy=p(()=>{"use strict";Vy();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Xa.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)})});var Gy=p(()=>{"use strict";Ze()});var Ja=p(()=>{"use strict";Td();_d();Py();My();jr();$y();Ld();Dy();Bd();Fy();By();Wy();Gy()});var jy,Hd=p(()=>{"use strict";L();jy=O`
342
- `});var Ky=p(()=>{"use strict"});function qy(t,e){let{authenticationRequired:r,session:o}=H.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var Zy=p(()=>{"use strict";Ze()});var es,Qy=p(()=>{"use strict";kd();es=class extends gi{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}}});var Vd,yn,Wd=p(()=>{"use strict";E();Ze();Zy();Ja();Qy();Vd=class t extends xo{static build(e){return new t(H,e)}constructor(e,r){super(),this.store=e,this.cache=new Xt,this.withManualResources=!0,this.userLocaleService=new es,this.cleanSessionDebouncer=new se,this.reloadDebouncer=new se(500),this.apiProvider=r??(()=>Ao.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}async initService(){this.store.addEventListener(Rr.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>qy(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}reloadConfiguration(){var e;(e=this.cache)===null||e===void 0||e.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setTenantId(e){this.store.actions.tenantId(e)}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){this.store.actions.localesConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e,r){this.userLocaleService.updateUiLocale({uiLocale:e,contentLocale:r}).then(o=>{o.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new gn(o)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setNoCustomCode(e){this.store.actions.noCustomCode(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}},yn=Vd.build()});var ko,bn=p(()=>{ko=class extends Event{constructor(e,r,o,n){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=o,this.subscribe=n??!1}}});var Yy=p(()=>{});var Gd=p(()=>{bn();});var Xy=p(()=>{});var jd=p(()=>{bn();Xy();});var xn,Jy=p(()=>{bn();xn=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=e=>{let r=this.pendingContextRequests.get(e.context);if(r===void 0)return;this.pendingContextRequests.delete(e.context);let{requests:o}=r;for(let{elementRef:n,callbackRef:a}of o){let s=n.deref(),l=a.deref();s===void 0||l===void 0||s.dispatchEvent(new ko(e.context,s,l,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],o=e.callback,n=this.pendingContextRequests.get(e.context);n===void 0&&this.pendingContextRequests.set(e.context,n={callbacks:new WeakMap,requests:[]});let a=n.callbacks.get(r);a===void 0&&n.callbacks.set(r,a=new WeakSet),a.has(o)||(a.add(o),n.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(o)}))}}attach(e){e.addEventListener("context-request",this.onContextRequest),e.addEventListener("context-provider",this.onContextProvider)}detach(e){e.removeEventListener("context-request",this.onContextRequest),e.removeEventListener("context-provider",this.onContextProvider)}}});var eb=p(()=>{jd();});var tb=p(()=>{Gd();});var rb=p(()=>{bn();Yy();Gd();jd();Jy();eb();tb()});var Fe,Ee,Kd=p(()=>{"use strict";L();q();E();Hd();Ja();Wd();rb();Fe=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},Ee=class extends yt{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=yn,this.contextRoot=new xn}render(){return y`
341
+ `});var PE,nr,bn,NE,H,Ze=p(()=>{"use strict";E();PE="ft-app-info",nr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};nr.eventName="authentication-change";bn=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};bn.eventName="ui-locale-changed";NE={session:(t,e)=>{Le(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>H.dispatchEvent(new nr(e.payload)),0))}},H=Cr.get({name:PE,reducers:NE,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}})});var Gs,BP,Ay=p(()=>{"use strict";q();Ms();Us();Ze();E();Gs=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},BP=Re(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(H)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var n,s;return((s=(n=this.metadataDescriptors.find(l=>l.key===o))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1)?l=>Co.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Gs([h({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Gs([h({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Gs([ue({store:H.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),Gs([ue({store:H.name})],e.prototype,"uiLocale",void 0),e})});var Ao,kd=p(()=>{"use strict";Ze();Ao=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=H.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=H.subscribe(()=>{o=t.get(e),o&&(n(),r(o))})}})}}});var yi,Ld=p(()=>{"use strict";kd();yi=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ao.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ao.await()}}});var Qe,jr=p(()=>{"use strict";E();Ld();Qe=class extends yi{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(o=n.commonCache)!==null&&o!==void 0?o:new Xt,this.cache=e?n.commonCache:new Xt}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 js,Td=p(()=>{"use strict";Ze();Er();jr();js=class extends Qe{async listMySearches(){let{session:e}=H.getState();return Bs(e,ke.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}}});var Ks,Id=p(()=>{"use strict";Ze();jr();Ks=class extends Qe{async listMyBookmarks(){let e=H.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}}});var qs,_y=p(()=>{"use strict";Ze();jr();qs=class extends Qe{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=H.getState().session;return!!e?.sessionAuthenticated}}});var Zs,ky=p(()=>{"use strict";jr();Ze();Zs=class extends Qe{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=H.getState().session;return!!e?.sessionAuthenticated}}});var ME,$E,Iy,Pd,Nd,Ly,Ty,ot,Md,DE,$d=p(()=>{"use strict";Er();E();Td();Id();Ze();_y();ky();ME="ft-user-assets",$E={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(It).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;Nd(t,r,[...Pd(t,r),n]),Ly(t,r,1,o),Ty(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;Nd(t,r,Pd(t,r).map(n=>n.id===o.id?o:n)),Ty(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:n}=e.payload;Nd(t,r,Pd(t,r).filter(s=>s.id!==n)),Ly(t,r,-1,o)}},Iy={[It.SEARCHES]:"savedSearches",[It.BOOKMARKS]:"bookmarks",[It.BOOKS]:void 0,[It.COLLECTIONS]:void 0},Pd=(t,e)=>{var r;let o=Iy[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},Nd=(t,e,r)=>{let o=Iy[e];o&&(t[o]=r)},Ly=(t,e,r,o)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===It.BOOKMARKS&&o)){let s=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,s+r)}},Ty=(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)},ot=Cr.get({name:ME,reducers:$E,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(It).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Md=class{constructor(e=new qs,r=new Zs){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=H.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ks,this.savedSearchesService=new js,H.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=H.getState();Le((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(),ot.actions.clearAssetCount(),ot.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ot.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ot.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();ot.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();ot.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&ot.getState().assetCounts.allAsset[e]!==r.count&&ot.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&ot.getState().assetCounts.bookmarkByMap[e]!==r.count&&ot.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(ot.getState().assetCounts.bookmarkByMap).length!==0;e===It.BOOKMARKS&&r&&ot.actions.clearBookmarkCountByMap(),ot.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;ot.actions.bookmarks(r)}}},DE=new Md;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=DE)});var Py=p(()=>{"use strict";Er();$d()});var Dd,Ny=p(()=>{"use strict";Ze();Dd=class{addCommand(e,r=!1){H.commands.add(e,r)}consumeCommand(e){return H.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Dd});var My,bi,FE,Qs,xi,Ys,$y=p(()=>{"use strict";Ze();E();jr();bi=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},FE=Symbol("clearAfterUnitTest"),Qs=class extends Xn(Qe){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[My]=()=>{this.defaultMessages={},this.cache=new Xt,this.listeners={}},this.currentUiLocale=H.getState().uiLocale,H.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=H.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};Le(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 s=e.toLowerCase(),a=this.resolveContext(s);return new Fr((n=this.defaultMessages[s])!==null&&n!==void 0?n:{},a).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 Yt)&&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 bi({loadedContexts:e})),this.dispatchEvent(new bi({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new bi({loadedContexts:[e]})),this.dispatchEvent(new bi({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>Qn(0).then(()=>o()).catch(()=>null)))}};My=FE;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Qs{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Qs{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});xi=window.FluidTopicsI18nService,Ys=window.FluidTopicsCustomI18nService});var Fd,Dy=p(()=>{"use strict";E();Fd=class{highlightHtml(e,r,o){sc(e,r,o)}};window.FluidTopicsHighlightHtmlService=new Fd});var Bd,Fy=p(()=>{"use strict";E();Ze();Bd=class{isDate(e){var r,o,n,s;return(s=(n=((o=(r=H.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&&s!==void 0?s:!1}format(e,r){var o,n,s,a;if(e==null)return"";try{return Co.format(e,(o=r?.locale)!==null&&o!==void 0?o:H.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(a=r?.onlyTime)!==null&&a!==void 0?a:!1)}catch(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new Bd});var Ar,Ud=p(()=>{"use strict";E();Ze();Ar=class{static get(e,r){var o,n,s,a;let l=H.getState(),{lang:d,region:f}=(s=(n=(o=l.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&s!==void 0?s:{lang:"en",region:"US"};return new Vr(l.baseUrl,e??20,(a=l.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed,r??`${d}-${f}`)}}});var Xs,By=p(()=>{"use strict";jr();Xs=class extends Qe{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")}async sendDocumentOnDemandTranslateEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.on_demand_translate event")}async sendTopicAiTranslateEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.ai_translate event")}convertMapToAnalyticsDocument(e){let r;switch(e.editorialType){case"BOOK":r="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":r="SHARED_PERSONAL_BOOK";break;case"ARTICLE":r="RESOURCE";break;case"HTML_PACKAGE":r="HTML_PACKAGE";break;default:throw new TypeError("Unknown editorial type for map : "+e.editorialType)}return{id:e.id,title:e.title,type:r,metadata:e.metadata}}sortEventArrays(e){let r=Object.entries(e).map(([o,n])=>Array.isArray(n)?[o,n.map(s=>typeof s=="object"&&s!=null&&!Array.isArray(s)?this.sortEventArrays(s):s).sort((s,a)=>typeof s=="object"&&s!==null&&"key"in s?s.key.localeCompare(a.key):typeof s=="string"&&typeof a=="string"?s.localeCompare(a):String(s).localeCompare(String(a)))]: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 zd,Uy=p(()=>{"use strict";Ud();zd=class{urlToSearchRequest(e){return Ar.get().parse(e)}searchRequestToUrl(e){return Ar.get().serialize(e)}};window.FluidTopicsUrlService=new zd});var _o,ko,zy=p(()=>{"use strict";_o=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};_o.eventName="before-location-change";ko=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};ko.eventName="change"});var Hd,Hy,Vy=p(()=>{"use strict";Hd=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))}},Hy=new Hd});var Js,Wy=p(()=>{"use strict";E();zy();Vy();Js=class t extends yr{static build(){return new t(window.history,Hy,()=>window.location,!1)}constructor(e,r,o,n){var s,a;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(a=(s=e.state)===null||s===void 0?void 0:s.index)!==null&&a!==void 0?a:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(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),Le(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new ko(this.currentItem())),0)}installProxies(){let e=r=>(o,n,[s,a,l])=>{let d=new _o(new URL(typeof l=="string"?l:(l??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let f=r(),g={...f===this.currentIndex?this.currentState:void 0,...s,index:f,href:d.detail.nextLocation.href};o.apply(n,[g,a,g.href]),this.setCurrentState(g,!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)}addBeforeLocationChangeListener(e){this.addEventListener(_o.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(_o.eventName,e)}addHistoryChangeListener(e){this.addEventListener(ko.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(ko.eventName,e)}currentItem(){return ht(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 ht(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(o=>!!o).filter(o=>o.index<this.currentIndex).reverse();return ht(r.find(o=>e(o)))}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 ht(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,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,o);)this.hasState(s)&&(n=s),s++;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,s=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return s==null||s!=n}}});var Gy=p(()=>{"use strict";Wy();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Js.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t),addBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(t),removeBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(t)})});var jy=p(()=>{"use strict";Ze()});var ea=p(()=>{"use strict";Id();kd();Ny();$y();jr();Dy();Td();Fy();Ud();By();Uy();Gy();jy()});var Ky,Vd=p(()=>{"use strict";T();Ky=O`
342
+ `});var qy=p(()=>{"use strict"});function Zy(t,e){let{authenticationRequired:r,session:o}=H.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var Qy=p(()=>{"use strict";Ze()});var ta,Yy=p(()=>{"use strict";Ld();ta=class extends yi{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}}});var Wd,xn,Gd=p(()=>{"use strict";E();Ze();Qy();ea();Yy();Wd=class t extends xo{static build(e){return new t(H,e)}constructor(e,r){super(),this.store=e,this.cache=new Xt,this.withManualResources=!0,this.userLocaleService=new ta,this.cleanSessionDebouncer=new ae,this.reloadConfiguration=()=>{var o;(o=this.cache)===null||o===void 0||o.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new ae(500),this.apiProvider=r??(()=>Ao.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(nr.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(nr.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>Zy(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}setStickyFilters(e){this.store.actions.stickyFilters(e)}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setTenantId(e){this.store.actions.tenantId(e)}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){this.store.actions.localesConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e,r){this.userLocaleService.updateUiLocale({uiLocale:e,contentLocale:r}).then(o=>{o.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new bn(o)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setNoCustomCode(e){this.store.actions.noCustomCode(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}},xn=Wd.build()});var Lo,vn=p(()=>{Lo=class extends Event{constructor(e,r,o,n){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=o,this.subscribe=n??!1}}});var Xy=p(()=>{});var jd=p(()=>{vn();});var Jy=p(()=>{});var Kd=p(()=>{vn();Jy();});var Sn,eb=p(()=>{vn();Sn=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=e=>{let r=this.pendingContextRequests.get(e.context);if(r===void 0)return;this.pendingContextRequests.delete(e.context);let{requests:o}=r;for(let{elementRef:n,callbackRef:s}of o){let a=n.deref(),l=s.deref();a===void 0||l===void 0||a.dispatchEvent(new Lo(e.context,a,l,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],o=e.callback,n=this.pendingContextRequests.get(e.context);n===void 0&&this.pendingContextRequests.set(e.context,n={callbacks:new WeakMap,requests:[]});let s=n.callbacks.get(r);s===void 0&&n.callbacks.set(r,s=new WeakSet),s.has(o)||(s.add(o),n.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(o)}))}}attach(e){e.addEventListener("context-request",this.onContextRequest),e.addEventListener("context-provider",this.onContextProvider)}detach(e){e.removeEventListener("context-request",this.onContextRequest),e.removeEventListener("context-provider",this.onContextProvider)}}});var tb=p(()=>{Kd();});var rb=p(()=>{jd();});var ob=p(()=>{vn();Xy();jd();Kd();eb();tb();rb()});var Fe,Ee,qd=p(()=>{"use strict";T();q();E();Vd();ea();Gd();ob();Fe=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ee=class extends yt{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=xn,this.contextRoot=new Sn}render(){return y`
343
343
  <slot></slot>
344
- `}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>bi.addContext(o)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};Ee.elementDefinitions={};Ee.styles=jy;Fe([h()],Ee.prototype,"baseUrl",void 0);Fe([h()],Ee.prototype,"tenantId",void 0);Fe([h()],Ee.prototype,"apiIntegrationIdentifier",void 0);Fe([h()],Ee.prototype,"apiIntegrationAppVersion",void 0);Fe([h()],Ee.prototype,"uiLocale",void 0);Fe([pe(null)],Ee.prototype,"availableUiLocales",void 0);Fe([pe(null)],Ee.prototype,"metadataConfiguration",void 0);Fe([h({type:Boolean})],Ee.prototype,"editorMode",void 0);Fe([h({type:Boolean})],Ee.prototype,"noCustom",void 0);Fe([h({type:Boolean})],Ee.prototype,"openExternalDocumentInNewTab",void 0);Fe([h({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Ee.prototype,"noCustomComponent",void 0);Fe([h({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Ee.prototype,"noCustomCode",void 0);Fe([h({type:Boolean})],Ee.prototype,"withManualResources",void 0);Fe([h({type:Boolean})],Ee.prototype,"navigatorOnline",void 0);Fe([h({type:Boolean})],Ee.prototype,"forcedOffline",void 0);Fe([h({type:Boolean})],Ee.prototype,"authenticationRequired",void 0);Fe([pe([])],Ee.prototype,"messageContexts",void 0);Fe([pe(void 0)],Ee.prototype,"session",void 0)});var ob,ib=p(()=>{"use strict";Kd();ob={"ft-app-context":Ee}});var nb=p(()=>{"use strict";E();ib();B(ob)});var Vt=p(()=>{"use strict";Ry();Ze();Md();Iy();Ja();Hd();Ky();Kd();Wd();nb()});var qd,xi,ts=p(()=>{"use strict";qd=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-]+$/)}},xi=new qd});var UE,Sn,ab,sb,rs,vn,dt,os,is,Cn=p(()=>{"use strict";E();Vt();q();ts();UE=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},Sn=Symbol("i18nAttributes"),ab=Symbol("i18nListAttributes"),sb=Symbol("i18nProperties"),rs=Symbol("i18nContexts"),vn=Symbol("i18nUnsubs"),dt=Re(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?Qa:bi}i18n(a){let{context:s,key:l,message:d}=a,{custom:f,args:g,argsProvider:m}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,f);let b=g??(m?m(this):[]);return this.getI18nService(f).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(xi.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 f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,f=(g,m,b)=>b?.context&&b.key&&a(g,m,b)?{...b,message:this.i18n({context:b.context,key:b.key,custom:b.custom,...g})}:b;(s=this[Sn])===null||s===void 0||s.forEach((g,m)=>d[m]=f(g,m,d[m])),(l=this[ab])===null||l===void 0||l.forEach((g,m)=>{var b;return d[m]=(b=d[m])===null||b===void 0?void 0:b.map(C=>f(g,m,C))})}updateI18nProperties(a){var s;(s=this[sb])===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[rs].set(d,{isCustomContext:l}),this[vn].has(d)||this[vn].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[rs].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[rs].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[vn].forEach(a=>a()),this[vn].clear()}}return e=rs,r=vn,UE([h({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),os=class extends dt($){},is=class extends dt(yt){}});var Zd,zE,lb=p(()=>{"use strict";ts();Zd=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?xi.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},zE=new Zd});var vi,ns=p(()=>{"use strict";Cn();E();ts();lb();vi=(t,e)=>(r,o)=>{var n;r.constructor.createProperty(o,{type:Object,hasChanged:mt,converter:xi,...e}),r[Sn]=(n=r[Sn])!==null&&n!==void 0?n:new Map,r[Sn].set(o,t??{})}});var nr,cb=p(()=>{"use strict";Vt();nr=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?Qa:bi}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 db=p(()=>{"use strict";Cn()});var pb,Qd=p(()=>{"use strict";L();pb=O`
345
- `});var ub=p(()=>{"use strict"});var En,Wt,Yd=p(()=>{"use strict";L();q();E();Qd();Cn();Vt();En=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},Wt=class extends is{constructor(){super(),this.editorMode=!1,this.addStore(H)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":k:y`
344
+ `}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.contextRoot.detach(document.body)}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>xi.addContext(o)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};Ee.elementDefinitions={};Ee.styles=Ky;Fe([h()],Ee.prototype,"baseUrl",void 0);Fe([h()],Ee.prototype,"tenantId",void 0);Fe([h()],Ee.prototype,"apiIntegrationIdentifier",void 0);Fe([h()],Ee.prototype,"apiIntegrationAppVersion",void 0);Fe([h()],Ee.prototype,"uiLocale",void 0);Fe([pe(null)],Ee.prototype,"availableUiLocales",void 0);Fe([pe(null)],Ee.prototype,"metadataConfiguration",void 0);Fe([h({type:Boolean})],Ee.prototype,"editorMode",void 0);Fe([h({type:Boolean})],Ee.prototype,"noCustom",void 0);Fe([h({type:Boolean})],Ee.prototype,"openExternalDocumentInNewTab",void 0);Fe([h({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Ee.prototype,"noCustomComponent",void 0);Fe([h({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Ee.prototype,"noCustomCode",void 0);Fe([h({type:Boolean})],Ee.prototype,"withManualResources",void 0);Fe([h({type:Boolean})],Ee.prototype,"navigatorOnline",void 0);Fe([h({type:Boolean})],Ee.prototype,"forcedOffline",void 0);Fe([h({type:Boolean})],Ee.prototype,"authenticationRequired",void 0);Fe([pe([])],Ee.prototype,"messageContexts",void 0);Fe([pe(void 0)],Ee.prototype,"session",void 0)});var ib,nb=p(()=>{"use strict";qd();ib={"ft-app-context":Ee}});var sb=p(()=>{"use strict";E();nb();B(ib)});var Wt=p(()=>{"use strict";Ay();Ze();$d();Py();ea();Vd();qy();qd();Gd();sb()});var Zd,vi,ra=p(()=>{"use strict";Zd=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-]+$/)}},vi=new Zd});var zE,En,ab,lb,oa,Cn,dt,ia,na,On=p(()=>{"use strict";E();Wt();q();ra();zE=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},En=Symbol("i18nAttributes"),ab=Symbol("i18nListAttributes"),lb=Symbol("i18nProperties"),oa=Symbol("i18nContexts"),Cn=Symbol("i18nUnsubs"),dt=Re(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(s){return s??this.useCustomMessageContexts?Ys:xi}i18n(s){let{context:a,key:l,message:d}=s,{custom:f,args:g,argsProvider:m}=s;if(a&&l){this.hasI18nContext(a)||this.addI18nContext(a,void 0,f);let b=g??(m?m(this):[]);return this.getI18nService(f).resolveMessage(a,l,...b)}return d}async awaitI18n(s){let{context:a,custom:l}=s;return a&&await this.getI18nService(l).prepareContext(a),this.i18n(s)}customI18n(s,a){if(vi.isI18nKey(s)){let[l,d]=s.split(".");return this.i18n({custom:!0,context:l,key:d,...a})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((a,l,d)=>s.has(l)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,l,d)=>{var f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,l;let d=this,f=(g,m,b)=>b?.context&&b.key&&s(g,m,b)?{...b,message:this.i18n({context:b.context,key:b.key,custom:b.custom,...g})}:b;(a=this[En])===null||a===void 0||a.forEach((g,m)=>d[m]=f(g,m,d[m])),(l=this[ab])===null||l===void 0||l.forEach((g,m)=>{var b;return d[m]=(b=d[m])===null||b===void 0?void 0:b.map(C=>f(g,m,C))})}updateI18nProperties(s){var a;(a=this[lb])===null||a===void 0||a.forEach((l,d)=>{s(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(s,a,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,l)}addI18nContext(s,a,l){let d=(typeof s=="string"?s:s.name).toLowerCase();l=typeof s=="string"?l:s.custom,this[oa].set(d,{isCustomContext:l}),this[Cn].has(d)||this[Cn].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,a)}hasI18nContext(s){return this[oa].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[oa].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Cn].forEach(s=>s()),this[Cn].clear()}}return e=oa,r=Cn,zE([h({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),ia=class extends dt($){},na=class extends dt(yt){}});var Qd,HE,cb=p(()=>{"use strict";ra();Qd=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?vi.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},HE=new Qd});var Si,sa=p(()=>{"use strict";On();E();ra();cb();Si=(t,e)=>(r,o)=>{var n;r.constructor.createProperty(o,{type:Object,hasChanged:mt,converter:vi,...e}),r[En]=(n=r[En])!==null&&n!==void 0?n:new Map,r[En].set(o,t??{})}});var sr,db=p(()=>{"use strict";Wt();sr=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?Ys:xi}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(o,n)=>{let s=n;return a=>({context:this.name,key:s,custom:this.custom,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...s)=>this.service.resolveMessage(this.name,n,...s)}),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 pb=p(()=>{"use strict";On()});var ub,Yd=p(()=>{"use strict";T();ub=O`
345
+ `});var fb=p(()=>{"use strict"});var Ci,Pt,Xd=p(()=>{"use strict";T();q();E();Yd();On();Wt();Ci=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Pt=class extends na{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(H)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:k:y`
346
346
  <span class="ft-i18n">
347
347
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
348
348
  </span>
349
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Wt.elementDefinitions={};Wt.styles=pb;En([ue()],Wt.prototype,"editorMode",void 0);En([h()],Wt.prototype,"context",void 0);En([h()],Wt.prototype,"key",void 0);En([pe([])],Wt.prototype,"args",void 0);En([h()],Wt.prototype,"defaultMessage",void 0)});var fb,hb=p(()=>{"use strict";Yd();fb={"ft-i18n":Wt}});var mb=p(()=>{"use strict";E();hb();B(fb)});var Pt=p(()=>{"use strict";cb();Cn();db();Qd();ub();Yd();mb()});var Gt,Ie,Xd=p(()=>{"use strict";L();q();E();Te();Ad();ca();ns();Pt();Gt=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},Ie=class extends os{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new se,this.revealDebouncer=new se,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)?this.matchesIgnored(e)&&this.hide():this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return y`
349
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Pt.elementDefinitions={};Pt.styles=ub;Ci([ue()],Pt.prototype,"editorMode",void 0);Ci([h()],Pt.prototype,"context",void 0);Ci([h()],Pt.prototype,"key",void 0);Ci([pe([])],Pt.prototype,"args",void 0);Ci([h()],Pt.prototype,"defaultMessage",void 0);Ci([L()],Pt.prototype,"editorMessage",void 0)});var hb,mb=p(()=>{"use strict";Xd();hb={"ft-i18n":Pt}});var gb=p(()=>{"use strict";E();mb();B(hb)});var Nt=p(()=>{"use strict";db();On();pb();Yd();fb();Xd();gb()});var Gt,Ie,Jd=p(()=>{"use strict";T();q();E();Te();_d();ds();sa();Nt();Gt=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ie=class extends ia{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ae,this.revealDebouncer=new ae,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)?this.matchesIgnored(e)&&this.hide():this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return y`
350
350
  <div part="container"
351
351
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
352
352
  <slot part="slot"></slot>
@@ -361,7 +361,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
361
361
  </div>
362
362
  </div>
363
363
  </div>
364
- `}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&&Gl(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 ${x.transitionDuration}, left ${x.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(e){return cl(e,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(e){return this.manual||this.matchesIgnored(e)}};Ie.elementDefinitions={"ft-typography":ne};Ie.styles=wy;Gt([vi()],Ie.prototype,"text",void 0);Gt([h({type:Boolean})],Ie.prototype,"manual",void 0);Gt([h({type:Boolean})],Ie.prototype,"inline",void 0);Gt([Lt()],Ie.prototype,"delay",void 0);Gt([h()],Ie.prototype,"position",void 0);Gt([pe([])],Ie.prototype,"ignoreMatchingElements",void 0);Gt([Xs()],Ie.prototype,"slotNodes",void 0);Gt([M(".ft-tooltip--container")],Ie.prototype,"container",void 0);Gt([M(".ft-tooltip")],Ie.prototype,"tooltip",void 0);Gt([M(".ft-tooltip--content")],Ie.prototype,"tooltipContent",void 0);Gt([T()],Ie.prototype,"visible",void 0)});var gb=p(()=>{"use strict"});var yb,bb=p(()=>{"use strict";Xd();yb={"ft-tooltip":Ie}});var xb=p(()=>{"use strict";E();bb();B(yb)});var Jd=p(()=>{"use strict";Xd();Ad();gb();xb()});var it,vb,Si=p(()=>{"use strict";L();E();it={size:i.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:i.extend("--ft-icon-fluid-topics-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:i.extend("--ft-icon-file-format-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:i.extend("--ft-icon-material-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:i.create("--ft-icon-vertical-align","","UNKNOWN","unset")},vb=[O`
364
+ `}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&&jl(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 ${x.transitionDuration}, left ${x.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(e){return dl(e,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(e){return this.manual||this.matchesIgnored(e)}};Ie.elementDefinitions={"ft-typography":ne};Ie.styles=Ry;Gt([Si()],Ie.prototype,"text",void 0);Gt([h({type:Boolean})],Ie.prototype,"manual",void 0);Gt([h({type:Boolean})],Ie.prototype,"inline",void 0);Gt([Lt()],Ie.prototype,"delay",void 0);Gt([h()],Ie.prototype,"position",void 0);Gt([pe([])],Ie.prototype,"ignoreMatchingElements",void 0);Gt([Ja()],Ie.prototype,"slotNodes",void 0);Gt([M(".ft-tooltip--container")],Ie.prototype,"container",void 0);Gt([M(".ft-tooltip")],Ie.prototype,"tooltip",void 0);Gt([M(".ft-tooltip--content")],Ie.prototype,"tooltipContent",void 0);Gt([L()],Ie.prototype,"visible",void 0)});var yb=p(()=>{"use strict"});var bb,xb=p(()=>{"use strict";Jd();bb={"ft-tooltip":Ie}});var vb=p(()=>{"use strict";E();xb();B(bb)});var ep=p(()=>{"use strict";Jd();_d();yb();vb()});var it,Sb,Ei=p(()=>{"use strict";T();E();it={size:i.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:i.extend("--ft-icon-fluid-topics-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:i.extend("--ft-icon-file-format-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:i.extend("--ft-icon-material-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:i.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Sb=[O`
365
365
  :host, i.ft-icon {
366
366
  display: inline-flex;
367
367
  align-items: center;
@@ -409,12 +409,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
409
409
  .ft-icon--material {
410
410
  font-family: ${it.materialFontFamily}, "Material Icons", sans-serif;
411
411
  }
412
- `,mo]});var nt,ep=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(nt||(nt={}))});function as(t,e){var r,o,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=HE.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(o=tp.get(l))!==null&&o!==void 0?o:tp.get(e))!==null&&n!==void 0?n:tp.get(s))!==null&&a!==void 0?a:I.UNKNOWN}var Pe,I,tp,HE,xD,rp=p(()=>{"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.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CIRCLE_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS="&#xe9bd;",t.PERSON_CHALKBOARD="&#xe9be;",t.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",t.BOOK_OPEN_COVER="&#xe9c0;",t.LIGHTBULB="&#xe9c1;",t.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",t.CHART_LINE_USER="&#xe9c3;",t.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Pe||(Pe={}));(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;"})(I||(I={}));tp=new Map([...["abw"].map(t=>[t,I.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,I.AUDIO]),...["avi"].map(t=>[t,I.AVI]),...["chm","xhs"].map(t=>[t,I.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,I.CODE]),...["csv"].map(t=>[t,I.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,I.DITA]),...["epub"].map(t=>[t,I.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,I.EXCEL]),...["flac"].map(t=>[t,I.FLAC]),...["gif"].map(t=>[t,I.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,I.GZIP]),...["html","htm","xhtml"].map(t=>[t,I.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,I.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,I.JPEG]),...["json"].map(t=>[t,I.JSON]),...["m4a","m4p"].map(t=>[t,I.M4A]),...["mov","qt"].map(t=>[t,I.MOV]),...["mp3"].map(t=>[t,I.MP3]),...["mp4","m4v"].map(t=>[t,I.MP4]),...["ogg","oga"].map(t=>[t,I.OGG]),...["pdf","ps"].map(t=>[t,I.PDF]),...["png"].map(t=>[t,I.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,I.POWERPOINT]),...["rar"].map(t=>[t,I.RAR]),...["stp"].map(t=>[t,I.STP]),...["txt","rtf","md","mdown"].map(t=>[t,I.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,I.VIDEO]),...["wav"].map(t=>[t,I.WAV]),...["wma"].map(t=>[t,I.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,I.WORD]),...["xml","xsl","rdf"].map(t=>[t,I.XML]),...["yaml","yml","x-yaml"].map(t=>[t,I.YAML]),...["zip"].map(t=>[t,I.ZIP])]),HE=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"]]);xD={[I.ABW]:"#91ABC6",[I.AUDIO]:"#1795E3",[I.AVI]:"#E63324",[I.CHM]:"#71C3EB",[I.CODE]:"#71C3EB",[I.CSV]:"#1F7345",[I.DITA]:"#71C3EB",[I.EPUB]:"#85B926",[I.EXCEL]:"#1F7345",[I.FLAC]:"#1795E3",[I.GIF]:"#59B031",[I.GZIP]:"#F8AB36",[I.HTML]:"#71C3EB",[I.IMAGE]:"#59B031",[I.JPEG]:"#59B031",[I.JSON]:"#71C3EB",[I.M4A]:"#1795E3",[I.MOV]:"#E63324",[I.MP3]:"#1795E3",[I.MP4]:"#E63324",[I.OGG]:"#1795E3",[I.PDF]:"#E44948",[I.PNG]:"#59B031",[I.POWERPOINT]:"#B54A2B",[I.RAR]:"#F8AB36",[I.STP]:"#3764B1",[I.TEXT]:"#3162AB",[I.UNKNOWN]:"#999999",[I.VIDEO]:"#E63324",[I.WAV]:"#1795E3",[I.WMA]:"#1795E3",[I.WORD]:"#3162AB",[I.XML]:"#71C3EB",[I.YAML]:"#71C3EB",[I.ZIP]:"#F8AB36"}});var On,ve,op=p(()=>{"use strict";L();q();E();Ui();rp();Si();ep();On=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},ve=class extends ${constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=k}render(){let e=this.variant&&Object.values(nt).includes(this.variant)?this.variant:nt.fluid_topics,r=e!==nt.material||!!this.value;return y`
412
+ `,mo]});var nt,tp=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(nt||(nt={}))});function aa(t,e){var r,o,n,s;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[a,l]=(((r=VE.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(s=(n=(o=rp.get(l))!==null&&o!==void 0?o:rp.get(e))!==null&&n!==void 0?n:rp.get(a))!==null&&s!==void 0?s:I.UNKNOWN}var Pe,I,rp,VE,vD,op=p(()=>{"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.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CIRCLE_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS="&#xe9bd;",t.PERSON_CHALKBOARD="&#xe9be;",t.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",t.BOOK_OPEN_COVER="&#xe9c0;",t.LIGHTBULB="&#xe9c1;",t.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",t.CHART_LINE_USER="&#xe9c3;",t.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Pe||(Pe={}));(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;"})(I||(I={}));rp=new Map([...["abw"].map(t=>[t,I.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,I.AUDIO]),...["avi"].map(t=>[t,I.AVI]),...["chm","xhs"].map(t=>[t,I.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,I.CODE]),...["csv"].map(t=>[t,I.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,I.DITA]),...["epub"].map(t=>[t,I.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,I.EXCEL]),...["flac"].map(t=>[t,I.FLAC]),...["gif"].map(t=>[t,I.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,I.GZIP]),...["html","htm","xhtml"].map(t=>[t,I.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,I.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,I.JPEG]),...["json"].map(t=>[t,I.JSON]),...["m4a","m4p"].map(t=>[t,I.M4A]),...["mov","qt"].map(t=>[t,I.MOV]),...["mp3"].map(t=>[t,I.MP3]),...["mp4","m4v"].map(t=>[t,I.MP4]),...["ogg","oga"].map(t=>[t,I.OGG]),...["pdf","ps"].map(t=>[t,I.PDF]),...["png"].map(t=>[t,I.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,I.POWERPOINT]),...["rar"].map(t=>[t,I.RAR]),...["stp"].map(t=>[t,I.STP]),...["txt","rtf","md","mdown"].map(t=>[t,I.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,I.VIDEO]),...["wav"].map(t=>[t,I.WAV]),...["wma"].map(t=>[t,I.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,I.WORD]),...["xml","xsl","rdf"].map(t=>[t,I.XML]),...["yaml","yml","x-yaml"].map(t=>[t,I.YAML]),...["zip"].map(t=>[t,I.ZIP])]),VE=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={[I.ABW]:"#91ABC6",[I.AUDIO]:"#1795E3",[I.AVI]:"#E63324",[I.CHM]:"#71C3EB",[I.CODE]:"#71C3EB",[I.CSV]:"#1F7345",[I.DITA]:"#71C3EB",[I.EPUB]:"#85B926",[I.EXCEL]:"#1F7345",[I.FLAC]:"#1795E3",[I.GIF]:"#59B031",[I.GZIP]:"#F8AB36",[I.HTML]:"#71C3EB",[I.IMAGE]:"#59B031",[I.JPEG]:"#59B031",[I.JSON]:"#71C3EB",[I.M4A]:"#1795E3",[I.MOV]:"#E63324",[I.MP3]:"#1795E3",[I.MP4]:"#E63324",[I.OGG]:"#1795E3",[I.PDF]:"#E44948",[I.PNG]:"#59B031",[I.POWERPOINT]:"#B54A2B",[I.RAR]:"#F8AB36",[I.STP]:"#3764B1",[I.TEXT]:"#3162AB",[I.UNKNOWN]:"#999999",[I.VIDEO]:"#E63324",[I.WAV]:"#1795E3",[I.WMA]:"#1795E3",[I.WORD]:"#3162AB",[I.XML]:"#71C3EB",[I.YAML]:"#71C3EB",[I.ZIP]:"#F8AB36"}});var wn,ve,ip=p(()=>{"use strict";T();q();E();Hi();op();Ei();tp();wn=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},ve=class extends ${constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=k}render(){let e=this.variant&&Object.values(nt).includes(this.variant)?this.variant:nt.fluid_topics,r=e!==nt.material||!!this.value;return y`
413
413
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
414
414
  ${no(this.resolvedIcon)}
415
415
  <slot ?hidden=${r}></slot>
416
416
  </i>
417
- `}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 nt.file_format:this.resolvedIcon=(e=I[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case nt.material:this.resolvedIcon=this.value||k;break;default:this.resolvedIcon=(r=Pe[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ve.elementDefinitions={};ve.styles=vb;On([h()],ve.prototype,"variant",void 0);On([h()],ve.prototype,"value",void 0);On([h({reflect:!0,attribute:"aria-hidden"})],ve.prototype,"ariaHidden",void 0);On([T()],ve.prototype,"resolvedIcon",void 0);On([M("slot")],ve.prototype,"slottedContent",void 0)});var Sb,Cb=p(()=>{"use strict";op();Sb={"ft-icon":ve}});var Eb=p(()=>{"use strict";E();Cb();B(Sb)});var _r=p(()=>{"use strict";Si();ep();op();rp();Eb()});var Lo,Ob,ss=p(()=>{"use strict";L();E();Lo={color:i.extend("--ft-loader-color","",x.colorPrimary),size:i.create("--ft-loader-size","","SIZE","80px")},Ob=O`
417
+ `}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 nt.file_format:this.resolvedIcon=(e=I[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case nt.material:this.resolvedIcon=this.value||k;break;default:this.resolvedIcon=(r=Pe[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ve.elementDefinitions={};ve.styles=Sb;wn([h()],ve.prototype,"variant",void 0);wn([h()],ve.prototype,"value",void 0);wn([h({reflect:!0,attribute:"aria-hidden"})],ve.prototype,"ariaHidden",void 0);wn([L()],ve.prototype,"resolvedIcon",void 0);wn([M("slot")],ve.prototype,"slottedContent",void 0)});var Cb,Eb=p(()=>{"use strict";ip();Cb={"ft-icon":ve}});var Ob=p(()=>{"use strict";E();Eb();B(Cb)});var _r=p(()=>{"use strict";Ei();tp();ip();op();Ob()});var To,wb,la=p(()=>{"use strict";T();E();To={color:i.extend("--ft-loader-color","",x.colorPrimary),size:i.create("--ft-loader-size","","SIZE","80px")},wb=O`
418
418
  :host {
419
419
  line-height: 0;
420
420
  }
@@ -423,8 +423,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
423
423
  display: inline-block;
424
424
  position: relative;
425
425
 
426
- width: ${Lo.size};
427
- height: ${Lo.size};
426
+ width: ${To.size};
427
+ height: ${To.size};
428
428
  }
429
429
 
430
430
  .ft-loader div {
@@ -433,7 +433,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
433
433
  width: 25%;
434
434
  height: 25%;
435
435
  border-radius: 50%;
436
- background: ${Lo.color};
436
+ background: ${To.color};
437
437
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
438
438
  }
439
439
 
@@ -480,17 +480,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
480
480
  transform: translate(0, 0);
481
481
  }
482
482
  100% {
483
- transform: translate(calc(0.35 * ${Lo.size}), 0);
483
+ transform: translate(calc(0.35 * ${To.size}), 0);
484
484
  }
485
485
  }
486
- `});var wb=p(()=>{"use strict"});var To,ip=p(()=>{"use strict";L();E();ss();To=class extends ${render(){return y`
486
+ `});var Rb=p(()=>{"use strict"});var Io,np=p(()=>{"use strict";T();E();la();Io=class extends ${render(){return y`
487
487
  <div class="ft-loader">
488
488
  <div></div>
489
489
  <div></div>
490
490
  <div></div>
491
491
  <div></div>
492
492
  </div>
493
- `}};To.styles=Ob});var Rb,Ab=p(()=>{"use strict";ip();Rb={"ft-loader":To}});var _b=p(()=>{"use strict";E();Ab();B(Rb)});var kb=p(()=>{"use strict";ss();wb();ip();_b()});var ar,Lb=p(()=>{At();ar=t=>t??k});var ls=p(()=>{Lb()});var Tb,Y,Ib,np,sr,Pb,Io=p(()=>{"use strict";L();E();Er();Ht();ss();Si();Tb=i.extend("--ft-button-color","",x.colorPrimary),Y={backgroundColor:i.extend("--ft-button-background-color","",x.colorSurface),borderRadius:i.extend("--ft-button-border-radius","",x.borderRadiusL),color:Tb,fontSize:i.extend("--ft-button-font-size","",ir.fontSize),iconSize:i.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:i.extend("--ft-button-ripple-color","",Tb),verticalPadding:i.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:i.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:i.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:i.external(x.colorOpacityDisabled,"Design system")},Ib=i.extend("--ft-button-primary-color","",i.extend("--ft-button-color","",x.colorOnPrimary)),np={backgroundColor:i.extend("--ft-button-primary-background-color","",i.extend("--ft-button-background-color","",x.colorPrimary)),color:Ib,rippleColor:i.extend("--ft-button-primary-ripple-color","",Ib)},sr={borderRadius:i.extend("--ft-button-dense-border-radius","",i.extend("--ft-button-border-radius","",x.borderRadiusM)),verticalPadding:i.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:i.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:i.create("--ft-button-dense-icon-padding","","SIZE","4px")},Pb=O`
493
+ `}};Io.styles=wb});var Ab,_b=p(()=>{"use strict";np();Ab={"ft-loader":Io}});var kb=p(()=>{"use strict";E();_b();B(Ab)});var Lb=p(()=>{"use strict";la();Rb();np();kb()});var ar,Tb=p(()=>{At();ar=t=>t??k});var ca=p(()=>{Tb()});var Ib,Y,Pb,sp,lr,Nb,Po=p(()=>{"use strict";T();E();Or();Vt();la();Ei();Ib=i.extend("--ft-button-color","",x.colorPrimary),Y={backgroundColor:i.extend("--ft-button-background-color","",x.colorSurface),borderRadius:i.extend("--ft-button-border-radius","",x.borderRadiusL),color:Ib,fontSize:i.extend("--ft-button-font-size","",ir.fontSize),iconSize:i.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:i.extend("--ft-button-ripple-color","",Ib),verticalPadding:i.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:i.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:i.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:i.external(x.colorOpacityDisabled,"Design system")},Pb=i.extend("--ft-button-primary-color","",i.extend("--ft-button-color","",x.colorOnPrimary)),sp={backgroundColor:i.extend("--ft-button-primary-background-color","",i.extend("--ft-button-background-color","",x.colorPrimary)),color:Pb,rippleColor:i.extend("--ft-button-primary-ripple-color","",Pb)},lr={borderRadius:i.extend("--ft-button-dense-border-radius","",i.extend("--ft-button-border-radius","",x.borderRadiusM)),verticalPadding:i.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:i.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:i.create("--ft-button-dense-icon-padding","","SIZE","4px")},Nb=O`
494
494
  :host {
495
495
  display: inline-block;
496
496
  max-width: 100%;
@@ -553,13 +553,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
553
553
  }
554
554
 
555
555
  .ft-button.ft-button--dense {
556
- padding: ${sr.verticalPadding} ${sr.horizontalPadding};
557
- border-radius: ${sr.borderRadius};
558
- ${w(le.borderRadius,sr.borderRadius)};
556
+ padding: ${lr.verticalPadding} ${lr.horizontalPadding};
557
+ border-radius: ${lr.borderRadius};
558
+ ${w(le.borderRadius,lr.borderRadius)};
559
559
  }
560
560
 
561
561
  .ft-button.ft-button--dense.ft-button--outlined {
562
- padding: calc(${sr.verticalPadding} - 1px) calc(${sr.horizontalPadding} - 1px);
562
+ padding: calc(${lr.verticalPadding} - 1px) calc(${lr.horizontalPadding} - 1px);
563
563
  }
564
564
 
565
565
  .ft-button:not([disabled]):hover {
@@ -571,7 +571,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
571
571
  }
572
572
 
573
573
  .ft-button--round.ft-button--dense {
574
- border-radius: calc(var(--button-internal-line-height) / 2 + ${sr.verticalPadding});
574
+ border-radius: calc(var(--button-internal-line-height) / 2 + ${lr.verticalPadding});
575
575
  }
576
576
 
577
577
  .ft-button[disabled] {
@@ -580,9 +580,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
580
580
  }
581
581
 
582
582
  .ft-button.ft-button--primary {
583
- background-color: ${np.backgroundColor};
584
- --button-internal-color: ${np.color};
585
- ${w(le.color,np.rippleColor)};
583
+ background-color: ${sp.backgroundColor};
584
+ --button-internal-color: ${sp.color};
585
+ ${w(le.color,sp.rippleColor)};
586
586
  }
587
587
 
588
588
  .ft-button--label {
@@ -597,7 +597,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
597
597
  }
598
598
 
599
599
  .ft-button--dense .ft-button--label {
600
- margin: 0 ${sr.iconPadding};
600
+ margin: 0 ${lr.iconPadding};
601
601
  }
602
602
 
603
603
  .ft-button--label.ft-button--label-no-text {
@@ -615,8 +615,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
615
615
  }
616
616
 
617
617
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
618
- margin: 0 calc(${sr.horizontalPadding} * -1);
619
- padding: 0 ${sr.verticalPadding};
618
+ margin: 0 calc(${lr.horizontalPadding} * -1);
619
+ padding: 0 ${lr.verticalPadding};
620
620
  }
621
621
 
622
622
  .ft-button:not(.ft-button--trailing-icon) [part="label"] {
@@ -624,10 +624,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
624
624
  }
625
625
 
626
626
  ft-loader {
627
- ${w(Lo.size,Y.iconSize)};
628
- ${w(Lo.color,"var(--button-internal-color)")};
627
+ ${w(To.size,Y.iconSize)};
628
+ ${w(To.color,"var(--button-internal-color)")};
629
629
  }
630
- `});var Se,W,ap=p(()=>{"use strict";E();rt();Jd();_r();kb();L();et();q();ls();Te();Io();Se=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},W=class t extends jc($){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}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.hasTextContent=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,o;let n={"ft-button--label":!0,"ft-safari-ellipsis-fix":Ro,"ft-button--label-no-text":!this.hasTextContent},a=y`
630
+ `});var Se,W,ap=p(()=>{"use strict";E();rt();ep();_r();Lb();T();et();q();ca();Te();Po();Se=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},W=class t extends Kc($){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}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.hasTextContent=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,o;let n={"ft-button--label":!0,"ft-safari-ellipsis-fix":Ro,"ft-button--label-no-text":!this.hasTextContent},s=y`
631
631
  <ft-ripple part="ripple"
632
632
  ?disabled=${this.isDisabled()}
633
633
  ?activated=${this.activated}
@@ -639,14 +639,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
639
639
  <slot></slot>
640
640
  </ft-typography>
641
641
  ${this.resolveIcon()}
642
- `,s=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(s?y`
643
- <a href="${s}"
642
+ `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?y`
643
+ <a href="${a}"
644
644
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
645
645
  part="button"
646
646
  class="${he(this.buttonClasses)}"
647
647
  aria-label="${ar((r=this.ariaLabel)!==null&&r!==void 0?r:this.label)}"
648
648
  ?disabled=${this.isDisabled()}>
649
- ${a}
649
+ ${s}
650
650
  </a>
651
651
  `:y`
652
652
  <button part="button"
@@ -655,7 +655,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
655
655
  aria-haspopup="${ar(this.ariaHasPopup)}"
656
656
  aria-pressed="${ar(this.ariaPressed)}"
657
657
  ?disabled=${this.isDisabled()}>
658
- ${a}
658
+ ${s}
659
659
  </button>
660
660
  `)}addTooltipIfNeeded(e){return this.label&&this.label.trim().length>0&&(this.forceTooltip||!this.hasTextContent&&!this.hideTooltip)?y`
661
661
  <ft-tooltip part="tooltip"
@@ -668,7 +668,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
668
668
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
669
669
  `:y`
670
670
  <slot part="icon" name="icon"></slot>
671
- `}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()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};W.elementDefinitions={"ft-ripple":Z,"ft-tooltip":Ie,"ft-icon":ve,"ft-loader":To,"ft-typography":ne};W.styles=[lc,Pb,mo];W.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r.host?r.host.hasTextContent=e.boundingClientRect.width>0:W.labelsObserver.unobserve(e.target)}});Se([h({type:Boolean})],W.prototype,"primary",void 0);Se([h({type:Boolean})],W.prototype,"outlined",void 0);Se([h({type:Boolean})],W.prototype,"dense",void 0);Se([h({type:Boolean})],W.prototype,"round",void 0);Se([h({type:Boolean})],W.prototype,"disabled",void 0);Se([h()],W.prototype,"icon",void 0);Se([h()],W.prototype,"iconVariant",void 0);Se([h({type:Boolean})],W.prototype,"trailingIcon",void 0);Se([h()],W.prototype,"label",void 0);Se([h()],W.prototype,"type",void 0);Se([h()],W.prototype,"href",void 0);Se([h()],W.prototype,"target",void 0);Se([h({type:Boolean})],W.prototype,"loading",void 0);Se([h({attribute:"aria-label"})],W.prototype,"ariaLabel",void 0);Se([h()],W.prototype,"ariaHasPopup",void 0);Se([h({attribute:"aria-pressed"})],W.prototype,"ariaPressed",void 0);Se([h()],W.prototype,"tooltipPosition",void 0);Se([h({type:Boolean})],W.prototype,"hideTooltip",void 0);Se([h({type:Boolean})],W.prototype,"forceTooltip",void 0);Se([h({type:Boolean})],W.prototype,"activated",void 0);Se([M(".ft-button")],W.prototype,"button",void 0);Se([M(".ft-button--label")],W.prototype,"labelContainer",void 0);Se([T()],W.prototype,"hasTextContent",void 0);Se([M(".ft-button--label slot")],W.prototype,"slottedContent",void 0);Se([M("[part=tooltip]")],W.prototype,"tooltip",void 0)});var Nb=p(()=>{"use strict"});var Mb,$b=p(()=>{"use strict";ap();Mb={"ft-button":W}});var Db=p(()=>{"use strict";E();$b();B(Mb)});var jt=p(()=>{"use strict";ap();Io();Nb();Db()});var ye,sp,wn=p(()=>{"use strict";L();E();jt();ye={height:i.create("--ft-search-input-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-input-border-radius","",x.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","",x.colorSurface),colorOnSurface:i.extend("--ft-search-input-color","",x.colorOnSurface),colorOnSurfaceMedium:i.extend("--ft-search-input-placeholder-color","",x.colorOnSurfaceMedium),colorOutline:i.extend("--ft-search-input-outline-color","",x.colorOutline),elevation02:i.extend("--ft-search-input-elevation","",x.elevation02),focusOutlineColor:i.extend("--ft-search-input-focused-outline-color","",x.colorPrimary),buttonColor:i.extend("--ft-search-input-button-color","",x.colorPrimary),buttonRippleColor:i.extend("--ft-search-input-button-ripple-color","",x.colorPrimary)},sp=O`
671
+ `}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()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};W.elementDefinitions={"ft-ripple":Z,"ft-tooltip":Ie,"ft-icon":ve,"ft-loader":Io,"ft-typography":ne};W.styles=[cc,Nb,mo];W.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r.host?r.host.hasTextContent=e.boundingClientRect.width>0:W.labelsObserver.unobserve(e.target)}});Se([h({type:Boolean})],W.prototype,"primary",void 0);Se([h({type:Boolean})],W.prototype,"outlined",void 0);Se([h({type:Boolean})],W.prototype,"dense",void 0);Se([h({type:Boolean})],W.prototype,"round",void 0);Se([h({type:Boolean})],W.prototype,"disabled",void 0);Se([h()],W.prototype,"icon",void 0);Se([h()],W.prototype,"iconVariant",void 0);Se([h({type:Boolean})],W.prototype,"trailingIcon",void 0);Se([h()],W.prototype,"label",void 0);Se([h()],W.prototype,"type",void 0);Se([h()],W.prototype,"href",void 0);Se([h()],W.prototype,"target",void 0);Se([h({type:Boolean})],W.prototype,"loading",void 0);Se([h({attribute:"aria-label"})],W.prototype,"ariaLabel",void 0);Se([h()],W.prototype,"ariaHasPopup",void 0);Se([h({attribute:"aria-pressed"})],W.prototype,"ariaPressed",void 0);Se([h()],W.prototype,"tooltipPosition",void 0);Se([h({type:Boolean})],W.prototype,"hideTooltip",void 0);Se([h({type:Boolean})],W.prototype,"forceTooltip",void 0);Se([h({type:Boolean})],W.prototype,"activated",void 0);Se([M(".ft-button")],W.prototype,"button",void 0);Se([M(".ft-button--label")],W.prototype,"labelContainer",void 0);Se([L()],W.prototype,"hasTextContent",void 0);Se([M(".ft-button--label slot")],W.prototype,"slottedContent",void 0);Se([M("[part=tooltip]")],W.prototype,"tooltip",void 0)});var Mb=p(()=>{"use strict"});var $b,Db=p(()=>{"use strict";ap();$b={"ft-button":W}});var Fb=p(()=>{"use strict";E();Db();B($b)});var jt=p(()=>{"use strict";ap();Po();Mb();Fb()});var ye,lp,Rn=p(()=>{"use strict";T();E();jt();ye={height:i.create("--ft-search-input-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-input-border-radius","",x.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","",x.colorSurface),colorOnSurface:i.extend("--ft-search-input-color","",x.colorOnSurface),colorOnSurfaceMedium:i.extend("--ft-search-input-placeholder-color","",x.colorOnSurfaceMedium),colorOutline:i.extend("--ft-search-input-outline-color","",x.colorOutline),elevation02:i.extend("--ft-search-input-elevation","",x.elevation02),focusOutlineColor:i.extend("--ft-search-input-focused-outline-color","",x.colorPrimary),buttonColor:i.extend("--ft-search-input-button-color","",x.colorPrimary),buttonRippleColor:i.extend("--ft-search-input-button-ripple-color","",x.colorPrimary)},lp=O`
672
672
  * {
673
673
  box-sizing: border-box;
674
674
  ${w(Y.color,ye.buttonColor)};
@@ -742,15 +742,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
742
742
  height: 20px;
743
743
  border-right: 1px solid ${ye.colorOutline};
744
744
  }
745
- `});var cs,lp,ds=p(()=>{"use strict";L();E();cs={highlightBackgroundColor:i.create("--ft-sra-highlight-background-color","","COLOR","transparent")},lp=O`
745
+ `});var da,cp,pa=p(()=>{"use strict";T();E();da={highlightBackgroundColor:i.create("--ft-sra-highlight-background-color","","COLOR","transparent")},cp=O`
746
746
  .kwicmatch {
747
747
  font-weight: 700;
748
- background-color: ${cs.highlightBackgroundColor};
748
+ background-color: ${da.highlightBackgroundColor};
749
749
  }
750
- `});var ps,cp,us=p(()=>{"use strict";L();E();ps={highlightBackgroundColor:i.create("--ft-srt-highlight-background-color","","COLOR","transparent")},cp=O`
750
+ `});var ua,dp,fa=p(()=>{"use strict";T();E();ua={highlightBackgroundColor:i.create("--ft-srt-highlight-background-color","","COLOR","transparent")},dp=O`
751
751
  .kwicmatch {
752
752
  font-weight: 700;
753
- background-color: ${ps.highlightBackgroundColor};
753
+ background-color: ${ua.highlightBackgroundColor};
754
754
  }
755
755
 
756
756
  a {
@@ -761,11 +761,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
761
761
  a:focus {
762
762
  outline: revert;
763
763
  }
764
- `});function Hb(t){var e;return((e=Tt(t))===null||e===void 0?void 0:e.openMode)===Da.EXTERNAL}function hs(t){return Hb(t)?Tt(t).originUrl:xl(t)}function Vb(t,e){return ar(e&&Hb(t)?"_blank":void 0)}var up=p(()=>{"use strict";Cr();ls();E()});var Ei,Oi,ms,gs,ys,Rn,An=p(()=>{"use strict";Ei=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Oi=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},ms=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e,composed:!0,bubbles:!0})}},gs=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e,composed:!0,bubbles:!0})}},ys=class extends CustomEvent{constructor(e,r,o){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:o},composed:!0,bubbles:!0})}},Rn=class t extends Event{constructor(){super(t.eventName)}};Rn.eventName="search-context-clear-all-filters"});var GE,hp,mp=p(()=>{"use strict";L();GE={},hp=O`
765
- `});var Gb=p(()=>{"use strict"});var Kt,wi=p(()=>{"use strict";(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(Kt||(Kt={}))});var jE,jb,Kb=p(()=>{"use strict";E();jE={setRequest:(t,e)=>{t.request=e.payload}},jb=t=>Sr.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],sortId:void 0,paging:{page:1,perPage:20},keywordMatch:void 0},liveQuery:"",recentQueries:[],paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,announcements:void 0,suggestResults:void 0,configuration:void 0},reducers:jE})});var bs,qb=p(()=>{"use strict";Vt();bs=class extends Qe{constructor(e){super(!0,e),this.cache.registerFinal("search-configuration",async()=>(await this.awaitApi).getSearchConfiguration())}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((o,n)=>o.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),120*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),120*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}async getConfiguration(){return this.cache.get("search-configuration")}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((o,n)=>o.localeCompare(n))}}).sort((r,o)=>r.key.localeCompare(o.key))}}});var Zb,Qb,KE,Ri,gp=p(()=>{"use strict";wi();E();Kb();Cr();qb();An();Vt();Zb=t=>t.request.virtualField===So.TITLE_ONLY&&t.request.scope===ai.DOCUMENTS,Qb=t=>t.request.keywordMatch==Hr.MANDATORY,KE=20,Ri=class t extends xo{static build(e,r){return new t(jb(e.trim()||"context"),r)}constructor(e,r){super(),this.store=e,this.ignoreEmptyQuery=!1,this.canUpdateUiLocale=!1,this.openExternalDocumentInNewTab=!1,this.onNewNeededRequest=o=>{o==Kt.CLUSTERED_SEARCH&&this.launchSearch(this.buildSearchRequest(this.store.getState()))},this.onStorageEvent=o=>{o.key===this.recentQueriesStorageKey?this.loadRecentQueries():o.key===this.taruqaConfigStorageKey&&this.loadTaruqaTemplate()},this.loadTaruqaTemplate=()=>{var o;let n;if(Fa(H.getState().session,ke.DEBUG_USER)){let a=JSON.parse((o=window.localStorage.getItem(this.taruqaConfigStorageKey))!==null&&o!==void 0?o:"{}");n=a.overrideEnabled?a.template:void 0}this.updateSearchRequest({taruqaTemplateOverride:n,changedByConfiguration:!0})},this.localesDebouncer=new se(10),this.searchDebouncer=new se(100),this.launchSearch=o=>this.searchDebouncer.run(()=>this.fetchSearchData(o??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=o=>({...o.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new se(1e3),this.launchSuggest=o=>this.suggestDebouncer.run(()=>this.fetchSuggestData(o??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=o=>{var n;return{input:o.liveQuery,metadataFilters:o.request.metadataFilters,sort:(n=o.request.sort)!==null&&n!==void 0?n:[],sortId:o.request.sortId,contentLocale:o.request.contentLocale,scope:o.request.scope,keywordMatch:o.request.keywordMatch}},this.service=r??new bs,this.service.cache.addEventListener("clear-cache",o=>{o.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=ii(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=ii(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.service.getConfiguration().then(e=>{this.store.actions.configuration(e),this.setSortId(this.store.getState().request.sortId)}),this.loadRecentQueries(),this.loadTaruqaTemplate(),this.launchSearch()}addListeners(){window.addEventListener("storage",this.onStorageEvent),H.addEventListener(Rr.eventName,this.loadTaruqaTemplate)}removeListeners(){window.removeEventListener("storage",this.onStorageEvent),H.removeEventListener(Rr.eventName,this.loadTaruqaTemplate)}get recentQueriesStorageKey(){return H.getState().tenantId+"-ft-recent-queries"}get taruqaConfigStorageKey(){return H.getState().tenantId+"-taruqa-experiment-conf"}updateSearchRequest(e,r=!1){let o=ht(this.store.getState().request);delete o.changedByConfiguration,this.store.actions.setRequest({...o,paging:{perPage:o.paging.perPage,page:r?1:o.paging.page},...e})}setQuery(e){this.updateSearchRequest({query:e},!0),this.setLiveQuery(e)}setContentLocale(e){var r,o;let n=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],a=this.store.getState().request.contentLocale;if(e!=a){if(n.length>0){let s=l=>n.some(d=>d.lang==l);s(e)||(e=s(a)?a:n[0].lang)}this.updateSearchRequest({contentLocale:e,metadataFilters:[]},!0),this.canUpdateUiLocale&&(!((o=yn.store.getState().localesConfiguration)===null||o===void 0)&&o.searchLanguageSetsUiLanguage)&&e&&yn.requestUiLocaleUpdate(e,e)}return e}forceContentLocale(e){this.updateSearchRequest({contentLocale:e})}setPageSize(e){let r=this.store.getState().request;this.updateSearchRequest({paging:{...r.paging,perPage:isNaN(e)?20:mr(1,e,1e3)}})}setPageNumber(e){let r=this.store.getState().request;this.updateSearchRequest({paging:{...r.paging,page:isNaN(e)?1:Math.max(1,e)}})}get sortOptions(){var e,r;return(r=(e=this.store.getState().configuration)===null||e===void 0?void 0:e.sortOptions)!==null&&r!==void 0?r:[]}setSort(e){this.updateSearchRequest({sort:e},!0)}setSortId(e,r=!1){var o;let n=r?{changedByConfiguration:!0}:{};if(e==null||this.sortOptions.length==0)return this.updateSearchRequest({sortId:e,...n},!0),e;let a=(o=this.sortOptions.find(s=>s.id==e))!==null&&o!==void 0?o:this.sortOptions[0];return this.updateSearchRequest({sortId:a.id,...n},!0),a.id}setFilters(e){let r=e.filter(o=>!o.valueFilter||o.valueFilter.values.length>0);this.updateSearchRequest({metadataFilters:r},!0)}setClusterSortCriterion(e){this.updateSearchRequest({clusterSortCriterions:e})}setSearchInDocumentTitlesOnly(e){e?this.updateSearchRequest({virtualField:So.TITLE_ONLY,scope:ai.DOCUMENTS},!0):this.updateSearchRequest({virtualField:So.EVERYWHERE,scope:ai.DEFAULT},!0)}setKeywordMatch(e){this.updateSearchRequest({keywordMatch:e},!0)}setVirtualField(e){this.updateSearchRequest({virtualField:e},!0)}get searchInDocumentTitlesOnly(){return Zb(this.store.getState())}get keywordMatch(){return Qb(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Rn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let o=this.facetIds.filter(n=>n!=e);r&&o.push(r),this.facetIds=o}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(o=>o.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(o=>o.key)])]}set facetIds(e){let o=[...new Set(e)].map(n=>({id:n}));this.updateSearchRequest({facets:o})}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let o=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:r,negative:!1}},a=[...o.filter(s=>!s.valueFilter),...o.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,r){let o=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:r}},a=[...o.filter(s=>!s.dateFilter),...o.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,o=[...r.filter(n=>!n.dateFilter),...r.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(o)}setRangeFilter(e,r,o){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:o}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,o=[...r.filter(n=>!n.rangeFilter),...r.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(o)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.updateSearchRequest({...e,facets:this.store.getState().request.facets},!0),this.setLiveQuery(e.query)}setScope(e){this.updateSearchRequest({scope:e})}setOtherQueryParams(e){this.updateSearchRequest({otherQueryParams:e})}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setCanUpdateUiLocale(e){this.canUpdateUiLocale=e}loadRecentQueries(){var e;this.store.actions.recentQueries(JSON.parse((e=window.localStorage.getItem(this.recentQueriesStorageKey))!==null&&e!==void 0?e:"[]"))}addRecentQuery(e){if(e=e.trim(),e.length===0)return;let r=e.toLowerCase(),o=this.store.getState().recentQueries.filter(n=>n.toLowerCase()!==r).slice(0,KE-1);o.unshift(e),this.setRecentQueries(o)}removeRecentQuery(e){let r=e.trim().toLowerCase(),o=this.store.getState().recentQueries,n=o.filter(a=>a.toLowerCase()!==r);o.length!==n.length&&this.setRecentQueries(n)}setRecentQueries(e){let r=JSON.stringify(e);window.localStorage.setItem(this.recentQueriesStorageKey,r),window.dispatchEvent(new StorageEvent("storage",{key:this.recentQueriesStorageKey,newValue:r,storageArea:window.localStorage,url:window.location.href}))}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,o,n,a,s;if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),!!this.isRequestNeeded(Kt.CLUSTERED_SEARCH))try{if(this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{!((o=this.store.getState().results)===null||o===void 0)&&o.length||this.store.actions.results(void 0),this.cancelableSearch=Go(this.service.launchSearch(e));let l=await this.cancelableSearch;if(this.store.actions.announcements(l.announcements),l.paging.currentPage<=1)this.store.actions.results(l.results),this.store.actions.facets(l.facets),this.store.actions.spellcheck(l.spellcheck);else{let d=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(l.results);this.store.actions.results(d),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(l.paging.currentPage-1)*((a=e.paging.perPage)!==null&&a!==void 0?a:20)+1}`})}this.store.actions.paging(l.paging)}}catch(l){l instanceof Yt||(console.error(l),(s=this.errorHandler)===null||s===void 0||s.call(this,l))}}async fetchSuggestData(e){var r;try{if((r=this.cancelableSuggest)===null||r===void 0||r.cancel(),e.input.length<3){this.store.actions.suggestResults([]);return}this.cancelableSuggest=Go(this.service.launchSuggest(e));let o=await this.cancelableSuggest;this.store.actions.suggestResults(o.suggestions)}catch(o){!(o instanceof Yt)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});var Yb,bp,Xb,yp,qE,ZE,Nt,Po=p(()=>{"use strict";E();q();wi();gp();Yb=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},bp=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Xb=Symbol("registerInterval"),yp=Symbol("registerAttempts"),qE=40,ZE=Re(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(o){var n,a,s;super.willUpdate(o),o.has("neededSearchRequests")&&((n=this.stateManager)===null||n===void 0||n.unregisterComponent(this,(a=o.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(o){this.clearStateManager(),this.stateManager=o,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(o.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[yp]=0,this.tryToRegisterToContext(),this[Xb]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[yp]>qE?window.clearInterval(this[Xb]):(this[yp]++,this.dispatchEvent(new bp))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Yb([T()],e.prototype,"stateManager",void 0),Yb([T({hasChanged:mt})],e.prototype,"neededSearchRequests",void 0),e}),Nt=class extends ZE(yt){}});function _n(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function kn(t){var e,r;return t.dateFilter?{key:t.key,type:"DATE",dateValue:t.dateFilter.type}:t.rangeFilter?{key:t.key,type:"RANGE",from:t.rangeFilter.from,to:t.rangeFilter.to}:{key:t.key,values:(e=t.valueFilter)===null||e===void 0?void 0:e.values,negative:(r=t.valueFilter)===null||r===void 0?void 0:r.negative}}var xp=p(()=>{"use strict"});var xs,Jb=p(()=>{"use strict";E();Cr();Vt();xp();xs=class{constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=([o,n])=>{if(!this.canSendEvent()||!o||!n)return;let a=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(a,o,n):this.sendDocumentSearchEvent(a,o,n)},this.eventsService=r??new Ya,this.resultsWatcher=ii(e,o=>[o.results,o.paging],this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}setDocumentSearchFromMap(e){this.setDocumentSearch(this.eventsService.convertMapToAnalyticsDocument(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:r}=H.getState();this.setAppName(e??"unknown"),this.setAppVersion(r??"unknown")}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=H.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r,o){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:vo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.totalClustersCount},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:_n(e.metadataFilters),facets:e.metadataFilters.map(a=>kn(a))}};this.eventsService.sendKhubSearchEvent(n)}sendDocumentSearchEvent(e,r,o){if(e.metadataFilters.find(a=>{var s;return a.key==="ft:publicationId"&&((s=a.valueFilter)===null||s===void 0?void 0:s.values[0])===this.document.id})!==void 0){let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:vo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.totalClustersCount},searchQuery:{terms:e.query},document:this.document};this.eventsService.sendDocumentSearchEvent(a)}}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let o=this.store.getState().request,n;e.type==or.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:vo.SEARCH_PAGE__SELECT,searchQuery:{terms:o.query,searchType:o.virtualField,lastUpdate:_n(o.metadataFilters),facets:o.metadataFilters.map(s=>kn(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,r){if(!this.canSendEvent())return;let o=this.store.getState().request,n;e.type==or.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:vo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:o.query,searchType:o.virtualField,lastUpdate:_n(o.metadataFilters),facets:o.metadataFilters.map(s=>kn(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case or.MAP:return{id:e.map.mapId,title:e.map.title,type:zr.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case or.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:zr.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case or.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:zr.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};case or.HTML_PACKAGE:return{id:e.htmlPackage.packageId,title:e.htmlPackage.title,type:zr.HTML_PACKAGE,metadata:e.htmlPackage.metadata};case or.HTML_PACKAGE_PAGE:return{id:e.htmlPackagePage.packageId,title:e.htmlPackagePage.title,type:zr.HTML_PACKAGE,metadata:e.htmlPackagePage.metadata};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r;return(r=Tt(e))===null||r===void 0?void 0:r.originUrl}}});var De,be,vp=p(()=>{"use strict";L();q();E();mp();Po();Vt();Jb();An();De=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 yt{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Ri.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new xs(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this._appIntegrationInfoReady=!1,this.addStore(H)}render(){return y`
764
+ `});function Vb(t){var e;return((e=Tt(t))===null||e===void 0?void 0:e.openMode)===Fs.EXTERNAL}function ma(t){return Vb(t)?Tt(t).originUrl:vl(t)}function Wb(t,e){return ar(e&&Vb(t)?"_blank":void 0)}var fp=p(()=>{"use strict";Er();ca();E()});var wi,Ri,ga,ya,ba,An,_n=p(()=>{"use strict";wi=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Ri=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},ga=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e,composed:!0,bubbles:!0})}},ya=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e,composed:!0,bubbles:!0})}},ba=class extends CustomEvent{constructor(e,r,o){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:o},composed:!0,bubbles:!0})}},An=class t extends Event{constructor(){super(t.eventName)}};An.eventName="search-context-clear-all-filters"});var jE,mp,gp=p(()=>{"use strict";T();jE={},mp=O`
765
+ `});var jb=p(()=>{"use strict"});var Kt,Ai=p(()=>{"use strict";(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(Kt||(Kt={}))});var KE,Kb,qb=p(()=>{"use strict";E();KE={setRequest:(t,e)=>{t.request=e.payload}},Kb=t=>Cr.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],sortId:void 0,paging:{page:1,perPage:20},keywordMatch:void 0},liveQuery:"",recentQueries:[],paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,announcements:void 0,suggestResults:void 0,configuration:void 0},reducers:KE})});var xa,Zb=p(()=>{"use strict";Wt();xa=class extends Qe{constructor(e){super(!0,e),this.cache.registerFinal("search-configuration",async()=>(await this.awaitApi).getSearchConfiguration())}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((o,n)=>o.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),120*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),120*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}async getConfiguration(){return this.cache.get("search-configuration")}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((o,n)=>o.localeCompare(n))}}).sort((r,o)=>r.key.localeCompare(o.key))}}});var Qb,Yb,qE,_i,yp=p(()=>{"use strict";Ai();E();qb();Er();Zb();_n();Wt();Qb=t=>t.request.virtualField===So.TITLE_ONLY&&t.request.scope===ai.DOCUMENTS,Yb=t=>t.request.keywordMatch==Hr.MANDATORY,qE=20,_i=class t extends xo{static build(e,r){return new t(Kb(e.trim()||"context"),r)}constructor(e,r){super(),this.store=e,this.ignoreEmptyQuery=!1,this.canUpdateUiLocale=!1,this.openExternalDocumentInNewTab=!1,this.onNewNeededRequest=o=>{o==Kt.CLUSTERED_SEARCH&&this.launchSearch(this.buildSearchRequest(this.store.getState()))},this.onStorageEvent=o=>{o.key===this.recentQueriesStorageKey?this.loadRecentQueries():o.key===this.taruqaConfigStorageKey&&this.loadTaruqaTemplate()},this.loadTaruqaTemplate=()=>{var o;let n;if(Bs(H.getState().session,ke.DEBUG_USER)){let s=JSON.parse((o=window.localStorage.getItem(this.taruqaConfigStorageKey))!==null&&o!==void 0?o:"{}");n=s.overrideEnabled?s.template:void 0}this.updateSearchRequest({taruqaTemplateOverride:n,changedByConfiguration:!0})},this.localesDebouncer=new ae(10),this.searchDebouncer=new ae(100),this.launchSearch=o=>this.searchDebouncer.run(()=>this.fetchSearchData(o??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=o=>({...o.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new ae(1e3),this.launchSuggest=o=>this.suggestDebouncer.run(()=>this.fetchSuggestData(o??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=o=>{var n;return{input:o.liveQuery,metadataFilters:o.request.metadataFilters,sort:(n=o.request.sort)!==null&&n!==void 0?n:[],sortId:o.request.sortId,contentLocale:o.request.contentLocale,scope:o.request.scope,keywordMatch:o.request.keywordMatch}},this.service=r??new xa,this.service.cache.addEventListener("clear-cache",o=>{o.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=ni(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=ni(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.service.getConfiguration().then(e=>{this.store.actions.configuration(e),this.setSortId(this.store.getState().request.sortId)}),this.loadRecentQueries(),this.loadTaruqaTemplate(),this.launchSearch()}addListeners(){window.addEventListener("storage",this.onStorageEvent),H.addEventListener(nr.eventName,this.loadTaruqaTemplate)}removeListeners(){window.removeEventListener("storage",this.onStorageEvent),H.removeEventListener(nr.eventName,this.loadTaruqaTemplate)}get recentQueriesStorageKey(){return H.getState().tenantId+"-ft-recent-queries"}get taruqaConfigStorageKey(){return H.getState().tenantId+"-taruqa-experiment-conf"}updateSearchRequest(e,r=!1){let o=ht(this.store.getState().request);delete o.changedByConfiguration,this.store.actions.setRequest({...o,paging:{perPage:o.paging.perPage,page:r?1:o.paging.page},...e})}setQuery(e){this.updateSearchRequest({query:e},!0),this.setLiveQuery(e)}setContentLocale(e){var r,o;let n=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],s=this.store.getState().request.contentLocale;if(e!=s){if(n.length>0){let a=l=>n.some(d=>d.lang==l);a(e)||(e=a(s)?s:n[0].lang)}this.updateSearchRequest({contentLocale:e,metadataFilters:[]},!0),this.canUpdateUiLocale&&(!((o=xn.store.getState().localesConfiguration)===null||o===void 0)&&o.searchLanguageSetsUiLanguage)&&e&&xn.requestUiLocaleUpdate(e,e)}return e}forceContentLocale(e){this.updateSearchRequest({contentLocale:e})}setPageSize(e){let r=this.store.getState().request;this.updateSearchRequest({paging:{...r.paging,perPage:isNaN(e)?20:gr(1,e,1e3)}})}setPageNumber(e){let r=this.store.getState().request;this.updateSearchRequest({paging:{...r.paging,page:isNaN(e)?1:Math.max(1,e)}})}get sortOptions(){var e,r;return(r=(e=this.store.getState().configuration)===null||e===void 0?void 0:e.sortOptions)!==null&&r!==void 0?r:[]}setSort(e){this.updateSearchRequest({sort:e},!0)}setSortId(e,r=!1){var o;let n=r?{changedByConfiguration:!0}:{};if(e==null||this.sortOptions.length==0)return this.updateSearchRequest({sortId:e,...n},!0),e;let s=(o=this.sortOptions.find(a=>a.id==e))!==null&&o!==void 0?o:this.sortOptions[0];return this.updateSearchRequest({sortId:s.id,...n},!0),s.id}setFilters(e){let r=e.filter(o=>!o.valueFilter||o.valueFilter.values.length>0);this.updateSearchRequest({metadataFilters:r},!0)}setClusterSortCriterion(e){this.updateSearchRequest({clusterSortCriterions:e})}setSearchInDocumentTitlesOnly(e){e?this.updateSearchRequest({virtualField:So.TITLE_ONLY,scope:ai.DOCUMENTS},!0):this.updateSearchRequest({virtualField:So.EVERYWHERE,scope:ai.DEFAULT},!0)}setKeywordMatch(e){this.updateSearchRequest({keywordMatch:e},!0)}setVirtualField(e){this.updateSearchRequest({virtualField:e},!0)}get searchInDocumentTitlesOnly(){return Qb(this.store.getState())}get keywordMatch(){return Yb(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new An)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let o=this.facetIds.filter(n=>n!=e);r&&o.push(r),this.facetIds=o}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(o=>o.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(o=>o.key)])]}set facetIds(e){let o=[...new Set(e)].map(n=>({id:n}));this.updateSearchRequest({facets:o})}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let o=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:r,negative:!1}},s=[...o.filter(a=>!a.valueFilter),...o.filter(a=>a.valueFilter&&a.key!==n.key),n];this.setFilters(s)}setDateFilter(e,r){let o=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:r}},s=[...o.filter(a=>!a.dateFilter),...o.filter(a=>a.dateFilter&&a.key!==n.key),n];this.setFilters(s)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,o=[...r.filter(n=>!n.dateFilter),...r.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(o)}setRangeFilter(e,r,o){let n=this.store.getState().request.metadataFilters,s={key:e,rangeFilter:{from:r,to:o}},a=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==s.key),s];this.setFilters(a)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,o=[...r.filter(n=>!n.rangeFilter),...r.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(o)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.updateSearchRequest({...e,facets:this.store.getState().request.facets},!0),this.setLiveQuery(e.query)}setScope(e){this.updateSearchRequest({scope:e})}setOtherQueryParams(e){this.updateSearchRequest({otherQueryParams:e})}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setCanUpdateUiLocale(e){this.canUpdateUiLocale=e}loadRecentQueries(){var e;this.store.actions.recentQueries(JSON.parse((e=window.localStorage.getItem(this.recentQueriesStorageKey))!==null&&e!==void 0?e:"[]"))}addRecentQuery(e){if(e=e.trim(),e.length===0)return;let r=e.toLowerCase(),o=this.store.getState().recentQueries.filter(n=>n.toLowerCase()!==r).slice(0,qE-1);o.unshift(e),this.setRecentQueries(o)}removeRecentQuery(e){let r=e.trim().toLowerCase(),o=this.store.getState().recentQueries,n=o.filter(s=>s.toLowerCase()!==r);o.length!==n.length&&this.setRecentQueries(n)}setRecentQueries(e){let r=JSON.stringify(e);window.localStorage.setItem(this.recentQueriesStorageKey,r),window.dispatchEvent(new StorageEvent("storage",{key:this.recentQueriesStorageKey,newValue:r,storageArea:window.localStorage,url:window.location.href}))}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,o,n,s,a;if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),!!this.isRequestNeeded(Kt.CLUSTERED_SEARCH))try{if(this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{!((o=this.store.getState().results)===null||o===void 0)&&o.length||this.store.actions.results(void 0),this.cancelableSearch=jo(this.service.launchSearch(e));let l=await this.cancelableSearch;if(this.store.actions.announcements(l.announcements),l.paging.currentPage<=1)this.store.actions.results(l.results),this.store.actions.facets(l.facets),this.store.actions.spellcheck(l.spellcheck);else{let d=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(l.results);this.store.actions.results(d),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(l.paging.currentPage-1)*((s=e.paging.perPage)!==null&&s!==void 0?s:20)+1}`})}this.store.actions.paging(l.paging)}}catch(l){l instanceof Yt||(console.error(l),(a=this.errorHandler)===null||a===void 0||a.call(this,l))}}async fetchSuggestData(e){var r;try{if((r=this.cancelableSuggest)===null||r===void 0||r.cancel(),e.input.length<3){this.store.actions.suggestResults([]);return}this.cancelableSuggest=jo(this.service.launchSuggest(e));let o=await this.cancelableSuggest;this.store.actions.suggestResults(o.suggestions)}catch(o){!(o instanceof Yt)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});var Xb,xp,Jb,bp,ZE,QE,Mt,No=p(()=>{"use strict";E();q();Ai();yp();Xb=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},xp=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Jb=Symbol("registerInterval"),bp=Symbol("registerAttempts"),ZE=40,QE=Re(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(o){var n,s,a;super.willUpdate(o),o.has("neededSearchRequests")&&((n=this.stateManager)===null||n===void 0||n.unregisterComponent(this,(s=o.get("neededSearchRequests"))!==null&&s!==void 0?s:[]),(a=this.stateManager)===null||a===void 0||a.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(o){this.clearStateManager(),this.stateManager=o,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(o.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[bp]=0,this.tryToRegisterToContext(),this[Jb]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[bp]>ZE?window.clearInterval(this[Jb]):(this[bp]++,this.dispatchEvent(new xp))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Xb([L()],e.prototype,"stateManager",void 0),Xb([L({hasChanged:mt})],e.prototype,"neededSearchRequests",void 0),e}),Mt=class extends QE(yt){}});function kn(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Ln(t){var e,r;return t.dateFilter?{key:t.key,type:"DATE",dateValue:t.dateFilter.type}:t.rangeFilter?{key:t.key,type:"RANGE",from:t.rangeFilter.from,to:t.rangeFilter.to}:{key:t.key,values:(e=t.valueFilter)===null||e===void 0?void 0:e.values,negative:(r=t.valueFilter)===null||r===void 0?void 0:r.negative}}var vp=p(()=>{"use strict"});var va,ex=p(()=>{"use strict";E();Er();Wt();vp();va=class{constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=([o,n])=>{if(!this.canSendEvent()||!o||!n)return;let s=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(s,o,n):this.sendDocumentSearchEvent(s,o,n)},this.eventsService=r??new Xs,this.resultsWatcher=ni(e,o=>[o.results,o.paging],this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}setDocumentSearchFromMap(e){this.setDocumentSearch(this.eventsService.convertMapToAnalyticsDocument(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:r}=H.getState();this.setAppName(e??"unknown"),this.setAppVersion(r??"unknown")}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=H.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r,o){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:vo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.totalClustersCount},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:kn(e.metadataFilters),facets:e.metadataFilters.map(s=>Ln(s))}};this.eventsService.sendKhubSearchEvent(n)}sendDocumentSearchEvent(e,r,o){if(e.metadataFilters.find(s=>{var a;return s.key==="ft:publicationId"&&((a=s.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let s={offline:!1,appVersion:this.appVersion,appName:this.appName,name:vo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.totalClustersCount},searchQuery:{terms:e.query},document:this.document};this.eventsService.sendDocumentSearchEvent(s)}}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let o=this.store.getState().request,n;e.type==or.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let s={offline:!1,appVersion:this.appVersion,appName:this.appName,name:vo.SEARCH_PAGE__SELECT,searchQuery:{terms:o.query,searchType:o.virtualField,lastUpdate:kn(o.metadataFilters),facets:o.metadataFilters.map(a=>Ln(a))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(s)}sendResultContextMenuOpenedEvent(e,r){if(!this.canSendEvent())return;let o=this.store.getState().request,n;e.type==or.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let s={offline:!1,appVersion:this.appVersion,appName:this.appName,name:vo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:o.query,searchType:o.virtualField,lastUpdate:kn(o.metadataFilters),facets:o.metadataFilters.map(a=>Ln(a))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(s)}convertDocument(e){switch(e.type){case or.MAP:return{id:e.map.mapId,title:e.map.title,type:zr.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case or.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:zr.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case or.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:zr.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};case or.HTML_PACKAGE:return{id:e.htmlPackage.packageId,title:e.htmlPackage.title,type:zr.HTML_PACKAGE,metadata:e.htmlPackage.metadata};case or.HTML_PACKAGE_PAGE:return{id:e.htmlPackagePage.packageId,title:e.htmlPackagePage.title,type:zr.HTML_PACKAGE,metadata:e.htmlPackagePage.metadata};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r;return(r=Tt(e))===null||r===void 0?void 0:r.originUrl}}});var De,be,Sp=p(()=>{"use strict";T();q();E();gp();No();Wt();ex();_n();De=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},be=class extends yt{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=_i.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new va(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this._appIntegrationInfoReady=!1,this.addStore(H)}render(){return y`
766
766
  <slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click=${this.onResultClicked}
767
767
  @ft-search-result-open-context-menu=${this.onResultContextMenuOpened}></slot>
768
- `}willUpdate(e){super.willUpdate(e),e.has("_appIntegrationInfoReady")&&this._appIntegrationInfoReady&&this.eventManager.initAppInfo(),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sortId")&&this.stateManager.setSortId(this.sortId),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("keywordMatch")&&this.stateManager.setKeywordMatch(this.keywordMatch),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams),this.stateManager.addListeners()}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new gs(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new ys(this.request,this.paging,this.spellcheckAutocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new ms(e))}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};be.elementDefinitions={};be.styles=hp;De([ue({store:H.name})],be.prototype,"session",void 0);De([h()],be.prototype,"query",void 0);De([h()],be.prototype,"contentLocale",void 0);De([Lt()],be.prototype,"pageSize",void 0);De([h({type:Boolean})],be.prototype,"searchInDocumentTitlesOnly",void 0);De([h()],be.prototype,"keywordMatch",void 0);De([h()],be.prototype,"scope",void 0);De([h()],be.prototype,"virtualField",void 0);De([h({type:Boolean})],be.prototype,"ignoreEmptyQuery",void 0);De([ue({store:H.name})],be.prototype,"openExternalDocumentInNewTab",void 0);De([pe([])],be.prototype,"filters",void 0);De([h()],be.prototype,"sortId",void 0);De([pe([])],be.prototype,"sort",void 0);De([pe({})],be.prototype,"otherQueryParams",void 0);De([ue({store:"search"})],be.prototype,"request",void 0);De([ue({store:"search"})],be.prototype,"paging",void 0);De([ue({store:"search",selector:t=>t.spellcheck})],be.prototype,"spellcheckAutocorrect",void 0);De([ue({store:H.name,selector:t=>t.apiIntegrationIdentifier!==void 0&&t.apiIntegrationAppVersion!==void 0})],be.prototype,"_appIntegrationInfoReady",void 0);De([h({attribute:!1})],be.prototype,"searchServiceProvider",void 0)});var ex,tx=p(()=>{"use strict";vp();ex={"ft-search-context":be}});var rx=p(()=>{"use strict";E();tx();B(ex)});var ox={};j(ox,{FtSearchContext:()=>be,FtSearchContextCssVariables:()=>GE,FtSearchStateManager:()=>Ri,convertMetadataFilterToAnalyticsFacet:()=>kn,getAnalyticsLastUpdate:()=>_n,keywordMatchSelector:()=>Qb,searchInDocumentTitlesOnlySelector:()=>Zb,styles:()=>hp});var ix=p(()=>{"use strict";mp();Gb();vp();gp();xp();rx()});var nx=p(()=>{"use strict"});var kr,Sp=p(()=>{"use strict";Pt();kr=nr.build("designedSearchInput")});var Mt,Cp=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(Mt||(Mt={}))});var ax,Ep=p(()=>{"use strict";L();ax=O`
768
+ `}willUpdate(e){super.willUpdate(e),e.has("_appIntegrationInfoReady")&&this._appIntegrationInfoReady&&this.eventManager.initAppInfo(),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sortId")&&this.stateManager.setSortId(this.sortId),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("keywordMatch")&&this.stateManager.setKeywordMatch(this.keywordMatch),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams),this.stateManager.addListeners()}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new ya(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new ba(this.request,this.paging,this.spellcheckAutocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new ga(e))}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};be.elementDefinitions={};be.styles=mp;De([ue({store:H.name})],be.prototype,"session",void 0);De([h()],be.prototype,"query",void 0);De([h()],be.prototype,"contentLocale",void 0);De([Lt()],be.prototype,"pageSize",void 0);De([h({type:Boolean})],be.prototype,"searchInDocumentTitlesOnly",void 0);De([h()],be.prototype,"keywordMatch",void 0);De([h()],be.prototype,"scope",void 0);De([h()],be.prototype,"virtualField",void 0);De([h({type:Boolean})],be.prototype,"ignoreEmptyQuery",void 0);De([ue({store:H.name})],be.prototype,"openExternalDocumentInNewTab",void 0);De([pe([])],be.prototype,"filters",void 0);De([h()],be.prototype,"sortId",void 0);De([pe([])],be.prototype,"sort",void 0);De([pe({})],be.prototype,"otherQueryParams",void 0);De([ue({store:"search"})],be.prototype,"request",void 0);De([ue({store:"search"})],be.prototype,"paging",void 0);De([ue({store:"search",selector:t=>t.spellcheck})],be.prototype,"spellcheckAutocorrect",void 0);De([ue({store:H.name,selector:t=>t.apiIntegrationIdentifier!==void 0&&t.apiIntegrationAppVersion!==void 0})],be.prototype,"_appIntegrationInfoReady",void 0);De([h({attribute:!1})],be.prototype,"searchServiceProvider",void 0)});var tx,rx=p(()=>{"use strict";Sp();tx={"ft-search-context":be}});var ox=p(()=>{"use strict";E();rx();B(tx)});var ix={};j(ix,{FtSearchContext:()=>be,FtSearchContextCssVariables:()=>jE,FtSearchStateManager:()=>_i,convertMetadataFilterToAnalyticsFacet:()=>Ln,getAnalyticsLastUpdate:()=>kn,keywordMatchSelector:()=>Yb,searchInDocumentTitlesOnlySelector:()=>Qb,styles:()=>mp});var nx=p(()=>{"use strict";gp();jb();Sp();yp();vp();ox()});var sx=p(()=>{"use strict"});var kr,Cp=p(()=>{"use strict";Nt();kr=sr.build("designedSearchInput")});var $t,Ep=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})($t||($t={}))});var ax,Op=p(()=>{"use strict";T();ax=O`
769
769
  .ft-size-watcher--pixel {
770
770
  width: 0;
771
771
  height: 0;
@@ -784,11 +784,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
784
784
  .ft-size-watcher--local .ft-size-watcher--watcher {
785
785
  width: 100%;
786
786
  }
787
- `});var Ln,Op,St,wp=p(()=>{"use strict";L();q();E();Cp();Ep();Ln=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},Op=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},St=class extends ${constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Mt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new se}render(){return y`
787
+ `});var Tn,wp,St,Rp=p(()=>{"use strict";T();q();E();Ep();Op();Tn=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},wp=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},St=class extends ${constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=$t.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ae}render(){return y`
788
788
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
789
789
  <div class="ft-size-watcher--watcher"></div>
790
790
  </div>
791
- `}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=Mt.S:this.size<976?this.category=Mt.M:this.size<1024?this.category=Mt.L:this.size<1440?this.category=Mt.XL:this.category=Mt.XXL,this.dispatchEvent(new Op(this.size,this.category)))},this.debounceTimeout)}};St.elementDefinitions={};St.styles=ax;Ln([h({type:Number})],St.prototype,"debounceTimeout",void 0);Ln([h({type:Boolean})],St.prototype,"local",void 0);Ln([h({type:Number,reflect:!0})],St.prototype,"size",void 0);Ln([h({type:String,reflect:!0})],St.prototype,"category",void 0);Ln([M(".ft-size-watcher--watcher")],St.prototype,"watcher",void 0)});var sx,lx=p(()=>{"use strict";wp();sx={"ft-size-watcher":St}});var cx=p(()=>{"use strict";E();lx();B(sx)});var dx=p(()=>{"use strict";wp();Ep();Cp();cx()});function vs(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function px(t){return vs(t).split("|").pop()}function ux(t){return vs(t).split("|").join(" > ")}function fx(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>fx(r,t.selected)),value:t.value}}function hx(t){return gt(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Rp(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>fx(e,!1))}}function mx(t){return gt(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Ap=p(()=>{"use strict";E()});var Tn,gx,_p=p(()=>{"use strict";L();E();Io();Ht();Tn={buttonMoreColor:i.extend("--ft-filter-level-button-more-color","",x.colorOnSurface),borderRadiusM:i.external(x.borderRadiusM,"Design system"),colorOutline:i.external(x.colorOutline,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),colorOnPrimary:i.external(x.colorOnPrimary,"Design system"),fontFamily:i.external($e.fontFamily,"Body2 typography"),fontSize:i.external($e.fontSize,"Body2 typography"),fontWeight:i.external($e.fontWeight,"Body2 typography"),letterSpacing:i.external($e.letterSpacing,"Body2 typography"),lineHeight:i.external($e.lineHeight,"Body2 typography"),textTransform:i.external($e.textTransform,"Body2 typography")},gx=O`
791
+ `}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=$t.S:this.size<976?this.category=$t.M:this.size<1024?this.category=$t.L:this.size<1440?this.category=$t.XL:this.category=$t.XXL,this.dispatchEvent(new wp(this.size,this.category)))},this.debounceTimeout)}};St.elementDefinitions={};St.styles=ax;Tn([h({type:Number})],St.prototype,"debounceTimeout",void 0);Tn([h({type:Boolean})],St.prototype,"local",void 0);Tn([h({type:Number,reflect:!0})],St.prototype,"size",void 0);Tn([h({type:String,reflect:!0})],St.prototype,"category",void 0);Tn([M(".ft-size-watcher--watcher")],St.prototype,"watcher",void 0)});var lx,cx=p(()=>{"use strict";Rp();lx={"ft-size-watcher":St}});var dx=p(()=>{"use strict";E();cx();B(lx)});var px=p(()=>{"use strict";Rp();Op();Ep();dx()});function Sa(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ux(t){return Sa(t).split("|").pop()}function fx(t){return Sa(t).split("|").join(" > ")}function hx(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>hx(r,t.selected)),value:t.value}}function mx(t){return gt(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Ap(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>hx(e,!1))}}function gx(t){return gt(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var _p=p(()=>{"use strict";E()});var In,yx,kp=p(()=>{"use strict";T();E();Po();Vt();In={buttonMoreColor:i.extend("--ft-filter-level-button-more-color","",x.colorOnSurface),borderRadiusM:i.external(x.borderRadiusM,"Design system"),colorOutline:i.external(x.colorOutline,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),colorOnPrimary:i.external(x.colorOnPrimary,"Design system"),fontFamily:i.external($e.fontFamily,"Body2 typography"),fontSize:i.external($e.fontSize,"Body2 typography"),fontWeight:i.external($e.fontWeight,"Body2 typography"),letterSpacing:i.external($e.letterSpacing,"Body2 typography"),lineHeight:i.external($e.lineHeight,"Body2 typography"),textTransform:i.external($e.textTransform,"Body2 typography")},yx=O`
792
792
  .ft-filter-level--container {
793
793
  display: flex;
794
794
  flex-direction: column;
@@ -803,14 +803,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
803
803
  flex-shrink: 0;
804
804
  text-decoration: none;
805
805
  position: relative;
806
- border-radius: ${Tn.borderRadiusM};
806
+ border-radius: ${In.borderRadiusM};
807
807
  overflow: hidden;
808
808
  display: flex;
809
809
  align-items: center;
810
810
  padding: 4px 4px;
811
811
  gap: 4px;
812
812
  cursor: pointer;
813
- color: ${Tn.colorOnSurface};
813
+ color: ${In.colorOnSurface};
814
814
  }
815
815
 
816
816
  .ft-filter-level--go-back:focus {
@@ -839,11 +839,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
839
839
  }
840
840
 
841
841
  ft-button {
842
- ${w(Y.color,Tn.colorOnSurface)};
842
+ ${w(Y.color,In.colorOnSurface)};
843
843
  }
844
844
 
845
845
  ft-button.ft-filter-level--display-more {
846
- ${w(Y.color,Tn.buttonMoreColor)};
846
+ ${w(Y.color,In.buttonMoreColor)};
847
847
  }
848
848
 
849
849
  ft-radio, ft-checkbox {
@@ -857,9 +857,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
857
857
 
858
858
  .ft-filter-level--no-values {
859
859
  margin: 10px 0;
860
- color: ${Tn.colorOnSurfaceMedium};
860
+ color: ${In.colorOnSurfaceMedium};
861
861
  }
862
- `});var Ct,yx,kp=p(()=>{"use strict";E();L();Te();rt();Ct={textColor:i.extend("--ft-checkbox-text-color","",x.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",N.fontSize),activeColor:i.extend("--ft-checkbox-active-color","",x.colorPrimary),checkColor:i.extend("--ft-checkbox-check-color","",x.colorOnPrimary),borderColor:i.extend("--ft-checkbox-border-color","",x.colorOnSurfaceMedium),disabledColor:i.extend("--ft-checkbox-disabled-color","",x.colorOnSurfaceDisabled),errorColor:i.extend("--ft-checkbox-error-color","",x.colorError)},yx=O`
862
+ `});var Ct,bx,Lp=p(()=>{"use strict";E();T();Te();rt();Ct={textColor:i.extend("--ft-checkbox-text-color","",x.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",N.fontSize),activeColor:i.extend("--ft-checkbox-active-color","",x.colorPrimary),checkColor:i.extend("--ft-checkbox-check-color","",x.colorOnPrimary),borderColor:i.extend("--ft-checkbox-border-color","",x.colorOnSurfaceMedium),disabledColor:i.extend("--ft-checkbox-disabled-color","",x.colorOnSurfaceDisabled),errorColor:i.extend("--ft-checkbox-error-color","",x.colorError)},bx=O`
863
863
  * {
864
864
  box-sizing: border-box;
865
865
  }
@@ -952,7 +952,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
952
952
  }
953
953
  }
954
954
  }
955
- `});var Lr,Lp,He,Tp=p(()=>{"use strict";L();q();E();et();rt();Te();kp();Lr=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},Lp=class extends CustomEvent{constructor(e){super("change",{detail:e})}},He=class extends ${constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}renderBoxContainer(){return y`
955
+ `});var Lr,Tp,He,Ip=p(()=>{"use strict";T();q();E();et();rt();Te();Lp();Lr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Tp=class extends CustomEvent{constructor(e){super("change",{detail:e})}},He=class extends ${constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}renderBoxContainer(){return y`
956
956
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
957
957
  <ft-ripple part="checkbox-ripple"
958
958
  ?disabled=${this.disabled}
@@ -986,7 +986,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
986
986
  <path class="ft-checkbox--checkmark-path" fill="none"
987
987
  d="${this.indeterminate&&!this.checked?"M2,12 22,12":"M1.73,12.91 8.1,19.28 22.79,4.59"}"></path>
988
988
  </svg>
989
- `}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 Lp(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)}};He.elementDefinitions={"ft-ripple":Z,"ft-typography":ne};He.styles=yx;Lr([h()],He.prototype,"name",void 0);Lr([h()],He.prototype,"value",void 0);Lr([h({type:Boolean,reflect:!0})],He.prototype,"checked",void 0);Lr([h({type:Boolean})],He.prototype,"indeterminate",void 0);Lr([h({type:Boolean})],He.prototype,"disabled",void 0);Lr([h({type:Boolean})],He.prototype,"error",void 0);Lr([M(".ft-checkbox")],He.prototype,"container",void 0);Lr([M("ft-ripple")],He.prototype,"ripple",void 0);Lr([M("input")],He.prototype,"input",void 0)});var bx=p(()=>{"use strict"});var xx,vx=p(()=>{"use strict";Tp();xx={"ft-checkbox":He}});var Sx=p(()=>{"use strict";E();vx();B(xx)});var Cx=p(()=>{"use strict";Tp();kp();bx();Sx()});var Kr,Ex,Ip=p(()=>{"use strict";L();E();Te();Kr={textColor:i.extend("--ft-radio-text-color","",x.colorOnSurfaceHigh),fontSize:i.extend("--ft-radio-font-size","",N.fontSize),colorPrimary:i.external(x.colorPrimary,"Design system"),colorOnPrimary:i.external(x.colorOnPrimary,"Design system"),borderColor:i.extend("--ft-radio-border-color","",x.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system")},Ex=O`
989
+ `}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 Tp(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)}};He.elementDefinitions={"ft-ripple":Z,"ft-typography":ne};He.styles=bx;Lr([h()],He.prototype,"name",void 0);Lr([h()],He.prototype,"value",void 0);Lr([h({type:Boolean,reflect:!0})],He.prototype,"checked",void 0);Lr([h({type:Boolean})],He.prototype,"indeterminate",void 0);Lr([h({type:Boolean})],He.prototype,"disabled",void 0);Lr([h({type:Boolean})],He.prototype,"error",void 0);Lr([M(".ft-checkbox")],He.prototype,"container",void 0);Lr([M("ft-ripple")],He.prototype,"ripple",void 0);Lr([M("input")],He.prototype,"input",void 0)});var xx=p(()=>{"use strict"});var vx,Sx=p(()=>{"use strict";Ip();vx={"ft-checkbox":He}});var Cx=p(()=>{"use strict";E();Sx();B(vx)});var Ex=p(()=>{"use strict";Ip();Lp();xx();Cx()});var Kr,Ox,Pp=p(()=>{"use strict";T();E();Te();Kr={textColor:i.extend("--ft-radio-text-color","",x.colorOnSurfaceHigh),fontSize:i.extend("--ft-radio-font-size","",N.fontSize),colorPrimary:i.external(x.colorPrimary,"Design system"),colorOnPrimary:i.external(x.colorOnPrimary,"Design system"),borderColor:i.extend("--ft-radio-border-color","",x.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system")},Ox=O`
990
990
  * {
991
991
  box-sizing: border-box;
992
992
  }
@@ -1075,7 +1075,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1075
1075
  .ft-radio ft-typography {
1076
1076
  padding-right: 2px;
1077
1077
  }
1078
- `});var qr,Ss,Be,Pp=p(()=>{"use strict";L();q();E();et();rt();Te();Va();Ip();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},Ss=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Be=class extends ${constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}render(){return y`
1078
+ `});var qr,Ca,Be,Np=p(()=>{"use strict";T();q();E();et();rt();Te();Ws();Pp();qr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ca=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Be=class extends ${constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}render(){return y`
1079
1079
  <div class="${he(this.radioClasses)}"
1080
1080
  @click=${this.onClick}>
1081
1081
  <div class="ft-radio--box-container">
@@ -1101,7 +1101,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1101
1101
  </ft-typography>
1102
1102
  </label>
1103
1103
  </div>
1104
- `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Ss(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ss(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;return(r=this.ripple)===null||r===void 0?void 0:r.forceFocusUpdate()},0)}onClick(e){var r;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(r=this.input)===null||r===void 0||r.click())}};Be.elementDefinitions={"ft-ripple":Z,"ft-typography":ne};Be.styles=Ex;qr([h()],Be.prototype,"name",void 0);qr([h()],Be.prototype,"value",void 0);qr([h({type:Boolean,reflect:!0})],Be.prototype,"checked",void 0);qr([h({attribute:"aria-checked",reflect:!0})],Be.prototype,"ariaChecked",void 0);qr([h({type:Boolean})],Be.prototype,"disabled",void 0);qr([M(".ft-radio")],Be.prototype,"container",void 0);qr([M("ft-ripple")],Be.prototype,"ripple",void 0);qr([M("input")],Be.prototype,"input",void 0)});var Ox=p(()=>{"use strict"});var wx,Np=p(()=>{"use strict";L();wx=O`
1104
+ `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Ca(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ca(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;return(r=this.ripple)===null||r===void 0?void 0:r.forceFocusUpdate()},0)}onClick(e){var r;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(r=this.input)===null||r===void 0||r.click())}};Be.elementDefinitions={"ft-ripple":Z,"ft-typography":ne};Be.styles=Ox;qr([h()],Be.prototype,"name",void 0);qr([h()],Be.prototype,"value",void 0);qr([h({type:Boolean,reflect:!0})],Be.prototype,"checked",void 0);qr([h({attribute:"aria-checked",reflect:!0})],Be.prototype,"ariaChecked",void 0);qr([h({type:Boolean})],Be.prototype,"disabled",void 0);qr([M(".ft-radio")],Be.prototype,"container",void 0);qr([M("ft-ripple")],Be.prototype,"ripple",void 0);qr([M("input")],Be.prototype,"input",void 0)});var wx=p(()=>{"use strict"});var Rx,Mp=p(()=>{"use strict";T();Rx=O`
1105
1105
  :host {
1106
1106
  display: block;
1107
1107
  }
@@ -1109,12 +1109,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1109
1109
  :host(:focus-visible) {
1110
1110
  outline: none;
1111
1111
  }
1112
- `});var In,Et,Mp=p(()=>{"use strict";E();q();L();Np();In=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},Et=class extends ${constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(o=>o.matches("ft-radio,ftds-radio")?[o]:[...o.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return y`
1112
+ `});var Pn,Et,$p=p(()=>{"use strict";E();q();T();Mp();Pn=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Et=class extends ${constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(o=>o.matches("ft-radio,ftds-radio")?[o]:[...o.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return y`
1113
1113
  <slot @slotchange=${this.onSlotChange}
1114
1114
  @change=${this.onChange}
1115
1115
  @keydown=${this.onKeyDown}
1116
1116
  ></slot>
1117
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let o=this.currentSelectedIndex-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select(),this.radioButtons[o<0?this.radioButtons.length-1:o].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let o=this.currentSelectedIndex+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select(),this.radioButtons[o>this.radioButtons.length-1?0:o].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e,this.radioButtons[this.currentSelectedIndex].setInputTabIndex(0)}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Et.elementDefinitions={};Et.styles=wx;In([h()],Et.prototype,"name",void 0);In([h({reflect:!0,attribute:"role"})],Et.prototype,"role",void 0);In([h({reflect:!0,attribute:"aria-labelledby"})],Et.prototype,"ariaLabelledBy",void 0);In([Ys()],Et.prototype,"assignedElements",void 0);In([T()],Et.prototype,"currentSelectedIndex",void 0)});var Rx=p(()=>{"use strict"});var Ax,_x=p(()=>{"use strict";Pp();Mp();Ax={"ft-radio":Be,"ft-radio-group":Et}});var kx=p(()=>{"use strict";E();_x();B(Ax)});var $p=p(()=>{"use strict";Pp();Ox();Ip();Mp();Rx();Np();kx()});var Ve,Dp,Ae,Lx=p(()=>{"use strict";L();q();Ft();E();jt();Te();rt();_r();Cx();$p();_p();Pt();Ve=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},Dp={"more-filters-button-pressed":{label:"Revealing more filters",defaultEventName:"filters-click_see_more",defaultComponentId:"ft-filter-level"}},Ae=class extends Ha(dt(un($)),Dp){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 se(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 y`
1117
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let o=this.currentSelectedIndex-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select(),this.radioButtons[o<0?this.radioButtons.length-1:o].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let o=this.currentSelectedIndex+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select(),this.radioButtons[o>this.radioButtons.length-1?0:o].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e,this.radioButtons[this.currentSelectedIndex].setInputTabIndex(0)}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Et.elementDefinitions={};Et.styles=Rx;Pn([h()],Et.prototype,"name",void 0);Pn([h({reflect:!0,attribute:"role"})],Et.prototype,"role",void 0);Pn([h({reflect:!0,attribute:"aria-labelledby"})],Et.prototype,"ariaLabelledBy",void 0);Pn([Xa()],Et.prototype,"assignedElements",void 0);Pn([L()],Et.prototype,"currentSelectedIndex",void 0)});var Ax=p(()=>{"use strict"});var _x,kx=p(()=>{"use strict";Np();$p();_x={"ft-radio":Be,"ft-radio-group":Et}});var Lx=p(()=>{"use strict";E();kx();B(_x)});var Dp=p(()=>{"use strict";Np();wx();Pp();$p();Ax();Mp();Lx()});var Ve,Fp,Ae,Tx=p(()=>{"use strict";T();q();Bt();E();jt();Te();rt();_r();Ex();Dp();kp();Nt();Ve=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Fp={"more-filters-button-pressed":{label:"Revealing more filters",defaultEventName:"filters-click_see_more",defaultComponentId:"ft-filter-level"}},Ae=class extends Vs(dt(hn($)),Fp){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 ae(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 y`
1118
1118
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1119
1119
  ${this.parent==null?null:y`
1120
1120
  <div tabindex="0"
@@ -1182,7 +1182,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1182
1182
  @change=${r=>this.optionsChanged(r,e)}>
1183
1183
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1184
1184
  </ft-radio>
1185
- `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};Ae.elementDefinitions={"ft-button":W,"ft-ripple":Z,"ft-typography":ne,"ft-checkbox":He,"ft-icon":ve,"ft-radio":Be};Ae.styles=gx;Ve([h({type:String})],Ae.prototype,"filterId",void 0);Ve([h({type:Object})],Ae.prototype,"parent",void 0);Ve([h({type:Array,hasChanged:mt})],Ae.prototype,"options",void 0);Ve([h({type:Boolean})],Ae.prototype,"multivalued",void 0);Ve([h({type:Boolean})],Ae.prototype,"disabled",void 0);Ve([h({type:Boolean})],Ae.prototype,"hideSelectedOptions",void 0);Ve([h({type:Boolean})],Ae.prototype,"displayCount",void 0);Ve([h({type:Boolean})],Ae.prototype,"preventNavigation",void 0);Ve([h({type:String})],Ae.prototype,"filter",void 0);Ve([h({type:String})],Ae.prototype,"moreValuesButtonLabel",void 0);Ve([h({type:String})],Ae.prototype,"noValuesLabel",void 0);Ve([h()],Ae.prototype,"filteredOptionsNumberAriaNotification",void 0);Ve([Lt()],Ae.prototype,"displayedValuesLimit",void 0);Ve([M(".ft-filter-level--container")],Ae.prototype,"container",void 0);Ve([T()],Ae.prototype,"radios",void 0);Ve([T()],Ae.prototype,"displayedPages",void 0);Ve([T()],Ae.prototype,"filteredOptions",void 0)});var at,Tx,Cs=p(()=>{"use strict";L();E();Io();at={buttonsColor:i.extend("--ft-snap-scroll-buttons-color","",x.colorPrimary),buttonsZIndex:i.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:i.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:i.external(x.colorSurface,"Design system")},Tx=O`
1185
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};Ae.elementDefinitions={"ft-button":W,"ft-ripple":Z,"ft-typography":ne,"ft-checkbox":He,"ft-icon":ve,"ft-radio":Be};Ae.styles=yx;Ve([h({type:String})],Ae.prototype,"filterId",void 0);Ve([h({type:Object})],Ae.prototype,"parent",void 0);Ve([h({type:Array,hasChanged:mt})],Ae.prototype,"options",void 0);Ve([h({type:Boolean})],Ae.prototype,"multivalued",void 0);Ve([h({type:Boolean})],Ae.prototype,"disabled",void 0);Ve([h({type:Boolean})],Ae.prototype,"hideSelectedOptions",void 0);Ve([h({type:Boolean})],Ae.prototype,"displayCount",void 0);Ve([h({type:Boolean})],Ae.prototype,"preventNavigation",void 0);Ve([h({type:String})],Ae.prototype,"filter",void 0);Ve([h({type:String})],Ae.prototype,"moreValuesButtonLabel",void 0);Ve([h({type:String})],Ae.prototype,"noValuesLabel",void 0);Ve([h()],Ae.prototype,"filteredOptionsNumberAriaNotification",void 0);Ve([Lt()],Ae.prototype,"displayedValuesLimit",void 0);Ve([M(".ft-filter-level--container")],Ae.prototype,"container",void 0);Ve([L()],Ae.prototype,"radios",void 0);Ve([L()],Ae.prototype,"displayedPages",void 0);Ve([L()],Ae.prototype,"filteredOptions",void 0)});var st,Ix,Ea=p(()=>{"use strict";T();E();Po();st={buttonsColor:i.extend("--ft-snap-scroll-buttons-color","",x.colorPrimary),buttonsZIndex:i.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:i.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:i.external(x.colorSurface,"Design system")},Ix=O`
1186
1186
  .ft-snap-scroll {
1187
1187
  box-sizing: border-box;
1188
1188
  position: relative;
@@ -1217,7 +1217,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1217
1217
  flex-wrap: nowrap;
1218
1218
  align-items: flex-start;
1219
1219
  justify-content: flex-start;
1220
- gap: ${at.gap};
1220
+ gap: ${st.gap};
1221
1221
  }
1222
1222
 
1223
1223
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1260,11 +1260,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1260
1260
  .ft-snap-scroll--next {
1261
1261
  position: absolute;
1262
1262
  display: flex;
1263
- z-index: ${at.buttonsZIndex};
1263
+ z-index: ${st.buttonsZIndex};
1264
1264
  opacity: 1;
1265
1265
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1266
1266
  ${w(Y.backgroundColor,"transparent")};
1267
- ${w(Y.color,at.buttonsColor)};
1267
+ ${w(Y.color,st.buttonsColor)};
1268
1268
  }
1269
1269
 
1270
1270
  .ft-snap-scroll--previous[hidden],
@@ -1277,37 +1277,37 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1277
1277
  top: 0;
1278
1278
  left: -1px;
1279
1279
  bottom: 0;
1280
- background: linear-gradient(to right, ${at.colorSurface} 50%, var(--snap-scroll-transparent-color));
1280
+ background: linear-gradient(to right, ${st.colorSurface} 50%, var(--snap-scroll-transparent-color));
1281
1281
  }
1282
1282
 
1283
1283
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1284
1284
  top: -1px;
1285
1285
  left: 0;
1286
1286
  right: 0;
1287
- background: linear-gradient(to bottom, ${at.colorSurface} 50%, var(--snap-scroll-transparent-color));
1287
+ background: linear-gradient(to bottom, ${st.colorSurface} 50%, var(--snap-scroll-transparent-color));
1288
1288
  }
1289
1289
 
1290
1290
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1291
1291
  top: 0;
1292
1292
  right: -1px;
1293
1293
  bottom: 0;
1294
- background: linear-gradient(to left, ${at.colorSurface} 50%, var(--snap-scroll-transparent-color));
1294
+ background: linear-gradient(to left, ${st.colorSurface} 50%, var(--snap-scroll-transparent-color));
1295
1295
  }
1296
1296
 
1297
1297
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1298
1298
  left: 0;
1299
1299
  right: 0;
1300
1300
  bottom: -1px;
1301
- background: linear-gradient(to top, ${at.colorSurface} 50%, var(--snap-scroll-transparent-color));
1301
+ background: linear-gradient(to top, ${st.colorSurface} 50%, var(--snap-scroll-transparent-color));
1302
1302
  }
1303
1303
 
1304
1304
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1305
1305
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1306
1306
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1307
1307
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1308
- background-color: ${at.colorSurface};
1308
+ background-color: ${st.colorSurface};
1309
1309
  }
1310
- `});var lr,Fp,Ne,Bp=p(()=>{"use strict";L();q();E();jt();et();Cs();lr=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},Fp=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Ne=class extends ${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 se(200),this.updateScrollDebouncer=new se(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=he({"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":Ro}),r=this.controls&&this.withScroll;return y`
1310
+ `});var cr,Bp,Ne,Up=p(()=>{"use strict";T();q();E();jt();et();Ea();cr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Bp=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Ne=class extends ${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 ae(200),this.updateScrollDebouncer=new ae(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=he({"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":Ro}),r=this.controls&&this.withScroll;return y`
1311
1311
  <div part="container" class="${e}">
1312
1312
  <ft-button
1313
1313
  class="ft-snap-scroll--previous"
@@ -1331,7 +1331,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1331
1331
  @click=${this.next}
1332
1332
  ></ft-button>
1333
1333
  </div>
1334
- `}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 Fp(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)}};Ne.elementDefinitions={"ft-button":W};Ne.styles=Tx;lr([h({type:Boolean})],Ne.prototype,"horizontal",void 0);lr([h({type:Boolean})],Ne.prototype,"hideScrollbar",void 0);lr([h({type:Boolean})],Ne.prototype,"controls",void 0);lr([h({type:Boolean})],Ne.prototype,"limitSize",void 0);lr([T()],Ne.prototype,"elements",void 0);lr([T()],Ne.prototype,"currentElement",void 0);lr([T()],Ne.prototype,"withScroll",void 0);lr([T()],Ne.prototype,"startReached",void 0);lr([T()],Ne.prototype,"endReached",void 0);lr([M(".ft-snap-scroll--content")],Ne.prototype,"contentSlot",void 0)});var Ix=p(()=>{"use strict"});var Px,Nx=p(()=>{"use strict";Bp();Px={"ft-snap-scroll":Ne}});var Mx=p(()=>{"use strict";E();Nx();B(Px)});var Es=p(()=>{"use strict";Bp();Cs();Ix();Mx()});var ut,$x,Os=p(()=>{"use strict";L();E();Ht();Io();ut={colorOutline:i.external(x.colorOutline,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),colorSurface:i.external(x.colorSurface,"Design system"),transitionDuration:i.external(x.transitionDuration,"Design system"),transitionTimingFunction:i.external(x.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",x.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",N.fontSize,"16px")},$x=[Gr,go,O`
1334
+ `}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 Bp(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)}};Ne.elementDefinitions={"ft-button":W};Ne.styles=Ix;cr([h({type:Boolean})],Ne.prototype,"horizontal",void 0);cr([h({type:Boolean})],Ne.prototype,"hideScrollbar",void 0);cr([h({type:Boolean})],Ne.prototype,"controls",void 0);cr([h({type:Boolean})],Ne.prototype,"limitSize",void 0);cr([L()],Ne.prototype,"elements",void 0);cr([L()],Ne.prototype,"currentElement",void 0);cr([L()],Ne.prototype,"withScroll",void 0);cr([L()],Ne.prototype,"startReached",void 0);cr([L()],Ne.prototype,"endReached",void 0);cr([M(".ft-snap-scroll--content")],Ne.prototype,"contentSlot",void 0)});var Px=p(()=>{"use strict"});var Nx,Mx=p(()=>{"use strict";Up();Nx={"ft-snap-scroll":Ne}});var $x=p(()=>{"use strict";E();Mx();B(Nx)});var Oa=p(()=>{"use strict";Up();Ea();Px();$x()});var ut,Dx,wa=p(()=>{"use strict";T();E();Vt();Po();ut={colorOutline:i.external(x.colorOutline,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),colorSurface:i.external(x.colorSurface,"Design system"),transitionDuration:i.external(x.transitionDuration,"Design system"),transitionTimingFunction:i.external(x.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",x.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",N.fontSize,"16px")},Dx=[Gr,go,O`
1335
1335
  :host {
1336
1336
  display: flex;
1337
1337
  max-height: 100%;
@@ -1448,7 +1448,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1448
1448
  slot:not([name]) {
1449
1449
  display: none;
1450
1450
  }
1451
- `]});var Ce,Up,de,zp=p(()=>{"use strict";L();q();E();Te();Lx();jt();Es();Os();Ce=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},Up=class extends CustomEvent{constructor(e){super("change",{detail:e})}},de=class extends Ha($,Dp){constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new se(300),this.changeDebouncer=new se(10),this.lastDispatchedValues=[]}get flatOptions(){return gt(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return gt(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return y`
1451
+ `]});var Ce,zp,de,Hp=p(()=>{"use strict";T();q();E();Te();Tx();jt();Oa();wa();Ce=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},zp=class extends CustomEvent{constructor(e){super("change",{detail:e})}},de=class extends Vs($,Fp){constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new ae(300),this.changeDebouncer=new ae(10),this.lastDispatchedValues=[]}get flatOptions(){return gt(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return gt(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return y`
1452
1452
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1453
1453
  part="container">
1454
1454
  ${!this.label&&!e?null:y`
@@ -1488,7 +1488,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1488
1488
  @slotchange=${this.updateOptionsFromSlot}
1489
1489
  @option-change=${this.optionsChanged}></slot>
1490
1490
  </div>
1491
- `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(o=>o.value));this.displayedLevels=this.displayedLevels.filter(o=>r.has(o)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,o,n,a,s,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&((o=this.levelsContainer)===null||o===void 0||o.next(),setTimeout(()=>{this.slideIn=void 0},300)),e.has("slideOut")&&this.slideOut&&((n=this.levelsContainer)===null||n===void 0||n.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(s=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||s===void 0?void 0:s.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=o<0?"ft-filter--level-center":"ft-filter--level-left";return y`
1491
+ `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(o=>o.value));this.displayedLevels=this.displayedLevels.filter(o=>r.has(o)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,o,n,s,a,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&((o=this.levelsContainer)===null||o===void 0||o.next(),setTimeout(()=>{this.slideIn=void 0},300)),e.has("slideOut")&&this.slideOut&&((n=this.levelsContainer)===null||n===void 0||n.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(a=(s=this.shadowRoot)===null||s===void 0?void 0:s.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let e=this.flatOptions,r=e.filter(s=>s.selected),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=o<0?"ft-filter--level-center":"ft-filter--level-left";return y`
1492
1492
  ${this.raiseSelectedOptions&&r.length>0?y`
1493
1493
  <ft-filter-level
1494
1494
  filterId="${this.id}"
@@ -1506,9 +1506,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1506
1506
  `:null}
1507
1507
  <ft-snap-scroll horizontal hideScrollbar
1508
1508
  class="ft-filter--levels"
1509
- @current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1509
+ @current-element-change=${s=>this.levelsScrollDebouncer.run(()=>{for(;s.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1510
1510
  ${this.renderLevel(n,this.options)}
1511
- ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var l;let d=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===o?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(d,(l=a?.subOptions)!==null&&l!==void 0?l:[],a)})}
1511
+ ${this.displayedLevels.map(s=>e.find(a=>a.value===s)).map((s,a)=>{var l;let d=s?.value===this.slideIn||s?.value===this.slideOut?"ft-filter--level-right":a===o?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(d,(l=s?.subOptions)!==null&&l!==void 0?l:[],s)})}
1512
1512
  </ft-snap-scroll>
1513
1513
  `}renderLevel(e,r,o){return y`
1514
1514
  <ft-filter-level
@@ -1532,21 +1532,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1532
1532
  noValuesLabel="${this.noValuesLabel}"
1533
1533
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
1534
1534
  ></ft-filter-level>
1535
- `}goBack(e){this.slideOut=e.detail.value,Hi(()=>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,Hi(()=>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(){Hi(()=>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;Le(this.lastDispatchedValues,e)||(this.dispatchEvent(new Up(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)}};de.elementDefinitions={"ft-button":W,"ft-filter-level":Ae,"ft-snap-scroll":Ne,"ft-typography":ne};de.styles=$x;Ce([h({type:String})],de.prototype,"id",void 0);Ce([h({type:String})],de.prototype,"label",void 0);Ce([h({type:String})],de.prototype,"filterPlaceHolder",void 0);Ce([h({type:String})],de.prototype,"clearButtonLabel",void 0);Ce([h({type:String})],de.prototype,"moreValuesButtonLabel",void 0);Ce([h({type:String})],de.prototype,"noValuesLabel",void 0);Ce([pe([])],de.prototype,"options",void 0);Ce([h({type:Boolean})],de.prototype,"multivalued",void 0);Ce([h({type:Boolean})],de.prototype,"disabled",void 0);Ce([h({type:Boolean})],de.prototype,"raiseSelectedOptions",void 0);Ce([h({type:Boolean})],de.prototype,"displayCount",void 0);Ce([Lt()],de.prototype,"displayedValuesLimit",void 0);Ce([pe(void 0)],de.prototype,"filteredOptionsNumberAriaNotification",void 0);Ce([h({type:Boolean})],de.prototype,"hideClearButton",void 0);Ce([M(".ft-filter--slot")],de.prototype,"slotElement",void 0);Ce([M(".ft-filter--container")],de.prototype,"container",void 0);Ce([M(".ft-filter--values")],de.prototype,"valuesContainer",void 0);Ce([M(".ft-filter--levels")],de.prototype,"levelsContainer",void 0);Ce([T()],de.prototype,"lastLevelHasHiddenvalues",void 0);Ce([M(".ft-filter--filter input")],de.prototype,"filterInput",void 0);Ce([Qs(".ft-filter--levels ft-filter-level")],de.prototype,"levels",void 0);Ce([T()],de.prototype,"withScroll",void 0);Ce([T()],de.prototype,"filter",void 0);Ce([T()],de.prototype,"slideIn",void 0);Ce([T()],de.prototype,"slideOut",void 0)});var Dx=p(()=>{"use strict"});var Ai,Ot,Hp=p(()=>{"use strict";E();q();L();Ai=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 ${constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return y`
1535
+ `}goBack(e){this.slideOut=e.detail.value,Wi(()=>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,Wi(()=>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(){Wi(()=>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(s=>s.value===e.detail.value);o.selected=!o.selected;let n=s=>{var a;s!==o&&(s.selected=!1),(a=s.subOptions)===null||a===void 0||a.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;Le(this.lastDispatchedValues,e)||(this.dispatchEvent(new zp(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)}};de.elementDefinitions={"ft-button":W,"ft-filter-level":Ae,"ft-snap-scroll":Ne,"ft-typography":ne};de.styles=Dx;Ce([h({type:String})],de.prototype,"id",void 0);Ce([h({type:String})],de.prototype,"label",void 0);Ce([h({type:String})],de.prototype,"filterPlaceHolder",void 0);Ce([h({type:String})],de.prototype,"clearButtonLabel",void 0);Ce([h({type:String})],de.prototype,"moreValuesButtonLabel",void 0);Ce([h({type:String})],de.prototype,"noValuesLabel",void 0);Ce([pe([])],de.prototype,"options",void 0);Ce([h({type:Boolean})],de.prototype,"multivalued",void 0);Ce([h({type:Boolean})],de.prototype,"disabled",void 0);Ce([h({type:Boolean})],de.prototype,"raiseSelectedOptions",void 0);Ce([h({type:Boolean})],de.prototype,"displayCount",void 0);Ce([Lt()],de.prototype,"displayedValuesLimit",void 0);Ce([pe(void 0)],de.prototype,"filteredOptionsNumberAriaNotification",void 0);Ce([h({type:Boolean})],de.prototype,"hideClearButton",void 0);Ce([M(".ft-filter--slot")],de.prototype,"slotElement",void 0);Ce([M(".ft-filter--container")],de.prototype,"container",void 0);Ce([M(".ft-filter--values")],de.prototype,"valuesContainer",void 0);Ce([M(".ft-filter--levels")],de.prototype,"levelsContainer",void 0);Ce([L()],de.prototype,"lastLevelHasHiddenvalues",void 0);Ce([M(".ft-filter--filter input")],de.prototype,"filterInput",void 0);Ce([Ya(".ft-filter--levels ft-filter-level")],de.prototype,"levels",void 0);Ce([L()],de.prototype,"withScroll",void 0);Ce([L()],de.prototype,"filter",void 0);Ce([L()],de.prototype,"slideIn",void 0);Ce([L()],de.prototype,"slideOut",void 0)});var Fx=p(()=>{"use strict"});var ki,Ot,Vp=p(()=>{"use strict";E();q();T();ki=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ot=class extends ${constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return y`
1536
1536
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1537
- `}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}))}};Ot.elementDefinitions={};Ai([h({type:String})],Ot.prototype,"label",void 0);Ai([h({type:Object,converter:t=>t})],Ot.prototype,"value",void 0);Ai([h({type:Boolean,reflect:!0})],Ot.prototype,"selected",void 0);Ai([h({type:Object})],Ot.prototype,"subOptions",void 0);Ai([pe({})],Ot.prototype,"renderOption",void 0);Ai([M(".ft-filter-option--slot")],Ot.prototype,"slotElement",void 0)});var Fx=p(()=>{"use strict"});var Bx,Ux=p(()=>{"use strict";zp();Hp();Bx={"ft-filter":de,"ft-filter-option":Ot}});var zx=p(()=>{"use strict";E();Ux();B(Bx)});var Hx=p(()=>{"use strict";_p();zp();Os();Dx();Hp();Fx();zx()});var Vx,Vp=p(()=>{"use strict";L();Vx=O`
1537
+ `}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}))}};Ot.elementDefinitions={};ki([h({type:String})],Ot.prototype,"label",void 0);ki([h({type:Object,converter:t=>t})],Ot.prototype,"value",void 0);ki([h({type:Boolean,reflect:!0})],Ot.prototype,"selected",void 0);ki([h({type:Object})],Ot.prototype,"subOptions",void 0);ki([pe({})],Ot.prototype,"renderOption",void 0);ki([M(".ft-filter-option--slot")],Ot.prototype,"slotElement",void 0)});var Bx=p(()=>{"use strict"});var Ux,zx=p(()=>{"use strict";Hp();Vp();Ux={"ft-filter":de,"ft-filter-option":Ot}});var Hx=p(()=>{"use strict";E();zx();B(Ux)});var Vx=p(()=>{"use strict";kp();Hp();wa();Fx();Vp();Bx();Hx()});var Wx,Wp=p(()=>{"use strict";T();Wx=O`
1538
1538
  .ft-accordion {
1539
1539
  box-sizing: border-box;
1540
1540
  }
1541
- `});var Wx,cr,Wp=p(()=>{"use strict";L();q();E();Vp();Wx=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},cr=class extends ${constructor(){super(...arguments),this.multi=!1}render(){return y`
1541
+ `});var Gx,dr,Gp=p(()=>{"use strict";T();q();E();Wp();Gx=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},dr=class extends ${constructor(){super(...arguments),this.multi=!1}render(){return y`
1542
1542
  <div class="ft-accordion">
1543
1543
  <slot @activated=${this.onChange}></slot>
1544
1544
  </div>
1545
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};cr.elementDefinitions={};cr.styles=Vx;Wx([h({type:Boolean})],cr.prototype,"multi",void 0);Wx([M("slot")],cr.prototype,"content",void 0)});var Gx=p(()=>{"use strict"});var No,jx,Gp=p(()=>{"use strict";L();E();No={horizontalSpacing:i.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:i.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:i.external(x.colorOutline,"Design system"),backgroundColor:i.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},jx=O`
1545
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};dr.elementDefinitions={};dr.styles=Wx;Gx([h({type:Boolean})],dr.prototype,"multi",void 0);Gx([M("slot")],dr.prototype,"content",void 0)});var jx=p(()=>{"use strict"});var Mo,Kx,jp=p(()=>{"use strict";T();E();Mo={horizontalSpacing:i.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:i.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:i.external(x.colorOutline,"Design system"),backgroundColor:i.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Kx=O`
1546
1546
  .ft-accordion-item {
1547
1547
  display: flex;
1548
1548
  flex-direction: column;
1549
- background-color: ${No.backgroundColor};
1549
+ background-color: ${Mo.backgroundColor};
1550
1550
  }
1551
1551
 
1552
1552
  .ft-accordion-item--toggle {
@@ -1556,8 +1556,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1556
1556
  display: flex;
1557
1557
  align-items: center;
1558
1558
  cursor: pointer;
1559
- padding: ${No.verticalSpacing} ${No.horizontalSpacing};
1560
- gap: calc(${No.horizontalSpacing} / 2);
1559
+ padding: ${Mo.verticalSpacing} ${Mo.horizontalSpacing};
1560
+ gap: calc(${Mo.horizontalSpacing} / 2);
1561
1561
  outline: none;
1562
1562
  }
1563
1563
 
@@ -1582,13 +1582,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1582
1582
  .ft-accordion-item--active .ft-accordion-item--content {
1583
1583
  height: initial;
1584
1584
  overflow: visible;
1585
- padding: ${No.verticalSpacing} ${No.horizontalSpacing};
1585
+ padding: ${Mo.verticalSpacing} ${Mo.horizontalSpacing};
1586
1586
  }
1587
1587
 
1588
1588
  .ft-accordion-item--separator {
1589
- border-bottom: 1px solid ${No.colorOutline};
1589
+ border-bottom: 1px solid ${Mo.colorOutline};
1590
1590
  }
1591
- `});var ws,$t,jp=p(()=>{"use strict";L();q();E();rt();Te();_r();Gp();ws=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},$t=class extends ${constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return y`
1591
+ `});var Ra,Dt,Kp=p(()=>{"use strict";T();q();E();rt();Te();_r();jp();Ra=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Dt=class extends ${constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return y`
1592
1592
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1593
1593
  <div class="ft-accordion-item--toggle"
1594
1594
  part="toggle"
@@ -1618,7 +1618,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1618
1618
  </div>
1619
1619
  <div class="ft-accordion-item--separator" part="separator"></div>
1620
1620
  </div>
1621
- `}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)}};$t.elementDefinitions={"ft-ripple":Z,"ft-typography":ne,"ft-icon":ve};$t.styles=jx;ws([h()],$t.prototype,"icon",void 0);ws([h()],$t.prototype,"iconVariant",void 0);ws([h()],$t.prototype,"label",void 0);ws([h({type:Boolean,reflect:!0})],$t.prototype,"active",void 0)});var Kx=p(()=>{"use strict"});var qx,Zx=p(()=>{"use strict";Wp();jp();qx={"ft-accordion":cr,"ft-accordion-item":$t}});var Qx=p(()=>{"use strict";E();Zx();B(qx)});var Yx=p(()=>{"use strict";Wp();Vp();Gx();jp();Gp();Kx();Qx()});var Xx,We,Jx,Kp,ev,tv,qp=p(()=>{"use strict";L();E();Er();Ht();Si();jt();Xx=i.extend("--ft-chip-color","",x.colorOnSurface),We={backgroundColor:i.extend("--ft-chip-background-color","",x.colorSurface),color:Xx,fontSize:i.extend("--ft-chip-font-size","",$e.fontSize),fontWeight:i.extend("--ft-chip-font-weight","",$e.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","",Xx),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","",x.colorOutline),opacityDisabled:i.external(x.colorOpacityDisabled,"Design system")},Jx=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",x.colorOnPrimary)),Kp={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",x.colorPrimary)),color:Jx,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",Jx)},ev={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},tv=[mo,O`
1621
+ `}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)}};Dt.elementDefinitions={"ft-ripple":Z,"ft-typography":ne,"ft-icon":ve};Dt.styles=Kx;Ra([h()],Dt.prototype,"icon",void 0);Ra([h()],Dt.prototype,"iconVariant",void 0);Ra([h()],Dt.prototype,"label",void 0);Ra([h({type:Boolean,reflect:!0})],Dt.prototype,"active",void 0)});var qx=p(()=>{"use strict"});var Zx,Qx=p(()=>{"use strict";Gp();Kp();Zx={"ft-accordion":dr,"ft-accordion-item":Dt}});var Yx=p(()=>{"use strict";E();Qx();B(Zx)});var Xx=p(()=>{"use strict";Gp();Wp();jx();Kp();jp();qx();Yx()});var Jx,We,ev,qp,tv,rv,Zp=p(()=>{"use strict";T();E();Or();Vt();Ei();jt();Jx=i.extend("--ft-chip-color","",x.colorOnSurface),We={backgroundColor:i.extend("--ft-chip-background-color","",x.colorSurface),color:Jx,fontSize:i.extend("--ft-chip-font-size","",$e.fontSize),fontWeight:i.extend("--ft-chip-font-weight","",$e.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","",Jx),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","",x.colorOutline),opacityDisabled:i.external(x.colorOpacityDisabled,"Design system")},ev=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",x.colorOnPrimary)),qp={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",x.colorPrimary)),color:ev,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",ev)},tv={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},rv=[mo,O`
1622
1622
  :host {
1623
1623
  display: inline-block;
1624
1624
  max-width: 100%;
@@ -1658,8 +1658,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1658
1658
 
1659
1659
  .ft-chip--dense {
1660
1660
  --chip-internal-icon-padding: 3px;
1661
- --chip-internal-vertical-padding: ${ev.verticalPadding};
1662
- --chip-internal-horizontal-padding: ${ev.horizontalPadding};
1661
+ --chip-internal-vertical-padding: ${tv.verticalPadding};
1662
+ --chip-internal-horizontal-padding: ${tv.horizontalPadding};
1663
1663
  --chip-internal-line-height: max(16px, calc(var(--chip-internal-font-size) + 2px));
1664
1664
  }
1665
1665
 
@@ -1677,9 +1677,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1677
1677
  .ft-chip--highlighted {
1678
1678
  border: none;
1679
1679
  padding: var(--chip-internal-vertical-padding) var(--chip-internal-horizontal-padding);
1680
- background-color: ${Kp.backgroundColor};
1681
- ${w(le.color,Kp.rippleColor)};
1682
- color: ${Kp.color};
1680
+ background-color: ${qp.backgroundColor};
1681
+ ${w(le.color,qp.rippleColor)};
1682
+ color: ${qp.color};
1683
1683
  }
1684
1684
 
1685
1685
  .ft-chip--clickable {
@@ -1758,7 +1758,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1758
1758
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1759
1759
  order: -1;
1760
1760
  }
1761
- `]});var st,Rs,_e,Zp=p(()=>{"use strict";L();q();et();E();rt();Te();_r();qp();jt();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},Rs=class extends CustomEvent{constructor(){super("icon-click")}},_e=class extends ${constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){var e;let r={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Ro};return y`
1761
+ `]});var at,Aa,_e,Qp=p(()=>{"use strict";T();q();et();E();rt();Te();_r();Zp();jt();at=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Aa=class extends CustomEvent{constructor(){super("icon-click")}},_e=class extends ${constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){var e;let r={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Ro};return y`
1762
1762
  <div class="${he(r)}"
1763
1763
  aria-label="${this.getLabel()}"
1764
1764
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -1785,7 +1785,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1785
1785
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1786
1786
  <ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
1787
1787
  </div>
1788
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Rs))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Rs))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return Qn(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};_e.elementDefinitions={"ft-ripple":Z,"ft-typography":ne,"ft-icon":ve,"ft-button":W};_e.styles=tv;st([h({type:Boolean})],_e.prototype,"highlighted",void 0);st([h({type:Boolean})],_e.prototype,"removable",void 0);st([h({type:Boolean})],_e.prototype,"disabled",void 0);st([h({type:Boolean})],_e.prototype,"clickable",void 0);st([h({type:Boolean})],_e.prototype,"iconClickable",void 0);st([h({type:Boolean})],_e.prototype,"dense",void 0);st([h({type:Boolean})],_e.prototype,"multiLine",void 0);st([h()],_e.prototype,"label",void 0);st([h()],_e.prototype,"iconLabel",void 0);st([h({type:Boolean})],_e.prototype,"hideIconTooltip",void 0);st([h()],_e.prototype,"icon",void 0);st([h()],_e.prototype,"iconVariant",void 0);st([h({type:Boolean})],_e.prototype,"trailingIcon",void 0);st([h()],_e.prototype,"typographyVariant",void 0);st([M("ft-typography slot")],_e.prototype,"slottedContent",void 0)});var rv=p(()=>{"use strict"});var ov,iv=p(()=>{"use strict";Zp();ov={"ft-chip":_e}});var nv=p(()=>{"use strict";E();iv();B(ov)});var Qp=p(()=>{"use strict";Zp();qp();rv();nv()});var oe,av,Pn=p(()=>{"use strict";L();E();Ht();oe={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","",x.colorOutline),textColor:i.extend("--ft-input-label-text-color","",x.colorOnSurfaceMedium),disabledTextColor:i.extend("--ft-input-label-disabled-text-color","",x.colorOnSurfaceDisabled),backgroundColor:i.extend("--ft-input-label-background-color","",x.colorSurface),borderRadius:i.extend("--ft-input-label-border-radius","",x.borderRadiusS),colorError:i.external(x.colorError,"Design system")},av=O`
1788
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Aa))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Aa))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return Yn(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};_e.elementDefinitions={"ft-ripple":Z,"ft-typography":ne,"ft-icon":ve,"ft-button":W};_e.styles=rv;at([h({type:Boolean})],_e.prototype,"highlighted",void 0);at([h({type:Boolean})],_e.prototype,"removable",void 0);at([h({type:Boolean})],_e.prototype,"disabled",void 0);at([h({type:Boolean})],_e.prototype,"clickable",void 0);at([h({type:Boolean})],_e.prototype,"iconClickable",void 0);at([h({type:Boolean})],_e.prototype,"dense",void 0);at([h({type:Boolean})],_e.prototype,"multiLine",void 0);at([h()],_e.prototype,"label",void 0);at([h()],_e.prototype,"iconLabel",void 0);at([h({type:Boolean})],_e.prototype,"hideIconTooltip",void 0);at([h()],_e.prototype,"icon",void 0);at([h()],_e.prototype,"iconVariant",void 0);at([h({type:Boolean})],_e.prototype,"trailingIcon",void 0);at([h()],_e.prototype,"typographyVariant",void 0);at([M("ft-typography slot")],_e.prototype,"slottedContent",void 0)});var ov=p(()=>{"use strict"});var iv,nv=p(()=>{"use strict";Qp();iv={"ft-chip":_e}});var sv=p(()=>{"use strict";E();nv();B(iv)});var Yp=p(()=>{"use strict";Qp();Zp();ov();sv()});var oe,av,Nn=p(()=>{"use strict";T();E();Vt();oe={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","",x.colorOutline),textColor:i.extend("--ft-input-label-text-color","",x.colorOnSurfaceMedium),disabledTextColor:i.extend("--ft-input-label-disabled-text-color","",x.colorOnSurfaceDisabled),backgroundColor:i.extend("--ft-input-label-background-color","",x.colorSurface),borderRadius:i.extend("--ft-input-label-border-radius","",x.borderRadiusS),colorError:i.external(x.colorError,"Design system")},av=O`
1789
1789
  .ft-input-label {
1790
1790
  position: absolute;
1791
1791
  inset: 0;
@@ -1907,7 +1907,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1907
1907
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
1908
1908
  border-top: none;
1909
1909
  }
1910
- `});var sv,Mo,lv=p(()=>{"use strict";L();q();Ua();et();E();sv=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},Mo=class extends ${constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return y`
1910
+ `});var lv,$o,cv=p(()=>{"use strict";T();q();zs();et();E();lv=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},$o=class extends ${constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return y`
1911
1911
  <div class="${he(this.inputLabelClasses)}">
1912
1912
  ${Eo(this.text,()=>y`
1913
1913
  <div class="ft-input-label--text ft-typography--caption">
@@ -1916,7 +1916,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1916
1916
  </div>
1917
1917
  `)}
1918
1918
  </div>
1919
- `}};Mo.elementDefinitions={};sv([h({type:String})],Mo.prototype,"text",void 0);sv([h({type:Boolean})],Mo.prototype,"raised",void 0)});var Yp,qt,Xp=p(()=>{"use strict";q();Ht();Pn();lv();Yp=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 Mo{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};qt.elementDefinitions={};qt.styles=[Gr,av];Yp([h({type:Boolean})],qt.prototype,"outlined",void 0);Yp([h({type:Boolean})],qt.prototype,"error",void 0);Yp([h({type:Boolean})],qt.prototype,"disabled",void 0)});var cv=p(()=>{"use strict"});var dv,pv=p(()=>{"use strict";Xp();dv={"ft-input-label":qt}});var uv=p(()=>{"use strict";E();pv();B(dv)});var fv=p(()=>{"use strict";Xp();Pn();cv();uv()});var J,hv,Nn=p(()=>{"use strict";L();E();Pn();Ht();Er();Si();J={labelSize:i.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:i.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:i.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:i.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:i.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:i.extend("--ft-select-selected-option-color","",x.colorOnSurface),helperColor:i.extend("--ft-select-helper-color","",x.colorOnSurfaceMedium),optionsColor:i.extend("--ft-select-options-color","",x.colorOnSurface),optionsZIndex:i.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:i.extend("--ft-select-background-color","",x.colorSurface),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),borderRadiusS:i.external(x.borderRadiusS,"Design system"),elevation02:i.external(x.elevation02,"Design system"),colorError:i.external(x.colorError,"Design system")},hv=O`
1919
+ `}};$o.elementDefinitions={};lv([h({type:String})],$o.prototype,"text",void 0);lv([h({type:Boolean})],$o.prototype,"raised",void 0)});var Xp,qt,Jp=p(()=>{"use strict";q();Vt();Nn();cv();Xp=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},qt=class extends $o{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};qt.elementDefinitions={};qt.styles=[Gr,av];Xp([h({type:Boolean})],qt.prototype,"outlined",void 0);Xp([h({type:Boolean})],qt.prototype,"error",void 0);Xp([h({type:Boolean})],qt.prototype,"disabled",void 0)});var dv=p(()=>{"use strict"});var pv,uv=p(()=>{"use strict";Jp();pv={"ft-input-label":qt}});var fv=p(()=>{"use strict";E();uv();B(pv)});var hv=p(()=>{"use strict";Jp();Nn();dv();fv()});var J,mv,Mn=p(()=>{"use strict";T();E();Nn();Vt();Or();Ei();J={labelSize:i.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:i.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:i.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:i.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:i.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:i.extend("--ft-select-selected-option-color","",x.colorOnSurface),helperColor:i.extend("--ft-select-helper-color","",x.colorOnSurfaceMedium),optionsColor:i.extend("--ft-select-options-color","",x.colorOnSurface),optionsZIndex:i.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:i.extend("--ft-select-background-color","",x.colorSurface),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),borderRadiusS:i.external(x.borderRadiusS,"Design system"),elevation02:i.external(x.elevation02,"Design system"),colorError:i.external(x.colorError,"Design system")},mv=O`
1920
1920
  *:focus {
1921
1921
  outline: none;
1922
1922
  }
@@ -1992,8 +1992,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1992
1992
  overflow: hidden;
1993
1993
  white-space: nowrap;
1994
1994
  text-overflow: ellipsis;
1995
- ${w(Or.fontSize,J.selectedOptionSize)};
1996
- ${w(Or.lineHeight,J.selectedOptionSize)};
1995
+ ${w(wr.fontSize,J.selectedOptionSize)};
1996
+ ${w(wr.lineHeight,J.selectedOptionSize)};
1997
1997
  }
1998
1998
 
1999
1999
  .ft-select--in-error .ft-select--selected-option {
@@ -2052,7 +2052,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2052
2052
  .ft-select:not(.ft-select--has-option-selected) .ft-select--selected-option {
2053
2053
  opacity: 0;
2054
2054
  }
2055
- `});var mv,gv=p(()=>{"use strict";Er();E();Nn();L();mv=O`
2055
+ `});var gv,yv=p(()=>{"use strict";Or();E();Mn();T();gv=O`
2056
2056
  .ft-select--option {
2057
2057
  ${w(le.opacityContentOnSurfaceHover,"0.08")};
2058
2058
  ${w(le.opacityContentOnSurfacePressed,"0.04")};
@@ -2079,7 +2079,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2079
2079
  overflow: hidden;
2080
2080
  }
2081
2081
 
2082
- `});var Mn,Xe,yv=p(()=>{"use strict";E();rt();Te();L();et();q();gv();Mn=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},Xe=class extends ${constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.isSlotEmpty=!0}render(){var e,r;let o={"ft-select--option":!0,"ft-select--option-selected":this.selected,"ft-typography--body2":!0};return y`
2082
+ `});var $n,Xe,bv=p(()=>{"use strict";E();rt();Te();T();et();q();yv();$n=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Xe=class extends ${constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.isSlotEmpty=!0}render(){var e,r;let o={"ft-select--option":!0,"ft-select--option-selected":this.selected,"ft-typography--body2":!0};return y`
2083
2083
  <div class="${he(o)}"
2084
2084
  part="option option-${(r=(e=this.value)===null||e===void 0?void 0:e.toString())===null||r===void 0?void 0:r.replace(/[^\w-]/g,"")}"
2085
2085
  tabindex="0"
@@ -2091,7 +2091,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2091
2091
  </slot>
2092
2092
  ${this.isSlotEmpty?y`<span>${this.label}</span>`:y``}
2093
2093
  </div>
2094
- `}onSlotChange(){this.isSlotEmpty=Xi(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Xe.elementDefinitions={"ft-ripple":Z};Xe.shadowRootOptions={..._t.shadowRootOptions,delegatesFocus:!0};Xe.styles=[mv,Wr];Mn([h({type:String})],Xe.prototype,"label",void 0);Mn([h({type:Object,converter:t=>t})],Xe.prototype,"value",void 0);Mn([h({type:Boolean,reflect:!0})],Xe.prototype,"selected",void 0);Mn([M("slot")],Xe.prototype,"slotElement",void 0);Mn([T()],Xe.prototype,"isSlotEmpty",void 0)});var Ge,xe,Jp=p(()=>{"use strict";L();q();et();Ft();Ua();ls();E();Te();fv();rt();_r();Nn();yv();Ge=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},xe=class t extends ${constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let e=[...this.querySelectorAll("ft-select-option")];return e.length>0?e:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(e=>e.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(e=>e.selected)}get lastOption(){return dl(this.optionsList)}render(){var e,r,o,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((o=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&o!==void 0?o:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return y`
2094
+ `}onSlotChange(){this.isSlotEmpty=en(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Xe.elementDefinitions={"ft-ripple":Z};Xe.shadowRootOptions={..._t.shadowRootOptions,delegatesFocus:!0};Xe.styles=[gv,Wr];$n([h({type:String})],Xe.prototype,"label",void 0);$n([h({type:Object,converter:t=>t})],Xe.prototype,"value",void 0);$n([h({type:Boolean,reflect:!0})],Xe.prototype,"selected",void 0);$n([M("slot")],Xe.prototype,"slotElement",void 0);$n([L()],Xe.prototype,"isSlotEmpty",void 0)});var Ge,xe,eu=p(()=>{"use strict";T();q();et();Bt();zs();ca();E();Te();hv();rt();_r();Mn();bv();Ge=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},xe=class t extends ${constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let e=[...this.querySelectorAll("ft-select-option")];return e.length>0?e:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(e=>e.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(e=>e.selected)}get lastOption(){return pl(this.optionsList)}render(){var e,r,o,n,s;let a=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((o=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&o!==void 0?o:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":a,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return y`
2095
2095
  <div class="${he(f)}" part="container">
2096
2096
  <div class="ft-select--main-panel" part="main-panel">
2097
2097
  <ft-input-label text="${this.label}"
@@ -2099,7 +2099,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2099
2099
  id="label"
2100
2100
  ?disabled=${l}
2101
2101
  ?outlined=${this.outlined}
2102
- ?raised=${d||s}
2102
+ ?raised=${d||a}
2103
2103
  ?error=${this.error}
2104
2104
  ></ft-input-label>
2105
2105
  <div class="ft-select--input-panel"
@@ -2110,7 +2110,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2110
2110
  aria-label="${ar(this.ariaLabel)}"
2111
2111
  aria-labelledby="${Eo(!this.ariaLabel,()=>"label")}"
2112
2112
  aria-haspopup="listbox"
2113
- aria-expanded="${s}"
2113
+ aria-expanded="${a}"
2114
2114
  aria-activedescendant="${ar(this.getOptionId(this.selectedOption))}"
2115
2115
  role="combobox">
2116
2116
  <ft-ripple ?disabled=${l} ?activated=${!this.outlined}></ft-ripple>
@@ -2118,10 +2118,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2118
2118
  <ft-typography variant="${fe.body1}"
2119
2119
  aria-hidden="${d?"false":"true"}"
2120
2120
  class="ft-select--selected-option">
2121
- ${(a=(n=this.selectedOption)===null||n===void 0?void 0:n.label)!==null&&a!==void 0?a:this.label}
2121
+ ${(s=(n=this.selectedOption)===null||n===void 0?void 0:n.label)!==null&&s!==void 0?s:this.label}
2122
2122
  </ft-typography>
2123
2123
  </slot>
2124
- <ft-icon aria-hidden="true" .value=${s?Pe.THIN_ARROW_UP:Pe.THIN_ARROW}></ft-icon>
2124
+ <ft-icon aria-hidden="true" .value=${a?Pe.THIN_ARROW_UP:Pe.THIN_ARROW}></ft-icon>
2125
2125
  </div>
2126
2126
  <div class="ft-select--options"
2127
2127
  part="options"
@@ -2147,7 +2147,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2147
2147
  label="${e.label}"
2148
2148
  .value=${e.value}
2149
2149
  ></ft-select-option>
2150
- `}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.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];jl(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",J.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=Xi(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===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":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=>Le(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=>Le(n.value,e));o&&this.selectOption(o,r)}selectOption(e,r=!0){var o,n;if(!Le((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}};xe.elementDefinitions={"ft-input-label":qt,"ft-typography":ne,"ft-ripple":Z,"ft-icon":ve,"ft-select-option":Xe};xe.searchTimeoutMilliseconds=2e3;xe.styles=[Gr,hv];Ge([h({type:String})],xe.prototype,"label",void 0);Ge([h({type:String})],xe.prototype,"ariaLabel",void 0);Ge([h({type:String})],xe.prototype,"helper",void 0);Ge([h({type:Boolean})],xe.prototype,"outlined",void 0);Ge([h({type:Boolean})],xe.prototype,"disabled",void 0);Ge([h({type:Boolean})],xe.prototype,"error",void 0);Ge([h({type:Boolean})],xe.prototype,"fixedMenuPosition",void 0);Ge([h({type:Array})],xe.prototype,"options",void 0);Ge([T()],xe.prototype,"selectedOption",void 0);Ge([T()],xe.prototype,"optionsDisplayed",void 0);Ge([T()],xe.prototype,"focusOptions",void 0);Ge([T()],xe.prototype,"currentSearch",void 0);Ge([T()],xe.prototype,"lastSearchInputDate",void 0);Ge([M(".ft-select")],xe.prototype,"container",void 0);Ge([M(".ft-select--options")],xe.prototype,"optionsMenu",void 0);Ge([M(".ft-select--input-panel")],xe.prototype,"mainPanel",void 0);Ge([M("slot:not([name])")],xe.prototype,"optionsSlot",void 0)});var bv=p(()=>{"use strict"});var xv,vv=p(()=>{"use strict";Jp();xv={"ft-select":xe,"ft-select-option":Xe}});var Sv=p(()=>{"use strict";E();vv();B(xv)});var Cv=p(()=>{"use strict";Jp();Nn();bv();Sv()});var je,Ev,As=p(()=>{"use strict";L();E();je={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(x.borderRadiusM,"Design system")},Ev=O`
2150
+ `}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.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];Kl(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",J.optionsHeight,0).then(({x:s,y:a})=>{this.optionsMenu.style.left=`${s}px`,this.optionsMenu.style.top=`${a}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=en(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===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":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,s=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[(s-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(s+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 s;return((s=n.label)===null||s===void 0?void 0:s.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=>Le(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=>Le(n.value,e));o&&this.selectOption(o,r)}selectOption(e,r=!0){var o,n;if(!Le((o=this.selectedOption)===null||o===void 0?void 0:o.value,e?.value)){this.selectedOption=e;for(let s of this.options)s.selected=s===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}};xe.elementDefinitions={"ft-input-label":qt,"ft-typography":ne,"ft-ripple":Z,"ft-icon":ve,"ft-select-option":Xe};xe.searchTimeoutMilliseconds=2e3;xe.styles=[Gr,mv];Ge([h({type:String})],xe.prototype,"label",void 0);Ge([h({type:String})],xe.prototype,"ariaLabel",void 0);Ge([h({type:String})],xe.prototype,"helper",void 0);Ge([h({type:Boolean})],xe.prototype,"outlined",void 0);Ge([h({type:Boolean})],xe.prototype,"disabled",void 0);Ge([h({type:Boolean})],xe.prototype,"error",void 0);Ge([h({type:Boolean})],xe.prototype,"fixedMenuPosition",void 0);Ge([h({type:Array})],xe.prototype,"options",void 0);Ge([L()],xe.prototype,"selectedOption",void 0);Ge([L()],xe.prototype,"optionsDisplayed",void 0);Ge([L()],xe.prototype,"focusOptions",void 0);Ge([L()],xe.prototype,"currentSearch",void 0);Ge([L()],xe.prototype,"lastSearchInputDate",void 0);Ge([M(".ft-select")],xe.prototype,"container",void 0);Ge([M(".ft-select--options")],xe.prototype,"optionsMenu",void 0);Ge([M(".ft-select--input-panel")],xe.prototype,"mainPanel",void 0);Ge([M("slot:not([name])")],xe.prototype,"optionsSlot",void 0)});var xv=p(()=>{"use strict"});var vv,Sv=p(()=>{"use strict";eu();vv={"ft-select":xe,"ft-select-option":Xe}});var Cv=p(()=>{"use strict";E();Sv();B(vv)});var Ev=p(()=>{"use strict";eu();Mn();xv();Cv()});var je,Ov,_a=p(()=>{"use strict";T();E();je={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(x.borderRadiusM,"Design system")},Ov=O`
2151
2151
  :host {
2152
2152
  width: ${je.width};
2153
2153
  height: ${je.height};
@@ -2174,7 +2174,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2174
2174
  background-position: calc(100vw + ${je.glareWidth}) 0, calc(${je.glareWidth} * -1) 0;
2175
2175
  }
2176
2176
  }
2177
- `});var G,Ov,wv,_s=p(()=>{"use strict";E();L();Io();Pn();Nn();As();Cs();Os();Ht();G={height:i.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-bar-border-radius","",x.borderRadiusS),mobileOpenPosition:i.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:i.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:i.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:i.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:i.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:i.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:i.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:i.external(x.colorSurface,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorOutline:i.external(x.colorOutline,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),elevation02:i.external(x.elevation02,"Design system"),buttonColor:i.external(Y.color,"Button"),buttonRippleColor:i.external(Y.rippleColor,"Button"),activeItemBorderColor:i.extend("--ft-search-bar-active-border-color","",x.colorPrimary)},Ov=O`
2177
+ `});var G,wv,Rv,ka=p(()=>{"use strict";E();T();Po();Nn();Mn();_a();Ea();wa();Vt();G={height:i.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-bar-border-radius","",x.borderRadiusS),mobileOpenPosition:i.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:i.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:i.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:i.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:i.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:i.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:i.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:i.external(x.colorSurface,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorOutline:i.external(x.colorOutline,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),elevation02:i.external(x.elevation02,"Design system"),buttonColor:i.external(Y.color,"Button"),buttonRippleColor:i.external(Y.rippleColor,"Button"),activeItemBorderColor:i.extend("--ft-search-bar-active-border-color","",x.colorPrimary)},wv=O`
2178
2178
  * {
2179
2179
  box-sizing: border-box;
2180
2180
  }
@@ -2367,7 +2367,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2367
2367
  ${w(N.fontWeight,"bold")};
2368
2368
  }
2369
2369
 
2370
- `,wv=O`
2370
+ `,Rv=O`
2371
2371
  .ft-search-bar--presets {
2372
2372
  min-width: 200px;
2373
2373
  }
@@ -2428,7 +2428,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2428
2428
  .ft-search-bar--desktop-menu .ft-search-bar--filters-container {
2429
2429
  display: block;
2430
2430
  height: ${G.desktopFiltersHeight};
2431
- ${w(at.gap,"16px")};
2431
+ ${w(st.gap,"16px")};
2432
2432
  }
2433
2433
 
2434
2434
  .ft-search-bar--desktop-menu ft-filter {
@@ -2443,15 +2443,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2443
2443
  }
2444
2444
 
2445
2445
  .ft-search-bar--desktop-menu [data-filters-count="2"] ft-filter {
2446
- max-width: calc(50% - ${at.gap} / 2);
2446
+ max-width: calc(50% - ${st.gap} / 2);
2447
2447
  }
2448
2448
 
2449
2449
  .ft-search-bar--desktop-menu [data-filters-count="3"] ft-filter {
2450
- max-width: max(250px, calc(33% - 2 * ${at.gap} / 3));
2450
+ max-width: max(250px, calc(33% - 2 * ${st.gap} / 3));
2451
2451
  }
2452
2452
 
2453
2453
  .ft-search-bar--desktop-menu [data-filters-count="4"] ft-filter {
2454
- max-width: max(250px, calc(25% - 3 * ${at.gap} / 4));
2454
+ max-width: max(250px, calc(25% - 3 * ${st.gap} / 4));
2455
2455
  }
2456
2456
 
2457
2457
  .ft-search-bar--hierarchical-filter {
@@ -2528,8 +2528,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2528
2528
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
2529
2529
  margin: 0;
2530
2530
  }
2531
- `});var Zr,eu=p(()=>{"use strict";L();E();As();Zr=class extends ${render(){return y`
2532
- `}};Zr.elementDefinitions={};Zr.styles=Ev});var Rv=p(()=>{"use strict"});var Av,_v=p(()=>{"use strict";eu();Av={"ft-skeleton":Zr}});var kv=p(()=>{"use strict";E();_v();B(Av)});var Lv=p(()=>{"use strict";eu();As();Rv();kv()});var dr,ks=p(()=>{"use strict";L();Ft();_r();E();_s();rt();dr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new se(r)}render(){let e=this.recentSearchesMatchingQuery;return y`
2531
+ `});var Zr,tu=p(()=>{"use strict";T();E();_a();Zr=class extends ${render(){return y`
2532
+ `}};Zr.elementDefinitions={};Zr.styles=Ov});var Av=p(()=>{"use strict"});var _v,kv=p(()=>{"use strict";tu();_v={"ft-skeleton":Zr}});var Lv=p(()=>{"use strict";E();kv();B(_v)});var Tv=p(()=>{"use strict";tu();_a();Av();Lv()});var pr,La=p(()=>{"use strict";T();Bt();_r();E();ka();rt();pr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new ae(r)}render(){let e=this.recentSearchesMatchingQuery;return y`
2533
2533
  <div class="ft-search-bar--suggestions ft-word-wrap ${this.shouldDisplaySuggestions?"ft-search-bar--suggestions-not-empty":""}"
2534
2534
  id="${this.listboxId}"
2535
2535
  role="listbox"
@@ -2582,9 +2582,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2582
2582
  </div>
2583
2583
  `)}
2584
2584
  </div>
2585
- `}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"?nt.file_format:nt.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?Pe.BOOK:Pe.ARTICLE;break;case"DOCUMENT":o=as(e.mimeType,e.filenameExtension);break;case"TOPIC":o=Pe.TOPICS;break;case"HTML_PACKAGE":o=Pe.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=Pe.FILE_CODE;break}return y`
2585
+ `}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"?nt.file_format:nt.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?Pe.BOOK:Pe.ARTICLE;break;case"DOCUMENT":o=aa(e.mimeType,e.filenameExtension);break;case"TOPIC":o=Pe.TOPICS;break;case"HTML_PACKAGE":o=Pe.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=Pe.FILE_CODE;break}return y`
2586
2586
  <ft-icon .variant=${r} .value=${o} part="suggestion-icon"></ft-icon>
2587
- `}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()))}};dr.styles=[rn,O`
2587
+ `}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()))}};pr.styles=[nn,O`
2588
2588
  .ft-search-bar--mobile .ft-search-bar--suggestions {
2589
2589
  flex-grow: 1;
2590
2590
  flex-shrink: 1;
@@ -2674,7 +2674,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2674
2674
  ft-ripple {
2675
2675
  ${w(le.opacityContentOnSurfaceHover,le.opacityContentOnSurfaceSelected)}
2676
2676
  }
2677
- `]});var pr,Ls=p(()=>{"use strict";L();Ft();Ap();E();Es();Qp();pr=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return y``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),o=y`
2677
+ `]});var ur,Ta=p(()=>{"use strict";T();Bt();_p();E();Oa();Yp();ur=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return y``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),o=y`
2678
2678
  ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?y`
2679
2679
  <ft-chip part="selected-filters selected-filter-ft-locale"
2680
2680
  ?dense=${this.searchBar.dense&&!e}
@@ -2685,7 +2685,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2685
2685
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
2686
2686
  </ft-chip>
2687
2687
  `:null}
2688
- ${ge(this.searchBar.facets,n=>n.key,n=>{let a=mx(n);return ge(a,s=>{let l=n.label+": "+ux(s),d=n.key.replace(":","-"),f=y`
2688
+ ${ge(this.searchBar.facets,n=>n.key,n=>{let s=gx(n);return ge(s,a=>{let l=n.label+": "+fx(a),d=n.key.replace(":","-"),f=y`
2689
2689
  <ft-chip
2690
2690
  part="selected-filters selected-filter-${d}"
2691
2691
  ?dense=${this.searchBar.dense&&!e}
@@ -2695,10 +2695,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2695
2695
  label="${l}"
2696
2696
  title="${r?l:k}"
2697
2697
  @click=${()=>this.openMobileFilters(n.key)}
2698
- @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(g=>g!==s))}
2698
+ @icon-click=${()=>this.searchBar.setFilter(n.key,s.filter(g=>g!==a))}
2699
2699
  data-key="${n.key}"
2700
- data-value="${s}">
2701
- ${px(s)}
2700
+ data-value="${a}">
2701
+ ${ux(a)}
2702
2702
  </ft-chip>
2703
2703
  `;return r?f:y`
2704
2704
  <ft-tooltip inline text="${l}">
@@ -2724,7 +2724,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2724
2724
  <div class="ft-search-bar--selected-filters" part="selected-filters-container">
2725
2725
  ${o}
2726
2726
  </div>
2727
- `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var r;return(r=this.searchBar.availableContentLocales.filter(o=>{var n;return((n=o.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(o=>o.label).pop())!==null&&r!==void 0?r:e}};pr.styles=O`
2727
+ `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var r;return(r=this.searchBar.availableContentLocales.filter(o=>{var n;return((n=o.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(o=>o.label).pop())!==null&&r!==void 0?r:e}};ur.styles=O`
2728
2728
  .ft-search-bar--selected-filters:not(ft-snap-scroll) {
2729
2729
  flex-shrink: 0;
2730
2730
  display: flex;
@@ -2735,7 +2735,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2735
2735
 
2736
2736
  ft-snap-scroll.ft-search-bar--selected-filters {
2737
2737
  overflow: hidden;
2738
- ${w(at.gap,"4px")};
2738
+ ${w(st.gap,"4px")};
2739
2739
  }
2740
2740
 
2741
2741
  ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
@@ -2754,7 +2754,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2754
2754
  .ft-search-bar--selected-filters ft-chip {
2755
2755
  flex-grow: 0;
2756
2756
  }
2757
- `});var QE,_i,Tv=p(()=>{"use strict";L();Ls();ks();et();E();QE=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},_i=class{constructor(e,r,o){this.searchBar=e,this.selectedFacetsManager=r??new pr(e),this.suggestManager=o??new dr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return y`
2757
+ `});var YE,Li,Iv=p(()=>{"use strict";T();Ta();La();et();E();YE=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Li=class{constructor(e,r,o){this.searchBar=e,this.selectedFacetsManager=r??new ur(e),this.suggestManager=o??new pr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return y`
2758
2758
  <div class="${he(r)}" part="container" tabindex="-1">
2759
2759
  <div class="ft-search-bar" role="search">
2760
2760
  <div class="ft-search-bar--input-container" part="input-container">
@@ -2811,9 +2811,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2811
2811
  @click=${()=>{var r;return this.searchBar.isMobileMenuOpen()?this.searchBar.onLaunchSearch():(r=this.searchBar.input)===null||r===void 0?void 0:r.focus()}}
2812
2812
  ></ft-button>
2813
2813
  </div>
2814
- `}onSearchBarKeyDown(e){var r;switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let o=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;o?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};_i.styles=O`
2814
+ `}onSearchBarKeyDown(e){var r;switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let o=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;o?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};Li.styles=O`
2815
2815
 
2816
- `;QE([Mr()],_i.prototype,"onSearchBarKeyDown",null)});var YE,ki,Iv=p(()=>{"use strict";L();Ft();Ls();ks();et();E();YE=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},ki=class{constructor(e,r,o){this.searchBar=e,this.selectedFacetsManager=r??new pr(e),this.suggestManager=o??new dr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return y`
2816
+ `;YE([Mr()],Li.prototype,"onSearchBarKeyDown",null)});var XE,Ti,Pv=p(()=>{"use strict";T();Bt();Ta();La();et();E();XE=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ti=class{constructor(e,r,o){this.searchBar=e,this.selectedFacetsManager=r??new ur(e),this.suggestManager=o??new pr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return y`
2817
2817
  <div class="${he(r)}" part="container" tabindex="-1">
2818
2818
  <div class="ft-search-bar" part="search-bar" role="search">
2819
2819
  ${this.renderSearchBarLeftAction()}
@@ -2890,9 +2890,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2890
2890
  @click=${()=>this.searchBar.onLaunchSearch()}
2891
2891
  ></ft-button>
2892
2892
  </div>
2893
- `}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let o=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;o?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};ki.styles=O`
2893
+ `}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let o=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;o?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};Ti.styles=O`
2894
2894
 
2895
- `;YE([Mr()],ki.prototype,"onSearchBarKeyDown",null)});var ie,Pv,tu,XE,K,ru=p(()=>{"use strict";L();q();Ft();E();dx();Te();Ap();Hx();_r();Yx();jt();Qp();Cv();Es();Jd();rt();_s();Lv();ks();Ls();Tv();Iv();$p();Vt();ie=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};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");Pv={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},tu=class extends CustomEvent{constructor(e){super("change",{detail:e})}},XE=()=>{},K=class extends ${constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Fr(Pv,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new Vr(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Mt.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new dr(this),this.selectedFacetsManager=new pr(this),this.desktopSearchBarManager=new ki(this),this.mobileSearchBarManager=new _i(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new se(10),this.updateLocalesDebouncer=new se(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacets()},this.facetsLoaded=!1,this.updateFacetsDebouncer=new se(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(o=>r.values.includes(o)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(o=>r.metadataFilters.some(n=>this.compareFilters(o,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var o,n;return((n=(o=r.valueFilter)===null||o===void 0?void 0:o.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===Mt.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await Nr(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return y`
2895
+ `;XE([Mr()],Ti.prototype,"onSearchBarKeyDown",null)});var ie,Nv,ru,JE,K,ou=p(()=>{"use strict";T();q();Bt();E();px();Te();_p();Vx();_r();Xx();jt();Yp();Ev();Oa();ep();rt();ka();Tv();La();Ta();Iv();Pv();Dp();Wt();ie=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");Nv={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},ru=class extends CustomEvent{constructor(e){super("change",{detail:e})}},JE=()=>{},K=class extends ${constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Fr(Nv,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new Vr(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=$t.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new pr(this),this.selectedFacetsManager=new ur(this),this.desktopSearchBarManager=new Ti(this),this.mobileSearchBarManager=new Li(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new ae(10),this.updateLocalesDebouncer=new ae(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacets()},this.facetsLoaded=!1,this.updateFacetsDebouncer=new ae(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(o=>r.values.includes(o)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(o=>r.metadataFilters.some(n=>this.compareFilters(o,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var o,n;return((n=(o=r.valueFilter)===null||o===void 0?void 0:o.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===$t.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await Nr(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return y`
2896
2896
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2897
2897
  <div class="sr-only" aria-live="polite" aria-atomic="true">
2898
2898
  ${this.renderLiveText()}
@@ -2920,13 +2920,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2920
2920
  </div>
2921
2921
  </ft-accordion-item>
2922
2922
  `:null}
2923
- ${ge(this.facets,r=>r.key,r=>{let o=Rp(r),n=r.key.replace(":","-"),a=hx(o);return r.rootNodes.length>0?y`
2923
+ ${ge(this.facets,r=>r.key,r=>{let o=Ap(r),n=r.key.replace(":","-"),s=mx(o);return r.rootNodes.length>0?y`
2924
2924
  <ft-accordion-item data-facet-key="${r.key}">
2925
2925
  <div class="ft-search-bar--filter-label" slot="toggle">
2926
2926
  <ft-typography variant="button">${r.label}</ft-typography>
2927
- ${a.length>0?y`
2927
+ ${s.length>0?y`
2928
2928
  <ft-typography class="ft-search-bar--filter-label-values" variant="body2">
2929
- ${a.join(", ")}
2929
+ ${s.join(", ")}
2930
2930
  </ft-typography>
2931
2931
  `:k}
2932
2932
  </div>
@@ -2942,7 +2942,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2942
2942
  raiseSelectedOptions
2943
2943
  .options=${o.options}
2944
2944
  .displayedValuesLimit=${10}
2945
- @change=${s=>this.setFilter(o.id,s.detail)}
2945
+ @change=${a=>this.setFilter(o.id,a.detail)}
2946
2946
  ></ft-filter>
2947
2947
  </ft-accordion-item>
2948
2948
  `:k})}
@@ -3013,7 +3013,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3013
3013
  ${this.getContentLocaleRadioGroup()}
3014
3014
  </div>
3015
3015
  `:k}
3016
- ${ge(this.facets,e=>e.key,e=>{let r=Rp(e),o=r.options.some(a=>{var s,l;return((l=(s=a.subOptions)===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return y`
3016
+ ${ge(this.facets,e=>e.key,e=>{let r=Ap(e),o=r.options.some(s=>{var a,l;return((l=(a=s.subOptions)===null||a===void 0?void 0:a.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return y`
3017
3017
  <ft-filter
3018
3018
  class="${o?"ft-search-bar--hierarchical-filter":""}"
3019
3019
  part="filters filter filter-${n}"
@@ -3028,18 +3028,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3028
3028
  raiseSelectedOptions
3029
3029
  .options=${r.options}
3030
3030
  .displayedValuesLimit=${10}
3031
- @change=${a=>this.setFilter(r.id,a.detail)}
3031
+ @change=${s=>this.setFilter(r.id,s.detail)}
3032
3032
  ></ft-filter>
3033
3033
  `})}
3034
3034
  </ft-snap-scroll>
3035
- `:k}firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,o,n,a,s;if(e.has("labels")&&(this.labelResolver=new Fr(Pv,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=d=>this.availableContentLocales.some(f=>f.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((o=this.presets)!==null&&o!==void 0?o:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(f=>vs(f)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(d=>d.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new tu(this.request)))}updateFacets(){this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):(this.facets=[],this.facetsLoaded=!0,this.facetsInitialized=!0)}contentAvailableCallback(e){var r,o,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(o=this.scrollingFiltersContainer)===null||o===void 0||o.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;if(this.facetsRequest.length==0){this.facets=[];return}let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(o=>o.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch(XE)),this.facets=[];for(let o of this.facetsRequest)r.has(o.id)?this.facets.push(r.get(o.id)):this.knownFacetLabels.has(o.id)&&this.facets.push({key:o.id,label:this.knownFacetLabels.get(o.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,o)=>o<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!hn&&this.focusInput(),H.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),H.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let o=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&gt(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&o.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=o,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>gt(r.rootNodes,o=>o.childNodes).forEach(o=>o.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?k:y`
3035
+ `:k}firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,o,n,s,a;if(e.has("labels")&&(this.labelResolver=new Fr(Nv,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=d=>this.availableContentLocales.some(f=>f.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((o=this.presets)!==null&&o!==void 0?o:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(f=>Sa(f)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(d=>d.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(a=((s=this.presets)!==null&&s!==void 0?s:[]).find(l=>this.compareRequests(l,this.request)))===null||a===void 0?void 0:a.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new ru(this.request)))}updateFacets(){this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):(this.facets=[],this.facetsLoaded=!0,this.facetsInitialized=!0)}contentAvailableCallback(e){var r,o,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(o=this.scrollingFiltersContainer)===null||o===void 0||o.scrollIndexIntoView(this.facets.findIndex(a=>a.key===this.scrollToFacet));let s=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);s&&(s.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;if(this.facetsRequest.length==0){this.facets=[];return}let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(o=>o.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch(JE)),this.facets=[];for(let o of this.facetsRequest)r.has(o.id)?this.facets.push(r.get(o.id)):this.knownFacetLabels.has(o.id)&&this.facets.push({key:o.id,label:this.knownFacetLabels.get(o.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,o)=>o<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!gn&&this.focusInput(),H.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),H.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let o=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&gt(n.rootNodes,s=>s.childNodes).forEach(s=>s.selected=r.includes(s.value))}),r.length&&o.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=o,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>gt(r.rootNodes,o=>o.childNodes).forEach(o=>o.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?k:y`
3036
3036
  <div class="ft-search-bar--floating-panel"
3037
3037
  id="ft-search-bar-floating-panel"
3038
3038
  @keyup=${this.onFloatingContainerKeyUp}
3039
3039
  part="floating-panel"
3040
3040
  tabindex="-1">
3041
3041
  ${this.renderDesktopMenu()}
3042
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};K.elementDefinitions={"ft-accordion":cr,"ft-accordion-item":$t,"ft-button":W,"ft-chip":_e,"ft-filter":de,"ft-filter-option":Ot,"ft-icon":ve,"ft-ripple":Z,"ft-select":xe,"ft-select-option":Xe,"ft-size-watcher":St,"ft-skeleton":Zr,"ft-snap-scroll":Ne,"ft-tooltip":Ie,"ft-typography":ne,"ft-radio-group":Et,"ft-radio":Be};K.styles=[Wr,go,Ov,wv,pr.styles,dr.styles,li];ie([h({type:Boolean})],K.prototype,"dense",void 0);ie([h()],K.prototype,"mode",void 0);ie([h({type:Boolean})],K.prototype,"forceMobileMenuOpen",void 0);ie([h({type:Boolean})],K.prototype,"forceMenuOpen",void 0);ie([h()],K.prototype,"baseUrl",void 0);ie([h()],K.prototype,"apiIntegrationIdentifier",void 0);ie([h()],K.prototype,"contentLocale",void 0);ie([T()],K.prototype,"availableContentLocales",void 0);ie([T()],K.prototype,"availableContentLocalesInitialized",void 0);ie([h()],K.prototype,"uiLocale",void 0);ie([pe({})],K.prototype,"labels",void 0);ie([pe([])],K.prototype,"displayedFilters",void 0);ie([pe([])],K.prototype,"presets",void 0);ie([h({type:String,reflect:!0})],K.prototype,"selectedPreset",void 0);ie([pe([])],K.prototype,"priors",void 0);ie([h()],K.prototype,"searchRequestSerializer",void 0);ie([h({type:Boolean})],K.prototype,"focusOnDisplay",void 0);ie([T()],K.prototype,"metadataFilters",void 0);ie([T()],K.prototype,"sizeCategory",void 0);ie([T()],K.prototype,"displayFacets",void 0);ie([T()],K.prototype,"mobileMenuOpen",void 0);ie([T()],K.prototype,"facets",void 0);ie([T()],K.prototype,"facetsInitialized",void 0);ie([M(".ft-search-bar--container")],K.prototype,"container",void 0);ie([M(".ft-search-bar--filters-opener")],K.prototype,"filtersOpener",void 0);ie([M(".ft-search-bar--floating-panel")],K.prototype,"floatingContainer",void 0);ie([M("ft-snap-scroll.ft-search-bar--filters-container")],K.prototype,"scrollingFiltersContainer",void 0);ie([M(".ft-search-bar--input")],K.prototype,"input",void 0);ie([M(".ft-search-bar--launch-search")],K.prototype,"launchSearchButton",void 0);ie([T()],K.prototype,"query",void 0);ie([T()],K.prototype,"suggestions",void 0);ie([T()],K.prototype,"recentSearches",void 0);ie([T()],K.prototype,"scrollToFacet",void 0);ie([T()],K.prototype,"api",void 0);ie([T()],K.prototype,"displaySuggestListbox",void 0);ie([T()],K.prototype,"selectedSuggestOptionId",void 0);ie([T()],K.prototype,"selectedSuggestRemoveRecent",void 0);ie([T()],K.prototype,"facetsLoaded",void 0)});var Nv=p(()=>{"use strict"});var Mv,$v=p(()=>{"use strict";ru();Mv={"ft-search-bar":K}});var Dv=p(()=>{"use strict";E();$v();B(Mv)});var Fv=p(()=>{"use strict";ru();_s();Nv();Dv()});var Bv,Uv=p(()=>{"use strict";L();wn();E();rt();Fv();Bv=O`
3042
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};K.elementDefinitions={"ft-accordion":dr,"ft-accordion-item":Dt,"ft-button":W,"ft-chip":_e,"ft-filter":de,"ft-filter-option":Ot,"ft-icon":ve,"ft-ripple":Z,"ft-select":xe,"ft-select-option":Xe,"ft-size-watcher":St,"ft-skeleton":Zr,"ft-snap-scroll":Ne,"ft-tooltip":Ie,"ft-typography":ne,"ft-radio-group":Et,"ft-radio":Be};K.styles=[Wr,go,wv,Rv,ur.styles,pr.styles,ci];ie([h({type:Boolean})],K.prototype,"dense",void 0);ie([h()],K.prototype,"mode",void 0);ie([h({type:Boolean})],K.prototype,"forceMobileMenuOpen",void 0);ie([h({type:Boolean})],K.prototype,"forceMenuOpen",void 0);ie([h()],K.prototype,"baseUrl",void 0);ie([h()],K.prototype,"apiIntegrationIdentifier",void 0);ie([h()],K.prototype,"contentLocale",void 0);ie([L()],K.prototype,"availableContentLocales",void 0);ie([L()],K.prototype,"availableContentLocalesInitialized",void 0);ie([h()],K.prototype,"uiLocale",void 0);ie([pe({})],K.prototype,"labels",void 0);ie([pe([])],K.prototype,"displayedFilters",void 0);ie([pe([])],K.prototype,"presets",void 0);ie([h({type:String,reflect:!0})],K.prototype,"selectedPreset",void 0);ie([pe([])],K.prototype,"priors",void 0);ie([h()],K.prototype,"searchRequestSerializer",void 0);ie([h({type:Boolean})],K.prototype,"focusOnDisplay",void 0);ie([L()],K.prototype,"metadataFilters",void 0);ie([L()],K.prototype,"sizeCategory",void 0);ie([L()],K.prototype,"displayFacets",void 0);ie([L()],K.prototype,"mobileMenuOpen",void 0);ie([L()],K.prototype,"facets",void 0);ie([L()],K.prototype,"facetsInitialized",void 0);ie([M(".ft-search-bar--container")],K.prototype,"container",void 0);ie([M(".ft-search-bar--filters-opener")],K.prototype,"filtersOpener",void 0);ie([M(".ft-search-bar--floating-panel")],K.prototype,"floatingContainer",void 0);ie([M("ft-snap-scroll.ft-search-bar--filters-container")],K.prototype,"scrollingFiltersContainer",void 0);ie([M(".ft-search-bar--input")],K.prototype,"input",void 0);ie([M(".ft-search-bar--launch-search")],K.prototype,"launchSearchButton",void 0);ie([L()],K.prototype,"query",void 0);ie([L()],K.prototype,"suggestions",void 0);ie([L()],K.prototype,"recentSearches",void 0);ie([L()],K.prototype,"scrollToFacet",void 0);ie([L()],K.prototype,"api",void 0);ie([L()],K.prototype,"displaySuggestListbox",void 0);ie([L()],K.prototype,"selectedSuggestOptionId",void 0);ie([L()],K.prototype,"selectedSuggestRemoveRecent",void 0);ie([L()],K.prototype,"facetsLoaded",void 0)});var Mv=p(()=>{"use strict"});var $v,Dv=p(()=>{"use strict";ou();$v={"ft-search-bar":K}});var Fv=p(()=>{"use strict";E();Dv();B($v)});var Bv=p(()=>{"use strict";ou();ka();Mv();Fv()});var Uv,zv=p(()=>{"use strict";T();Rn();E();rt();Bv();Uv=O`
3043
3043
  * {
3044
3044
  box-sizing: border-box;
3045
3045
  }
@@ -3093,16 +3093,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3093
3093
  ft-ripple {
3094
3094
  ${w(le.opacityContentOnSurfaceHover,le.opacityContentOnSurfaceSelected)}
3095
3095
  }
3096
- `});var Qr,zv=p(()=>{"use strict";E();L();Uv();Ft();_r();rt();Te();Vt();Sp();jt();Qr=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){var e;let r=Ar.get(),{recentQuerySuggestions:o}=this.ftSearchInput;return y`
3096
+ `});var Qr,Hv=p(()=>{"use strict";E();T();zv();Bt();_r();rt();Te();Wt();Cp();jt();Qr=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){var e;let r=Ar.get(),{recentQuerySuggestions:o}=this.ftSearchInput;return y`
3097
3097
  <div class="ft-search-input-suggestion ft-word-wrap"
3098
3098
  id="${this.listboxId}"
3099
3099
  role="listbox"
3100
3100
  aria-label="${kr.messages.suggestionsLabel()}"
3101
3101
  part="container">
3102
- ${ge(o,n=>n,(n,a)=>this.renderRecentQuery(a,n,r))}
3103
- ${ge((e=this.ftSearchInput.suggestResults)!==null&&e!==void 0?e:[],n=>n.value,(n,a)=>this.renderSuggestion(o.length+a,n,r))}
3102
+ ${ge(o,n=>n,(n,s)=>this.renderRecentQuery(s,n,r))}
3103
+ ${ge((e=this.ftSearchInput.suggestResults)!==null&&e!==void 0?e:[],n=>n.value,(n,s)=>this.renderSuggestion(o.length+s,n,r))}
3104
3104
  </div>
3105
- `}renderRecentQuery(e,r,o){return this.renderOption(e,r,"history",nt.material,!0,o)}renderSuggestion(e,r,o){let n=r.type==="DOCUMENT"?nt.file_format:nt.fluid_topics,a;switch(r.type){case"MAP":a=r.editorialType==="BOOK"?Pe.BOOK:Pe.ARTICLE;break;case"DOCUMENT":a=as(r.mimeType,r.filenameExtension);break;case"TOPIC":a=Pe.TOPICS;break;case"HTML_PACKAGE":a=Pe.BOX_CODE;break;case"HTML_PACKAGE_PAGE":a=Pe.FILE_CODE;break}return this.renderOption(e,r.value,a,n,!1,o)}renderOption(e,r,o,n,a,s){let l=this.ftSearchInput.selectedSuggestOptionIndex===e,d=this.ftSearchInput.selectedSuggestOptionRemove,f=this.ftSearchInput.launchSearchPath?s.serializeToCurrentPageIfPossible({...this.ftSearchInput.request,query:r},this.ftSearchInput.launchSearchPath):k;return y`
3105
+ `}renderRecentQuery(e,r,o){return this.renderOption(e,r,"history",nt.material,!0,o)}renderSuggestion(e,r,o){let n=r.type==="DOCUMENT"?nt.file_format:nt.fluid_topics,s;switch(r.type){case"MAP":s=r.editorialType==="BOOK"?Pe.BOOK:Pe.ARTICLE;break;case"DOCUMENT":s=aa(r.mimeType,r.filenameExtension);break;case"TOPIC":s=Pe.TOPICS;break;case"HTML_PACKAGE":s=Pe.BOX_CODE;break;case"HTML_PACKAGE_PAGE":s=Pe.FILE_CODE;break}return this.renderOption(e,r.value,s,n,!1,o)}renderOption(e,r,o,n,s,a){let l=this.ftSearchInput.selectedSuggestOptionIndex===e,d=this.ftSearchInput.selectedSuggestOptionRemove,f=this.ftSearchInput.launchSearchPath?a.serializeToCurrentPageIfPossible({...this.ftSearchInput.request,query:r},this.ftSearchInput.launchSearchPath):k;return y`
3106
3106
  <div part="suggestion-container"
3107
3107
  class="ft-search-input-suggestion--container">
3108
3108
  <a href="${f}"
@@ -3118,7 +3118,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3118
3118
  <ft-icon variant="${n}" value="${o}" part="suggestion-icon"></ft-icon>
3119
3119
  <ft-typography variant="${fe.body1}">${r}</ft-typography>
3120
3120
  </a>
3121
- ${a?y`
3121
+ ${s?y`
3122
3122
  <ft-button icon="${Pe.CLOSE}"
3123
3123
  round
3124
3124
  part="remove-suggestion"
@@ -3132,7 +3132,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3132
3132
  </ft-button>
3133
3133
  `:k}
3134
3134
  </div>
3135
- `}onRemoveRecentQuery(e){var r;(r=this.ftSearchInput.stateManager)===null||r===void 0||r.removeRecentQuery(e)}onSelectOption(e){this.ftSearchInput.onSuggestionSelected(e)}get activeElementId(){let{selectedSuggestOptionIndex:e,selectedSuggestOptionRemove:r}=this.ftSearchInput;if(e!==void 0)return(r?"remove-suggestion-":"suggestion-")+e}get activeElement(){var e;let r=this.activeElementId;if(r!==void 0)return(e=this.ftSearchInput.shadowRoot.getElementById(r))!==null&&e!==void 0?e:void 0}recentQueriesCount(){return this.ftSearchInput.recentQuerySuggestions.length}suggestionsCount(){var e,r;return(r=(e=this.ftSearchInput.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0}optionsCount(){return this.recentQueriesCount()+this.suggestionsCount()}clearSelection(){this.ftSearchInput.selectedSuggestOptionIndex=void 0,this.ftSearchInput.selectedSuggestOptionRemove=!1}selectNext(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=0:(this.ftSearchInput.selectedSuggestOptionIndex++,this.ftSearchInput.selectedSuggestOptionIndex>=this.optionsCount()&&this.clearSelection())}selectPrevious(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=this.optionsCount()-1:(this.ftSearchInput.selectedSuggestOptionIndex--,this.ftSearchInput.selectedSuggestOptionIndex<0&&this.clearSelection())}selectLeft(){this.ftSearchInput.selectedSuggestOptionIndex!==void 0&&(this.ftSearchInput.selectedSuggestOptionRemove?this.ftSearchInput.selectedSuggestOptionRemove=!1:this.clearSelection())}isRemovable(e){return e<this.recentQueriesCount()}selectRight(){let e=this.ftSearchInput.selectedSuggestOptionIndex;e!==void 0&&(!this.ftSearchInput.selectedSuggestOptionRemove&&this.isRemovable(e)?this.ftSearchInput.selectedSuggestOptionRemove=!0:this.clearSelection())}closeBox(){this.ftSearchInput.displaySuggestListbox=!1,this.clearSelection()}};Qr.elementDefinitions={"ft-ripple":Z,"ft-typography":ne,"ft-icon":ve,"ft-button":W};Qr.styles=[rn,Bv]});function eO(t){let e=t.liveQuery.trim().toLowerCase();return t.recentQueries.filter(r=>r.toLowerCase().includes(e)).slice(0,JE)}var Ke,JE,Oe,ou=p(()=>{"use strict";L();E();wn();Po();Pt();Sp();q();et();zv();jt();Te();Vt();ns();Ke=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},JE=5;Oe=class extends dt(Nt){constructor(){super(),this.liveQuery="",this.recentQuerySuggestions=[],this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.selectedSuggestOptionRemove=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Qr(this),this.showSuggestionsOnFocus=!0,this.onPointerDown=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||this.suggestions.closeBox()},this.addI18nContext(kr)}render(){var e;let r=this.suggestions.optionsCount()>0,o={"ft-search-input":!0,"ft-search-input--with-suggestions":r,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},n={...this.request,query:this.liveQuery},a=this.useCustomSearchPath?this.launchSearchPath:void 0,s=Ar.get().serializeToCurrentPageIfPossible(n,a),l=!this.forceCloseSuggestion&&this.displaySuggestListbox&&r;return y`
3135
+ `}onRemoveRecentQuery(e){var r;(r=this.ftSearchInput.stateManager)===null||r===void 0||r.removeRecentQuery(e)}onSelectOption(e){this.ftSearchInput.onSuggestionSelected(e)}get activeElementId(){let{selectedSuggestOptionIndex:e,selectedSuggestOptionRemove:r}=this.ftSearchInput;if(e!==void 0)return(r?"remove-suggestion-":"suggestion-")+e}get activeElement(){var e;let r=this.activeElementId;if(r!==void 0)return(e=this.ftSearchInput.shadowRoot.getElementById(r))!==null&&e!==void 0?e:void 0}recentQueriesCount(){return this.ftSearchInput.recentQuerySuggestions.length}suggestionsCount(){var e,r;return(r=(e=this.ftSearchInput.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0}optionsCount(){return this.recentQueriesCount()+this.suggestionsCount()}clearSelection(){this.ftSearchInput.selectedSuggestOptionIndex=void 0,this.ftSearchInput.selectedSuggestOptionRemove=!1}selectNext(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=0:(this.ftSearchInput.selectedSuggestOptionIndex++,this.ftSearchInput.selectedSuggestOptionIndex>=this.optionsCount()&&this.clearSelection())}selectPrevious(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=this.optionsCount()-1:(this.ftSearchInput.selectedSuggestOptionIndex--,this.ftSearchInput.selectedSuggestOptionIndex<0&&this.clearSelection())}selectLeft(){this.ftSearchInput.selectedSuggestOptionIndex!==void 0&&(this.ftSearchInput.selectedSuggestOptionRemove?this.ftSearchInput.selectedSuggestOptionRemove=!1:this.clearSelection())}isRemovable(e){return e<this.recentQueriesCount()}selectRight(){let e=this.ftSearchInput.selectedSuggestOptionIndex;e!==void 0&&(!this.ftSearchInput.selectedSuggestOptionRemove&&this.isRemovable(e)?this.ftSearchInput.selectedSuggestOptionRemove=!0:this.clearSelection())}closeBox(){this.ftSearchInput.displaySuggestListbox=!1,this.clearSelection()}};Qr.elementDefinitions={"ft-ripple":Z,"ft-typography":ne,"ft-icon":ve,"ft-button":W};Qr.styles=[nn,Uv]});function tO(t){let e=t.liveQuery.trim().toLowerCase();return t.recentQueries.filter(r=>r.toLowerCase().includes(e)).slice(0,eO)}var Ke,eO,Oe,iu=p(()=>{"use strict";T();E();Rn();No();Nt();Cp();q();et();Hv();jt();Te();Wt();sa();Ke=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},eO=5;Oe=class extends dt(Mt){constructor(){super(),this.liveQuery="",this.recentQuerySuggestions=[],this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.selectedSuggestOptionRemove=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Qr(this),this.showSuggestionsOnFocus=!0,this.onPointerDown=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||this.suggestions.closeBox()},this.addI18nContext(kr)}render(){var e;let r=this.suggestions.optionsCount()>0,o={"ft-search-input":!0,"ft-search-input--with-suggestions":r,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},n={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,a=Ar.get().serializeToCurrentPageIfPossible(n,s),l=!this.forceCloseSuggestion&&this.displaySuggestListbox&&r;return y`
3136
3136
  <div class="${he(o)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3137
3137
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
3138
3138
  <div class="ft-search-input--input-outline" part="input-outline">
@@ -3174,17 +3174,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3174
3174
  icon="search"
3175
3175
  round dense
3176
3176
  label="${kr.messages.searchButton()}"
3177
- href="${this.useCustomSearchPath?s:""}"
3177
+ href="${this.useCustomSearchPath?a:""}"
3178
3178
  @click=${()=>this.launchSearch(this.liveQuery)}
3179
3179
  ></ft-button>
3180
3180
  </div>
3181
3181
  </div>
3182
- `}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.suggestions.closeBox();break;case"Escape":this.displaySuggestListbox&&this.suggestions.optionsCount()>0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.closeBox());break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNext();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPrevious();break;case"ArrowLeft":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectLeft());break;case"ArrowRight":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectRight());break;case"Enter":{let r=this.suggestions.activeElement;if(r){r.click();break}this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){e.key==="Backspace"&&e.stopPropagation()}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,o;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e),(o=this.stateManager)===null||o===void 0||o.addRecentQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.suggestions.closeBox()}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await Nr(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),this.focusOnDisplay&&!hn&&this.focusInput(!1)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("displaySuggestListbox")&&(this.displaySuggestListbox?document.addEventListener("pointerdown",this.onPointerDown):document.removeEventListener("pointerdown",this.onPointerDown))}};Oe.elementDefinitions={"ft-button":W,...Qr.elementDefinitions};Oe.styles=[Wr,go,sp,...Qr.styles,li];Ke([ue()],Oe.prototype,"request",void 0);Ke([ue()],Oe.prototype,"liveQuery",void 0);Ke([ue()],Oe.prototype,"suggestResults",void 0);Ke([ue({selector:eO})],Oe.prototype,"recentQuerySuggestions",void 0);Ke([T()],Oe.prototype,"forceCloseSuggestion",void 0);Ke([T()],Oe.prototype,"displaySuggestListbox",void 0);Ke([T()],Oe.prototype,"selectedSuggestOptionIndex",void 0);Ke([T()],Oe.prototype,"selectedSuggestOptionRemove",void 0);Ke([h()],Oe.prototype,"launchSearchPath",void 0);Ke([vi()],Oe.prototype,"placeholder",void 0);Ke([h({type:Boolean})],Oe.prototype,"useCustomSearchPath",void 0);Ke([h({type:Boolean})],Oe.prototype,"triggerSearchOnClear",void 0);Ke([h({type:Boolean})],Oe.prototype,"focusOnDisplay",void 0);Ke([M(".ft-search-input--input")],Oe.prototype,"input",void 0);Ke([M('[part="launch-search-in-input"]')],Oe.prototype,"launchSearchButton",void 0);Ke([Mr()],Oe.prototype,"onSearchBarKeyDown",null);Ke([Mr()],Oe.prototype,"onSearchBarKeyUp",null)});var Hv,Vv=p(()=>{"use strict";ou();Hv={"ft-search-input":Oe}});var Wv=p(()=>{"use strict";E();Vv();B(Hv)});var Gv={};j(Gv,{FtSearchInput:()=>Oe,FtSearchInputCssVariables:()=>ye,styles:()=>sp});var jv=p(()=>{"use strict";wn();nx();ou();Wv()});var tO,iu,nu=p(()=>{"use strict";L();tO={},iu=O`
3183
- `});var Kv=p(()=>{"use strict"});var au,qv=p(()=>{"use strict";Pt();au=nr.fromGwt("designedActionBlockAriaLabels")});var Zv,Tr,su=p(()=>{"use strict";L();E();nu();jt();Po();Pt();qv();wi();Zv=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},Tr=class extends dt(Nt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.neededSearchRequests=[Kt.CLUSTERED_SEARCH],this.addI18nContext(au)}render(){return this.isLastPage?k:y`
3182
+ `}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.suggestions.closeBox();break;case"Escape":this.displaySuggestListbox&&this.suggestions.optionsCount()>0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.closeBox());break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNext();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPrevious();break;case"ArrowLeft":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectLeft());break;case"ArrowRight":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectRight());break;case"Enter":{let r=this.suggestions.activeElement;if(r){r.click();break}this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){e.key==="Backspace"&&e.stopPropagation()}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,o;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e),(o=this.stateManager)===null||o===void 0||o.addRecentQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.suggestions.closeBox()}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await Nr(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),this.focusOnDisplay&&!gn&&this.focusInput(!1)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("displaySuggestListbox")&&(this.displaySuggestListbox?document.addEventListener("pointerdown",this.onPointerDown):document.removeEventListener("pointerdown",this.onPointerDown))}};Oe.elementDefinitions={"ft-button":W,...Qr.elementDefinitions};Oe.styles=[Wr,go,lp,...Qr.styles,ci];Ke([ue()],Oe.prototype,"request",void 0);Ke([ue()],Oe.prototype,"liveQuery",void 0);Ke([ue()],Oe.prototype,"suggestResults",void 0);Ke([ue({selector:tO})],Oe.prototype,"recentQuerySuggestions",void 0);Ke([L()],Oe.prototype,"forceCloseSuggestion",void 0);Ke([L()],Oe.prototype,"displaySuggestListbox",void 0);Ke([L()],Oe.prototype,"selectedSuggestOptionIndex",void 0);Ke([L()],Oe.prototype,"selectedSuggestOptionRemove",void 0);Ke([h()],Oe.prototype,"launchSearchPath",void 0);Ke([Si()],Oe.prototype,"placeholder",void 0);Ke([h({type:Boolean})],Oe.prototype,"useCustomSearchPath",void 0);Ke([h({type:Boolean})],Oe.prototype,"triggerSearchOnClear",void 0);Ke([h({type:Boolean})],Oe.prototype,"focusOnDisplay",void 0);Ke([M(".ft-search-input--input")],Oe.prototype,"input",void 0);Ke([M('[part="launch-search-in-input"]')],Oe.prototype,"launchSearchButton",void 0);Ke([Mr()],Oe.prototype,"onSearchBarKeyDown",null);Ke([Mr()],Oe.prototype,"onSearchBarKeyUp",null)});var Vv,Wv=p(()=>{"use strict";iu();Vv={"ft-search-input":Oe}});var Gv=p(()=>{"use strict";E();Wv();B(Vv)});var jv={};j(jv,{FtSearchInput:()=>Oe,FtSearchInputCssVariables:()=>ye,styles:()=>lp});var Kv=p(()=>{"use strict";Rn();sx();iu();Gv()});var rO,nu,su=p(()=>{"use strict";T();rO={},nu=O`
3183
+ `});var qv=p(()=>{"use strict"});var au,Zv=p(()=>{"use strict";Nt();au=sr.fromGwt("designedActionBlockAriaLabels")});var Qv,Tr,lu=p(()=>{"use strict";T();E();su();jt();No();Nt();Zv();Ai();Qv=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Tr=class extends dt(Mt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.neededSearchRequests=[Kt.CLUSTERED_SEARCH],this.addI18nContext(au)}render(){return this.isLastPage?k:y`
3184
3184
  <ft-button @click=${this.loadMore}>
3185
3185
  ${au.messages.searchPageLoadMore()}
3186
3186
  </ft-button>
3187
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Tr.elementDefinitions={"ft-button":W};Tr.styles=iu;Zv([ue({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],Tr.prototype,"currentPage",void 0);Zv([ue({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],Tr.prototype,"isLastPage",void 0)});var Qv,Yv=p(()=>{"use strict";su();Qv={"ft-search-load-more-button":Tr}});var Xv=p(()=>{"use strict";E();Yv();B(Qv)});var Jv={};j(Jv,{FtSearchLoadMoreButton:()=>Tr,FtSearchLoadMoreButtonCssVariables:()=>tO,styles:()=>iu});var e0=p(()=>{"use strict";nu();Kv();su();Xv()});var t0=p(()=>{"use strict"});var Ts,cu,lu,rO,Li,du=p(()=>{"use strict";E();Po();q();Ts=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},cu=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},lu=Symbol("registerInterval"),rO=Re(Symbol("toFtSearchResultComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[lu]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[lu]):this.dispatchEvent(new cu)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=lu,Ts([h({attribute:!1})],r.prototype,"cluster",void 0),Ts([h({attribute:!1})],r.prototype,"result",void 0),Ts([Lt()],r.prototype,"rank",void 0),Ts([h({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}),Li=class extends rO(Nt){}});var $o,pu=p(()=>{"use strict";L();E();du();ds();Ui();Te();$o=class extends Li{render(){var e;let r=(e=Tt(this.result))===null||e===void 0?void 0:e.htmlExcerpt;return r?y`
3187
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Tr.elementDefinitions={"ft-button":W};Tr.styles=nu;Qv([ue({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],Tr.prototype,"currentPage",void 0);Qv([ue({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],Tr.prototype,"isLastPage",void 0)});var Yv,Xv=p(()=>{"use strict";lu();Yv={"ft-search-load-more-button":Tr}});var Jv=p(()=>{"use strict";E();Xv();B(Yv)});var e0={};j(e0,{FtSearchLoadMoreButton:()=>Tr,FtSearchLoadMoreButtonCssVariables:()=>rO,styles:()=>nu});var t0=p(()=>{"use strict";su();qv();lu();Jv()});var r0=p(()=>{"use strict"});var Ia,du,cu,oO,Ii,pu=p(()=>{"use strict";E();No();q();Ia=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},du=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},cu=Symbol("registerInterval"),oO=Re(Symbol("toFtSearchResultComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[cu]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[cu]):this.dispatchEvent(new du)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=cu,Ia([h({attribute:!1})],r.prototype,"cluster",void 0),Ia([h({attribute:!1})],r.prototype,"result",void 0),Ia([Lt()],r.prototype,"rank",void 0),Ia([h({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}),Ii=class extends oO(Mt){}});var Do,uu=p(()=>{"use strict";T();E();pu();pa();Hi();Te();Do=class extends Ii{render(){var e;let r=(e=Tt(this.result))===null||e===void 0?void 0:e.htmlExcerpt;return r?y`
3188
3188
  <ft-typography variant="${fe.body1}" part="text">${no(r)}</ft-typography>
3189
3189
  `:y`
3190
3190
  <style>
@@ -3192,46 +3192,46 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3192
3192
  display: none !important;
3193
3193
  }
3194
3194
  </style>
3195
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};$o.elementDefinitions={"ft-typography":ne};$o.styles=lp});var r0,o0=p(()=>{"use strict";pu();r0={"ft-search-result-abstract":$o}});var uu=p(()=>{"use strict";E();o0();B(r0)});var i0={};j(i0,{FtSearchResultAbstract:()=>$o,FtSearchResultAbstractCssVariables:()=>cs,styles:()=>lp});var n0=p(()=>{"use strict";ds();t0();pu();uu()});var a0=p(()=>{"use strict"});var oO,Yr,fu=p(()=>{"use strict";L();q();E();du();us();Te();Ui();up();An();oO=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},Yr=class extends Li{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():y`
3196
- <a href="${hs(this.result)}"
3195
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Do.elementDefinitions={"ft-typography":ne};Do.styles=cp});var o0,i0=p(()=>{"use strict";uu();o0={"ft-search-result-abstract":Do}});var fu=p(()=>{"use strict";E();i0();B(o0)});var n0={};j(n0,{FtSearchResultAbstract:()=>Do,FtSearchResultAbstractCssVariables:()=>da,styles:()=>cp});var s0=p(()=>{"use strict";pa();r0();uu();fu()});var a0=p(()=>{"use strict"});var iO,Yr,hu=p(()=>{"use strict";T();q();E();pu();fa();Te();Hi();fp();_n();iO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Yr=class extends Ii{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():y`
3196
+ <a href="${ma(this.result)}"
3197
3197
  @click=${this.onResultClick}
3198
3198
  @auxclick=${r=>this.onAuxClick(r)}
3199
3199
  @contextmenu=${this.onContextMenu}
3200
- target="${Vb(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3200
+ target="${Wb(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3201
3201
  part="link">
3202
3202
  ${this.renderTitle()}
3203
3203
  </a>
3204
3204
  `:k}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){var e;return y`
3205
3205
  <ft-typography variant="${fe.title}" part="text">${no((e=Tt(this.result))===null||e===void 0?void 0:e.htmlTitle)}</ft-typography>
3206
- `}onResultClick(){this.dispatchEvent(new Ei(this.result,this.rank))}onContextMenu(){this.result.type!="HTML_PACKAGE"&&this.result.type!="HTML_PACKAGE_PAGE"&&this.dispatchEvent(new Oi(this.result,this.rank))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&!((r=this.stateManager)===null||r===void 0)&&r.store.commands.consume(`focus-result-${this.rank}`)&&(this.elementToFocus={selector:"a"})}};Yr.elementDefinitions={"ft-typography":ne};Yr.styles=cp;oO([h({type:Boolean})],Yr.prototype,"withoutLink",void 0)});var s0,l0=p(()=>{"use strict";fu();s0={"ft-search-result-title":Yr}});var hu=p(()=>{"use strict";E();l0();B(s0)});var c0={};j(c0,{FtSearchResultTitle:()=>Yr,FtSearchResultTitleCssVariables:()=>ps,styles:()=>cp});var d0=p(()=>{"use strict";us();a0();fu();hu()});var iO,mu,gu=p(()=>{"use strict";L();iO={},mu=O`
3206
+ `}onResultClick(){this.dispatchEvent(new wi(this.result,this.rank))}onContextMenu(){this.result.type!="HTML_PACKAGE"&&this.result.type!="HTML_PACKAGE_PAGE"&&this.dispatchEvent(new Ri(this.result,this.rank))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&!((r=this.stateManager)===null||r===void 0)&&r.store.commands.consume(`focus-result-${this.rank}`)&&(this.elementToFocus={selector:"a"})}};Yr.elementDefinitions={"ft-typography":ne};Yr.styles=dp;iO([h({type:Boolean})],Yr.prototype,"withoutLink",void 0)});var l0,c0=p(()=>{"use strict";hu();l0={"ft-search-result-title":Yr}});var mu=p(()=>{"use strict";E();c0();B(l0)});var d0={};j(d0,{FtSearchResultTitle:()=>Yr,FtSearchResultTitleCssVariables:()=>ua,styles:()=>dp});var p0=p(()=>{"use strict";fa();a0();hu();mu()});var nO,gu,yu=p(()=>{"use strict";T();nO={},gu=O`
3207
3207
  [part="no-results-message"] {
3208
3208
  text-align: center;
3209
3209
  padding: 12px;
3210
3210
  }
3211
- `});var p0=p(()=>{"use strict"});var u0,f0=p(()=>{"use strict";L();u0=O`
3211
+ `});var u0=p(()=>{"use strict"});var f0,h0=p(()=>{"use strict";T();f0=O`
3212
3212
  a {
3213
3213
  color: inherit;
3214
3214
  text-decoration: inherit;
3215
3215
  }
3216
- `});var Is,h0=p(()=>{"use strict";Is=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var Ps,yu,ur,m0=p(()=>{"use strict";L();q();E();f0();h0();Ps=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},yu=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},ur=class extends ${constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new Is(e=>this.onResultSelected(e))}render(){return y`
3216
+ `});var Pa,m0=p(()=>{"use strict";Pa=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var Na,bu,fr,g0=p(()=>{"use strict";T();q();E();h0();m0();Na=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},bu=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},fr=class extends ${constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new Pa(e=>this.onResultSelected(e))}render(){return y`
3217
3217
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
3218
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new yu(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};ur.elementDefinitions={};ur.styles=u0;Ps([h({attribute:!1})],ur.prototype,"cluster",void 0);Ps([h({attribute:!1,type:Boolean})],ur.prototype,"openResultInNewTab",void 0);Ps([T()],ur.prototype,"result",void 0);Ps([h()],ur.prototype,"index",void 0)});var g0,y0=p(()=>{"use strict";m0();g0={"ft-search-result-context":ur}});var b0=p(()=>{"use strict";E();y0();B(g0)});var Ti,x0,bu=p(()=>{"use strict";Pt();Ti=nr.build("searchResultsNumber"),x0={results:"{0} results","results[\\=1]":"1 result"}});var Do,wt,xu=p(()=>{"use strict";L();Ft();q();E();gu();Po();b0();hu();uu();Pt();bu();wi();Do=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},wt=class extends dt(Nt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>y`
3218
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new bu(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};fr.elementDefinitions={};fr.styles=f0;Na([h({attribute:!1})],fr.prototype,"cluster",void 0);Na([h({attribute:!1,type:Boolean})],fr.prototype,"openResultInNewTab",void 0);Na([L()],fr.prototype,"result",void 0);Na([h()],fr.prototype,"index",void 0)});var y0,b0=p(()=>{"use strict";g0();y0={"ft-search-result-context":fr}});var x0=p(()=>{"use strict";E();b0();B(y0)});var Pi,v0,xu=p(()=>{"use strict";Nt();Pi=sr.build("searchResultsNumber"),v0={results:"{0} results","results[\\=1]":"1 result"}});var Fo,wt,vu=p(()=>{"use strict";T();Bt();q();E();yu();No();x0();mu();fu();Nt();xu();Ai();Fo=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},wt=class extends dt(Mt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>y`
3219
3219
  <ft-search-result-title></ft-search-result-title>
3220
3220
  <ft-search-result-abstract></ft-search-result-abstract>
3221
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.neededSearchRequests=[Kt.CLUSTERED_SEARCH],this.addI18nContext(Ti)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return y`
3222
- <ft-typography part="no-results-message" variant="body1">${Ti.messages.results(0)}</ft-typography>
3221
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.neededSearchRequests=[Kt.CLUSTERED_SEARCH],this.addI18nContext(Pi)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return y`
3222
+ <ft-typography part="no-results-message" variant="body1">${Pi.messages.results(0)}</ft-typography>
3223
3223
  `;let e=this.buildClusters();return ge(e,r=>r.id,(r,o)=>{var n;return y`
3224
3224
  <ft-search-result-context .cluster=${r} index="${o}"
3225
- @ft-search-result-cluster-change=${a=>this.onClusterChange(r.id,a.detail)}>
3225
+ @ft-search-result-cluster-change=${s=>this.onClusterChange(r.id,s.detail)}>
3226
3226
  ${this.renderResult((n=this.selectedResultByCluster[r.id])!==null&&n!==void 0?n:r.entries[0],o)}
3227
3227
  </ft-search-result-context>
3228
- `})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager"))&&this.clusterSortCriterion&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");o&&Fc.scrollIntoViewIfPossible(o,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){return this.clusterPolicy==="display-all-results"?this.buildAllResultsClusters():this.buildFullClusters()}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(o=>({id:Xn(o.entries[0]),entries:o.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,o;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:Xn(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,(o=this.paging.perPage)!==null&&o!==void 0?o:20):n}};wt.styles=mu;Do([h({type:String,attribute:"cluster-policy"})],wt.prototype,"clusterPolicy",void 0);Do([h({type:Boolean})],wt.prototype,"displayNoResultsMessage",void 0);Do([h({attribute:!1})],wt.prototype,"renderResult",void 0);Do([pe([])],wt.prototype,"clusterSortCriterion",void 0);Do([ue({selector:t=>({...t.request,paging:void 0,changedByConfiguration:void 0})})],wt.prototype,"requestWithoutPaging",void 0);Do([ue({selector:t=>t.request.paging})],wt.prototype,"paging",void 0);Do([ue()],wt.prototype,"results",void 0)});var v0,S0=p(()=>{"use strict";xu();v0={"ft-search-results":wt}});var C0=p(()=>{"use strict";E();S0();B(v0)});var E0={};j(E0,{FtSearchResults:()=>wt,FtSearchResultsCssVariables:()=>iO,styles:()=>mu});var O0=p(()=>{"use strict";gu();p0();xu();C0()});var nO,vu,Su=p(()=>{"use strict";L();nO={},vu=O`
3228
+ `})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager"))&&this.clusterSortCriterion&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");o&&Bc.scrollIntoViewIfPossible(o,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){return this.clusterPolicy==="display-all-results"?this.buildAllResultsClusters():this.buildFullClusters()}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(o=>({id:Jn(o.entries[0]),entries:o.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,o;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(s=>s.entries.map(a=>({id:Jn(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,(o=this.paging.perPage)!==null&&o!==void 0?o:20):n}};wt.styles=gu;Fo([h({type:String,attribute:"cluster-policy"})],wt.prototype,"clusterPolicy",void 0);Fo([h({type:Boolean})],wt.prototype,"displayNoResultsMessage",void 0);Fo([h({attribute:!1})],wt.prototype,"renderResult",void 0);Fo([pe([])],wt.prototype,"clusterSortCriterion",void 0);Fo([ue({selector:t=>({...t.request,paging:void 0,changedByConfiguration:void 0})})],wt.prototype,"requestWithoutPaging",void 0);Fo([ue({selector:t=>t.request.paging})],wt.prototype,"paging",void 0);Fo([ue()],wt.prototype,"results",void 0)});var S0,C0=p(()=>{"use strict";vu();S0={"ft-search-results":wt}});var E0=p(()=>{"use strict";E();C0();B(S0)});var O0={};j(O0,{FtSearchResults:()=>wt,FtSearchResultsCssVariables:()=>nO,styles:()=>gu});var w0=p(()=>{"use strict";yu();u0();vu();E0()});var sO,Su,Cu=p(()=>{"use strict";T();sO={},Su=O`
3229
3229
 
3230
- `});var w0=p(()=>{"use strict"});var R0,Ir,Cu=p(()=>{"use strict";L();E();Su();Po();Pt();bu();Te();wi();R0=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},Ir=class extends un(dt(Nt)){constructor(){super(),this.ariaNotificationDebouncer=new se(100),this.searchNumberOfResults={context:"officialContext",key:"searchNumberOfResults",message:""},this.neededSearchRequests=[Kt.CLUSTERED_SEARCH],this.addI18nContext(Ti,x0)}render(){return this.paging==null?k:y`
3230
+ `});var R0=p(()=>{"use strict"});var A0,Ir,Eu=p(()=>{"use strict";T();E();Cu();No();Nt();xu();Te();Ai();A0=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ir=class extends hn(dt(Mt)){constructor(){super(),this.ariaNotificationDebouncer=new ae(100),this.searchNumberOfResults={context:"officialContext",key:"searchNumberOfResults",message:""},this.neededSearchRequests=[Kt.CLUSTERED_SEARCH],this.addI18nContext(Pi,v0)}render(){return this.paging==null?k:y`
3231
3231
  <ft-typography variant="${fe.body1}">
3232
- ${Ti.messages.results(this.paging.totalClustersCount)}
3232
+ ${Pi.messages.results(this.paging.totalClustersCount)}
3233
3233
  </ft-typography>
3234
- `}willUpdate(e){super.willUpdate(e),e.has("paging")&&this.ariaNotificationDebouncer.run(async()=>{if(this.paging!==void 0){let r=await this.awaitI18n({...this.searchNumberOfResults,args:[this.paging.totalClustersCount]});this.sendAriaNotification(r)}})}};Ir.elementDefinitions={"ft-typography":ne};Ir.styles=vu;R0([pe({context:"officialContext",key:"searchNumberOfResults"})],Ir.prototype,"searchNumberOfResults",void 0);R0([ue()],Ir.prototype,"paging",void 0)});var A0,_0=p(()=>{"use strict";Cu();A0={"ft-search-results-number":Ir}});var k0=p(()=>{"use strict";E();_0();B(A0)});var L0={};j(L0,{FtSearchResultsNumber:()=>Ir,FtSearchResultsNumberCssVariables:()=>nO,styles:()=>vu});var T0=p(()=>{"use strict";Su();w0();Cu();k0()});E();L();E();L();E();L();E();Er();var me={padding:i.create("--ft-card-padding","","SIZE","12px"),borderRadius:i.extend("--ft-card-border-radius","",x.borderRadiusM),borderStyle:i.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:i.extend("--ft-card-border-color","",x.colorOutline),hoverBorderColor:i.extend("--ft-card-hover-border-color","",x.colorPrimary),outlineStyle:i.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:i.create("--ft-card-outline-width","","SIZE","0"),outlineColor:i.extend("--ft-card-outline-color","",x.colorPrimary),selectedOutlineStyle:i.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:i.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:i.extend("--ft-card-selected-outline-color","",x.colorPrimary),selectedBorderRadius:i.extend("--ft-card-selected-border-radius","",x.borderRadiusM),colorSurface:i.extend("--ft-card-background-color","",x.colorSurface),colorOnSurfaceMedium:i.extend("--ft-card-content-color","",x.colorOnSurfaceMedium),colorOnSurfaceHigh:i.extend("--ft-card-title-color","",x.colorOnSurfaceHigh),elevation02:i.extend("--ft-card-elevation","",x.elevation02),elevation04:i.extend("--ft-card-selected-elevation","",x.elevation04)},ry=O`
3234
+ `}willUpdate(e){super.willUpdate(e),e.has("paging")&&this.ariaNotificationDebouncer.run(async()=>{if(this.paging!==void 0){let r=await this.awaitI18n({...this.searchNumberOfResults,args:[this.paging.totalClustersCount]});this.sendAriaNotification(r)}})}};Ir.elementDefinitions={"ft-typography":ne};Ir.styles=Su;A0([pe({context:"officialContext",key:"searchNumberOfResults"})],Ir.prototype,"searchNumberOfResults",void 0);A0([ue()],Ir.prototype,"paging",void 0)});var _0,k0=p(()=>{"use strict";Eu();_0={"ft-search-results-number":Ir}});var L0=p(()=>{"use strict";E();k0();B(_0)});var T0={};j(T0,{FtSearchResultsNumber:()=>Ir,FtSearchResultsNumberCssVariables:()=>sO,styles:()=>Su});var I0=p(()=>{"use strict";Cu();R0();Eu();L0()});E();T();E();T();E();T();E();Or();var me={padding:i.create("--ft-card-padding","","SIZE","12px"),borderRadius:i.extend("--ft-card-border-radius","",x.borderRadiusM),borderStyle:i.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:i.extend("--ft-card-border-color","",x.colorOutline),hoverBorderColor:i.extend("--ft-card-hover-border-color","",x.colorPrimary),outlineStyle:i.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:i.create("--ft-card-outline-width","","SIZE","0"),outlineColor:i.extend("--ft-card-outline-color","",x.colorPrimary),selectedOutlineStyle:i.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:i.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:i.extend("--ft-card-selected-outline-color","",x.colorPrimary),selectedBorderRadius:i.extend("--ft-card-selected-border-radius","",x.borderRadiusM),colorSurface:i.extend("--ft-card-background-color","",x.colorSurface),colorOnSurfaceMedium:i.extend("--ft-card-content-color","",x.colorOnSurfaceMedium),colorOnSurfaceHigh:i.extend("--ft-card-title-color","",x.colorOnSurfaceHigh),elevation02:i.extend("--ft-card-elevation","",x.elevation02),elevation04:i.extend("--ft-card-selected-elevation","",x.elevation04)},oy=O`
3235
3235
  :host {
3236
3236
  display: block;
3237
3237
  }
@@ -3320,7 +3320,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3320
3320
  #action {
3321
3321
  grid-area: actions;
3322
3322
  }
3323
- `;wn();ds();Er();us();var Ye={searchFieldBackgroundColor:i.extend("--ft-rsid-search-field-background-color","",x.colorSurface),searchFieldBorderColor:i.extend("--ft-rsid-search-field-border-color","",x.colorOutline),searchFieldTextColor:i.extend("--ft-rsid-search-field-text-color","",x.colorOnSurface),searchFieldBorderRadius:i.extend("--ft-rsid-search-field-border-radius","",x.borderRadiusS),searchButtonColor:i.extend("--ft-rsid-search-field-button-color","",x.colorPrimary),resultsNumberColor:i.extend("--ft-rsid-results-number-color","",x.colorOnSurfaceMedium),resultBackgroundColor:i.extend("--ft-rsid-result-background-color","",x.colorSurface),resultBorderColor:i.extend("--ft-rsid-result-border-color","",x.colorOutline),resultBorderRadius:i.extend("--ft-rsid-result-border-radius","",x.borderRadiusS),resultTitleTextColor:i.extend("--ft-rsid-result-title-text-color","",x.colorOnSurface),resultBreadcrumbTextColor:i.extend("--ft-rsid-result-breadcrumb-text-color","",x.colorOnSurfaceMedium),resultContentTextColor:i.extend("--ft-rsid-result-content-text-color","",x.colorOnSurface),resultHighlightBackgroundColor:i.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:i.extend("--ft-rsid-result-hover-background-color","",x.colorPrimary),resultHoverBorderColor:i.extend("--ft-rsid-result-hover-border-color","",x.colorPrimary)},Fb=O`
3323
+ `;Rn();pa();Or();fa();var Ye={searchFieldBackgroundColor:i.extend("--ft-rsid-search-field-background-color","",x.colorSurface),searchFieldBorderColor:i.extend("--ft-rsid-search-field-border-color","",x.colorOutline),searchFieldTextColor:i.extend("--ft-rsid-search-field-text-color","",x.colorOnSurface),searchFieldBorderRadius:i.extend("--ft-rsid-search-field-border-radius","",x.borderRadiusS),searchButtonColor:i.extend("--ft-rsid-search-field-button-color","",x.colorPrimary),resultsNumberColor:i.extend("--ft-rsid-results-number-color","",x.colorOnSurfaceMedium),resultBackgroundColor:i.extend("--ft-rsid-result-background-color","",x.colorSurface),resultBorderColor:i.extend("--ft-rsid-result-border-color","",x.colorOutline),resultBorderRadius:i.extend("--ft-rsid-result-border-radius","",x.borderRadiusS),resultTitleTextColor:i.extend("--ft-rsid-result-title-text-color","",x.colorOnSurface),resultBreadcrumbTextColor:i.extend("--ft-rsid-result-breadcrumb-text-color","",x.colorOnSurfaceMedium),resultContentTextColor:i.extend("--ft-rsid-result-content-text-color","",x.colorOnSurface),resultHighlightBackgroundColor:i.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:i.extend("--ft-rsid-result-hover-background-color","",x.colorPrimary),resultHoverBorderColor:i.extend("--ft-rsid-result-hover-border-color","",x.colorPrimary)},Bb=O`
3324
3324
  .ft-search-in-doc--container {
3325
3325
  display: flex;
3326
3326
  flex-direction: column;
@@ -3346,7 +3346,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3346
3346
  ft-search-load-more-button {
3347
3347
  margin: auto;
3348
3348
  }
3349
- `,Bb=O`
3349
+ `,Ub=O`
3350
3350
  ft-card {
3351
3351
  margin-bottom: 8px;
3352
3352
  ${w(me.elevation04,"none")};
@@ -3360,7 +3360,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3360
3360
 
3361
3361
  ft-search-result-title {
3362
3362
  color: ${Ye.resultTitleTextColor};
3363
- ${w(ps.highlightBackgroundColor,Ye.resultHighlightBackgroundColor)};
3363
+ ${w(ua.highlightBackgroundColor,Ye.resultHighlightBackgroundColor)};
3364
3364
  }
3365
3365
 
3366
3366
  .breadcrumb {
@@ -3369,7 +3369,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3369
3369
 
3370
3370
  ft-search-result-abstract {
3371
3371
  color: ${Ye.resultContentTextColor};
3372
- ${w(cs.highlightBackgroundColor,Ye.resultHighlightBackgroundColor)};
3372
+ ${w(da.highlightBackgroundColor,Ye.resultHighlightBackgroundColor)};
3373
3373
  }
3374
3374
 
3375
3375
  ft-card:hover {
@@ -3387,7 +3387,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3387
3387
  text-decoration: none;
3388
3388
  color: inherit;
3389
3389
  }
3390
- `;Pt();E();q();var Ub;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change",t.requestedTopicNotFound="requested-topic-not-found"})(Ub||(Ub={}));var zb;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(zb||(zb={}));var VE=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},pp=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},dp=Symbol("registerInterval"),WE=Re(Symbol("toFtReaderComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[dp]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[dp]):this.dispatchEvent(new pp)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=dp,VE([T()],r.prototype,"stateManager",void 0),r}),fs=class extends WE(yt){};q();up();Pt();var fp=nr.build("designedReaderSearchInDocument");L();q();E();rt();Te();et();var Ci=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},pt=class extends ${constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return y`
3390
+ `;Nt();E();q();var zb;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change",t.requestedTopicNotFound="requested-topic-not-found"})(zb||(zb={}));var Hb;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Hb||(Hb={}));var WE=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},up=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},pp=Symbol("registerInterval"),GE=Re(Symbol("toFtReaderComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[pp]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[pp]):this.dispatchEvent(new up)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=pp,WE([L()],r.prototype,"stateManager",void 0),r}),ha=class extends GE(yt){};q();fp();Nt();var hp=sr.build("designedReaderSearchInDocument");T();q();E();rt();Te();et();var Oi=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},pt=class extends ${constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return y`
3391
3391
  <div id="container" part="container" class="${he(e)}">
3392
3392
  ${this.clickable?y`
3393
3393
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
@@ -3405,9 +3405,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3405
3405
  </ft-typography>
3406
3406
  </div>
3407
3407
  </div>
3408
- `}};pt.elementDefinitions={"ft-ripple":Z,"ft-typography":ne};pt.styles=ry;Ci([h()],pt.prototype,"title",void 0);Ci([h({type:Boolean})],pt.prototype,"clickable",void 0);Ci([h({type:Boolean})],pt.prototype,"selected",void 0);Ci([h({type:Boolean})],pt.prototype,"noHeader",void 0);Ci([h({type:Boolean})],pt.prototype,"noContent",void 0);Ci([h({type:Boolean})],pt.prototype,"oneLineHeader",void 0);E();var Wb={"ft-card":pt};B(Wb);An();Te();ns();var 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},Je=class t extends dt(fs){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=ul(6,"search-in-document-"),this.addI18nContext(fp)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var o;return y`
3409
- <style> ${Bb}</style>
3410
- <a href="${hs(e)}" @click=${()=>this.onLinkClick(e,r)}
3408
+ `}};pt.elementDefinitions={"ft-ripple":Z,"ft-typography":ne};pt.styles=oy;Oi([h()],pt.prototype,"title",void 0);Oi([h({type:Boolean})],pt.prototype,"clickable",void 0);Oi([h({type:Boolean})],pt.prototype,"selected",void 0);Oi([h({type:Boolean})],pt.prototype,"noHeader",void 0);Oi([h({type:Boolean})],pt.prototype,"noContent",void 0);Oi([h({type:Boolean})],pt.prototype,"oneLineHeader",void 0);E();var Gb={"ft-card":pt};B(Gb);_n();Te();sa();var hr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Je=class t extends dt(ha){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=fl(6,"search-in-document-"),this.addI18nContext(hp)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var o;return y`
3409
+ <style> ${Ub}</style>
3410
+ <a href="${ma(e)}" @click=${()=>this.onLinkClick(e,r)}
3411
3411
  @auxclick=${n=>this.onAuxClick(n,e,r)}
3412
3412
  @contextmenu=${()=>this.onContextMenu(e,r)}>
3413
3413
  <ft-card clickable noheader>
@@ -3423,7 +3423,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3423
3423
  </div>
3424
3424
  </ft-card>
3425
3425
  </a>
3426
- `}onAuxClick(e,r,o){e.button==1&&this.onLinkClick(r,o)}onContextMenu(e,r){this.dispatchEvent(new Oi(e,r))}render(){return this.map?y`
3426
+ `}onAuxClick(e,r,o){e.button==1&&this.onLinkClick(r,o)}onContextMenu(e,r){this.dispatchEvent(new Ri(e,r))}render(){return this.map?y`
3427
3427
  <ft-search-context id="${this.uniqueId}"
3428
3428
  part="search-context"
3429
3429
  contentLocale="${this.map.lang}"
@@ -3432,7 +3432,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3432
3432
  scope="ALL_TOPICS"
3433
3433
  ignoreEmptyQuery>
3434
3434
  <div class="ft-search-in-doc--container">
3435
- <ft-search-input placeholder="${this.placeholder?this.placeholder.message:fp.messages.placeholder()}"
3435
+ <ft-search-input placeholder="${this.placeholder?this.placeholder.message:hp.messages.placeholder()}"
3436
3436
  ?triggerSearchOnClear=${this.emptyResultOnClear}
3437
3437
  @change=${e=>{var r;(r=this.stateManager)===null||r===void 0||r.setSearchInDocumentQuery(e.detail)}}></ft-search-input>
3438
3438
  ${this.hideResultsNumber?k:y`
@@ -3447,7 +3447,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3447
3447
  </slot>
3448
3448
  </div>
3449
3449
  </ft-search-context>
3450
- `:k}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){Nr(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,r){this.dispatchEvent(new Ei(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(ix(),ox)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(jv(),Gv)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(e0(),Jv)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(n0(),i0)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(d0(),c0)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(O0(),E0)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(T0(),L0)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Je.elementDefinitions={"ft-card":pt};Je.styles=Fb;fr([ue()],Je.prototype,"map",void 0);fr([ue()],Je.prototype,"searchInDocumentQuery",void 0);fr([M("ft-search-results")],Je.prototype,"searchResults",void 0);fr([h({type:Boolean})],Je.prototype,"hideResultTitle",void 0);fr([h({type:Boolean})],Je.prototype,"hideResultBreadcrumb",void 0);fr([h({type:Boolean})],Je.prototype,"hideResultAbstract",void 0);fr([h({type:Boolean})],Je.prototype,"hideResultsNumber",void 0);fr([h({type:Boolean})],Je.prototype,"emptyResultOnClear",void 0);fr([M('[part="search-context"]')],Je.prototype,"searchContext",void 0);fr([vi()],Je.prototype,"placeholder",void 0);var I0={"ft-reader-search-in-document":Je};B(I0);})();
3450
+ `:k}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){Nr(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,r){this.dispatchEvent(new wi(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(nx(),ix)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Kv(),jv)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(t0(),e0)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(s0(),n0)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(p0(),d0)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(w0(),O0)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(I0(),T0)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Je.elementDefinitions={"ft-card":pt};Je.styles=Bb;hr([ue()],Je.prototype,"map",void 0);hr([ue()],Je.prototype,"searchInDocumentQuery",void 0);hr([M("ft-search-results")],Je.prototype,"searchResults",void 0);hr([h({type:Boolean})],Je.prototype,"hideResultTitle",void 0);hr([h({type:Boolean})],Je.prototype,"hideResultBreadcrumb",void 0);hr([h({type:Boolean})],Je.prototype,"hideResultAbstract",void 0);hr([h({type:Boolean})],Je.prototype,"hideResultsNumber",void 0);hr([h({type:Boolean})],Je.prototype,"emptyResultOnClear",void 0);hr([M('[part="search-context"]')],Je.prototype,"searchContext",void 0);hr([Si()],Je.prototype,"placeholder",void 0);var P0={"ft-reader-search-in-document":Je};B(P0);})();
3451
3451
  /*! Bundled license information:
3452
3452
 
3453
3453
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: