@fluid-topics/ft-reader-search-in-document 1.2.48 → 1.2.49

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 Qh=Object.create;var Ra=Object.defineProperty;var Xh=Object.getOwnPropertyDescriptor;var Jh=Object.getOwnPropertyNames;var em=Object.getPrototypeOf,tm=Object.prototype.hasOwnProperty;var h=(t,e)=>()=>(t&&(e=t(t=0)),e);var rm=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)Ra(t,r,{get:e[r],enumerable:!0})},om=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Jh(e))!tm.call(t,a)&&a!==r&&Ra(t,a,{get:()=>e[a],enumerable:!(n=Xh(e,a))||n.enumerable});return t};var nm=(t,e,r)=>(r=t!=null?Qh(em(t)):{},om(e||!t||!t.__esModule?Ra(r,"default",{value:t,enumerable:!0}):r,t));var Mc=h(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,i=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(A,S){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" 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,B=new Set(S.observedAttributes||[]);g(S,B,R);let j={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:B};this._definitionsByTag.set(A,j),this._definitionsByClass.set(S,j);let X=r.call(n,A);X||(X=f(A),e.call(n,A,X)),this===window.customElements&&(s.set(S,j),j.standInClass=X);let Z=this._awaitingUpgrade.get(A);if(Z){this._awaitingUpgrade.delete(A);for(let y of Z)i.delete(y),x(y,j,!0)}let F=this._whenDefinedPromises.get(A);return F!==void 0&&(F.resolve(S),this._whenDefinedPromises.delete(A)),S}upgrade(){T.push(this),n.upgrade.apply(n,arguments),T.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let S=this._getDefinition(A);if(S!==void 0)return Promise.resolve(S.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(B=>R.resolve=B),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,S,R){let B=this._awaitingUpgrade.get(S);B||this._awaitingUpgrade.set(S,B=new Set),R?B.add(A):B.delete(A)}};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),a.set(S,R),S},window.HTMLElement.prototype=t.prototype;let p=A=>A===document||A instanceof ShadowRoot,m=A=>{let S=A.getRootNode();if(!p(S)){let R=T[T.length-1];if(R instanceof CustomElementRegistry)return R;S=R.getRootNode(),p(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},f=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let B=m(R)||window.customElements,j=B._getDefinition(A);return j?x(R,j):i.set(R,B),R}connectedCallback(){let R=a.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=a.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=a.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=a.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=a.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=a.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(A,S,R)=>{if(S.size===0||R===void 0)return;let B=A.prototype.setAttribute;B&&(A.prototype.setAttribute=function(Z,F){let y=Z.toLowerCase();if(S.has(y)){let C=this.getAttribute(y);B.call(this,y,F),R.call(this,y,C,F)}else B.call(this,y,F)});let j=A.prototype.removeAttribute;j&&(A.prototype.removeAttribute=function(Z){let F=Z.toLowerCase();if(S.has(F)){let y=this.getAttribute(F);j.call(this,F),R.call(this,F,y,null)}else j.call(this,F)});let X=A.prototype.toggleAttribute;X&&(A.prototype.toggleAttribute=function(Z,F){let y=Z.toLowerCase();if(S.has(y)){let C=this.getAttribute(y);X.call(this,y,F);let $=this.getAttribute(y);R.call(this,y,C,$)}else X.call(this,y,F)})},v=A=>{let S=Object.getPrototypeOf(A);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(A,window.HTMLElement):v(S)},x=(A,S,R=!1)=>{Object.setPrototypeOf(A,S.elementClass.prototype),a.set(A,S),d=A;try{new S.elementClass}catch{v(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(B=>{A.hasAttribute(B)&&S.attributeChangedCallback.call(A,B,null,A.getAttribute(B))}),R&&S.connectedCallback&&A.isConnected&&S.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let S=E.apply(this,arguments);return A.customElements&&(S.customElements=A.customElements),S};let T=[document],_=(A,S,R=void 0)=>{let B=(R?Object.getPrototypeOf(R):A.prototype)[S];A.prototype[S]=function(){T.push(this);let j=B.apply(R||this,arguments);return j!==void 0&&l.set(j,this),T.pop(),j}};_(ShadowRoot,"createElement",document),_(ShadowRoot,"importNode",document),_(Element,"insertAdjacentHTML");let I=(A,S)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,S);Object.defineProperty(A.prototype,S,{...R,set(B){T.push(this),R.set.call(this,B),T.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,S=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Z){let F=S.call(this,...Z);return A.set(F,this),F},R.forEach(Z=>{let F=window.ElementInternals.prototype,y=F[Z];F[Z]=function(...C){let $=A.get(this);if(a.get($).formAssociated===!0)return y?.call(this,...C);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class B extends Array{constructor(F){super(...F),this._elements=F}get value(){return this._elements.find(F=>F.checked===!0)?.value||""}}class j{constructor(F){let y=new Map;F.forEach((C,$)=>{let J=C.getAttribute("name"),se=y.get(J)||[];this[+$]=C,se.push(C),y.set(J,se)}),this.length=F.length,y.forEach((C,$)=>{C&&(C.length===1?this[$]=C[0]:this[$]=new B(C))})}namedItem(F){return this[F]}}let X=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Z=X.get.call(this,[]),F=[];for(let y of Z){let C=a.get(y);(!C||C.formAssociated===!0)&&F.push(y)}return new j(F)}})}}});var $c=h(()=>{"use strict";Mc();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}});var rn,ho,Na,Bc,Sr,Yt,L,mo,on,nn=h(()=>{rn=globalThis,ho=rn.ShadowRoot&&(rn.ShadyCSS===void 0||rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Na=Symbol(),Bc=new WeakMap,Sr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Na)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(ho&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Bc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Bc.set(r,e))}return e}toString(){return this.cssText}},Yt=t=>new Sr(typeof t=="string"?t:t+"",void 0,Na),L=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,a,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new Sr(r,t,Na)},mo=(t,e)=>{if(ho)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=rn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},on=ho?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Yt(r)})(t):t});var am,im,sm,lm,cm,dm,an,Fc,um,pm,yo,Cr,go,Uc,et,bo=h(()=>{nn();nn();({is:am,defineProperty:im,getOwnPropertyDescriptor:sm,getOwnPropertyNames:lm,getOwnPropertySymbols:cm,getPrototypeOf:dm}=Object),an=globalThis,Fc=an.trustedTypes,um=Fc?Fc.emptyScript:"",pm=an.reactiveElementPolyfillSupport,yo=(t,e)=>t,Cr={toAttribute(t,e){switch(e){case Boolean:t=t?um: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}},go=(t,e)=>!am(t,e),Uc={attribute:!0,type:String,converter:Cr,reflect:!1,useDefault:!1,hasChanged:go};Symbol.metadata??=Symbol("metadata"),an.litPropertyMetadata??=new WeakMap;et=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=Uc){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&im(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=sm(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let l=a?.call(this);i?.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Uc}static _$Ei(){if(this.hasOwnProperty(yo("elementProperties")))return;let e=dm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(yo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(yo("properties"))){let r=this.properties,n=[...lm(r),...cm(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(on(a))}else e!==void 0&&r.push(on(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return mo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Cr).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Cr;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){let a=this.constructor,i=this[e];if(n??=a.getPropertyOptions(e),!((n.hasChanged??go)(i,r)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:a,wrapped:i},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),i!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),a===!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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n){let{wrapped:s}=i,l=this[a];s!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[yo("elementProperties")]=new Map,et[yo("finalized")]=new Map,pm?.({ReactiveElement:et}),(an.reactiveElementVersions??=[]).push("2.1.0")});function qc(t,e){if(!Ia(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wc!==void 0?Wc.createHTML(e):e}function er(t,e,r=t,n){if(e===Ee)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=So(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=er(t,a._$AS(t,e.values),a,n)),e}var Ta,sn,Wc,Pa,ht,La,fm,Jt,vo,So,Ia,Kc,_a,xo,Hc,zc,Qt,jc,Vc,Zc,ka,M,Da,Ma,Ee,H,Gc,Xt,Yc,Co,ln,Or,tr,cn,dn,un,pn,$a,hm,Ba,Ke=h(()=>{Ta=globalThis,sn=Ta.trustedTypes,Wc=sn?sn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pa="$lit$",ht=`lit$${Math.random().toFixed(9).slice(2)}$`,La="?"+ht,fm=`<${La}>`,Jt=document,vo=()=>Jt.createComment(""),So=t=>t===null||typeof t!="object"&&typeof t!="function",Ia=Array.isArray,Kc=t=>Ia(t)||typeof t?.[Symbol.iterator]=="function",_a=`[
2
- \f\r]`,xo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Hc=/-->/g,zc=/>/g,Qt=RegExp(`>|${_a}(?:([^\\s"'>=/]+)(${_a}*=${_a}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),jc=/'/g,Vc=/"/g,Zc=/^(?:script|style|textarea|title)$/i,ka=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),M=ka(1),Da=ka(2),Ma=ka(3),Ee=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Gc=new WeakMap,Xt=Jt.createTreeWalker(Jt,129);Yc=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=xo;for(let l=0;l<r;l++){let d=t[l],p,m,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,m=s.exec(d),m!==null);)g=s.lastIndex,s===xo?m[1]==="!--"?s=Hc:m[1]!==void 0?s=zc:m[2]!==void 0?(Zc.test(m[2])&&(a=RegExp("</"+m[2],"g")),s=Qt):m[3]!==void 0&&(s=Qt):s===Qt?m[0]===">"?(s=a??xo,f=-1):m[1]===void 0?f=-2:(f=s.lastIndex-m[2].length,p=m[1],s=m[3]===void 0?Qt:m[3]==='"'?Vc:jc):s===Vc||s===jc?s=Qt:s===Hc||s===zc?s=xo:(s=Qt,a=void 0);let v=s===Qt&&t[l+1].startsWith("/>")?" ":"";i+=s===xo?d+fm:f>=0?(n.push(p),d.slice(0,f)+Pa+d.slice(f)+ht+v):d+ht+(f===-2?l:v)}return[qc(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Co=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,d=this.parts,[p,m]=Yc(e,r);if(this.el=t.createElement(p,n),Xt.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=Xt.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(Pa)){let g=m[s++],v=a.getAttribute(f).split(ht),x=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:x[2],strings:v,ctor:x[1]==="."?cn:x[1]==="?"?dn:x[1]==="@"?un:tr}),a.removeAttribute(f)}else f.startsWith(ht)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Zc.test(a.tagName)){let f=a.textContent.split(ht),g=f.length-1;if(g>0){a.textContent=sn?sn.emptyScript:"";for(let v=0;v<g;v++)a.append(f[v],vo()),Xt.nextNode(),d.push({type:2,index:++i});a.append(f[g],vo())}}}else if(a.nodeType===8)if(a.data===La)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(ht,f+1))!==-1;)d.push({type:7,index:i}),f+=ht.length-1}i++}}static createElement(e,r){let n=Jt.createElement("template");return n.innerHTML=e,n}};ln=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Jt).importNode(r,!0);Xt.currentNode=a;let i=Xt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Or(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new pn(i,this,e)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(i=Xt.nextNode(),s++)}return Xt.currentNode=Jt,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Or=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.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=er(this,e,r),So(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Ee&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Kc(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!==H&&So(this._$AH)?this._$AA.nextSibling.data=e:this.T(Jt.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Co.createElement(qc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new ln(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(e){let r=Gc.get(e.strings);return r===void 0&&Gc.set(e.strings,r=new Co(e)),r}k(e){Ia(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.O(vo()),this.O(vo()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},tr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=er(this,e,r,0),s=!So(e)||e!==this._$AH&&e!==Ee,s&&(this._$AH=e);else{let l=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=er(this,l[n+d],r,d),p===Ee&&(p=this._$AH[d]),s||=!So(p)||p!==this._$AH[d],p===H?e=H:e!==H&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.j(e)}j(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},cn=class extends tr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===H?void 0:e}},dn=class extends tr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},un=class extends tr{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=er(this,e,r,0)??H)===Ee)return;let n=this._$AH,a=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==H&&(n===H||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},pn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){er(this,e)}},$a={M:Pa,P:ht,A:La,C:1,L:Yc,R:ln,D:Kc,V:er,I:Or,H:tr,N:dn,U:un,B:cn,F:pn},hm=Ta.litHtmlPolyfillSupport;hm?.(Co,Or),(Ta.litHtmlVersions??=[]).push("3.3.0");Ba=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new Or(e.insertBefore(vo(),i),i,void 0,r??{})}return a._$AI(t),a}});var Fa,mt,mm,ym,Qc=h(()=>{bo();bo();Ke();Ke();Fa=globalThis,mt=class extends et{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=Ba(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ee}};mt._$litElement$=!0,mt.finalized=!0,Fa.litElementHydrateSupport?.({LitElement:mt});mm=Fa.litElementPolyfillSupport;mm?.({LitElement:mt});ym={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Fa.litElementVersions??=[]).push("4.2.0")});var ob,Xc=h(()=>{ob=!1});var Ua={};G(Ua,{CSSResult:()=>Sr,LitElement:()=>mt,ReactiveElement:()=>et,_$LE:()=>ym,_$LH:()=>$a,adoptStyles:()=>mo,css:()=>L,defaultConverter:()=>Cr,getCompatibleStyle:()=>on,html:()=>M,isServer:()=>ob,mathml:()=>Ma,noChange:()=>Ee,notEqual:()=>go,nothing:()=>H,render:()=>Ba,supportsAdoptingStyleSheets:()=>ho,svg:()=>Da,unsafeCSS:()=>Yt});var z=h(()=>{bo();Ke();Qc();Xc()});var Wa,Jc=h(()=>{Wa=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function w(t){return(e,r)=>typeof r=="object"?ed(t,e,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}var gm,ed,Ha=h(()=>{bo();gm={attribute:!0,type:String,converter:Cr,reflect:!1,hasChanged:go},ed=(t=gm,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)}});function ce(t){return w({...t,state:!0,attribute:!1})}var td=h(()=>{Ha();});function Er(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var rd=h(()=>{});var Ze,wr=h(()=>{Ze=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function be(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ze(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ze(r,n,{get(){return i(this)}})}}var od=h(()=>{wr();});function xm(t){return(e,r)=>Ze(e,r,{get(){return(this.renderRoot??(bm??=document.createDocumentFragment())).querySelectorAll(t)}})}var bm,nd=h(()=>{wr();});function vm(t){return(e,r)=>Ze(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var ad=h(()=>{wr();});function Sm(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ze(e,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(t)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}var id=h(()=>{wr();});function za(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ze(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var sd=h(()=>{wr();});var ja={};G(ja,{customElement:()=>Wa,eventOptions:()=>Er,property:()=>w,query:()=>be,queryAll:()=>xm,queryAssignedElements:()=>Sm,queryAssignedNodes:()=>za,queryAsync:()=>vm,standardProperty:()=>ed,state:()=>ce});var ne=h(()=>{Jc();Ha();td();rd();od();nd();ad();id();sd()});var Tt,Pt,tt,Oo=h(()=>{Tt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Pt=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var Cm,ld,Ar,Lt,Om,cd,dd,fn,ud=h(()=>{Ke();({I:Cm}=$a),ld=()=>document.createComment(""),Ar=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(ld(),a),s=n.insertBefore(ld(),a);r=new Cm(i,s,t,t.options)}else{let i=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(i!==a||l){let d=r._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return r},Lt=(t,e,r=t)=>(t._$AI(e,r),t),Om={},cd=(t,e=Om)=>t._$AH=e,dd=t=>t._$AH,fn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}}});var pd,Eo,fd=h(()=>{Ke();Oo();ud();pd=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},Eo=Pt(class extends tt{constructor(t){if(super(t),t.type!==Tt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let l of t)a[s]=n?n(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let a=dd(t),{values:i,keys:s}=this.dt(e,r,n);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],p,m,f=0,g=a.length-1,v=0,x=i.length-1;for(;f<=g&&v<=x;)if(a[f]===null)f++;else if(a[g]===null)g--;else if(l[f]===s[v])d[v]=Lt(a[f],i[v]),f++,v++;else if(l[g]===s[x])d[x]=Lt(a[g],i[x]),g--,x--;else if(l[f]===s[x])d[x]=Lt(a[f],i[x]),Ar(t,d[x+1],a[f]),f++,x--;else if(l[g]===s[v])d[v]=Lt(a[g],i[v]),Ar(t,a[f],a[g]),g--,v++;else if(p===void 0&&(p=pd(s,v,x),m=pd(l,f,g)),p.has(l[f]))if(p.has(l[g])){let E=m.get(s[v]),T=E!==void 0?a[E]:null;if(T===null){let _=Ar(t,a[f]);Lt(_,i[v]),d[v]=_}else d[v]=Lt(T,i[v]),Ar(t,a[f],T),a[E]=null;v++}else fn(a[g]),g--;else fn(a[f]),f++;for(;v<=x;){let E=Ar(t,d[x+1]);Lt(E,i[v]),d[v++]=E}for(;f<=g;){let E=a[f++];E!==null&&fn(E)}return this.ut=s,cd(t,d),Ee}})});var Va={};G(Va,{repeat:()=>Eo});var hn=h(()=>{fd()});var rt,hd=h(()=>{Ke();Oo();rt=Pt(class extends tt{constructor(t){if(super(t),t.type!==Tt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let a=!!e[n];a===this.st.has(n)||this.nt?.has(n)||(a?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return Ee}})});var Ga={};G(Ga,{classMap:()=>rt});var Rr=h(()=>{hd()});var md,Em,wm,yd=h(()=>{Ke();Oo();md="important",Em=" !"+md,wm=Pt(class extends tt{constructor(t){if(super(t),t.type!==Tt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(Em);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?md:""):r[n]=a}}return Ee}})});var Ka={};G(Ka,{styleMap:()=>wm});var gd=h(()=>{yd()});var Nr,rr,bd=h(()=>{Ke();Oo();Nr=class extends tt{constructor(e){if(super(e),this.it=H,e.type!==Tt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===H||e==null)return this._t=void 0,this.it=e;if(e===Ee)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:[]}}};Nr.directiveName="unsafeHTML",Nr.resultType=1;rr=Pt(Nr)});var Za={};G(Za,{UnsafeHTMLDirective:()=>Nr,unsafeHTML:()=>rr});var wo=h(()=>{bd()});var qa={};G(qa,{CancelablePromise:()=>_r,CanceledPromiseError:()=>ot,cancelable:()=>Tr});var ot,_r,Tr,mn=h(()=>{"use strict";ot=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},_r=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new ot("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new ot("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Tr=t=>new _r((e,r)=>t.then(e).catch(r))});var Ja={};G(Ja,{FtNotificationEvent:()=>Ya,PostResizeEvent:()=>Xa,PreResizeEvent:()=>Qa,WithEventBus:()=>or,withEventBus:()=>xd});function xd(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Ya,Qa,Xa,or,Ao=h(()=>{"use strict";Ya=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Qa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Xa=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};or=class extends xd(Object){}});var ei={};G(ei,{CacheRegistry:()=>nt,ClearCacheEvent:()=>Ro});var Ro,nt,ti=h(()=>{"use strict";mn();Ao();Ro=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},nt=class extends or{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new Ro(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new Ro([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof _r&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=Tr(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});var oi={};G(oi,{ClusteringHelper:()=>ri});var ri,ni=h(()=>{"use strict";ri=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var r,n,a,i,s;let l=((i=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(a=e.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(l=>{i.push(l.join(" > ")),r&&r>1&&l.length>=r?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",a,i){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),p=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,g,v)=>v.findIndex(x=>x.value===f.value)===g).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,g)=>this.compareMetadata(f.metadata.value,g.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>l&&(l=p,s=d,p===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}}});var ai={};G(ai,{Debouncer:()=>ve});var ve,yn=h(()=>{"use strict";ve=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var si={};G(si,{dateReviver:()=>Rm,deepCopy:()=>Pm,deepEqual:()=>qe,delay:()=>gn,eventPathContainsMatchingElement:()=>_m,flatDeep:()=>Sd,getComposedPathTo:()=>ii,hasChanged:()=>nr,last:()=>Tm,minmax:()=>ar,parseDate:()=>Cd,unslotText:()=>bn,waitFor:()=>vd,waitUntil:()=>Am});async function Am(t,e=10,r=2e4){await vd(async()=>await t()||void 0,e,r)}async function vd(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await gn(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Sd(t,e){return t.flatMap(r=>[r,...Sd(e(r),e)])}function Rm(...t){return function(e,r){return t.includes(e)?Cd(r):r}}function Cd(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,a)=>r+n+":"+a),new Date(t)}function Nm(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!qe(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!qe(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!qe(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function qe(t,e){try{return Nm(t,e)}catch{return!1}}function nr(t,e){return!qe(t,e)}function _m(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function ar(t,e,r){return Math.min(Math.max(t,e),r)}function Tm(t){return t[t.length-1]}function bn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>bn(e)).join(""):t?.textContent||""}function ii(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function Pm(t){return window.structuredClone?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}var gn,It=h(()=>{"use strict";gn=t=>new Promise(e=>setTimeout(e,t))});var li={};G(li,{customElement:()=>V,isNumber:()=>Od,jsonProperty:()=>we,optionalNumberProperty:()=>Lm});function we(t,e){let r=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:nr,...e??{}})}function Lm(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Od(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Od(t){return!isNaN(parseFloat(t))}var V,xn=h(()=>{"use strict";ne();It();V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function O(t,e){return yt(`${t.name}: ${e}`)}var yt,o,q=h(()=>{z();yt=t=>typeof t=="string"?Yt(t):t,o=class{static create(e,r,n,a){let i=l=>yt(l??a),s=L`var(${yt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>L`var(${yt(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=l=>n.get(l??a),s=L`var(${yt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>L`var(${yt(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):yt(i??e.lastResortDefaultValue()),a=L`var(${yt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>L`var(${yt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var c,ci,di,ui,pi,fi,hi,mi,yi,gi,Ed,bi,xi,vi,Si,Ci,Oi,Ei,wi,Ai,Ri,Ni,_i,Ti,Pi,Li,Ii,No,Im,Q=h(()=>{q();c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-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)")},ci={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},di={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ui={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},pi={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},fi={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},hi={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},mi={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},yi={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},gi={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ed={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},bi={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},xi={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},vi={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Si={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ci={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Oi={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ei={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},wi={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ai={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ri={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_i={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ti={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ii={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},No={display:ci,"title-1":di,"title-2":ui,"title-3":pi,"body-1-regular":fi,"body-1-medium":hi,"body-1-semibold":mi,"body-2-regular":yi,"body-2-medium":gi,"body-2-medium-underline":Ed,"body-2-semibold":bi,"label-1-medium":xi,"label-1-semibold":vi,"label-1-bold":Si,"label-2-medium":Ci,"label-2-semibold":Oi,"label-2-bold":Ei,"caption-1-medium":wi,"caption-1-semibold":Ai,"caption-1-bold":Ri,"caption-2-medium":Ni,"caption-2-semibold":_i,"caption-2-bold":Ti,"caption-3-medium":Pi,"caption-3-semibold":Li,"caption-3-bold":Ii},Im=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var u,te=h(()=>{q();Q();u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var b,wd=h(()=>{q();Q();te();b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)}});var km,Ad=h(()=>{q();Q();te();km={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)}});var Dm,Rd=h(()=>{q();Q();te();Dm={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)}});var Mm,Nd=h(()=>{q();Q();te();Mm={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var $m,_d=h(()=>{q();Q();te();$m={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)}});var Bm,Td=h(()=>{q();Q();te();Bm={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var Fm,Pd=h(()=>{q();Q();te();Fm={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)}});var Um,Ld=h(()=>{q();Q();te();Um={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)}});var Wm,Id=h(()=>{q();Q();te();Wm={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var Hm,kd=h(()=>{q();Q();te();Hm={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var zm,Dd=h(()=>{q();Q();te();zm={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var jm,Md=h(()=>{q();Q();jm={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var Vm,$d=h(()=>{q();Q();te();Vm={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var Gm,Bd=h(()=>{q();Q();te();Gm={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var Km,Fd=h(()=>{q();Q();te();Km={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var Zm,Ud=h(()=>{q();Q();te();Zm={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var qm,Wd=h(()=>{q();Q();te();qm={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)}});var Ym,Hd=h(()=>{q();Q();te();Ym={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var Qm,zd=h(()=>{q();Q();te();Qm={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var Xm,jd=h(()=>{q();Q();te();Xm={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)}});var Jm,Vd=h(()=>{q();Q();te();Jm={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")}});var ey,Gd=h(()=>{q();Q();te();ey={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var ty,Kd=h(()=>{q();Q();te();ty={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var ry,Zd=h(()=>{q();Q();ry={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var oy,qd=h(()=>{q();Q();oy={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var ny,Yd=h(()=>{q();Q();te();ny={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var ay,Qd=h(()=>{q();Q();te();ay={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)}});var iy,Xd=h(()=>{q();Q();te();iy={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)}});var sy,Jd=h(()=>{q();Q();te();sy={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)}});var ly,eu=h(()=>{q();Q();te();ly={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)}});var cy,tu=h(()=>{q();Q();te();cy={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)}});var ru=h(()=>{Q();te();wd();Ad();Rd();Nd();_d();Td();Pd();Ld();Id();kd();Dd();Md();$d();Bd();Fd();Ud();Wd();Hd();zd();jd();Vd();Gd();Kd();Zd();qd();Yd();Qd();Xd();Jd();eu();tu()});function ki(t){return`ftds--family-${t}`}function Di(t){return`ftds--size-${t}`}var ir,gt,ou=h(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ir||(ir={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(gt||(gt={}))});var K=h(()=>{q();ru();ou()});var Mi={};G(Mi,{DesignSystemFamily:()=>ir,DesignSystemSize:()=>gt,FtCssVariableFactory:()=>o,badge:()=>Um,banner:()=>Fm,button:()=>b,chart:()=>ry,checkbox:()=>km,chip:()=>$m,chipChoice:()=>Mm,collapsible:()=>ey,comboboxMultiSelect:()=>Xm,comboboxSingleSelect:()=>Qm,drawer:()=>Gm,floatingMenu:()=>Ym,foundation:()=>c,link:()=>Bm,modal:()=>Vm,notice:()=>ny,notification:()=>sy,pageDesigner:()=>oy,pageFooter:()=>zm,pageHeader:()=>Hm,pageLayout:()=>jm,popover:()=>Jm,radio:()=>iy,reorderableList:()=>cy,resolveFamilyClass:()=>ki,resolveSizeClass:()=>Di,semantic:()=>u,setVariable:()=>O,switch_:()=>ty,table:()=>Dm,tabs:()=>Km,textArea:()=>qm,textInput:()=>Zm,titleBreadcrumb:()=>Wm,toggle:()=>ay,tooltip:()=>ly,typographies:()=>No,typographyBody1Medium:()=>hi,typographyBody1Regular:()=>fi,typographyBody1Semibold:()=>mi,typographyBody2Medium:()=>gi,typographyBody2MediumUnderline:()=>Ed,typographyBody2Regular:()=>yi,typographyBody2Semibold:()=>bi,typographyCaption1Bold:()=>Ri,typographyCaption1Medium:()=>wi,typographyCaption1Semibold:()=>Ai,typographyCaption2Bold:()=>Ti,typographyCaption2Medium:()=>Ni,typographyCaption2Semibold:()=>_i,typographyCaption3Bold:()=>Ii,typographyCaption3Medium:()=>Pi,typographyCaption3Semibold:()=>Li,typographyDisplay:()=>ci,typographyLabel1Bold:()=>Si,typographyLabel1Medium:()=>xi,typographyLabel1Semibold:()=>vi,typographyLabel2Bold:()=>Ei,typographyLabel2Medium:()=>Ci,typographyLabel2Semibold:()=>Oi,typographyTitle1:()=>di,typographyTitle2:()=>ui,typographyTitle3:()=>pi,typographyVariants:()=>Im});var vn=h(()=>{"use strict";K()});var $i={};G($i,{designSystemVariables:()=>D});var D,Bi=h(()=>{"use strict";vn();D={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});function Wi(t,e,r){return kt(t,Sn(e,r))}function Pr(t,e){return typeof t=="function"?t(e):t}function Dt(t){return t.split("-")[0]}function at(t){return t.split("-")[1]}function Hi(t){return t==="x"?"y":"x"}function zi(t){return t==="y"?"height":"width"}function Lr(t){return["top","bottom"].includes(Dt(t))?"y":"x"}function ji(t){return Hi(Lr(t))}function iu(t,e,r){r===void 0&&(r=!1);let n=at(t),a=ji(t),i=zi(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Fi(s)),[s,Fi(s)]}function su(t){return t.replace(/start|end/g,e=>uy[e])}function Fi(t){return t.replace(/left|right|bottom|top/g,e=>dy[e])}function py(t){return{top:0,right:0,bottom:0,left:0,...t}}function lu(t){return typeof t!="number"?py(t):{top:t,right:t,bottom:t,left:t}}function sr(t){let{x:e,y:r,width:n,height:a}=t;return{width:n,height:a,top:r,left:e,right:e+n,bottom:r+a,x:e,y:r}}var au,nu,Ui,Sn,kt,dy,uy,Vi=h(()=>{au=["top","right","bottom","left"],nu=["start","end"],Ui=au.reduce((t,e)=>t.concat(e,e+"-"+nu[0],e+"-"+nu[1]),[]),Sn=Math.min,kt=Math.max,dy={left:"right",right:"left",bottom:"top",top:"bottom"},uy={start:"end",end:"start"}});function cu(t,e,r){let{reference:n,floating:a}=t,i=Lr(e),s=ji(e),l=zi(s),d=Dt(e),p=i==="y",m=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,v;switch(d){case"top":v={x:m,y:n.y-a.height};break;case"bottom":v={x:m,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:f};break;case"left":v={x:n.x-a.width,y:f};break;default:v={x:n.x,y:n.y}}switch(at(e)){case"start":v[s]-=g*(r&&p?-1:1);break;case"end":v[s]+=g*(r&&p?-1:1);break}return v}async function Cn(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:f="floating",altBoundary:g=!1,padding:v=0}=Pr(e,t),x=lu(v),T=l[g?f==="floating"?"reference":"floating":f],_=sr(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(T)))==null||r?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:m,strategy:d})),I=f==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(A))?await(i.getScale==null?void 0:i.getScale(A))||{x:1,y:1}:{x:1,y:1},R=sr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:I,offsetParent:A,strategy:d}):I);return{top:(_.top-R.top+x.top)/S.y,bottom:(R.bottom-_.bottom+x.bottom)/S.y,left:(_.left-R.left+x.left)/S.x,right:(R.right-_.right+x.right)/S.x}}function fy(t,e,r){return(t?[...r.filter(a=>at(a)===t),...r.filter(a=>at(a)!==t)]:r.filter(a=>Dt(a)===a)).filter(a=>t?at(a)===t||(e?su(a)!==a:!1):!0)}async function hy(t,e){let{placement:r,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=Dt(r),l=at(r),d=Lr(r)==="y",p=["left","top"].includes(s)?-1:1,m=i&&d?-1:1,f=Pr(e,t),{mainAxis:g,crossAxis:v,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof x=="number"&&(v=l==="end"?x*-1:x),d?{x:v*m,y:g*p}:{x:g*p,y:v*m}}var du,On,Gi,Ki,Zi,qi=h(()=>{Vi();Vi();du=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:m,y:f}=cu(p,n,d),g=n,v={},x=0;for(let E=0;E<l.length;E++){let{name:T,fn:_}=l[E],{x:I,y:A,data:S,reset:R}=await _({x:m,y:f,initialPlacement:n,placement:g,strategy:a,middlewareData:v,rects:p,platform:s,elements:{reference:t,floating:e}});m=I??m,f=A??f,v={...v,[T]:{...v[T],...S}},R&&x<=50&&(x++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(p=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):R.rects),{x:m,y:f}=cu(p,g,d)),E=-1)}return{x:m,y:f,placement:g,strategy:a,middlewareData:v}};On=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:m=!1,alignment:f,allowedPlacements:g=Ui,autoAlignment:v=!0,...x}=Pr(t,e),E=f!==void 0||g===Ui?fy(f||null,v,g):g,T=await Cn(e,x),_=((r=s.autoPlacement)==null?void 0:r.index)||0,I=E[_];if(I==null)return{};let A=iu(I,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==I)return{reset:{placement:E[0]}};let S=[T[Dt(I)],T[A[0]],T[A[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:I,overflows:S}],B=E[_+1];if(B)return{data:{index:_+1,overflows:R},reset:{placement:B}};let j=R.map(F=>{let y=at(F.placement);return[F.placement,y&&m?F.overflows.slice(0,2).reduce((C,$)=>C+$,0):F.overflows[0],F.overflows]}).sort((F,y)=>F[1]-y[1]),Z=((a=j.filter(F=>F[2].slice(0,at(F[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||j[0][0];return Z!==l?{data:{index:_+1,overflows:R},reset:{placement:Z}}:{}}}};Gi=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:a,y:i,placement:s,middlewareData:l}=e,d=await hy(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Ki=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:T=>{let{x:_,y:I}=T;return{x:_,y:I}}},...d}=Pr(t,e),p={x:r,y:n},m=await Cn(e,d),f=Lr(Dt(a)),g=Hi(f),v=p[g],x=p[f];if(i){let T=g==="y"?"top":"left",_=g==="y"?"bottom":"right",I=v+m[T],A=v-m[_];v=Wi(I,v,A)}if(s){let T=f==="y"?"top":"left",_=f==="y"?"bottom":"right",I=x+m[T],A=x-m[_];x=Wi(I,x,A)}let E=l.fn({...e,[g]:v,[f]:x});return{...E,data:{x:E.x-r,y:E.y-n,enabled:{[g]:i,[f]:s}}}}}},Zi=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;let{placement:a,rects:i,platform:s,elements:l}=e,{apply:d=()=>{},...p}=Pr(t,e),m=await Cn(e,p),f=Dt(a),g=at(a),v=Lr(a)==="y",{width:x,height:E}=i.floating,T,_;f==="top"||f==="bottom"?(T=f,_=g===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(_=f,T=g==="end"?"top":"bottom");let I=E-m.top-m.bottom,A=x-m.left-m.right,S=Sn(E-m[T],I),R=Sn(x-m[_],A),B=!e.middlewareData.shift,j=S,X=R;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(X=A),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(j=I),B&&!g){let F=kt(m.left,0),y=kt(m.right,0),C=kt(m.top,0),$=kt(m.bottom,0);v?X=x-2*(F!==0||y!==0?F+y:kt(m.left,m.right)):j=E-2*(C!==0||$!==0?C+$:kt(m.top,m.bottom))}await d({...e,availableWidth:X,availableHeight:j});let Z=await s.getDimensions(l.floating);return x!==Z.width||E!==Z.height?{reset:{rects:!0}}:{}}}}});var Yi,Ir,_o,bt,uu=h(()=>{Yi=Math.min,Ir=Math.max,_o=Math.round,bt=t=>({x:t,y:t})});function xt(t){return fu(t)?(t.nodeName||"").toLowerCase():"#document"}function Le(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function vt(t){var e;return(e=(fu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function fu(t){return t instanceof Node||t instanceof Le(t).Node}function it(t){return t instanceof Element||t instanceof Le(t).Element}function Ye(t){return t instanceof HTMLElement||t instanceof Le(t).HTMLElement}function pu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Le(t).ShadowRoot}function kr(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=Be(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function hu(t){return["table","td","th"].includes(xt(t))}function wn(t){let e=An(),r=Be(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function mu(t){let e=lr(t);for(;Ye(e)&&!To(e);){if(wn(e))return e;e=lr(e)}return null}function An(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function To(t){return["html","body","#document"].includes(xt(t))}function Be(t){return Le(t).getComputedStyle(t)}function Po(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lr(t){if(xt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||pu(t)&&t.host||vt(t);return pu(e)?e.host:e}function yu(t){let e=lr(t);return To(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ye(e)&&kr(e)?e:yu(e)}function En(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=yu(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Le(a);return i?e.concat(s,s.visualViewport||[],kr(a)?a:[],s.frameElement&&r?En(s.frameElement):[]):e.concat(a,En(a,[],r))}var gu=h(()=>{});function vu(t){let e=Be(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Ye(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,l=_o(r)!==i||_o(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function Su(t){return it(t)?t:t.contextElement}function Dr(t){let e=Su(t);if(!Ye(e))return bt(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=vu(e),s=(i?_o(r.width):r.width)/n,l=(i?_o(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Cu(t){let e=Le(t);return!An()||!e.visualViewport?my:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function yy(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Le(t)?!1:e}function Lo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=Su(t),s=bt(1);e&&(n?it(n)&&(s=Dr(n)):s=Dr(t));let l=yy(i,r,n)?Cu(i):bt(0),d=(a.left+l.x)/s.x,p=(a.top+l.y)/s.y,m=a.width/s.x,f=a.height/s.y;if(i){let g=Le(i),v=n&&it(n)?Le(n):n,x=g.frameElement;for(;x&&n&&v!==g;){let E=Dr(x),T=x.getBoundingClientRect(),_=Be(x),I=T.left+(x.clientLeft+parseFloat(_.paddingLeft))*E.x,A=T.top+(x.clientTop+parseFloat(_.paddingTop))*E.y;d*=E.x,p*=E.y,m*=E.x,f*=E.y,d+=I,p+=A,x=Le(x).frameElement}}return sr({width:m,height:f,x:d,y:p})}function gy(t){let{rect:e,offsetParent:r,strategy:n}=t,a=Ye(r),i=vt(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},l=bt(1),d=bt(0);if((a||!a&&n!=="fixed")&&((xt(r)!=="body"||kr(i))&&(s=Po(r)),Ye(r))){let p=Lo(r);l=Dr(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function by(t){return Array.from(t.getClientRects())}function Ou(t){return Lo(vt(t)).left+Po(t).scrollLeft}function xy(t){let e=vt(t),r=Po(t),n=t.ownerDocument.body,a=Ir(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Ir(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Ou(t),l=-r.scrollTop;return Be(n).direction==="rtl"&&(s+=Ir(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function vy(t,e){let r=Le(t),n=vt(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let p=An();(!p||p&&e==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function Sy(t,e){let r=Lo(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=Ye(t)?Dr(t):bt(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,d=a*i.x,p=n*i.y;return{width:s,height:l,x:d,y:p}}function bu(t,e,r){let n;if(e==="viewport")n=vy(t,r);else if(e==="document")n=xy(vt(t));else if(it(e))n=Sy(e,r);else{let a=Cu(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return sr(n)}function Eu(t,e){let r=lr(t);return r===e||!it(r)||To(r)?!1:Be(r).position==="fixed"||Eu(r,e)}function Cy(t,e){let r=e.get(t);if(r)return r;let n=En(t,[],!1).filter(l=>it(l)&&xt(l)!=="body"),a=null,i=Be(t).position==="fixed",s=i?lr(t):t;for(;it(s)&&!To(s);){let l=Be(s),d=wn(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||kr(s)&&!d&&Eu(t,s))?n=n.filter(m=>m!==s):a=l,s=lr(s)}return e.set(t,n),n}function Oy(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,s=[...r==="clippingAncestors"?Cy(e,this._c):[].concat(r),n],l=s[0],d=s.reduce((p,m)=>{let f=bu(e,m,a);return p.top=Ir(f.top,p.top),p.right=Yi(f.right,p.right),p.bottom=Yi(f.bottom,p.bottom),p.left=Ir(f.left,p.left),p},bu(e,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Ey(t){return vu(t)}function wy(t,e,r){let n=Ye(e),a=vt(e),i=r==="fixed",s=Lo(t,!0,i,e),l={scrollLeft:0,scrollTop:0},d=bt(0);if(n||!n&&!i)if((xt(e)!=="body"||kr(a))&&(l=Po(e)),n){let p=Lo(e,!0,i,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else a&&(d.x=Ou(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function xu(t,e){return!Ye(t)||Be(t).position==="fixed"?null:e?e(t):t.offsetParent}function wu(t,e){let r=Le(t);if(!Ye(t))return r;let n=xu(t,e);for(;n&&hu(n)&&Be(n).position==="static";)n=xu(n,e);return n&&(xt(n)==="html"||xt(n)==="body"&&Be(n).position==="static"&&!wn(n))?r:n||mu(t)||r}function Ry(t){return Be(t).direction==="rtl"}var my,Ay,Mr,Qi,Au=h(()=>{qi();qi();uu();gu();my=bt(0);Ay=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||wu,i=this.getDimensions;return{reference:wy(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};Mr={convertOffsetParentRelativeRectToViewportRelativeRect:gy,getDocumentElement:vt,getClippingRect:Oy,getOffsetParent:wu,getElementRects:Ay,getClientRects:by,getDimensions:Ey,getScale:Dr,isElement:it,isRTL:Ry},Qi=(t,e,r)=>{let n=new Map,a={platform:Mr,...r},i={...a.platform,_c:n};return du(t,e,{...a,platform:i})}});function Ji(t){return Ny(t)}function Xi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ny(t){for(let e=t;e;e=Xi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Xi(t);e;e=Xi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var Ru=h(()=>{});var ts={};G(ts,{computeOffsetAutoPosition:()=>_y,computeOffsetPosition:()=>es});async function es(t,e,r){return Qi(t,e,{platform:{...Mr,getOffsetParent:n=>Mr.getOffsetParent(n,Ji)},middleware:[Ki({crossAxis:!0}),On({allowedPlacements:[r]})]})}async function _y(t,e,r,n,a,i,s=4){return Qi(t,e,{placement:r,strategy:a,platform:{...Mr,getOffsetParent:l=>Mr.getOffsetParent(l,Ji)},middleware:[Gi(s),On({allowedPlacements:n}),Zi({apply({availableHeight:l,elements:d}){i?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${i}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Rn=h(()=>{"use strict";Au();Ru()});var rs={};G(rs,{ScopedRegistryLitElement:()=>Io});var Io,Nn=h(()=>{"use strict";z();nn();Io=class extends mt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return mo(n,e.elementStyles),n}}});var os={};G(os,{FtLitElement:()=>ee});var _n,Pu,Nu,_u,Lu,Tu,ee,ko=h(()=>{"use strict";ne();xn();yn();Nn();_n=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Nu=Symbol("constructorPrototype"),_u=Symbol("constructorName"),Lu=Symbol("exportpartsDebouncer"),Tu=Symbol("dynamicDependenciesLoaded"),ee=class extends Io{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Pu]=new ve(5),this[_u]=this.constructor.name,this[Nu]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[_u]&&Object.setPrototypeOf(this,this[Nu])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Tu]||(e[Tu]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Lu].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,s,l;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...v,...x).filter(d).map(E=>E.trim()).forEach(E=>m.add(E))}if(m.size===0){this.removeAttribute("exportparts");return}let f=[...m.values()].flatMap(g=>p.map(v=>`${g}:${v}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Pu=Lu;_n([w()],ee.prototype,"exportpartsPrefix",void 0);_n([we([])],ee.prototype,"exportpartsPrefixes",void 0);_n([w()],ee.prototype,"customStylesheet",void 0);_n([ce()],ee.prototype,"useAdoptedStyleSheets",void 0)});var as={};G(as,{FtdsBase:()=>ns,toFtdsBase:()=>Tn});function Tn(t){class e extends t{constructor(){super(...arguments),this.size=gt.medium,this.family=ir.neutral}getDesignSystemBaseClasses(){return{[ki(this.family)]:!0,[Di(this.size)]:!0}}}return Iu([w()],e.prototype,"size",void 0),Iu([w()],e.prototype,"family",void 0),e}var Iu,ns,is=h(()=>{"use strict";ko();ne();K();Iu=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};ns=class extends Tn(ee){}});var ku={};var ss=h(()=>{"use strict"});var cr,Du=h(()=>{cr=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,m=>{r(p)&&(l++,n(m)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let s=this.createIterator(r,e,a),l=[],d=[],p,m,f=()=>({prevNode:m,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(p,m,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,v=>d.push(v),a)}),d.push(p);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}}});var Do,Mu=h(()=>{Du();Do=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 cr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),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${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){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(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,r,n){let a,i=!0,s=n.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return cr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(n-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let p=r-s.start,m=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),g=e.value.substr(m+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,m),e.value=f+g,e.nodes.forEach((v,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=m),e.nodes[x].end-=m)}),n-=m,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let m=p.index;if(s!==0)for(let f=1;f<s;f++)m+=p[f].length;d=this.wrapRangeInTextNode(d,m,m+p[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let m=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,m,f=>n(d[s],f),(f,g)=>{e.lastIndex=g,a(f)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((l,d)=>{let{start:p,end:m,valid:f}=this.checkWhitespaceRanges(l,s,i.value);f&&this.wrapRangeInMappedTextNode(i,p,m,g=>r(g,l,i.value.substring(p,m),d),g=>{n(g,l)})}),a()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let m=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${m}"`),this[a](m,1,(g,v)=>this.opt.filter(v,p,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(p),i[s-1]===p?this.opt.done(n):d(i[i.indexOf(p)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(e,r){this.opt=r;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=cr.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function ls(t){let e=new Do(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var $u=h(()=>{Mu()});var ds={};G(ds,{highlightHtml:()=>cs,highlightHtmlColorCssVariable:()=>Bu,highlightHtmlStyles:()=>Py});function cs(t,e,r){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new Ty(t);if(s.unmark(),e&&e.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(l.each=p=>{for(let m in r.attributes)p.setAttribute(m,r.attributes[m])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Ty,Bu,Py,us=h(()=>{"use strict";z();K();$u();Ty=ls,Bu=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Py=L`
1
+ "use strict";(()=>{var em=Object.create;var Ta=Object.defineProperty;var tm=Object.getOwnPropertyDescriptor;var rm=Object.getOwnPropertyNames;var om=Object.getPrototypeOf,nm=Object.prototype.hasOwnProperty;var h=(t,e)=>()=>(t&&(e=t(t=0)),e);var am=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)Ta(t,r,{get:e[r],enumerable:!0})},im=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of rm(e))!nm.call(t,a)&&a!==r&&Ta(t,a,{get:()=>e[a],enumerable:!(n=tm(e,a))||n.enumerable});return t};var sm=(t,e,r)=>(r=t!=null?em(om(t)):{},im(e||!t||!t.__esModule?Ta(r,"default",{value:t,enumerable:!0}):r,t));var Mc=h(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,i=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(A,S){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" 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,B=new Set(S.observedAttributes||[]);g(S,B,R);let j={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:B};this._definitionsByTag.set(A,j),this._definitionsByClass.set(S,j);let X=r.call(n,A);X||(X=f(A),e.call(n,A,X)),this===window.customElements&&(s.set(S,j),j.standInClass=X);let Z=this._awaitingUpgrade.get(A);if(Z){this._awaitingUpgrade.delete(A);for(let y of Z)i.delete(y),x(y,j,!0)}let F=this._whenDefinedPromises.get(A);return F!==void 0&&(F.resolve(S),this._whenDefinedPromises.delete(A)),S}upgrade(){T.push(this),n.upgrade.apply(n,arguments),T.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let S=this._getDefinition(A);if(S!==void 0)return Promise.resolve(S.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(B=>R.resolve=B),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,S,R){let B=this._awaitingUpgrade.get(S);B||this._awaitingUpgrade.set(S,B=new Set),R?B.add(A):B.delete(A)}};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),a.set(S,R),S},window.HTMLElement.prototype=t.prototype;let p=A=>A===document||A instanceof ShadowRoot,m=A=>{let S=A.getRootNode();if(!p(S)){let R=T[T.length-1];if(R instanceof CustomElementRegistry)return R;S=R.getRootNode(),p(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},f=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let B=m(R)||window.customElements,j=B._getDefinition(A);return j?x(R,j):i.set(R,B),R}connectedCallback(){let R=a.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=a.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=a.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=a.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=a.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=a.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(A,S,R)=>{if(S.size===0||R===void 0)return;let B=A.prototype.setAttribute;B&&(A.prototype.setAttribute=function(Z,F){let y=Z.toLowerCase();if(S.has(y)){let C=this.getAttribute(y);B.call(this,y,F),R.call(this,y,C,F)}else B.call(this,y,F)});let j=A.prototype.removeAttribute;j&&(A.prototype.removeAttribute=function(Z){let F=Z.toLowerCase();if(S.has(F)){let y=this.getAttribute(F);j.call(this,F),R.call(this,F,y,null)}else j.call(this,F)});let X=A.prototype.toggleAttribute;X&&(A.prototype.toggleAttribute=function(Z,F){let y=Z.toLowerCase();if(S.has(y)){let C=this.getAttribute(y);X.call(this,y,F);let $=this.getAttribute(y);R.call(this,y,C,$)}else X.call(this,y,F)})},v=A=>{let S=Object.getPrototypeOf(A);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(A,window.HTMLElement):v(S)},x=(A,S,R=!1)=>{Object.setPrototypeOf(A,S.elementClass.prototype),a.set(A,S),d=A;try{new S.elementClass}catch{v(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(B=>{A.hasAttribute(B)&&S.attributeChangedCallback.call(A,B,null,A.getAttribute(B))}),R&&S.connectedCallback&&A.isConnected&&S.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let S=E.apply(this,arguments);return A.customElements&&(S.customElements=A.customElements),S};let T=[document],_=(A,S,R=void 0)=>{let B=(R?Object.getPrototypeOf(R):A.prototype)[S];A.prototype[S]=function(){T.push(this);let j=B.apply(R||this,arguments);return j!==void 0&&l.set(j,this),T.pop(),j}};_(ShadowRoot,"createElement",document),_(ShadowRoot,"importNode",document),_(Element,"insertAdjacentHTML");let I=(A,S)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,S);Object.defineProperty(A.prototype,S,{...R,set(B){T.push(this),R.set.call(this,B),T.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,S=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Z){let F=S.call(this,...Z);return A.set(F,this),F},R.forEach(Z=>{let F=window.ElementInternals.prototype,y=F[Z];F[Z]=function(...C){let $=A.get(this);if(a.get($).formAssociated===!0)return y?.call(this,...C);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class B extends Array{constructor(F){super(...F),this._elements=F}get value(){return this._elements.find(F=>F.checked===!0)?.value||""}}class j{constructor(F){let y=new Map;F.forEach((C,$)=>{let ee=C.getAttribute("name"),se=y.get(ee)||[];this[+$]=C,se.push(C),y.set(ee,se)}),this.length=F.length,y.forEach((C,$)=>{C&&(C.length===1?this[$]=C[0]:this[$]=new B(C))})}namedItem(F){return this[F]}}let X=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Z=X.get.call(this,[]),F=[];for(let y of Z){let C=a.get(y);(!C||C.formAssociated===!0)&&F.push(y)}return new j(F)}})}}});var $c=h(()=>{"use strict";Mc();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}});var nn,ho,Pa,Bc,Sr,Qt,L,mo,an,sn=h(()=>{nn=globalThis,ho=nn.ShadowRoot&&(nn.ShadyCSS===void 0||nn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pa=Symbol(),Bc=new WeakMap,Sr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Pa)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(ho&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Bc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Bc.set(r,e))}return e}toString(){return this.cssText}},Qt=t=>new Sr(typeof t=="string"?t:t+"",void 0,Pa),L=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,a,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new Sr(r,t,Pa)},mo=(t,e)=>{if(ho)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=nn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},an=ho?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Qt(r)})(t):t});var lm,cm,dm,um,pm,fm,ln,Fc,hm,mm,yo,Cr,go,Uc,et,bo=h(()=>{sn();sn();({is:lm,defineProperty:cm,getOwnPropertyDescriptor:dm,getOwnPropertyNames:um,getOwnPropertySymbols:pm,getPrototypeOf:fm}=Object),ln=globalThis,Fc=ln.trustedTypes,hm=Fc?Fc.emptyScript:"",mm=ln.reactiveElementPolyfillSupport,yo=(t,e)=>t,Cr={toAttribute(t,e){switch(e){case Boolean:t=t?hm: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}},go=(t,e)=>!lm(t,e),Uc={attribute:!0,type:String,converter:Cr,reflect:!1,useDefault:!1,hasChanged:go};Symbol.metadata??=Symbol("metadata"),ln.litPropertyMetadata??=new WeakMap;et=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=Uc){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&cm(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=dm(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let l=a?.call(this);i?.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Uc}static _$Ei(){if(this.hasOwnProperty(yo("elementProperties")))return;let e=fm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(yo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(yo("properties"))){let r=this.properties,n=[...um(r),...pm(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(an(a))}else e!==void 0&&r.push(an(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return mo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Cr).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Cr;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){let a=this.constructor,i=this[e];if(n??=a.getPropertyOptions(e),!((n.hasChanged??go)(i,r)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:a,wrapped:i},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),i!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),a===!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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n){let{wrapped:s}=i,l=this[a];s!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[yo("elementProperties")]=new Map,et[yo("finalized")]=new Map,mm?.({ReactiveElement:et}),(ln.reactiveElementVersions??=[]).push("2.1.0")});function qc(t,e){if(!Ma(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wc!==void 0?Wc.createHTML(e):e}function tr(t,e,r=t,n){if(e===Ee)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=So(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=tr(t,a._$AS(t,e.values),a,n)),e}var Ia,cn,Wc,ka,ht,Da,ym,er,vo,So,Ma,Kc,La,xo,Hc,zc,Xt,jc,Vc,Zc,$a,M,Ba,Fa,Ee,H,Gc,Jt,Yc,Co,dn,Or,rr,un,pn,fn,hn,Ua,gm,Wa,Ke=h(()=>{Ia=globalThis,cn=Ia.trustedTypes,Wc=cn?cn.createPolicy("lit-html",{createHTML:t=>t}):void 0,ka="$lit$",ht=`lit$${Math.random().toFixed(9).slice(2)}$`,Da="?"+ht,ym=`<${Da}>`,er=document,vo=()=>er.createComment(""),So=t=>t===null||typeof t!="object"&&typeof t!="function",Ma=Array.isArray,Kc=t=>Ma(t)||typeof t?.[Symbol.iterator]=="function",La=`[
2
+ \f\r]`,xo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Hc=/-->/g,zc=/>/g,Xt=RegExp(`>|${La}(?:([^\\s"'>=/]+)(${La}*=${La}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),jc=/'/g,Vc=/"/g,Zc=/^(?:script|style|textarea|title)$/i,$a=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),M=$a(1),Ba=$a(2),Fa=$a(3),Ee=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Gc=new WeakMap,Jt=er.createTreeWalker(er,129);Yc=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=xo;for(let l=0;l<r;l++){let d=t[l],p,m,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,m=s.exec(d),m!==null);)g=s.lastIndex,s===xo?m[1]==="!--"?s=Hc:m[1]!==void 0?s=zc:m[2]!==void 0?(Zc.test(m[2])&&(a=RegExp("</"+m[2],"g")),s=Xt):m[3]!==void 0&&(s=Xt):s===Xt?m[0]===">"?(s=a??xo,f=-1):m[1]===void 0?f=-2:(f=s.lastIndex-m[2].length,p=m[1],s=m[3]===void 0?Xt:m[3]==='"'?Vc:jc):s===Vc||s===jc?s=Xt:s===Hc||s===zc?s=xo:(s=Xt,a=void 0);let v=s===Xt&&t[l+1].startsWith("/>")?" ":"";i+=s===xo?d+ym:f>=0?(n.push(p),d.slice(0,f)+ka+d.slice(f)+ht+v):d+ht+(f===-2?l:v)}return[qc(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Co=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,d=this.parts,[p,m]=Yc(e,r);if(this.el=t.createElement(p,n),Jt.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=Jt.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(ka)){let g=m[s++],v=a.getAttribute(f).split(ht),x=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:x[2],strings:v,ctor:x[1]==="."?un:x[1]==="?"?pn:x[1]==="@"?fn:rr}),a.removeAttribute(f)}else f.startsWith(ht)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Zc.test(a.tagName)){let f=a.textContent.split(ht),g=f.length-1;if(g>0){a.textContent=cn?cn.emptyScript:"";for(let v=0;v<g;v++)a.append(f[v],vo()),Jt.nextNode(),d.push({type:2,index:++i});a.append(f[g],vo())}}}else if(a.nodeType===8)if(a.data===Da)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(ht,f+1))!==-1;)d.push({type:7,index:i}),f+=ht.length-1}i++}}static createElement(e,r){let n=er.createElement("template");return n.innerHTML=e,n}};dn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??er).importNode(r,!0);Jt.currentNode=a;let i=Jt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Or(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new hn(i,this,e)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(i=Jt.nextNode(),s++)}return Jt.currentNode=er,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Or=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.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=tr(this,e,r),So(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Ee&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Kc(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!==H&&So(this._$AH)?this._$AA.nextSibling.data=e:this.T(er.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Co.createElement(qc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new dn(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(e){let r=Gc.get(e.strings);return r===void 0&&Gc.set(e.strings,r=new Co(e)),r}k(e){Ma(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.O(vo()),this.O(vo()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},rr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=tr(this,e,r,0),s=!So(e)||e!==this._$AH&&e!==Ee,s&&(this._$AH=e);else{let l=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=tr(this,l[n+d],r,d),p===Ee&&(p=this._$AH[d]),s||=!So(p)||p!==this._$AH[d],p===H?e=H:e!==H&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.j(e)}j(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},un=class extends rr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===H?void 0:e}},pn=class extends rr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},fn=class extends rr{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=tr(this,e,r,0)??H)===Ee)return;let n=this._$AH,a=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==H&&(n===H||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},hn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){tr(this,e)}},Ua={M:ka,P:ht,A:Da,C:1,L:Yc,R:dn,D:Kc,V:tr,I:Or,H:rr,N:pn,U:fn,B:un,F:hn},gm=Ia.litHtmlPolyfillSupport;gm?.(Co,Or),(Ia.litHtmlVersions??=[]).push("3.3.0");Wa=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new Or(e.insertBefore(vo(),i),i,void 0,r??{})}return a._$AI(t),a}});var Ha,mt,bm,xm,Qc=h(()=>{bo();bo();Ke();Ke();Ha=globalThis,mt=class extends et{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=Wa(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ee}};mt._$litElement$=!0,mt.finalized=!0,Ha.litElementHydrateSupport?.({LitElement:mt});bm=Ha.litElementPolyfillSupport;bm?.({LitElement:mt});xm={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Ha.litElementVersions??=[]).push("4.2.0")});var sb,Xc=h(()=>{sb=!1});var za={};G(za,{CSSResult:()=>Sr,LitElement:()=>mt,ReactiveElement:()=>et,_$LE:()=>xm,_$LH:()=>Ua,adoptStyles:()=>mo,css:()=>L,defaultConverter:()=>Cr,getCompatibleStyle:()=>an,html:()=>M,isServer:()=>sb,mathml:()=>Fa,noChange:()=>Ee,notEqual:()=>go,nothing:()=>H,render:()=>Wa,supportsAdoptingStyleSheets:()=>ho,svg:()=>Ba,unsafeCSS:()=>Qt});var z=h(()=>{bo();Ke();Qc();Xc()});var ja,Jc=h(()=>{ja=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function w(t){return(e,r)=>typeof r=="object"?ed(t,e,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}var vm,ed,Va=h(()=>{bo();vm={attribute:!0,type:String,converter:Cr,reflect:!1,hasChanged:go},ed=(t=vm,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)}});function ce(t){return w({...t,state:!0,attribute:!1})}var td=h(()=>{Va();});function Er(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var rd=h(()=>{});var Ze,wr=h(()=>{Ze=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function be(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ze(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ze(r,n,{get(){return i(this)}})}}var od=h(()=>{wr();});function Cm(t){return(e,r)=>Ze(e,r,{get(){return(this.renderRoot??(Sm??=document.createDocumentFragment())).querySelectorAll(t)}})}var Sm,nd=h(()=>{wr();});function Om(t){return(e,r)=>Ze(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var ad=h(()=>{wr();});function Em(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ze(e,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(t)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}var id=h(()=>{wr();});function Ga(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ze(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var sd=h(()=>{wr();});var Ka={};G(Ka,{customElement:()=>ja,eventOptions:()=>Er,property:()=>w,query:()=>be,queryAll:()=>Cm,queryAssignedElements:()=>Em,queryAssignedNodes:()=>Ga,queryAsync:()=>Om,standardProperty:()=>ed,state:()=>ce});var ne=h(()=>{Jc();Va();td();rd();od();nd();ad();id();sd()});var Tt,Pt,tt,Oo=h(()=>{Tt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Pt=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var wm,ld,Ar,Lt,Am,cd,dd,mn,ud=h(()=>{Ke();({I:wm}=Ua),ld=()=>document.createComment(""),Ar=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(ld(),a),s=n.insertBefore(ld(),a);r=new wm(i,s,t,t.options)}else{let i=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(i!==a||l){let d=r._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return r},Lt=(t,e,r=t)=>(t._$AI(e,r),t),Am={},cd=(t,e=Am)=>t._$AH=e,dd=t=>t._$AH,mn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}}});var pd,Eo,fd=h(()=>{Ke();Oo();ud();pd=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},Eo=Pt(class extends tt{constructor(t){if(super(t),t.type!==Tt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let l of t)a[s]=n?n(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let a=dd(t),{values:i,keys:s}=this.dt(e,r,n);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],p,m,f=0,g=a.length-1,v=0,x=i.length-1;for(;f<=g&&v<=x;)if(a[f]===null)f++;else if(a[g]===null)g--;else if(l[f]===s[v])d[v]=Lt(a[f],i[v]),f++,v++;else if(l[g]===s[x])d[x]=Lt(a[g],i[x]),g--,x--;else if(l[f]===s[x])d[x]=Lt(a[f],i[x]),Ar(t,d[x+1],a[f]),f++,x--;else if(l[g]===s[v])d[v]=Lt(a[g],i[v]),Ar(t,a[f],a[g]),g--,v++;else if(p===void 0&&(p=pd(s,v,x),m=pd(l,f,g)),p.has(l[f]))if(p.has(l[g])){let E=m.get(s[v]),T=E!==void 0?a[E]:null;if(T===null){let _=Ar(t,a[f]);Lt(_,i[v]),d[v]=_}else d[v]=Lt(T,i[v]),Ar(t,a[f],T),a[E]=null;v++}else mn(a[g]),g--;else mn(a[f]),f++;for(;v<=x;){let E=Ar(t,d[x+1]);Lt(E,i[v]),d[v++]=E}for(;f<=g;){let E=a[f++];E!==null&&mn(E)}return this.ut=s,cd(t,d),Ee}})});var Za={};G(Za,{repeat:()=>Eo});var yn=h(()=>{fd()});var rt,hd=h(()=>{Ke();Oo();rt=Pt(class extends tt{constructor(t){if(super(t),t.type!==Tt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let a=!!e[n];a===this.st.has(n)||this.nt?.has(n)||(a?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return Ee}})});var qa={};G(qa,{classMap:()=>rt});var Rr=h(()=>{hd()});var md,Rm,Nm,yd=h(()=>{Ke();Oo();md="important",Rm=" !"+md,Nm=Pt(class extends tt{constructor(t){if(super(t),t.type!==Tt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(Rm);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?md:""):r[n]=a}}return Ee}})});var Ya={};G(Ya,{styleMap:()=>Nm});var gd=h(()=>{yd()});var Nr,or,bd=h(()=>{Ke();Oo();Nr=class extends tt{constructor(e){if(super(e),this.it=H,e.type!==Tt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===H||e==null)return this._t=void 0,this.it=e;if(e===Ee)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:[]}}};Nr.directiveName="unsafeHTML",Nr.resultType=1;or=Pt(Nr)});var Qa={};G(Qa,{UnsafeHTMLDirective:()=>Nr,unsafeHTML:()=>or});var wo=h(()=>{bd()});var Xa={};G(Xa,{CancelablePromise:()=>_r,CanceledPromiseError:()=>ot,cancelable:()=>Tr});var ot,_r,Tr,gn=h(()=>{"use strict";ot=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},_r=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new ot("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new ot("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Tr=t=>new _r((e,r)=>t.then(e).catch(r))});var ri={};G(ri,{FtNotificationEvent:()=>Ja,PostResizeEvent:()=>ti,PreResizeEvent:()=>ei,WithEventBus:()=>nr,withEventBus:()=>xd});function xd(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Ja,ei,ti,nr,Ao=h(()=>{"use strict";Ja=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ei=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ti=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};nr=class extends xd(Object){}});var oi={};G(oi,{CacheRegistry:()=>nt,ClearCacheEvent:()=>Ro});var Ro,nt,ni=h(()=>{"use strict";gn();Ao();Ro=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},nt=class extends nr{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new Ro(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new Ro([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof _r&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=Tr(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});var ii={};G(ii,{ClusteringHelper:()=>ai});var ai,si=h(()=>{"use strict";ai=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var r,n,a,i,s;let l=((i=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(a=e.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(l=>{i.push(l.join(" > ")),r&&r>1&&l.length>=r?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",a,i){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),p=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,g,v)=>v.findIndex(x=>x.value===f.value)===g).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,g)=>this.compareMetadata(f.metadata.value,g.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>l&&(l=p,s=d,p===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}}});var li={};G(li,{Debouncer:()=>ve});var ve,bn=h(()=>{"use strict";ve=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var di={};G(di,{dateReviver:()=>Tm,deepCopy:()=>km,deepEqual:()=>qe,delay:()=>xn,eventPathContainsMatchingElement:()=>Lm,flatDeep:()=>Sd,getComposedPathTo:()=>ci,hasChanged:()=>It,last:()=>Im,minmax:()=>ar,parseDate:()=>Cd,unslotText:()=>vn,waitFor:()=>vd,waitUntil:()=>_m});async function _m(t,e=10,r=2e4){await vd(async()=>await t()||void 0,e,r)}async function vd(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await xn(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Sd(t,e){return t.flatMap(r=>[r,...Sd(e(r),e)])}function Tm(...t){return function(e,r){return t.includes(e)?Cd(r):r}}function Cd(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,a)=>r+n+":"+a),new Date(t)}function Pm(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!qe(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!qe(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!qe(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function qe(t,e){try{return Pm(t,e)}catch{return!1}}function It(t,e){return!qe(t,e)}function Lm(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function ar(t,e,r){return Math.min(Math.max(t,e),r)}function Im(t){return t[t.length-1]}function vn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>vn(e)).join(""):t?.textContent||""}function ci(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function km(t){return window.structuredClone?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}var xn,kt=h(()=>{"use strict";xn=t=>new Promise(e=>setTimeout(e,t))});var ui={};G(ui,{customElement:()=>V,isNumber:()=>Od,jsonProperty:()=>we,optionalNumberProperty:()=>Dm});function we(t,e){let r=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:It,...e??{}})}function Dm(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Od(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Od(t){return!isNaN(parseFloat(t))}var V,Sn=h(()=>{"use strict";ne();kt();V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function O(t,e){return yt(`${t.name}: ${e}`)}var yt,o,q=h(()=>{z();yt=t=>typeof t=="string"?Qt(t):t,o=class{static create(e,r,n,a){let i=l=>yt(l??a),s=L`var(${yt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>L`var(${yt(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=l=>n.get(l??a),s=L`var(${yt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>L`var(${yt(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):yt(i??e.lastResortDefaultValue()),a=L`var(${yt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>L`var(${yt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var c,pi,fi,hi,mi,yi,gi,bi,xi,vi,Ed,Si,Ci,Oi,Ei,wi,Ai,Ri,Ni,_i,Ti,Pi,Li,Ii,ki,Di,Mi,No,Mm,Q=h(()=>{q();c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-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)")},pi={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},fi={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},hi={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},mi={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},yi={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},gi={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},bi={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},xi={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},vi={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ed={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Si={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ci={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Oi={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ei={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},wi={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ai={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ri={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_i={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ti={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ii={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ki={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Di={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Mi={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},No={display:pi,"title-1":fi,"title-2":hi,"title-3":mi,"body-1-regular":yi,"body-1-medium":gi,"body-1-semibold":bi,"body-2-regular":xi,"body-2-medium":vi,"body-2-medium-underline":Ed,"body-2-semibold":Si,"label-1-medium":Ci,"label-1-semibold":Oi,"label-1-bold":Ei,"label-2-medium":wi,"label-2-semibold":Ai,"label-2-bold":Ri,"caption-1-medium":Ni,"caption-1-semibold":_i,"caption-1-bold":Ti,"caption-2-medium":Pi,"caption-2-semibold":Li,"caption-2-bold":Ii,"caption-3-medium":ki,"caption-3-semibold":Di,"caption-3-bold":Mi},Mm=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var u,te=h(()=>{q();Q();u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var b,wd=h(()=>{q();Q();te();b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)}});var $m,Ad=h(()=>{q();Q();te();$m={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)}});var Bm,Rd=h(()=>{q();Q();te();Bm={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)}});var Fm,Nd=h(()=>{q();Q();te();Fm={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var Um,_d=h(()=>{q();Q();te();Um={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)}});var Wm,Td=h(()=>{q();Q();te();Wm={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var Hm,Pd=h(()=>{q();Q();te();Hm={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)}});var zm,Ld=h(()=>{q();Q();te();zm={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)}});var jm,Id=h(()=>{q();Q();te();jm={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var Vm,kd=h(()=>{q();Q();te();Vm={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var Gm,Dd=h(()=>{q();Q();te();Gm={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var Km,Md=h(()=>{q();Q();Km={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var Zm,$d=h(()=>{q();Q();te();Zm={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var qm,Bd=h(()=>{q();Q();te();qm={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var Ym,Fd=h(()=>{q();Q();te();Ym={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var Qm,Ud=h(()=>{q();Q();te();Qm={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var Xm,Wd=h(()=>{q();Q();te();Xm={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)}});var Jm,Hd=h(()=>{q();Q();te();Jm={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var ey,zd=h(()=>{q();Q();te();ey={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var ty,jd=h(()=>{q();Q();te();ty={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)}});var ry,Vd=h(()=>{q();Q();te();ry={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")}});var oy,Gd=h(()=>{q();Q();te();oy={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var ny,Kd=h(()=>{q();Q();te();ny={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var ay,Zd=h(()=>{q();Q();ay={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var iy,qd=h(()=>{q();Q();iy={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var sy,Yd=h(()=>{q();Q();te();sy={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var ly,Qd=h(()=>{q();Q();te();ly={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)}});var cy,Xd=h(()=>{q();Q();te();cy={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)}});var dy,Jd=h(()=>{q();Q();te();dy={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)}});var uy,eu=h(()=>{q();Q();te();uy={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)}});var py,tu=h(()=>{q();Q();te();py={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)}});var ru=h(()=>{Q();te();wd();Ad();Rd();Nd();_d();Td();Pd();Ld();Id();kd();Dd();Md();$d();Bd();Fd();Ud();Wd();Hd();zd();jd();Vd();Gd();Kd();Zd();qd();Yd();Qd();Xd();Jd();eu();tu()});function $i(t){return`ftds--family-${t}`}function Bi(t){return`ftds--size-${t}`}var ir,gt,ou=h(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ir||(ir={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(gt||(gt={}))});var K=h(()=>{q();ru();ou()});var Fi={};G(Fi,{DesignSystemFamily:()=>ir,DesignSystemSize:()=>gt,FtCssVariableFactory:()=>o,badge:()=>zm,banner:()=>Hm,button:()=>b,chart:()=>ay,checkbox:()=>$m,chip:()=>Um,chipChoice:()=>Fm,collapsible:()=>oy,comboboxMultiSelect:()=>ty,comboboxSingleSelect:()=>ey,drawer:()=>qm,floatingMenu:()=>Jm,foundation:()=>c,link:()=>Wm,modal:()=>Zm,notice:()=>sy,notification:()=>dy,pageDesigner:()=>iy,pageFooter:()=>Gm,pageHeader:()=>Vm,pageLayout:()=>Km,popover:()=>ry,radio:()=>cy,reorderableList:()=>py,resolveFamilyClass:()=>$i,resolveSizeClass:()=>Bi,semantic:()=>u,setVariable:()=>O,switch_:()=>ny,table:()=>Bm,tabs:()=>Ym,textArea:()=>Xm,textInput:()=>Qm,titleBreadcrumb:()=>jm,toggle:()=>ly,tooltip:()=>uy,typographies:()=>No,typographyBody1Medium:()=>gi,typographyBody1Regular:()=>yi,typographyBody1Semibold:()=>bi,typographyBody2Medium:()=>vi,typographyBody2MediumUnderline:()=>Ed,typographyBody2Regular:()=>xi,typographyBody2Semibold:()=>Si,typographyCaption1Bold:()=>Ti,typographyCaption1Medium:()=>Ni,typographyCaption1Semibold:()=>_i,typographyCaption2Bold:()=>Ii,typographyCaption2Medium:()=>Pi,typographyCaption2Semibold:()=>Li,typographyCaption3Bold:()=>Mi,typographyCaption3Medium:()=>ki,typographyCaption3Semibold:()=>Di,typographyDisplay:()=>pi,typographyLabel1Bold:()=>Ei,typographyLabel1Medium:()=>Ci,typographyLabel1Semibold:()=>Oi,typographyLabel2Bold:()=>Ri,typographyLabel2Medium:()=>wi,typographyLabel2Semibold:()=>Ai,typographyTitle1:()=>fi,typographyTitle2:()=>hi,typographyTitle3:()=>mi,typographyVariants:()=>Mm});var Cn=h(()=>{"use strict";K()});var Ui={};G(Ui,{designSystemVariables:()=>D});var D,Wi=h(()=>{"use strict";Cn();D={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});function ji(t,e,r){return Dt(t,On(e,r))}function Pr(t,e){return typeof t=="function"?t(e):t}function Mt(t){return t.split("-")[0]}function at(t){return t.split("-")[1]}function Vi(t){return t==="x"?"y":"x"}function Gi(t){return t==="y"?"height":"width"}function Lr(t){return["top","bottom"].includes(Mt(t))?"y":"x"}function Ki(t){return Vi(Lr(t))}function iu(t,e,r){r===void 0&&(r=!1);let n=at(t),a=Ki(t),i=Gi(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Hi(s)),[s,Hi(s)]}function su(t){return t.replace(/start|end/g,e=>hy[e])}function Hi(t){return t.replace(/left|right|bottom|top/g,e=>fy[e])}function my(t){return{top:0,right:0,bottom:0,left:0,...t}}function lu(t){return typeof t!="number"?my(t):{top:t,right:t,bottom:t,left:t}}function sr(t){let{x:e,y:r,width:n,height:a}=t;return{width:n,height:a,top:r,left:e,right:e+n,bottom:r+a,x:e,y:r}}var au,nu,zi,On,Dt,fy,hy,Zi=h(()=>{au=["top","right","bottom","left"],nu=["start","end"],zi=au.reduce((t,e)=>t.concat(e,e+"-"+nu[0],e+"-"+nu[1]),[]),On=Math.min,Dt=Math.max,fy={left:"right",right:"left",bottom:"top",top:"bottom"},hy={start:"end",end:"start"}});function cu(t,e,r){let{reference:n,floating:a}=t,i=Lr(e),s=Ki(e),l=Gi(s),d=Mt(e),p=i==="y",m=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,v;switch(d){case"top":v={x:m,y:n.y-a.height};break;case"bottom":v={x:m,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:f};break;case"left":v={x:n.x-a.width,y:f};break;default:v={x:n.x,y:n.y}}switch(at(e)){case"start":v[s]-=g*(r&&p?-1:1);break;case"end":v[s]+=g*(r&&p?-1:1);break}return v}async function En(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:f="floating",altBoundary:g=!1,padding:v=0}=Pr(e,t),x=lu(v),T=l[g?f==="floating"?"reference":"floating":f],_=sr(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(T)))==null||r?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:m,strategy:d})),I=f==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(A))?await(i.getScale==null?void 0:i.getScale(A))||{x:1,y:1}:{x:1,y:1},R=sr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:I,offsetParent:A,strategy:d}):I);return{top:(_.top-R.top+x.top)/S.y,bottom:(R.bottom-_.bottom+x.bottom)/S.y,left:(_.left-R.left+x.left)/S.x,right:(R.right-_.right+x.right)/S.x}}function yy(t,e,r){return(t?[...r.filter(a=>at(a)===t),...r.filter(a=>at(a)!==t)]:r.filter(a=>Mt(a)===a)).filter(a=>t?at(a)===t||(e?su(a)!==a:!1):!0)}async function gy(t,e){let{placement:r,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=Mt(r),l=at(r),d=Lr(r)==="y",p=["left","top"].includes(s)?-1:1,m=i&&d?-1:1,f=Pr(e,t),{mainAxis:g,crossAxis:v,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof x=="number"&&(v=l==="end"?x*-1:x),d?{x:v*m,y:g*p}:{x:g*p,y:v*m}}var du,wn,qi,Yi,Qi,Xi=h(()=>{Zi();Zi();du=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:m,y:f}=cu(p,n,d),g=n,v={},x=0;for(let E=0;E<l.length;E++){let{name:T,fn:_}=l[E],{x:I,y:A,data:S,reset:R}=await _({x:m,y:f,initialPlacement:n,placement:g,strategy:a,middlewareData:v,rects:p,platform:s,elements:{reference:t,floating:e}});m=I??m,f=A??f,v={...v,[T]:{...v[T],...S}},R&&x<=50&&(x++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(p=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):R.rects),{x:m,y:f}=cu(p,g,d)),E=-1)}return{x:m,y:f,placement:g,strategy:a,middlewareData:v}};wn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:m=!1,alignment:f,allowedPlacements:g=zi,autoAlignment:v=!0,...x}=Pr(t,e),E=f!==void 0||g===zi?yy(f||null,v,g):g,T=await En(e,x),_=((r=s.autoPlacement)==null?void 0:r.index)||0,I=E[_];if(I==null)return{};let A=iu(I,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==I)return{reset:{placement:E[0]}};let S=[T[Mt(I)],T[A[0]],T[A[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:I,overflows:S}],B=E[_+1];if(B)return{data:{index:_+1,overflows:R},reset:{placement:B}};let j=R.map(F=>{let y=at(F.placement);return[F.placement,y&&m?F.overflows.slice(0,2).reduce((C,$)=>C+$,0):F.overflows[0],F.overflows]}).sort((F,y)=>F[1]-y[1]),Z=((a=j.filter(F=>F[2].slice(0,at(F[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||j[0][0];return Z!==l?{data:{index:_+1,overflows:R},reset:{placement:Z}}:{}}}};qi=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:a,y:i,placement:s,middlewareData:l}=e,d=await gy(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Yi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:T=>{let{x:_,y:I}=T;return{x:_,y:I}}},...d}=Pr(t,e),p={x:r,y:n},m=await En(e,d),f=Lr(Mt(a)),g=Vi(f),v=p[g],x=p[f];if(i){let T=g==="y"?"top":"left",_=g==="y"?"bottom":"right",I=v+m[T],A=v-m[_];v=ji(I,v,A)}if(s){let T=f==="y"?"top":"left",_=f==="y"?"bottom":"right",I=x+m[T],A=x-m[_];x=ji(I,x,A)}let E=l.fn({...e,[g]:v,[f]:x});return{...E,data:{x:E.x-r,y:E.y-n,enabled:{[g]:i,[f]:s}}}}}},Qi=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;let{placement:a,rects:i,platform:s,elements:l}=e,{apply:d=()=>{},...p}=Pr(t,e),m=await En(e,p),f=Mt(a),g=at(a),v=Lr(a)==="y",{width:x,height:E}=i.floating,T,_;f==="top"||f==="bottom"?(T=f,_=g===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(_=f,T=g==="end"?"top":"bottom");let I=E-m.top-m.bottom,A=x-m.left-m.right,S=On(E-m[T],I),R=On(x-m[_],A),B=!e.middlewareData.shift,j=S,X=R;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(X=A),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(j=I),B&&!g){let F=Dt(m.left,0),y=Dt(m.right,0),C=Dt(m.top,0),$=Dt(m.bottom,0);v?X=x-2*(F!==0||y!==0?F+y:Dt(m.left,m.right)):j=E-2*(C!==0||$!==0?C+$:Dt(m.top,m.bottom))}await d({...e,availableWidth:X,availableHeight:j});let Z=await s.getDimensions(l.floating);return x!==Z.width||E!==Z.height?{reset:{rects:!0}}:{}}}}});var Ji,Ir,_o,bt,uu=h(()=>{Ji=Math.min,Ir=Math.max,_o=Math.round,bt=t=>({x:t,y:t})});function xt(t){return fu(t)?(t.nodeName||"").toLowerCase():"#document"}function Le(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function vt(t){var e;return(e=(fu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function fu(t){return t instanceof Node||t instanceof Le(t).Node}function it(t){return t instanceof Element||t instanceof Le(t).Element}function Ye(t){return t instanceof HTMLElement||t instanceof Le(t).HTMLElement}function pu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Le(t).ShadowRoot}function kr(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=Be(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function hu(t){return["table","td","th"].includes(xt(t))}function Rn(t){let e=Nn(),r=Be(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function mu(t){let e=lr(t);for(;Ye(e)&&!To(e);){if(Rn(e))return e;e=lr(e)}return null}function Nn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function To(t){return["html","body","#document"].includes(xt(t))}function Be(t){return Le(t).getComputedStyle(t)}function Po(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lr(t){if(xt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||pu(t)&&t.host||vt(t);return pu(e)?e.host:e}function yu(t){let e=lr(t);return To(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ye(e)&&kr(e)?e:yu(e)}function An(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=yu(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Le(a);return i?e.concat(s,s.visualViewport||[],kr(a)?a:[],s.frameElement&&r?An(s.frameElement):[]):e.concat(a,An(a,[],r))}var gu=h(()=>{});function vu(t){let e=Be(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Ye(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,l=_o(r)!==i||_o(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function Su(t){return it(t)?t:t.contextElement}function Dr(t){let e=Su(t);if(!Ye(e))return bt(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=vu(e),s=(i?_o(r.width):r.width)/n,l=(i?_o(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Cu(t){let e=Le(t);return!Nn()||!e.visualViewport?by:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function xy(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Le(t)?!1:e}function Lo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=Su(t),s=bt(1);e&&(n?it(n)&&(s=Dr(n)):s=Dr(t));let l=xy(i,r,n)?Cu(i):bt(0),d=(a.left+l.x)/s.x,p=(a.top+l.y)/s.y,m=a.width/s.x,f=a.height/s.y;if(i){let g=Le(i),v=n&&it(n)?Le(n):n,x=g.frameElement;for(;x&&n&&v!==g;){let E=Dr(x),T=x.getBoundingClientRect(),_=Be(x),I=T.left+(x.clientLeft+parseFloat(_.paddingLeft))*E.x,A=T.top+(x.clientTop+parseFloat(_.paddingTop))*E.y;d*=E.x,p*=E.y,m*=E.x,f*=E.y,d+=I,p+=A,x=Le(x).frameElement}}return sr({width:m,height:f,x:d,y:p})}function vy(t){let{rect:e,offsetParent:r,strategy:n}=t,a=Ye(r),i=vt(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},l=bt(1),d=bt(0);if((a||!a&&n!=="fixed")&&((xt(r)!=="body"||kr(i))&&(s=Po(r)),Ye(r))){let p=Lo(r);l=Dr(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Sy(t){return Array.from(t.getClientRects())}function Ou(t){return Lo(vt(t)).left+Po(t).scrollLeft}function Cy(t){let e=vt(t),r=Po(t),n=t.ownerDocument.body,a=Ir(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Ir(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Ou(t),l=-r.scrollTop;return Be(n).direction==="rtl"&&(s+=Ir(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function Oy(t,e){let r=Le(t),n=vt(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let p=Nn();(!p||p&&e==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function Ey(t,e){let r=Lo(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=Ye(t)?Dr(t):bt(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,d=a*i.x,p=n*i.y;return{width:s,height:l,x:d,y:p}}function bu(t,e,r){let n;if(e==="viewport")n=Oy(t,r);else if(e==="document")n=Cy(vt(t));else if(it(e))n=Ey(e,r);else{let a=Cu(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return sr(n)}function Eu(t,e){let r=lr(t);return r===e||!it(r)||To(r)?!1:Be(r).position==="fixed"||Eu(r,e)}function wy(t,e){let r=e.get(t);if(r)return r;let n=An(t,[],!1).filter(l=>it(l)&&xt(l)!=="body"),a=null,i=Be(t).position==="fixed",s=i?lr(t):t;for(;it(s)&&!To(s);){let l=Be(s),d=Rn(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||kr(s)&&!d&&Eu(t,s))?n=n.filter(m=>m!==s):a=l,s=lr(s)}return e.set(t,n),n}function Ay(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,s=[...r==="clippingAncestors"?wy(e,this._c):[].concat(r),n],l=s[0],d=s.reduce((p,m)=>{let f=bu(e,m,a);return p.top=Ir(f.top,p.top),p.right=Ji(f.right,p.right),p.bottom=Ji(f.bottom,p.bottom),p.left=Ir(f.left,p.left),p},bu(e,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Ry(t){return vu(t)}function Ny(t,e,r){let n=Ye(e),a=vt(e),i=r==="fixed",s=Lo(t,!0,i,e),l={scrollLeft:0,scrollTop:0},d=bt(0);if(n||!n&&!i)if((xt(e)!=="body"||kr(a))&&(l=Po(e)),n){let p=Lo(e,!0,i,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else a&&(d.x=Ou(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function xu(t,e){return!Ye(t)||Be(t).position==="fixed"?null:e?e(t):t.offsetParent}function wu(t,e){let r=Le(t);if(!Ye(t))return r;let n=xu(t,e);for(;n&&hu(n)&&Be(n).position==="static";)n=xu(n,e);return n&&(xt(n)==="html"||xt(n)==="body"&&Be(n).position==="static"&&!Rn(n))?r:n||mu(t)||r}function Ty(t){return Be(t).direction==="rtl"}var by,_y,Mr,es,Au=h(()=>{Xi();Xi();uu();gu();by=bt(0);_y=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||wu,i=this.getDimensions;return{reference:Ny(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};Mr={convertOffsetParentRelativeRectToViewportRelativeRect:vy,getDocumentElement:vt,getClippingRect:Ay,getOffsetParent:wu,getElementRects:_y,getClientRects:Sy,getDimensions:Ry,getScale:Dr,isElement:it,isRTL:Ty},es=(t,e,r)=>{let n=new Map,a={platform:Mr,...r},i={...a.platform,_c:n};return du(t,e,{...a,platform:i})}});function rs(t){return Py(t)}function ts(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Py(t){for(let e=t;e;e=ts(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ts(t);e;e=ts(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var Ru=h(()=>{});var ns={};G(ns,{computeOffsetAutoPosition:()=>Ly,computeOffsetPosition:()=>os});async function os(t,e,r){return es(t,e,{platform:{...Mr,getOffsetParent:n=>Mr.getOffsetParent(n,rs)},middleware:[Yi({crossAxis:!0}),wn({allowedPlacements:[r]})]})}async function Ly(t,e,r,n,a,i,s=4){return es(t,e,{placement:r,strategy:a,platform:{...Mr,getOffsetParent:l=>Mr.getOffsetParent(l,rs)},middleware:[qi(s),wn({allowedPlacements:n}),Qi({apply({availableHeight:l,elements:d}){i?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${i}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var _n=h(()=>{"use strict";Au();Ru()});var as={};G(as,{ScopedRegistryLitElement:()=>Io});var Io,Tn=h(()=>{"use strict";z();sn();Io=class extends mt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return mo(n,e.elementStyles),n}}});var is={};G(is,{FtLitElement:()=>J});var ko,Pu,Nu,_u,Lu,Tu,J,Do=h(()=>{"use strict";ne();Sn();bn();Tn();ko=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Nu=Symbol("constructorPrototype"),_u=Symbol("constructorName"),Lu=Symbol("exportpartsDebouncer"),Tu=Symbol("dynamicDependenciesLoaded"),J=class extends Io{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Pu]=new ve(5),this[_u]=this.constructor.name,this[Nu]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[_u]&&Object.setPrototypeOf(this,this[Nu])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Tu]||(e[Tu]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,isKeyboardNavigation:a}=this.elementToFocus;n!=null&&(r=this.shadowRoot.querySelector(n)),r?.focus(),a||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Lu].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,s,l;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...v,...x).filter(d).map(E=>E.trim()).forEach(E=>m.add(E))}if(m.size===0){this.removeAttribute("exportparts");return}let f=[...m.values()].flatMap(g=>p.map(v=>`${g}:${v}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Pu=Lu;ko([w()],J.prototype,"exportpartsPrefix",void 0);ko([we([])],J.prototype,"exportpartsPrefixes",void 0);ko([w()],J.prototype,"customStylesheet",void 0);ko([w()],J.prototype,"elementToFocus",void 0);ko([ce()],J.prototype,"useAdoptedStyleSheets",void 0)});var ls={};G(ls,{FtdsBase:()=>ss,toFtdsBase:()=>Pn});function Pn(t){class e extends t{constructor(){super(...arguments),this.size=gt.medium,this.family=ir.neutral}getDesignSystemBaseClasses(){return{[$i(this.family)]:!0,[Bi(this.size)]:!0}}}return Iu([w()],e.prototype,"size",void 0),Iu([w()],e.prototype,"family",void 0),e}var Iu,ss,cs=h(()=>{"use strict";Do();ne();K();Iu=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};ss=class extends Pn(J){}});var ku={};var ds=h(()=>{"use strict"});var cr,Du=h(()=>{cr=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,m=>{r(p)&&(l++,n(m)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let s=this.createIterator(r,e,a),l=[],d=[],p,m,f=()=>({prevNode:m,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(p,m,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,v=>d.push(v),a)}),d.push(p);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}}});var Mo,Mu=h(()=>{Du();Mo=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 cr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),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${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){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(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,r,n){let a,i=!0,s=n.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return cr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(n-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let p=r-s.start,m=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),g=e.value.substr(m+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,m),e.value=f+g,e.nodes.forEach((v,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=m),e.nodes[x].end-=m)}),n-=m,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let m=p.index;if(s!==0)for(let f=1;f<s;f++)m+=p[f].length;d=this.wrapRangeInTextNode(d,m,m+p[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let m=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,m,f=>n(d[s],f),(f,g)=>{e.lastIndex=g,a(f)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((l,d)=>{let{start:p,end:m,valid:f}=this.checkWhitespaceRanges(l,s,i.value);f&&this.wrapRangeInMappedTextNode(i,p,m,g=>r(g,l,i.value.substring(p,m),d),g=>{n(g,l)})}),a()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let m=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${m}"`),this[a](m,1,(g,v)=>this.opt.filter(v,p,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(p),i[s-1]===p?this.opt.done(n):d(i[i.indexOf(p)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(e,r){this.opt=r;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=cr.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function us(t){let e=new Mo(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var $u=h(()=>{Mu()});var fs={};G(fs,{highlightHtml:()=>ps,highlightHtmlColorCssVariable:()=>Bu,highlightHtmlStyles:()=>ky});function ps(t,e,r){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new Iy(t);if(s.unmark(),e&&e.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(l.each=p=>{for(let m in r.attributes)p.setAttribute(m,r.attributes[m])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Iy,Bu,ky,hs=h(()=>{"use strict";z();K();$u();Iy=us,Bu=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ky=L`
5
5
  .highlight-html-match {
6
6
  background: ${Bu};
7
7
  }
8
- `});var hs={};G(hs,{noTextInputDefaultClearButton:()=>fs,noTextSelect:()=>dr,safariEllipsisFix:()=>Mo,wordWrap:()=>ps});var dr,ps,Mo,fs,ms=h(()=>{"use strict";z();dr=L`
8
+ `});var gs={};G(gs,{noTextInputDefaultClearButton:()=>ys,noTextSelect:()=>dr,safariEllipsisFix:()=>$o,wordWrap:()=>ms});var dr,ms,$o,ys,bs=h(()=>{"use strict";z();dr=L`
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:o.extend("--ft-conte
14
14
  -ms-user-select: none;
15
15
  user-select: none;
16
16
  }
17
- `,ps=L`
17
+ `,ms=L`
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:o.extend("--ft-conte
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,Mo=L`
29
+ `,$o=L`
30
30
  .ft-safari-ellipsis-fix {
31
31
  margin-right: 0;
32
32
 
@@ -37,15 +37,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
37
37
  display: inline-block;
38
38
  width: 0;
39
39
  }
40
- `,fs=L`
40
+ `,ys=L`
41
41
  input::-webkit-search-cancel-button,
42
42
  input::-webkit-search-decoration,
43
43
  input::-webkit-search-results-button,
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `});var Fu={};var ys=h(()=>{"use strict"});var gs={};G(gs,{ParametrizedLabelResolver:()=>$o});var $o,bs=h(()=>{"use strict";$o=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}}});var Ly,re,Iy,Uu=h(()=>{"use strict";It();ne();Ly=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},re=t=>{let e=t??{};return(r,n)=>{var a;let i={hasChanged:nr,attribute:!1,...e};w(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},Iy=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Bo,xs=h(()=>{"use strict";Bo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}}});function ur(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Pn=h(()=>{"use strict"});var Wu,Hu,zu,Fo,Mt,pr,Ie,ju=h(()=>{"use strict";ko();Pn();Fo=Symbol("internalReduxEventsUnsubscribers"),Mt=Symbol("internalStoresUnsubscribers"),pr=Symbol("internalStores"),Ie=class extends ee{constructor(){super(...arguments),this[Wu]=new Map,this[Hu]=new Map,this[zu]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[pr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[pr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[pr].get(e)}addStore(e,r){var n;r=(n=r??(ur(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[pr].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[pr].delete(r)}setupStores(){this.unsubscribeFromStores(),this[pr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[Mt].has(e.store):this[Mt].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[Mt].set(e,r.subscribe(()=>this.updateFromStores())),this[Fo].set(e,[]),ur(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=l=>this[i](l);r.addEventListener(a.eventName,s),this[Fo].get(e).push(()=>r.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Mt].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[Mt].has(e)&&this[Mt].get(e)(),this[Mt].delete(e),(r=this[Fo].get(e))===null||r===void 0||r.forEach(n=>n()),this[Fo].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Wu=Mt,Hu=pr,zu=Fo;Ie.reduxProperties=new Map;Ie.reduxReactiveProperties=new Set;Ie.reduxEventListeners=new Map});function ze(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function St(t){return!!t&&!!t[de]}function Qe(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Wy}(t)||Array.isArray(t)||!!t[Qu]||!!(!((e=t.constructor)===null||e===void 0)&&e[Qu])||Ns(t)||_s(t))}function fr(t,e,r){r===void 0&&(r=!1),Fr(t)===0?(r?Object.keys:Br)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Fr(t){var e=t[de];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ns(t)?2:_s(t)?3:0}function $r(t,e){return Fr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ky(t,e){return Fr(t)===2?t.get(e):t[e]}function Xu(t,e,r){var n=Fr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Ju(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ns(t){return Fy&&t instanceof Map}function _s(t){return Uy&&t instanceof Set}function $t(t){return t.o||t.t}function Ts(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=rp(t);delete e[de];for(var r=Br(e),n=0;n<r.length;n++){var a=r[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function Ps(t,e){return e===void 0&&(e=!1),Ls(t)||St(t)||!Qe(t)||(Fr(t)>1&&(t.set=t.add=t.clear=t.delete=Dy),Object.freeze(t),e&&fr(t,function(r,n){return Ps(n,!0)},!0)),t}function Dy(){ze(2)}function Ls(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function st(t){var e=Rs[t];return e||ze(18,t),e}function My(t,e){Rs[t]||(Rs[t]=e)}function Es(){return Wo}function vs(t,e){e&&(st("Patches"),t.u=[],t.s=[],t.v=e)}function Ln(t){ws(t),t.p.forEach($y),t.p=null}function ws(t){t===Wo&&(Wo=t.l)}function Vu(t){return Wo={p:[],l:Wo,h:t,m:!0,_:0}}function $y(t){var e=t[de];e.i===0||e.i===1?e.j():e.g=!0}function Ss(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||st("ES5").S(e,t,n),n?(r[de].P&&(Ln(e),ze(4)),Qe(t)&&(t=In(e,t),e.l||kn(e,t)),e.u&&st("Patches").M(r[de].t,t,e.u,e.s)):t=In(e,r,[]),Ln(e),e.u&&e.v(e.u,e.s),t!==tp?t:void 0}function In(t,e,r){if(Ls(e))return e;var n=e[de];if(!n)return fr(e,function(l,d){return Gu(t,n,e,l,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return kn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Ts(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),fr(i,function(l,d){return Gu(t,n,a,l,d,r,s)}),kn(t,a,!1),r&&t.u&&st("Patches").N(n,r,t.u,t.s)}return n.o}function Gu(t,e,r,n,a,i,s){if(St(a)){var l=In(t,a,i&&e&&e.i!==3&&!$r(e.R,n)?i.concat(n):void 0);if(Xu(r,n,l),!St(l))return;t.m=!1}else s&&r.add(a);if(Qe(a)&&!Ls(a)){if(!t.h.D&&t._<1)return;In(t,a),e&&e.A.l||kn(t,a)}}function kn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ps(e,r)}function Cs(t,e){var r=t[de];return(r?$t(r):t)[e]}function Ku(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Bt(t){t.P||(t.P=!0,t.l&&Bt(t.l))}function Os(t){t.o||(t.o=Ts(t.t))}function As(t,e,r){var n=Ns(e)?st("MapSet").F(e,r):_s(e)?st("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Es(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,p=Ho;s&&(d=[l],p=Uo);var m=Proxy.revocable(d,p),f=m.revoke,g=m.proxy;return l.k=g,l.j=f,g}(e,r):st("ES5").J(e,r);return(r?r.A:Es()).p.push(n),n}function By(t){return St(t)||ze(22,t),function e(r){if(!Qe(r))return r;var n,a=r[de],i=Fr(r);if(a){if(!a.P&&(a.i<4||!st("ES5").K(a)))return a.t;a.I=!0,n=Zu(r,i),a.I=!1}else n=Zu(r,i);return fr(n,function(s,l){a&&ky(a.t,s)===l||Xu(n,s,e(l))}),i===3?new Set(n):n}(t)}function Zu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ts(t)}function ep(){function t(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[de];return Ho.get(p,s)},set:function(p){var m=this[de];Ho.set(m,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][de];if(!d.P)switch(d.i){case 5:n(d)&&Bt(d);break;case 4:r(d)&&Bt(d)}}}function r(s){for(var l=s.t,d=s.k,p=Br(d),m=p.length-1;m>=0;m--){var f=p[m];if(f!==de){var g=l[f];if(g===void 0&&!$r(l,f))return!0;var v=d[f],x=v&&v[de];if(x?x.t!==g:!Ju(v,g))return!0}}var E=!!l[de];return p.length!==Br(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&ze(3,JSON.stringify($t(s)))}var i={};My("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(f,g){if(f){for(var v=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(v,""+x,t(x,!0));return v}var E=rp(g);delete E[de];for(var T=Br(E),_=0;_<T.length;_++){var I=T[_];E[I]=t(I,f||!!E[I].enumerable)}return Object.create(Object.getPrototypeOf(g),E)}(d,s),m={i:d?5:4,A:l?l.A:Es(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,de,{value:m,writable:!0}),p},S:function(s,l,d){d?St(l)&&l[de].A===s&&e(s.p):(s.u&&function p(m){if(m&&typeof m=="object"){var f=m[de];if(f){var g=f.t,v=f.k,x=f.R,E=f.i;if(E===4)fr(v,function(S){S!==de&&(g[S]!==void 0||$r(g,S)?x[S]||p(v[S]):(x[S]=!0,Bt(f)))}),fr(g,function(S){v[S]!==void 0||$r(v,S)||(x[S]=!1,Bt(f))});else if(E===5){if(n(f)&&(Bt(f),x.length=!0),v.length<g.length)for(var T=v.length;T<g.length;T++)x[T]=!1;else for(var _=g.length;_<v.length;_++)x[_]=!0;for(var I=Math.min(v.length,g.length),A=0;A<I;A++)v.hasOwnProperty(A)||(x[A]=!0),x[A]===void 0&&p(v[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var qu,Wo,Is,Fy,Uy,Yu,tp,Qu,de,Wy,Br,rp,Rs,Ho,Uo,Hy,Fe,zy,dC,uC,pC,fC,hC,mC,Dn,Mn=h(()=>{Is=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Fy=typeof Map<"u",Uy=typeof Set<"u",Yu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",tp=Is?Symbol.for("immer-nothing"):((qu={})["immer-nothing"]=!0,qu),Qu=Is?Symbol.for("immer-draftable"):"__$immer_draftable",de=Is?Symbol.for("immer-state"):"__$immer_state",Wy=""+Object.prototype.constructor,Br=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,rp=Object.getOwnPropertyDescriptors||function(t){var e={};return Br(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Rs={},Ho={get:function(t,e){if(e===de)return t;var r=$t(t);if(!$r(r,e))return function(a,i,s){var l,d=Ku(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!Qe(n)?n:n===Cs(t.t,e)?(Os(t),t.o[e]=As(t.A.h,n,t)):n},has:function(t,e){return e in $t(t)},ownKeys:function(t){return Reflect.ownKeys($t(t))},set:function(t,e,r){var n=Ku($t(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=Cs($t(t),e),i=a?.[de];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Ju(r,a)&&(r!==void 0||$r(t.t,e)))return!0;Os(t),Bt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Cs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Os(t),Bt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=$t(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){ze(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ze(12)}},Uo={};fr(Ho,function(t,e){Uo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Uo.deleteProperty=function(t,e){return Uo.set.call(this,t,e,void 0)},Uo.set=function(t,e,r){return Ho.set.call(this,t[0],e,r,t[0])};Hy=function(){function t(r){var n=this;this.O=Yu,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(E){var T=this;E===void 0&&(E=l);for(var _=arguments.length,I=Array(_>1?_-1:0),A=1;A<_;A++)I[A-1]=arguments[A];return d.produce(E,function(S){var R;return(R=i).call.apply(R,[T,S].concat(I))})}}var p;if(typeof i!="function"&&ze(6),s!==void 0&&typeof s!="function"&&ze(7),Qe(a)){var m=Vu(n),f=As(n,a,void 0),g=!0;try{p=i(f),g=!1}finally{g?Ln(m):ws(m)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(E){return vs(m,s),Ss(E,m)},function(E){throw Ln(m),E}):(vs(m,s),Ss(p,m))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===tp&&(p=void 0),n.D&&Ps(p,!0),s){var v=[],x=[];st("Patches").M(a,p,v,x),s(v,x)}return p}ze(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var m=arguments.length,f=Array(m>1?m-1:0),g=1;g<m;g++)f[g-1]=arguments[g];return n.produceWithPatches(p,function(v){return a.apply(void 0,[v].concat(f))})};var s,l,d=n.produce(a,i,function(p,m){s=p,l=m});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Qe(r)||ze(8),St(r)&&(r=By(r));var n=Vu(this),a=As(this,r,void 0);return a[de].C=!0,ws(n),a},e.finishDraft=function(r,n){var a=r&&r[de],i=a.A;return vs(i,n),Ss(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Yu&&ze(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=st("Patches").$;return St(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),Fe=new Hy,zy=Fe.produce,dC=Fe.produceWithPatches.bind(Fe),uC=Fe.setAutoFreeze.bind(Fe),pC=Fe.setUseProxies.bind(Fe),fC=Fe.applyPatches.bind(Fe),hC=Fe.createDraft.bind(Fe),mC=Fe.finishDraft.bind(Fe),Dn=zy});function hr(t){"@babel/helpers - typeof";return hr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hr(t)}var ks=h(()=>{});function op(t,e){if(hr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(hr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var np=h(()=>{ks()});function ap(t){var e=op(t,"string");return hr(e)=="symbol"?e:e+""}var ip=h(()=>{ks();np()});function sp(t,e,r){return(e=ap(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lp=h(()=>{ip()});function cp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Ds(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?cp(Object(r),!0).forEach(function(n){sp(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var dp=h(()=>{lp()});function Ae(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 jy(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function $s(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ae(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ae(1));return r($s)(t,e)}if(typeof t!="function")throw new Error(Ae(2));var a=t,i=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function m(){if(d)throw new Error(Ae(3));return i}function f(E){if(typeof E!="function")throw new Error(Ae(4));if(d)throw new Error(Ae(5));var T=!0;return p(),l.push(E),function(){if(T){if(d)throw new Error(Ae(6));T=!1,p();var I=l.indexOf(E);l.splice(I,1),s=null}}}function g(E){if(!jy(E))throw new Error(Ae(7));if(typeof E.type>"u")throw new Error(Ae(8));if(d)throw new Error(Ae(9));try{d=!0,i=a(i,E)}finally{d=!1}for(var T=s=l,_=0;_<T.length;_++){var I=T[_];I()}return E}function v(E){if(typeof E!="function")throw new Error(Ae(10));a=E,g({type:$n.REPLACE})}function x(){var E,T=f;return E={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Ae(11));function A(){I.next&&I.next(m())}A();var S=T(A);return{unsubscribe:S}}},E[up]=function(){return this},E}return g({type:$n.INIT}),n={dispatch:g,subscribe:f,getState:m,replaceReducer:v},n[up]=x,n}function Vy(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:$n.INIT});if(typeof n>"u")throw new Error(Ae(12));if(typeof r(void 0,{type:$n.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ae(13))})}function pp(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,l;try{Vy(r)}catch(d){l=d}return function(p,m){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var g=!1,v={},x=0;x<i.length;x++){var E=i[x],T=r[E],_=p[E],I=T(_,m);if(typeof I>"u"){var A=m&&m.type;throw new Error(Ae(14))}v[E]=I,g=g||I!==_}return g=g||i.length!==Object.keys(p).length,g?v:p}}function Ur(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function fp(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(Ae(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=Ur.apply(void 0,l)(a.dispatch),Ds(Ds({},a),{},{dispatch:i})}}}var up,Ms,$n,Bn=h(()=>{dp();up=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ms=function(){return Math.random().toString(36).substring(7).split("").join(".")},$n={INIT:"@@redux/INIT"+Ms(),REPLACE:"@@redux/REPLACE"+Ms(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ms()}}});function hp(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var mp,Bs,yp=h(()=>{mp=hp();mp.withExtraArgument=hp;Bs=mp});function eg(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function Hs(t){return Qe(t)?Dn(t,function(){}):t}function og(t){return typeof t=="boolean"}function ng(){return function(e){return ag(e)}}function ag(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new tg;if(r&&(og(r)?l.push(Bs):l.push(Bs.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var p}return l}function Cp(t){var e=ng(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?e():i,l=r.devTools,d=l===void 0?!0:l,p=r.preloadedState,m=p===void 0?void 0:p,f=r.enhancers,g=f===void 0?void 0:f,v;if(typeof a=="function")v=a;else if(eg(a))v=pp(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(e),!Us&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Us&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=fp.apply(void 0,x),T=Ur;d&&(T=Jy(Ft({trace:!Us},typeof d=="object"&&d)));var _=new rg(E),I=_;Array.isArray(g)?I=Wr([E],g):typeof g=="function"&&(I=g(_));var A=T.apply(void 0,I);return $s(v,m,A)}function Ut(t,e){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ft(Ft({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Op(t){var e={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,r,n]}function ig(t){return typeof t=="function"}function sg(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?Op(e):[e,r,n],i=a[0],s=a[1],l=a[2],d;if(ig(t))d=function(){return Hs(t())};else{var p=Hs(t);d=function(){return p}}function m(f,g){f===void 0&&(f=d());var v=Wr([i[g.type]],s.filter(function(x){var E=x.matcher;return E(g)}).map(function(x){var E=x.reducer;return E}));return v.filter(function(x){return!!x}).length===0&&(v=[l]),v.reduce(function(x,E){if(E)if(St(x)){var T=x,_=E(T,g);return _===void 0?x:_}else{if(Qe(x))return Dn(x,function(I){return E(I,g)});var _=E(x,g);if(_===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return x},f)}return m.getInitialState=d,m}function lg(t,e){return t+"/"+e}function Ep(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Hs(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var f=n[m],g=lg(e,m),v,x;"reducer"in f?(v=f.reducer,x=f.prepare):v=f,i[m]=v,s[g]=v,l[m]=x?Ut(g,x):Ut(g)});function d(){var m=typeof t.extraReducers=="function"?Op(t.extraReducers):[t.extraReducers],f=m[0],g=f===void 0?{}:f,v=m[1],x=v===void 0?[]:v,E=m[2],T=E===void 0?void 0:E,_=Ft(Ft({},g),s);return sg(r,function(I){for(var A in _)I.addCase(A,_[A]);for(var S=0,R=x;S<R.length;S++){var B=R[S];I.addMatcher(B.matcher,B.reducer)}T&&I.addDefaultCase(T)})}var p;return{name:e,reducer:function(m,f){return p||(p=d()),p(m,f)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}function fg(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function hg(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Sp,Gy,Wr,Ky,Zy,qy,gp,Yy,Qy,bp,Ft,Fs,Xy,Jy,IC,tg,rg,Us,cg,dg,ug,Ws,xp,pg,$C,wp,Ap,Rp,BC,FC,UC,WC,zs,HC,zC,jC,vp,VC,mg,GC,Np=h(()=>{Mn();Bn();Bn();Bn();yp();Mn();Mn();Sp=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Gy=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(m){return d([p,m])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,a=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){r.label=p[1];break}if(p[0]===6&&r.label<i[1]){r.label=i[1],i=p;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(p);break}i[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(m){p=[6,m],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Wr=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},Ky=Object.defineProperty,Zy=Object.defineProperties,qy=Object.getOwnPropertyDescriptors,gp=Object.getOwnPropertySymbols,Yy=Object.prototype.hasOwnProperty,Qy=Object.prototype.propertyIsEnumerable,bp=function(t,e,r){return e in t?Ky(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ft=function(t,e){for(var r in e||(e={}))Yy.call(e,r)&&bp(t,r,e[r]);if(gp)for(var n=0,a=gp(e);n<a.length;n++){var r=a[n];Qy.call(e,r)&&bp(t,r,e[r])}return t},Fs=function(t,e){return Zy(t,qy(e))},Xy=function(t,e,r){return new Promise(function(n,a){var i=function(d){try{l(r.next(d))}catch(p){a(p)}},s=function(d){try{l(r.throw(d))}catch(p){a(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(t,e)).next())})},Jy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ur:Ur.apply(null,arguments)},IC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};tg=function(t){Sp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Wr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Wr([void 0],r.concat(this))))},e}(Array),rg=function(t){Sp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Wr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Wr([void 0],r.concat(this))))},e}(Array);Us=!0;cg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dg=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=cg[Math.random()*64|0];return e},ug=["name","message","stack","code"],Ws=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),xp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),pg=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=ug;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},$C=function(){function t(e,r,n){var a=Ut(e+"/fulfilled",function(m,f,g,v){return{payload:m,meta:Fs(Ft({},v||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),i=Ut(e+"/pending",function(m,f,g){return{payload:void 0,meta:Fs(Ft({},g||{}),{arg:f,requestId:m,requestStatus:"pending"})}}),s=Ut(e+"/rejected",function(m,f,g,v,x){return{payload:v,error:(n&&n.serializeError||pg)(m||"Rejected"),meta:Fs(Ft({},x||{}),{arg:g,requestId:f,rejectedWithValue:!!v,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function p(m){return function(f,g,v){var x=n?.idGenerator?n.idGenerator(m):dg(),E=new d,T,_=!1;function I(S){T=S,E.abort()}var A=function(){return Xy(this,null,function(){var S,R,B,j,X,Z,F;return Gy(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),j=(S=n?.condition)==null?void 0:S.call(n,m,{getState:g,extra:v}),hg(j)?[4,j]:[3,2];case 1:j=y.sent(),y.label=2;case 2:if(j===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,X=new Promise(function(C,$){return E.signal.addEventListener("abort",function(){return $({name:"AbortError",message:T||"Aborted"})})}),f(i(x,m,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:x,arg:m},{getState:g,extra:v}))),[4,Promise.race([X,Promise.resolve(r(m,{dispatch:f,getState:g,extra:v,requestId:x,signal:E.signal,abort:I,rejectWithValue:function(C,$){return new Ws(C,$)},fulfillWithValue:function(C,$){return new xp(C,$)}})).then(function(C){if(C instanceof Ws)throw C;return C instanceof xp?a(C.payload,x,m,C.meta):a(C,x,m)})])];case 3:return B=y.sent(),[3,5];case 4:return Z=y.sent(),B=Z instanceof Ws?s(null,x,m,Z.payload,Z.meta):s(Z,x,m),[3,5];case 5:return F=n&&!n.dispatchConditionRejection&&s.match(B)&&B.meta.condition,F||f(B),[2,B]}})})}();return Object.assign(A,{abort:I,requestId:x,arg:m,unwrap:function(){return A.then(fg)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();wp="listener",Ap="completed",Rp="cancelled",BC="task-"+Rp,FC="task-"+Ap,UC=wp+"-"+Rp,WC=wp+"-"+Ap,zs="listenerMiddleware",HC=Ut(zs+"/add"),zC=Ut(zs+"/removeAll"),jC=Ut(zs+"/remove"),VC=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(vp||(vp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},mg=function(t){return function(e){setTimeout(e,t)}},GC=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:mg(10);ep()});function yg(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ur(e)&&e.clear()}var Ct,_p=h(()=>{"use strict";Np();Pn();xs();Ao();window.ftReduxStores||(window.ftReduxStores={});Ct=class t extends or{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(ur(i))return i;if(a==null)return;let s=Ep({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=Cp({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[a.name]=new t(s,l,a.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Bo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,p=i[d];return p?(...m)=>{let f=p(...m.map(a));return this.reduxStore.dispatch(f),f}:m=>{this.setState({[d]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});function Hr(t,e,r){return new Fn(t,e,r).watch()}var Fn,Tp=h(()=>{"use strict";It();Fn=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);nr(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 js={};G(js,{FtCommandQueue:()=>Bo,FtLitElementRedux:()=>Ie,FtReduxStore:()=>Ct,ReduxWatcher:()=>Fn,clearAllStores:()=>yg,isFtReduxStore:()=>ur,redux:()=>re,reduxEventListener:()=>Iy,reduxReactive:()=>Ly,watch:()=>Hr});var Un=h(()=>{"use strict";Uu();xs();ju();_p();Pn();Tp()});var Zs={};G(Zs,{scrollHelper:()=>Ks});var Vs,Wn,Gs,Ks,qs=h(()=>{"use strict";It();Wn=new Map,Gs=class{lock(e,r){if(r){let n=Wn.get(r);if(n==null||n===e)return Wn.set(r,e),r}}release(e,r){r&&Wn.get(r)===e&&Wn.delete(r)}findFirstScrollableParent(e){var r;let n,a;for(let i of ii(e)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&a==null&&(a=s)}return(r=n??a)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,l=ar(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Vs=window.FluidTopicsScrollHelper)!==null&&Vs!==void 0?Vs:new Gs;Ks=window.FluidTopicsScrollHelper});var Ys={};G(Ys,{shadowQuerySelector:()=>gg,shadowQuerySelectorAll:()=>bg});function gg(t,e,...r){var n;let a=t.querySelector(e);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function bg(t,e,...r){let n=[...t.querySelectorAll(e)];for(let a of r)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var Qs=h(()=>{"use strict"});var Lp=rm((Wt,Pp)=>{var Hn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,zn=function(){function t(){this.fetch=!1,this.DOMException=Hn.DOMException}return t.prototype=Hn,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var C={next:function(){var $=y.shift();return{done:$===void 0,value:$}}};return a.iterable&&(C[Symbol.iterator]=function(){return C}),C}function f(y){this.map={},y instanceof f?y.forEach(function(C,$){this.append($,C)},this):Array.isArray(y)?y.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(C){this.append(C,y[C])},this)}f.prototype.append=function(y,C){y=d(y),C=p(C);var $=this.map[y];this.map[y]=$?$+", "+C:C},f.prototype.delete=function(y){delete this.map[d(y)]},f.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},f.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},f.prototype.set=function(y,C){this.map[d(y)]=p(C)},f.prototype.forEach=function(y,C){for(var $ in this.map)this.map.hasOwnProperty($)&&y.call(C,this.map[$],$,this)},f.prototype.keys=function(){var y=[];return this.forEach(function(C,$){y.push($)}),m(y)},f.prototype.values=function(){var y=[];return this.forEach(function(C){y.push(C)}),m(y)},f.prototype.entries=function(){var y=[];return this.forEach(function(C,$){y.push([$,C])}),m(y)},a.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function v(y){return new Promise(function(C,$){y.onload=function(){C(y.result)},y.onerror=function(){$(y.error)}})}function x(y){var C=new FileReader,$=v(C);return C.readAsArrayBuffer(y),$}function E(y){var C=new FileReader,$=v(C),J=/charset=([A-Za-z0-9_-]+)/.exec(y.type),se=J?J[1]:"utf-8";return C.readAsText(y,se),$}function T(y){for(var C=new Uint8Array(y),$=new Array(C.length),J=0;J<C.length;J++)$[J]=String.fromCharCode(C[J]);return $.join("")}function _(y){if(y.slice)return y.slice(0);var C=new Uint8Array(y.byteLength);return C.set(new Uint8Array(y)),C.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=_(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=_(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(B)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(y){var C=y.toUpperCase();return A.indexOf(C)>-1?C:y}function R(y,C){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var $=C.body;if(y instanceof R){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,C.headers||(this.headers=new f(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!$&&y._bodyInit!=null&&($=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new f(C.headers)),this.method=S(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in n){var Y=new AbortController;return Y.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&$)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody($),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var J=/([?&])_=[^&]*/;if(J.test(this.url))this.url=this.url.replace(J,"$1_="+new Date().getTime());else{var se=/\?/;this.url+=(se.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function B(y){var C=new FormData;return y.trim().split("&").forEach(function($){if($){var J=$.split("="),se=J.shift().replace(/\+/g," "),Y=J.join("=").replace(/\+/g," ");C.append(decodeURIComponent(se),decodeURIComponent(Y))}}),C}function j(y){var C=new f,$=y.replace(/\r?\n[\t ]+/g," ");return $.split("\r").map(function(J){return J.indexOf(`
48
- `)===0?J.substr(1,J.length):J}).forEach(function(J){var se=J.split(":"),Y=se.shift().trim();if(Y){var tn=se.join(":").trim();try{C.append(Y,tn)}catch(Aa){console.warn("Response "+Aa.message)}}}),C}I.call(R.prototype);function X(y,C){if(!(this instanceof X))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new f(C.headers),this.url=C.url||"",this._initBody(y)}I.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},X.error=function(){var y=new X(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var Z=[301,302,303,307,308];X.redirect=function(y,C){if(Z.indexOf(C)===-1)throw new RangeError("Invalid status code");return new X(null,{status:C,headers:{location:y}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,$){this.message=C,this.name=$;var J=Error(C);this.stack=J.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function F(y,C){return new Promise(function($,J){var se=new R(y,C);if(se.signal&&se.signal.aborted)return J(new r.DOMException("Aborted","AbortError"));var Y=new XMLHttpRequest;function tn(){Y.abort()}Y.onload=function(){var xe={statusText:Y.statusText,headers:j(Y.getAllResponseHeaders()||"")};se.url.indexOf("file://")===0&&(Y.status<200||Y.status>599)?xe.status=200:xe.status=Y.status,xe.url="responseURL"in Y?Y.responseURL:xe.headers.get("X-Request-URL");var qt="response"in Y?Y.response:Y.responseText;setTimeout(function(){$(new X(qt,xe))},0)},Y.onerror=function(){setTimeout(function(){J(new TypeError("Network request failed"))},0)},Y.ontimeout=function(){setTimeout(function(){J(new TypeError("Network request timed out"))},0)},Y.onabort=function(){setTimeout(function(){J(new r.DOMException("Aborted","AbortError"))},0)};function Aa(xe){try{return xe===""&&n.location.href?n.location.href:xe}catch{return xe}}if(Y.open(se.method,Aa(se.url),!0),se.credentials==="include"?Y.withCredentials=!0:se.credentials==="omit"&&(Y.withCredentials=!1),"responseType"in Y&&(a.blob?Y.responseType="blob":a.arrayBuffer&&(Y.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof f||n.Headers&&C.headers instanceof n.Headers)){var Dc=[];Object.getOwnPropertyNames(C.headers).forEach(function(xe){Dc.push(d(xe)),Y.setRequestHeader(xe,p(C.headers[xe]))}),se.headers.forEach(function(xe,qt){Dc.indexOf(qt)===-1&&Y.setRequestHeader(qt,xe)})}else se.headers.forEach(function(xe,qt){Y.setRequestHeader(qt,xe)});se.signal&&(se.signal.addEventListener("abort",tn),Y.onreadystatechange=function(){Y.readyState===4&&se.signal.removeEventListener("abort",tn)}),Y.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return F.polyfill=!0,n.fetch||(n.fetch=F,n.Headers=f,n.Request=R,n.Response=X),r.Headers=f,r.Request=R,r.Response=X,r.fetch=F,r}({})})(zn);zn.fetch.ponyfill=!0;delete zn.fetch.polyfill;var zr=Hn.fetch?Hn:zn;Wt=zr.fetch;Wt.default=zr.fetch;Wt.fetch=zr.fetch;Wt.Headers=zr.Headers;Wt.Request=zr.Request;Wt.Response=zr.Response;Pp.exports=Wt});var Ip=h(()=>{});var kp,Dp,jr,Mp,$p,Vr,Bp,Fp,Up,Wp,Hp,zp,jp,Vp,Gp,mr,qp,Kp,jn,Zp,Gr,Yp,Xe,Kr,Se,Xs=h(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(kp||(kp={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Dp||(Dp={}));(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.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(jr||(jr={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Mp||(Mp={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})($p||($p={}));(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.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_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.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Vr||(Vr={}));(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"})(Bp||(Bp={}));(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"})(Fp||(Fp={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Up||(Up={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Wp||(Wp={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Hp||(Hp={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(zp||(zp={}));(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"})(jp||(jp={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Vp||(Vp={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Gp||(Gp={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(mr||(mr={}));qp=t=>Object.keys(mr).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Kp||(Kp={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(jn||(jn={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Zp||(Zp={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Gr||(Gr={}));Yp=t=>Object.keys(Gr).includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Xe||(Xe={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Kr||(Kr={}));(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.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(Se||(Se={}))});var Qp,Xp,Jp=h(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Qp||(Qp={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Xp||(Xp={}))});var fO,ef=h(()=>{Xs();fO={[Se.PERSONAL_BOOK_SHARE_USER]:[Se.PERSONAL_BOOK_USER],[Se.HTML_EXPORT_USER]:[Se.PERSONAL_BOOK_USER],[Se.PDF_EXPORT_USER]:[Se.PERSONAL_BOOK_USER],[Se.KHUB_ADMIN]:[Se.CONTENT_PUBLISHER],[Se.ADMIN]:[Se.KHUB_ADMIN,Se.USERS_ADMIN,Se.PORTAL_ADMIN],[Se.GENERATIVE_AI_EXPORT_USER]:[Se.GENERATIVE_AI_USER]}});var tf=h(()=>{});var xg,zo=h(()=>{xg=nm(Lp(),1);Ip();Xs();Jp();ef();tf()});var Js={};G(Js,{SearchPlaceConverter:()=>Zr,SearchPlaceQueryParams:()=>ae,isSearchPlaceQueryParams:()=>of,serializeRequest:()=>Sg});function vg(t){return`"${t}"`}function rf(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Sg(t,e){return new Zr(t).serialize(e)}function of(t){return Cg.has(t)}var ae,Cg,Zr,el=h(()=>{"use strict";zo();It();(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(ae||(ae={}));Cg=new Set(Object.values(ae));Zr=class{constructor(e,r={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=n,this.allLanguagesAllowed=a,this.defaultContentLocale=i,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 n=r==null||r.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,r=!1){var n,a,i,s,l,d,p,m,f,g,v,x;let E=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&E.append(ae.LOCALE,e.contentLocale):E.append(ae.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&E.append(ae.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&E.append(ae.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(ae.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(ae.SORT,"last_update");let T=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(S=>S.valueFilter))!==null&&s!==void 0?s:[];if(T.length>0){let S=T.map(R=>{var B,j;let X=((j=(B=R.valueFilter)===null||B===void 0?void 0:B.values)!==null&&j!==void 0?j:[]).map(Z=>this.escapeFilters(Z)).map(Z=>vg(rf(Z))).join("_");return`${R.key}~${X}`}).join("*");E.append(ae.VALUE_FILTERS,S)}let _=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(_.length>0){let S=_.map(R=>{var B;return`${R.key}~${(B=R.dateFilter)===null||B===void 0?void 0:B.type.toLowerCase()}`}).join("*");E.append(ae.DATE_FILTERS,S)}let I=(m=(p=e.metadataFilters)===null||p===void 0?void 0:p.filter(S=>S.rangeFilter))!==null&&m!==void 0?m:[];if(I.length>0){let S=I.map(R=>{var B,j;return`${R.key}~${(B=R.rangeFilter)===null||B===void 0?void 0:B.from}_${(j=R.rangeFilter)===null||j===void 0?void 0:j.to}`}).join("*");E.append(ae.RANGE_FILTERS,S)}let A=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let S in A)E.append(S,A[S]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((x=(v=e.paging)===null||v===void 0?void 0:v.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&E.append(ae.PER_PAGE,String(e.paging.perPage)),encodeURI(E.toString()).replace(/#/g,"%23")}parse(e){var r;let n=e.split("?"),a=this.fromURLSearchParams(n.slice(1).join("?")),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,n,a,i,s,l,d,p;try{e=decodeURI(e).replace(/%23/g,"#")}catch(_){console.warn("Could not decode search request query params, fallback on raw value",_)}let m=new URLSearchParams(e),f=m.get(ae.LOCALE)==="all"?void 0:m.get(ae.LOCALE),g=((r=m.get(ae.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),v=((n=m.get(ae.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),x=(a=m.get(ae.SCOPE))!==null&&a!==void 0?a:"default",E=+((i=m.get(ae.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),T={};for(let _ of m.keys())of(_)||(T[_]=m.get(_));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=m.get(ae.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[x])!==null&&l!==void 0?l:"DEFAULT",virtualField:qp(g)?g:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[v])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(m),facets:[],paging:{page:1,perPage:ar(1,isNaN(E)?this.defaultPerPage:E,1e3)},otherQueryParams:T}}parseCompatFilters(e){var r,n,a,i,s,l;let d=[];return e.has(ae.FILTERS)&&(d=this.parseValueFilters((r=e.get(ae.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(ae.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(ae.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(ae.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(ae.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(ae.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(rf).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Gr[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,n,a]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(Yp(e))return[{key:"ft:lastEdition",dateFilter:{type:Gr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}}});var rl={};G(rl,{toFtFormComponent:()=>tl});function tl(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Vn].form}constructor(...a){super(a),this[Vn]=this.attachInternals(),this[Vn].role=e}setFormValue(a){this[Vn].setFormValue(a)}}return r}var Vn,ol=h(()=>{"use strict";Vn=Symbol("elementInternals")});var nl={};G(nl,{DateFormatter:()=>qr});var qr,Gn=h(()=>{"use strict";qr=class{static format(e,r,n,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var il={};G(il,{ALL_KEYS_VALUE:()=>al,SameWindowStorageEvent:()=>Yr});var al,Yr,sl=h(()=>{"use strict";al="__all__",Yr=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==al}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Yr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Yr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Yr(al))}})});var ll,cl,dl,ul,pl,Og,k=h(()=>{"use strict";$c();z();ne();hn();Rr();gd();wo();ti();mn();ni();yn();xn();Bi();Ao();Rn();vn();is();ko();ss();It();us();ms();ys();bs();Un();Nn();qs();Qs();el();ol();Gn();K();sl();ti();mn();ni();Gn();yn();xn();Bi();Ao();Rn();vn();is();ko();ss();It();us();ms();ys();bs();Un();Nn();qs();Qs();el();ol();K();sl();pl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((dl=(cl=(ll=window.safari)===null||ll===void 0?void 0:ll.pushNotification)===null||cl===void 0?void 0:cl.toString())!==null&&dl!==void 0?dl:"")==="[object SafariRemoteNotification]",Og="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ul=window.ftGlobals)!==null&&ul!==void 0?ul:{lit:Ua,litDecorators:ja,litRepeat:Va,litClassMap:Ga,litStyleMap:Ka,litUnsafeHTML:Za,wcUtils:{...ei,...qa,...oi,...nl,...ai,...li,...$i,...Ja,...ts,...Mi,...as,...os,...ku,...si,...ds,...hs,...Fu,...gs,...js,...rs,...Zs,...Ys,...Js,...rl,...il,isSafari:pl,isTouchScreen:Og,setVariable:O}}});var nf,N,af,sf,lf,cf,df,yr=h(()=>{"use strict";z();k();nf=o.extend("--ft-ripple-color","",D.colorContent),N={color:nf,backgroundColor:o.extend("--ft-ripple-background-color","",nf),opacityContentOnSurfacePressed:o.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},af=o.extend("--ft-ripple-color","",D.colorPrimary),sf={color:af,backgroundColor:o.extend("--ft-ripple-background-color","",af)},lf=o.extend("--ft-ripple-color","",D.colorSecondary),cf={color:lf,backgroundColor:o.extend("--ft-ripple-background-color","",lf)},df=L`
47
+ `});var Fu={};var xs=h(()=>{"use strict"});var vs={};G(vs,{ParametrizedLabelResolver:()=>Bo});var Bo,Ss=h(()=>{"use strict";Bo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}}});var Dy,re,My,Uu=h(()=>{"use strict";kt();ne();Dy=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},re=t=>{let e=t??{};return(r,n)=>{var a;let i={hasChanged:It,attribute:!1,...e};w(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},My=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Fo,Cs=h(()=>{"use strict";Fo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}}});function ur(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ln=h(()=>{"use strict"});var Wu,Hu,zu,Uo,$t,pr,Ie,ju=h(()=>{"use strict";Do();Ln();Uo=Symbol("internalReduxEventsUnsubscribers"),$t=Symbol("internalStoresUnsubscribers"),pr=Symbol("internalStores"),Ie=class extends J{constructor(){super(...arguments),this[Wu]=new Map,this[Hu]=new Map,this[zu]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[pr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[pr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[pr].get(e)}addStore(e,r){var n;r=(n=r??(ur(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[pr].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[pr].delete(r)}setupStores(){this.unsubscribeFromStores(),this[pr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[$t].has(e.store):this[$t].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[$t].set(e,r.subscribe(()=>this.updateFromStores())),this[Uo].set(e,[]),ur(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=l=>this[i](l);r.addEventListener(a.eventName,s),this[Uo].get(e).push(()=>r.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[$t].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[$t].has(e)&&this[$t].get(e)(),this[$t].delete(e),(r=this[Uo].get(e))===null||r===void 0||r.forEach(n=>n()),this[Uo].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Wu=$t,Hu=pr,zu=Uo;Ie.reduxProperties=new Map;Ie.reduxReactiveProperties=new Set;Ie.reduxEventListeners=new Map});function ze(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function St(t){return!!t&&!!t[de]}function Qe(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===jy}(t)||Array.isArray(t)||!!t[Qu]||!!(!((e=t.constructor)===null||e===void 0)&&e[Qu])||Ps(t)||Ls(t))}function fr(t,e,r){r===void 0&&(r=!1),Fr(t)===0?(r?Object.keys:Br)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Fr(t){var e=t[de];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ps(t)?2:Ls(t)?3:0}function $r(t,e){return Fr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function $y(t,e){return Fr(t)===2?t.get(e):t[e]}function Xu(t,e,r){var n=Fr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Ju(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ps(t){return Hy&&t instanceof Map}function Ls(t){return zy&&t instanceof Set}function Bt(t){return t.o||t.t}function Is(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=rp(t);delete e[de];for(var r=Br(e),n=0;n<r.length;n++){var a=r[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function ks(t,e){return e===void 0&&(e=!1),Ds(t)||St(t)||!Qe(t)||(Fr(t)>1&&(t.set=t.add=t.clear=t.delete=By),Object.freeze(t),e&&fr(t,function(r,n){return ks(n,!0)},!0)),t}function By(){ze(2)}function Ds(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function st(t){var e=Ts[t];return e||ze(18,t),e}function Fy(t,e){Ts[t]||(Ts[t]=e)}function Rs(){return Ho}function Os(t,e){e&&(st("Patches"),t.u=[],t.s=[],t.v=e)}function In(t){Ns(t),t.p.forEach(Uy),t.p=null}function Ns(t){t===Ho&&(Ho=t.l)}function Vu(t){return Ho={p:[],l:Ho,h:t,m:!0,_:0}}function Uy(t){var e=t[de];e.i===0||e.i===1?e.j():e.g=!0}function Es(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||st("ES5").S(e,t,n),n?(r[de].P&&(In(e),ze(4)),Qe(t)&&(t=kn(e,t),e.l||Dn(e,t)),e.u&&st("Patches").M(r[de].t,t,e.u,e.s)):t=kn(e,r,[]),In(e),e.u&&e.v(e.u,e.s),t!==tp?t:void 0}function kn(t,e,r){if(Ds(e))return e;var n=e[de];if(!n)return fr(e,function(l,d){return Gu(t,n,e,l,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Dn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Is(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),fr(i,function(l,d){return Gu(t,n,a,l,d,r,s)}),Dn(t,a,!1),r&&t.u&&st("Patches").N(n,r,t.u,t.s)}return n.o}function Gu(t,e,r,n,a,i,s){if(St(a)){var l=kn(t,a,i&&e&&e.i!==3&&!$r(e.R,n)?i.concat(n):void 0);if(Xu(r,n,l),!St(l))return;t.m=!1}else s&&r.add(a);if(Qe(a)&&!Ds(a)){if(!t.h.D&&t._<1)return;kn(t,a),e&&e.A.l||Dn(t,a)}}function Dn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&ks(e,r)}function ws(t,e){var r=t[de];return(r?Bt(r):t)[e]}function Ku(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Ft(t){t.P||(t.P=!0,t.l&&Ft(t.l))}function As(t){t.o||(t.o=Is(t.t))}function _s(t,e,r){var n=Ps(e)?st("MapSet").F(e,r):Ls(e)?st("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Rs(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,p=zo;s&&(d=[l],p=Wo);var m=Proxy.revocable(d,p),f=m.revoke,g=m.proxy;return l.k=g,l.j=f,g}(e,r):st("ES5").J(e,r);return(r?r.A:Rs()).p.push(n),n}function Wy(t){return St(t)||ze(22,t),function e(r){if(!Qe(r))return r;var n,a=r[de],i=Fr(r);if(a){if(!a.P&&(a.i<4||!st("ES5").K(a)))return a.t;a.I=!0,n=Zu(r,i),a.I=!1}else n=Zu(r,i);return fr(n,function(s,l){a&&$y(a.t,s)===l||Xu(n,s,e(l))}),i===3?new Set(n):n}(t)}function Zu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Is(t)}function ep(){function t(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[de];return zo.get(p,s)},set:function(p){var m=this[de];zo.set(m,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][de];if(!d.P)switch(d.i){case 5:n(d)&&Ft(d);break;case 4:r(d)&&Ft(d)}}}function r(s){for(var l=s.t,d=s.k,p=Br(d),m=p.length-1;m>=0;m--){var f=p[m];if(f!==de){var g=l[f];if(g===void 0&&!$r(l,f))return!0;var v=d[f],x=v&&v[de];if(x?x.t!==g:!Ju(v,g))return!0}}var E=!!l[de];return p.length!==Br(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&ze(3,JSON.stringify(Bt(s)))}var i={};Fy("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(f,g){if(f){for(var v=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(v,""+x,t(x,!0));return v}var E=rp(g);delete E[de];for(var T=Br(E),_=0;_<T.length;_++){var I=T[_];E[I]=t(I,f||!!E[I].enumerable)}return Object.create(Object.getPrototypeOf(g),E)}(d,s),m={i:d?5:4,A:l?l.A:Rs(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,de,{value:m,writable:!0}),p},S:function(s,l,d){d?St(l)&&l[de].A===s&&e(s.p):(s.u&&function p(m){if(m&&typeof m=="object"){var f=m[de];if(f){var g=f.t,v=f.k,x=f.R,E=f.i;if(E===4)fr(v,function(S){S!==de&&(g[S]!==void 0||$r(g,S)?x[S]||p(v[S]):(x[S]=!0,Ft(f)))}),fr(g,function(S){v[S]!==void 0||$r(v,S)||(x[S]=!1,Ft(f))});else if(E===5){if(n(f)&&(Ft(f),x.length=!0),v.length<g.length)for(var T=v.length;T<g.length;T++)x[T]=!1;else for(var _=g.length;_<v.length;_++)x[_]=!0;for(var I=Math.min(v.length,g.length),A=0;A<I;A++)v.hasOwnProperty(A)||(x[A]=!0),x[A]===void 0&&p(v[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var qu,Ho,Ms,Hy,zy,Yu,tp,Qu,de,jy,Br,rp,Ts,zo,Wo,Vy,Fe,Gy,hC,mC,yC,gC,bC,xC,Mn,$n=h(()=>{Ms=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Hy=typeof Map<"u",zy=typeof Set<"u",Yu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",tp=Ms?Symbol.for("immer-nothing"):((qu={})["immer-nothing"]=!0,qu),Qu=Ms?Symbol.for("immer-draftable"):"__$immer_draftable",de=Ms?Symbol.for("immer-state"):"__$immer_state",jy=""+Object.prototype.constructor,Br=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,rp=Object.getOwnPropertyDescriptors||function(t){var e={};return Br(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ts={},zo={get:function(t,e){if(e===de)return t;var r=Bt(t);if(!$r(r,e))return function(a,i,s){var l,d=Ku(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!Qe(n)?n:n===ws(t.t,e)?(As(t),t.o[e]=_s(t.A.h,n,t)):n},has:function(t,e){return e in Bt(t)},ownKeys:function(t){return Reflect.ownKeys(Bt(t))},set:function(t,e,r){var n=Ku(Bt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=ws(Bt(t),e),i=a?.[de];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Ju(r,a)&&(r!==void 0||$r(t.t,e)))return!0;As(t),Ft(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return ws(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,As(t),Ft(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Bt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){ze(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ze(12)}},Wo={};fr(zo,function(t,e){Wo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Wo.deleteProperty=function(t,e){return Wo.set.call(this,t,e,void 0)},Wo.set=function(t,e,r){return zo.set.call(this,t[0],e,r,t[0])};Vy=function(){function t(r){var n=this;this.O=Yu,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(E){var T=this;E===void 0&&(E=l);for(var _=arguments.length,I=Array(_>1?_-1:0),A=1;A<_;A++)I[A-1]=arguments[A];return d.produce(E,function(S){var R;return(R=i).call.apply(R,[T,S].concat(I))})}}var p;if(typeof i!="function"&&ze(6),s!==void 0&&typeof s!="function"&&ze(7),Qe(a)){var m=Vu(n),f=_s(n,a,void 0),g=!0;try{p=i(f),g=!1}finally{g?In(m):Ns(m)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(E){return Os(m,s),Es(E,m)},function(E){throw In(m),E}):(Os(m,s),Es(p,m))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===tp&&(p=void 0),n.D&&ks(p,!0),s){var v=[],x=[];st("Patches").M(a,p,v,x),s(v,x)}return p}ze(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var m=arguments.length,f=Array(m>1?m-1:0),g=1;g<m;g++)f[g-1]=arguments[g];return n.produceWithPatches(p,function(v){return a.apply(void 0,[v].concat(f))})};var s,l,d=n.produce(a,i,function(p,m){s=p,l=m});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Qe(r)||ze(8),St(r)&&(r=Wy(r));var n=Vu(this),a=_s(this,r,void 0);return a[de].C=!0,Ns(n),a},e.finishDraft=function(r,n){var a=r&&r[de],i=a.A;return Os(i,n),Es(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Yu&&ze(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=st("Patches").$;return St(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),Fe=new Vy,Gy=Fe.produce,hC=Fe.produceWithPatches.bind(Fe),mC=Fe.setAutoFreeze.bind(Fe),yC=Fe.setUseProxies.bind(Fe),gC=Fe.applyPatches.bind(Fe),bC=Fe.createDraft.bind(Fe),xC=Fe.finishDraft.bind(Fe),Mn=Gy});function hr(t){"@babel/helpers - typeof";return hr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hr(t)}var $s=h(()=>{});function op(t,e){if(hr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(hr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var np=h(()=>{$s()});function ap(t){var e=op(t,"string");return hr(e)=="symbol"?e:e+""}var ip=h(()=>{$s();np()});function sp(t,e,r){return(e=ap(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lp=h(()=>{ip()});function cp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Bs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?cp(Object(r),!0).forEach(function(n){sp(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var dp=h(()=>{lp()});function Ae(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 Ky(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Us(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ae(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ae(1));return r(Us)(t,e)}if(typeof t!="function")throw new Error(Ae(2));var a=t,i=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function m(){if(d)throw new Error(Ae(3));return i}function f(E){if(typeof E!="function")throw new Error(Ae(4));if(d)throw new Error(Ae(5));var T=!0;return p(),l.push(E),function(){if(T){if(d)throw new Error(Ae(6));T=!1,p();var I=l.indexOf(E);l.splice(I,1),s=null}}}function g(E){if(!Ky(E))throw new Error(Ae(7));if(typeof E.type>"u")throw new Error(Ae(8));if(d)throw new Error(Ae(9));try{d=!0,i=a(i,E)}finally{d=!1}for(var T=s=l,_=0;_<T.length;_++){var I=T[_];I()}return E}function v(E){if(typeof E!="function")throw new Error(Ae(10));a=E,g({type:Bn.REPLACE})}function x(){var E,T=f;return E={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Ae(11));function A(){I.next&&I.next(m())}A();var S=T(A);return{unsubscribe:S}}},E[up]=function(){return this},E}return g({type:Bn.INIT}),n={dispatch:g,subscribe:f,getState:m,replaceReducer:v},n[up]=x,n}function Zy(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Bn.INIT});if(typeof n>"u")throw new Error(Ae(12));if(typeof r(void 0,{type:Bn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ae(13))})}function pp(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,l;try{Zy(r)}catch(d){l=d}return function(p,m){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var g=!1,v={},x=0;x<i.length;x++){var E=i[x],T=r[E],_=p[E],I=T(_,m);if(typeof I>"u"){var A=m&&m.type;throw new Error(Ae(14))}v[E]=I,g=g||I!==_}return g=g||i.length!==Object.keys(p).length,g?v:p}}function Ur(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function fp(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(Ae(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=Ur.apply(void 0,l)(a.dispatch),Bs(Bs({},a),{},{dispatch:i})}}}var up,Fs,Bn,Fn=h(()=>{dp();up=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Fs=function(){return Math.random().toString(36).substring(7).split("").join(".")},Bn={INIT:"@@redux/INIT"+Fs(),REPLACE:"@@redux/REPLACE"+Fs(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Fs()}}});function hp(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var mp,Ws,yp=h(()=>{mp=hp();mp.withExtraArgument=hp;Ws=mp});function og(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function Vs(t){return Qe(t)?Mn(t,function(){}):t}function ig(t){return typeof t=="boolean"}function sg(){return function(e){return lg(e)}}function lg(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new ng;if(r&&(ig(r)?l.push(Ws):l.push(Ws.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var p}return l}function Cp(t){var e=sg(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?e():i,l=r.devTools,d=l===void 0?!0:l,p=r.preloadedState,m=p===void 0?void 0:p,f=r.enhancers,g=f===void 0?void 0:f,v;if(typeof a=="function")v=a;else if(og(a))v=pp(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(e),!zs&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!zs&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=fp.apply(void 0,x),T=Ur;d&&(T=rg(Ut({trace:!zs},typeof d=="object"&&d)));var _=new ag(E),I=_;Array.isArray(g)?I=Wr([E],g):typeof g=="function"&&(I=g(_));var A=T.apply(void 0,I);return Us(v,m,A)}function Wt(t,e){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ut(Ut({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Op(t){var e={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,r,n]}function cg(t){return typeof t=="function"}function dg(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?Op(e):[e,r,n],i=a[0],s=a[1],l=a[2],d;if(cg(t))d=function(){return Vs(t())};else{var p=Vs(t);d=function(){return p}}function m(f,g){f===void 0&&(f=d());var v=Wr([i[g.type]],s.filter(function(x){var E=x.matcher;return E(g)}).map(function(x){var E=x.reducer;return E}));return v.filter(function(x){return!!x}).length===0&&(v=[l]),v.reduce(function(x,E){if(E)if(St(x)){var T=x,_=E(T,g);return _===void 0?x:_}else{if(Qe(x))return Mn(x,function(I){return E(I,g)});var _=E(x,g);if(_===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return x},f)}return m.getInitialState=d,m}function ug(t,e){return t+"/"+e}function Ep(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Vs(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var f=n[m],g=ug(e,m),v,x;"reducer"in f?(v=f.reducer,x=f.prepare):v=f,i[m]=v,s[g]=v,l[m]=x?Wt(g,x):Wt(g)});function d(){var m=typeof t.extraReducers=="function"?Op(t.extraReducers):[t.extraReducers],f=m[0],g=f===void 0?{}:f,v=m[1],x=v===void 0?[]:v,E=m[2],T=E===void 0?void 0:E,_=Ut(Ut({},g),s);return dg(r,function(I){for(var A in _)I.addCase(A,_[A]);for(var S=0,R=x;S<R.length;S++){var B=R[S];I.addMatcher(B.matcher,B.reducer)}T&&I.addDefaultCase(T)})}var p;return{name:e,reducer:function(m,f){return p||(p=d()),p(m,f)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}function yg(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function gg(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Sp,qy,Wr,Yy,Qy,Xy,gp,Jy,eg,bp,Ut,Hs,tg,rg,$C,ng,ag,zs,pg,fg,hg,js,xp,mg,WC,wp,Ap,Rp,HC,zC,jC,VC,Gs,GC,KC,ZC,vp,qC,bg,YC,Np=h(()=>{$n();Fn();Fn();Fn();yp();$n();$n();Sp=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),qy=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(m){return d([p,m])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,a=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){r.label=p[1];break}if(p[0]===6&&r.label<i[1]){r.label=i[1],i=p;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(p);break}i[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(m){p=[6,m],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Wr=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},Yy=Object.defineProperty,Qy=Object.defineProperties,Xy=Object.getOwnPropertyDescriptors,gp=Object.getOwnPropertySymbols,Jy=Object.prototype.hasOwnProperty,eg=Object.prototype.propertyIsEnumerable,bp=function(t,e,r){return e in t?Yy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ut=function(t,e){for(var r in e||(e={}))Jy.call(e,r)&&bp(t,r,e[r]);if(gp)for(var n=0,a=gp(e);n<a.length;n++){var r=a[n];eg.call(e,r)&&bp(t,r,e[r])}return t},Hs=function(t,e){return Qy(t,Xy(e))},tg=function(t,e,r){return new Promise(function(n,a){var i=function(d){try{l(r.next(d))}catch(p){a(p)}},s=function(d){try{l(r.throw(d))}catch(p){a(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(t,e)).next())})},rg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ur:Ur.apply(null,arguments)},$C=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};ng=function(t){Sp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Wr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Wr([void 0],r.concat(this))))},e}(Array),ag=function(t){Sp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Wr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Wr([void 0],r.concat(this))))},e}(Array);zs=!0;pg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",fg=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=pg[Math.random()*64|0];return e},hg=["name","message","stack","code"],js=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),xp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),mg=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=hg;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},WC=function(){function t(e,r,n){var a=Wt(e+"/fulfilled",function(m,f,g,v){return{payload:m,meta:Hs(Ut({},v||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),i=Wt(e+"/pending",function(m,f,g){return{payload:void 0,meta:Hs(Ut({},g||{}),{arg:f,requestId:m,requestStatus:"pending"})}}),s=Wt(e+"/rejected",function(m,f,g,v,x){return{payload:v,error:(n&&n.serializeError||mg)(m||"Rejected"),meta:Hs(Ut({},x||{}),{arg:g,requestId:f,rejectedWithValue:!!v,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function p(m){return function(f,g,v){var x=n?.idGenerator?n.idGenerator(m):fg(),E=new d,T,_=!1;function I(S){T=S,E.abort()}var A=function(){return tg(this,null,function(){var S,R,B,j,X,Z,F;return qy(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),j=(S=n?.condition)==null?void 0:S.call(n,m,{getState:g,extra:v}),gg(j)?[4,j]:[3,2];case 1:j=y.sent(),y.label=2;case 2:if(j===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,X=new Promise(function(C,$){return E.signal.addEventListener("abort",function(){return $({name:"AbortError",message:T||"Aborted"})})}),f(i(x,m,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:x,arg:m},{getState:g,extra:v}))),[4,Promise.race([X,Promise.resolve(r(m,{dispatch:f,getState:g,extra:v,requestId:x,signal:E.signal,abort:I,rejectWithValue:function(C,$){return new js(C,$)},fulfillWithValue:function(C,$){return new xp(C,$)}})).then(function(C){if(C instanceof js)throw C;return C instanceof xp?a(C.payload,x,m,C.meta):a(C,x,m)})])];case 3:return B=y.sent(),[3,5];case 4:return Z=y.sent(),B=Z instanceof js?s(null,x,m,Z.payload,Z.meta):s(Z,x,m),[3,5];case 5:return F=n&&!n.dispatchConditionRejection&&s.match(B)&&B.meta.condition,F||f(B),[2,B]}})})}();return Object.assign(A,{abort:I,requestId:x,arg:m,unwrap:function(){return A.then(yg)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();wp="listener",Ap="completed",Rp="cancelled",HC="task-"+Rp,zC="task-"+Ap,jC=wp+"-"+Rp,VC=wp+"-"+Ap,Gs="listenerMiddleware",GC=Wt(Gs+"/add"),KC=Wt(Gs+"/removeAll"),ZC=Wt(Gs+"/remove"),qC=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(vp||(vp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},bg=function(t){return function(e){setTimeout(e,t)}},YC=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:bg(10);ep()});function xg(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ur(e)&&e.clear()}var Ct,_p=h(()=>{"use strict";Np();Ln();Cs();Ao();window.ftReduxStores||(window.ftReduxStores={});Ct=class t extends nr{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(ur(i))return i;if(a==null)return;let s=Ep({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=Cp({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[a.name]=new t(s,l,a.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Fo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,p=i[d];return p?(...m)=>{let f=p(...m.map(a));return this.reduxStore.dispatch(f),f}:m=>{this.setState({[d]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});function Hr(t,e,r){return new Un(t,e,r).watch()}var Un,Tp=h(()=>{"use strict";kt();Un=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);It(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 Ks={};G(Ks,{FtCommandQueue:()=>Fo,FtLitElementRedux:()=>Ie,FtReduxStore:()=>Ct,ReduxWatcher:()=>Un,clearAllStores:()=>xg,isFtReduxStore:()=>ur,redux:()=>re,reduxEventListener:()=>My,reduxReactive:()=>Dy,watch:()=>Hr});var Wn=h(()=>{"use strict";Uu();Cs();ju();_p();Ln();Tp()});var Qs={};G(Qs,{scrollHelper:()=>Ys});var Zs,Hn,qs,Ys,Xs=h(()=>{"use strict";kt();Hn=new Map,qs=class{lock(e,r){if(r){let n=Hn.get(r);if(n==null||n===e)return Hn.set(r,e),r}}release(e,r){r&&Hn.get(r)===e&&Hn.delete(r)}findFirstScrollableParent(e){var r;let n,a;for(let i of ci(e)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&a==null&&(a=s)}return(r=n??a)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,l=ar(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Zs=window.FluidTopicsScrollHelper)!==null&&Zs!==void 0?Zs:new qs;Ys=window.FluidTopicsScrollHelper});var Js={};G(Js,{shadowQuerySelector:()=>vg,shadowQuerySelectorAll:()=>Sg});function vg(t,e,...r){var n;let a=t.querySelector(e);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Sg(t,e,...r){let n=[...t.querySelectorAll(e)];for(let a of r)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var el=h(()=>{"use strict"});var Lp=am((Ht,Pp)=>{var zn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,jn=function(){function t(){this.fetch=!1,this.DOMException=zn.DOMException}return t.prototype=zn,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var C={next:function(){var $=y.shift();return{done:$===void 0,value:$}}};return a.iterable&&(C[Symbol.iterator]=function(){return C}),C}function f(y){this.map={},y instanceof f?y.forEach(function(C,$){this.append($,C)},this):Array.isArray(y)?y.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(C){this.append(C,y[C])},this)}f.prototype.append=function(y,C){y=d(y),C=p(C);var $=this.map[y];this.map[y]=$?$+", "+C:C},f.prototype.delete=function(y){delete this.map[d(y)]},f.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},f.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},f.prototype.set=function(y,C){this.map[d(y)]=p(C)},f.prototype.forEach=function(y,C){for(var $ in this.map)this.map.hasOwnProperty($)&&y.call(C,this.map[$],$,this)},f.prototype.keys=function(){var y=[];return this.forEach(function(C,$){y.push($)}),m(y)},f.prototype.values=function(){var y=[];return this.forEach(function(C){y.push(C)}),m(y)},f.prototype.entries=function(){var y=[];return this.forEach(function(C,$){y.push([$,C])}),m(y)},a.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function v(y){return new Promise(function(C,$){y.onload=function(){C(y.result)},y.onerror=function(){$(y.error)}})}function x(y){var C=new FileReader,$=v(C);return C.readAsArrayBuffer(y),$}function E(y){var C=new FileReader,$=v(C),ee=/charset=([A-Za-z0-9_-]+)/.exec(y.type),se=ee?ee[1]:"utf-8";return C.readAsText(y,se),$}function T(y){for(var C=new Uint8Array(y),$=new Array(C.length),ee=0;ee<C.length;ee++)$[ee]=String.fromCharCode(C[ee]);return $.join("")}function _(y){if(y.slice)return y.slice(0);var C=new Uint8Array(y.byteLength);return C.set(new Uint8Array(y)),C.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=_(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=_(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(B)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(y){var C=y.toUpperCase();return A.indexOf(C)>-1?C:y}function R(y,C){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var $=C.body;if(y instanceof R){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,C.headers||(this.headers=new f(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!$&&y._bodyInit!=null&&($=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new f(C.headers)),this.method=S(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in n){var Y=new AbortController;return Y.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&$)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody($),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var ee=/([?&])_=[^&]*/;if(ee.test(this.url))this.url=this.url.replace(ee,"$1_="+new Date().getTime());else{var se=/\?/;this.url+=(se.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function B(y){var C=new FormData;return y.trim().split("&").forEach(function($){if($){var ee=$.split("="),se=ee.shift().replace(/\+/g," "),Y=ee.join("=").replace(/\+/g," ");C.append(decodeURIComponent(se),decodeURIComponent(Y))}}),C}function j(y){var C=new f,$=y.replace(/\r?\n[\t ]+/g," ");return $.split("\r").map(function(ee){return ee.indexOf(`
48
+ `)===0?ee.substr(1,ee.length):ee}).forEach(function(ee){var se=ee.split(":"),Y=se.shift().trim();if(Y){var on=se.join(":").trim();try{C.append(Y,on)}catch(_a){console.warn("Response "+_a.message)}}}),C}I.call(R.prototype);function X(y,C){if(!(this instanceof X))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new f(C.headers),this.url=C.url||"",this._initBody(y)}I.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},X.error=function(){var y=new X(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var Z=[301,302,303,307,308];X.redirect=function(y,C){if(Z.indexOf(C)===-1)throw new RangeError("Invalid status code");return new X(null,{status:C,headers:{location:y}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,$){this.message=C,this.name=$;var ee=Error(C);this.stack=ee.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function F(y,C){return new Promise(function($,ee){var se=new R(y,C);if(se.signal&&se.signal.aborted)return ee(new r.DOMException("Aborted","AbortError"));var Y=new XMLHttpRequest;function on(){Y.abort()}Y.onload=function(){var xe={statusText:Y.statusText,headers:j(Y.getAllResponseHeaders()||"")};se.url.indexOf("file://")===0&&(Y.status<200||Y.status>599)?xe.status=200:xe.status=Y.status,xe.url="responseURL"in Y?Y.responseURL:xe.headers.get("X-Request-URL");var Yt="response"in Y?Y.response:Y.responseText;setTimeout(function(){$(new X(Yt,xe))},0)},Y.onerror=function(){setTimeout(function(){ee(new TypeError("Network request failed"))},0)},Y.ontimeout=function(){setTimeout(function(){ee(new TypeError("Network request timed out"))},0)},Y.onabort=function(){setTimeout(function(){ee(new r.DOMException("Aborted","AbortError"))},0)};function _a(xe){try{return xe===""&&n.location.href?n.location.href:xe}catch{return xe}}if(Y.open(se.method,_a(se.url),!0),se.credentials==="include"?Y.withCredentials=!0:se.credentials==="omit"&&(Y.withCredentials=!1),"responseType"in Y&&(a.blob?Y.responseType="blob":a.arrayBuffer&&(Y.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof f||n.Headers&&C.headers instanceof n.Headers)){var Dc=[];Object.getOwnPropertyNames(C.headers).forEach(function(xe){Dc.push(d(xe)),Y.setRequestHeader(xe,p(C.headers[xe]))}),se.headers.forEach(function(xe,Yt){Dc.indexOf(Yt)===-1&&Y.setRequestHeader(Yt,xe)})}else se.headers.forEach(function(xe,Yt){Y.setRequestHeader(Yt,xe)});se.signal&&(se.signal.addEventListener("abort",on),Y.onreadystatechange=function(){Y.readyState===4&&se.signal.removeEventListener("abort",on)}),Y.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return F.polyfill=!0,n.fetch||(n.fetch=F,n.Headers=f,n.Request=R,n.Response=X),r.Headers=f,r.Request=R,r.Response=X,r.fetch=F,r}({})})(jn);jn.fetch.ponyfill=!0;delete jn.fetch.polyfill;var zr=zn.fetch?zn:jn;Ht=zr.fetch;Ht.default=zr.fetch;Ht.fetch=zr.fetch;Ht.Headers=zr.Headers;Ht.Request=zr.Request;Ht.Response=zr.Response;Pp.exports=Ht});var Ip=h(()=>{});var kp,Dp,jr,Mp,$p,Vr,Bp,Fp,Up,Wp,Hp,zp,jp,Vp,Gp,mr,qp,Kp,Vn,Zp,Gr,Yp,Xe,Kr,Se,tl=h(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(kp||(kp={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Dp||(Dp={}));(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.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(jr||(jr={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Mp||(Mp={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})($p||($p={}));(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.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_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.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Vr||(Vr={}));(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"})(Bp||(Bp={}));(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"})(Fp||(Fp={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Up||(Up={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Wp||(Wp={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Hp||(Hp={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(zp||(zp={}));(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"})(jp||(jp={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Vp||(Vp={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Gp||(Gp={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(mr||(mr={}));qp=t=>Object.keys(mr).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Kp||(Kp={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Vn||(Vn={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Zp||(Zp={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Gr||(Gr={}));Yp=t=>Object.keys(Gr).includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Xe||(Xe={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Kr||(Kr={}));(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.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(Se||(Se={}))});var Qp,Xp,Jp=h(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Qp||(Qp={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Xp||(Xp={}))});var gO,ef=h(()=>{tl();gO={[Se.PERSONAL_BOOK_SHARE_USER]:[Se.PERSONAL_BOOK_USER],[Se.HTML_EXPORT_USER]:[Se.PERSONAL_BOOK_USER],[Se.PDF_EXPORT_USER]:[Se.PERSONAL_BOOK_USER],[Se.KHUB_ADMIN]:[Se.CONTENT_PUBLISHER],[Se.ADMIN]:[Se.KHUB_ADMIN,Se.USERS_ADMIN,Se.PORTAL_ADMIN],[Se.GENERATIVE_AI_EXPORT_USER]:[Se.GENERATIVE_AI_USER]}});var tf=h(()=>{});var Cg,jo=h(()=>{Cg=sm(Lp(),1);Ip();tl();Jp();ef();tf()});var rl={};G(rl,{SearchPlaceConverter:()=>Zr,SearchPlaceQueryParams:()=>ae,isSearchPlaceQueryParams:()=>of,serializeRequest:()=>Eg});function Og(t){return`"${t}"`}function rf(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Eg(t,e){return new Zr(t).serialize(e)}function of(t){return wg.has(t)}var ae,wg,Zr,ol=h(()=>{"use strict";jo();kt();(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(ae||(ae={}));wg=new Set(Object.values(ae));Zr=class{constructor(e,r={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=n,this.allLanguagesAllowed=a,this.defaultContentLocale=i,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 n=r==null||r.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,r=!1){var n,a,i,s,l,d,p,m,f,g,v,x;let E=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&E.append(ae.LOCALE,e.contentLocale):E.append(ae.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&E.append(ae.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&E.append(ae.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(ae.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(ae.SORT,"last_update");let T=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(S=>S.valueFilter))!==null&&s!==void 0?s:[];if(T.length>0){let S=T.map(R=>{var B,j;let X=((j=(B=R.valueFilter)===null||B===void 0?void 0:B.values)!==null&&j!==void 0?j:[]).map(Z=>this.escapeFilters(Z)).map(Z=>Og(rf(Z))).join("_");return`${R.key}~${X}`}).join("*");E.append(ae.VALUE_FILTERS,S)}let _=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(_.length>0){let S=_.map(R=>{var B;return`${R.key}~${(B=R.dateFilter)===null||B===void 0?void 0:B.type.toLowerCase()}`}).join("*");E.append(ae.DATE_FILTERS,S)}let I=(m=(p=e.metadataFilters)===null||p===void 0?void 0:p.filter(S=>S.rangeFilter))!==null&&m!==void 0?m:[];if(I.length>0){let S=I.map(R=>{var B,j;return`${R.key}~${(B=R.rangeFilter)===null||B===void 0?void 0:B.from}_${(j=R.rangeFilter)===null||j===void 0?void 0:j.to}`}).join("*");E.append(ae.RANGE_FILTERS,S)}let A=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let S in A)E.append(S,A[S]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((x=(v=e.paging)===null||v===void 0?void 0:v.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&E.append(ae.PER_PAGE,String(e.paging.perPage)),encodeURI(E.toString()).replace(/#/g,"%23")}parse(e){var r;let n=e.split("?"),a=this.fromURLSearchParams(n.slice(1).join("?")),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,n,a,i,s,l,d,p;try{e=decodeURI(e).replace(/%23/g,"#")}catch(_){console.warn("Could not decode search request query params, fallback on raw value",_)}let m=new URLSearchParams(e),f=m.get(ae.LOCALE)==="all"?void 0:m.get(ae.LOCALE),g=((r=m.get(ae.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),v=((n=m.get(ae.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),x=(a=m.get(ae.SCOPE))!==null&&a!==void 0?a:"default",E=+((i=m.get(ae.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),T={};for(let _ of m.keys())of(_)||(T[_]=m.get(_));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=m.get(ae.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[x])!==null&&l!==void 0?l:"DEFAULT",virtualField:qp(g)?g:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[v])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(m),facets:[],paging:{page:1,perPage:ar(1,isNaN(E)?this.defaultPerPage:E,1e3)},otherQueryParams:T}}parseCompatFilters(e){var r,n,a,i,s,l;let d=[];return e.has(ae.FILTERS)&&(d=this.parseValueFilters((r=e.get(ae.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(ae.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(ae.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(ae.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(ae.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(ae.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(rf).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Gr[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,n,a]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(Yp(e))return[{key:"ft:lastEdition",dateFilter:{type:Gr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}}});var al={};G(al,{toFtFormComponent:()=>nl});function nl(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Gn].form}constructor(...a){super(a),this[Gn]=this.attachInternals(),this[Gn].role=e}setFormValue(a){this[Gn].setFormValue(a)}}return r}var Gn,il=h(()=>{"use strict";Gn=Symbol("elementInternals")});var sl={};G(sl,{DateFormatter:()=>qr});var qr,Kn=h(()=>{"use strict";qr=class{static format(e,r,n,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var cl={};G(cl,{ALL_KEYS_VALUE:()=>ll,SameWindowStorageEvent:()=>Yr});var ll,Yr,dl=h(()=>{"use strict";ll="__all__",Yr=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==ll}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Yr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Yr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Yr(ll))}})});var ul,pl,fl,hl,ml,Ag,k=h(()=>{"use strict";$c();z();ne();yn();Rr();gd();wo();ni();gn();si();bn();Sn();Wi();Ao();_n();Cn();cs();Do();ds();kt();hs();bs();xs();Ss();Wn();Tn();Xs();el();ol();il();Kn();K();dl();ni();gn();si();Kn();bn();Sn();Wi();Ao();_n();Cn();cs();Do();ds();kt();hs();bs();xs();Ss();Wn();Tn();Xs();el();ol();il();K();dl();ml=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((fl=(pl=(ul=window.safari)===null||ul===void 0?void 0:ul.pushNotification)===null||pl===void 0?void 0:pl.toString())!==null&&fl!==void 0?fl:"")==="[object SafariRemoteNotification]",Ag="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(hl=window.ftGlobals)!==null&&hl!==void 0?hl:{lit:za,litDecorators:Ka,litRepeat:Za,litClassMap:qa,litStyleMap:Ya,litUnsafeHTML:Qa,wcUtils:{...oi,...Xa,...ii,...sl,...li,...ui,...Ui,...ri,...ns,...Fi,...ls,...is,...ku,...di,...fs,...gs,...Fu,...vs,...Ks,...as,...Qs,...Js,...rl,...al,...cl,isSafari:ml,isTouchScreen:Ag,setVariable:O}}});var nf,N,af,sf,lf,cf,df,yr=h(()=>{"use strict";z();k();nf=o.extend("--ft-ripple-color","",D.colorContent),N={color:nf,backgroundColor:o.extend("--ft-ripple-background-color","",nf),opacityContentOnSurfacePressed:o.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},af=o.extend("--ft-ripple-color","",D.colorPrimary),sf={color:af,backgroundColor:o.extend("--ft-ripple-background-color","",af)},lf=o.extend("--ft-ripple-color","",D.colorSecondary),cf={color:lf,backgroundColor:o.extend("--ft-ripple-background-color","",lf)},df=L`
49
49
  :host {
50
50
  display: contents;
51
51
  }
@@ -158,7 +158,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
158
158
  transform: translate(-50%, -50%) scale(1);
159
159
  }
160
160
  `});function pf(t){let e=No[t];return L`
161
- .ft-typography--${Yt(t)} {
161
+ .ft-typography--${Qt(t)} {
162
162
  font-family: ${e.fontFamily};
163
163
  font-size: ${e.fontSize};
164
164
  font-weight: ${e.fontWeight};
@@ -166,7 +166,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
166
166
  line-height: ${e.lineHeight};
167
167
  text-transform: ${e.textCase};
168
168
  }
169
- `}var ff=h(()=>{"use strict";z();K()});var hf,Ot,U,Qr,Xr,Jr,eo,to,ro,oo,no,ao,lt,mf,yf,gf,bf,xf,Kn,vf,Sf,Cf,Of,Ef,wf,Zn=h(()=>{"use strict";z();k();K();ff();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();hf=o.extend("--ft-typography-font-family","",D.titleFont),Ot=o.extend("--ft-typography-font-family","",D.contentFont),U={fontFamily:Ot,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Qr={fontFamily:o.extend("--ft-typography-title-font-family","",hf),fontSize:o.extend("--ft-typography-title-font-size","",U.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",U.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",U.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",U.textTransform,"inherit")},Xr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",hf),fontSize:o.extend("--ft-typography-title-dense-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",U.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",U.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",U.textTransform,"inherit")},Jr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Ot),fontSize:o.extend("--ft-typography-subtitle1-font-size","",U.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",U.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",U.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",U.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",U.textTransform,"inherit")},eo={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Ot),fontSize:o.extend("--ft-typography-subtitle2-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",U.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",U.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",U.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-body1-font-family","",Ot),fontSize:o.extend("--ft-typography-body1-font-size","",U.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",U.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",U.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",U.textTransform,"inherit")},ro={fontFamily:o.extend("--ft-typography-body2-font-family","",Ot),fontSize:o.extend("--ft-typography-body2-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",U.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",U.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",U.textTransform,"inherit")},oo={fontFamily:o.extend("--ft-typography-caption-font-family","",Ot),fontSize:o.extend("--ft-typography-caption-font-size","",U.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",U.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",U.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",U.textTransform,"inherit")},no={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Ot),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",U.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",U.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",U.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",U.textTransform,"inherit")},ao={fontFamily:o.extend("--ft-typography-overline-font-family","",Ot),fontSize:o.extend("--ft-typography-overline-font-size","",U.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",U.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",U.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",U.textTransform,"uppercase")},lt={fontFamily:o.extend("--ft-typography-button-font-family","",Ot),fontSize:o.extend("--ft-typography-button-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",U.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",U.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",U.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",U.textTransform,"uppercase")},mf=L`
169
+ `}var ff=h(()=>{"use strict";z();K()});var hf,Ot,U,Qr,Xr,Jr,eo,to,ro,oo,no,ao,lt,mf,yf,gf,bf,xf,Zn,vf,Sf,Cf,Of,Ef,wf,qn=h(()=>{"use strict";z();k();K();ff();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();hf=o.extend("--ft-typography-font-family","",D.titleFont),Ot=o.extend("--ft-typography-font-family","",D.contentFont),U={fontFamily:Ot,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Qr={fontFamily:o.extend("--ft-typography-title-font-family","",hf),fontSize:o.extend("--ft-typography-title-font-size","",U.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",U.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",U.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",U.textTransform,"inherit")},Xr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",hf),fontSize:o.extend("--ft-typography-title-dense-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",U.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",U.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",U.textTransform,"inherit")},Jr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Ot),fontSize:o.extend("--ft-typography-subtitle1-font-size","",U.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",U.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",U.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",U.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",U.textTransform,"inherit")},eo={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Ot),fontSize:o.extend("--ft-typography-subtitle2-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",U.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",U.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",U.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-body1-font-family","",Ot),fontSize:o.extend("--ft-typography-body1-font-size","",U.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",U.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",U.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",U.textTransform,"inherit")},ro={fontFamily:o.extend("--ft-typography-body2-font-family","",Ot),fontSize:o.extend("--ft-typography-body2-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",U.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",U.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",U.textTransform,"inherit")},oo={fontFamily:o.extend("--ft-typography-caption-font-family","",Ot),fontSize:o.extend("--ft-typography-caption-font-size","",U.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",U.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",U.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",U.textTransform,"inherit")},no={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Ot),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",U.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",U.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",U.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",U.textTransform,"inherit")},ao={fontFamily:o.extend("--ft-typography-overline-font-family","",Ot),fontSize:o.extend("--ft-typography-overline-font-size","",U.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",U.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",U.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",U.textTransform,"uppercase")},lt={fontFamily:o.extend("--ft-typography-button-font-family","",Ot),fontSize:o.extend("--ft-typography-button-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",U.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",U.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",U.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",U.textTransform,"uppercase")},mf=L`
170
170
  .ft-typography--title {
171
171
  font-family: ${Qr.fontFamily};
172
172
  font-size: ${Qr.fontSize};
@@ -212,7 +212,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
212
212
  line-height: ${to.lineHeight};
213
213
  text-transform: ${to.textTransform};
214
214
  }
215
- `,Kn=L`
215
+ `,Zn=L`
216
216
  .ft-typography--body2 {
217
217
  font-family: ${ro.fontFamily};
218
218
  font-size: ${ro.fontSize};
@@ -261,7 +261,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
261
261
  .ft-typography {
262
262
  vertical-align: inherit;
263
263
  }
264
- `,wf=[Object.keys(No).map(t=>pf(t))]});var ue,Af,jo=h(()=>{"use strict";z();k();ue={color:o.extend("--ft-loader-color","",D.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Af=L`
264
+ `,wf=[Object.keys(No).map(t=>pf(t))]});var ue,Af,Vo=h(()=>{"use strict";z();k();ue={color:o.extend("--ft-loader-color","",D.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Af=L`
265
265
  :host {
266
266
  line-height: 0;
267
267
  }
@@ -330,7 +330,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
330
330
  transform: translate(calc(0.35 * ${ue.size}), 0);
331
331
  }
332
332
  }
333
- `});var Te,Rf,Vo=h(()=>{"use strict";z();k();Te={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Rf=[L`
333
+ `});var Te,Rf,Go=h(()=>{"use strict";z();k();Te={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Rf=[L`
334
334
  :host, i.ft-icon {
335
335
  display: inline-flex;
336
336
  align-items: center;
@@ -378,7 +378,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
378
378
  .ft-icon--material {
379
379
  font-family: ${Te.materialFontFamily}, "Material Icons", sans-serif;
380
380
  }
381
- `,dr]});var Nf,he,_f,fl,ct,Tf,hl=h(()=>{"use strict";z();k();yr();Zn();jo();Vo();Nf=o.extend("--ft-button-color","",D.colorPrimary),he={backgroundColor:o.extend("--ft-button-background-color","",D.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",D.borderRadiusL),color:Nf,fontSize:o.extend("--ft-button-font-size","",lt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Nf),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(D.colorOpacityDisabled,"Design system")},_f=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",D.colorOnPrimary)),fl={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",D.colorPrimary)),color:_f,rippleColor:o.extend("--ft-button-primary-ripple-color","",_f)},ct={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",D.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},Tf=[L`
381
+ `,dr]});var Nf,he,_f,yl,ct,Tf,gl=h(()=>{"use strict";z();k();yr();qn();Vo();Go();Nf=o.extend("--ft-button-color","",D.colorPrimary),he={backgroundColor:o.extend("--ft-button-background-color","",D.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",D.borderRadiusL),color:Nf,fontSize:o.extend("--ft-button-font-size","",lt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Nf),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(D.colorOpacityDisabled,"Design system")},_f=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",D.colorOnPrimary)),yl={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",D.colorPrimary)),color:_f,rippleColor:o.extend("--ft-button-primary-ripple-color","",_f)},ct={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",D.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},Tf=[L`
382
382
  :host {
383
383
  display: inline-block;
384
384
  max-width: 100%;
@@ -464,9 +464,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
464
464
  }
465
465
 
466
466
  .ft-button.ft-button--primary {
467
- background-color: ${fl.backgroundColor};
468
- --ft-button-internal-color: ${fl.color};
469
- ${O(N.color,fl.rippleColor)};
467
+ background-color: ${yl.backgroundColor};
468
+ --ft-button-internal-color: ${yl.color};
469
+ ${O(N.color,yl.rippleColor)};
470
470
  }
471
471
 
472
472
  .ft-button:focus {
@@ -515,7 +515,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
515
515
  ${O(ue.size,he.iconSize)};
516
516
  ${O(ue.color,"var(--ft-button-internal-color)")};
517
517
  }
518
- `,dr]});var ke,le,ml=h(()=>{"use strict";z();ne();Rr();k();yr();ke=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},le=class extends ee{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 ve(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 ve(10),this.moveRipple=e=>{var r,n;let{x:a,y:i}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-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 M`
518
+ `,dr]});var ke,le,bl=h(()=>{"use strict";z();ne();Rr();k();yr();ke=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},le=class extends J{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 ve(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 ve(10),this.moveRipple=e=>{var r,n;let{x:a,y:i}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-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 M`
519
519
  <style>
520
520
  .ft-ripple .ft-ripple--effect {
521
521
  left: ${this.originX}px;
@@ -526,15 +526,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
526
526
  <div class="ft-ripple--background"></div>
527
527
  <div class="ft-ripple--effect"></div>
528
528
  </div>
529
- `}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,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}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(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=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",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,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",n,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,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,n=e,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}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()}};le.elementDefinitions={};le.styles=df;ke([w({type:Boolean})],le.prototype,"primary",void 0);ke([w({type:Boolean})],le.prototype,"secondary",void 0);ke([w({type:Boolean})],le.prototype,"unbounded",void 0);ke([w({type:Boolean})],le.prototype,"activated",void 0);ke([w({type:Boolean})],le.prototype,"selected",void 0);ke([w({type:Boolean})],le.prototype,"disabled",void 0);ke([ce()],le.prototype,"hovered",void 0);ke([ce()],le.prototype,"focused",void 0);ke([ce()],le.prototype,"pressed",void 0);ke([ce()],le.prototype,"rippling",void 0);ke([ce()],le.prototype,"originX",void 0);ke([ce()],le.prototype,"originY",void 0);ke([be(".ft-ripple")],le.prototype,"ripple",void 0);ke([be(".ft-ripple--effect")],le.prototype,"rippleEffect",void 0)});var Pf=h(()=>{"use strict"});var qn=h(()=>{"use strict";k();ml();ml();yr();Pf();V("ft-ripple")(le)});var If,Eg,yl,Lf,gl,bl,pw,fw,kf=h(()=>{Ke();If=Symbol.for(""),Eg=t=>{if(t?.r===If)return t?._$litStatic$},yl=t=>({_$litStatic$:t,r:If}),Lf=new Map,gl=t=>(e,...r)=>{let n=r.length,a,i,s=[],l=[],d,p=0,m=!1;for(;p<n;){for(d=e[p];p<n&&(i=r[p],(a=Eg(i))!==void 0);)d+=a+e[++p],m=!0;p!==n&&l.push(i),s.push(d),p++}if(p===n&&s.push(e[n]),m){let f=s.join("$$lit$$");(e=Lf.get(f))===void 0&&(s.raw=s,Lf.set(f,e=s)),r=l}return t(e,...r)},bl=gl(M),pw=gl(Da),fw=gl(Ma)});var Df=h(()=>{kf()});var Ht,Yn=h(()=>{"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",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Ht||(Ht={}))});var Mf,ge,xl=h(()=>{"use strict";Df();ne();k();Yn();Zn();Mf=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ge=class extends ee{constructor(){super(...arguments),this.variant=Ht.body1}render(){return this.element?bl`
530
- <${yl(this.element)}
529
+ `}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,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}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(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=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",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,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",n,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,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,n=e,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}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()}};le.elementDefinitions={};le.styles=df;ke([w({type:Boolean})],le.prototype,"primary",void 0);ke([w({type:Boolean})],le.prototype,"secondary",void 0);ke([w({type:Boolean})],le.prototype,"unbounded",void 0);ke([w({type:Boolean})],le.prototype,"activated",void 0);ke([w({type:Boolean})],le.prototype,"selected",void 0);ke([w({type:Boolean})],le.prototype,"disabled",void 0);ke([ce()],le.prototype,"hovered",void 0);ke([ce()],le.prototype,"focused",void 0);ke([ce()],le.prototype,"pressed",void 0);ke([ce()],le.prototype,"rippling",void 0);ke([ce()],le.prototype,"originX",void 0);ke([ce()],le.prototype,"originY",void 0);ke([be(".ft-ripple")],le.prototype,"ripple",void 0);ke([be(".ft-ripple--effect")],le.prototype,"rippleEffect",void 0)});var Pf=h(()=>{"use strict"});var Yn=h(()=>{"use strict";k();bl();bl();yr();Pf();V("ft-ripple")(le)});var If,Rg,xl,Lf,vl,Sl,yw,gw,kf=h(()=>{Ke();If=Symbol.for(""),Rg=t=>{if(t?.r===If)return t?._$litStatic$},xl=t=>({_$litStatic$:t,r:If}),Lf=new Map,vl=t=>(e,...r)=>{let n=r.length,a,i,s=[],l=[],d,p=0,m=!1;for(;p<n;){for(d=e[p];p<n&&(i=r[p],(a=Rg(i))!==void 0);)d+=a+e[++p],m=!0;p!==n&&l.push(i),s.push(d),p++}if(p===n&&s.push(e[n]),m){let f=s.join("$$lit$$");(e=Lf.get(f))===void 0&&(s.raw=s,Lf.set(f,e=s)),r=l}return t(e,...r)},Sl=vl(M),yw=vl(Ba),gw=vl(Fa)});var Df=h(()=>{kf()});var zt,Qn=h(()=>{"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",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(zt||(zt={}))});var Mf,ge,Cl=h(()=>{"use strict";Df();ne();k();Qn();qn();Mf=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ge=class extends J{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Sl`
530
+ <${xl(this.element)}
531
531
  part="text"
532
532
  class="ft-typography ft-typography--${this.variant}">
533
533
  <slot></slot>
534
- </${yl(this.element)}>
535
- `:bl`
534
+ </${xl(this.element)}>
535
+ `:Sl`
536
536
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
537
- `}};ge.styles=[mf,yf,gf,bf,xf,Kn,vf,Sf,Cf,Of,Ef,...wf];Mf([w()],ge.prototype,"element",void 0);Mf([w()],ge.prototype,"variant",void 0)});var Et=h(()=>{"use strict";k();xl();xl();Zn();Yn();V("ft-typography")(ge)});var zt,$f,vl=h(()=>{"use strict";z();k();zt={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(D.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},$f=L`
537
+ `}};ge.styles=[mf,yf,gf,bf,xf,Zn,vf,Sf,Cf,Of,Ef,...wf];Mf([w()],ge.prototype,"element",void 0);Mf([w()],ge.prototype,"variant",void 0)});var Et=h(()=>{"use strict";k();Cl();Cl();qn();Qn();V("ft-typography")(ge)});var jt,$f,Ol=h(()=>{"use strict";z();k();jt={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(D.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},$f=L`
538
538
  .ft-tooltip--container {
539
539
  display: block;
540
540
  }
@@ -549,21 +549,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
549
549
  box-sizing: border-box;
550
550
  overflow: hidden;
551
551
  width: max-content;
552
- max-width: ${zt.maxWidth};
552
+ max-width: ${jt.maxWidth};
553
553
  text-align: center;
554
- padding: ${zt.distance};
555
- z-index: ${zt.zIndex};
554
+ padding: ${jt.distance};
555
+ z-index: ${jt.zIndex};
556
556
  }
557
557
 
558
558
  .ft-tooltip--content {
559
559
  padding: 4px 8px;
560
- border-radius: ${zt.borderRadiusS};
561
- background-color: ${zt.backgroundColor};
562
- color: ${zt.color};
560
+ border-radius: ${jt.borderRadiusS};
561
+ background-color: ${jt.backgroundColor};
562
+ color: ${jt.color};
563
563
  position: relative;
564
564
  word-break: break-word;
565
565
  }
566
- `});var De,me,Sl=h(()=>{"use strict";z();ne();k();Et();vl();Rn();De=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},me=class extends ee{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ve,this.revealDebouncer=new ve}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return M`
566
+ `});var De,me,El=h(()=>{"use strict";z();ne();k();Et();Ol();_n();De=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},me=class extends J{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ve,this.revealDebouncer=new ve}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return M`
567
567
  <div part="container"
568
568
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
569
569
  @mouseenter=${this.onHover}
@@ -581,24 +581,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
581
581
  </div>
582
582
  </div>
583
583
  </div>
584
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!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&&(this.tooltip.style.left="",this.tooltip.style.top="",es(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};me.elementDefinitions={"ft-typography":ge};me.styles=$f;De([w()],me.prototype,"text",void 0);De([w({type:Boolean})],me.prototype,"manual",void 0);De([w({type:Boolean})],me.prototype,"inline",void 0);De([w({type:Number})],me.prototype,"delay",void 0);De([w()],me.prototype,"position",void 0);De([za()],me.prototype,"slotNodes",void 0);De([be(".ft-tooltip--container")],me.prototype,"container",void 0);De([be(".ft-tooltip")],me.prototype,"tooltip",void 0);De([be(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);De([ce()],me.prototype,"visible",void 0);De([Er({passive:!0})],me.prototype,"onTouch",null);De([Er({passive:!0})],me.prototype,"onHover",null);De([Er({passive:!0})],me.prototype,"onOut",null);De([Er({passive:!0})],me.prototype,"onClick",null)});var Bf=h(()=>{"use strict"});var Cl=h(()=>{"use strict";k();Sl();Sl();vl();Bf();V("ft-tooltip")(me)});function Ff(t,e){var r,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=wg.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(i=(a=(n=Ol.get(l))!==null&&n!==void 0?n:Ol.get(e))!==null&&a!==void 0?a:Ol.get(s))!==null&&i!==void 0?i:P.UNKNOWN}var jt,P,Ol,wg,Gw,El=h(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;"})(jt||(jt={}));(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;"})(P||(P={}));Ol=new Map([...["abw"].map(t=>[t,P.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,P.AUDIO]),...["avi"].map(t=>[t,P.AVI]),...["chm","xhs"].map(t=>[t,P.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,P.CODE]),...["csv"].map(t=>[t,P.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,P.DITA]),...["epub"].map(t=>[t,P.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,P.EXCEL]),...["flac"].map(t=>[t,P.FLAC]),...["gif"].map(t=>[t,P.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,P.GZIP]),...["html","htm","xhtml"].map(t=>[t,P.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,P.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,P.JPEG]),...["json"].map(t=>[t,P.JSON]),...["m4a","m4p"].map(t=>[t,P.M4A]),...["mov","qt"].map(t=>[t,P.MOV]),...["mp3"].map(t=>[t,P.MP3]),...["mp4","m4v"].map(t=>[t,P.MP4]),...["ogg","oga"].map(t=>[t,P.OGG]),...["pdf","ps"].map(t=>[t,P.PDF]),...["png"].map(t=>[t,P.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,P.POWERPOINT]),...["rar"].map(t=>[t,P.RAR]),...["stp"].map(t=>[t,P.STP]),...["txt","rtf","md","mdown"].map(t=>[t,P.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,P.VIDEO]),...["wav"].map(t=>[t,P.WAV]),...["wma"].map(t=>[t,P.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,P.WORD]),...["xml","xsl","rdf"].map(t=>[t,P.XML]),...["yaml","yml","x-yaml"].map(t=>[t,P.YAML]),...["zip"].map(t=>[t,P.ZIP])]),wg=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"]]);Gw={[P.ABW]:"#91ABC6",[P.AUDIO]:"#1795E3",[P.AVI]:"#E63324",[P.CHM]:"#71C3EB",[P.CODE]:"#71C3EB",[P.CSV]:"#1F7345",[P.DITA]:"#71C3EB",[P.EPUB]:"#85B926",[P.EXCEL]:"#1F7345",[P.FLAC]:"#1795E3",[P.GIF]:"#59B031",[P.GZIP]:"#F8AB36",[P.HTML]:"#71C3EB",[P.IMAGE]:"#59B031",[P.JPEG]:"#59B031",[P.JSON]:"#71C3EB",[P.M4A]:"#1795E3",[P.MOV]:"#E63324",[P.MP3]:"#1795E3",[P.MP4]:"#E63324",[P.OGG]:"#1795E3",[P.PDF]:"#E44948",[P.PNG]:"#59B031",[P.POWERPOINT]:"#B54A2B",[P.RAR]:"#F8AB36",[P.STP]:"#3764B1",[P.TEXT]:"#3162AB",[P.UNKNOWN]:"#999999",[P.VIDEO]:"#E63324",[P.WAV]:"#1795E3",[P.WMA]:"#1795E3",[P.WORD]:"#3162AB",[P.XML]:"#71C3EB",[P.YAML]:"#71C3EB",[P.ZIP]:"#F8AB36"}});var Ue,wl=h(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ue||(Ue={}))});var Go,Pe,Al=h(()=>{"use strict";z();ne();k();wo();El();Vo();wl();Go=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Pe=class extends ee{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=H}render(){let e=this.variant&&Object.values(Ue).includes(this.variant)?this.variant:Ue.fluid_topics,r=e!==Ue.material||!!this.value;return M`
584
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!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&&(this.tooltip.style.left="",this.tooltip.style.top="",os(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};me.elementDefinitions={"ft-typography":ge};me.styles=$f;De([w()],me.prototype,"text",void 0);De([w({type:Boolean})],me.prototype,"manual",void 0);De([w({type:Boolean})],me.prototype,"inline",void 0);De([w({type:Number})],me.prototype,"delay",void 0);De([w()],me.prototype,"position",void 0);De([Ga()],me.prototype,"slotNodes",void 0);De([be(".ft-tooltip--container")],me.prototype,"container",void 0);De([be(".ft-tooltip")],me.prototype,"tooltip",void 0);De([be(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);De([ce()],me.prototype,"visible",void 0);De([Er({passive:!0})],me.prototype,"onTouch",null);De([Er({passive:!0})],me.prototype,"onHover",null);De([Er({passive:!0})],me.prototype,"onOut",null);De([Er({passive:!0})],me.prototype,"onClick",null)});var Bf=h(()=>{"use strict"});var wl=h(()=>{"use strict";k();El();El();Ol();Bf();V("ft-tooltip")(me)});function Ff(t,e){var r,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=Ng.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(i=(a=(n=Al.get(l))!==null&&n!==void 0?n:Al.get(e))!==null&&a!==void 0?a:Al.get(s))!==null&&i!==void 0?i:P.UNKNOWN}var Vt,P,Al,Ng,Yw,Rl=h(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;"})(Vt||(Vt={}));(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;"})(P||(P={}));Al=new Map([...["abw"].map(t=>[t,P.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,P.AUDIO]),...["avi"].map(t=>[t,P.AVI]),...["chm","xhs"].map(t=>[t,P.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,P.CODE]),...["csv"].map(t=>[t,P.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,P.DITA]),...["epub"].map(t=>[t,P.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,P.EXCEL]),...["flac"].map(t=>[t,P.FLAC]),...["gif"].map(t=>[t,P.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,P.GZIP]),...["html","htm","xhtml"].map(t=>[t,P.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,P.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,P.JPEG]),...["json"].map(t=>[t,P.JSON]),...["m4a","m4p"].map(t=>[t,P.M4A]),...["mov","qt"].map(t=>[t,P.MOV]),...["mp3"].map(t=>[t,P.MP3]),...["mp4","m4v"].map(t=>[t,P.MP4]),...["ogg","oga"].map(t=>[t,P.OGG]),...["pdf","ps"].map(t=>[t,P.PDF]),...["png"].map(t=>[t,P.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,P.POWERPOINT]),...["rar"].map(t=>[t,P.RAR]),...["stp"].map(t=>[t,P.STP]),...["txt","rtf","md","mdown"].map(t=>[t,P.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,P.VIDEO]),...["wav"].map(t=>[t,P.WAV]),...["wma"].map(t=>[t,P.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,P.WORD]),...["xml","xsl","rdf"].map(t=>[t,P.XML]),...["yaml","yml","x-yaml"].map(t=>[t,P.YAML]),...["zip"].map(t=>[t,P.ZIP])]),Ng=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"]]);Yw={[P.ABW]:"#91ABC6",[P.AUDIO]:"#1795E3",[P.AVI]:"#E63324",[P.CHM]:"#71C3EB",[P.CODE]:"#71C3EB",[P.CSV]:"#1F7345",[P.DITA]:"#71C3EB",[P.EPUB]:"#85B926",[P.EXCEL]:"#1F7345",[P.FLAC]:"#1795E3",[P.GIF]:"#59B031",[P.GZIP]:"#F8AB36",[P.HTML]:"#71C3EB",[P.IMAGE]:"#59B031",[P.JPEG]:"#59B031",[P.JSON]:"#71C3EB",[P.M4A]:"#1795E3",[P.MOV]:"#E63324",[P.MP3]:"#1795E3",[P.MP4]:"#E63324",[P.OGG]:"#1795E3",[P.PDF]:"#E44948",[P.PNG]:"#59B031",[P.POWERPOINT]:"#B54A2B",[P.RAR]:"#F8AB36",[P.STP]:"#3764B1",[P.TEXT]:"#3162AB",[P.UNKNOWN]:"#999999",[P.VIDEO]:"#E63324",[P.WAV]:"#1795E3",[P.WMA]:"#1795E3",[P.WORD]:"#3162AB",[P.XML]:"#71C3EB",[P.YAML]:"#71C3EB",[P.ZIP]:"#F8AB36"}});var Ue,Nl=h(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ue||(Ue={}))});var Ko,Pe,_l=h(()=>{"use strict";z();ne();k();wo();Rl();Go();Nl();Ko=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Pe=class extends J{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=H}render(){let e=this.variant&&Object.values(Ue).includes(this.variant)?this.variant:Ue.fluid_topics,r=e!==Ue.material||!!this.value;return M`
585
585
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
586
- ${rr(this.resolvedIcon)}
586
+ ${or(this.resolvedIcon)}
587
587
  <slot ?hidden=${r}></slot>
588
588
  </i>
589
- `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.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 n=this.value||this.textContent;switch(this.variant){case Ue.file_format:this.resolvedIcon=(e=P[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ue.material:this.resolvedIcon=this.value||H;break;default:this.resolvedIcon=(r=jt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Pe.elementDefinitions={};Pe.styles=Rf;Go([w()],Pe.prototype,"variant",void 0);Go([w()],Pe.prototype,"value",void 0);Go([w({reflect:!0,attribute:"aria-hidden"})],Pe.prototype,"ariaHidden",void 0);Go([ce()],Pe.prototype,"resolvedIcon",void 0);Go([be("slot")],Pe.prototype,"slottedContent",void 0)});var Qn=h(()=>{"use strict";k();Al();Vo();wl();Al();El();V("ft-icon")(Pe)});var gr,Rl=h(()=>{"use strict";z();k();jo();gr=class extends ee{render(){return M`
589
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.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 n=this.value||this.textContent;switch(this.variant){case Ue.file_format:this.resolvedIcon=(e=P[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ue.material:this.resolvedIcon=this.value||H;break;default:this.resolvedIcon=(r=Vt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Pe.elementDefinitions={};Pe.styles=Rf;Ko([w()],Pe.prototype,"variant",void 0);Ko([w()],Pe.prototype,"value",void 0);Ko([w({reflect:!0,attribute:"aria-hidden"})],Pe.prototype,"ariaHidden",void 0);Ko([ce()],Pe.prototype,"resolvedIcon",void 0);Ko([be("slot")],Pe.prototype,"slottedContent",void 0)});var Xn=h(()=>{"use strict";k();_l();Go();Nl();_l();Rl();V("ft-icon")(Pe)});var gr,Tl=h(()=>{"use strict";z();k();Vo();gr=class extends J{render(){return M`
590
590
  <div class="ft-loader">
591
591
  <div></div>
592
592
  <div></div>
593
593
  <div></div>
594
594
  <div></div>
595
595
  </div>
596
- `}};gr.styles=Af});var Uf=h(()=>{"use strict"});var Wf=h(()=>{"use strict";k();Rl();jo();Uf();Rl();V("ft-loader")(gr)});var Ce,pe,Nl=h(()=>{"use strict";k();qn();Cl();Et();Qn();Wf();z();Rr();ne();Ce=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},pe=class extends tl(ee,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!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,n;let a=M`
596
+ `}};gr.styles=Af});var Uf=h(()=>{"use strict"});var Wf=h(()=>{"use strict";k();Tl();Vo();Uf();Tl();V("ft-loader")(gr)});var Ce,pe,Pl=h(()=>{"use strict";k();Yn();wl();Et();Xn();Wf();z();Rr();ne();Ce=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},pe=class extends nl(J,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!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,n;let a=M`
597
597
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
598
598
  <ft-typography part="label"
599
599
  variant=${this.typographyVariant}
600
600
  element="span"
601
- class="ft-button--label ${pl?"ft-safari-ellipsis-fix":""}"
601
+ class="ft-button--label ${ml?"ft-safari-ellipsis-fix":""}"
602
602
  ?hidden=${!this.hasTextContent()}>
603
603
  <slot @slotchange=${this.onSlotchange}></slot>
604
604
  </ft-typography>
@@ -630,7 +630,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
630
630
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
631
631
  `:M`
632
632
  <slot part="icon" name="icon"></slot>
633
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return bn(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};pe.elementDefinitions={"ft-ripple":le,"ft-tooltip":me,"ft-typography":ge,"ft-icon":Pe,"ft-loader":gr};Ce([w()],pe.prototype,"href",void 0);Ce([w()],pe.prototype,"target",void 0);Ce([w({type:String,reflect:!0})],pe.prototype,"role",void 0);Ce([w()],pe.prototype,"type",void 0);Ce([w({type:Boolean})],pe.prototype,"disabled",void 0);Ce([w()],pe.prototype,"label",void 0);Ce([w()],pe.prototype,"icon",void 0);Ce([w()],pe.prototype,"iconVariant",void 0);Ce([w({type:Boolean})],pe.prototype,"trailingIcon",void 0);Ce([w({type:Boolean})],pe.prototype,"loading",void 0);Ce([w({attribute:"aria-label"})],pe.prototype,"ariaLabel",void 0);Ce([w()],pe.prototype,"tooltipPosition",void 0);Ce([w({type:Boolean})],pe.prototype,"hideTooltip",void 0);Ce([w({type:Boolean})],pe.prototype,"forceTooltip",void 0);Ce([be(".ft-button")],pe.prototype,"button",void 0);Ce([be(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);Ce([be("[part=tooltip]")],pe.prototype,"tooltip",void 0)});var Xn,We,_l=h(()=>{"use strict";ne();k();hl();Nl();Xn=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},We=class extends pe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};We.styles=[Mo,Tf];Xn([w({type:Boolean})],We.prototype,"primary",void 0);Xn([w({type:Boolean})],We.prototype,"outlined",void 0);Xn([w({type:Boolean})],We.prototype,"dense",void 0);Xn([w({type:Boolean})],We.prototype,"round",void 0)});var Hf,Tl=h(()=>{"use strict";z();k();yr();jo();Vo();K();K();Hf=[L`
633
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return vn(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};pe.elementDefinitions={"ft-ripple":le,"ft-tooltip":me,"ft-typography":ge,"ft-icon":Pe,"ft-loader":gr};Ce([w()],pe.prototype,"href",void 0);Ce([w()],pe.prototype,"target",void 0);Ce([w({type:String,reflect:!0})],pe.prototype,"role",void 0);Ce([w()],pe.prototype,"type",void 0);Ce([w({type:Boolean})],pe.prototype,"disabled",void 0);Ce([w()],pe.prototype,"label",void 0);Ce([w()],pe.prototype,"icon",void 0);Ce([w()],pe.prototype,"iconVariant",void 0);Ce([w({type:Boolean})],pe.prototype,"trailingIcon",void 0);Ce([w({type:Boolean})],pe.prototype,"loading",void 0);Ce([w({attribute:"aria-label"})],pe.prototype,"ariaLabel",void 0);Ce([w()],pe.prototype,"tooltipPosition",void 0);Ce([w({type:Boolean})],pe.prototype,"hideTooltip",void 0);Ce([w({type:Boolean})],pe.prototype,"forceTooltip",void 0);Ce([be(".ft-button")],pe.prototype,"button",void 0);Ce([be(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);Ce([be("[part=tooltip]")],pe.prototype,"tooltip",void 0)});var Jn,We,Ll=h(()=>{"use strict";ne();k();gl();Pl();Jn=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},We=class extends pe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};We.styles=[$o,Tf];Jn([w({type:Boolean})],We.prototype,"primary",void 0);Jn([w({type:Boolean})],We.prototype,"outlined",void 0);Jn([w({type:Boolean})],We.prototype,"dense",void 0);Jn([w({type:Boolean})],We.prototype,"round",void 0)});var Hf,Il=h(()=>{"use strict";z();k();yr();Vo();Go();K();K();Hf=[L`
634
634
  :host {
635
635
  display: inline-block;
636
636
  max-width: 100%;
@@ -1096,7 +1096,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1096
1096
  .ftds--size-small.ft-button--icon-only {
1097
1097
  width: ${b.smallIconOnlyWidth};
1098
1098
  }
1099
- `,dr]});var Jn,wt,Pl=h(()=>{"use strict";Nl();ne();Yn();k();Tl();K();Qn();Jn=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},wt=class extends Tn(pe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=ir.brand,this.iconVariant=Ue.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case gt.large:return Ht.body2medium;case gt.medium:return Ht.caption1medium;case gt.small:return Ht.caption2medium}}};wt.styles=[Mo,Hf];Jn([w({type:Boolean})],wt.prototype,"primary",void 0);Jn([w({type:Boolean})],wt.prototype,"secondary",void 0);Jn([w({type:Boolean})],wt.prototype,"tertiary",void 0);Jn([w({type:Boolean})],wt.prototype,"round",void 0)});var zf=h(()=>{"use strict"});var jf=h(()=>{"use strict"});var ea=h(()=>{"use strict";k();_l();Pl();_l();hl();zf();Pl();Tl();jf();V("ft-button")(We);V("ftds-button")(wt)});var ie,Ll,Ko=h(()=>{"use strict";z();k();ea();Cl();ie={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",D.borderRadiusS),desktopFiltersHeight:o.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:o.extend("--ft-search-input-background-color","",D.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",D.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",D.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",D.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",D.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",D.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",D.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",D.colorPrimary)},Ll=L`
1099
+ `,dr]});var ea,wt,kl=h(()=>{"use strict";Pl();ne();Qn();k();Il();K();Xn();ea=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},wt=class extends Pn(pe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=ir.brand,this.iconVariant=Ue.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case gt.large:return zt.body2medium;case gt.medium:return zt.caption1medium;case gt.small:return zt.caption2medium}}};wt.styles=[$o,Hf];ea([w({type:Boolean})],wt.prototype,"primary",void 0);ea([w({type:Boolean})],wt.prototype,"secondary",void 0);ea([w({type:Boolean})],wt.prototype,"tertiary",void 0);ea([w({type:Boolean})],wt.prototype,"round",void 0)});var zf=h(()=>{"use strict"});var jf=h(()=>{"use strict"});var ta=h(()=>{"use strict";k();Ll();kl();Ll();gl();zf();kl();Il();jf();V("ft-button")(We);V("ftds-button")(wt)});var ie,Dl,Zo=h(()=>{"use strict";z();k();ta();wl();ie={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",D.borderRadiusS),desktopFiltersHeight:o.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:o.extend("--ft-search-input-background-color","",D.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",D.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",D.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",D.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",D.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",D.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",D.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",D.colorPrimary)},Dl=L`
1100
1100
  * {
1101
1101
  box-sizing: border-box;
1102
1102
  ${O(he.color,ie.buttonColor)};
@@ -1154,7 +1154,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1154
1154
  align-items: center;
1155
1155
  height: 100%;
1156
1156
 
1157
- ${O(zt.zIndex,`calc(${ie.floatingZIndex} + 1)`)};
1157
+ ${O(jt.zIndex,`calc(${ie.floatingZIndex} + 1)`)};
1158
1158
  }
1159
1159
 
1160
1160
  .ft-search-input > ft-button,
@@ -1180,15 +1180,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1180
1180
  height: 20px;
1181
1181
  border-right: 1px solid ${ie.colorOutline};
1182
1182
  }
1183
- `});var ta,Il,ra=h(()=>{"use strict";z();k();ta={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Il=L`
1183
+ `});var ra,Ml,oa=h(()=>{"use strict";z();k();ra={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Ml=L`
1184
1184
  .kwicmatch {
1185
1185
  font-weight: 700;
1186
- background-color: ${ta.highlightBackgroundColor};
1186
+ background-color: ${ra.highlightBackgroundColor};
1187
1187
  }
1188
- `});var oa,kl,na=h(()=>{"use strict";z();k();oa={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},kl=L`
1188
+ `});var na,$l,aa=h(()=>{"use strict";z();k();na={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},$l=L`
1189
1189
  .kwicmatch {
1190
1190
  font-weight: 700;
1191
- background-color: ${oa.highlightBackgroundColor};
1191
+ background-color: ${na.highlightBackgroundColor};
1192
1192
  }
1193
1193
 
1194
1194
  a {
@@ -1199,18 +1199,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1199
1199
  a:focus {
1200
1200
  outline: revert;
1201
1201
  }
1202
- `});var Kf,Dl=h(()=>{"use strict";z();Kf=L`
1203
- `});var Zf,Ml=h(()=>{"use strict";z();Zf=L`
1204
- `});var Ag,$l,Rg,W,je=h(()=>{"use strict";k();Ag="ft-app-info",$l=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Rg={session:(t,e)=>{qe(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new $l(e.payload)),0))}},W=Ct.get({name:Ag,reducers:Rg,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var br,aa=h(()=>{"use strict";je();br=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=W.getState(),a=e??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let a=W.subscribe(()=>{n=t.get(e),n&&(a(),r(n))})}})}}});var io,Bl=h(()=>{"use strict";aa();io=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:br.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):br.await()}}});var dt,Zo=h(()=>{"use strict";k();Bl();dt=class extends io{constructor(e=!0,r){var n;super(r);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new nt,this.cache=e?a.commonCache:new nt}clearCache(){this.cache.clearAll()}}});var qf,Ng,ia,so,sa,Fl=h(()=>{"use strict";je();k();Zo();Ng=Symbol("clearAfterUnitTest"),ia=class extends dt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[qf]=()=>{this.defaultMessages={},this.cache=new nt,this.listeners={}},this.currentUiLocale=W.getState().uiLocale,W.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=W.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};qe(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new $o((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e))}catch(a){a instanceof ot||console.error(a)}return r&&await this.notify(e),n}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>gn(0).then(()=>r()).catch(()=>null)))}};qf=Ng;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ia{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ia{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});so=window.FluidTopicsI18nService,sa=window.FluidTopicsCustomI18nService});var Ne,ye,Ul=h(()=>{"use strict";z();ne();k();Ml();je();Fl();aa();Ne=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ye=class extends ee{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>br.get(),this.messageContexts=[],this.cache=new nt,this.cleanSessionDebouncer=new ve}render(){return M`
1202
+ `});var Kf,Bl=h(()=>{"use strict";z();Kf=L`
1203
+ `});var Zf,Fl=h(()=>{"use strict";z();Zf=L`
1204
+ `});var _g,Ul,Tg,W,je=h(()=>{"use strict";k();_g="ft-app-info",Ul=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Tg={session:(t,e)=>{qe(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new Ul(e.payload)),0))}},W=Ct.get({name:_g,reducers:Tg,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var br,ia=h(()=>{"use strict";je();br=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=W.getState(),a=e??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let a=W.subscribe(()=>{n=t.get(e),n&&(a(),r(n))})}})}}});var io,Wl=h(()=>{"use strict";ia();io=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:br.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):br.await()}}});var dt,qo=h(()=>{"use strict";k();Wl();dt=class extends io{constructor(e=!0,r){var n;super(r);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new nt,this.cache=e?a.commonCache:new nt}clearCache(){this.cache.clearAll()}}});var qf,Pg,sa,so,la,Hl=h(()=>{"use strict";je();k();qo();Pg=Symbol("clearAfterUnitTest"),sa=class extends dt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[qf]=()=>{this.defaultMessages={},this.cache=new nt,this.listeners={}},this.currentUiLocale=W.getState().uiLocale,W.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=W.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};qe(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new Bo((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e))}catch(a){!(a instanceof ot)&&r&&console.error(a)}return r&&await this.notify(e),n}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>xn(0).then(()=>r()).catch(()=>null)))}};qf=Pg;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends sa{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends sa{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});so=window.FluidTopicsI18nService,la=window.FluidTopicsCustomI18nService});var Ne,ye,zl=h(()=>{"use strict";z();ne();k();Fl();je();Hl();ia();Ne=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ye=class extends J{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>br.get(),this.messageContexts=[],this.cache=new nt,this.cleanSessionDebouncer=new ve}render(){return M`
1205
1205
  <slot></slot>
1206
- `}update(e){var r,n,a,i,s;super.update(e),e.has("baseUrl")&&(W.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&W.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&W.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&W.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&W.actions.noCustom(this.noCustom),e.has("editorMode")&&W.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&W.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&W.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>so.addContext(l)),e.has("openExternalDocumentInNewTab")&&W.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&W.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&W.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(W.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),W.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),W.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ye.elementDefinitions={};ye.styles=Zf;Ne([w()],ye.prototype,"baseUrl",void 0);Ne([w()],ye.prototype,"apiIntegrationIdentifier",void 0);Ne([w()],ye.prototype,"uiLocale",void 0);Ne([we(null)],ye.prototype,"availableUiLocales",void 0);Ne([we(null)],ye.prototype,"metadataConfiguration",void 0);Ne([w({type:Boolean})],ye.prototype,"editorMode",void 0);Ne([w({type:Boolean})],ye.prototype,"noCustom",void 0);Ne([w({type:Boolean})],ye.prototype,"openExternalDocumentInNewTab",void 0);Ne([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ye.prototype,"noCustomComponent",void 0);Ne([w({type:Boolean})],ye.prototype,"withManualResources",void 0);Ne([w({type:Boolean})],ye.prototype,"navigatorOnline",void 0);Ne([w({type:Boolean})],ye.prototype,"forcedOffline",void 0);Ne([w({type:Object})],ye.prototype,"apiProvider",void 0);Ne([we([])],ye.prototype,"messageContexts",void 0);Ne([we(void 0)],ye.prototype,"session",void 0);Ne([ce()],ye.prototype,"localesConfiguration",void 0)});var Yf=h(()=>{"use strict";ne();Un();Gn();je()});var la,Wl=h(()=>{"use strict";je();Zo();la=class extends dt{async listMySearches(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var ca,Hl=h(()=>{"use strict";je();Zo();ca=class extends dt{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var _g,da,zl,Qf,jl=h(()=>{"use strict";k();Wl();Hl();je();_g="ft-user-assets",da=Ct.get({name:_g,initialState:{savedSearches:void 0,bookmarks:void 0}}),zl=class{constructor(){this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ca,this.savedSearchesService=new la,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();qe((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),da.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),da.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();da.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}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;da.actions.bookmarks(r)}}},Qf=new zl});var Vl,Xf=h(()=>{"use strict";je();Vl=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Vl});var Gl,Jf=h(()=>{"use strict";k();Gl=class{highlightHtml(e,r,n){cs(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Gl});var Kl,eh=h(()=>{"use strict";k();je();Kl=class{isDate(e){var r,n,a,i;return(i=(a=((n=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,r){var n,a,i;return qr.format(e,(n=r?.locale)!==null&&n!==void 0?n:W.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Kl});var lo,th=h(()=>{"use strict";k();je();lo=class{static get(e,r){var n,a,i,s;let l=W.getState(),{lang:d,region:p}=(a=(n=l.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Zr(l.baseUrl,(s=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,r??`${d}-${p}`)}}});var ua,rh=h(()=>{"use strict";Bl();ua=class extends io{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.start_display event"),console.debug(r)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send topic.start_display event"),console.debug(r)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send khub.search event"),console.debug(r)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.search event"),console.debug(r)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_page.select event"),console.debug(r)})}}});var oh=h(()=>{"use strict";Hl();aa();Xf();Fl();Zo();Jf();Wl();eh();th();rh()});var nh=h(()=>{"use strict"});var At=h(()=>{"use strict";k();Ul();Yf();je();jl();oh();Ml();nh();Ul();V("ft-app-context")(ye)});function Ve(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?sa:so}i18n(i,s,...l){var d;if(typeof i=="string")return this.getI18nService().resolveMessage(i,s,...l);let p=(d=i.args)!==null&&d!==void 0?d:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...p)}onI18nUpdate(i){var s,l,d;(s=this[Zl])===null||s===void 0||s.forEach((p,m)=>{let f=this.getI18nAttributeValue(m);f&&(this[m]=this.getI18nAttributeMessage(f,p,i))}),(l=this[ql])===null||l===void 0||l.forEach((p,m)=>{let f=this.getI18nListAttributeValues(m);this[m]=f?.map(g=>this.getI18nAttributeMessage(g,p,i))}),(d=this[pa])===null||d===void 0||d.forEach((p,m)=>{p.context.toLowerCase()===i.toLowerCase()&&(this[m]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}getI18nAttributeMessage(i,s,l){var d;let p=!l||((d=i.context)===null||d===void 0?void 0:d.toLowerCase())===l.toLowerCase(),m=i.context&&i.key&&p?this.i18n({context:i.context,key:i.key,...s}):i.message;return{...i,message:m}}update(i){var s,l,d;super.update(i),(s=this[Zl])===null||s===void 0||s.forEach((p,m)=>{let f=this.getI18nAttributeValue(m);f?.context&&f.key&&(i.has(m)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,i,m),this[m]=this.getI18nAttributeMessage(f,p))}),(l=this[ql])===null||l===void 0||l.forEach((p,m)=>{let f=this.getI18nListAttributeValues(m);(i.has(m)||p.argsProvider!=null)&&(this[m]=f?.map(g=>(this.addI18nContextIfNeeded(g,i,m),this.getI18nAttributeMessage(g,p))))}),(d=this[pa])===null||d===void 0||d.forEach((p,m)=>{p.argsProvider!=null&&(this[m]=this.i18n(p))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,s,l){i.context&&i.key&&s.has(l)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,s,l){i=i.toLowerCase(),this[qo].has(i)||this[qo].set(i,this.getI18nService(l).subscribe(i,()=>this.onI18nUpdate(i))),this.getI18nService(l).prepareContext(i,s??{}),this.onI18nUpdate(i)}connectedCallback(){var i,s,l,d,p,m;super.connectedCallback(),new Set([...(s=(i=this[pa])===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:[],...[...(d=(l=this[Zl])===null||l===void 0?void 0:l.keys())!==null&&d!==void 0?d:[]].map(f=>this.getI18nAttributeValue(f)),...[...(m=(p=this[ql])===null||p===void 0?void 0:p.keys())!==null&&m!==void 0?m:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f)),this[Yl].forEach((f,g)=>{this.addI18nMessagesAndSubscribe(g,f.defaultMessages,f.isCustomContext)})}addI18nMessages(i,s,l){this[Yl].set(i,{defaultMessages:s,isCustomContext:l}),this.addI18nMessagesAndSubscribe(i,s,l)}addI18nContext(i,s,l){typeof i=="string"?this.addI18nMessages(i,s,l):this.addI18nMessages(i.name,s,i.custom)}disconnectedCallback(){super.disconnectedCallback(),this[qo].forEach(i=>i()),this[qo].clear()}}return e=Yl,r=qo,Tg([w({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Tg,Zl,ql,pa,Yl,qo,ah,fa,ha=h(()=>{"use strict";k();At();ne();Tg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Zl=Symbol("i18nAttributes"),ql=Symbol("i18nListAttributes"),pa=Symbol("i18nProperties"),Yl=Symbol("i18nManualContexts"),qo=Symbol("i18nUnsubs");ah=class extends Ve(ee){},fa=class extends Ve(Ie){}});var Yo,Je,Ql=h(()=>{"use strict";z();ne();k();Dl();ha();At();Yo=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Je=class extends fa{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":H:M`
1206
+ `}update(e){var r,n,a,i,s;super.update(e),e.has("baseUrl")&&(W.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&W.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&W.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&W.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&W.actions.noCustom(this.noCustom),e.has("editorMode")&&W.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&W.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&W.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>so.addContext(l)),e.has("openExternalDocumentInNewTab")&&W.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&W.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&W.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(W.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),W.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),W.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ye.elementDefinitions={};ye.styles=Zf;Ne([w()],ye.prototype,"baseUrl",void 0);Ne([w()],ye.prototype,"apiIntegrationIdentifier",void 0);Ne([w()],ye.prototype,"uiLocale",void 0);Ne([we(null)],ye.prototype,"availableUiLocales",void 0);Ne([we(null)],ye.prototype,"metadataConfiguration",void 0);Ne([w({type:Boolean})],ye.prototype,"editorMode",void 0);Ne([w({type:Boolean})],ye.prototype,"noCustom",void 0);Ne([w({type:Boolean})],ye.prototype,"openExternalDocumentInNewTab",void 0);Ne([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ye.prototype,"noCustomComponent",void 0);Ne([w({type:Boolean})],ye.prototype,"withManualResources",void 0);Ne([w({type:Boolean})],ye.prototype,"navigatorOnline",void 0);Ne([w({type:Boolean})],ye.prototype,"forcedOffline",void 0);Ne([w({type:Object})],ye.prototype,"apiProvider",void 0);Ne([we([])],ye.prototype,"messageContexts",void 0);Ne([we(void 0)],ye.prototype,"session",void 0);Ne([ce()],ye.prototype,"localesConfiguration",void 0)});var Yf=h(()=>{"use strict";ne();Wn();Kn();je()});var ca,jl=h(()=>{"use strict";je();qo();ca=class extends dt{async listMySearches(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var da,Vl=h(()=>{"use strict";je();qo();da=class extends dt{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Lg,ua,Gl,Qf,Kl=h(()=>{"use strict";k();jl();Vl();je();Lg="ft-user-assets",ua=Ct.get({name:Lg,initialState:{savedSearches:void 0,bookmarks:void 0}}),Gl=class{constructor(){this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new da,this.savedSearchesService=new ca,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();qe((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ua.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ua.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();ua.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}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;ua.actions.bookmarks(r)}}},Qf=new Gl});var Zl,Xf=h(()=>{"use strict";je();Zl=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Zl});var ql,Jf=h(()=>{"use strict";k();ql=class{highlightHtml(e,r,n){ps(e,r,n)}};window.FluidTopicsHighlightHtmlService=new ql});var Yl,eh=h(()=>{"use strict";k();je();Yl=class{isDate(e){var r,n,a,i;return(i=(a=((n=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,r){var n,a,i;return qr.format(e,(n=r?.locale)!==null&&n!==void 0?n:W.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Yl});var lo,th=h(()=>{"use strict";k();je();lo=class{static get(e,r){var n,a,i,s;let l=W.getState(),{lang:d,region:p}=(a=(n=l.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Zr(l.baseUrl,(s=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,r??`${d}-${p}`)}}});var pa,rh=h(()=>{"use strict";Wl();pa=class extends io{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.start_display event"),console.debug(r)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send topic.start_display event"),console.debug(r)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send khub.search event"),console.debug(r)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.search event"),console.debug(r)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_page.select event"),console.debug(r)})}}});var oh=h(()=>{"use strict";Vl();ia();Xf();Hl();qo();Jf();jl();eh();th();rh()});var nh=h(()=>{"use strict"});var At=h(()=>{"use strict";k();zl();Yf();je();Kl();oh();Fl();nh();zl();V("ft-app-context")(ye)});function ah(t){return t.match(/^[\w-]+\.[\w-]+$/)}var ih=h(()=>{"use strict";Yo();k()});function Ve(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?la:so}i18n(i,s,...l){var d;if(typeof i=="string")return this.getI18nService().resolveMessage(i,s,...l);let p=(d=i.args)!==null&&d!==void 0?d:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...p)}customI18n(i){if(ah(i)){let[s,l]=i.split(".");return this[ma].has(s)||this.addI18nContext(s,{},!0),this.getI18nService(!0).resolveMessage(s,l)||i}return i}onI18nUpdate(i){var s,l,d;(s=this[fa])===null||s===void 0||s.forEach((p,m)=>{let f=this.getI18nAttributeValue(m);f&&(this[m]=this.getI18nAttributeMessage(f,p,i))}),(l=this[ha])===null||l===void 0||l.forEach((p,m)=>{let f=this.getI18nListAttributeValues(m);this[m]=f?.map(g=>this.getI18nAttributeMessage(g,p,i))}),(d=this[ya])===null||d===void 0||d.forEach((p,m)=>{p.context.toLowerCase()===i.toLowerCase()&&(this[m]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}getI18nAttributeMessage(i,s,l){var d;let p=!l||((d=i.context)===null||d===void 0?void 0:d.toLowerCase())===l.toLowerCase(),m=i.context&&i.key&&p?this.i18n({context:i.context,key:i.key,...s}):i.message;return{...i,message:m}}update(i){var s,l,d;super.update(i),(s=this[fa])===null||s===void 0||s.forEach((p,m)=>{let f=this.getI18nAttributeValue(m);f?.context&&f.key&&(i.has(m)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,i,m),this[m]=this.getI18nAttributeMessage(f,p))}),(l=this[ha])===null||l===void 0||l.forEach((p,m)=>{let f=this.getI18nListAttributeValues(m);(i.has(m)||p.argsProvider!=null)&&(this[m]=f?.map(g=>(this.addI18nContextIfNeeded(g,i,m),this.getI18nAttributeMessage(g,p))))}),(d=this[ya])===null||d===void 0||d.forEach((p,m)=>{p.argsProvider!=null&&(this[m]=this.i18n(p))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,s,l){i.context&&i.key&&s.has(l)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,s,l){i=i.toLowerCase(),this[Qo].has(i)||this[Qo].set(i,this.getI18nService(l).subscribe(i,()=>this.onI18nUpdate(i))),this.getI18nService(l).prepareContext(i,s??{}),this.onI18nUpdate(i)}connectedCallback(){var i,s,l,d,p,m;super.connectedCallback(),new Set([...(s=(i=this[ya])===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:[],...[...(d=(l=this[fa])===null||l===void 0?void 0:l.keys())!==null&&d!==void 0?d:[]].map(f=>this.getI18nAttributeValue(f)),...[...(m=(p=this[ha])===null||p===void 0?void 0:p.keys())!==null&&m!==void 0?m:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f)),this[ma].forEach((f,g)=>{this.addI18nMessagesAndSubscribe(g,f.defaultMessages,f.isCustomContext)})}addI18nMessages(i,s,l){this[ma].set(i,{defaultMessages:s,isCustomContext:l}),this.addI18nMessagesAndSubscribe(i,s,l)}addI18nContext(i,s,l){typeof i=="string"?this.addI18nMessages(i,s,l):this.addI18nMessages(i.name,s,i.custom)}disconnectedCallback(){super.disconnectedCallback(),this[Qo].forEach(i=>i()),this[Qo].clear()}}return e=ma,r=Qo,Ig([w({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Ig,fa,ha,ya,ma,Qo,sh,ga,Yo=h(()=>{"use strict";k();At();ne();ih();Ig=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},fa=Symbol("i18nAttributes"),ha=Symbol("i18nListAttributes"),ya=Symbol("i18nProperties"),ma=Symbol("i18nManualContexts"),Qo=Symbol("i18nUnsubs");sh=class extends Ve(J){},ga=class extends Ve(Ie){}});var Xo,Je,Ql=h(()=>{"use strict";z();ne();k();Bl();Yo();At();Xo=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Je=class extends ga{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":H:M`
1207
1207
  <span class="ft-i18n">
1208
1208
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1209
1209
  </span>
1210
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Je.elementDefinitions={};Je.styles=Kf;Yo([re()],Je.prototype,"editorMode",void 0);Yo([w()],Je.prototype,"context",void 0);Yo([w()],Je.prototype,"key",void 0);Yo([we([])],Je.prototype,"args",void 0);Yo([w()],Je.prototype,"defaultMessage",void 0)});var ut,ih=h(()=>{"use strict";At();ut=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?sa:so}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}}});var sh=h(()=>{"use strict";ha()});var lh=h(()=>{"use strict"});var pt=h(()=>{"use strict";k();Ql();ih();ha();sh();Dl();lh();Ql();V("ft-i18n")(Je)});var dh,uh=h(()=>{Ke();dh=t=>t??H});var ph=h(()=>{uh()});function fh(t){var e,r,n,a,i;return((a=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.openMode)===jn.EXTERNAL}function ya(t){var e,r,n,a,i;if(fh(t))return(a=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.originUrl;switch(t.type){case Xe.MAP:return t.map.readerUrl;case Xe.DOCUMENT:return t.document.viewerUrl;case Xe.TOPIC:return t.topic.readerUrl}return""}function hh(t,e){return dh(e&&fh(t)?"_blank":void 0)}var ec=h(()=>{"use strict";zo();ph()});var co,rc=h(()=>{"use strict";co=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Ig,oc,nc=h(()=>{"use strict";z();Ig={},oc=L`
1211
- `});var mh=h(()=>{"use strict"});var kg,yh,gh=h(()=>{"use strict";k();kg={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{var r;let n=+((r=e.payload)!==null&&r!==void 0?r:20);t.request.paging.perPage=isNaN(n)?20:ar(1,n,1e3)},setPageNumber:(t,e)=>{t.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]}},yh=t=>Ct.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:kg})});var xa,bh=h(()=>{"use strict";At();xa=class extends dt{constructor(e){super(!0,e),this.sortObjectFields=(r,n)=>typeof n!="object"||n==null||Array.isArray(n)?n:Object.fromEntries(Object.entries(n).sort(([a],[i])=>a.localeCompare(i)))}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((n,a)=>n.id.localeCompare(a.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*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),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((n,a)=>n.localeCompare(a))}}).sort((r,n)=>r.key.localeCompare(n.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}}});var xh,Qo,uo,ac=h(()=>{"use strict";k();gh();zo();bh();xh=t=>t.request.virtualField===mr.TITLE_ONLY&&t.request.scope===Kr.DOCUMENTS,Qo=class t extends Event{constructor(){super(t.eventName)}};Qo.eventName="search-context-clear-all-filters";uo=class t{static build(e,r){return new t(yh(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ve(10),this.searchDebouncer=new ve(100),this.launchSearch=n=>this.searchDebouncer.run(()=>this.fetchSearchData(n??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=n=>({...n.request,facets:this.facetIds.map(a=>({id:a}))}),this.suggestDebouncer=new ve(300),this.launchSuggest=n=>this.suggestDebouncer.run(()=>this.fetchSuggestData(n??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=n=>({input:n.liveQuery,metadataFilters:n.request.metadataFilters,sort:n.request.sort,contentLocale:n.request.contentLocale,scope:n.request.scope}),this.service=r??new xa,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=Hr(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=Hr(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var r;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 i=s=>n.some(l=>l.lang==s);i(e)||(e=i(a)?a:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let r=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(mr.TITLE_ONLY),this.store.actions.setRequestScope(Kr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(mr.EVERYWHERE),this.store.actions.setRequestScope(Kr.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return xh(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Qo)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let n=this.facetIds.filter(a=>a!=e);r&&n.push(r),this.facetIds=n}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(n=>n.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(n=>n.key)])]}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let n=this.store.getState().request.metadataFilters,a={key:e,valueFilter:{values:r,negative:!1}},i=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==a.key),a];this.setFilters(i)}setDateFilter(e,r){let n=this.store.getState().request.metadataFilters,a={key:e,dateFilter:{type:r}},i=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==a.key),a];this.setFilters(i)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(a=>!a.dateFilter),...r.filter(a=>a.dateFilter&&a.key!==e)];this.setFilters(n)}setRangeFilter(e,r,n){let a=this.store.getState().request.metadataFilters,i={key:e,rangeFilter:{from:r,to:n}},s=[...a.filter(l=>!l.rangeFilter),...a.filter(l=>l.rangeFilter&&l.key!==i.key),i];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(a=>!a.rangeFilter),...r.filter(a=>a.rangeFilter&&a.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,n,a;try{if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=Tr(this.service.launchSearch(e));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.results(i.results),this.store.actions.facets(i.facets),this.store.actions.spellcheck(i.spellcheck);else{let s=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(i.results);this.store.actions.results(s)}this.store.actions.paging(i.paging)}}catch(i){i instanceof ot||(console.error(i),(a=this.errorHandler)===null||a===void 0||a.call(this,i))}}async fetchSuggestData(e){var r;try{(r=this.cancelableSuggest)===null||r===void 0||r.cancel(),this.cancelableSuggest=Tr(this.service.launchSuggest(e));let n=await this.cancelableSuggest;this.store.actions.suggestResults(n.suggestions)}catch(n){!(n instanceof ot)&&this.errorHandler&&this.errorHandler(n)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function Mg(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ic]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ic]):this.dispatchEvent(new sc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ic,Dg([ce()],r.prototype,"stateManager",void 0),r}var Dg,sc,ic,Me,Vt=h(()=>{"use strict";k();ne();mh();ac();Dg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},sc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},ic=Symbol("registerInterval");Me=class extends Mg(Ie){}});function Xo(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Jo(t){var e;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}}var lc=h(()=>{"use strict"});var va,vh=h(()=>{"use strict";k();zo();At();lc();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.publication=void 0,this.sendEvent=n=>{if(!this.canSendEvent()||!n)return;let a=this.store.getState().request;this.publication==null?this.sendKhubSearchEvent(a,n):this.sendDocumentSearchEvent(a,n)},this.eventsService=r??new ua,this.resultsWatcher=Hr(e,n=>n.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.publication=e}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}=W.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vr.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Xo(e.metadataFilters),facets:e.metadataFilters.map(a=>Jo(a))}};this.eventsService.sendKhubSearchEvent(n)}sendDocumentSearchEvent(e,r){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vr.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Xo(e.metadataFilters),facets:e.metadataFilters.map(a=>Jo(a))},publication:this.publication};this.eventsService.sendDocumentSearchEvent(n)}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let n=this.store.getState().request,a;e.type==Xe.TOPIC&&(a={tocId:e.topic.tocId,title:e.topic.title});let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vr.SEARCH_PAGE__SELECT,searchQuery:{terms:n.query,searchType:n.virtualField,lastUpdate:Xo(n.metadataFilters),facets:n.metadataFilters.map(s=>Jo(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:a},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(i)}convertDocument(e){switch(e.type){case Xe.MAP:return{id:e.map.mapId,title:e.map.title,type:jr.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Xe.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:jr.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Xe.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:jr.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r,n,a,i,s;return(i=(n=(r=e.map)===null||r===void 0?void 0:r.originUrl)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.originUrl)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var _e,Sa,Ca,Oa,fe,cc=h(()=>{"use strict";z();ne();k();nc();Vt();At();jl();vh();_e=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Sa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ca=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Oa=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},fe=class extends Ie{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=uo.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.addStore(W)}render(){return M`
1210
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Je.elementDefinitions={};Je.styles=Kf;Xo([re()],Je.prototype,"editorMode",void 0);Xo([w()],Je.prototype,"context",void 0);Xo([w()],Je.prototype,"key",void 0);Xo([we([])],Je.prototype,"args",void 0);Xo([w()],Je.prototype,"defaultMessage",void 0)});var ut,lh=h(()=>{"use strict";At();ut=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?la:so}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}}});var ch=h(()=>{"use strict";Yo()});var dh=h(()=>{"use strict"});var pt=h(()=>{"use strict";k();Ql();lh();Yo();ch();Bl();dh();Ql();V("ft-i18n")(Je)});var ph,fh=h(()=>{Ke();ph=t=>t??H});var hh=h(()=>{fh()});function mh(t){var e,r,n,a,i;return((a=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.openMode)===Vn.EXTERNAL}function xa(t){var e,r,n,a,i;if(mh(t))return(a=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.originUrl;switch(t.type){case Xe.MAP:return t.map.readerUrl;case Xe.DOCUMENT:return t.document.viewerUrl;case Xe.TOPIC:return t.topic.readerUrl}return""}function yh(t,e){return ph(e&&mh(t)?"_blank":void 0)}var ec=h(()=>{"use strict";jo();hh()});var co,rc=h(()=>{"use strict";co=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Mg,oc,nc=h(()=>{"use strict";z();Mg={},oc=L`
1211
+ `});var gh=h(()=>{"use strict"});var $g,bh,xh=h(()=>{"use strict";k();$g={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{var r;let n=+((r=e.payload)!==null&&r!==void 0?r:20);t.request.paging.perPage=isNaN(n)?20:ar(1,n,1e3)},setPageNumber:(t,e)=>{t.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]}},bh=t=>Ct.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:$g})});var Ca,vh=h(()=>{"use strict";At();Ca=class extends dt{constructor(e){super(!0,e),this.sortObjectFields=(r,n)=>typeof n!="object"||n==null||Array.isArray(n)?n:Object.fromEntries(Object.entries(n).sort(([a],[i])=>a.localeCompare(i)))}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((n,a)=>n.id.localeCompare(a.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*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),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((n,a)=>n.localeCompare(a))}}).sort((r,n)=>r.key.localeCompare(n.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}}});var Sh,Jo,uo,ac=h(()=>{"use strict";k();xh();jo();vh();Sh=t=>t.request.virtualField===mr.TITLE_ONLY&&t.request.scope===Kr.DOCUMENTS,Jo=class t extends Event{constructor(){super(t.eventName)}};Jo.eventName="search-context-clear-all-filters";uo=class t{static build(e,r){return new t(bh(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ve(10),this.searchDebouncer=new ve(100),this.launchSearch=n=>this.searchDebouncer.run(()=>this.fetchSearchData(n??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=n=>({...n.request,facets:this.facetIds.map(a=>({id:a}))}),this.suggestDebouncer=new ve(300),this.launchSuggest=n=>this.suggestDebouncer.run(()=>this.fetchSuggestData(n??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=n=>({input:n.liveQuery,metadataFilters:n.request.metadataFilters,sort:n.request.sort,contentLocale:n.request.contentLocale,scope:n.request.scope}),this.service=r??new Ca,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=Hr(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=Hr(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var r;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 i=s=>n.some(l=>l.lang==s);i(e)||(e=i(a)?a:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let r=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(mr.TITLE_ONLY),this.store.actions.setRequestScope(Kr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(mr.EVERYWHERE),this.store.actions.setRequestScope(Kr.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return Sh(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Jo)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let n=this.facetIds.filter(a=>a!=e);r&&n.push(r),this.facetIds=n}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(n=>n.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(n=>n.key)])]}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let n=this.store.getState().request.metadataFilters,a={key:e,valueFilter:{values:r,negative:!1}},i=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==a.key),a];this.setFilters(i)}setDateFilter(e,r){let n=this.store.getState().request.metadataFilters,a={key:e,dateFilter:{type:r}},i=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==a.key),a];this.setFilters(i)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(a=>!a.dateFilter),...r.filter(a=>a.dateFilter&&a.key!==e)];this.setFilters(n)}setRangeFilter(e,r,n){let a=this.store.getState().request.metadataFilters,i={key:e,rangeFilter:{from:r,to:n}},s=[...a.filter(l=>!l.rangeFilter),...a.filter(l=>l.rangeFilter&&l.key!==i.key),i];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(a=>!a.rangeFilter),...r.filter(a=>a.rangeFilter&&a.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,n,a;try{if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=Tr(this.service.launchSearch(e));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.results(i.results),this.store.actions.facets(i.facets),this.store.actions.spellcheck(i.spellcheck);else{let s=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(i.results);this.store.actions.results(s)}this.store.actions.paging(i.paging)}}catch(i){i instanceof ot||(console.error(i),(a=this.errorHandler)===null||a===void 0||a.call(this,i))}}async fetchSuggestData(e){var r;try{(r=this.cancelableSuggest)===null||r===void 0||r.cancel(),this.cancelableSuggest=Tr(this.service.launchSuggest(e));let n=await this.cancelableSuggest;this.store.actions.suggestResults(n.suggestions)}catch(n){!(n instanceof ot)&&this.errorHandler&&this.errorHandler(n)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function Ug(t){class e extends t{setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ic]=0,this[Ch]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[ic]>Fg?window.clearInterval(this[Ch]):(this[ic]++,this.dispatchEvent(new sc))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Bg([ce()],e.prototype,"stateManager",void 0),e}var Bg,sc,Ch,ic,Fg,Me,Gt=h(()=>{"use strict";k();ne();gh();ac();Bg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},sc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Ch=Symbol("registerInterval"),ic=Symbol("registerAttempts"),Fg=40;Me=class extends Ug(Ie){}});function en(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function tn(t){var e;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}}var lc=h(()=>{"use strict"});var Oa,Oh=h(()=>{"use strict";k();jo();At();lc();Oa=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.publication=void 0,this.sendEvent=n=>{if(!this.canSendEvent()||!n)return;let a=this.store.getState().request;this.publication==null?this.sendKhubSearchEvent(a,n):this.sendDocumentSearchEvent(a,n)},this.eventsService=r??new pa,this.resultsWatcher=Hr(e,n=>n.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.publication=e}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}=W.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vr.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:en(e.metadataFilters),facets:e.metadataFilters.map(a=>tn(a))}};this.eventsService.sendKhubSearchEvent(n)}sendDocumentSearchEvent(e,r){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vr.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:en(e.metadataFilters),facets:e.metadataFilters.map(a=>tn(a))},publication:this.publication};this.eventsService.sendDocumentSearchEvent(n)}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let n=this.store.getState().request,a;e.type==Xe.TOPIC&&(a={tocId:e.topic.tocId,title:e.topic.title});let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vr.SEARCH_PAGE__SELECT,searchQuery:{terms:n.query,searchType:n.virtualField,lastUpdate:en(n.metadataFilters),facets:n.metadataFilters.map(s=>tn(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:a},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(i)}convertDocument(e){switch(e.type){case Xe.MAP:return{id:e.map.mapId,title:e.map.title,type:jr.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Xe.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:jr.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Xe.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:jr.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r,n,a,i,s;return(i=(n=(r=e.map)===null||r===void 0?void 0:r.originUrl)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.originUrl)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var _e,Ea,wa,Aa,fe,cc=h(()=>{"use strict";z();ne();k();nc();Gt();At();Kl();Oh();_e=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ea=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},wa=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Aa=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},fe=class extends Ie{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=uo.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 Oa(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.addStore(W)}render(){return M`
1212
1212
  <slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click="${this.onResultClicked}"></slot>
1213
- `}update(e){super.update(e),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("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("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)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ca(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Oa(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Sa(e))}reloadSavedSearches(){Qf.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}};fe.elementDefinitions={};fe.styles=oc;_e([re({store:W.name})],fe.prototype,"session",void 0);_e([w()],fe.prototype,"query",void 0);_e([w()],fe.prototype,"contentLocale",void 0);_e([w({type:Number})],fe.prototype,"pageSize",void 0);_e([w({type:Boolean})],fe.prototype,"searchInDocumentTitlesOnly",void 0);_e([w()],fe.prototype,"scope",void 0);_e([w()],fe.prototype,"virtualField",void 0);_e([w({type:Boolean})],fe.prototype,"ignoreEmptyQuery",void 0);_e([re({store:W.name})],fe.prototype,"openExternalDocumentInNewTab",void 0);_e([we([])],fe.prototype,"filters",void 0);_e([we([])],fe.prototype,"sort",void 0);_e([we({})],fe.prototype,"otherQueryParams",void 0);_e([re({store:"search"})],fe.prototype,"request",void 0);_e([re({store:"search"})],fe.prototype,"paging",void 0);_e([re({store:"search",selector:t=>t.spellcheck})],fe.prototype,"autocorrect",void 0);_e([w({attribute:!1})],fe.prototype,"searchServiceProvider",void 0)});var Sh=h(()=>{"use strict"});var Ch={};G(Ch,{ClearAllFiltersEvent:()=>Qo,FtSearchContext:()=>fe,FtSearchContextCssVariables:()=>Ig,FtSearchStateManager:()=>uo,LoadErrorEvent:()=>Sa,SearchRequestChangeEvent:()=>Ca,SearchResultsChangeEvent:()=>Oa,convertMetadataFilterToAnalyticsFacet:()=>Jo,getAnalyticsLastUpdate:()=>Xo,searchInDocumentTitlesOnlySelector:()=>xh,styles:()=>oc});var Oh=h(()=>{"use strict";k();cc();nc();Sh();cc();ac();lc();V("ft-search-context")(fe)});var en,Eh=h(()=>{"use strict";pt();en=ut.build("designedSearchInput")});var wh,Ah=h(()=>{"use strict";z();Ko();wh=L`
1213
+ `}update(e){super.update(e),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("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("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)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new wa(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Aa(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Ea(e))}reloadSavedSearches(){Qf.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}};fe.elementDefinitions={};fe.styles=oc;_e([re({store:W.name})],fe.prototype,"session",void 0);_e([w()],fe.prototype,"query",void 0);_e([w()],fe.prototype,"contentLocale",void 0);_e([w({type:Number})],fe.prototype,"pageSize",void 0);_e([w({type:Boolean})],fe.prototype,"searchInDocumentTitlesOnly",void 0);_e([w()],fe.prototype,"scope",void 0);_e([w()],fe.prototype,"virtualField",void 0);_e([w({type:Boolean})],fe.prototype,"ignoreEmptyQuery",void 0);_e([re({store:W.name})],fe.prototype,"openExternalDocumentInNewTab",void 0);_e([we([])],fe.prototype,"filters",void 0);_e([we([])],fe.prototype,"sort",void 0);_e([we({})],fe.prototype,"otherQueryParams",void 0);_e([re({store:"search"})],fe.prototype,"request",void 0);_e([re({store:"search"})],fe.prototype,"paging",void 0);_e([re({store:"search",selector:t=>t.spellcheck})],fe.prototype,"autocorrect",void 0);_e([w({attribute:!1})],fe.prototype,"searchServiceProvider",void 0)});var Eh=h(()=>{"use strict"});var wh={};G(wh,{ClearAllFiltersEvent:()=>Jo,FtSearchContext:()=>fe,FtSearchContextCssVariables:()=>Mg,FtSearchStateManager:()=>uo,LoadErrorEvent:()=>Ea,SearchRequestChangeEvent:()=>wa,SearchResultsChangeEvent:()=>Aa,convertMetadataFilterToAnalyticsFacet:()=>tn,getAnalyticsLastUpdate:()=>en,searchInDocumentTitlesOnlySelector:()=>Sh,styles:()=>oc});var Ah=h(()=>{"use strict";k();cc();nc();Eh();cc();ac();lc();V("ft-search-context")(fe)});var rn,Rh=h(()=>{"use strict";pt();rn=ut.build("designedSearchInput")});var Nh,_h=h(()=>{"use strict";z();Zo();Nh=L`
1214
1214
  * {
1215
1215
  box-sizing: border-box;
1216
1216
  }
@@ -1252,7 +1252,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1252
1252
  flex-grow: 1;
1253
1253
  flex-shrink: 1;
1254
1254
  }
1255
- `});var Ea,dc,Rt,Rh=h(()=>{"use strict";k();z();ne();Ah();hn();Qn();qn();Et();Vt();At();Ea=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},dc=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},Rt=class extends Me{render(){let e=lo.get();return M`
1255
+ `});var Ra,dc,Rt,Th=h(()=>{"use strict";k();z();ne();_h();yn();Xn();Yn();Et();Gt();At();Ra=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},dc=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},Rt=class extends Me{render(){let e=lo.get();return M`
1256
1256
  <div class="ft-search-input-suggestion ft-word-wrap"
1257
1257
  part="container"
1258
1258
  @keydown=${r=>this.onSuggestKeyDown(r)}>
@@ -1278,16 +1278,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1278
1278
  @click=${()=>this.onSuggestSelected(e.value)}>
1279
1279
  ${n}
1280
1280
  </div>
1281
- `}onSuggestKeyDown(e){var r,n,a,i,s,l;switch(e.key){case"ArrowUp":(a=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(i=this.getFocusedSuggestionElement())===null||i===void 0?void 0:i.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),e.target.click())}onSuggestSelected(e){this.dispatchEvent(new dc(e))}getIcon(e){let r=e.type==="DOCUMENT"?Ue.file_format:Ue.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?jt.BOOK:jt.ARTICLE;break;case"DOCUMENT":n=Ff(e.mimeType,e.filenameExtension);break;case"TOPIC":n=jt.TOPICS;break}return M`
1281
+ `}onSuggestKeyDown(e){var r,n,a,i,s,l;switch(e.key){case"ArrowUp":(a=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(i=this.getFocusedSuggestionElement())===null||i===void 0?void 0:i.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),e.target.click())}onSuggestSelected(e){this.dispatchEvent(new dc(e))}getIcon(e){let r=e.type==="DOCUMENT"?Ue.file_format:Ue.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Vt.BOOK:Vt.ARTICLE;break;case"DOCUMENT":n=Ff(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Vt.TOPICS;break}return M`
1282
1282
  <ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
1283
- `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};Rt.elementDefinitions={"ft-ripple":le,"ft-typography":ge,"ft-icon":Pe};Rt.styles=[ps,wh];Ea([re()],Rt.prototype,"request",void 0);Ea([re()],Rt.prototype,"suggestResults",void 0);Ea([w()],Rt.prototype,"launchSearchPath",void 0);Rt=Ea([Wa("ft-search-input-suggestion")],Rt)});var ft,Oe,uc=h(()=>{"use strict";z();k();Ko();Vt();pt();Eh();ne();Rr();Rh();ea();Et();At();ft=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Oe=class extends Ve(Me){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.addI18nContext(en)}render(){var e,r;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},i=this.useCustomSearchPath?this.launchSearchPath:void 0,s=lo.get().serializeToCurrentPageIfPossible(a,i);return M`
1283
+ `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};Rt.elementDefinitions={"ft-ripple":le,"ft-typography":ge,"ft-icon":Pe};Rt.styles=[ms,Nh];Ra([re()],Rt.prototype,"request",void 0);Ra([re()],Rt.prototype,"suggestResults",void 0);Ra([w()],Rt.prototype,"launchSearchPath",void 0);Rt=Ra([ja("ft-search-input-suggestion")],Rt)});var ft,Oe,uc=h(()=>{"use strict";z();k();Zo();Gt();pt();Rh();ne();Rr();Th();ta();Et();At();ft=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Oe=class extends Ve(Me){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.addI18nContext(rn)}render(){var e,r;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},i=this.useCustomSearchPath?this.launchSearchPath:void 0,s=lo.get().serializeToCurrentPageIfPossible(a,i);return M`
1284
1284
  <div class="${rt(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
1285
1285
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
1286
1286
  <div class="ft-search-input--input-outline" part="input-outline">
1287
1287
  <input class="ft-search-input--input ft-typography--body2"
1288
1288
  part="input"
1289
1289
  type="search"
1290
- placeholder="${en.messages.placeholder()}"
1290
+ placeholder="${rn.messages.placeholder()}"
1291
1291
  .value="${this.liveQuery}"
1292
1292
  @input=${l=>this.onInput(l)}
1293
1293
  @keydown=${l=>this.onSearchBarKeyDown(l)}
@@ -1306,7 +1306,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1306
1306
  part="clear-query"
1307
1307
  icon="close"
1308
1308
  round dense
1309
- label="${en.messages.clearButton()}"
1309
+ label="${rn.messages.clearButton()}"
1310
1310
  @click=${()=>this.onClearInput()}
1311
1311
  ></ft-button>
1312
1312
  <div class="ft-search-input--separator"></div>
@@ -1315,47 +1315,47 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1315
1315
  part="launch-search-in-input"
1316
1316
  icon="search"
1317
1317
  round dense
1318
- label="${en.messages.searchButton()}"
1318
+ label="${rn.messages.searchButton()}"
1319
1319
  href="${this.useCustomSearchPath?s:""}"
1320
1320
  @click=${()=>this.launchSearch(this.liveQuery)}
1321
1321
  ></ft-button>
1322
1322
  </div>
1323
1323
  </div>
1324
- `}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):H,this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){var r;(r=this.input)===null||r===void 0||r.focus(),this.launchSearch(e.detail)}};Oe.elementDefinitions={"ft-search-input-suggestion":Rt,"ft-button":We};Oe.styles=[Kn,fs,Ll];ft([re()],Oe.prototype,"request",void 0);ft([re()],Oe.prototype,"liveQuery",void 0);ft([re()],Oe.prototype,"suggestResults",void 0);ft([ce()],Oe.prototype,"forceCloseSuggestion",void 0);ft([w()],Oe.prototype,"launchSearchPath",void 0);ft([w({type:Boolean})],Oe.prototype,"useCustomSearchPath",void 0);ft([w({type:Boolean})],Oe.prototype,"triggerSearchOnClear",void 0);ft([be(".ft-search-input--input")],Oe.prototype,"input",void 0);ft([be("ft-search-input-suggestion")],Oe.prototype,"suggestion",void 0);ft([be('[part="launch-search-in-input"]')],Oe.prototype,"launchSearchButton",void 0)});var Nh=h(()=>{"use strict"});var _h={};G(_h,{FtSearchInput:()=>Oe,FtSearchInputCssVariables:()=>ie,styles:()=>Ll});var Th=h(()=>{"use strict";k();uc();Ko();Nh();uc();V("ft-search-input")(Oe)});var $g,pc,fc=h(()=>{"use strict";z();$g={},pc=L`
1325
- `});var hc,Ph=h(()=>{"use strict";pt();hc=ut.fromGwt("designedActionBlockAriaLabels")});var Lh,Nt,mc=h(()=>{"use strict";z();k();fc();ea();Vt();pt();Ph();Lh=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Nt=class extends Ve(Me){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(hc)}render(){return this.isLastPage?H:M`
1324
+ `}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):H,this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){var r;(r=this.input)===null||r===void 0||r.focus(),this.launchSearch(e.detail)}};Oe.elementDefinitions={"ft-search-input-suggestion":Rt,"ft-button":We};Oe.styles=[Zn,ys,Dl];ft([re()],Oe.prototype,"request",void 0);ft([re()],Oe.prototype,"liveQuery",void 0);ft([re()],Oe.prototype,"suggestResults",void 0);ft([ce()],Oe.prototype,"forceCloseSuggestion",void 0);ft([w()],Oe.prototype,"launchSearchPath",void 0);ft([w({type:Boolean})],Oe.prototype,"useCustomSearchPath",void 0);ft([w({type:Boolean})],Oe.prototype,"triggerSearchOnClear",void 0);ft([be(".ft-search-input--input")],Oe.prototype,"input",void 0);ft([be("ft-search-input-suggestion")],Oe.prototype,"suggestion",void 0);ft([be('[part="launch-search-in-input"]')],Oe.prototype,"launchSearchButton",void 0)});var Ph=h(()=>{"use strict"});var Lh={};G(Lh,{FtSearchInput:()=>Oe,FtSearchInputCssVariables:()=>ie,styles:()=>Dl});var Ih=h(()=>{"use strict";k();uc();Zo();Ph();uc();V("ft-search-input")(Oe)});var Wg,pc,fc=h(()=>{"use strict";z();Wg={},pc=L`
1325
+ `});var hc,kh=h(()=>{"use strict";pt();hc=ut.fromGwt("designedActionBlockAriaLabels")});var Dh,Nt,mc=h(()=>{"use strict";z();k();fc();ta();Gt();pt();kh();Dh=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Nt=class extends Ve(Me){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(hc)}render(){return this.isLastPage?H:M`
1326
1326
  <ft-button @click="${this.loadMore}">
1327
1327
  ${hc.messages.searchPageLoadMore()}
1328
1328
  </ft-button>
1329
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Nt.elementDefinitions={"ft-button":We};Nt.styles=pc;Lh([re({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}})],Nt.prototype,"currentPage",void 0);Lh([re({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}})],Nt.prototype,"isLastPage",void 0)});var Ih=h(()=>{"use strict"});var kh={};G(kh,{FtSearchLoadMoreButton:()=>Nt,FtSearchLoadMoreButtonCssVariables:()=>$g,styles:()=>pc});var Dh=h(()=>{"use strict";k();mc();fc();Ih();mc();V("ft-search-load-more-button")(Nt)});function Bg(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(a){this.resultStateManager=a}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[gc]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[gc]):this.dispatchEvent(new bc)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=gc,yc([w({attribute:!1})],r.prototype,"cluster",void 0),yc([w({attribute:!1})],r.prototype,"result",void 0),yc([w({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var yc,bc,gc,po,xc=h(()=>{"use strict";Vt();ne();yc=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},bc=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},gc=Symbol("registerInterval");po=class extends Bg(Me){}});var xr,vc=h(()=>{"use strict";z();xc();ra();wo();Et();xr=class extends po{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?M`
1330
- <ft-typography variant="body1" part="text">${rr(e)}</ft-typography>
1329
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Nt.elementDefinitions={"ft-button":We};Nt.styles=pc;Dh([re({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}})],Nt.prototype,"currentPage",void 0);Dh([re({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}})],Nt.prototype,"isLastPage",void 0)});var Mh=h(()=>{"use strict"});var $h={};G($h,{FtSearchLoadMoreButton:()=>Nt,FtSearchLoadMoreButtonCssVariables:()=>Wg,styles:()=>pc});var Bh=h(()=>{"use strict";k();mc();fc();Mh();mc();V("ft-search-load-more-button")(Nt)});function Hg(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(a){this.resultStateManager=a}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[gc]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[gc]):this.dispatchEvent(new bc)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=gc,yc([w({attribute:!1})],r.prototype,"cluster",void 0),yc([w({attribute:!1})],r.prototype,"result",void 0),yc([w({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var yc,bc,gc,po,xc=h(()=>{"use strict";Gt();ne();yc=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},bc=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},gc=Symbol("registerInterval");po=class extends Hg(Me){}});var xr,vc=h(()=>{"use strict";z();xc();oa();wo();Et();xr=class extends po{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?M`
1330
+ <ft-typography variant="body1" part="text">${or(e)}</ft-typography>
1331
1331
  `:M`
1332
1332
  <style>
1333
1333
  :host {
1334
1334
  display: none !important;
1335
1335
  }
1336
1336
  </style>
1337
- `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};xr.elementDefinitions={"ft-typography":ge};xr.styles=Il});var Mh=h(()=>{"use strict"});var $h={};G($h,{FtSearchResultAbstract:()=>xr,FtSearchResultAbstractCssVariables:()=>ta,styles:()=>Il});var Sc=h(()=>{"use strict";k();vc();ra();Mh();vc();V("ft-search-result-abstract")(xr)});var Fg,Gt,Cc=h(()=>{"use strict";z();ne();xc();na();Et();wo();ec();rc();Fg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Gt=class extends po{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():M`
1338
- <a href="${ya(this.result)}"
1337
+ `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};xr.elementDefinitions={"ft-typography":ge};xr.styles=Ml});var Fh=h(()=>{"use strict"});var Uh={};G(Uh,{FtSearchResultAbstract:()=>xr,FtSearchResultAbstractCssVariables:()=>ra,styles:()=>Ml});var Sc=h(()=>{"use strict";k();vc();oa();Fh();vc();V("ft-search-result-abstract")(xr)});var zg,Kt,Cc=h(()=>{"use strict";z();ne();xc();aa();Et();wo();ec();rc();zg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Kt=class extends po{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():M`
1338
+ <a href="${xa(this.result)}"
1339
1339
  @click=${this.onResultClick}
1340
- target="${hh(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
1340
+ target="${yh(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
1341
1341
  part="link">
1342
1342
  ${this.renderTitle()}
1343
1343
  </a>
1344
1344
  `:H}renderTitle(){return M`
1345
- <ft-typography variant="title" part="text">${rr(this.selectTitle(this.result))}</ft-typography>
1346
- `}onResultClick(){this.dispatchEvent(new co(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Gt.elementDefinitions={"ft-typography":ge};Gt.styles=kl;Fg([w({type:Boolean})],Gt.prototype,"withoutLink",void 0)});var Bh=h(()=>{"use strict"});var Fh={};G(Fh,{FtSearchResultTitle:()=>Gt,FtSearchResultTitleCssVariables:()=>oa,styles:()=>kl});var Oc=h(()=>{"use strict";k();Cc();na();Bh();Cc();V("ft-search-result-title")(Gt)});var Ug,Ec,wc=h(()=>{"use strict";z();Ug={},Ec=L`
1345
+ <ft-typography variant="title" part="text">${or(this.selectTitle(this.result))}</ft-typography>
1346
+ `}onResultClick(){this.dispatchEvent(new co(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Kt.elementDefinitions={"ft-typography":ge};Kt.styles=$l;zg([w({type:Boolean})],Kt.prototype,"withoutLink",void 0)});var Wh=h(()=>{"use strict"});var Hh={};G(Hh,{FtSearchResultTitle:()=>Kt,FtSearchResultTitleCssVariables:()=>na,styles:()=>$l});var Oc=h(()=>{"use strict";k();Cc();aa();Wh();Cc();V("ft-search-result-title")(Kt)});var jg,Ec,wc=h(()=>{"use strict";z();jg={},Ec=L`
1347
1347
  [part="no-results-message"] {
1348
1348
  text-align: center;
1349
1349
  padding: 12px;
1350
1350
  }
1351
- `});var Uh,Ac=h(()=>{"use strict";z();Uh=L`
1351
+ `});var zh,Ac=h(()=>{"use strict";z();zh=L`
1352
1352
  a {
1353
1353
  color: inherit;
1354
1354
  text-decoration: inherit;
1355
1355
  }
1356
- `});var wa,Wh=h(()=>{"use strict";wa=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])}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}}});var Nc,Rc,_t,_c=h(()=>{"use strict";z();ne();k();Ac();Wh();Nc=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Rc=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},_t=class extends ee{constructor(){super(...arguments),this.index=0,this.stateManager=new wa(e=>this.onResultSelected(e))}render(){return M`
1356
+ `});var Na,jh=h(()=>{"use strict";Na=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])}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}}});var Nc,Rc,_t,_c=h(()=>{"use strict";z();ne();k();Ac();jh();Nc=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Rc=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},_t=class extends J{constructor(){super(...arguments),this.index=0,this.stateManager=new Na(e=>this.onResultSelected(e))}render(){return M`
1357
1357
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
1358
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new Rc(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)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};_t.elementDefinitions={};_t.styles=Uh;Nc([w({attribute:!1})],_t.prototype,"cluster",void 0);Nc([ce()],_t.prototype,"result",void 0);Nc([w()],_t.prototype,"index",void 0)});var Hh=h(()=>{"use strict"});var zh=h(()=>{"use strict";k();_c();Ac();Hh();_c();V("ft-search-result-context")(_t)});var fo,jh,Tc=h(()=>{"use strict";pt();fo=ut.build("searchResultsNumber"),jh={results:"{0} results","results[\\=1]":"1 result"}});var vr,He,Pc=h(()=>{"use strict";z();hn();ne();k();wc();Vt();zh();Oc();Sc();pt();Tc();vr=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},He=class extends Ve(Me){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>M`
1358
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new Rc(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)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};_t.elementDefinitions={};_t.styles=zh;Nc([w({attribute:!1})],_t.prototype,"cluster",void 0);Nc([ce()],_t.prototype,"result",void 0);Nc([w()],_t.prototype,"index",void 0)});var Vh=h(()=>{"use strict"});var Gh=h(()=>{"use strict";k();_c();Ac();Vh();_c();V("ft-search-result-context")(_t)});var fo,Kh,Tc=h(()=>{"use strict";pt();fo=ut.build("searchResultsNumber"),Kh={results:"{0} results","results[\\=1]":"1 result"}});var vr,He,Pc=h(()=>{"use strict";z();yn();ne();k();wc();Gt();Gh();Oc();Sc();pt();Tc();vr=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},He=class extends Ve(Me){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>M`
1359
1359
  <ft-search-result-title></ft-search-result-title>
1360
1360
  <ft-search-result-abstract></ft-search-result-abstract>
1361
1361
  `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(fo)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return M`
@@ -1365,13 +1365,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1365
1365
  @ft-search-result-cluster-change="${i=>this.onClusterChange(r.id,i.detail)}">
1366
1366
  ${this.renderResult((a=this.selectedResultByCluster[r.id])!==null&&a!==void 0?a:r.entries[0],n)}
1367
1367
  </ft-search-result-context>
1368
- `})}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 n=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");n&&Ks.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,n;let a=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?a.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):a}clusterId(e){var r,n,a,i,s;return(i=(n=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.tocId)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.documentId}};He.styles=Ec;vr([w({type:String,attribute:"cluster-policy"})],He.prototype,"clusterPolicy",void 0);vr([w({type:Boolean})],He.prototype,"displayNoResultsMessage",void 0);vr([w({attribute:!1})],He.prototype,"renderResult",void 0);vr([we([])],He.prototype,"clusterSortCriterion",void 0);vr([re({selector:t=>({...t.request,paging:void 0})})],He.prototype,"requestWithoutPaging",void 0);vr([re({selector:t=>t.request.paging})],He.prototype,"paging",void 0);vr([re()],He.prototype,"results",void 0)});var Vh=h(()=>{"use strict"});var Gh={};G(Gh,{FtSearchResults:()=>He,FtSearchResultsCssVariables:()=>Ug,styles:()=>Ec});var Kh=h(()=>{"use strict";k();Pc();wc();Vh();Pc();V("ft-search-results")(He)});var Wg,Lc,Ic=h(()=>{"use strict";z();Wg={},Lc=L`
1368
+ `})}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 n=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");n&&Ys.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,n;let a=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?a.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):a}clusterId(e){var r,n,a,i,s;return(i=(n=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.tocId)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.documentId}};He.styles=Ec;vr([w({type:String,attribute:"cluster-policy"})],He.prototype,"clusterPolicy",void 0);vr([w({type:Boolean})],He.prototype,"displayNoResultsMessage",void 0);vr([w({attribute:!1})],He.prototype,"renderResult",void 0);vr([we([])],He.prototype,"clusterSortCriterion",void 0);vr([re({selector:t=>({...t.request,paging:void 0})})],He.prototype,"requestWithoutPaging",void 0);vr([re({selector:t=>t.request.paging})],He.prototype,"paging",void 0);vr([re()],He.prototype,"results",void 0)});var Zh=h(()=>{"use strict"});var qh={};G(qh,{FtSearchResults:()=>He,FtSearchResultsCssVariables:()=>jg,styles:()=>Ec});var Yh=h(()=>{"use strict";k();Pc();wc();Zh();Pc();V("ft-search-results")(He)});var Vg,Lc,Ic=h(()=>{"use strict";z();Vg={},Lc=L`
1369
1369
 
1370
- `});var Hg,Kt,kc=h(()=>{"use strict";z();k();Ic();Vt();pt();Tc();Et();Hg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Kt=class extends Ve(Me){constructor(){super(),this.addI18nContext(fo,jh)}render(){return this.paging==null?H:M`
1370
+ `});var Gg,Zt,kc=h(()=>{"use strict";z();k();Ic();Gt();pt();Tc();Et();Gg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Zt=class extends Ve(Me){constructor(){super(),this.addI18nContext(fo,Kh)}render(){return this.paging==null?H:M`
1371
1371
  <ft-typography variant="body1">
1372
1372
  ${fo.messages.results(this.paging.totalClustersCount)}
1373
1373
  </ft-typography>
1374
- `}};Kt.elementDefinitions={"ft-typography":ge};Kt.styles=Lc;Hg([re()],Kt.prototype,"paging",void 0)});var Zh=h(()=>{"use strict"});var qh={};G(qh,{FtSearchResultsNumber:()=>Kt,FtSearchResultsNumberCssVariables:()=>Wg,styles:()=>Lc});var Yh=h(()=>{"use strict";k();kc();Ic();Zh();kc();V("ft-search-results-number")(Kt)});k();z();k();z();k();z();k();yr();var oe={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",D.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",D.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",D.colorPrimary),outlineStyle:o.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.extend("--ft-card-outline-color","",D.colorPrimary),selectedOutlineStyle:o.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.extend("--ft-card-selected-outline-color","",D.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",D.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",D.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",D.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",D.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",D.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",D.elevation04)},uf=L`
1374
+ `}};Zt.elementDefinitions={"ft-typography":ge};Zt.styles=Lc;Gg([re()],Zt.prototype,"paging",void 0)});var Qh=h(()=>{"use strict"});var Xh={};G(Xh,{FtSearchResultsNumber:()=>Zt,FtSearchResultsNumberCssVariables:()=>Vg,styles:()=>Lc});var Jh=h(()=>{"use strict";k();kc();Ic();Qh();kc();V("ft-search-results-number")(Zt)});k();z();k();z();k();z();k();yr();var oe={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",D.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",D.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",D.colorPrimary),outlineStyle:o.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.extend("--ft-card-outline-color","",D.colorPrimary),selectedOutlineStyle:o.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.extend("--ft-card-selected-outline-color","",D.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",D.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",D.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",D.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",D.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",D.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",D.elevation04)},uf=L`
1375
1375
  :host {
1376
1376
  display: block;
1377
1377
  }
@@ -1449,7 +1449,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1449
1449
  #action {
1450
1450
  grid-area: actions;
1451
1451
  }
1452
- `;Ko();ra();yr();na();var Re={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",D.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",D.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",D.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",D.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",D.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",D.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",D.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",D.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",D.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",D.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",D.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",D.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",D.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",D.colorPrimary)},Vf=L`
1452
+ `;Zo();oa();yr();aa();var Re={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",D.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",D.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",D.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",D.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",D.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",D.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",D.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",D.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",D.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",D.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",D.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",D.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",D.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",D.colorPrimary)},Vf=L`
1453
1453
  .ft-search-in-doc--container {
1454
1454
  display: flex;
1455
1455
  flex-direction: column;
@@ -1489,7 +1489,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1489
1489
 
1490
1490
  ft-search-result-title {
1491
1491
  color: ${Re.resultTitleTextColor};
1492
- ${O(oa.highlightBackgroundColor,Re.resultHighlightBackgroundColor)};
1492
+ ${O(na.highlightBackgroundColor,Re.resultHighlightBackgroundColor)};
1493
1493
  }
1494
1494
 
1495
1495
  .breadcrumb {
@@ -1498,7 +1498,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1498
1498
 
1499
1499
  ft-search-result-abstract {
1500
1500
  color: ${Re.resultContentTextColor};
1501
- ${O(ta.highlightBackgroundColor,Re.resultHighlightBackgroundColor)};
1501
+ ${O(ra.highlightBackgroundColor,Re.resultHighlightBackgroundColor)};
1502
1502
  }
1503
1503
 
1504
1504
  ft-card:hover {
@@ -1516,7 +1516,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1516
1516
  text-decoration: none;
1517
1517
  color: inherit;
1518
1518
  }
1519
- `;pt();k();ne();var ch;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(ch||(ch={}));var Pg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Jl=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Xl=Symbol("registerInterval");function Lg(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[Xl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Xl]):this.dispatchEvent(new Jl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Xl,Pg([ce()],r.prototype,"stateManager",void 0),r}var ma=class extends Lg(Ie){};ne();ec();var ga=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};pt();var tc=ut.build("designedReaderSearchInDocument");k();z();ne();k();qn();Et();Rr();var ba=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ge=class extends ee{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return M`
1519
+ `;pt();k();ne();var uh;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(uh||(uh={}));var kg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Jl=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Xl=Symbol("registerInterval");function Dg(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[Xl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Xl]):this.dispatchEvent(new Jl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Xl,kg([ce()],r.prototype,"stateManager",void 0),r}var ba=class extends Dg(Ie){};ne();ec();var va=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};pt();var tc=ut.build("designedReaderSearchInDocument");k();z();ne();k();Yn();Et();Rr();var Sa=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ge=class extends J{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return M`
1520
1520
  <div id="container" part="container" class=${rt(e)}>
1521
1521
  ${this.clickable?M`
1522
1522
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
@@ -1534,9 +1534,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1534
1534
  </ft-typography>
1535
1535
  </div>
1536
1536
  </div>
1537
- `}};Ge.elementDefinitions={"ft-ripple":le,"ft-typography":ge};Ge.styles=uf;ba([w()],Ge.prototype,"title",void 0);ba([w({type:Boolean})],Ge.prototype,"clickable",void 0);ba([w({type:Boolean})],Ge.prototype,"selected",void 0);ba([w({type:Boolean})],Ge.prototype,"noHeader",void 0);V("ft-card")(Ge);rc();var Zt=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},$e=class t extends Ve(ma){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(tc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var n;return M`
1537
+ `}};Ge.elementDefinitions={"ft-ripple":le,"ft-typography":ge};Ge.styles=uf;Sa([w()],Ge.prototype,"title",void 0);Sa([w({type:Boolean})],Ge.prototype,"clickable",void 0);Sa([w({type:Boolean})],Ge.prototype,"selected",void 0);Sa([w({type:Boolean})],Ge.prototype,"noHeader",void 0);V("ft-card")(Ge);rc();var qt=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},$e=class t extends Ve(ba){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(tc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var n;return M`
1538
1538
  <style> ${Gf}</style>
1539
- <a href="${ya(e)}" @click="${()=>this.onLinkClick(e,r)} }">
1539
+ <a href="${xa(e)}" @click="${()=>this.onLinkClick(e,r)} }">
1540
1540
  <ft-card clickable noheader>
1541
1541
  <div class="result-container">
1542
1542
  ${this.hideResultTitle?H:M`
@@ -1557,7 +1557,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1557
1557
  .filters=${this.filters}
1558
1558
  scope="ALL_TOPICS"
1559
1559
  ignoreEmptyQuery
1560
- @ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new ga({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(r=this.map)===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1560
+ @ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new va({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(r=this.map)===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1561
1561
  <div class="ft-search-in-doc--container">
1562
1562
  <ft-search-input placeholder=${tc.messages.placeholder()}
1563
1563
  ?triggerSearchOnClear=${this.emptyResultOnClear}
@@ -1574,7 +1574,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1574
1574
  </slot>
1575
1575
  </div>
1576
1576
  </ft-search-context>
1577
- `:H}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new co(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Oh(),Ch)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Th(),_h)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(Dh(),kh)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Sc(),$h)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Oc(),Fh)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Kh(),Gh)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Yh(),qh)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};$e.elementDefinitions={"ft-card":Ge};$e.styles=Vf;Zt([re()],$e.prototype,"map",void 0);Zt([re()],$e.prototype,"searchInDocumentQuery",void 0);Zt([be("ft-search-results")],$e.prototype,"searchResults",void 0);Zt([w({type:Boolean})],$e.prototype,"hideResultTitle",void 0);Zt([w({type:Boolean})],$e.prototype,"hideResultBreadcrumb",void 0);Zt([w({type:Boolean})],$e.prototype,"hideResultAbstract",void 0);Zt([w({type:Boolean})],$e.prototype,"hideResultsNumber",void 0);Zt([w({type:Boolean})],$e.prototype,"emptyResultOnClear",void 0);V("ft-reader-search-in-document")($e);})();
1577
+ `:H}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new co(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Ah(),wh)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Ih(),Lh)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(Bh(),$h)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Sc(),Uh)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Oc(),Hh)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Yh(),qh)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Jh(),Xh)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};$e.elementDefinitions={"ft-card":Ge};$e.styles=Vf;qt([re()],$e.prototype,"map",void 0);qt([re()],$e.prototype,"searchInDocumentQuery",void 0);qt([be("ft-search-results")],$e.prototype,"searchResults",void 0);qt([w({type:Boolean})],$e.prototype,"hideResultTitle",void 0);qt([w({type:Boolean})],$e.prototype,"hideResultBreadcrumb",void 0);qt([w({type:Boolean})],$e.prototype,"hideResultAbstract",void 0);qt([w({type:Boolean})],$e.prototype,"hideResultsNumber",void 0);qt([w({type:Boolean})],$e.prototype,"emptyResultOnClear",void 0);V("ft-reader-search-in-document")($e);})();
1578
1578
  /*! Bundled license information:
1579
1579
 
1580
1580
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: