@fluid-topics/ft-reader-search-in-document 1.2.2 → 1.2.3

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,13 +1,13 @@
1
- "use strict";(()=>{var xy=Object.create;var Bi=Object.defineProperty;var vy=Object.getOwnPropertyDescriptor;var Sy=Object.getOwnPropertyNames;var Oy=Object.getPrototypeOf,Cy=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(t&&(e=t(t=0)),e);var Ey=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Z=(t,e)=>{for(var r in e)Bi(t,r,{get:e[r],enumerable:!0})},wy=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Sy(e))!Cy.call(t,i)&&i!==r&&Bi(t,i,{get:()=>e[i],enumerable:!(n=vy(e,i))||n.enumerable});return t};var Ay=(t,e,r)=>(r=t!=null?xy(Oy(t)):{},wy(e||!t||!t.__esModule?Bi(r,"default",{value:t,enumerable:!0}):r,t));var Gl=y(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(C,E){if(C=C.toLowerCase(),this._getDefinition(C)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${C}" has already been used with this registry`);if(this._definitionsByClass.get(E)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=E.prototype.attributeChangedCallback,U=new Set(E.observedAttributes||[]);g(E,U,R);let q={elementClass:E,connectedCallback:E.prototype.connectedCallback,disconnectedCallback:E.prototype.disconnectedCallback,adoptedCallback:E.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:E.formAssociated,formAssociatedCallback:E.prototype.formAssociatedCallback,formDisabledCallback:E.prototype.formDisabledCallback,formResetCallback:E.prototype.formResetCallback,formStateRestoreCallback:E.prototype.formStateRestoreCallback,observedAttributes:U};this._definitionsByTag.set(C,q),this._definitionsByClass.set(E,q);let X=r.call(n,C);X||(X=h(C),e.call(n,C,X)),this===window.customElements&&(s.set(E,q),q.standInClass=X);let ee=this._awaitingUpgrade.get(C);if(ee){this._awaitingUpgrade.delete(C);for(let m of ee)a.delete(m),v(m,q,!0)}let D=this._whenDefinedPromises.get(C);return D!==void 0&&(D.resolve(E),this._whenDefinedPromises.delete(C)),E}upgrade(){I.push(this),n.upgrade.apply(n,arguments),I.pop()}get(C){return this._definitionsByTag.get(C)?.elementClass}_getDefinition(C){return this._definitionsByTag.get(C)}whenDefined(C){let E=this._getDefinition(C);if(E!==void 0)return Promise.resolve(E.elementClass);let R=this._whenDefinedPromises.get(C);return R===void 0&&(R={},R.promise=new Promise(U=>R.resolve=U),this._whenDefinedPromises.set(C,R)),R.promise}_upgradeWhenDefined(C,E,R){let U=this._awaitingUpgrade.get(E);U||this._awaitingUpgrade.set(E,U=new Set),R?U.add(C):U.delete(C)}};let d;window.HTMLElement=function(){let E=d;if(E)return d=void 0,E;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 E=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(E,this.constructor.prototype),i.set(E,R),E},window.HTMLElement.prototype=t.prototype;let u=C=>C===document||C instanceof ShadowRoot,f=C=>{let E=C.getRootNode();if(!u(E)){let R=I[I.length-1];if(R instanceof CustomElementRegistry)return R;E=R.getRootNode(),u(E)||(E=c.get(E)?.getRootNode()||document)}return E.customElements},h=C=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let U=f(R)||window.customElements,q=U._getDefinition(C);return q?v(R,q):a.set(R,U),R}connectedCallback(){let R=i.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!0)}disconnectedCallback(){let R=i.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=i.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=i.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=i.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=i.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(C,E,R)=>{if(E.size===0||R===void 0)return;let U=C.prototype.setAttribute;U&&(C.prototype.setAttribute=function(ee,D){let m=ee.toLowerCase();if(E.has(m)){let S=this.getAttribute(m);U.call(this,m,D),R.call(this,m,S,D)}else U.call(this,m,D)});let q=C.prototype.removeAttribute;q&&(C.prototype.removeAttribute=function(ee){let D=ee.toLowerCase();if(E.has(D)){let m=this.getAttribute(D);q.call(this,D),R.call(this,D,m,null)}else q.call(this,D)});let X=C.prototype.toggleAttribute;X&&(C.prototype.toggleAttribute=function(ee,D){let m=ee.toLowerCase();if(E.has(m)){let S=this.getAttribute(m);X.call(this,m,D);let M=this.getAttribute(m);R.call(this,m,S,M)}else X.call(this,m,D)})},x=C=>{let E=Object.getPrototypeOf(C);if(E!==window.HTMLElement)return E===t?Object.setPrototypeOf(C,window.HTMLElement):x(E)},v=(C,E,R=!1)=>{Object.setPrototypeOf(C,E.elementClass.prototype),i.set(C,E),d=C;try{new E.elementClass}catch{x(E.elementClass),new E.elementClass}E.attributeChangedCallback&&E.observedAttributes.forEach(U=>{C.hasAttribute(U)&&E.attributeChangedCallback.call(C,U,null,C.getAttribute(U))}),R&&E.connectedCallback&&C.isConnected&&E.connectedCallback.call(C)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(C){let E=A.apply(this,arguments);return C.customElements&&(E.customElements=C.customElements),E};let I=[document],N=(C,E,R=void 0)=>{let U=(R?Object.getPrototypeOf(R):C.prototype)[E];C.prototype[E]=function(){I.push(this);let q=U.apply(R||this,arguments);return q!==void 0&&c.set(q,this),I.pop(),q}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let T=(C,E)=>{let R=Object.getOwnPropertyDescriptor(C.prototype,E);Object.defineProperty(C.prototype,E,{...R,set(U){I.push(this),R.set.call(this,U),I.pop()}})};if(T(Element,"innerHTML"),T(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let C=new WeakMap,E=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ee){let D=E.call(this,...ee);return C.set(D,this),D},R.forEach(ee=>{let D=window.ElementInternals.prototype,m=D[ee];D[ee]=function(...S){let M=C.get(this);if(i.get(M).formAssociated===!0)return m?.call(this,...S);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class U extends Array{constructor(D){super(...D),this._elements=D}get value(){return this._elements.find(D=>D.checked===!0)?.value||""}}class q{constructor(D){let m=new Map;D.forEach((S,M)=>{let G=S.getAttribute("name"),Y=m.get(G)||[];this[+M]=S,Y.push(S),m.set(G,Y)}),this.length=D.length,m.forEach((S,M)=>{S&&(S.length===1?this[M]=S[0]:this[M]=new U(S))})}namedItem(D){return this[D]}}let X=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ee=X.get.call(this,[]),D=[];for(let m of ee){let S=i.get(m);(!S||S.formAssociated===!0)&&D.push(m)}return new q(D)}})}}});var Kl=y(()=>{"use strict";Gl();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}});var tn,on,ql,Zl,rn,Yl,Ui,nn,Fi=y(()=>{tn=globalThis,on=tn.ShadowRoot&&(tn.ShadyCSS===void 0||tn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ql=Symbol(),Zl=new WeakMap,rn=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ql)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(on&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Zl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Zl.set(r,e))}return e}toString(){return this.cssText}},Yl=t=>new rn(typeof t=="string"?t:t+"",void 0,ql),Ui=(t,e)=>{if(on)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=tn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},nn=on?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Yl(r)})(t):t});var Ry,Ny,_y,Py,Ty,Iy,an,Ql,Ly,$y,lo,uo,sn,Xl,Yt,Wi=y(()=>{Fi();Fi();({is:Ry,defineProperty:Ny,getOwnPropertyDescriptor:_y,getOwnPropertyNames:Py,getOwnPropertySymbols:Ty,getPrototypeOf:Iy}=Object),an=globalThis,Ql=an.trustedTypes,Ly=Ql?Ql.emptyScript:"",$y=an.reactiveElementPolyfillSupport,lo=(t,e)=>t,uo={toAttribute(t,e){switch(e){case Boolean:t=t?Ly: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}},sn=(t,e)=>!Ry(t,e),Xl={attribute:!0,type:String,converter:uo,reflect:!1,hasChanged:sn};Symbol.metadata??=Symbol("metadata"),an.litPropertyMetadata??=new WeakMap;Yt=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=Xl){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Ny(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=_y(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Xl}static _$Ei(){if(this.hasOwnProperty(lo("elementProperties")))return;let e=Iy(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(lo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(lo("properties"))){let r=this.properties,n=[...Py(r),...Ty(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,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 i of n)r.unshift(nn(i))}else e!==void 0&&r.push(nn(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._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){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 Ui(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:uo).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:uo;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??sn)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Yt.elementStyles=[],Yt.shadowRootOptions={mode:"open"},Yt[lo("elementProperties")]=new Map,Yt[lo("finalized")]=new Map,$y?.({ReactiveElement:Yt}),(an.reactiveElementVersions??=[]).push("2.0.2")});function ud(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Jl!==void 0?Jl.createHTML(e):e}function er(t,e,r=t,n){if(e===De)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=fo(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=er(t,i._$AS(t,e.values),i,n)),e}var zi,cn,Jl,ji,pt,Vi,ky,Jt,ln,fo,id,ad,Hi,po,ed,td,Qt,rd,od,sd,cd,ld,dd,De,ue,nd,Xt,pd,ho,dn,yo,tr,un,pn,fn,hn,fd,My,ft=y(()=>{zi=globalThis,cn=zi.trustedTypes,Jl=cn?cn.createPolicy("lit-html",{createHTML:t=>t}):void 0,ji="$lit$",pt=`lit$${(Math.random()+"").slice(9)}$`,Vi="?"+pt,ky=`<${Vi}>`,Jt=document,ln=()=>Jt.createComment(""),fo=t=>t===null||typeof t!="object"&&typeof t!="function",id=Array.isArray,ad=t=>id(t)||typeof t?.[Symbol.iterator]=="function",Hi=`[
2
- \f\r]`,po=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ed=/-->/g,td=/>/g,Qt=RegExp(`>|${Hi}(?:([^\\s"'>=/]+)(${Hi}*=${Hi}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),rd=/'/g,od=/"/g,sd=/^(?:script|style|textarea|title)$/i,cd=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ld=cd(1),dd=cd(2),De=Symbol.for("lit-noChange"),ue=Symbol.for("lit-nothing"),nd=new WeakMap,Xt=Jt.createTreeWalker(Jt,129);pd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=po;for(let c=0;c<r;c++){let d=t[c],u,f,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===po?f[1]==="!--"?s=ed:f[1]!==void 0?s=td:f[2]!==void 0?(sd.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Qt):f[3]!==void 0&&(s=Qt):s===Qt?f[0]===">"?(s=i??po,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?Qt:f[3]==='"'?od:rd):s===od||s===rd?s=Qt:s===ed||s===td?s=po:(s=Qt,i=void 0);let x=s===Qt&&t[c+1].startsWith("/>")?" ":"";a+=s===po?d+ky:h>=0?(n.push(u),d.slice(0,h)+ji+d.slice(h)+pt+x):d+pt+(h===-2?c:x)}return[ud(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},ho=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,f]=pd(e,r);if(this.el=t.createElement(u,n),Xt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Xt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(ji)){let g=f[s++],x=i.getAttribute(h).split(pt),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?un:v[1]==="?"?pn:v[1]==="@"?fn:tr}),i.removeAttribute(h)}else h.startsWith(pt)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(sd.test(i.tagName)){let h=i.textContent.split(pt),g=h.length-1;if(g>0){i.textContent=cn?cn.emptyScript:"";for(let x=0;x<g;x++)i.append(h[x],ln()),Xt.nextNode(),d.push({type:2,index:++a});i.append(h[g],ln())}}}else if(i.nodeType===8)if(i.data===Vi)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(pt,h+1))!==-1;)d.push({type:7,index:a}),h+=pt.length-1}a++}}static createElement(e,r){let n=Jt.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,i=(e?.creationScope??Jt).importNode(r,!0);Xt.currentNode=i;let a=Xt.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new yo(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new hn(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=Xt.nextNode(),s++)}return Xt.currentNode=Jt,i}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++}},yo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=ue,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.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),fo(e)?e===ue||e==null||e===""?(this._$AH!==ue&&this._$AR(),this._$AH=ue):e!==this._$AH&&e!==De&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ad(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==ue&&fo(this._$AH)?this._$AA.nextSibling.data=e:this.$(Jt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ho.createElement(ud(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new dn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=nd.get(e.strings);return r===void 0&&nd.set(e.strings,r=new ho(e)),r}T(e){id(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(ln()),this.k(ln()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$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,i,a){this.type=1,this._$AH=ue,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ue}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=er(this,e,r,0),s=!fo(e)||e!==this._$AH&&e!==De,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=er(this,c[n+d],r,d),u===De&&(u=this._$AH[d]),s||=!fo(u)||u!==this._$AH[d],u===ue?e=ue:e!==ue&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===ue?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},un=class extends tr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ue?void 0:e}},pn=class extends tr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ue)}},fn=class extends tr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=er(this,e,r,0)??ue)===De)return;let n=this._$AH,i=e===ue&&n!==ue||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ue&&(n===ue||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},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){er(this,e)}},fd={j:ji,P:pt,A:Vi,C:1,M:pd,L:dn,R:ad,V:er,D:yo,I:tr,H:pn,N:fn,U:un,B:hn},My=zi.litHtmlPolyfillSupport;My?.(ho,yo),(zi.litHtmlVersions??=[]).push("3.1.0")});var yn,mo,Gi,hd,Cr,rr,L,mn,go,Ki=y(()=>{yn=globalThis,mo=yn.ShadowRoot&&(yn.ShadyCSS===void 0||yn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gi=Symbol(),hd=new WeakMap,Cr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Gi)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(mo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=hd.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&hd.set(r,e))}return e}toString(){return this.cssText}},rr=t=>new Cr(typeof t=="string"?t:t+"",void 0,Gi),L=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new Cr(r,t,Gi)},mn=(t,e)=>{if(mo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=yn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},go=mo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return rr(r)})(t):t});var Dy,By,Uy,Fy,Wy,Hy,bn,yd,zy,jy,bo,gn,Zi,md,et,qi=y(()=>{Ki();Ki();({is:Dy,defineProperty:By,getOwnPropertyDescriptor:Uy,getOwnPropertyNames:Fy,getOwnPropertySymbols:Wy,getPrototypeOf:Hy}=Object),bn=globalThis,yd=bn.trustedTypes,zy=yd?yd.emptyScript:"",jy=bn.reactiveElementPolyfillSupport,bo=(t,e)=>t,gn={toAttribute(t,e){switch(e){case Boolean:t=t?zy: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}},Zi=(t,e)=>!Dy(t,e),md={attribute:!0,type:String,converter:gn,reflect:!1,hasChanged:Zi};Symbol.metadata??=Symbol("metadata"),bn.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=md){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&By(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Uy(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??md}static _$Ei(){if(this.hasOwnProperty(bo("elementProperties")))return;let e=Hy(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(bo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bo("properties"))){let r=this.properties,n=[...Fy(r),...Wy(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,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 i of n)r.unshift(go(i))}else e!==void 0&&r.push(go(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._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){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 mn(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:gn).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:gn;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Zi)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[bo("elementProperties")]=new Map,et[bo("finalized")]=new Map,jy?.({ReactiveElement:et}),(bn.reactiveElementVersions??=[]).push("2.0.2")});function Rd(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return gd!==void 0?gd.createHTML(e):e}function ar(t,e,r=t,n){if(e===_t)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=So(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=ar(t,i._$AS(t,e.values),i,n)),e}var Qi,xn,gd,Xi,ht,Ji,Vy,ir,vo,So,Cd,Ed,Yi,xo,bd,xd,or,vd,Sd,wd,Ad,B,Gy,_t,j,Od,nr,Nd,Oo,vn,Er,sr,Sn,On,Cn,En,Ky,Zy,ea,ta=y(()=>{Qi=globalThis,xn=Qi.trustedTypes,gd=xn?xn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xi="$lit$",ht=`lit$${(Math.random()+"").slice(9)}$`,Ji="?"+ht,Vy=`<${Ji}>`,ir=document,vo=()=>ir.createComment(""),So=t=>t===null||typeof t!="object"&&typeof t!="function",Cd=Array.isArray,Ed=t=>Cd(t)||typeof t?.[Symbol.iterator]=="function",Yi=`[
4
- \f\r]`,xo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bd=/-->/g,xd=/>/g,or=RegExp(`>|${Yi}(?:([^\\s"'>=/]+)(${Yi}*=${Yi}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),vd=/'/g,Sd=/"/g,wd=/^(?:script|style|textarea|title)$/i,Ad=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),B=Ad(1),Gy=Ad(2),_t=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),Od=new WeakMap,nr=ir.createTreeWalker(ir,129);Nd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=xo;for(let c=0;c<r;c++){let d=t[c],u,f,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===xo?f[1]==="!--"?s=bd:f[1]!==void 0?s=xd:f[2]!==void 0?(wd.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=or):f[3]!==void 0&&(s=or):s===or?f[0]===">"?(s=i??xo,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?or:f[3]==='"'?Sd:vd):s===Sd||s===vd?s=or:s===bd||s===xd?s=xo:(s=or,i=void 0);let x=s===or&&t[c+1].startsWith("/>")?" ":"";a+=s===xo?d+Vy:h>=0?(n.push(u),d.slice(0,h)+Xi+d.slice(h)+ht+x):d+ht+(h===-2?c:x)}return[Rd(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Oo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,f]=Nd(e,r);if(this.el=t.createElement(u,n),nr.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=nr.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Xi)){let g=f[s++],x=i.getAttribute(h).split(ht),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?Sn:v[1]==="?"?On:v[1]==="@"?Cn:sr}),i.removeAttribute(h)}else h.startsWith(ht)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(wd.test(i.tagName)){let h=i.textContent.split(ht),g=h.length-1;if(g>0){i.textContent=xn?xn.emptyScript:"";for(let x=0;x<g;x++)i.append(h[x],vo()),nr.nextNode(),d.push({type:2,index:++a});i.append(h[g],vo())}}}else if(i.nodeType===8)if(i.data===Ji)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(ht,h+1))!==-1;)d.push({type:7,index:a}),h+=ht.length-1}a++}}static createElement(e,r){let n=ir.createElement("template");return n.innerHTML=e,n}};vn=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,i=(e?.creationScope??ir).importNode(r,!0);nr.currentNode=i;let a=nr.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Er(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new En(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=nr.nextNode(),s++)}return nr.currentNode=ir,i}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++}},Er=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.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=ar(this,e,r),So(e)?e===j||e==null||e===""?(this._$AH!==j&&this._$AR(),this._$AH=j):e!==this._$AH&&e!==_t&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ed(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==j&&So(this._$AH)?this._$AA.nextSibling.data=e:this.$(ir.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Oo.createElement(Rd(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new vn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Od.get(e.strings);return r===void 0&&Od.set(e.strings,r=new Oo(e)),r}T(e){Cd(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(vo()),this.k(vo()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$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))}},sr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=j,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ar(this,e,r,0),s=!So(e)||e!==this._$AH&&e!==_t,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=ar(this,c[n+d],r,d),u===_t&&(u=this._$AH[d]),s||=!So(u)||u!==this._$AH[d],u===j?e=j:e!==j&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Sn=class extends sr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===j?void 0:e}},On=class extends sr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==j)}},Cn=class extends sr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=ar(this,e,r,0)??j)===_t)return;let n=this._$AH,i=e===j&&n!==j||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==j&&(n===j||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},En=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){ar(this,e)}},Ky={j:Xi,P:ht,A:Ji,C:1,M:Nd,L:vn,R:Ed,V:ar,D:Er,I:sr,H:On,N:Cn,U:Sn,B:En},Zy=Qi.litHtmlPolyfillSupport;Zy?.(Oo,Er),(Qi.litHtmlVersions??=[]).push("3.1.0");ea=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Er(e.insertBefore(vo(),a),a,void 0,r??{})}return i._$AI(t),i}});var yt,qy,Yy,_d=y(()=>{qi();qi();ta();ta();yt=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=ea(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return _t}};yt._$litElement$=!0,yt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:yt});qy=globalThis.litElementPolyfillSupport;qy?.({LitElement:yt});Yy={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var zb,Pd=y(()=>{zb=!1});var ra={};Z(ra,{CSSResult:()=>Cr,LitElement:()=>yt,ReactiveElement:()=>et,_$LE:()=>Yy,_$LH:()=>Ky,adoptStyles:()=>mn,css:()=>L,defaultConverter:()=>gn,getCompatibleStyle:()=>go,html:()=>B,isServer:()=>zb,noChange:()=>_t,notEqual:()=>Zi,nothing:()=>j,render:()=>ea,supportsAdoptingStyleSheets:()=>mo,svg:()=>Gy,unsafeCSS:()=>rr});var W=y(()=>{Wi();ft();_d();Pd()});var oa,Td=y(()=>{oa=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"?Id(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}var Qy,Id,na=y(()=>{Wi();Qy={attribute:!0,type:String,converter:uo,reflect:!1,hasChanged:sn},Id=(t=Qy,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)}});function fe(t){return w({...t,state:!0,attribute:!1})}var Ld=y(()=>{na();});function wr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var $d=y(()=>{});var Ke,Ar=y(()=>{Ke=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function xe(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Ke(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ke(r,n,{get(){return a(this)}})}}var kd=y(()=>{Ar();});function Jy(t){return(e,r)=>Ke(e,r,{get(){return(this.renderRoot??(Xy??=document.createDocumentFragment())).querySelectorAll(t)}})}var Xy,Md=y(()=>{Ar();});function em(t){return(e,r)=>Ke(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var Dd=y(()=>{Ar();});function tm(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ke(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}var Bd=y(()=>{Ar();});function ia(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ke(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Ud=y(()=>{Ar();});var aa={};Z(aa,{customElement:()=>oa,eventOptions:()=>wr,property:()=>w,query:()=>xe,queryAll:()=>Jy,queryAssignedElements:()=>tm,queryAssignedNodes:()=>ia,queryAsync:()=>em,standardProperty:()=>Id,state:()=>fe});var oe=y(()=>{Td();na();Ld();$d();kd();Md();Dd();Bd();Ud()});var Pt,Tt,tt,Co=y(()=>{Pt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Tt=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 rm,Fd,Rr,It,om,Wd,Hd,wn,zd=y(()=>{ft();({D:rm}=fd),Fd=()=>document.createComment(""),Rr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Fd(),i),s=n.insertBefore(Fd(),i);r=new rm(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||c){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},It=(t,e,r=t)=>(t._$AI(e,r),t),om={},Wd=(t,e=om)=>t._$AH=e,Hd=t=>t._$AH,wn=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 jd,Eo,Vd=y(()=>{ft();Co();zd();jd=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Eo=Tt(class extends tt{constructor(t){if(super(t),t.type!==Pt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=r(c,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=Hd(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],d=[],u,f,h=0,g=i.length-1,x=0,v=a.length-1;for(;h<=g&&x<=v;)if(i[h]===null)h++;else if(i[g]===null)g--;else if(c[h]===s[x])d[x]=It(i[h],a[x]),h++,x++;else if(c[g]===s[v])d[v]=It(i[g],a[v]),g--,v--;else if(c[h]===s[v])d[v]=It(i[h],a[v]),Rr(t,d[v+1],i[h]),h++,v--;else if(c[g]===s[x])d[x]=It(i[g],a[x]),Rr(t,i[h],i[g]),g--,x++;else if(u===void 0&&(u=jd(s,x,v),f=jd(c,h,g)),u.has(c[h]))if(u.has(c[g])){let A=f.get(s[x]),I=A!==void 0?i[A]:null;if(I===null){let N=Rr(t,i[h]);It(N,a[x]),d[x]=N}else d[x]=It(I,a[x]),Rr(t,i[h],I),i[A]=null;x++}else wn(i[g]),g--;else wn(i[h]),h++;for(;x<=v;){let A=Rr(t,d[v+1]);It(A,a[x]),d[x++]=A}for(;h<=g;){let A=i[h++];A!==null&&wn(A)}return this.dt=s,Wd(t,d),De}})});var sa={};Z(sa,{repeat:()=>Eo});var An=y(()=>{Vd()});var mt,Gd=y(()=>{ft();Co();mt=Tt(class extends tt{constructor(t){if(super(t),t.type!==Pt.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.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return De}})});var ca={};Z(ca,{classMap:()=>mt});var Nr=y(()=>{Gd()});var Kd,nm,im,Zd=y(()=>{ft();Co();Kd="important",nm=" !"+Kd,im=Tt(class extends tt{constructor(t){if(super(t),t.type!==Pt.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.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(nm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Kd:""):r[n]=i}}return De}})});var la={};Z(la,{styleMap:()=>im});var qd=y(()=>{Zd()});var _r,cr,Yd=y(()=>{ft();Co();_r=class extends tt{constructor(e){if(super(e),this.et=ue,e.type!==Pt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ue||e==null)return this.vt=void 0,this.et=e;if(e===De)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};_r.directiveName="unsafeHTML",_r.resultType=1;cr=Tt(_r)});var da={};Z(da,{UnsafeHTMLDirective:()=>_r,unsafeHTML:()=>cr});var wo=y(()=>{Yd()});var ua={};Z(ua,{CancelablePromise:()=>Pr,CanceledPromiseError:()=>Lt,cancelable:()=>Tr});var Lt,Pr,Tr,Rn=y(()=>{"use strict";Lt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Pr=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Lt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Lt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Tr=t=>new Pr((e,r)=>t.then(e).catch(r))});var pa={};Z(pa,{CacheRegistry:()=>rt});var rt,fa=y(()=>{"use strict";Rn();rt=class{constructor(){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(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Pr&&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 i=Tr(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}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 ya={};Z(ya,{ClusteringHelper:()=>ha});var ha,ma=y(()=>{"use strict";ha=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:c,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,f,h)=>h.findIndex(g=>g.value===u.value)===f).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,f)=>this.compareMetadata(u.metadata.value,f.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?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 u;return((u=t.extractResultMetadata(d,e))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>c&&(c=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}}});var ga={};Z(ga,{Debouncer:()=>Oe});var Oe,Nn=y(()=>{"use strict";Oe=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 i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var xa={};Z(xa,{dateReviver:()=>sm,deepEqual:()=>Ze,delay:()=>_n,eventPathContainsMatchingElement:()=>lm,flatDeep:()=>Xd,hasChanged:()=>Ao,last:()=>dm,minmax:()=>ba,parseDate:()=>Jd,unslotText:()=>Pn,waitFor:()=>Qd,waitUntil:()=>am});async function am(t,e=10,r=2e4){await Qd(async()=>await t()||void 0,e,r)}async function Qd(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await _n(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Xd(t,e){return t.flatMap(r=>[r,...Xd(e(r),e)])}function sm(...t){return function(e,r){return t.includes(e)?Jd(r):r}}function Jd(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,i)=>r+n+":"+i),new Date(t)}function cm(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,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ze(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(!Ze(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();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ze(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ze(t,e){try{return cm(t,e)}catch{return!1}}function Ao(t,e){return!Ze(t,e)}function lm(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function ba(t,e,r){return Math.min(Math.max(t,e),r)}function dm(t){return t[t.length-1]}function Pn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Pn(e)).join(""):t?.textContent||""}var _n,Ir=y(()=>{"use strict";_n=t=>new Promise(e=>setTimeout(e,t))});var va={};Z(va,{customElement:()=>V,isNumber:()=>eu,jsonProperty:()=>Ce,optionalNumberProperty:()=>um});function Ce(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:Ao,...e??{}})}function um(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return eu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function eu(t){return!isNaN(parseFloat(t))}var V,Tn=y(()=>{"use strict";oe();Ir();V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function O(t,e){return gt(`${t.name}: ${e}`)}var gt,o,Q=y(()=>{W();gt=t=>typeof t=="string"?rr(t):t,o=class{static create(e,r,n,i){let a=c=>gt(c??i),s=L`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>L`var(${gt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=L`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>L`var(${gt(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):gt(a??e.lastResortDefaultValue()),i=L`var(${gt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>L`var(${gt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var l,Sa,Oa,Ca,Ea,wa,Aa,Ra,Na,_a,tu,Pa,Ta,Ia,La,$a,ka,Ma,Da,Ba,Ua,Fa,Wa,Ha,za,ja,Va,Ro,pm,J=y(()=>{Q();l={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(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 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"),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)")},Sa={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")},Oa={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")},Ca={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")},Ea={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")},wa={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")},Aa={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")},Ra={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")},Na={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")},_a={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")},tu={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")},Pa={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")},Ta={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")},Ia={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")},La={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")},$a={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")},ka={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")},Ma={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")},Da={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")},Ba={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")},Ua={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")},Fa={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")},Wa={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")},Ha={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")},za={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")},ja={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")},Va={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")},Ro={display:Sa,"title-1":Oa,"title-2":Ca,"title-3":Ea,"body-1-regular":wa,"body-1-medium":Aa,"body-1-semibold":Ra,"body-2-regular":Na,"body-2-medium":_a,"body-2-medium-underline":tu,"body-2-semibold":Pa,"label-1-medium":Ta,"label-1-semibold":Ia,"label-1-bold":La,"label-2-medium":$a,"label-2-semibold":ka,"label-2-bold":Ma,"caption-1-medium":Da,"caption-1-semibold":Ba,"caption-1-bold":Ua,"caption-2-medium":Fa,"caption-2-semibold":Wa,"caption-2-bold":Ha,"caption-3-medium":za,"caption-3-semibold":ja,"caption-3-bold":Va},pm=["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 p,ne=y(()=>{Q();J();p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var b,ru=y(()=>{Q();J();ne();b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.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","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.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","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.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","",l.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","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.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","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.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","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.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","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.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","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.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","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)}});var fm,ou=y(()=>{Q();J();ne();fm={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.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","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.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","",l.iconSize2)}});var hm,nu=y(()=>{Q();J();ne();hm={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.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","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.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","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.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","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)}});var ym,iu=y(()=>{Q();J();ne();ym={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var mm,au=y(()=>{Q();J();ne();mm={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)}});var gm,su=y(()=>{Q();J();ne();gm={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)}});var bm,cu=y(()=>{Q();J();ne();bm={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)}});var xm,lu=y(()=>{Q();J();ne();xm={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var vm,du=y(()=>{Q();J();ne();vm={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)}});var Sm,uu=y(()=>{Q();J();Sm={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var Om,pu=y(()=>{Q();J();ne();Om={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var Cm,fu=y(()=>{Q();J();ne();Cm={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.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","",l.colorGray700)}});var Em,hu=y(()=>{Q();J();ne();Em={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)}});var wm,yu=y(()=>{Q();J();ne();wm={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.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","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var Am,mu=y(()=>{Q();J();ne();Am={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.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","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)}});var Rm,gu=y(()=>{Q();J();ne();Rm={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var Nm,bu=y(()=>{Q();J();ne();Nm={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var _m,xu=y(()=>{Q();J();ne();_m={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.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","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)}});var Pm,vu=y(()=>{Q();J();ne();Pm={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")}});var Tm,Su=y(()=>{Q();J();ne();Tm={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var Im,Ou=y(()=>{Q();J();ne();Im={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var Lm,Cu=y(()=>{Q();J();Lm={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)}});var $m,Eu=y(()=>{Q();J();$m={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var km,wu=y(()=>{Q();J();ne();km={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)}});var Mm,Au=y(()=>{Q();J();ne();Mm={color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)}});var Dm,Ru=y(()=>{Q();J();ne();Dm={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var Bm,Nu=y(()=>{Q();J();ne();Bm={color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.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","",l.spacing3)}});var Um,_u=y(()=>{Q();J();ne();Um={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var Fm,Pu=y(()=>{Q();J();ne();Fm={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var Tu=y(()=>{J();ne();ru();ou();nu();iu();au();su();cu();lu();du();uu();pu();fu();hu();yu();mu();gu();bu();xu();vu();Su();Ou();Cu();Eu();wu();Au();Ru();Nu();_u();Pu()});function Ga(t){return`ftds--family-${t}`}function Ka(t){return`ftds--size-${t}`}var lr,bt,Iu=y(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(lr||(lr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(bt||(bt={}))});var K=y(()=>{Q();Tu();Iu()});var Za={};Z(Za,{DesignSystemFamily:()=>lr,DesignSystemSize:()=>bt,FtCssVariableFactory:()=>o,badge:()=>gm,banner:()=>mm,button:()=>b,chart:()=>Lm,checkbox:()=>Mm,chip:()=>hm,chipChoice:()=>fm,collapsible:()=>Tm,comboboxMultiSelect:()=>_m,comboboxSingleSelect:()=>Nm,drawer:()=>Cm,floatingMenu:()=>Rm,foundation:()=>l,link:()=>ym,modal:()=>Om,notice:()=>km,notification:()=>Um,pageDesigner:()=>$m,pageFooter:()=>vm,pageHeader:()=>xm,pageLayout:()=>Sm,popover:()=>Pm,radio:()=>Bm,resolveFamilyClass:()=>Ga,resolveSizeClass:()=>Ka,semantic:()=>p,setVariable:()=>O,switch_:()=>Im,tabs:()=>Em,textArea:()=>Am,textInput:()=>wm,titleBreadcrumb:()=>bm,toggle:()=>Dm,tooltip:()=>Fm,typographies:()=>Ro,typographyBody1Medium:()=>Aa,typographyBody1Regular:()=>wa,typographyBody1Semibold:()=>Ra,typographyBody2Medium:()=>_a,typographyBody2MediumUnderline:()=>tu,typographyBody2Regular:()=>Na,typographyBody2Semibold:()=>Pa,typographyCaption1Bold:()=>Ua,typographyCaption1Medium:()=>Da,typographyCaption1Semibold:()=>Ba,typographyCaption2Bold:()=>Ha,typographyCaption2Medium:()=>Fa,typographyCaption2Semibold:()=>Wa,typographyCaption3Bold:()=>Va,typographyCaption3Medium:()=>za,typographyCaption3Semibold:()=>ja,typographyDisplay:()=>Sa,typographyLabel1Bold:()=>La,typographyLabel1Medium:()=>Ta,typographyLabel1Semibold:()=>Ia,typographyLabel2Bold:()=>Ma,typographyLabel2Medium:()=>$a,typographyLabel2Semibold:()=>ka,typographyTitle1:()=>Oa,typographyTitle2:()=>Ca,typographyTitle3:()=>Ea,typographyVariants:()=>pm});var In=y(()=>{"use strict";K()});var qa={};Z(qa,{designSystemVariables:()=>$});var $,Ya=y(()=>{"use strict";In();$={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")}});var es={};Z(es,{FtNotificationEvent:()=>Qa,PostResizeEvent:()=>Ja,PreResizeEvent:()=>Xa});var Qa,Xa,Ja,ts=y(()=>{"use strict";Qa=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Xa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Ja=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function os(t,e,r){return $t(t,Po(e,r))}function Lr(t,e){return typeof t=="function"?t(e):t}function ot(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function ns(t){return t==="x"?"y":"x"}function is(t){return t==="y"?"height":"width"}function Io(t){return["top","bottom"].includes(ot(t))?"y":"x"}function as(t){return ns(Io(t))}function ss(t,e,r){r===void 0&&(r=!1);let n=nt(t),i=as(t),a=is(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=_o(s)),[s,_o(s)]}function ku(t){let e=_o(t);return[No(t),e,No(e)]}function No(t){return t.replace(/start|end/g,e=>Hm[e])}function zm(t,e,r){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?a:s;default:return[]}}function Mu(t,e,r,n){let i=nt(t),a=zm(ot(t),r==="start",n);return i&&(a=a.map(s=>s+"-"+i),e&&(a=a.concat(a.map(No)))),a}function _o(t){return t.replace(/left|right|bottom|top/g,e=>Wm[e])}function jm(t){return{top:0,right:0,bottom:0,left:0,...t}}function Du(t){return typeof t!="number"?jm(t):{top:t,right:t,bottom:t,left:t}}function dr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var $u,Lu,rs,Po,$t,To,xt,Wm,Hm,Ln=y(()=>{$u=["top","right","bottom","left"],Lu=["start","end"],rs=$u.reduce((t,e)=>t.concat(e,e+"-"+Lu[0],e+"-"+Lu[1]),[]),Po=Math.min,$t=Math.max,To=Math.round,xt=t=>({x:t,y:t}),Wm={left:"right",right:"left",bottom:"top",top:"bottom"},Hm={start:"end",end:"start"}});function Bu(t,e,r){let{reference:n,floating:i}=t,a=Io(e),s=as(e),c=is(s),d=ot(e),u=a==="y",f=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:f,y:n.y-i.height};break;case"bottom":x={x:f,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-i.width,y:h};break;default:x={x:n.x,y:n.y}}switch(nt(e)){case"start":x[s]-=g*(r&&u?-1:1);break;case"end":x[s]+=g*(r&&u?-1:1);break}return x}async function $n(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:x=0}=Lr(e,t),v=Du(x),I=c[g?h==="floating"?"reference":"floating":h],N=dr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(I)))==null||r?I:I.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:d})),T=h==="floating"?{...s.floating,x:n,y:i}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),E=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},R=dr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:C,strategy:d}):T);return{top:(N.top-R.top+v.top)/E.y,bottom:(R.bottom-N.bottom+v.bottom)/E.y,left:(N.left-R.left+v.left)/E.x,right:(R.right-N.right+v.right)/E.x}}function Vm(t,e,r){return(t?[...r.filter(i=>nt(i)===t),...r.filter(i=>nt(i)!==t)]:r.filter(i=>ot(i)===i)).filter(i=>t?nt(i)===t||(e?No(i)!==i:!1):!0)}async function Gm(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=ot(r),c=nt(r),d=Io(r)==="y",u=["left","top"].includes(s)?-1:1,f=a&&d?-1:1,h=Lr(e,t),{mainAxis:g,crossAxis:x,alignmentAxis:v}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return c&&typeof v=="number"&&(x=c==="end"?v*-1:v),d?{x:x*f,y:g*u}:{x:g*u,y:x*f}}var Uu,cs,ls,ds,us,ps=y(()=>{Ln();Ln();Uu=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:h}=Bu(u,n,d),g=n,x={},v=0;for(let A=0;A<c.length;A++){let{name:I,fn:N}=c[A],{x:T,y:C,data:E,reset:R}=await N({x:f,y:h,initialPlacement:n,placement:g,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:t,floating:e}});if(f=T??f,h=C??h,x={...x,[I]:{...x[I],...E}},R&&v<=50){v++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(u=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):R.rects),{x:f,y:h}=Bu(u,g,d)),A=-1;continue}}return{x:f,y:h,placement:g,strategy:i,middlewareData:x}};cs=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:g=rs,autoAlignment:x=!0,...v}=Lr(t,e),A=h!==void 0||g===rs?Vm(h||null,x,g):g,I=await $n(e,v),N=((r=s.autoPlacement)==null?void 0:r.index)||0,T=A[N];if(T==null)return{};let C=ss(T,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==T)return{reset:{placement:A[0]}};let E=[I[ot(T)],I[C[0]],I[C[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:E}],U=A[N+1];if(U)return{data:{index:N+1,overflows:R},reset:{placement:U}};let q=R.map(D=>{let m=nt(D.placement);return[D.placement,m&&f?D.overflows.slice(0,2).reduce((S,M)=>S+M,0):D.overflows[0],D.overflows]}).sort((D,m)=>D[1]-m[1]),ee=((i=q.filter(D=>D[2].slice(0,nt(D[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||q[0][0];return ee!==c?{data:{index:N+1,overflows:R},reset:{placement:ee}}:{}}}},ls=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:d,elements:u}=e,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:A=!0,...I}=Lr(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let N=ot(i),T=ot(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(u.floating)),E=g||(T||!A?[_o(c)]:ku(c));!g&&v!=="none"&&E.push(...Mu(c,A,v,C));let R=[c,...E],U=await $n(e,I),q=[],X=((n=a.flip)==null?void 0:n.overflows)||[];if(f&&q.push(U[N]),h){let S=ss(i,s,C);q.push(U[S[0]],U[S[1]])}if(X=[...X,{placement:i,overflows:q}],!q.every(S=>S<=0)){var ee,D;let S=(((ee=a.flip)==null?void 0:ee.index)||0)+1,M=R[S];if(M)return{data:{index:S,overflows:X},reset:{placement:M}};let G=(D=X.filter(Y=>Y.overflows[0]<=0).sort((Y,z)=>Y.overflows[1]-z.overflows[1])[0])==null?void 0:D.placement;if(!G)switch(x){case"bestFit":{var m;let Y=(m=X.map(z=>[z.placement,z.overflows.filter(Je=>Je>0).reduce((Je,co)=>Je+co,0)]).sort((z,Je)=>z[1]-Je[1])[0])==null?void 0:m[0];Y&&(G=Y);break}case"initialPlacement":G=c;break}if(i!==G)return{reset:{placement:G}}}return{}}}};ds=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:a,placement:s,middlewareData:c}=e,d=await Gm(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},us=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:I=>{let{x:N,y:T}=I;return{x:N,y:T}}},...d}=Lr(t,e),u={x:r,y:n},f=await $n(e,d),h=Io(ot(i)),g=ns(h),x=u[g],v=u[h];if(a){let I=g==="y"?"top":"left",N=g==="y"?"bottom":"right",T=x+f[I],C=x-f[N];x=os(T,x,C)}if(s){let I=h==="y"?"top":"left",N=h==="y"?"bottom":"right",T=v+f[I],C=v-f[N];v=os(T,v,C)}let A=c.fn({...e,[g]:x,[h]:v});return{...A,data:{x:A.x-r,y:A.y-n}}}}}});function vt(t){return Wu(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function St(t){var e;return(e=(Wu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Wu(t){return t instanceof Node||t instanceof _e(t).Node}function it(t){return t instanceof Element||t instanceof _e(t).Element}function qe(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function Fu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function $r(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Be(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Hu(t){return["table","td","th"].includes(vt(t))}function Mn(t){let e=Dn(),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 zu(t){let e=ur(t);for(;qe(e)&&!Lo(e);){if(Mn(e))return e;e=ur(e)}return null}function Dn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Lo(t){return["html","body","#document"].includes(vt(t))}function Be(t){return _e(t).getComputedStyle(t)}function $o(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ur(t){if(vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Fu(t)&&t.host||St(t);return Fu(e)?e.host:e}function ju(t){let e=ur(t);return Lo(e)?t.ownerDocument?t.ownerDocument.body:t.body:qe(e)&&$r(e)?e:ju(e)}function kn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ju(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=_e(i);return a?e.concat(s,s.visualViewport||[],$r(i)?i:[],s.frameElement&&r?kn(s.frameElement):[]):e.concat(i,kn(i,[],r))}var Vu=y(()=>{});function Zu(t){let e=Be(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=qe(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=To(r)!==a||To(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function qu(t){return it(t)?t:t.contextElement}function kr(t){let e=qu(t);if(!qe(e))return xt(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Zu(e),s=(a?To(r.width):r.width)/n,c=(a?To(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function Yu(t){let e=_e(t);return!Dn()||!e.visualViewport?Km:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Zm(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==_e(t)?!1:e}function ko(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=qu(t),s=xt(1);e&&(n?it(n)&&(s=kr(n)):s=kr(t));let c=Zm(a,r,n)?Yu(a):xt(0),d=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,f=i.width/s.x,h=i.height/s.y;if(a){let g=_e(a),x=n&&it(n)?_e(n):n,v=g.frameElement;for(;v&&n&&x!==g;){let A=kr(v),I=v.getBoundingClientRect(),N=Be(v),T=I.left+(v.clientLeft+parseFloat(N.paddingLeft))*A.x,C=I.top+(v.clientTop+parseFloat(N.paddingTop))*A.y;d*=A.x,u*=A.y,f*=A.x,h*=A.y,d+=T,u+=C,v=_e(v).frameElement}}return dr({width:f,height:h,x:d,y:u})}function qm(t){let{rect:e,offsetParent:r,strategy:n}=t,i=qe(r),a=St(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=xt(1),d=xt(0);if((i||!i&&n!=="fixed")&&((vt(r)!=="body"||$r(a))&&(s=$o(r)),qe(r))){let u=ko(r);c=kr(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function Ym(t){return Array.from(t.getClientRects())}function Qu(t){return ko(St(t)).left+$o(t).scrollLeft}function Qm(t){let e=St(t),r=$o(t),n=t.ownerDocument.body,i=$t(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=$t(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Qu(t),c=-r.scrollTop;return Be(n).direction==="rtl"&&(s+=$t(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Xm(t,e){let r=_e(t),n=St(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let u=Dn();(!u||u&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function Jm(t,e){let r=ko(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=qe(t)?kr(t):xt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,u=n*a.y;return{width:s,height:c,x:d,y:u}}function Gu(t,e,r){let n;if(e==="viewport")n=Xm(t,r);else if(e==="document")n=Qm(St(t));else if(it(e))n=Jm(e,r);else{let i=Yu(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return dr(n)}function Xu(t,e){let r=ur(t);return r===e||!it(r)||Lo(r)?!1:Be(r).position==="fixed"||Xu(r,e)}function eg(t,e){let r=e.get(t);if(r)return r;let n=kn(t,[],!1).filter(c=>it(c)&&vt(c)!=="body"),i=null,a=Be(t).position==="fixed",s=a?ur(t):t;for(;it(s)&&!Lo(s);){let c=Be(s),d=Mn(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||$r(s)&&!d&&Xu(t,s))?n=n.filter(f=>f!==s):i=c,s=ur(s)}return e.set(t,n),n}function tg(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?eg(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((u,f)=>{let h=Gu(e,f,i);return u.top=$t(h.top,u.top),u.right=Po(h.right,u.right),u.bottom=Po(h.bottom,u.bottom),u.left=$t(h.left,u.left),u},Gu(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function rg(t){return Zu(t)}function og(t,e,r){let n=qe(e),i=St(e),a=r==="fixed",s=ko(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=xt(0);if(n||!n&&!a)if((vt(e)!=="body"||$r(i))&&(c=$o(e)),n){let u=ko(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=Qu(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function Ku(t,e){return!qe(t)||Be(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ju(t,e){let r=_e(t);if(!qe(t))return r;let n=Ku(t,e);for(;n&&Hu(n)&&Be(n).position==="static";)n=Ku(n,e);return n&&(vt(n)==="html"||vt(n)==="body"&&Be(n).position==="static"&&!Mn(n))?r:n||zu(t)||r}function ig(t){return Be(t).direction==="rtl"}var Km,ng,Mr,fs,ep=y(()=>{ps();ps();Ln();Vu();Km=xt(0);ng=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Ju,a=this.getDimensions;return{reference:og(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};Mr={convertOffsetParentRelativeRectToViewportRelativeRect:qm,getDocumentElement:St,getClippingRect:tg,getOffsetParent:Ju,getElementRects:ng,getClientRects:Ym,getDimensions:rg,getScale:kr,isElement:it,isRTL:ig},fs=(t,e,r)=>{let n=new Map,i={platform:Mr,...r},a={...i.platform,_c:n};return Uu(t,e,{...i,platform:a})}});function ys(t){return ag(t)}function hs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ag(t){for(let e=t;e;e=hs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=hs(t);e;e=hs(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 tp=y(()=>{});var gs={};Z(gs,{computeFlipOffsetPosition:()=>sg,computeOffsetPosition:()=>ms});async function ms(t,e,r){return fs(t,e,{platform:{...Mr,getOffsetParent:n=>Mr.getOffsetParent(n,ys)},middleware:[us({crossAxis:!0}),cs({allowedPlacements:[r]})]})}async function sg(t,e,r,n,i){return fs(t,e,{placement:r,strategy:i,platform:{...Mr,getOffsetParent:a=>Mr.getOffsetParent(a,ys)},middleware:[ds(4),ls({fallbackPlacements:n})]})}var Bn=y(()=>{"use strict";ep();tp()});var Un,cg,lO,rp,op=y(()=>{Un=window,cg=Un.ShadowRoot&&(Un.ShadyCSS===void 0||Un.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lO=Symbol(),rp=(t,e)=>{cg?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Un.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var bs={};Z(bs,{ScopedRegistryLitElement:()=>Mo});var Mo,Fn=y(()=>{"use strict";W();op();Mo=class extends yt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return rp(n,e.elementStyles),n}}});var xs={};Z(xs,{FtLitElement:()=>te});var Wn,sp,np,ip,cp,ap,te,Do=y(()=>{"use strict";oe();Tn();Nn();Fn();Wn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},np=Symbol("constructorPrototype"),ip=Symbol("constructorName"),cp=Symbol("exportpartsDebouncer"),ap=Symbol("dynamicDependenciesLoaded"),te=class extends Mo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[sp]=new Oe(5),this[ip]=this.constructor.name,this[np]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ip]&&Object.setPrototypeOf(this,this[np])}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[ap]||(e[ap]=!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,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}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[cp].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,c;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let f=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 x=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(A=>A.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...v).filter(d).map(A=>A.trim()).forEach(A=>f.add(A))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(g=>u.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};sp=cp;Wn([w()],te.prototype,"exportpartsPrefix",void 0);Wn([Ce([])],te.prototype,"exportpartsPrefixes",void 0);Wn([w()],te.prototype,"customStylesheet",void 0);Wn([fe()],te.prototype,"useAdoptedStyleSheets",void 0)});var Ss={};Z(Ss,{FtdsBase:()=>vs,toFtdsBase:()=>Hn});function Hn(t){class e extends t{constructor(){super(...arguments),this.size=bt.medium,this.family=lr.neutral}getDesignSystemBaseClasses(){return{[Ga(this.family)]:!0,[Ka(this.size)]:!0}}}return lp([w()],e.prototype,"size",void 0),lp([w()],e.prototype,"family",void 0),e}var lp,vs,Os=y(()=>{"use strict";Do();oe();K();lp=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};vs=class extends Hn(te){}});var dp={};var Cs=y(()=>{"use strict"});var pr,up=y(()=>{pr=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}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 i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=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,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,f=>{r(u)&&(c++,n(f)),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 i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)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,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),c=[],d=[],u,f,h=()=>({prevNode:f,node:u}=this.getIteratorNode(s),u);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(u,f,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),i)}),d.push(u);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}}});var Bo,pp=y(()=>{up();Bo=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 pr(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",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,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,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?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"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){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(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.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((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return pr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let u=r-s.start,f=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,f),e.value=h+g,e.nodes.forEach((x,v)=>{v>=c&&(e.nodes[v].start>0&&v!==c&&(e.nodes[v].start-=f),e.nodes[v].end-=f)}),n-=f,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let f=u.index;if(s!==0)for(let h=1;h<s;h++)f+=u[h].length;d=this.wrapRangeInTextNode(d,f,f+u[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let h=1;h<s;h++)u+=d[h].length;let f=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,f,h=>n(d[s],h),(h,g)=>{e.lastIndex=g,i(h)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:u,end:f,valid:h}=this.checkWhitespaceRanges(c,s,a.value);h&&this.wrapRangeInMappedTextNode(a,u,f,g=>r(g,c,a.value.substring(u,f),d),g=>{n(g,c)})}),i()})}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,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=u=>{let f=new RegExp(this.createRegExp(u),`gm${c}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(g,x)=>this.opt.filter(x,u,n,h),g=>{h++,n++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,d)=>this.opt.filter(a,s,c,d),(a,s)=>{n++,this.opt.each(a,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 i=pr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Es(t){let e=new Bo(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 fp=y(()=>{pp()});var As={};Z(As,{highlightHtml:()=>ws,highlightHtmlColorCssVariable:()=>hp,highlightHtmlStyles:()=>dg});function ws(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new lg(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(c.each=u=>{for(let f in r.attributes)u.setAttribute(f,r.attributes[f])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var lg,hp,dg,Rs=y(()=>{"use strict";W();K();fp();lg=Es,hp=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),dg=L`
1
+ "use strict";(()=>{var wy=Object.create;var ji=Object.defineProperty;var Ay=Object.getOwnPropertyDescriptor;var Ry=Object.getOwnPropertyNames;var Ny=Object.getPrototypeOf,_y=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(t&&(e=t(t=0)),e);var Py=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Y=(t,e)=>{for(var r in e)ji(t,r,{get:e[r],enumerable:!0})},Ly=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ry(e))!_y.call(t,i)&&i!==r&&ji(t,i,{get:()=>e[i],enumerable:!(n=Ay(e,i))||n.enumerable});return t};var Ty=(t,e,r)=>(r=t!=null?wy(Ny(t)):{},Ly(e||!t||!t.__esModule?ji(r,"default",{value:t,enumerable:!0}):r,t));var Yl=y(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,C){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(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=C.prototype.attributeChangedCallback,M=new Set(C.observedAttributes||[]);g(C,M,R);let z={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:M};this._definitionsByTag.set(A,z),this._definitionsByClass.set(C,z);let Q=r.call(n,A);Q||(Q=h(A),e.call(n,A,Q)),this===window.customElements&&(s.set(C,z),z.standInClass=Q);let q=this._awaitingUpgrade.get(A);if(q){this._awaitingUpgrade.delete(A);for(let m of q)a.delete(m),v(m,z,!0)}let U=this._whenDefinedPromises.get(A);return U!==void 0&&(U.resolve(C),this._whenDefinedPromises.delete(A)),C}upgrade(){P.push(this),n.upgrade.apply(n,arguments),P.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let C=this._getDefinition(A);if(C!==void 0)return Promise.resolve(C.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(M=>R.resolve=M),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,C,R){let M=this._awaitingUpgrade.get(C);M||this._awaitingUpgrade.set(C,M=new Set),R?M.add(A):M.delete(A)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;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 C=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),i.set(C,R),C},window.HTMLElement.prototype=t.prototype;let u=A=>A===document||A instanceof ShadowRoot,f=A=>{let C=A.getRootNode();if(!u(C)){let R=P[P.length-1];if(R instanceof CustomElementRegistry)return R;C=R.getRootNode(),u(C)||(C=c.get(C)?.getRootNode()||document)}return C.customElements},h=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let M=f(R)||window.customElements,z=M._getDefinition(A);return z?v(R,z):a.set(R,M),R}connectedCallback(){let R=i.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=i.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=i.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=i.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=i.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=i.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(A,C,R)=>{if(C.size===0||R===void 0)return;let M=A.prototype.setAttribute;M&&(A.prototype.setAttribute=function(q,U){let m=q.toLowerCase();if(C.has(m)){let S=this.getAttribute(m);M.call(this,m,U),R.call(this,m,S,U)}else M.call(this,m,U)});let z=A.prototype.removeAttribute;z&&(A.prototype.removeAttribute=function(q){let U=q.toLowerCase();if(C.has(U)){let m=this.getAttribute(U);z.call(this,U),R.call(this,U,m,null)}else z.call(this,U)});let Q=A.prototype.toggleAttribute;Q&&(A.prototype.toggleAttribute=function(q,U){let m=q.toLowerCase();if(C.has(m)){let S=this.getAttribute(m);Q.call(this,m,U);let D=this.getAttribute(m);R.call(this,m,S,D)}else Q.call(this,m,U)})},x=A=>{let C=Object.getPrototypeOf(A);if(C!==window.HTMLElement)return C===t?Object.setPrototypeOf(A,window.HTMLElement):x(C)},v=(A,C,R=!1)=>{Object.setPrototypeOf(A,C.elementClass.prototype),i.set(A,C),d=A;try{new C.elementClass}catch{x(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(M=>{A.hasAttribute(M)&&C.attributeChangedCallback.call(A,M,null,A.getAttribute(M))}),R&&C.connectedCallback&&A.isConnected&&C.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let C=E.apply(this,arguments);return A.customElements&&(C.customElements=A.customElements),C};let P=[document],L=(A,C,R=void 0)=>{let M=(R?Object.getPrototypeOf(R):A.prototype)[C];A.prototype[C]=function(){P.push(this);let z=M.apply(R||this,arguments);return z!==void 0&&c.set(z,this),P.pop(),z}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let I=(A,C)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,C);Object.defineProperty(A.prototype,C,{...R,set(M){P.push(this),R.set.call(this,M),P.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,C=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...q){let U=C.call(this,...q);return A.set(U,this),U},R.forEach(q=>{let U=window.ElementInternals.prototype,m=U[q];U[q]=function(...S){let D=A.get(this);if(i.get(D).formAssociated===!0)return m?.call(this,...S);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class M extends Array{constructor(U){super(...U),this._elements=U}get value(){return this._elements.find(U=>U.checked===!0)?.value||""}}class z{constructor(U){let m=new Map;U.forEach((S,D)=>{let K=S.getAttribute("name"),X=m.get(K)||[];this[+D]=S,X.push(S),m.set(K,X)}),this.length=U.length,m.forEach((S,D)=>{S&&(S.length===1?this[D]=S[0]:this[D]=new M(S))})}namedItem(U){return this[U]}}let Q=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let q=Q.get.call(this,[]),U=[];for(let m of q){let S=i.get(m);(!S||S.formAssociated===!0)&&U.push(m)}return new z(U)}})}}});var Ql=y(()=>{"use strict";Yl();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}});var cn,dn,Jl,Xl,ln,ed,Vi,un,Gi=y(()=>{cn=globalThis,dn=cn.ShadowRoot&&(cn.ShadyCSS===void 0||cn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Jl=Symbol(),Xl=new WeakMap,ln=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Jl)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(dn&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Xl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Xl.set(r,e))}return e}toString(){return this.cssText}},ed=t=>new ln(typeof t=="string"?t:t+"",void 0,Jl),Vi=(t,e)=>{if(dn)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=cn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},un=dn?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return ed(r)})(t):t});var Iy,$y,ky,My,Dy,By,pn,td,Uy,Fy,ho,yo,fn,rd,Jt,Ki=y(()=>{Gi();Gi();({is:Iy,defineProperty:$y,getOwnPropertyDescriptor:ky,getOwnPropertyNames:My,getOwnPropertySymbols:Dy,getPrototypeOf:By}=Object),pn=globalThis,td=pn.trustedTypes,Uy=td?td.emptyScript:"",Fy=pn.reactiveElementPolyfillSupport,ho=(t,e)=>t,yo={toAttribute(t,e){switch(e){case Boolean:t=t?Uy: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}},fn=(t,e)=>!Iy(t,e),rd={attribute:!0,type:String,converter:yo,reflect:!1,hasChanged:fn};Symbol.metadata??=Symbol("metadata"),pn.litPropertyMetadata??=new WeakMap;Jt=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=rd){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&$y(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=ky(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??rd}static _$Ei(){if(this.hasOwnProperty(ho("elementProperties")))return;let e=By(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ho("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ho("properties"))){let r=this.properties,n=[...My(r),...Dy(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,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 i of n)r.unshift(un(i))}else e!==void 0&&r.push(un(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._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){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 Vi(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:yo).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:yo;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??fn)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Jt.elementStyles=[],Jt.shadowRootOptions={mode:"open"},Jt[ho("elementProperties")]=new Map,Jt[ho("finalized")]=new Map,Fy?.({ReactiveElement:Jt}),(pn.reactiveElementVersions??=[]).push("2.0.2")});function yd(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return od!==void 0?od.createHTML(e):e}function or(t,e,r=t,n){if(e===Be)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=go(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=or(t,i._$AS(t,e.values),i,n)),e}var qi,hn,od,Yi,ft,Qi,Wy,rr,yn,go,ld,dd,Zi,mo,nd,id,er,ad,sd,ud,pd,fd,hd,Be,pe,cd,tr,md,bo,mn,xo,nr,gn,bn,xn,vn,gd,Hy,ht=y(()=>{qi=globalThis,hn=qi.trustedTypes,od=hn?hn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Yi="$lit$",ft=`lit$${(Math.random()+"").slice(9)}$`,Qi="?"+ft,Wy=`<${Qi}>`,rr=document,yn=()=>rr.createComment(""),go=t=>t===null||typeof t!="object"&&typeof t!="function",ld=Array.isArray,dd=t=>ld(t)||typeof t?.[Symbol.iterator]=="function",Zi=`[
2
+ \f\r]`,mo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,nd=/-->/g,id=/>/g,er=RegExp(`>|${Zi}(?:([^\\s"'>=/]+)(${Zi}*=${Zi}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ad=/'/g,sd=/"/g,ud=/^(?:script|style|textarea|title)$/i,pd=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),fd=pd(1),hd=pd(2),Be=Symbol.for("lit-noChange"),pe=Symbol.for("lit-nothing"),cd=new WeakMap,tr=rr.createTreeWalker(rr,129);md=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=mo;for(let c=0;c<r;c++){let d=t[c],u,f,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===mo?f[1]==="!--"?s=nd:f[1]!==void 0?s=id:f[2]!==void 0?(ud.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=er):f[3]!==void 0&&(s=er):s===er?f[0]===">"?(s=i??mo,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?er:f[3]==='"'?sd:ad):s===sd||s===ad?s=er:s===nd||s===id?s=mo:(s=er,i=void 0);let x=s===er&&t[c+1].startsWith("/>")?" ":"";a+=s===mo?d+Wy:h>=0?(n.push(u),d.slice(0,h)+Yi+d.slice(h)+ft+x):d+ft+(h===-2?c:x)}return[yd(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},bo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,f]=md(e,r);if(this.el=t.createElement(u,n),tr.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=tr.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Yi)){let g=f[s++],x=i.getAttribute(h).split(ft),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?gn:v[1]==="?"?bn:v[1]==="@"?xn:nr}),i.removeAttribute(h)}else h.startsWith(ft)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(ud.test(i.tagName)){let h=i.textContent.split(ft),g=h.length-1;if(g>0){i.textContent=hn?hn.emptyScript:"";for(let x=0;x<g;x++)i.append(h[x],yn()),tr.nextNode(),d.push({type:2,index:++a});i.append(h[g],yn())}}}else if(i.nodeType===8)if(i.data===Qi)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(ft,h+1))!==-1;)d.push({type:7,index:a}),h+=ft.length-1}a++}}static createElement(e,r){let n=rr.createElement("template");return n.innerHTML=e,n}};mn=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,i=(e?.creationScope??rr).importNode(r,!0);tr.currentNode=i;let a=tr.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new xo(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new vn(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=tr.nextNode(),s++)}return tr.currentNode=rr,i}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++}},xo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=pe,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.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=or(this,e,r),go(e)?e===pe||e==null||e===""?(this._$AH!==pe&&this._$AR(),this._$AH=pe):e!==this._$AH&&e!==Be&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):dd(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==pe&&go(this._$AH)?this._$AA.nextSibling.data=e:this.$(rr.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=bo.createElement(yd(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new mn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=cd.get(e.strings);return r===void 0&&cd.set(e.strings,r=new bo(e)),r}T(e){ld(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(yn()),this.k(yn()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$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))}},nr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=pe,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=pe}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=or(this,e,r,0),s=!go(e)||e!==this._$AH&&e!==Be,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=or(this,c[n+d],r,d),u===Be&&(u=this._$AH[d]),s||=!go(u)||u!==this._$AH[d],u===pe?e=pe:e!==pe&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===pe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},gn=class extends nr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===pe?void 0:e}},bn=class extends nr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==pe)}},xn=class extends nr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=or(this,e,r,0)??pe)===Be)return;let n=this._$AH,i=e===pe&&n!==pe||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==pe&&(n===pe||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},vn=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){or(this,e)}},gd={j:Yi,P:ft,A:Qi,C:1,M:md,L:mn,R:dd,V:or,D:xo,I:nr,H:bn,N:xn,U:gn,B:vn},Hy=qi.litHtmlPolyfillSupport;Hy?.(bo,xo),(qi.litHtmlVersions??=[]).push("3.1.0")});var Sn,vo,Xi,bd,Nr,ir,T,Cn,So,Ji=y(()=>{Sn=globalThis,vo=Sn.ShadowRoot&&(Sn.ShadyCSS===void 0||Sn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Xi=Symbol(),bd=new WeakMap,Nr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Xi)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(vo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=bd.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&bd.set(r,e))}return e}toString(){return this.cssText}},ir=t=>new Nr(typeof t=="string"?t:t+"",void 0,Xi),T=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new Nr(r,t,Xi)},Cn=(t,e)=>{if(vo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Sn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},So=vo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return ir(r)})(t):t});var zy,jy,Vy,Gy,Ky,Zy,En,xd,qy,Yy,Co,On,ea,vd,et,ta=y(()=>{Ji();Ji();({is:zy,defineProperty:jy,getOwnPropertyDescriptor:Vy,getOwnPropertyNames:Gy,getOwnPropertySymbols:Ky,getPrototypeOf:Zy}=Object),En=globalThis,xd=En.trustedTypes,qy=xd?xd.emptyScript:"",Yy=En.reactiveElementPolyfillSupport,Co=(t,e)=>t,On={toAttribute(t,e){switch(e){case Boolean:t=t?qy: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}},ea=(t,e)=>!zy(t,e),vd={attribute:!0,type:String,converter:On,reflect:!1,hasChanged:ea};Symbol.metadata??=Symbol("metadata"),En.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=vd){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&jy(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Vy(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??vd}static _$Ei(){if(this.hasOwnProperty(Co("elementProperties")))return;let e=Zy(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Co("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Co("properties"))){let r=this.properties,n=[...Gy(r),...Ky(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,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 i of n)r.unshift(So(i))}else e!==void 0&&r.push(So(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._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){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 Cn(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:On).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:On;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??ea)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[Co("elementProperties")]=new Map,et[Co("finalized")]=new Map,Yy?.({ReactiveElement:et}),(En.reactiveElementVersions??=[]).push("2.0.2")});function Ld(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Sd!==void 0?Sd.createHTML(e):e}function lr(t,e,r=t,n){if(e===Lt)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=wo(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=lr(t,i._$AS(t,e.values),i,n)),e}var oa,wn,Sd,na,yt,ia,Qy,cr,Eo,wo,Rd,Nd,ra,Oo,Cd,Od,ar,Ed,wd,_d,Pd,B,Xy,Lt,V,Ad,sr,Td,Ao,An,_r,dr,Rn,Nn,_n,Pn,Jy,em,aa,sa=y(()=>{oa=globalThis,wn=oa.trustedTypes,Sd=wn?wn.createPolicy("lit-html",{createHTML:t=>t}):void 0,na="$lit$",yt=`lit$${(Math.random()+"").slice(9)}$`,ia="?"+yt,Qy=`<${ia}>`,cr=document,Eo=()=>cr.createComment(""),wo=t=>t===null||typeof t!="object"&&typeof t!="function",Rd=Array.isArray,Nd=t=>Rd(t)||typeof t?.[Symbol.iterator]=="function",ra=`[
4
+ \f\r]`,Oo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Cd=/-->/g,Od=/>/g,ar=RegExp(`>|${ra}(?:([^\\s"'>=/]+)(${ra}*=${ra}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ed=/'/g,wd=/"/g,_d=/^(?:script|style|textarea|title)$/i,Pd=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),B=Pd(1),Xy=Pd(2),Lt=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),Ad=new WeakMap,sr=cr.createTreeWalker(cr,129);Td=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Oo;for(let c=0;c<r;c++){let d=t[c],u,f,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===Oo?f[1]==="!--"?s=Cd:f[1]!==void 0?s=Od:f[2]!==void 0?(_d.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=ar):f[3]!==void 0&&(s=ar):s===ar?f[0]===">"?(s=i??Oo,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?ar:f[3]==='"'?wd:Ed):s===wd||s===Ed?s=ar:s===Cd||s===Od?s=Oo:(s=ar,i=void 0);let x=s===ar&&t[c+1].startsWith("/>")?" ":"";a+=s===Oo?d+Qy:h>=0?(n.push(u),d.slice(0,h)+na+d.slice(h)+yt+x):d+yt+(h===-2?c:x)}return[Ld(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Ao=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,f]=Td(e,r);if(this.el=t.createElement(u,n),sr.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=sr.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(na)){let g=f[s++],x=i.getAttribute(h).split(yt),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?Rn:v[1]==="?"?Nn:v[1]==="@"?_n:dr}),i.removeAttribute(h)}else h.startsWith(yt)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(_d.test(i.tagName)){let h=i.textContent.split(yt),g=h.length-1;if(g>0){i.textContent=wn?wn.emptyScript:"";for(let x=0;x<g;x++)i.append(h[x],Eo()),sr.nextNode(),d.push({type:2,index:++a});i.append(h[g],Eo())}}}else if(i.nodeType===8)if(i.data===ia)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(yt,h+1))!==-1;)d.push({type:7,index:a}),h+=yt.length-1}a++}}static createElement(e,r){let n=cr.createElement("template");return n.innerHTML=e,n}};An=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,i=(e?.creationScope??cr).importNode(r,!0);sr.currentNode=i;let a=sr.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new _r(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new Pn(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=sr.nextNode(),s++)}return sr.currentNode=cr,i}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++}},_r=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.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=lr(this,e,r),wo(e)?e===V||e==null||e===""?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==Lt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Nd(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==V&&wo(this._$AH)?this._$AA.nextSibling.data=e:this.$(cr.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Ao.createElement(Ld(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new An(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Ad.get(e.strings);return r===void 0&&Ad.set(e.strings,r=new Ao(e)),r}T(e){Rd(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(Eo()),this.k(Eo()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$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))}},dr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=lr(this,e,r,0),s=!wo(e)||e!==this._$AH&&e!==Lt,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=lr(this,c[n+d],r,d),u===Lt&&(u=this._$AH[d]),s||=!wo(u)||u!==this._$AH[d],u===V?e=V:e!==V&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Rn=class extends dr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===V?void 0:e}},Nn=class extends dr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},_n=class extends dr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=lr(this,e,r,0)??V)===Lt)return;let n=this._$AH,i=e===V&&n!==V||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==V&&(n===V||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},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){lr(this,e)}},Jy={j:na,P:yt,A:ia,C:1,M:Td,L:An,R:Nd,V:lr,D:_r,I:dr,H:Nn,N:_n,U:Rn,B:Pn},em=oa.litHtmlPolyfillSupport;em?.(Ao,_r),(oa.litHtmlVersions??=[]).push("3.1.0");aa=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new _r(e.insertBefore(Eo(),a),a,void 0,r??{})}return i._$AI(t),i}});var mt,tm,rm,Id=y(()=>{ta();ta();sa();sa();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=aa(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Lt}};mt._$litElement$=!0,mt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mt});tm=globalThis.litElementPolyfillSupport;tm?.({LitElement:mt});rm={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var Zb,$d=y(()=>{Zb=!1});var ca={};Y(ca,{CSSResult:()=>Nr,LitElement:()=>mt,ReactiveElement:()=>et,_$LE:()=>rm,_$LH:()=>Jy,adoptStyles:()=>Cn,css:()=>T,defaultConverter:()=>On,getCompatibleStyle:()=>So,html:()=>B,isServer:()=>Zb,noChange:()=>Lt,notEqual:()=>ea,nothing:()=>V,render:()=>aa,supportsAdoptingStyleSheets:()=>vo,svg:()=>Xy,unsafeCSS:()=>ir});var H=y(()=>{Ki();ht();Id();$d()});var la,kd=y(()=>{la=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"?Md(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}var om,Md,da=y(()=>{Ki();om={attribute:!0,type:String,converter:yo,reflect:!1,hasChanged:fn},Md=(t=om,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)}});function le(t){return w({...t,state:!0,attribute:!1})}var Dd=y(()=>{da();});function Pr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Bd=y(()=>{});var Ze,Lr=y(()=>{Ze=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function xe(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Ze(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ze(r,n,{get(){return a(this)}})}}var Ud=y(()=>{Lr();});function im(t){return(e,r)=>Ze(e,r,{get(){return(this.renderRoot??(nm??=document.createDocumentFragment())).querySelectorAll(t)}})}var nm,Fd=y(()=>{Lr();});function am(t){return(e,r)=>Ze(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var Wd=y(()=>{Lr();});function sm(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ze(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}var Hd=y(()=>{Lr();});function ua(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ze(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var zd=y(()=>{Lr();});var pa={};Y(pa,{customElement:()=>la,eventOptions:()=>Pr,property:()=>w,query:()=>xe,queryAll:()=>im,queryAssignedElements:()=>sm,queryAssignedNodes:()=>ua,queryAsync:()=>am,standardProperty:()=>Md,state:()=>le});var ne=y(()=>{kd();da();Dd();Bd();Ud();Fd();Wd();Hd();zd()});var Tt,It,tt,Ro=y(()=>{Tt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},It=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,jd,Tr,$t,lm,Vd,Gd,Ln,Kd=y(()=>{ht();({D:cm}=gd),jd=()=>document.createComment(""),Tr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(jd(),i),s=n.insertBefore(jd(),i);r=new cm(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||c){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},$t=(t,e,r=t)=>(t._$AI(e,r),t),lm={},Vd=(t,e=lm)=>t._$AH=e,Gd=t=>t._$AH,Ln=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 Zd,No,qd=y(()=>{ht();Ro();Kd();Zd=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},No=It(class extends tt{constructor(t){if(super(t),t.type!==Tt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=r(c,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=Gd(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],d=[],u,f,h=0,g=i.length-1,x=0,v=a.length-1;for(;h<=g&&x<=v;)if(i[h]===null)h++;else if(i[g]===null)g--;else if(c[h]===s[x])d[x]=$t(i[h],a[x]),h++,x++;else if(c[g]===s[v])d[v]=$t(i[g],a[v]),g--,v--;else if(c[h]===s[v])d[v]=$t(i[h],a[v]),Tr(t,d[v+1],i[h]),h++,v--;else if(c[g]===s[x])d[x]=$t(i[g],a[x]),Tr(t,i[h],i[g]),g--,x++;else if(u===void 0&&(u=Zd(s,x,v),f=Zd(c,h,g)),u.has(c[h]))if(u.has(c[g])){let E=f.get(s[x]),P=E!==void 0?i[E]:null;if(P===null){let L=Tr(t,i[h]);$t(L,a[x]),d[x]=L}else d[x]=$t(P,a[x]),Tr(t,i[h],P),i[E]=null;x++}else Ln(i[g]),g--;else Ln(i[h]),h++;for(;x<=v;){let E=Tr(t,d[v+1]);$t(E,a[x]),d[x++]=E}for(;h<=g;){let E=i[h++];E!==null&&Ln(E)}return this.dt=s,Vd(t,d),Be}})});var fa={};Y(fa,{repeat:()=>No});var Tn=y(()=>{qd()});var rt,Yd=y(()=>{ht();Ro();rt=It(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.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Be}})});var ha={};Y(ha,{classMap:()=>rt});var Ir=y(()=>{Yd()});var Qd,dm,um,Xd=y(()=>{ht();Ro();Qd="important",dm=" !"+Qd,um=It(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.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(dm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Qd:""):r[n]=i}}return Be}})});var ya={};Y(ya,{styleMap:()=>um});var Jd=y(()=>{Xd()});var $r,ur,eu=y(()=>{ht();Ro();$r=class extends tt{constructor(e){if(super(e),this.et=pe,e.type!==Tt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===pe||e==null)return this.vt=void 0,this.et=e;if(e===Be)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};$r.directiveName="unsafeHTML",$r.resultType=1;ur=It($r)});var ma={};Y(ma,{UnsafeHTMLDirective:()=>$r,unsafeHTML:()=>ur});var _o=y(()=>{eu()});var ga={};Y(ga,{CancelablePromise:()=>kr,CanceledPromiseError:()=>kt,cancelable:()=>Mr});var kt,kr,Mr,In=y(()=>{"use strict";kt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},kr=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new kt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new kt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Mr=t=>new kr((e,r)=>t.then(e).catch(r))});var Sa={};Y(Sa,{FtNotificationEvent:()=>ba,PostResizeEvent:()=>va,PreResizeEvent:()=>xa,WithEventBus:()=>pr,withEventBus:()=>tu});function tu(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}var ba,xa,va,pr,Po=y(()=>{"use strict";ba=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},xa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},va=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};pr=class extends tu(Object){}});var Ca={};Y(Ca,{CacheRegistry:()=>ot,ClearCacheEvent:()=>Lo});var Lo,ot,Oa=y(()=>{"use strict";In();Po();Lo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},ot=class extends pr{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 Lo(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new Lo([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof kr&&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 i=Mr(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}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 wa={};Y(wa,{ClusteringHelper:()=>Ea});var Ea,Aa=y(()=>{"use strict";Ea=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:c,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,f,h)=>h.findIndex(g=>g.value===u.value)===f).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,f)=>this.compareMetadata(u.metadata.value,f.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?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 u;return((u=t.extractResultMetadata(d,e))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>c&&(c=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}}});var Ra={};Y(Ra,{Debouncer:()=>Ce});var Ce,$n=y(()=>{"use strict";Ce=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 i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Na={};Y(Na,{dateReviver:()=>fm,deepEqual:()=>qe,delay:()=>kn,eventPathContainsMatchingElement:()=>ym,flatDeep:()=>ou,hasChanged:()=>To,last:()=>mm,minmax:()=>fr,parseDate:()=>nu,unslotText:()=>Mn,waitFor:()=>ru,waitUntil:()=>pm});async function pm(t,e=10,r=2e4){await ru(async()=>await t()||void 0,e,r)}async function ru(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await kn(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ou(t,e){return t.flatMap(r=>[r,...ou(e(r),e)])}function fm(...t){return function(e,r){return t.includes(e)?nu(r):r}}function nu(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,i)=>r+n+":"+i),new Date(t)}function hm(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,i;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();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!qe(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function qe(t,e){try{return hm(t,e)}catch{return!1}}function To(t,e){return!qe(t,e)}function ym(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function fr(t,e,r){return Math.min(Math.max(t,e),r)}function mm(t){return t[t.length-1]}function Mn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Mn(e)).join(""):t?.textContent||""}var kn,hr=y(()=>{"use strict";kn=t=>new Promise(e=>setTimeout(e,t))});var _a={};Y(_a,{customElement:()=>G,isNumber:()=>iu,jsonProperty:()=>Oe,optionalNumberProperty:()=>gm});function Oe(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:To,...e??{}})}function gm(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return iu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function iu(t){return!isNaN(parseFloat(t))}var G,Dn=y(()=>{"use strict";ne();hr();G=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function O(t,e){return gt(`${t.name}: ${e}`)}var gt,o,J=y(()=>{H();gt=t=>typeof t=="string"?ir(t):t,o=class{static create(e,r,n,i){let a=c=>gt(c??i),s=T`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>T`var(${gt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=T`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>T`var(${gt(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):gt(a??e.lastResortDefaultValue()),i=T`var(${gt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>T`var(${gt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var l,Pa,La,Ta,Ia,$a,ka,Ma,Da,Ba,au,Ua,Fa,Wa,Ha,za,ja,Va,Ga,Ka,Za,qa,Ya,Qa,Xa,Ja,es,Io,bm,ee=y(()=>{J();l={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(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 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"),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)")},Pa={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")},La={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")},Ta={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")},Ia={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")},$a={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")},ka={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")},Ma={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")},Da={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")},Ba={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")},au={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")},Ua={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")},Fa={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")},Wa={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")},Ha={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")},za={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")},ja={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")},Va={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")},Ga={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")},Ka={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")},Za={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")},qa={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")},Ya={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")},Qa={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")},Xa={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")},Ja={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")},es={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")},Io={display:Pa,"title-1":La,"title-2":Ta,"title-3":Ia,"body-1-regular":$a,"body-1-medium":ka,"body-1-semibold":Ma,"body-2-regular":Da,"body-2-medium":Ba,"body-2-medium-underline":au,"body-2-semibold":Ua,"label-1-medium":Fa,"label-1-semibold":Wa,"label-1-bold":Ha,"label-2-medium":za,"label-2-semibold":ja,"label-2-bold":Va,"caption-1-medium":Ga,"caption-1-semibold":Ka,"caption-1-bold":Za,"caption-2-medium":qa,"caption-2-semibold":Ya,"caption-2-bold":Qa,"caption-3-medium":Xa,"caption-3-semibold":Ja,"caption-3-bold":es},bm=["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 p,ie=y(()=>{J();ee();p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var b,su=y(()=>{J();ee();ie();b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.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","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.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","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.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","",l.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","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.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","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.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","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.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","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.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","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.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","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)}});var xm,cu=y(()=>{J();ee();ie();xm={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.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","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.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","",l.iconSize2)}});var vm,lu=y(()=>{J();ee();ie();vm={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.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","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.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","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.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","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)}});var Sm,du=y(()=>{J();ee();ie();Sm={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var Cm,uu=y(()=>{J();ee();ie();Cm={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)}});var Om,pu=y(()=>{J();ee();ie();Om={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)}});var Em,fu=y(()=>{J();ee();ie();Em={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)}});var wm,hu=y(()=>{J();ee();ie();wm={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var Am,yu=y(()=>{J();ee();ie();Am={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)}});var Rm,mu=y(()=>{J();ee();Rm={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var Nm,gu=y(()=>{J();ee();ie();Nm={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var _m,bu=y(()=>{J();ee();ie();_m={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.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","",l.colorGray700)}});var Pm,xu=y(()=>{J();ee();ie();Pm={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)}});var Lm,vu=y(()=>{J();ee();ie();Lm={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.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","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var Tm,Su=y(()=>{J();ee();ie();Tm={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.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","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)}});var Im,Cu=y(()=>{J();ee();ie();Im={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var $m,Ou=y(()=>{J();ee();ie();$m={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var km,Eu=y(()=>{J();ee();ie();km={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.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","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)}});var Mm,wu=y(()=>{J();ee();ie();Mm={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")}});var Dm,Au=y(()=>{J();ee();ie();Dm={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var Bm,Ru=y(()=>{J();ee();ie();Bm={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var Um,Nu=y(()=>{J();ee();Um={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)}});var Fm,_u=y(()=>{J();ee();Fm={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var Wm,Pu=y(()=>{J();ee();ie();Wm={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)}});var Hm,Lu=y(()=>{J();ee();ie();Hm={color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)}});var zm,Tu=y(()=>{J();ee();ie();zm={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var jm,Iu=y(()=>{J();ee();ie();jm={color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.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","",l.spacing3)}});var Vm,$u=y(()=>{J();ee();ie();Vm={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var Gm,ku=y(()=>{J();ee();ie();Gm={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var Mu=y(()=>{ee();ie();su();cu();lu();du();uu();pu();fu();hu();yu();mu();gu();bu();xu();vu();Su();Cu();Ou();Eu();wu();Au();Ru();Nu();_u();Pu();Lu();Tu();Iu();$u();ku()});function ts(t){return`ftds--family-${t}`}function rs(t){return`ftds--size-${t}`}var yr,bt,Du=y(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(yr||(yr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(bt||(bt={}))});var Z=y(()=>{J();Mu();Du()});var os={};Y(os,{DesignSystemFamily:()=>yr,DesignSystemSize:()=>bt,FtCssVariableFactory:()=>o,badge:()=>Om,banner:()=>Cm,button:()=>b,chart:()=>Um,checkbox:()=>Hm,chip:()=>vm,chipChoice:()=>xm,collapsible:()=>Dm,comboboxMultiSelect:()=>km,comboboxSingleSelect:()=>$m,drawer:()=>_m,floatingMenu:()=>Im,foundation:()=>l,link:()=>Sm,modal:()=>Nm,notice:()=>Wm,notification:()=>Vm,pageDesigner:()=>Fm,pageFooter:()=>Am,pageHeader:()=>wm,pageLayout:()=>Rm,popover:()=>Mm,radio:()=>jm,resolveFamilyClass:()=>ts,resolveSizeClass:()=>rs,semantic:()=>p,setVariable:()=>O,switch_:()=>Bm,tabs:()=>Pm,textArea:()=>Tm,textInput:()=>Lm,titleBreadcrumb:()=>Em,toggle:()=>zm,tooltip:()=>Gm,typographies:()=>Io,typographyBody1Medium:()=>ka,typographyBody1Regular:()=>$a,typographyBody1Semibold:()=>Ma,typographyBody2Medium:()=>Ba,typographyBody2MediumUnderline:()=>au,typographyBody2Regular:()=>Da,typographyBody2Semibold:()=>Ua,typographyCaption1Bold:()=>Za,typographyCaption1Medium:()=>Ga,typographyCaption1Semibold:()=>Ka,typographyCaption2Bold:()=>Qa,typographyCaption2Medium:()=>qa,typographyCaption2Semibold:()=>Ya,typographyCaption3Bold:()=>es,typographyCaption3Medium:()=>Xa,typographyCaption3Semibold:()=>Ja,typographyDisplay:()=>Pa,typographyLabel1Bold:()=>Ha,typographyLabel1Medium:()=>Fa,typographyLabel1Semibold:()=>Wa,typographyLabel2Bold:()=>Va,typographyLabel2Medium:()=>za,typographyLabel2Semibold:()=>ja,typographyTitle1:()=>La,typographyTitle2:()=>Ta,typographyTitle3:()=>Ia,typographyVariants:()=>bm});var Bn=y(()=>{"use strict";Z()});var ns={};Y(ns,{designSystemVariables:()=>$});var $,is=y(()=>{"use strict";Bn();$={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 ss(t,e,r){return Mt(t,Mo(e,r))}function Dr(t,e){return typeof t=="function"?t(e):t}function nt(t){return t.split("-")[0]}function it(t){return t.split("-")[1]}function cs(t){return t==="x"?"y":"x"}function ls(t){return t==="y"?"height":"width"}function Bo(t){return["top","bottom"].includes(nt(t))?"y":"x"}function ds(t){return cs(Bo(t))}function us(t,e,r){r===void 0&&(r=!1);let n=it(t),i=ds(t),a=ls(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ko(s)),[s,ko(s)]}function Fu(t){let e=ko(t);return[$o(t),e,$o(e)]}function $o(t){return t.replace(/start|end/g,e=>Zm[e])}function qm(t,e,r){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?a:s;default:return[]}}function Wu(t,e,r,n){let i=it(t),a=qm(nt(t),r==="start",n);return i&&(a=a.map(s=>s+"-"+i),e&&(a=a.concat(a.map($o)))),a}function ko(t){return t.replace(/left|right|bottom|top/g,e=>Km[e])}function Ym(t){return{top:0,right:0,bottom:0,left:0,...t}}function Hu(t){return typeof t!="number"?Ym(t):{top:t,right:t,bottom:t,left:t}}function mr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var Uu,Bu,as,Mo,Mt,Do,xt,Km,Zm,Un=y(()=>{Uu=["top","right","bottom","left"],Bu=["start","end"],as=Uu.reduce((t,e)=>t.concat(e,e+"-"+Bu[0],e+"-"+Bu[1]),[]),Mo=Math.min,Mt=Math.max,Do=Math.round,xt=t=>({x:t,y:t}),Km={left:"right",right:"left",bottom:"top",top:"bottom"},Zm={start:"end",end:"start"}});function zu(t,e,r){let{reference:n,floating:i}=t,a=Bo(e),s=ds(e),c=ls(s),d=nt(e),u=a==="y",f=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:f,y:n.y-i.height};break;case"bottom":x={x:f,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-i.width,y:h};break;default:x={x:n.x,y:n.y}}switch(it(e)){case"start":x[s]-=g*(r&&u?-1:1);break;case"end":x[s]+=g*(r&&u?-1:1);break}return x}async function Fn(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:x=0}=Dr(e,t),v=Hu(x),P=c[g?h==="floating"?"reference":"floating":h],L=mr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(P)))==null||r?P:P.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:d})),I=h==="floating"?{...s.floating,x:n,y:i}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),C=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},R=mr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:A,strategy:d}):I);return{top:(L.top-R.top+v.top)/C.y,bottom:(R.bottom-L.bottom+v.bottom)/C.y,left:(L.left-R.left+v.left)/C.x,right:(R.right-L.right+v.right)/C.x}}function Qm(t,e,r){return(t?[...r.filter(i=>it(i)===t),...r.filter(i=>it(i)!==t)]:r.filter(i=>nt(i)===i)).filter(i=>t?it(i)===t||(e?$o(i)!==i:!1):!0)}async function Xm(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=nt(r),c=it(r),d=Bo(r)==="y",u=["left","top"].includes(s)?-1:1,f=a&&d?-1:1,h=Dr(e,t),{mainAxis:g,crossAxis:x,alignmentAxis:v}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return c&&typeof v=="number"&&(x=c==="end"?v*-1:v),d?{x:x*f,y:g*u}:{x:g*u,y:x*f}}var ju,ps,fs,hs,ys,ms=y(()=>{Un();Un();ju=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:h}=zu(u,n,d),g=n,x={},v=0;for(let E=0;E<c.length;E++){let{name:P,fn:L}=c[E],{x:I,y:A,data:C,reset:R}=await L({x:f,y:h,initialPlacement:n,placement:g,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:t,floating:e}});if(f=I??f,h=A??h,x={...x,[P]:{...x[P],...C}},R&&v<=50){v++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(u=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):R.rects),{x:f,y:h}=zu(u,g,d)),E=-1;continue}}return{x:f,y:h,placement:g,strategy:i,middlewareData:x}};ps=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:g=as,autoAlignment:x=!0,...v}=Dr(t,e),E=h!==void 0||g===as?Qm(h||null,x,g):g,P=await Fn(e,v),L=((r=s.autoPlacement)==null?void 0:r.index)||0,I=E[L];if(I==null)return{};let A=us(I,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==I)return{reset:{placement:E[0]}};let C=[P[nt(I)],P[A[0]],P[A[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:I,overflows:C}],M=E[L+1];if(M)return{data:{index:L+1,overflows:R},reset:{placement:M}};let z=R.map(U=>{let m=it(U.placement);return[U.placement,m&&f?U.overflows.slice(0,2).reduce((S,D)=>S+D,0):U.overflows[0],U.overflows]}).sort((U,m)=>U[1]-m[1]),q=((i=z.filter(U=>U[2].slice(0,it(U[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||z[0][0];return q!==c?{data:{index:L+1,overflows:R},reset:{placement:q}}:{}}}},fs=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:d,elements:u}=e,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:E=!0,...P}=Dr(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let L=nt(i),I=nt(c)===c,A=await(d.isRTL==null?void 0:d.isRTL(u.floating)),C=g||(I||!E?[ko(c)]:Fu(c));!g&&v!=="none"&&C.push(...Wu(c,E,v,A));let R=[c,...C],M=await Fn(e,P),z=[],Q=((n=a.flip)==null?void 0:n.overflows)||[];if(f&&z.push(M[L]),h){let S=us(i,s,A);z.push(M[S[0]],M[S[1]])}if(Q=[...Q,{placement:i,overflows:z}],!z.every(S=>S<=0)){var q,U;let S=(((q=a.flip)==null?void 0:q.index)||0)+1,D=R[S];if(D)return{data:{index:S,overflows:Q},reset:{placement:D}};let K=(U=Q.filter(X=>X.overflows[0]<=0).sort((X,j)=>X.overflows[1]-j.overflows[1])[0])==null?void 0:U.placement;if(!K)switch(x){case"bestFit":{var m;let X=(m=Q.map(j=>[j.placement,j.overflows.filter(Je=>Je>0).reduce((Je,fo)=>Je+fo,0)]).sort((j,Je)=>j[1]-Je[1])[0])==null?void 0:m[0];X&&(K=X);break}case"initialPlacement":K=c;break}if(i!==K)return{reset:{placement:K}}}return{}}}};hs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:a,placement:s,middlewareData:c}=e,d=await Xm(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},ys=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:P=>{let{x:L,y:I}=P;return{x:L,y:I}}},...d}=Dr(t,e),u={x:r,y:n},f=await Fn(e,d),h=Bo(nt(i)),g=cs(h),x=u[g],v=u[h];if(a){let P=g==="y"?"top":"left",L=g==="y"?"bottom":"right",I=x+f[P],A=x-f[L];x=ss(I,x,A)}if(s){let P=h==="y"?"top":"left",L=h==="y"?"bottom":"right",I=v+f[P],A=v-f[L];v=ss(I,v,A)}let E=c.fn({...e,[g]:x,[h]:v});return{...E,data:{x:E.x-r,y:E.y-n}}}}}});function vt(t){return Gu(t)?(t.nodeName||"").toLowerCase():"#document"}function Le(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function St(t){var e;return(e=(Gu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gu(t){return t instanceof Node||t instanceof Le(t).Node}function at(t){return t instanceof Element||t instanceof Le(t).Element}function Ye(t){return t instanceof HTMLElement||t instanceof Le(t).HTMLElement}function Vu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Le(t).ShadowRoot}function Br(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Ku(t){return["table","td","th"].includes(vt(t))}function Hn(t){let e=zn(),r=Ue(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 Zu(t){let e=gr(t);for(;Ye(e)&&!Uo(e);){if(Hn(e))return e;e=gr(e)}return null}function zn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Uo(t){return["html","body","#document"].includes(vt(t))}function Ue(t){return Le(t).getComputedStyle(t)}function Fo(t){return at(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function gr(t){if(vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Vu(t)&&t.host||St(t);return Vu(e)?e.host:e}function qu(t){let e=gr(t);return Uo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ye(e)&&Br(e)?e:qu(e)}function Wn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=qu(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Le(i);return a?e.concat(s,s.visualViewport||[],Br(i)?i:[],s.frameElement&&r?Wn(s.frameElement):[]):e.concat(i,Wn(i,[],r))}var Yu=y(()=>{});function Ju(t){let e=Ue(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ye(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=Do(r)!==a||Do(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function ep(t){return at(t)?t:t.contextElement}function Ur(t){let e=ep(t);if(!Ye(e))return xt(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ju(e),s=(a?Do(r.width):r.width)/n,c=(a?Do(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function tp(t){let e=Le(t);return!zn()||!e.visualViewport?Jm:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function eg(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Le(t)?!1:e}function Wo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=ep(t),s=xt(1);e&&(n?at(n)&&(s=Ur(n)):s=Ur(t));let c=eg(a,r,n)?tp(a):xt(0),d=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,f=i.width/s.x,h=i.height/s.y;if(a){let g=Le(a),x=n&&at(n)?Le(n):n,v=g.frameElement;for(;v&&n&&x!==g;){let E=Ur(v),P=v.getBoundingClientRect(),L=Ue(v),I=P.left+(v.clientLeft+parseFloat(L.paddingLeft))*E.x,A=P.top+(v.clientTop+parseFloat(L.paddingTop))*E.y;d*=E.x,u*=E.y,f*=E.x,h*=E.y,d+=I,u+=A,v=Le(v).frameElement}}return mr({width:f,height:h,x:d,y:u})}function tg(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ye(r),a=St(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=xt(1),d=xt(0);if((i||!i&&n!=="fixed")&&((vt(r)!=="body"||Br(a))&&(s=Fo(r)),Ye(r))){let u=Wo(r);c=Ur(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function rg(t){return Array.from(t.getClientRects())}function rp(t){return Wo(St(t)).left+Fo(t).scrollLeft}function og(t){let e=St(t),r=Fo(t),n=t.ownerDocument.body,i=Mt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Mt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+rp(t),c=-r.scrollTop;return Ue(n).direction==="rtl"&&(s+=Mt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function ng(t,e){let r=Le(t),n=St(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let u=zn();(!u||u&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function ig(t,e){let r=Wo(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Ye(t)?Ur(t):xt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,u=n*a.y;return{width:s,height:c,x:d,y:u}}function Qu(t,e,r){let n;if(e==="viewport")n=ng(t,r);else if(e==="document")n=og(St(t));else if(at(e))n=ig(e,r);else{let i=tp(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return mr(n)}function op(t,e){let r=gr(t);return r===e||!at(r)||Uo(r)?!1:Ue(r).position==="fixed"||op(r,e)}function ag(t,e){let r=e.get(t);if(r)return r;let n=Wn(t,[],!1).filter(c=>at(c)&&vt(c)!=="body"),i=null,a=Ue(t).position==="fixed",s=a?gr(t):t;for(;at(s)&&!Uo(s);){let c=Ue(s),d=Hn(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Br(s)&&!d&&op(t,s))?n=n.filter(f=>f!==s):i=c,s=gr(s)}return e.set(t,n),n}function sg(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?ag(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((u,f)=>{let h=Qu(e,f,i);return u.top=Mt(h.top,u.top),u.right=Mo(h.right,u.right),u.bottom=Mo(h.bottom,u.bottom),u.left=Mt(h.left,u.left),u},Qu(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function cg(t){return Ju(t)}function lg(t,e,r){let n=Ye(e),i=St(e),a=r==="fixed",s=Wo(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=xt(0);if(n||!n&&!a)if((vt(e)!=="body"||Br(i))&&(c=Fo(e)),n){let u=Wo(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=rp(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function Xu(t,e){return!Ye(t)||Ue(t).position==="fixed"?null:e?e(t):t.offsetParent}function np(t,e){let r=Le(t);if(!Ye(t))return r;let n=Xu(t,e);for(;n&&Ku(n)&&Ue(n).position==="static";)n=Xu(n,e);return n&&(vt(n)==="html"||vt(n)==="body"&&Ue(n).position==="static"&&!Hn(n))?r:n||Zu(t)||r}function ug(t){return Ue(t).direction==="rtl"}var Jm,dg,Fr,gs,ip=y(()=>{ms();ms();Un();Yu();Jm=xt(0);dg=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||np,a=this.getDimensions;return{reference:lg(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};Fr={convertOffsetParentRelativeRectToViewportRelativeRect:tg,getDocumentElement:St,getClippingRect:sg,getOffsetParent:np,getElementRects:dg,getClientRects:rg,getDimensions:cg,getScale:Ur,isElement:at,isRTL:ug},gs=(t,e,r)=>{let n=new Map,i={platform:Fr,...r},a={...i.platform,_c:n};return ju(t,e,{...i,platform:a})}});function xs(t){return pg(t)}function bs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function pg(t){for(let e=t;e;e=bs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=bs(t);e;e=bs(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 ap=y(()=>{});var Ss={};Y(Ss,{computeFlipOffsetPosition:()=>fg,computeOffsetPosition:()=>vs});async function vs(t,e,r){return gs(t,e,{platform:{...Fr,getOffsetParent:n=>Fr.getOffsetParent(n,xs)},middleware:[ys({crossAxis:!0}),ps({allowedPlacements:[r]})]})}async function fg(t,e,r,n,i){return gs(t,e,{placement:r,strategy:i,platform:{...Fr,getOffsetParent:a=>Fr.getOffsetParent(a,xs)},middleware:[hs(4),fs({fallbackPlacements:n})]})}var jn=y(()=>{"use strict";ip();ap()});var Vn,hg,mC,sp,cp=y(()=>{Vn=window,hg=Vn.ShadowRoot&&(Vn.ShadyCSS===void 0||Vn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mC=Symbol(),sp=(t,e)=>{hg?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Vn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var Cs={};Y(Cs,{ScopedRegistryLitElement:()=>Ho});var Ho,Gn=y(()=>{"use strict";H();cp();Ho=class extends mt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return sp(n,e.elementStyles),n}}});var Os={};Y(Os,{FtLitElement:()=>te});var Kn,pp,lp,dp,fp,up,te,zo=y(()=>{"use strict";ne();Dn();$n();Gn();Kn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},lp=Symbol("constructorPrototype"),dp=Symbol("constructorName"),fp=Symbol("exportpartsDebouncer"),up=Symbol("dynamicDependenciesLoaded"),te=class extends Ho{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[pp]=new Ce(5),this[dp]=this.constructor.name,this[lp]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[dp]&&Object.setPrototypeOf(this,this[lp])}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[up]||(e[up]=!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,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}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[fp].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,c;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let f=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 x=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...v).filter(d).map(E=>E.trim()).forEach(E=>f.add(E))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(g=>u.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};pp=fp;Kn([w()],te.prototype,"exportpartsPrefix",void 0);Kn([Oe([])],te.prototype,"exportpartsPrefixes",void 0);Kn([w()],te.prototype,"customStylesheet",void 0);Kn([le()],te.prototype,"useAdoptedStyleSheets",void 0)});var ws={};Y(ws,{FtdsBase:()=>Es,toFtdsBase:()=>Zn});function Zn(t){class e extends t{constructor(){super(...arguments),this.size=bt.medium,this.family=yr.neutral}getDesignSystemBaseClasses(){return{[ts(this.family)]:!0,[rs(this.size)]:!0}}}return hp([w()],e.prototype,"size",void 0),hp([w()],e.prototype,"family",void 0),e}var hp,Es,As=y(()=>{"use strict";zo();ne();Z();hp=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};Es=class extends Zn(te){}});var yp={};var Rs=y(()=>{"use strict"});var br,mp=y(()=>{br=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}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 i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=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,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,f=>{r(u)&&(c++,n(f)),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 i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)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,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),c=[],d=[],u,f,h=()=>({prevNode:f,node:u}=this.getIteratorNode(s),u);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(u,f,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),i)}),d.push(u);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}}});var jo,gp=y(()=>{mp();jo=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 br(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",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,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,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?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"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){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(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.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((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return br.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let u=r-s.start,f=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,f),e.value=h+g,e.nodes.forEach((x,v)=>{v>=c&&(e.nodes[v].start>0&&v!==c&&(e.nodes[v].start-=f),e.nodes[v].end-=f)}),n-=f,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let f=u.index;if(s!==0)for(let h=1;h<s;h++)f+=u[h].length;d=this.wrapRangeInTextNode(d,f,f+u[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let h=1;h<s;h++)u+=d[h].length;let f=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,f,h=>n(d[s],h),(h,g)=>{e.lastIndex=g,i(h)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:u,end:f,valid:h}=this.checkWhitespaceRanges(c,s,a.value);h&&this.wrapRangeInMappedTextNode(a,u,f,g=>r(g,c,a.value.substring(u,f),d),g=>{n(g,c)})}),i()})}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,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=u=>{let f=new RegExp(this.createRegExp(u),`gm${c}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(g,x)=>this.opt.filter(x,u,n,h),g=>{h++,n++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,d)=>this.opt.filter(a,s,c,d),(a,s)=>{n++,this.opt.each(a,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 i=br.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Ns(t){let e=new jo(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 bp=y(()=>{gp()});var Ps={};Y(Ps,{highlightHtml:()=>_s,highlightHtmlColorCssVariable:()=>xp,highlightHtmlStyles:()=>mg});function _s(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new yg(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(c.each=u=>{for(let f in r.attributes)u.setAttribute(f,r.attributes[f])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var yg,xp,mg,Ls=y(()=>{"use strict";H();Z();bp();yg=Ns,xp=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),mg=T`
7
7
  .highlight-html-match {
8
- background: ${hp};
8
+ background: ${xp};
9
9
  }
10
- `});var Ps={};Z(Ps,{noTextInputDefaultClearButton:()=>_s,noTextSelect:()=>Uo,safariEllipsisFix:()=>Fo,wordWrap:()=>Ns});var Uo,Ns,Fo,_s,Ts=y(()=>{"use strict";W();Uo=L`
10
+ `});var $s={};Y($s,{noTextInputDefaultClearButton:()=>Is,noTextSelect:()=>Vo,safariEllipsisFix:()=>Go,wordWrap:()=>Ts});var Vo,Ts,Go,Is,ks=y(()=>{"use strict";H();Vo=T`
11
11
  .ft-no-text-select {
12
12
  -webkit-touch-callout: none;
13
13
  -webkit-user-select: none;
@@ -16,7 +16,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
16
16
  -ms-user-select: none;
17
17
  user-select: none;
18
18
  }
19
- `,Ns=L`
19
+ `,Ts=T`
20
20
  .ft-word-wrap {
21
21
  white-space: normal;
22
22
  word-wrap: break-word;
@@ -28,7 +28,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
28
28
  -webkit-hyphens: auto;
29
29
  hyphens: auto
30
30
  }
31
- `,Fo=L`
31
+ `,Go=T`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,15 +39,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `,_s=L`
42
+ `,Is=T`
43
43
  input::-webkit-search-cancel-button,
44
44
  input::-webkit-search-decoration,
45
45
  input::-webkit-search-results-button,
46
46
  input::-webkit-search-results-decoration {
47
47
  display: none;
48
48
  }
49
- `});var yp={};var Is=y(()=>{"use strict"});var Ls={};Z(Ls,{ParametrizedLabelResolver:()=>Wo});var Wo,$s=y(()=>{"use strict";Wo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}}});var ug,ie,pg,mp=y(()=>{"use strict";Ir();oe();ug=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ie=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Ao,attribute:!1,...e};w(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},pg=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Ho,ks=y(()=>{"use strict";Ho=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 fr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var zn=y(()=>{"use strict"});var gp,bp,xp,jn,kt,hr,Pe,vp=y(()=>{"use strict";Do();zn();jn=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),hr=Symbol("internalStores"),Pe=class extends te{constructor(){super(...arguments),this[gp]=new Map,this[bp]=new Map,this[xp]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[hr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[hr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[hr].get(e)}addStore(e,r){var n;r=(n=r??(fr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[hr].delete(r)}setupStore(e,r){this[hr].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[hr].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 i=this.getStore(e.store);i&&(e.store?this[kt].has(e.store):this[kt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[kt].set(e,r.subscribe(()=>this.updateFromStores())),fr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=c=>this[a](c);r.eventBus.addEventListener(i.eventName,s),this[jn].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[kt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[jn].forEach(e=>e()),this[jn]=[]}unsubscribeFromStore(e){this[kt].has(e)&&this[kt].get(e)(),this[kt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};gp=kt,bp=hr,xp=jn;Pe.reduxProperties=new Map;Pe.reduxReactiveProperties=new Set;Pe.reduxEventListeners=new Map});function je(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 i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ot(t){return!!t&&!!t[le]}function Ye(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 i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===vg}(t)||Array.isArray(t)||!!t[Rp]||!!(!((e=t.constructor)===null||e===void 0)&&e[Rp])||js(t)||Vs(t))}function yr(t,e,r){r===void 0&&(r=!1),Ur(t)===0?(r?Object.keys:Br)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Ur(t){var e=t[le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:js(t)?2:Vs(t)?3:0}function Dr(t,e){return Ur(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function fg(t,e){return Ur(t)===2?t.get(e):t[e]}function Np(t,e,r){var n=Ur(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function _p(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function js(t){return bg&&t instanceof Map}function Vs(t){return xg&&t instanceof Set}function Mt(t){return t.o||t.t}function Gs(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ip(t);delete e[le];for(var r=Br(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Ks(t,e){return e===void 0&&(e=!1),Zs(t)||Ot(t)||!Ye(t)||(Ur(t)>1&&(t.set=t.add=t.clear=t.delete=hg),Object.freeze(t),e&&yr(t,function(r,n){return Ks(n,!0)},!0)),t}function hg(){je(2)}function Zs(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function at(t){var e=zs[t];return e||je(18,t),e}function yg(t,e){zs[t]||(zs[t]=e)}function Fs(){return jo}function Ms(t,e){e&&(at("Patches"),t.u=[],t.s=[],t.v=e)}function Vn(t){Ws(t),t.p.forEach(mg),t.p=null}function Ws(t){t===jo&&(jo=t.l)}function Sp(t){return jo={p:[],l:jo,h:t,m:!0,_:0}}function mg(t){var e=t[le];e.i===0||e.i===1?e.j():e.g=!0}function Ds(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||at("ES5").S(e,t,n),n?(r[le].P&&(Vn(e),je(4)),Ye(t)&&(t=Gn(e,t),e.l||Kn(e,t)),e.u&&at("Patches").M(r[le].t,t,e.u,e.s)):t=Gn(e,r,[]),Vn(e),e.u&&e.v(e.u,e.s),t!==Tp?t:void 0}function Gn(t,e,r){if(Zs(e))return e;var n=e[le];if(!n)return yr(e,function(c,d){return Op(t,n,e,c,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 i=n.i===4||n.i===5?n.o=Gs(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),yr(a,function(c,d){return Op(t,n,i,c,d,r,s)}),Kn(t,i,!1),r&&t.u&&at("Patches").N(n,r,t.u,t.s)}return n.o}function Op(t,e,r,n,i,a,s){if(Ot(i)){var c=Gn(t,i,a&&e&&e.i!==3&&!Dr(e.R,n)?a.concat(n):void 0);if(Np(r,n,c),!Ot(c))return;t.m=!1}else s&&r.add(i);if(Ye(i)&&!Zs(i)){if(!t.h.D&&t._<1)return;Gn(t,i),e&&e.A.l||Kn(t,i)}}function Kn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ks(e,r)}function Bs(t,e){var r=t[le];return(r?Mt(r):t)[e]}function Cp(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 Dt(t){t.P||(t.P=!0,t.l&&Dt(t.l))}function Us(t){t.o||(t.o=Gs(t.t))}function Hs(t,e,r){var n=js(e)?at("MapSet").F(e,r):Vs(e)?at("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Fs(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,u=Vo;s&&(d=[c],u=zo);var f=Proxy.revocable(d,u),h=f.revoke,g=f.proxy;return c.k=g,c.j=h,g}(e,r):at("ES5").J(e,r);return(r?r.A:Fs()).p.push(n),n}function gg(t){return Ot(t)||je(22,t),function e(r){if(!Ye(r))return r;var n,i=r[le],a=Ur(r);if(i){if(!i.P&&(i.i<4||!at("ES5").K(i)))return i.t;i.I=!0,n=Ep(r,a),i.I=!1}else n=Ep(r,a);return yr(n,function(s,c){i&&fg(i.t,s)===c||Np(n,s,e(c))}),a===3?new Set(n):n}(t)}function Ep(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Gs(t)}function Pp(){function t(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var u=this[le];return Vo.get(u,s)},set:function(u){var f=this[le];Vo.set(f,s,u)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][le];if(!d.P)switch(d.i){case 5:n(d)&&Dt(d);break;case 4:r(d)&&Dt(d)}}}function r(s){for(var c=s.t,d=s.k,u=Br(d),f=u.length-1;f>=0;f--){var h=u[f];if(h!==le){var g=c[h];if(g===void 0&&!Dr(c,h))return!0;var x=d[h],v=x&&x[le];if(v?v.t!==g:!_p(x,g))return!0}}var A=!!c[le];return u.length!==Br(c).length+(A?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&je(3,JSON.stringify(Mt(s)))}var a={};yg("ES5",{J:function(s,c){var d=Array.isArray(s),u=function(h,g){if(h){for(var x=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(x,""+v,t(v,!0));return x}var A=Ip(g);delete A[le];for(var I=Br(A),N=0;N<I.length;N++){var T=I[N];A[T]=t(T,h||!!A[T].enumerable)}return Object.create(Object.getPrototypeOf(g),A)}(d,s),f={i:d?5:4,A:c?c.A:Fs(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,le,{value:f,writable:!0}),u},S:function(s,c,d){d?Ot(c)&&c[le].A===s&&e(s.p):(s.u&&function u(f){if(f&&typeof f=="object"){var h=f[le];if(h){var g=h.t,x=h.k,v=h.R,A=h.i;if(A===4)yr(x,function(E){E!==le&&(g[E]!==void 0||Dr(g,E)?v[E]||u(x[E]):(v[E]=!0,Dt(h)))}),yr(g,function(E){x[E]!==void 0||Dr(x,E)||(v[E]=!1,Dt(h))});else if(A===5){if(n(h)&&(Dt(h),v.length=!0),x.length<g.length)for(var I=x.length;I<g.length;I++)v[I]=!1;else for(var N=g.length;N<x.length;N++)v[N]=!0;for(var T=Math.min(x.length,g.length),C=0;C<T;C++)x.hasOwnProperty(C)||(v[C]=!0),v[C]===void 0&&u(x[C])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var wp,jo,qs,bg,xg,Ap,Tp,Rp,le,vg,Br,Ip,zs,Vo,zo,Sg,Ue,Og,DO,BO,UO,FO,WO,HO,Zn,qn=y(()=>{qs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",bg=typeof Map<"u",xg=typeof Set<"u",Ap=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Tp=qs?Symbol.for("immer-nothing"):((wp={})["immer-nothing"]=!0,wp),Rp=qs?Symbol.for("immer-draftable"):"__$immer_draftable",le=qs?Symbol.for("immer-state"):"__$immer_state",vg=""+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,Ip=Object.getOwnPropertyDescriptors||function(t){var e={};return Br(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},zs={},Vo={get:function(t,e){if(e===le)return t;var r=Mt(t);if(!Dr(r,e))return function(i,a,s){var c,d=Cp(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Ye(n)?n:n===Bs(t.t,e)?(Us(t),t.o[e]=Hs(t.A.h,n,t)):n},has:function(t,e){return e in Mt(t)},ownKeys:function(t){return Reflect.ownKeys(Mt(t))},set:function(t,e,r){var n=Cp(Mt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Bs(Mt(t),e),a=i?.[le];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(_p(r,i)&&(r!==void 0||Dr(t.t,e)))return!0;Us(t),Dt(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 Bs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Us(t),Dt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Mt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){je(12)}},zo={};yr(Vo,function(t,e){zo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),zo.deleteProperty=function(t,e){return zo.set.call(this,t,e,void 0)},zo.set=function(t,e,r){return Vo.set.call(this,t[0],e,r,t[0])};Sg=function(){function t(r){var n=this;this.O=Ap,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(A){var I=this;A===void 0&&(A=c);for(var N=arguments.length,T=Array(N>1?N-1:0),C=1;C<N;C++)T[C-1]=arguments[C];return d.produce(A,function(E){var R;return(R=a).call.apply(R,[I,E].concat(T))})}}var u;if(typeof a!="function"&&je(6),s!==void 0&&typeof s!="function"&&je(7),Ye(i)){var f=Sp(n),h=Hs(n,i,void 0),g=!0;try{u=a(h),g=!1}finally{g?Vn(f):Ws(f)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(A){return Ms(f,s),Ds(A,f)},function(A){throw Vn(f),A}):(Ms(f,s),Ds(u,f))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Tp&&(u=void 0),n.D&&Ks(u,!0),s){var x=[],v=[];at("Patches").M(i,u,x,v),s(x,v)}return u}je(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var f=arguments.length,h=Array(f>1?f-1:0),g=1;g<f;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(h))})};var s,c,d=n.produce(i,a,function(u,f){s=u,c=f});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,c]}):[d,s,c]},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){Ye(r)||je(8),Ot(r)&&(r=gg(r));var n=Sp(this),i=Hs(this,r,void 0);return i[le].C=!0,Ws(n),i},e.finishDraft=function(r,n){var i=r&&r[le],a=i.A;return Ms(a,n),Ds(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ap&&je(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=at("Patches").$;return Ot(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),Ue=new Sg,Og=Ue.produce,DO=Ue.produceWithPatches.bind(Ue),BO=Ue.setAutoFreeze.bind(Ue),UO=Ue.setUseProxies.bind(Ue),FO=Ue.applyPatches.bind(Ue),WO=Ue.createDraft.bind(Ue),HO=Ue.finishDraft.bind(Ue),Zn=Og});function Bt(t){"@babel/helpers - typeof";return Bt=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},Bt(t)}var Ys=y(()=>{});function Qs(t,e){if(Bt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Bt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Lp=y(()=>{Ys()});function Xs(t){var e=Qs(t,"string");return Bt(e)==="symbol"?e:String(e)}var $p=y(()=>{Ys();Lp()});function Js(t,e,r){return e=Xs(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kp=y(()=>{$p()});function Mp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Yn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Mp(Object(r),!0).forEach(function(n){Js(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var Dp=y(()=>{kp()});function Ee(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 Cg(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 tc(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ee(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ee(1));return r(tc)(t,e)}if(typeof t!="function")throw new Error(Ee(2));var i=t,a=e,s=[],c=s,d=!1;function u(){c===s&&(c=s.slice())}function f(){if(d)throw new Error(Ee(3));return a}function h(A){if(typeof A!="function")throw new Error(Ee(4));if(d)throw new Error(Ee(5));var I=!0;return u(),c.push(A),function(){if(I){if(d)throw new Error(Ee(6));I=!1,u();var T=c.indexOf(A);c.splice(T,1),s=null}}}function g(A){if(!Cg(A))throw new Error(Ee(7));if(typeof A.type>"u")throw new Error(Ee(8));if(d)throw new Error(Ee(9));try{d=!0,a=i(a,A)}finally{d=!1}for(var I=s=c,N=0;N<I.length;N++){var T=I[N];T()}return A}function x(A){if(typeof A!="function")throw new Error(Ee(10));i=A,g({type:Qn.REPLACE})}function v(){var A,I=h;return A={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(Ee(11));function C(){T.next&&T.next(f())}C();var E=I(C);return{unsubscribe:E}}},A[Bp]=function(){return this},A}return g({type:Qn.INIT}),n={dispatch:g,subscribe:h,getState:f,replaceReducer:x},n[Bp]=v,n}function Eg(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Qn.INIT});if(typeof n>"u")throw new Error(Ee(12));if(typeof r(void 0,{type:Qn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ee(13))})}function Up(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,c;try{Eg(r)}catch(d){c=d}return function(u,f){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var g=!1,x={},v=0;v<a.length;v++){var A=a[v],I=r[A],N=u[A],T=I(N,f);if(typeof T>"u"){var C=f&&f.type;throw new Error(Ee(14))}x[A]=T,g=g||T!==N}return g=g||a.length!==Object.keys(u).length,g?x:u}}function Fr(){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,i){return function(){return n(i.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 i=n.apply(void 0,arguments),a=function(){throw new Error(Ee(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=Fr.apply(void 0,c)(i.dispatch),Yn(Yn({},i),{},{dispatch:a})}}}var Bp,ec,Qn,Xn=y(()=>{Dp();Bp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ec=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qn={INIT:"@@redux/INIT"+ec(),REPLACE:"@@redux/REPLACE"+ec(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ec()}}});function Wp(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Hp,rc,zp=y(()=>{Hp=Wp();Hp.withExtraArgument=Wp;rc=Hp});function Lg(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 ac(t){return Ye(t)?Zn(t,function(){}):t}function Mg(t){return typeof t=="boolean"}function Dg(){return function(e){return Bg(e)}}function Bg(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new $g;if(r&&(Mg(r)?c.push(rc):c.push(rc.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var u}return c}function qp(t){var e=Dg(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,d=c===void 0?!0:c,u=r.preloadedState,f=u===void 0?void 0:u,h=r.enhancers,g=h===void 0?void 0:h,x;if(typeof i=="function")x=i;else if(Lg(i))x=Up(i);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 v=s;if(typeof v=="function"&&(v=v(e),!nc&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!nc&&v.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=Fp.apply(void 0,v),I=Fr;d&&(I=Ig(Ut({trace:!nc},typeof d=="object"&&d)));var N=new kg(A),T=N;Array.isArray(g)?T=Wr([A],g):typeof g=="function"&&(T=g(N));var C=I.apply(void 0,T);return tc(x,f,C)}function Ft(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Ut(Ut({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.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 Yp(t){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Ug(t){return typeof t=="function"}function Fg(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Yp(e):[e,r,n],a=i[0],s=i[1],c=i[2],d;if(Ug(t))d=function(){return ac(t())};else{var u=ac(t);d=function(){return u}}function f(h,g){h===void 0&&(h=d());var x=Wr([a[g.type]],s.filter(function(v){var A=v.matcher;return A(g)}).map(function(v){var A=v.reducer;return A}));return x.filter(function(v){return!!v}).length===0&&(x=[c]),x.reduce(function(v,A){if(A)if(Ot(v)){var I=v,N=A(I,g);return N===void 0?v:N}else{if(Ye(v))return Zn(v,function(T){return A(T,g)});var N=A(v,g);if(N===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return v},h)}return f.getInitialState=d,f}function Wg(t,e){return t+"/"+e}function Qp(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:ac(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(f){var h=n[f],g=Wg(e,f),x,v;"reducer"in h?(x=h.reducer,v=h.prepare):x=h,a[f]=x,s[g]=x,c[f]=v?Ft(g,v):Ft(g)});function d(){var f=typeof t.extraReducers=="function"?Yp(t.extraReducers):[t.extraReducers],h=f[0],g=h===void 0?{}:h,x=f[1],v=x===void 0?[]:x,A=f[2],I=A===void 0?void 0:A,N=Ut(Ut({},g),s);return Fg(r,function(T){for(var C in N)T.addCase(C,N[C]);for(var E=0,R=v;E<R.length;E++){var U=R[E];T.addMatcher(U.matcher,U.reducer)}I&&T.addDefaultCase(I)})}var u;return{name:e,reducer:function(f,h){return u||(u=d()),u(f,h)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}function Gg(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Kg(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Zp,wg,Wr,Ag,Rg,Ng,jp,_g,Pg,Vp,Ut,oc,Tg,Ig,aC,$g,kg,nc,Hg,zg,jg,ic,Gp,Vg,dC,Xp,Jp,ef,uC,pC,fC,hC,sc,yC,mC,gC,Kp,bC,Zg,xC,tf=y(()=>{qn();Xn();Xn();Xn();zp();qn();qn();Zp=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),wg=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(f){return d([u,f])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(f){u=[6,f],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Wr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Ag=Object.defineProperty,Rg=Object.defineProperties,Ng=Object.getOwnPropertyDescriptors,jp=Object.getOwnPropertySymbols,_g=Object.prototype.hasOwnProperty,Pg=Object.prototype.propertyIsEnumerable,Vp=function(t,e,r){return e in t?Ag(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ut=function(t,e){for(var r in e||(e={}))_g.call(e,r)&&Vp(t,r,e[r]);if(jp)for(var n=0,i=jp(e);n<i.length;n++){var r=i[n];Pg.call(e,r)&&Vp(t,r,e[r])}return t},oc=function(t,e){return Rg(t,Ng(e))},Tg=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{c(r.next(d))}catch(u){i(u)}},s=function(d){try{c(r.throw(d))}catch(u){i(u)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((r=r.apply(t,e)).next())})},Ig=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Fr:Fr.apply(null,arguments)},aC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};$g=function(t){Zp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}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),kg=function(t){Zp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}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);nc=!0;Hg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",zg=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Hg[Math.random()*64|0];return e},jg=["name","message","stack","code"],ic=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Gp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Vg=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=jg;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},dC=function(){function t(e,r,n){var i=Ft(e+"/fulfilled",function(f,h,g,x){return{payload:f,meta:oc(Ut({},x||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=Ft(e+"/pending",function(f,h,g){return{payload:void 0,meta:oc(Ut({},g||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=Ft(e+"/rejected",function(f,h,g,x,v){return{payload:x,error:(n&&n.serializeError||Vg)(f||"Rejected"),meta:oc(Ut({},v||{}),{arg:g,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function u(f){return function(h,g,x){var v=n?.idGenerator?n.idGenerator(f):zg(),A=new d,I,N=!1;function T(E){I=E,A.abort()}var C=function(){return Tg(this,null,function(){var E,R,U,q,X,ee,D;return wg(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),q=(E=n?.condition)==null?void 0:E.call(n,f,{getState:g,extra:x}),Kg(q)?[4,q]:[3,2];case 1:q=m.sent(),m.label=2;case 2:if(q===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,X=new Promise(function(S,M){return A.signal.addEventListener("abort",function(){return M({name:"AbortError",message:I||"Aborted"})})}),h(a(v,f,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:v,arg:f},{getState:g,extra:x}))),[4,Promise.race([X,Promise.resolve(r(f,{dispatch:h,getState:g,extra:x,requestId:v,signal:A.signal,abort:T,rejectWithValue:function(S,M){return new ic(S,M)},fulfillWithValue:function(S,M){return new Gp(S,M)}})).then(function(S){if(S instanceof ic)throw S;return S instanceof Gp?i(S.payload,v,f,S.meta):i(S,v,f)})])];case 3:return U=m.sent(),[3,5];case 4:return ee=m.sent(),U=ee instanceof ic?s(null,v,f,ee.payload,ee.meta):s(ee,v,f),[3,5];case 5:return D=n&&!n.dispatchConditionRejection&&s.match(U)&&U.meta.condition,D||h(U),[2,U]}})})}();return Object.assign(C,{abort:T,requestId:v,arg:f,unwrap:function(){return C.then(Gg)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();Xp="listener",Jp="completed",ef="cancelled",uC="task-"+ef,pC="task-"+Jp,fC=Xp+"-"+ef,hC=Xp+"-"+Jp,sc="listenerMiddleware",yC=Ft(sc+"/add"),mC=Ft(sc+"/removeAll"),gC=Ft(sc+"/remove"),bC=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Kp||(Kp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Zg=function(t){return function(e){setTimeout(e,t)}},xC=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Zg(10);Pp()});function qg(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))fr(e)&&e.clear()}var Ct,rf=y(()=>{"use strict";tf();zn();ks();window.ftReduxStores||(window.ftReduxStores={});Ct=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(fr(a))return a;if(i==null)return;let s=Qp({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=qp({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ho,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...d)=>{let u=c(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[s]:d})}}})}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()}}});var cc={};Z(cc,{FtCommandQueue:()=>Ho,FtLitElementRedux:()=>Pe,FtReduxStore:()=>Ct,clearAllStores:()=>qg,isFtReduxStore:()=>fr,redux:()=>ie,reduxEventListener:()=>pg,reduxReactive:()=>ug});var Jn=y(()=>{"use strict";mp();ks();vp();rf();zn()});var pc={};Z(pc,{scrollHelper:()=>uc});var lc,ei,dc,uc,fc=y(()=>{"use strict";Ir();ei=new Map,dc=class{lock(e,r){if(r){let n=ei.get(r);if(n==null||n===e)return ei.set(r,e),r}}release(e,r){r&&ei.get(r)===e&&ei.delete(r)}findFirstScrollableParent(e){let r,n=i=>{var a;i.stopPropagation();let s,c;for(let d of i.composedPath()){let u=d,f=this.elementCanScroll(u);if(f&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else f&&c==null&&(c=u)}r=(a=s??c)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-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 i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=ba(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,c)*(a-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=(lc=window.FluidTopicsScrollHelper)!==null&&lc!==void 0?lc:new dc;uc=window.FluidTopicsScrollHelper});var hc={};Z(hc,{shadowQuerySelector:()=>Yg,shadowQuerySelectorAll:()=>Qg});function Yg(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Qg(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var yc=y(()=>{"use strict"});var nf=Ey((Wt,of)=>{var ti=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ri=function(){function t(){this.fetch=!1,this.DOMException=ti.DOMException}return t.prototype=ti,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={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 a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function d(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function u(m){return typeof m!="string"&&(m=String(m)),m}function f(m){var S={next:function(){var M=m.shift();return{done:M===void 0,value:M}}};return i.iterable&&(S[Symbol.iterator]=function(){return S}),S}function h(m){this.map={},m instanceof h?m.forEach(function(S,M){this.append(M,S)},this):Array.isArray(m)?m.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(S){this.append(S,m[S])},this)}h.prototype.append=function(m,S){m=d(m),S=u(S);var M=this.map[m];this.map[m]=M?M+", "+S:S},h.prototype.delete=function(m){delete this.map[d(m)]},h.prototype.get=function(m){return m=d(m),this.has(m)?this.map[m]:null},h.prototype.has=function(m){return this.map.hasOwnProperty(d(m))},h.prototype.set=function(m,S){this.map[d(m)]=u(S)},h.prototype.forEach=function(m,S){for(var M in this.map)this.map.hasOwnProperty(M)&&m.call(S,this.map[M],M,this)},h.prototype.keys=function(){var m=[];return this.forEach(function(S,M){m.push(M)}),f(m)},h.prototype.values=function(){var m=[];return this.forEach(function(S){m.push(S)}),f(m)},h.prototype.entries=function(){var m=[];return this.forEach(function(S,M){m.push([M,S])}),f(m)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function x(m){return new Promise(function(S,M){m.onload=function(){S(m.result)},m.onerror=function(){M(m.error)}})}function v(m){var S=new FileReader,M=x(S);return S.readAsArrayBuffer(m),M}function A(m){var S=new FileReader,M=x(S),G=/charset=([A-Za-z0-9_-]+)/.exec(m.type),Y=G?G[1]:"utf-8";return S.readAsText(m,Y),M}function I(m){for(var S=new Uint8Array(m),M=new Array(S.length),G=0;G<S.length;G++)M[G]=String.fromCharCode(S[G]);return M.join("")}function N(m){if(m.slice)return m.slice(0);var S=new Uint8Array(m.byteLength);return S.set(new Uint8Array(m)),S.buffer}function T(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=N(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||c(m))?this._bodyArrayBuffer=N(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=g(this);if(m)return m;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 m=g(this);return m||(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(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(I(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(U)}),this.json=function(){return this.text().then(JSON.parse)},this}var C=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function E(m){var S=m.toUpperCase();return C.indexOf(S)>-1?S:m}function R(m,S){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var M=S.body;if(m instanceof R){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,S.headers||(this.headers=new h(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!M&&m._bodyInit!=null&&(M=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new h(S.headers)),this.method=E(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in n){var z=new AbortController;return z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&M)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(M),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var G=/([?&])_=[^&]*/;if(G.test(this.url))this.url=this.url.replace(G,"$1_="+new Date().getTime());else{var Y=/\?/;this.url+=(Y.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function U(m){var S=new FormData;return m.trim().split("&").forEach(function(M){if(M){var G=M.split("="),Y=G.shift().replace(/\+/g," "),z=G.join("=").replace(/\+/g," ");S.append(decodeURIComponent(Y),decodeURIComponent(z))}}),S}function q(m){var S=new h,M=m.replace(/\r?\n[\t ]+/g," ");return M.split("\r").map(function(G){return G.indexOf(`
50
- `)===0?G.substr(1,G.length):G}).forEach(function(G){var Y=G.split(":"),z=Y.shift().trim();if(z){var Je=Y.join(":").trim();try{S.append(z,Je)}catch(co){console.warn("Response "+co.message)}}}),S}T.call(R.prototype);function X(m,S){if(!(this instanceof X))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.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=S.statusText===void 0?"":""+S.statusText,this.headers=new h(S.headers),this.url=S.url||"",this._initBody(m)}T.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},X.error=function(){var m=new X(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var ee=[301,302,303,307,308];X.redirect=function(m,S){if(ee.indexOf(S)===-1)throw new RangeError("Invalid status code");return new X(null,{status:S,headers:{location:m}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(S,M){this.message=S,this.name=M;var G=Error(S);this.stack=G.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function D(m,S){return new Promise(function(M,G){var Y=new R(m,S);if(Y.signal&&Y.signal.aborted)return G(new r.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function Je(){z.abort()}z.onload=function(){var Se={statusText:z.statusText,headers:q(z.getAllResponseHeaders()||"")};Y.url.indexOf("file://")===0&&(z.status<200||z.status>599)?Se.status=200:Se.status=z.status,Se.url="responseURL"in z?z.responseURL:Se.headers.get("X-Request-URL");var qt="response"in z?z.response:z.responseText;setTimeout(function(){M(new X(qt,Se))},0)},z.onerror=function(){setTimeout(function(){G(new TypeError("Network request failed"))},0)},z.ontimeout=function(){setTimeout(function(){G(new TypeError("Network request timed out"))},0)},z.onabort=function(){setTimeout(function(){G(new r.DOMException("Aborted","AbortError"))},0)};function co(Se){try{return Se===""&&n.location.href?n.location.href:Se}catch{return Se}}if(z.open(Y.method,co(Y.url),!0),Y.credentials==="include"?z.withCredentials=!0:Y.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&(i.blob?z.responseType="blob":i.arrayBuffer&&(z.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof h||n.Headers&&S.headers instanceof n.Headers)){var Vl=[];Object.getOwnPropertyNames(S.headers).forEach(function(Se){Vl.push(d(Se)),z.setRequestHeader(Se,u(S.headers[Se]))}),Y.headers.forEach(function(Se,qt){Vl.indexOf(qt)===-1&&z.setRequestHeader(qt,Se)})}else Y.headers.forEach(function(Se,qt){z.setRequestHeader(qt,Se)});Y.signal&&(Y.signal.addEventListener("abort",Je),z.onreadystatechange=function(){z.readyState===4&&Y.signal.removeEventListener("abort",Je)}),z.send(typeof Y._bodyInit>"u"?null:Y._bodyInit)})}return D.polyfill=!0,n.fetch||(n.fetch=D,n.Headers=h,n.Request=R,n.Response=X),r.Headers=h,r.Request=R,r.Response=X,r.fetch=D,r}({})})(ri);ri.fetch.ponyfill=!0;delete ri.fetch.polyfill;var Hr=ti.fetch?ti:ri;Wt=Hr.fetch;Wt.default=Hr.fetch;Wt.fetch=Hr.fetch;Wt.Headers=Hr.Headers;Wt.Request=Hr.Request;Wt.Response=Hr.Response;of.exports=Wt});var af=y(()=>{});var sf,cf,lf,df,uf,pf,ff,hf,yf,mf,gf,zr,vf,bf,oi,xf,Go,Sf,jr,Vr,ve,mc=y(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(sf||(sf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(cf||(cf={}));(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"})(lf||(lf={}));(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"})(df||(df={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(uf||(uf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(pf||(pf={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ff||(ff={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(hf||(hf={}));(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"})(yf||(yf={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(mf||(mf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(gf||(gf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(zr||(zr={}));vf=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(bf||(bf={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(oi||(oi={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(xf||(xf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Go||(Go={}));Sf=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(jr||(jr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Vr||(Vr={}));(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.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ve||(ve={}))});var Of,Cf=y(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Of||(Of={}))});var MC,Ef=y(()=>{mc();MC={[ve.PERSONAL_BOOK_SHARE_USER]:[ve.PERSONAL_BOOK_USER],[ve.HTML_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.PDF_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.KHUB_ADMIN]:[ve.CONTENT_PUBLISHER],[ve.ADMIN]:[ve.KHUB_ADMIN,ve.USERS_ADMIN,ve.PORTAL_ADMIN],[ve.DEVELOPER]:[ve.BETA_USER,ve.DEBUG_USER]}});var wf=y(()=>{});var Xg,ni=y(()=>{Xg=Ay(nf(),1);af();mc();Cf();Ef();wf()});var gc={};Z(gc,{SearchPlaceConverter:()=>ii,SearchPlaceQueryParams:()=>ce,isSearchPlaceQueryParams:()=>Af,serializeRequest:()=>tb});function Jg(t){return`"${t}"`}function eb(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function tb(t,e){return new ii(t,{}).serialize(e)}function Af(t){return rb.has(t)}var ce,rb,ii,bc=y(()=>{"use strict";ni();(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"})(ce||(ce={}));rb=new Set(Object.values(ce));ii=class{constructor(e,r){this.baseUrl=e,this.predefinedSorts=r,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r="/search"){let n=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${r}?${n}`).href}toURLSearchParams(e){var r,n,i,a,s,c,d,u,f,h;let g=new URLSearchParams({[ce.LOCALE]:(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&g.append(ce.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&g.append(ce.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&g.append(ce.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&g.append(ce.SORT,"last_update");let x=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(N=>N.valueFilter))!==null&&s!==void 0?s:[];if(x.length>0){let N=x.map(T=>{var C,E;let R=((E=(C=T.valueFilter)===null||C===void 0?void 0:C.values)!==null&&E!==void 0?E:[]).map(U=>this.escapeFilters(U)).map(U=>encodeURIComponent(Jg(U))).join("_");return`${T.key}~${R}`}).join("*");g.append(ce.VALUE_FILTERS,N)}let v=(d=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(N=>N.dateFilter))!==null&&d!==void 0?d:[];if(v.length>0){let N=v.map(T=>{var C;return`${T.key}~${(C=T.dateFilter)===null||C===void 0?void 0:C.type.toLowerCase()}`}).join("*");g.append(ce.DATE_FILTERS,N)}let A=(f=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(N=>N.rangeFilter))!==null&&f!==void 0?f:[];if(A.length>0){let N=A.map(T=>{var C,E;return`${T.key}~${(C=T.rangeFilter)===null||C===void 0?void 0:C.from}_${(E=T.rangeFilter)===null||E===void 0?void 0:E.to}`}).join("*");g.append(ce.RANGE_FILTERS,N)}let I=(h=e.otherQueryParams)!==null&&h!==void 0?h:{};for(let N in I)g.append(N,I[N]);return g}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,a,s,c,d,u;let f=((r=e.get(ce.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=((n=e.get(ce.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),g=(i=e.get(ce.SCOPE))!==null&&i!==void 0?i:"default",x={};for(let v of e.keys())Af(v)||(x[v]=e.get(v));return{contentLocale:e.get(ce.LOCALE)==="all"?void 0:(a=e.get(ce.LOCALE))!==null&&a!==void 0?a:void 0,query:decodeURIComponent((s=e.get(ce.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:vf(f)?f:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[h])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:x}}parseCompatFilters(e){var r,n,i,a,s,c;let d=[];return e.has(ce.FILTERS)&&(d=this.parseValueFilters((r=e.get(ce.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(ce.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(ce.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ce.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ce.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ce.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(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(eb).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Go[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,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replace(i,r);return e}parseLegacyPeriodFilter(e){if(Sf(e))return[{key:"ft:lastEdition",dateFilter:{type:Go[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}}});var vc={};Z(vc,{toFtFormComponent:()=>xc});function xc(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[ai].form}constructor(...i){super(i),this[ai]=this.attachInternals(),this[ai].role=e}setFormValue(i){this[ai].setFormValue(i)}}return r}var ai,Sc=y(()=>{"use strict";ai=Symbol("elementInternals")});var Oc={};Z(Oc,{DateFormatter:()=>Gr});var Gr,si=y(()=>{"use strict";Gr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var Cc,Ec,wc,Ac,Rc,ob,k=y(()=>{"use strict";Kl();W();oe();An();Nr();qd();wo();fa();Rn();ma();Nn();Tn();Ya();ts();Bn();In();Os();Do();Cs();Ir();Rs();Ts();Is();$s();Jn();Fn();fc();yc();bc();Sc();si();K();fa();Rn();ma();si();Nn();Tn();Ya();ts();Bn();In();Os();Do();Cs();Ir();Rs();Ts();Is();$s();Jn();Fn();fc();yc();bc();Sc();K();Rc=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((wc=(Ec=(Cc=window.safari)===null||Cc===void 0?void 0:Cc.pushNotification)===null||Ec===void 0?void 0:Ec.toString())!==null&&wc!==void 0?wc:"")==="[object SafariRemoteNotification]",ob="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ac=window.ftGlobals)!==null&&Ac!==void 0?Ac:{lit:ra,litDecorators:aa,litRepeat:sa,litClassMap:ca,litStyleMap:la,litUnsafeHTML:da,wcUtils:{...pa,...ua,...ya,...Oc,...ga,...va,...qa,...es,...gs,...Za,...Ss,...xs,...dp,...xa,...As,...Ps,...yp,...Ls,...cc,...bs,...pc,...hc,...gc,...vc,isSafari:Rc,isTouchScreen:ob,setVariable:O}}});var Rf,_,Nf,_f,Pf,Tf,If,mr=y(()=>{"use strict";W();k();Rf=o.extend("--ft-ripple-color","",$.colorContent),_={color:Rf,backgroundColor:o.extend("--ft-ripple-background-color","",Rf),opacityContentOnSurfacePressed:o.external($.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external($.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external($.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external($.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Nf=o.extend("--ft-ripple-color","",$.colorPrimary),_f={color:Nf,backgroundColor:o.extend("--ft-ripple-background-color","",Nf)},Pf=o.extend("--ft-ripple-color","",$.colorSecondary),Tf={color:Pf,backgroundColor:o.extend("--ft-ripple-background-color","",Pf)},If=L`
49
+ `});var vp={};var Ms=y(()=>{"use strict"});var Ds={};Y(Ds,{ParametrizedLabelResolver:()=>Ko});var Ko,Bs=y(()=>{"use strict";Ko=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}}});var gg,re,bg,Sp=y(()=>{"use strict";hr();ne();gg=()=>(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 i;let a={hasChanged:To,attribute:!1,...e};w(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},bg=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Zo,Us=y(()=>{"use strict";Zo=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 xr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var qn=y(()=>{"use strict"});var Cp,Op,Ep,Yn,Dt,vr,Te,wp=y(()=>{"use strict";zo();qn();Yn=Symbol("internalReduxEventsUnsubscribers"),Dt=Symbol("internalStoresUnsubscribers"),vr=Symbol("internalStores"),Te=class extends te{constructor(){super(...arguments),this[Cp]=new Map,this[Op]=new Map,this[Ep]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[vr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[vr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[vr].get(e)}addStore(e,r){var n;r=(n=r??(xr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[vr].delete(r)}setupStore(e,r){this[vr].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[vr].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 i=this.getStore(e.store);i&&(e.store?this[Dt].has(e.store):this[Dt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Dt].set(e,r.subscribe(()=>this.updateFromStores())),xr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=c=>this[a](c);r.addEventListener(i.eventName,s),this[Yn].push(()=>r.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Dt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Yn].forEach(e=>e()),this[Yn]=[]}unsubscribeFromStore(e){this[Dt].has(e)&&this[Dt].get(e)(),this[Dt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Cp=Dt,Op=vr,Ep=Yn;Te.reduxProperties=new Map;Te.reduxReactiveProperties=new Set;Te.reduxEventListeners=new Map});function je(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 i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ct(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 i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ag}(t)||Array.isArray(t)||!!t[Tp]||!!(!((e=t.constructor)===null||e===void 0)&&e[Tp])||Zs(t)||qs(t))}function Sr(t,e,r){r===void 0&&(r=!1),zr(t)===0?(r?Object.keys:Hr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function zr(t){var e=t[de];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Zs(t)?2:qs(t)?3:0}function Wr(t,e){return zr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function xg(t,e){return zr(t)===2?t.get(e):t[e]}function Ip(t,e,r){var n=zr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function $p(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Zs(t){return Eg&&t instanceof Map}function qs(t){return wg&&t instanceof Set}function Bt(t){return t.o||t.t}function Ys(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Dp(t);delete e[de];for(var r=Hr(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Qs(t,e){return e===void 0&&(e=!1),Xs(t)||Ct(t)||!Qe(t)||(zr(t)>1&&(t.set=t.add=t.clear=t.delete=vg),Object.freeze(t),e&&Sr(t,function(r,n){return Qs(n,!0)},!0)),t}function vg(){je(2)}function Xs(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function st(t){var e=Ks[t];return e||je(18,t),e}function Sg(t,e){Ks[t]||(Ks[t]=e)}function js(){return Yo}function Fs(t,e){e&&(st("Patches"),t.u=[],t.s=[],t.v=e)}function Qn(t){Vs(t),t.p.forEach(Cg),t.p=null}function Vs(t){t===Yo&&(Yo=t.l)}function Ap(t){return Yo={p:[],l:Yo,h:t,m:!0,_:0}}function Cg(t){var e=t[de];e.i===0||e.i===1?e.j():e.g=!0}function Ws(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&&(Qn(e),je(4)),Qe(t)&&(t=Xn(e,t),e.l||Jn(e,t)),e.u&&st("Patches").M(r[de].t,t,e.u,e.s)):t=Xn(e,r,[]),Qn(e),e.u&&e.v(e.u,e.s),t!==Mp?t:void 0}function Xn(t,e,r){if(Xs(e))return e;var n=e[de];if(!n)return Sr(e,function(c,d){return Rp(t,n,e,c,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Jn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ys(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Sr(a,function(c,d){return Rp(t,n,i,c,d,r,s)}),Jn(t,i,!1),r&&t.u&&st("Patches").N(n,r,t.u,t.s)}return n.o}function Rp(t,e,r,n,i,a,s){if(Ct(i)){var c=Xn(t,i,a&&e&&e.i!==3&&!Wr(e.R,n)?a.concat(n):void 0);if(Ip(r,n,c),!Ct(c))return;t.m=!1}else s&&r.add(i);if(Qe(i)&&!Xs(i)){if(!t.h.D&&t._<1)return;Xn(t,i),e&&e.A.l||Jn(t,i)}}function Jn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Qs(e,r)}function Hs(t,e){var r=t[de];return(r?Bt(r):t)[e]}function Np(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 Ut(t){t.P||(t.P=!0,t.l&&Ut(t.l))}function zs(t){t.o||(t.o=Ys(t.t))}function Gs(t,e,r){var n=Zs(e)?st("MapSet").F(e,r):qs(e)?st("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:js(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,u=Qo;s&&(d=[c],u=qo);var f=Proxy.revocable(d,u),h=f.revoke,g=f.proxy;return c.k=g,c.j=h,g}(e,r):st("ES5").J(e,r);return(r?r.A:js()).p.push(n),n}function Og(t){return Ct(t)||je(22,t),function e(r){if(!Qe(r))return r;var n,i=r[de],a=zr(r);if(i){if(!i.P&&(i.i<4||!st("ES5").K(i)))return i.t;i.I=!0,n=_p(r,a),i.I=!1}else n=_p(r,a);return Sr(n,function(s,c){i&&xg(i.t,s)===c||Ip(n,s,e(c))}),a===3?new Set(n):n}(t)}function _p(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ys(t)}function kp(){function t(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var u=this[de];return Qo.get(u,s)},set:function(u){var f=this[de];Qo.set(f,s,u)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][de];if(!d.P)switch(d.i){case 5:n(d)&&Ut(d);break;case 4:r(d)&&Ut(d)}}}function r(s){for(var c=s.t,d=s.k,u=Hr(d),f=u.length-1;f>=0;f--){var h=u[f];if(h!==de){var g=c[h];if(g===void 0&&!Wr(c,h))return!0;var x=d[h],v=x&&x[de];if(v?v.t!==g:!$p(x,g))return!0}}var E=!!c[de];return u.length!==Hr(c).length+(E?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&je(3,JSON.stringify(Bt(s)))}var a={};Sg("ES5",{J:function(s,c){var d=Array.isArray(s),u=function(h,g){if(h){for(var x=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(x,""+v,t(v,!0));return x}var E=Dp(g);delete E[de];for(var P=Hr(E),L=0;L<P.length;L++){var I=P[L];E[I]=t(I,h||!!E[I].enumerable)}return Object.create(Object.getPrototypeOf(g),E)}(d,s),f={i:d?5:4,A:c?c.A:js(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,de,{value:f,writable:!0}),u},S:function(s,c,d){d?Ct(c)&&c[de].A===s&&e(s.p):(s.u&&function u(f){if(f&&typeof f=="object"){var h=f[de];if(h){var g=h.t,x=h.k,v=h.R,E=h.i;if(E===4)Sr(x,function(C){C!==de&&(g[C]!==void 0||Wr(g,C)?v[C]||u(x[C]):(v[C]=!0,Ut(h)))}),Sr(g,function(C){x[C]!==void 0||Wr(x,C)||(v[C]=!1,Ut(h))});else if(E===5){if(n(h)&&(Ut(h),v.length=!0),x.length<g.length)for(var P=x.length;P<g.length;P++)v[P]=!1;else for(var L=g.length;L<x.length;L++)v[L]=!0;for(var I=Math.min(x.length,g.length),A=0;A<I;A++)x.hasOwnProperty(A)||(v[A]=!0),v[A]===void 0&&u(x[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Pp,Yo,Js,Eg,wg,Lp,Mp,Tp,de,Ag,Hr,Dp,Ks,Qo,qo,Rg,Fe,Ng,jC,VC,GC,KC,ZC,qC,ei,ti=y(()=>{Js=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Eg=typeof Map<"u",wg=typeof Set<"u",Lp=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Mp=Js?Symbol.for("immer-nothing"):((Pp={})["immer-nothing"]=!0,Pp),Tp=Js?Symbol.for("immer-draftable"):"__$immer_draftable",de=Js?Symbol.for("immer-state"):"__$immer_state",Ag=""+Object.prototype.constructor,Hr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Dp=Object.getOwnPropertyDescriptors||function(t){var e={};return Hr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ks={},Qo={get:function(t,e){if(e===de)return t;var r=Bt(t);if(!Wr(r,e))return function(i,a,s){var c,d=Np(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Qe(n)?n:n===Hs(t.t,e)?(zs(t),t.o[e]=Gs(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=Np(Bt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Hs(Bt(t),e),a=i?.[de];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if($p(r,i)&&(r!==void 0||Wr(t.t,e)))return!0;zs(t),Ut(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 Hs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,zs(t),Ut(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(){je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){je(12)}},qo={};Sr(Qo,function(t,e){qo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),qo.deleteProperty=function(t,e){return qo.set.call(this,t,e,void 0)},qo.set=function(t,e,r){return Qo.set.call(this,t[0],e,r,t[0])};Rg=function(){function t(r){var n=this;this.O=Lp,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(E){var P=this;E===void 0&&(E=c);for(var L=arguments.length,I=Array(L>1?L-1:0),A=1;A<L;A++)I[A-1]=arguments[A];return d.produce(E,function(C){var R;return(R=a).call.apply(R,[P,C].concat(I))})}}var u;if(typeof a!="function"&&je(6),s!==void 0&&typeof s!="function"&&je(7),Qe(i)){var f=Ap(n),h=Gs(n,i,void 0),g=!0;try{u=a(h),g=!1}finally{g?Qn(f):Vs(f)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return Fs(f,s),Ws(E,f)},function(E){throw Qn(f),E}):(Fs(f,s),Ws(u,f))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Mp&&(u=void 0),n.D&&Qs(u,!0),s){var x=[],v=[];st("Patches").M(i,u,x,v),s(x,v)}return u}je(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var f=arguments.length,h=Array(f>1?f-1:0),g=1;g<f;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(h))})};var s,c,d=n.produce(i,a,function(u,f){s=u,c=f});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,c]}):[d,s,c]},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)||je(8),Ct(r)&&(r=Og(r));var n=Ap(this),i=Gs(this,r,void 0);return i[de].C=!0,Vs(n),i},e.finishDraft=function(r,n){var i=r&&r[de],a=i.A;return Fs(a,n),Ws(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Lp&&je(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=st("Patches").$;return Ct(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),Fe=new Rg,Ng=Fe.produce,jC=Fe.produceWithPatches.bind(Fe),VC=Fe.setAutoFreeze.bind(Fe),GC=Fe.setUseProxies.bind(Fe),KC=Fe.applyPatches.bind(Fe),ZC=Fe.createDraft.bind(Fe),qC=Fe.finishDraft.bind(Fe),ei=Ng});function Ft(t){"@babel/helpers - typeof";return Ft=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},Ft(t)}var ec=y(()=>{});function tc(t,e){if(Ft(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Ft(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Bp=y(()=>{ec()});function rc(t){var e=tc(t,"string");return Ft(e)==="symbol"?e:String(e)}var Up=y(()=>{ec();Bp()});function oc(t,e,r){return e=rc(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Fp=y(()=>{Up()});function Wp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ri(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Wp(Object(r),!0).forEach(function(n){oc(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var Hp=y(()=>{Fp()});function Ee(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 _g(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 ic(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ee(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ee(1));return r(ic)(t,e)}if(typeof t!="function")throw new Error(Ee(2));var i=t,a=e,s=[],c=s,d=!1;function u(){c===s&&(c=s.slice())}function f(){if(d)throw new Error(Ee(3));return a}function h(E){if(typeof E!="function")throw new Error(Ee(4));if(d)throw new Error(Ee(5));var P=!0;return u(),c.push(E),function(){if(P){if(d)throw new Error(Ee(6));P=!1,u();var I=c.indexOf(E);c.splice(I,1),s=null}}}function g(E){if(!_g(E))throw new Error(Ee(7));if(typeof E.type>"u")throw new Error(Ee(8));if(d)throw new Error(Ee(9));try{d=!0,a=i(a,E)}finally{d=!1}for(var P=s=c,L=0;L<P.length;L++){var I=P[L];I()}return E}function x(E){if(typeof E!="function")throw new Error(Ee(10));i=E,g({type:oi.REPLACE})}function v(){var E,P=h;return E={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Ee(11));function A(){I.next&&I.next(f())}A();var C=P(A);return{unsubscribe:C}}},E[zp]=function(){return this},E}return g({type:oi.INIT}),n={dispatch:g,subscribe:h,getState:f,replaceReducer:x},n[zp]=v,n}function Pg(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:oi.INIT});if(typeof n>"u")throw new Error(Ee(12));if(typeof r(void 0,{type:oi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ee(13))})}function jp(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,c;try{Pg(r)}catch(d){c=d}return function(u,f){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var g=!1,x={},v=0;v<a.length;v++){var E=a[v],P=r[E],L=u[E],I=P(L,f);if(typeof I>"u"){var A=f&&f.type;throw new Error(Ee(14))}x[E]=I,g=g||I!==L}return g=g||a.length!==Object.keys(u).length,g?x:u}}function jr(){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,i){return function(){return n(i.apply(void 0,arguments))}})}function Vp(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ee(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=jr.apply(void 0,c)(i.dispatch),ri(ri({},i),{},{dispatch:a})}}}var zp,nc,oi,ni=y(()=>{Hp();zp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),nc=function(){return Math.random().toString(36).substring(7).split("").join(".")},oi={INIT:"@@redux/INIT"+nc(),REPLACE:"@@redux/REPLACE"+nc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+nc()}}});function Gp(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Kp,ac,Zp=y(()=>{Kp=Gp();Kp.withExtraArgument=Gp;ac=Kp});function Ug(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 dc(t){return Qe(t)?ei(t,function(){}):t}function Hg(t){return typeof t=="boolean"}function zg(){return function(e){return jg(e)}}function jg(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new Fg;if(r&&(Hg(r)?c.push(ac):c.push(ac.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var u}return c}function ef(t){var e=zg(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,d=c===void 0?!0:c,u=r.preloadedState,f=u===void 0?void 0:u,h=r.enhancers,g=h===void 0?void 0:h,x;if(typeof i=="function")x=i;else if(Ug(i))x=jp(i);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 v=s;if(typeof v=="function"&&(v=v(e),!cc&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!cc&&v.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Vp.apply(void 0,v),P=jr;d&&(P=Bg(Wt({trace:!cc},typeof d=="object"&&d)));var L=new Wg(E),I=L;Array.isArray(g)?I=Vr([E],g):typeof g=="function"&&(I=g(L));var A=P.apply(void 0,I);return ic(x,f,A)}function Ht(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Wt(Wt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.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 tf(t){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Vg(t){return typeof t=="function"}function Gg(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?tf(e):[e,r,n],a=i[0],s=i[1],c=i[2],d;if(Vg(t))d=function(){return dc(t())};else{var u=dc(t);d=function(){return u}}function f(h,g){h===void 0&&(h=d());var x=Vr([a[g.type]],s.filter(function(v){var E=v.matcher;return E(g)}).map(function(v){var E=v.reducer;return E}));return x.filter(function(v){return!!v}).length===0&&(x=[c]),x.reduce(function(v,E){if(E)if(Ct(v)){var P=v,L=E(P,g);return L===void 0?v:L}else{if(Qe(v))return ei(v,function(I){return E(I,g)});var L=E(v,g);if(L===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return v},h)}return f.getInitialState=d,f}function Kg(t,e){return t+"/"+e}function rf(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:dc(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(f){var h=n[f],g=Kg(e,f),x,v;"reducer"in h?(x=h.reducer,v=h.prepare):x=h,a[f]=x,s[g]=x,c[f]=v?Ht(g,v):Ht(g)});function d(){var f=typeof t.extraReducers=="function"?tf(t.extraReducers):[t.extraReducers],h=f[0],g=h===void 0?{}:h,x=f[1],v=x===void 0?[]:x,E=f[2],P=E===void 0?void 0:E,L=Wt(Wt({},g),s);return Gg(r,function(I){for(var A in L)I.addCase(A,L[A]);for(var C=0,R=v;C<R.length;C++){var M=R[C];I.addMatcher(M.matcher,M.reducer)}P&&I.addDefaultCase(P)})}var u;return{name:e,reducer:function(f,h){return u||(u=d()),u(f,h)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}function Xg(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Jg(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Jp,Lg,Vr,Tg,Ig,$g,qp,kg,Mg,Yp,Wt,sc,Dg,Bg,fO,Fg,Wg,cc,Zg,qg,Yg,lc,Qp,Qg,gO,of,nf,af,bO,xO,vO,SO,uc,CO,OO,EO,Xp,wO,eb,AO,sf=y(()=>{ti();ni();ni();ni();Zp();ti();ti();Jp=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Lg=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(f){return d([u,f])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(f){u=[6,f],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Vr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Tg=Object.defineProperty,Ig=Object.defineProperties,$g=Object.getOwnPropertyDescriptors,qp=Object.getOwnPropertySymbols,kg=Object.prototype.hasOwnProperty,Mg=Object.prototype.propertyIsEnumerable,Yp=function(t,e,r){return e in t?Tg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Wt=function(t,e){for(var r in e||(e={}))kg.call(e,r)&&Yp(t,r,e[r]);if(qp)for(var n=0,i=qp(e);n<i.length;n++){var r=i[n];Mg.call(e,r)&&Yp(t,r,e[r])}return t},sc=function(t,e){return Ig(t,$g(e))},Dg=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{c(r.next(d))}catch(u){i(u)}},s=function(d){try{c(r.throw(d))}catch(u){i(u)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((r=r.apply(t,e)).next())})},Bg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?jr:jr.apply(null,arguments)},fO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Fg=function(t){Jp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}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,Vr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Vr([void 0],r.concat(this))))},e}(Array),Wg=function(t){Jp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}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,Vr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Vr([void 0],r.concat(this))))},e}(Array);cc=!0;Zg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",qg=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Zg[Math.random()*64|0];return e},Yg=["name","message","stack","code"],lc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Qp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Qg=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Yg;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},gO=function(){function t(e,r,n){var i=Ht(e+"/fulfilled",function(f,h,g,x){return{payload:f,meta:sc(Wt({},x||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=Ht(e+"/pending",function(f,h,g){return{payload:void 0,meta:sc(Wt({},g||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=Ht(e+"/rejected",function(f,h,g,x,v){return{payload:x,error:(n&&n.serializeError||Qg)(f||"Rejected"),meta:sc(Wt({},v||{}),{arg:g,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function u(f){return function(h,g,x){var v=n?.idGenerator?n.idGenerator(f):qg(),E=new d,P,L=!1;function I(C){P=C,E.abort()}var A=function(){return Dg(this,null,function(){var C,R,M,z,Q,q,U;return Lg(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),z=(C=n?.condition)==null?void 0:C.call(n,f,{getState:g,extra:x}),Jg(z)?[4,z]:[3,2];case 1:z=m.sent(),m.label=2;case 2:if(z===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,Q=new Promise(function(S,D){return E.signal.addEventListener("abort",function(){return D({name:"AbortError",message:P||"Aborted"})})}),h(a(v,f,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:v,arg:f},{getState:g,extra:x}))),[4,Promise.race([Q,Promise.resolve(r(f,{dispatch:h,getState:g,extra:x,requestId:v,signal:E.signal,abort:I,rejectWithValue:function(S,D){return new lc(S,D)},fulfillWithValue:function(S,D){return new Qp(S,D)}})).then(function(S){if(S instanceof lc)throw S;return S instanceof Qp?i(S.payload,v,f,S.meta):i(S,v,f)})])];case 3:return M=m.sent(),[3,5];case 4:return q=m.sent(),M=q instanceof lc?s(null,v,f,q.payload,q.meta):s(q,v,f),[3,5];case 5:return U=n&&!n.dispatchConditionRejection&&s.match(M)&&M.meta.condition,U||h(M),[2,M]}})})}();return Object.assign(A,{abort:I,requestId:v,arg:f,unwrap:function(){return A.then(Xg)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();of="listener",nf="completed",af="cancelled",bO="task-"+af,xO="task-"+nf,vO=of+"-"+af,SO=of+"-"+nf,uc="listenerMiddleware",CO=Ht(uc+"/add"),OO=Ht(uc+"/removeAll"),EO=Ht(uc+"/remove"),wO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Xp||(Xp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},eb=function(t){return function(e){setTimeout(e,t)}},AO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:eb(10);kp()});function tb(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))xr(e)&&e.clear()}var Ot,cf=y(()=>{"use strict";sf();qn();Us();Po();window.ftReduxStores||(window.ftReduxStores={});Ot=class t extends pr{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(xr(a))return a;if(i==null)return;let s=rf({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=ef({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,r){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Zo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...d)=>{let u=c(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[s]:d})}}})}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()}}});var pc={};Y(pc,{FtCommandQueue:()=>Zo,FtLitElementRedux:()=>Te,FtReduxStore:()=>Ot,clearAllStores:()=>tb,isFtReduxStore:()=>xr,redux:()=>re,reduxEventListener:()=>bg,reduxReactive:()=>gg});var ii=y(()=>{"use strict";Sp();Us();wp();cf();qn()});var mc={};Y(mc,{scrollHelper:()=>yc});var fc,ai,hc,yc,gc=y(()=>{"use strict";hr();ai=new Map,hc=class{lock(e,r){if(r){let n=ai.get(r);if(n==null||n===e)return ai.set(r,e),r}}release(e,r){r&&ai.get(r)===e&&ai.delete(r)}findFirstScrollableParent(e){let r,n=i=>{var a;i.stopPropagation();let s,c;for(let d of i.composedPath()){let u=d,f=this.elementCanScroll(u);if(f&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else f&&c==null&&(c=u)}r=(a=s??c)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-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 i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=fr(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,c)*(a-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=(fc=window.FluidTopicsScrollHelper)!==null&&fc!==void 0?fc:new hc;yc=window.FluidTopicsScrollHelper});var bc={};Y(bc,{shadowQuerySelector:()=>rb,shadowQuerySelectorAll:()=>ob});function rb(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function ob(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var xc=y(()=>{"use strict"});var df=Py((zt,lf)=>{var si=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ci=function(){function t(){this.fetch=!1,this.DOMException=si.DOMException}return t.prototype=si,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={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 a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function d(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function u(m){return typeof m!="string"&&(m=String(m)),m}function f(m){var S={next:function(){var D=m.shift();return{done:D===void 0,value:D}}};return i.iterable&&(S[Symbol.iterator]=function(){return S}),S}function h(m){this.map={},m instanceof h?m.forEach(function(S,D){this.append(D,S)},this):Array.isArray(m)?m.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(S){this.append(S,m[S])},this)}h.prototype.append=function(m,S){m=d(m),S=u(S);var D=this.map[m];this.map[m]=D?D+", "+S:S},h.prototype.delete=function(m){delete this.map[d(m)]},h.prototype.get=function(m){return m=d(m),this.has(m)?this.map[m]:null},h.prototype.has=function(m){return this.map.hasOwnProperty(d(m))},h.prototype.set=function(m,S){this.map[d(m)]=u(S)},h.prototype.forEach=function(m,S){for(var D in this.map)this.map.hasOwnProperty(D)&&m.call(S,this.map[D],D,this)},h.prototype.keys=function(){var m=[];return this.forEach(function(S,D){m.push(D)}),f(m)},h.prototype.values=function(){var m=[];return this.forEach(function(S){m.push(S)}),f(m)},h.prototype.entries=function(){var m=[];return this.forEach(function(S,D){m.push([D,S])}),f(m)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function x(m){return new Promise(function(S,D){m.onload=function(){S(m.result)},m.onerror=function(){D(m.error)}})}function v(m){var S=new FileReader,D=x(S);return S.readAsArrayBuffer(m),D}function E(m){var S=new FileReader,D=x(S),K=/charset=([A-Za-z0-9_-]+)/.exec(m.type),X=K?K[1]:"utf-8";return S.readAsText(m,X),D}function P(m){for(var S=new Uint8Array(m),D=new Array(S.length),K=0;K<S.length;K++)D[K]=String.fromCharCode(S[K]);return D.join("")}function L(m){if(m.slice)return m.slice(0);var S=new Uint8Array(m.byteLength);return S.set(new Uint8Array(m)),S.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=L(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||c(m))?this._bodyArrayBuffer=L(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=g(this);if(m)return m;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 m=g(this);return m||(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(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(P(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(M)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function C(m){var S=m.toUpperCase();return A.indexOf(S)>-1?S:m}function R(m,S){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var D=S.body;if(m instanceof R){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,S.headers||(this.headers=new h(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!D&&m._bodyInit!=null&&(D=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new h(S.headers)),this.method=C(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in n){var j=new AbortController;return j.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var K=/([?&])_=[^&]*/;if(K.test(this.url))this.url=this.url.replace(K,"$1_="+new Date().getTime());else{var X=/\?/;this.url+=(X.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function M(m){var S=new FormData;return m.trim().split("&").forEach(function(D){if(D){var K=D.split("="),X=K.shift().replace(/\+/g," "),j=K.join("=").replace(/\+/g," ");S.append(decodeURIComponent(X),decodeURIComponent(j))}}),S}function z(m){var S=new h,D=m.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(K){return K.indexOf(`
50
+ `)===0?K.substr(1,K.length):K}).forEach(function(K){var X=K.split(":"),j=X.shift().trim();if(j){var Je=X.join(":").trim();try{S.append(j,Je)}catch(fo){console.warn("Response "+fo.message)}}}),S}I.call(R.prototype);function Q(m,S){if(!(this instanceof Q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.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=S.statusText===void 0?"":""+S.statusText,this.headers=new h(S.headers),this.url=S.url||"",this._initBody(m)}I.call(Q.prototype),Q.prototype.clone=function(){return new Q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Q.error=function(){var m=new Q(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var q=[301,302,303,307,308];Q.redirect=function(m,S){if(q.indexOf(S)===-1)throw new RangeError("Invalid status code");return new Q(null,{status:S,headers:{location:m}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(S,D){this.message=S,this.name=D;var K=Error(S);this.stack=K.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function U(m,S){return new Promise(function(D,K){var X=new R(m,S);if(X.signal&&X.signal.aborted)return K(new r.DOMException("Aborted","AbortError"));var j=new XMLHttpRequest;function Je(){j.abort()}j.onload=function(){var Se={statusText:j.statusText,headers:z(j.getAllResponseHeaders()||"")};X.url.indexOf("file://")===0&&(j.status<200||j.status>599)?Se.status=200:Se.status=j.status,Se.url="responseURL"in j?j.responseURL:Se.headers.get("X-Request-URL");var Xt="response"in j?j.response:j.responseText;setTimeout(function(){D(new Q(Xt,Se))},0)},j.onerror=function(){setTimeout(function(){K(new TypeError("Network request failed"))},0)},j.ontimeout=function(){setTimeout(function(){K(new TypeError("Network request timed out"))},0)},j.onabort=function(){setTimeout(function(){K(new r.DOMException("Aborted","AbortError"))},0)};function fo(Se){try{return Se===""&&n.location.href?n.location.href:Se}catch{return Se}}if(j.open(X.method,fo(X.url),!0),X.credentials==="include"?j.withCredentials=!0:X.credentials==="omit"&&(j.withCredentials=!1),"responseType"in j&&(i.blob?j.responseType="blob":i.arrayBuffer&&(j.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof h||n.Headers&&S.headers instanceof n.Headers)){var ql=[];Object.getOwnPropertyNames(S.headers).forEach(function(Se){ql.push(d(Se)),j.setRequestHeader(Se,u(S.headers[Se]))}),X.headers.forEach(function(Se,Xt){ql.indexOf(Xt)===-1&&j.setRequestHeader(Xt,Se)})}else X.headers.forEach(function(Se,Xt){j.setRequestHeader(Xt,Se)});X.signal&&(X.signal.addEventListener("abort",Je),j.onreadystatechange=function(){j.readyState===4&&X.signal.removeEventListener("abort",Je)}),j.send(typeof X._bodyInit>"u"?null:X._bodyInit)})}return U.polyfill=!0,n.fetch||(n.fetch=U,n.Headers=h,n.Request=R,n.Response=Q),r.Headers=h,r.Request=R,r.Response=Q,r.fetch=U,r}({})})(ci);ci.fetch.ponyfill=!0;delete ci.fetch.polyfill;var Gr=si.fetch?si:ci;zt=Gr.fetch;zt.default=Gr.fetch;zt.fetch=Gr.fetch;zt.Headers=Gr.Headers;zt.Request=Gr.Request;zt.Response=Gr.Response;lf.exports=zt});var uf=y(()=>{});var pf,ff,hf,yf,mf,gf,bf,xf,vf,Sf,Cf,Kr,wf,Of,li,Ef,Xo,Af,Zr,qr,ve,vc=y(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(pf||(pf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(ff||(ff={}));(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"})(hf||(hf={}));(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"})(yf||(yf={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(mf||(mf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(gf||(gf={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(bf||(bf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(xf||(xf={}));(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"})(vf||(vf={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Sf||(Sf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Cf||(Cf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Kr||(Kr={}));wf=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Of||(Of={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(li||(li={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ef||(Ef={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Xo||(Xo={}));Af=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Zr||(Zr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(qr||(qr={}));(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.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ve||(ve={}))});var Rf,Nf=y(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Rf||(Rf={}))});var jO,_f=y(()=>{vc();jO={[ve.PERSONAL_BOOK_SHARE_USER]:[ve.PERSONAL_BOOK_USER],[ve.HTML_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.PDF_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.KHUB_ADMIN]:[ve.CONTENT_PUBLISHER],[ve.ADMIN]:[ve.KHUB_ADMIN,ve.USERS_ADMIN,ve.PORTAL_ADMIN],[ve.DEVELOPER]:[ve.BETA_USER,ve.DEBUG_USER]}});var Pf=y(()=>{});var nb,di=y(()=>{nb=Ty(df(),1);uf();vc();Nf();_f();Pf()});var Sc={};Y(Sc,{SearchPlaceConverter:()=>Yr,SearchPlaceQueryParams:()=>ae,isSearchPlaceQueryParams:()=>Tf,serializeRequest:()=>ab});function ib(t){return`"${t}"`}function Lf(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ab(t,e){return new Yr(t).serialize(e)}function Tf(t){return sb.has(t)}var ae,sb,Yr,Cc=y(()=>{"use strict";di();hr();(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={}));sb=new Set(Object.values(ae));Yr=class{constructor(e,r={},n=20,i=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=n,this.allLanguagesAllowed=i,this.defaultContentLocale=a,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=this.toURLSearchParams(e).toString(),i=r==null||r.trim().length===0,a=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=n,a.toString()}toURLSearchParams(e,r=!1){var n,i,a,s,c,d,u,f,h,g,x,v;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()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(ae.SORT,"last_update");let P=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(C=>C.valueFilter))!==null&&s!==void 0?s:[];if(P.length>0){let C=P.map(R=>{var M,z;let Q=((z=(M=R.valueFilter)===null||M===void 0?void 0:M.values)!==null&&z!==void 0?z:[]).map(q=>this.escapeFilters(q)).map(q=>encodeURIComponent(ib(Lf(q)))).join("_");return`${R.key}~${Q}`}).join("*");E.append(ae.VALUE_FILTERS,C)}let L=(d=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(C=>C.dateFilter))!==null&&d!==void 0?d:[];if(L.length>0){let C=L.map(R=>{var M;return`${R.key}~${(M=R.dateFilter)===null||M===void 0?void 0:M.type.toLowerCase()}`}).join("*");E.append(ae.DATE_FILTERS,C)}let I=(f=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(C=>C.rangeFilter))!==null&&f!==void 0?f:[];if(I.length>0){let C=I.map(R=>{var M,z;return`${R.key}~${(M=R.rangeFilter)===null||M===void 0?void 0:M.from}_${(z=R.rangeFilter)===null||z===void 0?void 0:z.to}`}).join("*");E.append(ae.RANGE_FILTERS,C)}let A=(h=e.otherQueryParams)!==null&&h!==void 0?h:{};for(let C in A)E.append(C,A[C]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((v=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&v!==void 0?v:this.defaultPerPage)!=this.defaultPerPage&&E.append(ae.PER_PAGE,String(e.paging.perPage)),E}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,a,s,c,d,u;let f=e.get(ae.LOCALE)==="all"?void 0:e.get(ae.LOCALE),h=((r=e.get(ae.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),g=((n=e.get(ae.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),x=(i=e.get(ae.SCOPE))!==null&&i!==void 0?i:"default",v=+((a=e.get(ae.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E={};for(let P of e.keys())Tf(P)||(E[P]=e.get(P));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(ae.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[x])!==null&&c!==void 0?c:"DEFAULT",virtualField:wf(h)?h:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[g])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:fr(1,isNaN(v)?this.defaultPerPage:v,40)},otherQueryParams:E}}parseCompatFilters(e){var r,n,i,a,s,c;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(((i=e.get(ae.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ae.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ae.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ae.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(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(Lf).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Xo[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,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replace(i,r);return e}parseLegacyPeriodFilter(e){if(Af(e))return[{key:"ft:lastEdition",dateFilter:{type:Xo[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}}});var Ec={};Y(Ec,{toFtFormComponent:()=>Oc});function Oc(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[ui].form}constructor(...i){super(i),this[ui]=this.attachInternals(),this[ui].role=e}setFormValue(i){this[ui].setFormValue(i)}}return r}var ui,wc=y(()=>{"use strict";ui=Symbol("elementInternals")});var Ac={};Y(Ac,{DateFormatter:()=>Qr});var Qr,pi=y(()=>{"use strict";Qr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var Rc,Nc,_c,Pc,Lc,cb,k=y(()=>{"use strict";Ql();H();ne();Tn();Ir();Jd();_o();Oa();In();Aa();$n();Dn();is();Po();jn();Bn();As();zo();Rs();hr();Ls();ks();Ms();Bs();ii();Gn();gc();xc();Cc();wc();pi();Z();Oa();In();Aa();pi();$n();Dn();is();Po();jn();Bn();As();zo();Rs();hr();Ls();ks();Ms();Bs();ii();Gn();gc();xc();Cc();wc();Z();Lc=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((_c=(Nc=(Rc=window.safari)===null||Rc===void 0?void 0:Rc.pushNotification)===null||Nc===void 0?void 0:Nc.toString())!==null&&_c!==void 0?_c:"")==="[object SafariRemoteNotification]",cb="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Pc=window.ftGlobals)!==null&&Pc!==void 0?Pc:{lit:ca,litDecorators:pa,litRepeat:fa,litClassMap:ha,litStyleMap:ya,litUnsafeHTML:ma,wcUtils:{...Ca,...ga,...wa,...Ac,...Ra,..._a,...ns,...Sa,...Ss,...os,...ws,...Os,...yp,...Na,...Ps,...$s,...vp,...Ds,...pc,...Cs,...mc,...bc,...Sc,...Ec,isSafari:Lc,isTouchScreen:cb,setVariable:O}}});var If,N,$f,kf,Mf,Df,Bf,Cr=y(()=>{"use strict";H();k();If=o.extend("--ft-ripple-color","",$.colorContent),N={color:If,backgroundColor:o.extend("--ft-ripple-background-color","",If),opacityContentOnSurfacePressed:o.external($.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external($.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external($.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external($.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},$f=o.extend("--ft-ripple-color","",$.colorPrimary),kf={color:$f,backgroundColor:o.extend("--ft-ripple-background-color","",$f)},Mf=o.extend("--ft-ripple-color","",$.colorSecondary),Df={color:Mf,backgroundColor:o.extend("--ft-ripple-background-color","",Mf)},Bf=T`
51
51
  :host {
52
52
  display: contents;
53
53
  }
@@ -60,7 +60,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
60
60
 
61
61
  .ft-ripple:not(.ft-ripple--unbounded) {
62
62
  overflow: hidden;
63
- border-radius: ${_.borderRadius};
63
+ border-radius: ${N.borderRadius};
64
64
  }
65
65
 
66
66
  .ft-ripple .ft-ripple--background,
@@ -94,27 +94,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
94
94
  }
95
95
 
96
96
  .ft-ripple .ft-ripple--background {
97
- background-color: ${_.backgroundColor};
97
+ background-color: ${N.backgroundColor};
98
98
  }
99
99
 
100
100
  .ft-ripple .ft-ripple--effect {
101
- background-color: ${_.color};
101
+ background-color: ${N.color};
102
102
  }
103
103
 
104
104
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
105
- background-color: ${Tf.backgroundColor};
105
+ background-color: ${Df.backgroundColor};
106
106
  }
107
107
 
108
108
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
109
- background-color: ${Tf.color};
109
+ background-color: ${Df.color};
110
110
  }
111
111
 
112
112
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
113
- background-color: ${_f.backgroundColor};
113
+ background-color: ${kf.backgroundColor};
114
114
  }
115
115
 
116
116
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
117
- background-color: ${_f.color};
117
+ background-color: ${kf.color};
118
118
  }
119
119
 
120
120
  .ft-ripple .ft-ripple--background {
@@ -144,23 +144,23 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
144
144
  }
145
145
 
146
146
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
147
- opacity: ${_.opacityContentOnSurfaceHover};
147
+ opacity: ${N.opacityContentOnSurfaceHover};
148
148
  }
149
149
 
150
150
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
151
- opacity: ${_.opacityContentOnSurfaceSelected};
151
+ opacity: ${N.opacityContentOnSurfaceSelected};
152
152
  }
153
153
 
154
154
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
155
- opacity: ${_.opacityContentOnSurfaceFocused};
155
+ opacity: ${N.opacityContentOnSurfaceFocused};
156
156
  }
157
157
 
158
158
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
159
- opacity: ${_.opacityContentOnSurfacePressed};
159
+ opacity: ${N.opacityContentOnSurfacePressed};
160
160
  transform: translate(-50%, -50%) scale(1);
161
161
  }
162
- `});function $f(t){let e=Ro[t];return L`
163
- .ft-typography--${rr(t)} {
162
+ `});function Ff(t){let e=Io[t];return T`
163
+ .ft-typography--${ir(t)} {
164
164
  font-family: ${e.fontFamily};
165
165
  font-size: ${e.fontSize};
166
166
  font-weight: ${e.fontWeight};
@@ -168,54 +168,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
168
168
  line-height: ${e.lineHeight};
169
169
  text-transform: ${e.textCase};
170
170
  }
171
- `}var kf=y(()=>{"use strict";W();K()});var Mf,Et,F,Kr,Zr,qr,Yr,Qr,Xr,Jr,eo,to,st,Df,Bf,Uf,Ff,Wf,ci,Hf,zf,jf,Vf,Gf,Kf,li=y(()=>{"use strict";W();k();K();kf();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();Mf=o.extend("--ft-typography-font-family","",$.titleFont),Et=o.extend("--ft-typography-font-family","",$.contentFont),F={fontFamily:Et,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")},Kr={fontFamily:o.extend("--ft-typography-title-font-family","",Mf),fontSize:o.extend("--ft-typography-title-font-size","",F.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",F.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",F.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",F.textTransform,"inherit")},Zr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Mf),fontSize:o.extend("--ft-typography-title-dense-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",F.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",F.textTransform,"inherit")},qr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Et),fontSize:o.extend("--ft-typography-subtitle1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",F.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",F.textTransform,"inherit")},Yr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Et),fontSize:o.extend("--ft-typography-subtitle2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",F.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",F.textTransform,"inherit")},Qr={fontFamily:o.extend("--ft-typography-body1-font-family","",Et),fontSize:o.extend("--ft-typography-body1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",F.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",F.textTransform,"inherit")},Xr={fontFamily:o.extend("--ft-typography-body2-font-family","",Et),fontSize:o.extend("--ft-typography-body2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",F.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",F.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",F.textTransform,"inherit")},Jr={fontFamily:o.extend("--ft-typography-caption-font-family","",Et),fontSize:o.extend("--ft-typography-caption-font-size","",F.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",F.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",F.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",F.textTransform,"inherit")},eo={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Et),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",F.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",F.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-overline-font-family","",Et),fontSize:o.extend("--ft-typography-overline-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",F.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",F.textTransform,"uppercase")},st={fontFamily:o.extend("--ft-typography-button-font-family","",Et),fontSize:o.extend("--ft-typography-button-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",F.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",F.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",F.textTransform,"uppercase")},Df=L`
171
+ `}var Wf=y(()=>{"use strict";H();Z()});var Hf,Et,F,Xr,Jr,eo,to,ro,oo,no,io,ao,ct,zf,jf,Vf,Gf,Kf,fi,Zf,qf,Yf,Qf,Xf,Jf,hi=y(()=>{"use strict";H();k();Z();Wf();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Z();Hf=o.extend("--ft-typography-font-family","",$.titleFont),Et=o.extend("--ft-typography-font-family","",$.contentFont),F={fontFamily:Et,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")},Xr={fontFamily:o.extend("--ft-typography-title-font-family","",Hf),fontSize:o.extend("--ft-typography-title-font-size","",F.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",F.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",F.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",F.textTransform,"inherit")},Jr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Hf),fontSize:o.extend("--ft-typography-title-dense-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",F.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",F.textTransform,"inherit")},eo={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Et),fontSize:o.extend("--ft-typography-subtitle1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",F.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",F.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Et),fontSize:o.extend("--ft-typography-subtitle2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",F.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",F.textTransform,"inherit")},ro={fontFamily:o.extend("--ft-typography-body1-font-family","",Et),fontSize:o.extend("--ft-typography-body1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",F.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",F.textTransform,"inherit")},oo={fontFamily:o.extend("--ft-typography-body2-font-family","",Et),fontSize:o.extend("--ft-typography-body2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",F.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",F.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",F.textTransform,"inherit")},no={fontFamily:o.extend("--ft-typography-caption-font-family","",Et),fontSize:o.extend("--ft-typography-caption-font-size","",F.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",F.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",F.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",F.textTransform,"inherit")},io={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Et),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",F.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",F.textTransform,"inherit")},ao={fontFamily:o.extend("--ft-typography-overline-font-family","",Et),fontSize:o.extend("--ft-typography-overline-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",F.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",F.textTransform,"uppercase")},ct={fontFamily:o.extend("--ft-typography-button-font-family","",Et),fontSize:o.extend("--ft-typography-button-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",F.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",F.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",F.textTransform,"uppercase")},zf=T`
172
172
  .ft-typography--title {
173
- font-family: ${Kr.fontFamily};
174
- font-size: ${Kr.fontSize};
175
- font-weight: ${Kr.fontWeight};
176
- letter-spacing: ${Kr.letterSpacing};
177
- line-height: ${Kr.lineHeight};
178
- text-transform: ${Kr.textTransform};
179
- }
180
- `,Bf=L`
181
- .ft-typography--title-dense {
182
- font-family: ${Zr.fontFamily};
183
- font-size: ${Zr.fontSize};
184
- font-weight: ${Zr.fontWeight};
185
- letter-spacing: ${Zr.letterSpacing};
186
- line-height: ${Zr.lineHeight};
187
- text-transform: ${Zr.textTransform};
188
- }
189
- `,Uf=L`
190
- .ft-typography--subtitle1 {
191
- font-family: ${qr.fontFamily};
192
- font-size: ${qr.fontSize};
193
- font-weight: ${qr.fontWeight};
194
- letter-spacing: ${qr.letterSpacing};
195
- line-height: ${qr.lineHeight};
196
- text-transform: ${qr.textTransform};
197
- }
198
- `,Ff=L`
199
- .ft-typography--subtitle2 {
200
- font-family: ${Yr.fontFamily};
201
- font-size: ${Yr.fontSize};
202
- font-weight: ${Yr.fontWeight};
203
- letter-spacing: ${Yr.letterSpacing};
204
- line-height: ${Yr.lineHeight};
205
- text-transform: ${Yr.textTransform};
206
- }
207
-
208
- `,Wf=L`
209
- .ft-typography--body1 {
210
- font-family: ${Qr.fontFamily};
211
- font-size: ${Qr.fontSize};
212
- font-weight: ${Qr.fontWeight};
213
- letter-spacing: ${Qr.letterSpacing};
214
- line-height: ${Qr.lineHeight};
215
- text-transform: ${Qr.textTransform};
216
- }
217
- `,ci=L`
218
- .ft-typography--body2 {
219
173
  font-family: ${Xr.fontFamily};
220
174
  font-size: ${Xr.fontSize};
221
175
  font-weight: ${Xr.fontWeight};
@@ -223,8 +177,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
223
177
  line-height: ${Xr.lineHeight};
224
178
  text-transform: ${Xr.textTransform};
225
179
  }
226
- `,Hf=L`
227
- .ft-typography--caption {
180
+ `,jf=T`
181
+ .ft-typography--title-dense {
228
182
  font-family: ${Jr.fontFamily};
229
183
  font-size: ${Jr.fontSize};
230
184
  font-weight: ${Jr.fontWeight};
@@ -232,8 +186,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
232
186
  line-height: ${Jr.lineHeight};
233
187
  text-transform: ${Jr.textTransform};
234
188
  }
235
- `,zf=L`
236
- .ft-typography--breadcrumb {
189
+ `,Vf=T`
190
+ .ft-typography--subtitle1 {
237
191
  font-family: ${eo.fontFamily};
238
192
  font-size: ${eo.fontSize};
239
193
  font-weight: ${eo.fontWeight};
@@ -241,8 +195,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
241
195
  line-height: ${eo.lineHeight};
242
196
  text-transform: ${eo.textTransform};
243
197
  }
244
- `,jf=L`
245
- .ft-typography--overline {
198
+ `,Gf=T`
199
+ .ft-typography--subtitle2 {
246
200
  font-family: ${to.fontFamily};
247
201
  font-size: ${to.fontSize};
248
202
  font-weight: ${to.fontWeight};
@@ -250,20 +204,66 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
250
204
  line-height: ${to.lineHeight};
251
205
  text-transform: ${to.textTransform};
252
206
  }
253
- `,Vf=L`
207
+
208
+ `,Kf=T`
209
+ .ft-typography--body1 {
210
+ font-family: ${ro.fontFamily};
211
+ font-size: ${ro.fontSize};
212
+ font-weight: ${ro.fontWeight};
213
+ letter-spacing: ${ro.letterSpacing};
214
+ line-height: ${ro.lineHeight};
215
+ text-transform: ${ro.textTransform};
216
+ }
217
+ `,fi=T`
218
+ .ft-typography--body2 {
219
+ font-family: ${oo.fontFamily};
220
+ font-size: ${oo.fontSize};
221
+ font-weight: ${oo.fontWeight};
222
+ letter-spacing: ${oo.letterSpacing};
223
+ line-height: ${oo.lineHeight};
224
+ text-transform: ${oo.textTransform};
225
+ }
226
+ `,Zf=T`
227
+ .ft-typography--caption {
228
+ font-family: ${no.fontFamily};
229
+ font-size: ${no.fontSize};
230
+ font-weight: ${no.fontWeight};
231
+ letter-spacing: ${no.letterSpacing};
232
+ line-height: ${no.lineHeight};
233
+ text-transform: ${no.textTransform};
234
+ }
235
+ `,qf=T`
236
+ .ft-typography--breadcrumb {
237
+ font-family: ${io.fontFamily};
238
+ font-size: ${io.fontSize};
239
+ font-weight: ${io.fontWeight};
240
+ letter-spacing: ${io.letterSpacing};
241
+ line-height: ${io.lineHeight};
242
+ text-transform: ${io.textTransform};
243
+ }
244
+ `,Yf=T`
245
+ .ft-typography--overline {
246
+ font-family: ${ao.fontFamily};
247
+ font-size: ${ao.fontSize};
248
+ font-weight: ${ao.fontWeight};
249
+ letter-spacing: ${ao.letterSpacing};
250
+ line-height: ${ao.lineHeight};
251
+ text-transform: ${ao.textTransform};
252
+ }
253
+ `,Qf=T`
254
254
  .ft-typography--button {
255
- font-family: ${st.fontFamily};
256
- font-size: ${st.fontSize};
257
- font-weight: ${st.fontWeight};
258
- letter-spacing: ${st.letterSpacing};
259
- line-height: ${st.lineHeight};
260
- text-transform: ${st.textTransform};
261
- }
262
- `,Gf=L`
255
+ font-family: ${ct.fontFamily};
256
+ font-size: ${ct.fontSize};
257
+ font-weight: ${ct.fontWeight};
258
+ letter-spacing: ${ct.letterSpacing};
259
+ line-height: ${ct.lineHeight};
260
+ text-transform: ${ct.textTransform};
261
+ }
262
+ `,Xf=T`
263
263
  .ft-typography {
264
264
  vertical-align: inherit;
265
265
  }
266
- `,Kf=[Object.keys(Ro).map(t=>$f(t))]});var de,Zf,Ko=y(()=>{"use strict";W();k();de={color:o.extend("--ft-loader-color","",$.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Zf=L`
266
+ `,Jf=[Object.keys(Io).map(t=>Ff(t))]});var ue,eh,Jo=y(()=>{"use strict";H();k();ue={color:o.extend("--ft-loader-color","",$.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},eh=T`
267
267
  :host {
268
268
  line-height: 0;
269
269
  }
@@ -272,8 +272,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
272
272
  display: inline-block;
273
273
  position: relative;
274
274
 
275
- width: ${de.size};
276
- height: ${de.size};
275
+ width: ${ue.size};
276
+ height: ${ue.size};
277
277
  }
278
278
 
279
279
  .ft-loader div {
@@ -282,7 +282,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
282
282
  width: 25%;
283
283
  height: 25%;
284
284
  border-radius: 50%;
285
- background: ${de.color};
285
+ background: ${ue.color};
286
286
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
287
287
  }
288
288
 
@@ -329,10 +329,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
329
329
  transform: translate(0, 0);
330
330
  }
331
331
  100% {
332
- transform: translate(calc(0.35 * ${de.size}), 0);
332
+ transform: translate(calc(0.35 * ${ue.size}), 0);
333
333
  }
334
334
  }
335
- `});var Re,qf,Zo=y(()=>{"use strict";W();k();Re={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")},qf=L`
335
+ `});var Pe,th,en=y(()=>{"use strict";H();k();Pe={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")},th=T`
336
336
  :host, i.ft-icon {
337
337
  display: inline-flex;
338
338
  align-items: center;
@@ -341,14 +341,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
341
341
  }
342
342
 
343
343
  :host {
344
- width: ${Re.size};
345
- height: ${Re.size};
344
+ width: ${Pe.size};
345
+ height: ${Pe.size};
346
346
  }
347
347
 
348
348
  i.ft-icon {
349
349
  width: 100%;
350
350
  height: 100%;
351
- font-size: ${Re.size};
351
+ font-size: ${Pe.size};
352
352
  line-height: 1;
353
353
  font-weight: normal;
354
354
  text-transform: none;
@@ -359,53 +359,54 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
359
359
  text-rendering: auto;
360
360
  -webkit-font-smoothing: antialiased;
361
361
  -moz-osx-font-smoothing: grayscale;
362
- vertical-align: ${Re.verticalAlign};
362
+ vertical-align: ${Pe.verticalAlign};
363
363
  }
364
364
 
365
365
  i.ft-icon.ft-icon--fluid-topics {
366
- font-family: ${Re.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
366
+ font-family: ${Pe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
367
367
 
368
368
  /* Ugly fix because font is broken */
369
- font-size: calc(0.75 * ${Re.size});
370
- line-height: ${Re.size};
369
+ font-size: calc(0.75 * ${Pe.size});
370
+ line-height: ${Pe.size};
371
371
  position: relative;
372
372
  top: -4%;
373
373
  justify-content: center;
374
374
  }
375
375
 
376
376
  .ft-icon--file-format {
377
- font-family: ${Re.fileFormatFontFamily}, ft-mime, sans-serif;
377
+ font-family: ${Pe.fileFormatFontFamily}, ft-mime, sans-serif;
378
378
  }
379
379
 
380
380
  .ft-icon--material {
381
- font-family: ${Re.materialFontFamily}, "Material Icons", sans-serif;
381
+ font-family: ${Pe.materialFontFamily}, "Material Icons", sans-serif;
382
382
  }
383
- `});var Yf,he,Qf,Nc,ct,Xf,_c=y(()=>{"use strict";W();k();mr();li();Ko();Zo();Yf=o.extend("--ft-button-color","",$.colorPrimary),he={backgroundColor:o.extend("--ft-button-background-color","",$.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",$.borderRadiusL),color:Yf,fontSize:o.extend("--ft-button-font-size","",st.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Yf),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($.colorOpacityDisabled,"Design system")},Qf=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",$.colorOnPrimary)),Nc={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",$.colorPrimary)),color:Qf,rippleColor:o.extend("--ft-button-primary-ripple-color","",Qf)},ct={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",$.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")},Xf=[L`
383
+ `});var rh,ye,oh,Tc,lt,nh,Ic=y(()=>{"use strict";H();k();Cr();hi();Jo();en();rh=o.extend("--ft-button-color","",$.colorPrimary),ye={backgroundColor:o.extend("--ft-button-background-color","",$.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",$.borderRadiusL),color:rh,fontSize:o.extend("--ft-button-font-size","",ct.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",rh),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($.colorOpacityDisabled,"Design system")},oh=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",$.colorOnPrimary)),Tc={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",$.colorPrimary)),color:oh,rippleColor:o.extend("--ft-button-primary-ripple-color","",oh)},lt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",$.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")},nh=[T`
384
384
  :host {
385
385
  display: inline-block;
386
386
  max-width: 100%;
387
387
  pointer-events: none;
388
388
  }
389
389
 
390
- button {
390
+ .ft-button {
391
391
  box-shadow: 0px 0px 0px transparent;
392
392
  border: 0px solid transparent;
393
393
  text-shadow: 0px 0px 0px transparent;
394
- font-size: ${he.fontSize};
394
+ font-size: ${ye.fontSize};
395
+ text-decoration: none;
395
396
  }
396
397
 
397
- button:hover {
398
+ .ft-button:hover {
398
399
  box-shadow: 0px 0px 0px transparent;
399
400
  border: 0px solid transparent;
400
401
  text-shadow: 0px 0px 0px transparent;
401
402
  }
402
403
 
403
- button:active {
404
+ .ft-button:active {
404
405
  outline: none;
405
406
  border: none;
406
407
  }
407
408
 
408
- button:focus {
409
+ .ft-button:focus {
409
410
  outline: 0;
410
411
  }
411
412
 
@@ -420,31 +421,31 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
420
421
  border: none;
421
422
  pointer-events: auto;
422
423
 
423
- --ft-button-internal-line-height: max(calc(${he.fontSize} + 2px), ${he.iconSize});
424
- --ft-button-internal-color: ${he.color};
425
- ${O(Re.size,he.iconSize)};
426
- ${O(_.color,he.rippleColor)};
424
+ --ft-button-internal-line-height: max(calc(${ye.fontSize} + 2px), ${ye.iconSize});
425
+ --ft-button-internal-color: ${ye.color};
426
+ ${O(Pe.size,ye.iconSize)};
427
+ ${O(N.color,ye.rippleColor)};
427
428
 
428
- border-radius: ${he.borderRadius};
429
- padding: ${he.verticalPadding} ${he.horizontalPadding};
430
- background-color: ${he.backgroundColor};
429
+ border-radius: ${ye.borderRadius};
430
+ padding: ${ye.verticalPadding} ${ye.horizontalPadding};
431
+ background-color: ${ye.backgroundColor};
431
432
  color: var(--ft-button-internal-color);
432
433
  -webkit-mask-image: radial-gradient(white, black);
433
434
  }
434
435
 
435
436
  .ft-button.ft-button--outlined {
436
437
  border: 1px solid var(--ft-button-internal-color);
437
- padding: calc(${he.verticalPadding} - 1px) calc(${he.horizontalPadding} - 1px);
438
+ padding: calc(${ye.verticalPadding} - 1px) calc(${ye.horizontalPadding} - 1px);
438
439
  }
439
440
 
440
441
  .ft-button.ft-button--dense {
441
- padding: ${ct.verticalPadding} ${ct.horizontalPadding};
442
- border-radius: ${ct.borderRadius};
443
- gap: ${ct.iconPadding};
442
+ padding: ${lt.verticalPadding} ${lt.horizontalPadding};
443
+ border-radius: ${lt.borderRadius};
444
+ gap: ${lt.iconPadding};
444
445
  }
445
446
 
446
447
  .ft-button.ft-button--dense.ft-button--outlined {
447
- padding: calc(${ct.verticalPadding} - 1px) calc(${ct.horizontalPadding} - 1px);
448
+ padding: calc(${lt.verticalPadding} - 1px) calc(${lt.horizontalPadding} - 1px);
448
449
  }
449
450
 
450
451
  .ft-button:not([disabled]):hover {
@@ -452,22 +453,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
452
453
  }
453
454
 
454
455
  .ft-button--round {
455
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${he.verticalPadding});
456
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ye.verticalPadding});
456
457
  }
457
458
 
458
459
  .ft-button--round.ft-button--dense {
459
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ct.verticalPadding});
460
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${lt.verticalPadding});
460
461
  }
461
462
 
462
463
  .ft-button[disabled] {
463
464
  filter: grayscale(1);
464
- opacity: ${he.opacityDisabled};
465
+ opacity: ${ye.opacityDisabled};
465
466
  }
466
467
 
467
468
  .ft-button.ft-button--primary {
468
- background-color: ${Nc.backgroundColor};
469
- --ft-button-internal-color: ${Nc.color};
470
- ${O(_.color,Nc.rippleColor)};
469
+ background-color: ${Tc.backgroundColor};
470
+ --ft-button-internal-color: ${Tc.color};
471
+ ${O(N.color,Tc.rippleColor)};
471
472
  }
472
473
 
473
474
  .ft-button:focus {
@@ -480,13 +481,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
480
481
  white-space: nowrap;
481
482
  text-overflow: ellipsis;
482
483
  display: block;
483
- margin: 0 ${he.iconPadding};
484
- ${O(st.fontSize,"1em")};
485
- ${O(st.lineHeight,"var(--ft-button-internal-line-height)")};
484
+ margin: 0 ${ye.iconPadding};
485
+ ${O(ct.fontSize,"1em")};
486
+ ${O(ct.lineHeight,"var(--ft-button-internal-line-height)")};
486
487
  }
487
488
 
488
489
  .ft-button--dense .ft-button--label {
489
- margin: 0 ${ct.iconPadding};
490
+ margin: 0 ${lt.iconPadding};
490
491
  }
491
492
 
492
493
  .ft-button--label[hidden] {
@@ -499,13 +500,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
499
500
  }
500
501
 
501
502
  .ft-button--label[hidden] + [part="icon"] {
502
- margin: 0 calc(${he.horizontalPadding} * -1);
503
- padding: 0 ${he.verticalPadding};
503
+ margin: 0 calc(${ye.horizontalPadding} * -1);
504
+ padding: 0 ${ye.verticalPadding};
504
505
  }
505
506
 
506
507
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
507
- margin: 0 calc(${ct.horizontalPadding} * -1);
508
- padding: 0 ${ct.verticalPadding};
508
+ margin: 0 calc(${lt.horizontalPadding} * -1);
509
+ padding: 0 ${lt.verticalPadding};
509
510
  }
510
511
 
511
512
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -513,29 +514,29 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
513
514
  }
514
515
 
515
516
  ft-loader {
516
- ${O(de.size,he.iconSize)};
517
- ${O(de.color,"var(--ft-button-internal-color)")};
517
+ ${O(ue.size,ye.iconSize)};
518
+ ${O(ue.color,"var(--ft-button-internal-color)")};
518
519
  }
519
- `,Uo]});var Te,se,Pc=y(()=>{"use strict";W();oe();Nr();k();mr();Te=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},se=class extends te{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 Oe(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 Oe(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=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(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return B`
520
+ `,Vo]});var Ie,ce,$c=y(()=>{"use strict";H();ne();Ir();k();Cr();Ie=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ce=class extends te{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 Ce(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 Ce(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=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(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return B`
520
521
  <style>
521
522
  .ft-ripple .ft-ripple--effect {
522
523
  left: ${this.originX}px;
523
524
  top: ${this.originY}px;
524
525
  }
525
526
  </style>
526
- <div class="${mt(e)}">
527
+ <div class="${rt(e)}">
527
528
  <div class="ft-ripple--background"></div>
528
529
  <div class="ft-ripple--effect"></div>
529
530
  </div>
530
- `}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=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},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",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};se.elementDefinitions={};se.styles=If;Te([w({type:Boolean})],se.prototype,"primary",void 0);Te([w({type:Boolean})],se.prototype,"secondary",void 0);Te([w({type:Boolean})],se.prototype,"unbounded",void 0);Te([w({type:Boolean})],se.prototype,"activated",void 0);Te([w({type:Boolean})],se.prototype,"selected",void 0);Te([w({type:Boolean})],se.prototype,"disabled",void 0);Te([fe()],se.prototype,"hovered",void 0);Te([fe()],se.prototype,"focused",void 0);Te([fe()],se.prototype,"pressed",void 0);Te([fe()],se.prototype,"rippling",void 0);Te([fe()],se.prototype,"originX",void 0);Te([fe()],se.prototype,"originY",void 0);Te([xe(".ft-ripple")],se.prototype,"ripple",void 0);Te([xe(".ft-ripple--effect")],se.prototype,"rippleEffect",void 0)});var Jf=y(()=>{"use strict"});var di=y(()=>{"use strict";k();Pc();Pc();mr();Jf();V("ft-ripple")(se)});var th,nb,Tc,eh,rh,Ic,Lw,oh=y(()=>{ft();th=Symbol.for(""),nb=t=>{if(t?.r===th)return t?._$litStatic$},Tc=t=>({_$litStatic$:t,r:th}),eh=new Map,rh=t=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],d,u=0,f=!1;for(;u<n;){for(d=e[u];u<n&&(a=r[u],(i=nb(a))!==void 0);)d+=i+e[++u],f=!0;u!==n&&c.push(a),s.push(d),u++}if(u===n&&s.push(e[n]),f){let h=s.join("$$lit$$");(e=eh.get(h))===void 0&&(s.raw=s,eh.set(h,e=s)),r=c}return t(e,...r)},Ic=rh(ld),Lw=rh(dd)});var nh=y(()=>{oh()});var Ht,ui=y(()=>{"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 ih,me,Lc=y(()=>{"use strict";nh();oe();k();ui();li();ih=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},me=class extends te{constructor(){super(...arguments),this.variant=Ht.body1}render(){return this.element?Ic`
531
- <${Tc(this.element)}
531
+ `}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=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},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",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ce.elementDefinitions={};ce.styles=Bf;Ie([w({type:Boolean})],ce.prototype,"primary",void 0);Ie([w({type:Boolean})],ce.prototype,"secondary",void 0);Ie([w({type:Boolean})],ce.prototype,"unbounded",void 0);Ie([w({type:Boolean})],ce.prototype,"activated",void 0);Ie([w({type:Boolean})],ce.prototype,"selected",void 0);Ie([w({type:Boolean})],ce.prototype,"disabled",void 0);Ie([le()],ce.prototype,"hovered",void 0);Ie([le()],ce.prototype,"focused",void 0);Ie([le()],ce.prototype,"pressed",void 0);Ie([le()],ce.prototype,"rippling",void 0);Ie([le()],ce.prototype,"originX",void 0);Ie([le()],ce.prototype,"originY",void 0);Ie([xe(".ft-ripple")],ce.prototype,"ripple",void 0);Ie([xe(".ft-ripple--effect")],ce.prototype,"rippleEffect",void 0)});var ih=y(()=>{"use strict"});var yi=y(()=>{"use strict";k();$c();$c();Cr();ih();G("ft-ripple")(ce)});var sh,lb,kc,ah,ch,Mc,Hw,lh=y(()=>{ht();sh=Symbol.for(""),lb=t=>{if(t?.r===sh)return t?._$litStatic$},kc=t=>({_$litStatic$:t,r:sh}),ah=new Map,ch=t=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],d,u=0,f=!1;for(;u<n;){for(d=e[u];u<n&&(a=r[u],(i=lb(a))!==void 0);)d+=i+e[++u],f=!0;u!==n&&c.push(a),s.push(d),u++}if(u===n&&s.push(e[n]),f){let h=s.join("$$lit$$");(e=ah.get(h))===void 0&&(s.raw=s,ah.set(h,e=s)),r=c}return t(e,...r)},Mc=ch(fd),Hw=ch(hd)});var dh=y(()=>{lh()});var jt,mi=y(()=>{"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"})(jt||(jt={}))});var uh,be,Dc=y(()=>{"use strict";dh();ne();k();mi();hi();uh=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},be=class extends te{constructor(){super(...arguments),this.variant=jt.body1}render(){return this.element?Mc`
532
+ <${kc(this.element)}
532
533
  part="text"
533
534
  class="ft-typography ft-typography--${this.variant}">
534
535
  <slot></slot>
535
- </${Tc(this.element)}>
536
- `:Ic`
536
+ </${kc(this.element)}>
537
+ `:Mc`
537
538
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
538
- `}};me.styles=[Df,Bf,Uf,Ff,Wf,ci,Hf,zf,jf,Vf,Gf,...Kf];ih([w()],me.prototype,"element",void 0);ih([w()],me.prototype,"variant",void 0)});var wt=y(()=>{"use strict";k();Lc();Lc();li();ui();V("ft-typography")(me)});var zt,ah,$c=y(()=>{"use strict";W();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($.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},ah=L`
539
+ `}};be.styles=[zf,jf,Vf,Gf,Kf,fi,Zf,qf,Yf,Qf,Xf,...Jf];uh([w()],be.prototype,"element",void 0);uh([w()],be.prototype,"variant",void 0)});var wt=y(()=>{"use strict";k();Dc();Dc();hi();mi();G("ft-typography")(be)});var Vt,ph,Bc=y(()=>{"use strict";H();k();Vt={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($.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},ph=T`
539
540
  .ft-tooltip--container {
540
541
  display: block;
541
542
  }
@@ -550,21 +551,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
550
551
  box-sizing: border-box;
551
552
  overflow: hidden;
552
553
  width: max-content;
553
- max-width: ${zt.maxWidth};
554
+ max-width: ${Vt.maxWidth};
554
555
  text-align: center;
555
- padding: ${zt.distance};
556
- z-index: ${zt.zIndex};
556
+ padding: ${Vt.distance};
557
+ z-index: ${Vt.zIndex};
557
558
  }
558
559
 
559
560
  .ft-tooltip--content {
560
561
  padding: 4px 8px;
561
- border-radius: ${zt.borderRadiusS};
562
- background-color: ${zt.backgroundColor};
563
- color: ${zt.color};
562
+ border-radius: ${Vt.borderRadiusS};
563
+ background-color: ${Vt.backgroundColor};
564
+ color: ${Vt.color};
564
565
  position: relative;
565
566
  word-break: break-word;
566
567
  }
567
- `});var Ie,ye,kc=y(()=>{"use strict";W();oe();k();wt();$c();Bn();Ie=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ye=class extends te{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 Oe,this.revealDebouncer=new Oe}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return B`
568
+ `});var $e,me,Uc=y(()=>{"use strict";H();ne();k();wt();Bc();jn();$e=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},me=class extends te{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 Ce,this.revealDebouncer=new Ce}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return B`
568
569
  <div part="container"
569
570
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
570
571
  @mouseenter=${this.onHover}
@@ -582,32 +583,43 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
582
583
  </div>
583
584
  </div>
584
585
  </div>
585
- `}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="",ms(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))}};ye.elementDefinitions={"ft-typography":me};ye.styles=ah;Ie([w()],ye.prototype,"text",void 0);Ie([w({type:Boolean})],ye.prototype,"manual",void 0);Ie([w({type:Boolean})],ye.prototype,"inline",void 0);Ie([w({type:Number})],ye.prototype,"delay",void 0);Ie([w()],ye.prototype,"position",void 0);Ie([ia()],ye.prototype,"slotNodes",void 0);Ie([xe(".ft-tooltip--container")],ye.prototype,"container",void 0);Ie([xe(".ft-tooltip")],ye.prototype,"tooltip",void 0);Ie([xe(".ft-tooltip--content")],ye.prototype,"tooltipContent",void 0);Ie([fe()],ye.prototype,"visible",void 0);Ie([wr({passive:!0})],ye.prototype,"onTouch",null);Ie([wr({passive:!0})],ye.prototype,"onHover",null);Ie([wr({passive:!0})],ye.prototype,"onOut",null);Ie([wr({passive:!0})],ye.prototype,"onClick",null)});var sh=y(()=>{"use strict"});var Mc=y(()=>{"use strict";k();kc();kc();$c();sh();V("ft-tooltip")(ye)});function ch(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=ib.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=Dc.get(c))!==null&&n!==void 0?n:Dc.get(e))!==null&&i!==void 0?i:Dc.get(s))!==null&&a!==void 0?a:P.UNKNOWN}var jt,P,Dc,ib,pA,Bc=y(()=>{"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.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(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={}));Dc=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])]),ib=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"]]);pA={[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 Fe,Uc=y(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Fe||(Fe={}))});var pi,Le,Fc=y(()=>{"use strict";W();oe();k();wo();Bc();Zo();Uc();pi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Le=class extends te{constructor(){super(...arguments),this.resolvedIcon=j}render(){let e=this.variant&&Object.values(Fe).includes(this.variant)?this.variant:Fe.fluid_topics,r=e!==Fe.material||!!this.value;return B`
586
+ `}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="",vs(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":be};me.styles=ph;$e([w()],me.prototype,"text",void 0);$e([w({type:Boolean})],me.prototype,"manual",void 0);$e([w({type:Boolean})],me.prototype,"inline",void 0);$e([w({type:Number})],me.prototype,"delay",void 0);$e([w()],me.prototype,"position",void 0);$e([ua()],me.prototype,"slotNodes",void 0);$e([xe(".ft-tooltip--container")],me.prototype,"container",void 0);$e([xe(".ft-tooltip")],me.prototype,"tooltip",void 0);$e([xe(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);$e([le()],me.prototype,"visible",void 0);$e([Pr({passive:!0})],me.prototype,"onTouch",null);$e([Pr({passive:!0})],me.prototype,"onHover",null);$e([Pr({passive:!0})],me.prototype,"onOut",null);$e([Pr({passive:!0})],me.prototype,"onClick",null)});var fh=y(()=>{"use strict"});var Fc=y(()=>{"use strict";k();Uc();Uc();Bc();fh();G("ft-tooltip")(me)});function hh(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=db.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=Wc.get(c))!==null&&n!==void 0?n:Wc.get(e))!==null&&i!==void 0?i:Wc.get(s))!==null&&a!==void 0?a:_.UNKNOWN}var Gt,_,Wc,db,SA,Hc=y(()=>{"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.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Gt||(Gt={}));(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;"})(_||(_={}));Wc=new Map([...["abw"].map(t=>[t,_.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,_.AUDIO]),...["avi"].map(t=>[t,_.AVI]),...["chm","xhs"].map(t=>[t,_.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,_.CODE]),...["csv"].map(t=>[t,_.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,_.DITA]),...["epub"].map(t=>[t,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,_.EXCEL]),...["flac"].map(t=>[t,_.FLAC]),...["gif"].map(t=>[t,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,_.GZIP]),...["html","htm","xhtml"].map(t=>[t,_.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,_.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,_.JPEG]),...["json"].map(t=>[t,_.JSON]),...["m4a","m4p"].map(t=>[t,_.M4A]),...["mov","qt"].map(t=>[t,_.MOV]),...["mp3"].map(t=>[t,_.MP3]),...["mp4","m4v"].map(t=>[t,_.MP4]),...["ogg","oga"].map(t=>[t,_.OGG]),...["pdf","ps"].map(t=>[t,_.PDF]),...["png"].map(t=>[t,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,_.POWERPOINT]),...["rar"].map(t=>[t,_.RAR]),...["stp"].map(t=>[t,_.STP]),...["txt","rtf","md","mdown"].map(t=>[t,_.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,_.VIDEO]),...["wav"].map(t=>[t,_.WAV]),...["wma"].map(t=>[t,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,_.WORD]),...["xml","xsl","rdf"].map(t=>[t,_.XML]),...["yaml","yml","x-yaml"].map(t=>[t,_.YAML]),...["zip"].map(t=>[t,_.ZIP])]),db=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"]]);SA={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"}});var We,zc=y(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(We||(We={}))});var gi,ke,jc=y(()=>{"use strict";H();ne();k();_o();Hc();en();zc();gi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ke=class extends te{constructor(){super(...arguments),this.resolvedIcon=V}render(){let e=this.variant&&Object.values(We).includes(this.variant)?this.variant:We.fluid_topics,r=e!==We.material||!!this.value;return B`
586
587
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
587
- ${cr(this.resolvedIcon)}
588
+ ${ur(this.resolvedIcon)}
588
589
  <slot ?hidden=${r}></slot>
589
590
  </i>
590
- `}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 Fe.file_format:this.resolvedIcon=(e=P[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Fe.material:this.resolvedIcon=this.value||j;break;default:this.resolvedIcon=(r=jt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Le.elementDefinitions={};Le.styles=qf;pi([w()],Le.prototype,"variant",void 0);pi([w()],Le.prototype,"value",void 0);pi([fe()],Le.prototype,"resolvedIcon",void 0);pi([xe("slot")],Le.prototype,"slottedContent",void 0)});var fi=y(()=>{"use strict";k();Fc();Zo();Uc();Fc();Bc();V("ft-icon")(Le)});var gr,Wc=y(()=>{"use strict";W();k();Ko();gr=class extends te{render(){return B`
591
+ `}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 We.file_format:this.resolvedIcon=(e=_[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case We.material:this.resolvedIcon=this.value||V;break;default:this.resolvedIcon=(r=Gt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ke.elementDefinitions={};ke.styles=th;gi([w()],ke.prototype,"variant",void 0);gi([w()],ke.prototype,"value",void 0);gi([le()],ke.prototype,"resolvedIcon",void 0);gi([xe("slot")],ke.prototype,"slottedContent",void 0)});var bi=y(()=>{"use strict";k();jc();en();zc();jc();Hc();G("ft-icon")(ke)});var Or,Vc=y(()=>{"use strict";H();k();Jo();Or=class extends te{render(){return B`
591
592
  <div class="ft-loader">
592
593
  <div></div>
593
594
  <div></div>
594
595
  <div></div>
595
596
  <div></div>
596
597
  </div>
597
- `}};gr.styles=Zf});var lh=y(()=>{"use strict"});var dh=y(()=>{"use strict";k();Wc();Ko();lh();Wc();V("ft-loader")(gr)});var $e,ge,Hc=y(()=>{"use strict";k();di();Mc();wt();fi();dh();W();Nr();oe();$e=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ge=class extends xc(te,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),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;return this.addTooltipIfNeeded(B`
598
+ `}};Or.styles=eh});var yh=y(()=>{"use strict"});var mh=y(()=>{"use strict";k();Vc();Jo();yh();Vc();G("ft-loader")(Or)});var we,fe,Gc=y(()=>{"use strict";k();yi();Fc();wt();bi();mh();H();Ir();ne();we=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends Oc(te,"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 i=B`
599
+ <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
600
+ <ft-typography part="label"
601
+ variant=${this.typographyVariant}
602
+ element="span"
603
+ class="ft-button--label ${Lc?"ft-safari-ellipsis-fix":""}"
604
+ ?hidden=${!this.hasTextContent()}>
605
+ <slot @slotchange=${this.onSlotchange}></slot>
606
+ </ft-typography>
607
+ ${this.resolveIcon()}
608
+ `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?B`
609
+ <a href="${a}"
610
+ target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
611
+ part="button"
612
+ class="${rt(this.buttonClasses)}"
613
+ aria-label="${(r=this.ariaLabel)!==null&&r!==void 0?r:this.getLabel()}"
614
+ ?disabled=${this.isDisabled()}>
615
+ ${i}
616
+ </a>
617
+ `:B`
598
618
  <button part="button"
599
- class="${mt(this.buttonClasses)}"
600
- aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
619
+ class="${rt(this.buttonClasses)}"
620
+ aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
601
621
  ?disabled=${this.isDisabled()}>
602
- <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
603
- <ft-typography part="label"
604
- variant=${this.typographyVariant}
605
- element="span"
606
- class="ft-button--label ${Rc?"ft-safari-ellipsis-fix":""}"
607
- ?hidden=${!this.hasTextContent()}>
608
- <slot @slotchange=${this.onSlotchange}></slot>
609
- </ft-typography>
610
- ${this.resolveIcon()}
622
+ ${i}
611
623
  </button>
612
624
  `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?B`
613
625
  <ft-tooltip part="tooltip"
@@ -620,7 +632,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
620
632
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
621
633
  `:B`
622
634
  <slot part="icon" name="icon"></slot>
623
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return Pn(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ge.elementDefinitions={"ft-ripple":se,"ft-tooltip":ye,"ft-typography":me,"ft-icon":Le,"ft-loader":gr};$e([w({type:String,reflect:!0})],ge.prototype,"role",void 0);$e([w()],ge.prototype,"type",void 0);$e([w({type:Boolean})],ge.prototype,"disabled",void 0);$e([w()],ge.prototype,"label",void 0);$e([w()],ge.prototype,"icon",void 0);$e([w()],ge.prototype,"iconVariant",void 0);$e([w({type:Boolean})],ge.prototype,"trailingIcon",void 0);$e([w({type:Boolean})],ge.prototype,"loading",void 0);$e([w({attribute:"aria-label"})],ge.prototype,"ariaLabel",void 0);$e([w()],ge.prototype,"tooltipPosition",void 0);$e([w({type:Boolean})],ge.prototype,"hideTooltip",void 0);$e([w({type:Boolean})],ge.prototype,"forceTooltip",void 0);$e([xe(".ft-button")],ge.prototype,"button",void 0);$e([xe(".ft-button--label slot")],ge.prototype,"slottedContent",void 0)});var hi,We,zc=y(()=>{"use strict";oe();k();_c();Hc();hi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},We=class extends ge{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=[Fo,Xf];hi([w({type:Boolean})],We.prototype,"primary",void 0);hi([w({type:Boolean})],We.prototype,"outlined",void 0);hi([w({type:Boolean})],We.prototype,"dense",void 0);hi([w({type:Boolean})],We.prototype,"round",void 0)});var uh,jc=y(()=>{"use strict";W();k();mr();Ko();Zo();K();K();uh=[L`
635
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return Mn(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};fe.elementDefinitions={"ft-ripple":ce,"ft-tooltip":me,"ft-typography":be,"ft-icon":ke,"ft-loader":Or};we([w()],fe.prototype,"href",void 0);we([w()],fe.prototype,"target",void 0);we([w({type:String,reflect:!0})],fe.prototype,"role",void 0);we([w()],fe.prototype,"type",void 0);we([w({type:Boolean})],fe.prototype,"disabled",void 0);we([w()],fe.prototype,"label",void 0);we([w()],fe.prototype,"icon",void 0);we([w()],fe.prototype,"iconVariant",void 0);we([w({type:Boolean})],fe.prototype,"trailingIcon",void 0);we([w({type:Boolean})],fe.prototype,"loading",void 0);we([w({attribute:"aria-label"})],fe.prototype,"ariaLabel",void 0);we([w()],fe.prototype,"tooltipPosition",void 0);we([w({type:Boolean})],fe.prototype,"hideTooltip",void 0);we([w({type:Boolean})],fe.prototype,"forceTooltip",void 0);we([xe(".ft-button")],fe.prototype,"button",void 0);we([xe(".ft-button--label slot")],fe.prototype,"slottedContent",void 0)});var xi,He,Kc=y(()=>{"use strict";ne();k();Ic();Gc();xi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},He=class extends fe{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"}};He.styles=[Go,nh];xi([w({type:Boolean})],He.prototype,"primary",void 0);xi([w({type:Boolean})],He.prototype,"outlined",void 0);xi([w({type:Boolean})],He.prototype,"dense",void 0);xi([w({type:Boolean})],He.prototype,"round",void 0)});var gh,Zc=y(()=>{"use strict";H();k();Cr();Jo();en();Z();Z();gh=[T`
624
636
  :host {
625
637
  display: inline-block;
626
638
  max-width: 100%;
@@ -629,22 +641,23 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
629
641
 
630
642
  /** Remove default button styles **/
631
643
 
632
- button {
644
+ .ft-button {
633
645
  box-shadow: 0 0 0 transparent;
634
646
  border: 0 solid transparent;
635
647
  text-shadow: 0 0 0 transparent;
648
+ text-decoration: none;
636
649
  }
637
650
 
638
- button:hover {
651
+ .ft-button:hover {
639
652
  box-shadow: 0 0 0 transparent;
640
653
  text-shadow: 0 0 0 transparent;
641
654
  }
642
655
 
643
- button:active {
656
+ .ft-button:active {
644
657
  outline: none;
645
658
  }
646
659
 
647
- button:focus {
660
+ .ft-button:focus {
648
661
  outline: 0;
649
662
  }
650
663
 
@@ -704,13 +717,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
704
717
  /** Brand Primary styles **/
705
718
 
706
719
  .ftds--family-brand.ft-button--primary {
707
- ${O(de.color,b.primaryBrandIconColor)};
720
+ ${O(ue.color,b.primaryBrandIconColor)};
708
721
 
709
- ${O(_.color,b.primaryBrandStateLayerColor)};
710
- ${O(_.opacityContentOnSurfaceHover,b.primaryBrandHoverStateLayerOpacity)};
711
- ${O(_.opacityContentOnSurfaceFocused,b.primaryBrandFocusStateLayerOpacity)};
712
- ${O(_.opacityContentOnSurfaceSelected,b.primaryBrandActiveStateLayerOpacity)};
713
- ${O(_.opacityContentOnSurfacePressed,b.primaryBrandActiveStateLayerOpacity)};
722
+ ${O(N.color,b.primaryBrandStateLayerColor)};
723
+ ${O(N.opacityContentOnSurfaceHover,b.primaryBrandHoverStateLayerOpacity)};
724
+ ${O(N.opacityContentOnSurfaceFocused,b.primaryBrandFocusStateLayerOpacity)};
725
+ ${O(N.opacityContentOnSurfaceSelected,b.primaryBrandActiveStateLayerOpacity)};
726
+ ${O(N.opacityContentOnSurfacePressed,b.primaryBrandActiveStateLayerOpacity)};
714
727
 
715
728
  background-color: ${b.primaryBrandBackgroundColor};
716
729
  color: ${b.primaryBrandColor};
@@ -728,13 +741,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
728
741
  /** Brand Secondary styles **/
729
742
 
730
743
  .ftds--family-brand.ft-button--secondary {
731
- ${O(de.color,b.secondaryBrandIconColor)};
744
+ ${O(ue.color,b.secondaryBrandIconColor)};
732
745
 
733
- ${O(_.color,b.secondaryBrandStateLayerColor)};
734
- ${O(_.opacityContentOnSurfaceHover,b.secondaryBrandHoverStateLayerOpacity)};
735
- ${O(_.opacityContentOnSurfaceFocused,b.secondaryBrandFocusStateLayerOpacity)};
736
- ${O(_.opacityContentOnSurfaceSelected,b.secondaryBrandActiveStateLayerOpacity)};
737
- ${O(_.opacityContentOnSurfacePressed,b.secondaryBrandActiveStateLayerOpacity)};
746
+ ${O(N.color,b.secondaryBrandStateLayerColor)};
747
+ ${O(N.opacityContentOnSurfaceHover,b.secondaryBrandHoverStateLayerOpacity)};
748
+ ${O(N.opacityContentOnSurfaceFocused,b.secondaryBrandFocusStateLayerOpacity)};
749
+ ${O(N.opacityContentOnSurfaceSelected,b.secondaryBrandActiveStateLayerOpacity)};
750
+ ${O(N.opacityContentOnSurfacePressed,b.secondaryBrandActiveStateLayerOpacity)};
738
751
 
739
752
  background-color: ${b.secondaryBrandBackgroundColor};
740
753
  color: ${b.secondaryBrandColor};
@@ -753,13 +766,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
753
766
  /** Brand Tertiary styles **/
754
767
 
755
768
  .ftds--family-brand.ft-button--tertiary {
756
- ${O(de.color,b.tertiaryBrandIconColor)};
769
+ ${O(ue.color,b.tertiaryBrandIconColor)};
757
770
 
758
- ${O(_.color,b.tertiaryBrandStateLayerColor)};
759
- ${O(_.opacityContentOnSurfaceHover,b.tertiaryBrandHoverStateLayerOpacity)};
760
- ${O(_.opacityContentOnSurfaceFocused,b.tertiaryBrandFocusStateLayerOpacity)};
761
- ${O(_.opacityContentOnSurfaceSelected,b.tertiaryBrandActiveStateLayerOpacity)};
762
- ${O(_.opacityContentOnSurfacePressed,b.tertiaryBrandActiveStateLayerOpacity)};
771
+ ${O(N.color,b.tertiaryBrandStateLayerColor)};
772
+ ${O(N.opacityContentOnSurfaceHover,b.tertiaryBrandHoverStateLayerOpacity)};
773
+ ${O(N.opacityContentOnSurfaceFocused,b.tertiaryBrandFocusStateLayerOpacity)};
774
+ ${O(N.opacityContentOnSurfaceSelected,b.tertiaryBrandActiveStateLayerOpacity)};
775
+ ${O(N.opacityContentOnSurfacePressed,b.tertiaryBrandActiveStateLayerOpacity)};
763
776
 
764
777
  background-color: ${b.tertiaryBrandBackgroundColor};
765
778
  color: ${b.tertiaryBrandColor};
@@ -777,13 +790,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
777
790
  /** Neutral Secondary styles **/
778
791
 
779
792
  .ftds--family-neutral.ft-button--secondary {
780
- ${O(de.color,b.secondaryNeutralIconColor)};
793
+ ${O(ue.color,b.secondaryNeutralIconColor)};
781
794
 
782
- ${O(_.backgroundColor,b.secondaryNeutralStateLayerColor)};
783
- ${O(_.opacityContentOnSurfaceHover,b.secondaryNeutralHoverStateLayerOpacity)};
784
- ${O(_.opacityContentOnSurfaceFocused,b.secondaryNeutralFocusStateLayerOpacity)};
785
- ${O(_.opacityContentOnSurfaceSelected,b.secondaryNeutralActiveStateLayerOpacity)};
786
- ${O(_.opacityContentOnSurfacePressed,b.secondaryNeutralActiveStateLayerOpacity)};
795
+ ${O(N.backgroundColor,b.secondaryNeutralStateLayerColor)};
796
+ ${O(N.opacityContentOnSurfaceHover,b.secondaryNeutralHoverStateLayerOpacity)};
797
+ ${O(N.opacityContentOnSurfaceFocused,b.secondaryNeutralFocusStateLayerOpacity)};
798
+ ${O(N.opacityContentOnSurfaceSelected,b.secondaryNeutralActiveStateLayerOpacity)};
799
+ ${O(N.opacityContentOnSurfacePressed,b.secondaryNeutralActiveStateLayerOpacity)};
787
800
 
788
801
  background-color: ${b.secondaryNeutralBackgroundColor};
789
802
  color: ${b.secondaryNeutralColor};
@@ -802,13 +815,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
802
815
  /** Neutral Tertiary styles **/
803
816
 
804
817
  .ftds--family-neutral.ft-button--tertiary {
805
- ${O(de.color,b.tertiaryNeutralIconColor)};
818
+ ${O(ue.color,b.tertiaryNeutralIconColor)};
806
819
 
807
- ${O(_.backgroundColor,b.tertiaryNeutralStateLayerColor)};
808
- ${O(_.opacityContentOnSurfaceHover,b.tertiaryNeutralHoverStateLayerOpacity)};
809
- ${O(_.opacityContentOnSurfaceFocused,b.tertiaryNeutralFocusStateLayerOpacity)};
810
- ${O(_.opacityContentOnSurfaceSelected,b.tertiaryNeutralActiveStateLayerOpacity)};
811
- ${O(_.opacityContentOnSurfacePressed,b.tertiaryNeutralActiveStateLayerOpacity)};
820
+ ${O(N.backgroundColor,b.tertiaryNeutralStateLayerColor)};
821
+ ${O(N.opacityContentOnSurfaceHover,b.tertiaryNeutralHoverStateLayerOpacity)};
822
+ ${O(N.opacityContentOnSurfaceFocused,b.tertiaryNeutralFocusStateLayerOpacity)};
823
+ ${O(N.opacityContentOnSurfaceSelected,b.tertiaryNeutralActiveStateLayerOpacity)};
824
+ ${O(N.opacityContentOnSurfacePressed,b.tertiaryNeutralActiveStateLayerOpacity)};
812
825
 
813
826
  background-color: ${b.tertiaryNeutralBackgroundColor};
814
827
  color: ${b.tertiaryNeutralColor};
@@ -826,13 +839,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
826
839
  /** Info Secondary styles **/
827
840
 
828
841
  .ftds--family-info.ft-button--secondary {
829
- ${O(de.color,b.secondaryInfoIconColor)};
842
+ ${O(ue.color,b.secondaryInfoIconColor)};
830
843
 
831
- ${O(_.backgroundColor,b.secondaryInfoStateLayerColor)};
832
- ${O(_.opacityContentOnSurfaceHover,b.secondaryInfoHoverStateLayerOpacity)};
833
- ${O(_.opacityContentOnSurfaceFocused,b.secondaryInfoFocusStateLayerOpacity)};
834
- ${O(_.opacityContentOnSurfaceSelected,b.secondaryInfoActiveStateLayerOpacity)};
835
- ${O(_.opacityContentOnSurfacePressed,b.secondaryInfoActiveStateLayerOpacity)};
844
+ ${O(N.backgroundColor,b.secondaryInfoStateLayerColor)};
845
+ ${O(N.opacityContentOnSurfaceHover,b.secondaryInfoHoverStateLayerOpacity)};
846
+ ${O(N.opacityContentOnSurfaceFocused,b.secondaryInfoFocusStateLayerOpacity)};
847
+ ${O(N.opacityContentOnSurfaceSelected,b.secondaryInfoActiveStateLayerOpacity)};
848
+ ${O(N.opacityContentOnSurfacePressed,b.secondaryInfoActiveStateLayerOpacity)};
836
849
 
837
850
  background-color: ${b.secondaryInfoBackgroundColor};
838
851
  color: ${b.secondaryInfoColor};
@@ -851,13 +864,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
851
864
  /** Info Tertiary styles **/
852
865
 
853
866
  .ftds--family-info.ft-button--tertiary {
854
- ${O(de.color,b.tertiaryInfoIconColor)};
867
+ ${O(ue.color,b.tertiaryInfoIconColor)};
855
868
 
856
- ${O(_.backgroundColor,b.tertiaryInfoStateLayerColor)};
857
- ${O(_.opacityContentOnSurfaceHover,b.tertiaryInfoHoverStateLayerOpacity)};
858
- ${O(_.opacityContentOnSurfaceFocused,b.tertiaryInfoFocusStateLayerOpacity)};
859
- ${O(_.opacityContentOnSurfaceSelected,b.tertiaryInfoActiveStateLayerOpacity)};
860
- ${O(_.opacityContentOnSurfacePressed,b.tertiaryInfoActiveStateLayerOpacity)};
869
+ ${O(N.backgroundColor,b.tertiaryInfoStateLayerColor)};
870
+ ${O(N.opacityContentOnSurfaceHover,b.tertiaryInfoHoverStateLayerOpacity)};
871
+ ${O(N.opacityContentOnSurfaceFocused,b.tertiaryInfoFocusStateLayerOpacity)};
872
+ ${O(N.opacityContentOnSurfaceSelected,b.tertiaryInfoActiveStateLayerOpacity)};
873
+ ${O(N.opacityContentOnSurfacePressed,b.tertiaryInfoActiveStateLayerOpacity)};
861
874
 
862
875
  background-color: ${b.tertiaryInfoBackgroundColor};
863
876
  color: ${b.tertiaryInfoColor};
@@ -875,13 +888,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
875
888
  /** Success Secondary styles **/
876
889
 
877
890
  .ftds--family-success.ft-button--secondary {
878
- ${O(de.color,b.secondarySuccessIconColor)};
891
+ ${O(ue.color,b.secondarySuccessIconColor)};
879
892
 
880
- ${O(_.backgroundColor,b.secondarySuccessStateLayerColor)};
881
- ${O(_.opacityContentOnSurfaceHover,b.secondarySuccessHoverStateLayerOpacity)};
882
- ${O(_.opacityContentOnSurfaceFocused,b.secondarySuccessFocusStateLayerOpacity)};
883
- ${O(_.opacityContentOnSurfaceSelected,b.secondarySuccessActiveStateLayerOpacity)};
884
- ${O(_.opacityContentOnSurfacePressed,b.secondarySuccessActiveStateLayerOpacity)};
893
+ ${O(N.backgroundColor,b.secondarySuccessStateLayerColor)};
894
+ ${O(N.opacityContentOnSurfaceHover,b.secondarySuccessHoverStateLayerOpacity)};
895
+ ${O(N.opacityContentOnSurfaceFocused,b.secondarySuccessFocusStateLayerOpacity)};
896
+ ${O(N.opacityContentOnSurfaceSelected,b.secondarySuccessActiveStateLayerOpacity)};
897
+ ${O(N.opacityContentOnSurfacePressed,b.secondarySuccessActiveStateLayerOpacity)};
885
898
 
886
899
  background-color: ${b.secondarySuccessBackgroundColor};
887
900
  color: ${b.secondarySuccessColor};
@@ -900,13 +913,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
900
913
  /** Success Tertiary styles **/
901
914
 
902
915
  .ftds--family-success.ft-button--tertiary {
903
- ${O(de.color,b.tertiarySuccessIconColor)};
916
+ ${O(ue.color,b.tertiarySuccessIconColor)};
904
917
 
905
- ${O(_.backgroundColor,b.tertiarySuccessStateLayerColor)};
906
- ${O(_.opacityContentOnSurfaceHover,b.tertiarySuccessHoverStateLayerOpacity)};
907
- ${O(_.opacityContentOnSurfaceFocused,b.tertiarySuccessFocusStateLayerOpacity)};
908
- ${O(_.opacityContentOnSurfaceSelected,b.tertiarySuccessActiveStateLayerOpacity)};
909
- ${O(_.opacityContentOnSurfacePressed,b.tertiarySuccessActiveStateLayerOpacity)};
918
+ ${O(N.backgroundColor,b.tertiarySuccessStateLayerColor)};
919
+ ${O(N.opacityContentOnSurfaceHover,b.tertiarySuccessHoverStateLayerOpacity)};
920
+ ${O(N.opacityContentOnSurfaceFocused,b.tertiarySuccessFocusStateLayerOpacity)};
921
+ ${O(N.opacityContentOnSurfaceSelected,b.tertiarySuccessActiveStateLayerOpacity)};
922
+ ${O(N.opacityContentOnSurfacePressed,b.tertiarySuccessActiveStateLayerOpacity)};
910
923
 
911
924
  background-color: ${b.tertiarySuccessBackgroundColor};
912
925
  color: ${b.tertiarySuccessColor};
@@ -924,13 +937,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
924
937
  /** Warning Secondary styles **/
925
938
 
926
939
  .ftds--family-warning.ft-button--secondary {
927
- ${O(de.color,b.secondaryWarningIconColor)};
940
+ ${O(ue.color,b.secondaryWarningIconColor)};
928
941
 
929
- ${O(_.backgroundColor,b.secondaryWarningStateLayerColor)};
930
- ${O(_.opacityContentOnSurfaceHover,b.secondaryWarningHoverStateLayerOpacity)};
931
- ${O(_.opacityContentOnSurfaceFocused,b.secondaryWarningFocusStateLayerOpacity)};
932
- ${O(_.opacityContentOnSurfaceSelected,b.secondaryWarningActiveStateLayerOpacity)};
933
- ${O(_.opacityContentOnSurfacePressed,b.secondaryWarningActiveStateLayerOpacity)};
942
+ ${O(N.backgroundColor,b.secondaryWarningStateLayerColor)};
943
+ ${O(N.opacityContentOnSurfaceHover,b.secondaryWarningHoverStateLayerOpacity)};
944
+ ${O(N.opacityContentOnSurfaceFocused,b.secondaryWarningFocusStateLayerOpacity)};
945
+ ${O(N.opacityContentOnSurfaceSelected,b.secondaryWarningActiveStateLayerOpacity)};
946
+ ${O(N.opacityContentOnSurfacePressed,b.secondaryWarningActiveStateLayerOpacity)};
934
947
 
935
948
  background-color: ${b.secondaryWarningBackgroundColor};
936
949
  color: ${b.secondaryWarningColor};
@@ -949,13 +962,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
949
962
  /** Warning Tertiary styles **/
950
963
 
951
964
  .ftds--family-warning.ft-button--tertiary {
952
- ${O(de.color,b.tertiaryWarningIconColor)};
965
+ ${O(ue.color,b.tertiaryWarningIconColor)};
953
966
 
954
- ${O(_.backgroundColor,b.tertiaryWarningStateLayerColor)};
955
- ${O(_.opacityContentOnSurfaceHover,b.tertiaryWarningHoverStateLayerOpacity)};
956
- ${O(_.opacityContentOnSurfaceFocused,b.tertiaryWarningFocusStateLayerOpacity)};
957
- ${O(_.opacityContentOnSurfaceSelected,b.tertiaryWarningActiveStateLayerOpacity)};
958
- ${O(_.opacityContentOnSurfacePressed,b.tertiaryWarningActiveStateLayerOpacity)};
967
+ ${O(N.backgroundColor,b.tertiaryWarningStateLayerColor)};
968
+ ${O(N.opacityContentOnSurfaceHover,b.tertiaryWarningHoverStateLayerOpacity)};
969
+ ${O(N.opacityContentOnSurfaceFocused,b.tertiaryWarningFocusStateLayerOpacity)};
970
+ ${O(N.opacityContentOnSurfaceSelected,b.tertiaryWarningActiveStateLayerOpacity)};
971
+ ${O(N.opacityContentOnSurfacePressed,b.tertiaryWarningActiveStateLayerOpacity)};
959
972
 
960
973
  background-color: ${b.tertiaryWarningBackgroundColor};
961
974
  color: ${b.tertiaryWarningColor};
@@ -973,13 +986,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
973
986
  /** Error Secondary styles **/
974
987
 
975
988
  .ftds--family-error.ft-button--secondary {
976
- ${O(de.color,b.secondaryErrorIconColor)};
989
+ ${O(ue.color,b.secondaryErrorIconColor)};
977
990
 
978
- ${O(_.backgroundColor,b.secondaryErrorStateLayerColor)};
979
- ${O(_.opacityContentOnSurfaceHover,b.secondaryErrorHoverStateLayerOpacity)};
980
- ${O(_.opacityContentOnSurfaceFocused,b.secondaryErrorFocusStateLayerOpacity)};
981
- ${O(_.opacityContentOnSurfaceSelected,b.secondaryErrorActiveStateLayerOpacity)};
982
- ${O(_.opacityContentOnSurfacePressed,b.secondaryErrorActiveStateLayerOpacity)};
991
+ ${O(N.backgroundColor,b.secondaryErrorStateLayerColor)};
992
+ ${O(N.opacityContentOnSurfaceHover,b.secondaryErrorHoverStateLayerOpacity)};
993
+ ${O(N.opacityContentOnSurfaceFocused,b.secondaryErrorFocusStateLayerOpacity)};
994
+ ${O(N.opacityContentOnSurfaceSelected,b.secondaryErrorActiveStateLayerOpacity)};
995
+ ${O(N.opacityContentOnSurfacePressed,b.secondaryErrorActiveStateLayerOpacity)};
983
996
 
984
997
  background-color: ${b.secondaryErrorBackgroundColor};
985
998
  color: ${b.secondaryErrorColor};
@@ -998,13 +1011,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
998
1011
  /** Error Tertiary styles **/
999
1012
 
1000
1013
  .ftds--family-error.ft-button--tertiary {
1001
- ${O(de.color,b.tertiaryErrorIconColor)};
1014
+ ${O(ue.color,b.tertiaryErrorIconColor)};
1002
1015
 
1003
- ${O(_.backgroundColor,b.tertiaryErrorStateLayerColor)};
1004
- ${O(_.opacityContentOnSurfaceHover,b.tertiaryErrorHoverStateLayerOpacity)};
1005
- ${O(_.opacityContentOnSurfaceFocused,b.tertiaryErrorFocusStateLayerOpacity)};
1006
- ${O(_.opacityContentOnSurfaceSelected,b.tertiaryErrorActiveStateLayerOpacity)};
1007
- ${O(_.opacityContentOnSurfacePressed,b.tertiaryErrorActiveStateLayerOpacity)};
1016
+ ${O(N.backgroundColor,b.tertiaryErrorStateLayerColor)};
1017
+ ${O(N.opacityContentOnSurfaceHover,b.tertiaryErrorHoverStateLayerOpacity)};
1018
+ ${O(N.opacityContentOnSurfaceFocused,b.tertiaryErrorFocusStateLayerOpacity)};
1019
+ ${O(N.opacityContentOnSurfaceSelected,b.tertiaryErrorActiveStateLayerOpacity)};
1020
+ ${O(N.opacityContentOnSurfacePressed,b.tertiaryErrorActiveStateLayerOpacity)};
1008
1021
 
1009
1022
  background-color: ${b.tertiaryErrorBackgroundColor};
1010
1023
  color: ${b.tertiaryErrorColor};
@@ -1022,8 +1035,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1022
1035
  /** Large styles **/
1023
1036
 
1024
1037
  .ftds--size-large {
1025
- ${O(Re.size,b.largeIconSize)};
1026
- ${O(de.size,b.largeIconSize)};
1038
+ ${O(Pe.size,b.largeIconSize)};
1039
+ ${O(ue.size,b.largeIconSize)};
1027
1040
 
1028
1041
  height: ${b.largeHeight};
1029
1042
  padding: 0 ${b.largeHorizontalPadding};
@@ -1044,8 +1057,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1044
1057
  /** Small styles **/
1045
1058
 
1046
1059
  .ftds--size-medium {
1047
- ${O(Re.size,b.mediumIconSize)};
1048
- ${O(de.size,b.mediumIconSize)};
1060
+ ${O(Pe.size,b.mediumIconSize)};
1061
+ ${O(ue.size,b.mediumIconSize)};
1049
1062
 
1050
1063
  height: ${b.mediumHeight};
1051
1064
  padding: 0 ${b.mediumHorizontalPadding};
@@ -1067,8 +1080,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1067
1080
  /** Small styles **/
1068
1081
 
1069
1082
  .ftds--size-small {
1070
- ${O(Re.size,b.smallIconSize)};
1071
- ${O(de.size,b.smallIconSize)};
1083
+ ${O(Pe.size,b.smallIconSize)};
1084
+ ${O(ue.size,b.smallIconSize)};
1072
1085
 
1073
1086
  height: ${b.smallHeight};
1074
1087
  padding: 0 ${b.smallHorizontalPadding};
@@ -1085,11 +1098,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1085
1098
  .ftds--size-small.ft-button--icon-only {
1086
1099
  width: ${b.smallIconOnlyWidth};
1087
1100
  }
1088
- `,Uo]});var yi,At,Vc=y(()=>{"use strict";Hc();oe();ui();k();jc();K();fi();yi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},At=class extends Hn(ge){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=lr.brand,this.iconVariant=Fe.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 bt.large:return Ht.body2medium;case bt.medium:return Ht.caption1medium;case bt.small:return Ht.caption2medium}}};At.styles=[Fo,uh];yi([w({type:Boolean})],At.prototype,"primary",void 0);yi([w({type:Boolean})],At.prototype,"secondary",void 0);yi([w({type:Boolean})],At.prototype,"tertiary",void 0);yi([w({type:Boolean})],At.prototype,"round",void 0)});var ph=y(()=>{"use strict"});var fh=y(()=>{"use strict"});var mi=y(()=>{"use strict";k();zc();Vc();zc();_c();ph();Vc();jc();fh();V("ft-button")(We);V("ftds-button")(At)});var ae,Gc,qo=y(()=>{"use strict";W();k();mi();Mc();ae={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",$.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","",$.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",$.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",$.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",$.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",$.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",$.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",$.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",$.colorPrimary)},Gc=L`
1101
+ `,Vo]});var vi,At,qc=y(()=>{"use strict";Gc();ne();mi();k();Zc();Z();bi();vi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},At=class extends Zn(fe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=yr.brand,this.iconVariant=We.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 bt.large:return jt.body2medium;case bt.medium:return jt.caption1medium;case bt.small:return jt.caption2medium}}};At.styles=[Go,gh];vi([w({type:Boolean})],At.prototype,"primary",void 0);vi([w({type:Boolean})],At.prototype,"secondary",void 0);vi([w({type:Boolean})],At.prototype,"tertiary",void 0);vi([w({type:Boolean})],At.prototype,"round",void 0)});var bh=y(()=>{"use strict"});var xh=y(()=>{"use strict"});var Si=y(()=>{"use strict";k();Kc();qc();Kc();Ic();bh();qc();Zc();xh();G("ft-button")(He);G("ftds-button")(At)});var se,Yc,tn=y(()=>{"use strict";H();k();Si();Fc();se={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",$.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","",$.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",$.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",$.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",$.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",$.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",$.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",$.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",$.colorPrimary)},Yc=T`
1089
1102
  * {
1090
1103
  box-sizing: border-box;
1091
- ${O(he.color,ae.buttonColor)};
1092
- ${O(he.rippleColor,ae.buttonRippleColor)};
1104
+ ${O(ye.color,se.buttonColor)};
1105
+ ${O(ye.rippleColor,se.buttonRippleColor)};
1093
1106
  }
1094
1107
 
1095
1108
  .ft-search-input {
@@ -1097,11 +1110,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1097
1110
  display: flex;
1098
1111
  flex-direction: row;
1099
1112
  align-items: center;
1100
- height: ${ae.height};
1113
+ height: ${se.height};
1101
1114
 
1102
- background: ${ae.colorSurface};
1103
- border: 1px solid ${ae.colorOutline};
1104
- border-radius: ${ae.borderRadius};
1115
+ background: ${se.colorSurface};
1116
+ border: 1px solid ${se.colorOutline};
1117
+ border-radius: ${se.borderRadius};
1105
1118
  }
1106
1119
 
1107
1120
  .ft-search-input--input-container {
@@ -1116,11 +1129,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1116
1129
  width: 100%;
1117
1130
  display: grid;
1118
1131
  padding: 0 8px;
1119
- border-radius: ${ae.borderRadius};
1132
+ border-radius: ${se.borderRadius};
1120
1133
  }
1121
1134
 
1122
1135
  .ft-search-input--input-container:focus-within .ft-search-input--input-outline {
1123
- outline: 2px solid ${ae.focusOutlineColor};
1136
+ outline: 2px solid ${se.focusOutlineColor};
1124
1137
  }
1125
1138
 
1126
1139
  .ft-search-input--input {
@@ -1128,12 +1141,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1128
1141
  width: 100%;
1129
1142
  border: none;
1130
1143
  background-color: transparent;
1131
- color: ${ae.colorOnSurface};
1144
+ color: ${se.colorOnSurface};
1132
1145
  outline: none;
1133
1146
  }
1134
1147
 
1135
1148
  .ft-search-input--input::placeholder {
1136
- color: ${ae.colorOnSurfaceMedium};
1149
+ color: ${se.colorOnSurfaceMedium};
1137
1150
  }
1138
1151
 
1139
1152
  .ft-search-input--actions {
@@ -1143,13 +1156,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1143
1156
  align-items: center;
1144
1157
  height: 100%;
1145
1158
 
1146
- ${O(zt.zIndex,`calc(${ae.floatingZIndex} + 1)`)};
1159
+ ${O(Vt.zIndex,`calc(${se.floatingZIndex} + 1)`)};
1147
1160
  }
1148
1161
 
1149
1162
  .ft-search-input > ft-button,
1150
1163
  .ft-search-input--actions ft-button {
1151
1164
  flex-shrink: 0;
1152
- ${O(he.backgroundColor,"transparent")};
1165
+ ${O(ye.backgroundColor,"transparent")};
1153
1166
  }
1154
1167
 
1155
1168
  .ft-search-input .ft-search-input--launch-search,
@@ -1167,17 +1180,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1167
1180
 
1168
1181
  .ft-search-input--separator {
1169
1182
  height: 20px;
1170
- border-right: 1px solid ${ae.colorOutline};
1183
+ border-right: 1px solid ${se.colorOutline};
1171
1184
  }
1172
- `});var gi,Kc,bi=y(()=>{"use strict";W();k();gi={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Kc=L`
1185
+ `});var Ci,Qc,Oi=y(()=>{"use strict";H();k();Ci={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Qc=T`
1173
1186
  .kwicmatch {
1174
1187
  font-weight: 700;
1175
- background-color: ${gi.highlightBackgroundColor};
1188
+ background-color: ${Ci.highlightBackgroundColor};
1176
1189
  }
1177
- `});var xi,Zc,vi=y(()=>{"use strict";W();k();xi={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Zc=L`
1190
+ `});var Ei,Xc,wi=y(()=>{"use strict";H();k();Ei={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Xc=T`
1178
1191
  .kwicmatch {
1179
1192
  font-weight: 700;
1180
- background-color: ${xi.highlightBackgroundColor};
1193
+ background-color: ${Ei.highlightBackgroundColor};
1181
1194
  }
1182
1195
 
1183
1196
  a {
@@ -1188,32 +1201,32 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1188
1201
  a:focus {
1189
1202
  outline: revert;
1190
1203
  }
1191
- `});var mh,qc=y(()=>{"use strict";W();mh=L`
1192
- `});var gh,Yc=y(()=>{"use strict";W();gh=L`
1193
- `});var ab,Qc,sb,H,Qe=y(()=>{"use strict";k();ab="ft-app-info",Qc=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},sb={session:(t,e)=>{Ze(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>H.eventBus.dispatchEvent(new Qc(e.payload)),0))}},H=Ct.get({name:ab,reducers:sb,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var br,Si=y(()=>{"use strict";Qe();br=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=H.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=H.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}}});var lt,Yo=y(()=>{"use strict";k();Si();lt=class{constructor(e=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new rt,this.cache=e?i.commonCache:new rt}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()}clearCache(){this.cache.clearAll()}}});var bh,cb,Oi,xr,xh,Xc=y(()=>{"use strict";Qe();k();Yo();cb=Symbol("clearAfterUnitTest"),Oi=class extends lt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[bh]=()=>{this.defaultMessages={},this.cache=new rt,this.listeners={}},this.currentUiLocale=H.getState().uiLocale,H.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=H.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Ze(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await 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 i;let a=e.toLowerCase(),s=this.resolveContext(a);return new Wo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}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 i;return(i=this.listeners[e])===null||i===void 0?void 0:i.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=>_n(0).then(()=>r()).catch(()=>null)))}};bh=cb;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Oi{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Oi{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});xr=window.FluidTopicsI18nService,xh=window.FluidTopicsCustomI18nService});var Ne,be,Jc=y(()=>{"use strict";W();oe();k();Yc();Qe();Xc();Si();Ne=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},be=class extends te{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 rt,this.cleanSessionDebouncer=new Oe}render(){return B`
1204
+ `});var Ch,Jc=y(()=>{"use strict";H();Ch=T`
1205
+ `});var Oh,el=y(()=>{"use strict";H();Oh=T`
1206
+ `});var ub,tl,pb,W,Ve=y(()=>{"use strict";k();ub="ft-app-info",tl=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},pb={session:(t,e)=>{qe(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new tl(e.payload)),0))}},W=Ot.get({name:ub,reducers:pb,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var Er,Ai=y(()=>{"use strict";Ve();Er=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=W.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=W.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}}});var dt,rn=y(()=>{"use strict";k();Ai();dt=class{constructor(e=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new ot,this.cache=e?i.commonCache:new ot}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Er.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Er.await()}clearCache(){this.cache.clearAll()}}});var Eh,fb,Ri,wr,wh,rl=y(()=>{"use strict";Ve();k();rn();fb=Symbol("clearAfterUnitTest"),Ri=class extends dt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Eh]=()=>{this.defaultMessages={},this.cache=new ot,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 i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};qe(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await 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 i;let a=e.toLowerCase(),s=this.resolveContext(a);return new Ko((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}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 i;return(i=this.listeners[e])===null||i===void 0?void 0:i.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=>kn(0).then(()=>r()).catch(()=>null)))}};Eh=fb;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Ri{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Ri{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});wr=window.FluidTopicsI18nService,wh=window.FluidTopicsCustomI18nService});var Re,ge,ol=y(()=>{"use strict";H();ne();k();el();Ve();rl();Ai();Re=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ge=class extends te{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=()=>Er.get(),this.messageContexts=[],this.cache=new ot,this.cleanSessionDebouncer=new Ce}render(){return B`
1194
1207
  <slot></slot>
1195
- `}update(e){super.update(e),e.has("baseUrl")&&(H.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&H.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&H.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&H.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&H.actions.noCustom(this.noCustom),e.has("editorMode")&&H.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&H.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&H.actions.session(this.session),e.has("availableUiLocales")&&H.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>xr.addContext(r)),e.has("openExternalDocumentInNewTab")&&H.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&H.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&H.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}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 updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};be.elementDefinitions={};be.styles=gh;Ne([w()],be.prototype,"baseUrl",void 0);Ne([w()],be.prototype,"apiIntegrationIdentifier",void 0);Ne([w()],be.prototype,"uiLocale",void 0);Ne([Ce(null)],be.prototype,"availableUiLocales",void 0);Ne([Ce(null)],be.prototype,"metadataConfiguration",void 0);Ne([w({type:Boolean})],be.prototype,"editorMode",void 0);Ne([w({type:Boolean})],be.prototype,"noCustom",void 0);Ne([w({type:Boolean})],be.prototype,"openExternalDocumentInNewTab",void 0);Ne([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],be.prototype,"noCustomComponent",void 0);Ne([w({type:Boolean})],be.prototype,"withManualResources",void 0);Ne([w({type:Boolean})],be.prototype,"navigatorOnline",void 0);Ne([w({type:Boolean})],be.prototype,"forcedOffline",void 0);Ne([w({type:Object})],be.prototype,"apiProvider",void 0);Ne([Ce([])],be.prototype,"messageContexts",void 0);Ne([Ce(void 0)],be.prototype,"session",void 0)});var vh=y(()=>{"use strict";oe();Jn();si();Qe()});var Ci,el=y(()=>{"use strict";Qe();Yo();Ci=class extends lt{async listMySearches(){let e=H.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Ei,tl=y(()=>{"use strict";Qe();Yo();Ei=class extends lt{async listMyBookmarks(){let e=H.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var lb,wi,rl,Sh,ol=y(()=>{"use strict";k();el();tl();Qe();lb="ft-user-assets",wi=Ct.get({name:lb,initialState:{savedSearches:void 0,bookmarks:void 0}}),rl=class{constructor(){this.currentSession=H.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ei,this.savedSearchesService=new Ci,H.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=H.getState();Ze((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(),wi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),wi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();wi.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;wi.actions.bookmarks(r)}}},Sh=new rl});var nl,Oh=y(()=>{"use strict";Qe();nl=class{addCommand(e,r=!1){H.commands.add(e,r)}consumeCommand(e){return H.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new nl});var il,Ch=y(()=>{"use strict";k();il=class{highlightHtml(e,r,n){ws(e,r,n)}};window.FluidTopicsHighlightHtmlService=new il});var al,Eh=y(()=>{"use strict";k();Qe();al=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=H.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return Gr.format(e,(n=r?.locale)!==null&&n!==void 0?n:H.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new al});var wh=y(()=>{"use strict";tl();Si();Oh();Xc();Yo();Ch();el();Eh()});var Ah=y(()=>{"use strict"});var ro=y(()=>{"use strict";k();Jc();vh();Qe();ol();wh();Yc();Ah();Jc();V("ft-app-context")(be)});function Ve(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?xh:xr}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let d=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...d)}onI18nUpdate(i){var a,s,c;(a=this[sl])===null||a===void 0||a.forEach((d,u)=>{let f=this.getI18nAttributeValue(u);f&&(this[u]=this.getI18nAttributeMessage(f,d,i))}),(s=this[cl])===null||s===void 0||s.forEach((d,u)=>{let f=this.getI18nListAttributeValues(u);this[u]=f?.map(h=>this.getI18nAttributeMessage(h,d,i))}),(c=this[Ai])===null||c===void 0||c.forEach((d,u)=>{d.context.toLowerCase()===i.toLowerCase()&&(this[u]=this.i18n(d))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,a){return{...i,message:this.i18n({context:i.context,key:i.key,...a})}}getI18nAttributeMessage(i,a,s){var c;let d=!s||((c=i.context)===null||c===void 0?void 0:c.toLowerCase())===s.toLowerCase();return i.context&&i.key&&d?this.buildI18nAttributeMessage(i,a):i}update(i){var a,s,c;super.update(i),(a=this[sl])===null||a===void 0||a.forEach((d,u)=>{let f=this.getI18nAttributeValue(u);f?.context&&f.key&&(i.has(u)||d.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,i,u),this[u]=this.getI18nAttributeMessage(f,d))}),(s=this[cl])===null||s===void 0||s.forEach((d,u)=>{let f=this.getI18nListAttributeValues(u);(i.has(u)||d.argsProvider!=null)&&(this[u]=f?.map(h=>(this.addI18nContextIfNeeded(h,i,u),this.getI18nAttributeMessage(h,d))))}),(c=this[Ai])===null||c===void 0||c.forEach((d,u)=>{d.argsProvider!=null&&(this[u]=this.i18n(d))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,a,s){i.context&&i.key&&a.has(s)&&this.addI18nContext(i.context)}connectedCallback(){var i,a,s,c,d,u;super.connectedCallback(),new Set([...(a=(i=this[Ai])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[sl])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(f=>this.getI18nAttributeValue(f)),...[...(u=(d=this[cl])===null||d===void 0?void 0:d.keys())!==null&&u!==void 0?u:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f))}addI18nMessages(i,a){i=i.toLowerCase(),this[Qo].has(i)||this[Qo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Qo].forEach(i=>i()),this[Qo].clear()}}return e=Qo,db([w({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var db,sl,cl,Ai,Qo,Rh,Ri,Ni=y(()=>{"use strict";k();ro();oe();db=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},sl=Symbol("i18nAttributes"),cl=Symbol("i18nListAttributes"),Ai=Symbol("i18nProperties"),Qo=Symbol("i18nUnsubs");Rh=class extends Ve(te){},Ri=class extends Ve(Pe){}});var Xo,Xe,ll=y(()=>{"use strict";W();oe();k();qc();Ni();ro();Xo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Xe=class extends Ri{constructor(){super(),this.editorMode=!1,this.addStore(H)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":j:B`
1208
+ `}update(e){var r,n,i,a,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(c=>wr.addContext(c)),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((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),W.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.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())}};ge.elementDefinitions={};ge.styles=Oh;Re([w()],ge.prototype,"baseUrl",void 0);Re([w()],ge.prototype,"apiIntegrationIdentifier",void 0);Re([w()],ge.prototype,"uiLocale",void 0);Re([Oe(null)],ge.prototype,"availableUiLocales",void 0);Re([Oe(null)],ge.prototype,"metadataConfiguration",void 0);Re([w({type:Boolean})],ge.prototype,"editorMode",void 0);Re([w({type:Boolean})],ge.prototype,"noCustom",void 0);Re([w({type:Boolean})],ge.prototype,"openExternalDocumentInNewTab",void 0);Re([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ge.prototype,"noCustomComponent",void 0);Re([w({type:Boolean})],ge.prototype,"withManualResources",void 0);Re([w({type:Boolean})],ge.prototype,"navigatorOnline",void 0);Re([w({type:Boolean})],ge.prototype,"forcedOffline",void 0);Re([w({type:Object})],ge.prototype,"apiProvider",void 0);Re([Oe([])],ge.prototype,"messageContexts",void 0);Re([Oe(void 0)],ge.prototype,"session",void 0);Re([le()],ge.prototype,"localesConfiguration",void 0)});var Ah=y(()=>{"use strict";ne();ii();pi();Ve()});var Ni,nl=y(()=>{"use strict";Ve();rn();Ni=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 _i,il=y(()=>{"use strict";Ve();rn();_i=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 hb,Pi,al,Rh,sl=y(()=>{"use strict";k();nl();il();Ve();hb="ft-user-assets",Pi=Ot.get({name:hb,initialState:{savedSearches:void 0,bookmarks:void 0}}),al=class{constructor(){this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new _i,this.savedSearchesService=new Ni,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(),Pi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Pi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Pi.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;Pi.actions.bookmarks(r)}}},Rh=new al});var cl,Nh=y(()=>{"use strict";Ve();cl=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new cl});var ll,_h=y(()=>{"use strict";k();ll=class{highlightHtml(e,r,n){_s(e,r,n)}};window.FluidTopicsHighlightHtmlService=new ll});var dl,Ph=y(()=>{"use strict";k();Ve();dl=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return Qr.format(e,(n=r?.locale)!==null&&n!==void 0?n:W.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new dl});var so,Lh=y(()=>{"use strict";k();Ve();so=class{static get(e,r){var n,i,a,s;let c=W.getState(),{lang:d,region:u}=(i=(n=c.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new Yr(c.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,c.searchInAllLanguagesAllowed,r??`${d}-${u}`)}}});var Th=y(()=>{"use strict";il();Ai();Nh();rl();rn();_h();nl();Ph();Lh()});var Ih=y(()=>{"use strict"});var Kt=y(()=>{"use strict";k();ol();Ah();Ve();sl();Th();el();Ih();ol();G("ft-app-context")(ge)});function Ge(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?wh:wr}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let d=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...d)}onI18nUpdate(i){var a,s,c;(a=this[ul])===null||a===void 0||a.forEach((d,u)=>{let f=this.getI18nAttributeValue(u);f&&(this[u]=this.getI18nAttributeMessage(f,d,i))}),(s=this[pl])===null||s===void 0||s.forEach((d,u)=>{let f=this.getI18nListAttributeValues(u);this[u]=f?.map(h=>this.getI18nAttributeMessage(h,d,i))}),(c=this[Li])===null||c===void 0||c.forEach((d,u)=>{d.context.toLowerCase()===i.toLowerCase()&&(this[u]=this.i18n(d))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,a){return{...i,message:this.i18n({context:i.context,key:i.key,...a})}}getI18nAttributeMessage(i,a,s){var c;let d=!s||((c=i.context)===null||c===void 0?void 0:c.toLowerCase())===s.toLowerCase();return i.context&&i.key&&d?this.buildI18nAttributeMessage(i,a):i}update(i){var a,s,c;super.update(i),(a=this[ul])===null||a===void 0||a.forEach((d,u)=>{let f=this.getI18nAttributeValue(u);f?.context&&f.key&&(i.has(u)||d.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,i,u),this[u]=this.getI18nAttributeMessage(f,d))}),(s=this[pl])===null||s===void 0||s.forEach((d,u)=>{let f=this.getI18nListAttributeValues(u);(i.has(u)||d.argsProvider!=null)&&(this[u]=f?.map(h=>(this.addI18nContextIfNeeded(h,i,u),this.getI18nAttributeMessage(h,d))))}),(c=this[Li])===null||c===void 0||c.forEach((d,u)=>{d.argsProvider!=null&&(this[u]=this.i18n(d))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,a,s){i.context&&i.key&&a.has(s)&&this.addI18nContext(i.context)}connectedCallback(){var i,a,s,c,d,u;super.connectedCallback(),new Set([...(a=(i=this[Li])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[ul])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(f=>this.getI18nAttributeValue(f)),...[...(u=(d=this[pl])===null||d===void 0?void 0:d.keys())!==null&&u!==void 0?u:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f))}addI18nMessages(i,a){i=i.toLowerCase(),this[on].has(i)||this[on].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[on].forEach(i=>i()),this[on].clear()}}return e=on,yb([w({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var yb,ul,pl,Li,on,$h,Ti,Ii=y(()=>{"use strict";k();Kt();ne();yb=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ul=Symbol("i18nAttributes"),pl=Symbol("i18nListAttributes"),Li=Symbol("i18nProperties"),on=Symbol("i18nUnsubs");$h=class extends Ge(te){},Ti=class extends Ge(Te){}});var nn,Xe,fl=y(()=>{"use strict";H();ne();k();Jc();Ii();Kt();nn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Xe=class extends Ti{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":V:B`
1196
1209
  <span class="ft-i18n">
1197
1210
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1198
1211
  </span>
1199
- `}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:""})}};Xe.elementDefinitions={};Xe.styles=mh;Xo([ie()],Xe.prototype,"editorMode",void 0);Xo([w()],Xe.prototype,"context",void 0);Xo([w()],Xe.prototype,"key",void 0);Xo([Ce([])],Xe.prototype,"args",void 0);Xo([w()],Xe.prototype,"defaultMessage",void 0)});var dt,Nh=y(()=>{"use strict";ro();dt=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>xr.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(r,n)=>xr.resolveRawMessage(this.name,n)})}}});var _h=y(()=>{"use strict";Ni()});var Ph=y(()=>{"use strict"});var ut=y(()=>{"use strict";k();ll();Nh();Ni();_h();qc();Ph();ll();V("ft-i18n")(Xe)});var Ih,Lh=y(()=>{ft();Ih=t=>t??ue});var $h=y(()=>{Lh()});function kh(t){var e,r,n,i,a;return((i=(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&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.openMode)===oi.EXTERNAL}function Pi(t){var e,r,n,i,a;if(kh(t))return(i=(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&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case jr.MAP:return t.map.readerUrl;case jr.DOCUMENT:return t.document.viewerUrl;case jr.TOPIC:return t.topic.readerUrl}return""}function Mh(t,e){return Ih(e&&kh(t)?"_blank":void 0)}var oo,pl=y(()=>{"use strict";ni();$h();oo=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var fb,hl,yl=y(()=>{"use strict";W();fb={},hl=L`
1200
- `});var Dh=y(()=>{"use strict"});var hb,Bh,Uh=y(()=>{"use strict";k();hb={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)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=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:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}},Bh=t=>Ct.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:hb})});var Li,Fh=y(()=>{"use strict";ro();Li=class extends lt{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0)}}});var Wh,Jo,no,ml=y(()=>{"use strict";k();Uh();ni();Fh();Wh=t=>t.request.virtualField===zr.TITLE_ONLY&&t.request.scope===Vr.DOCUMENTS,Jo=class t extends Event{constructor(){super(t.eventName)}};Jo.eventName="search-context-clear-all-filters";no=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 Oe(10),this.searchDebouncer=new Oe(100),this.suggestDebouncer=new Oe(300),this.service=r??new Li}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(r){let i=a=>r.some(s=>s.lang==a);i(e)||(e=i(n)?n:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(zr.TITLE_ONLY),this.store.actions.setRequestScope(Vr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(zr.EVERYWHERE),this.store.actions.setRequestScope(Vr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Wh(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Jo)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let n=this.facetIds.filter(i=>i!=e);r&&n.push(r),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,valueFilter:{values:r,negative:!1}},a=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==i.key),i];this.setFilters(a)}setDateFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,dateFilter:{type:r}},a=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==i.key),i];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.dateFilter),...r.filter(i=>i.dateFilter&&i.key!==e)];this.setFilters(n)}setRangeFilter(e,r,n){let i=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:n}},s=[...i.filter(c=>!c.rangeFilter),...i.filter(c=>c.rangeFilter&&c.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.rangeFilter),...r.filter(i=>i.rangeFilter&&i.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=Tr(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof Lt)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,metadataFilters:n.metadataFilters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=Tr(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof Lt)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}}});function mb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[gl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[gl]):this.dispatchEvent(new bl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=gl,yb([fe()],r.prototype,"stateManager",void 0),r}var yb,bl,gl,ke,Vt=y(()=>{"use strict";k();oe();Dh();ml();yb=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bl=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},gl=Symbol("registerInterval");ke=class extends mb(Pe){}});var Ae,$i,ki,Mi,pe,xl=y(()=>{"use strict";W();oe();k();yl();Vt();ro();ol();Ae=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},$i=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},ki=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Mi=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},pe=class extends Pe{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=no.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}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(H)}render(){return B`
1212
+ `}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:""})}};Xe.elementDefinitions={};Xe.styles=Ch;nn([re()],Xe.prototype,"editorMode",void 0);nn([w()],Xe.prototype,"context",void 0);nn([w()],Xe.prototype,"key",void 0);nn([Oe([])],Xe.prototype,"args",void 0);nn([w()],Xe.prototype,"defaultMessage",void 0)});var ut,kh=y(()=>{"use strict";Kt();ut=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>wr.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(r,n)=>wr.resolveRawMessage(this.name,n)})}}});var Mh=y(()=>{"use strict";Ii()});var Dh=y(()=>{"use strict"});var pt=y(()=>{"use strict";k();fl();kh();Ii();Mh();Jc();Dh();fl();G("ft-i18n")(Xe)});var Uh,Fh=y(()=>{ht();Uh=t=>t??pe});var Wh=y(()=>{Fh()});function Hh(t){var e,r,n,i,a;return((i=(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&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.openMode)===li.EXTERNAL}function ki(t){var e,r,n,i,a;if(Hh(t))return(i=(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&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case Zr.MAP:return t.map.readerUrl;case Zr.DOCUMENT:return t.document.viewerUrl;case Zr.TOPIC:return t.topic.readerUrl}return""}function zh(t,e){return Uh(e&&Hh(t)?"_blank":void 0)}var co,ml=y(()=>{"use strict";di();Wh();co=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var bb,bl,xl=y(()=>{"use strict";H();bb={},bl=T`
1213
+ `});var jh=y(()=>{"use strict"});var xb,Vh,Gh=y(()=>{"use strict";k();xb={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:fr(1,n,40)},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:[]}},Vh=t=>Ot.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:xb})});var Bi,Kh=y(()=>{"use strict";Kt();Bi=class extends dt{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0)}}});var Zh,an,lo,vl=y(()=>{"use strict";k();Gh();di();Kh();Zh=t=>t.request.virtualField===Kr.TITLE_ONLY&&t.request.scope===qr.DOCUMENTS,an=class t extends Event{constructor(){super(t.eventName)}};an.eventName="search-context-clear-all-filters";lo=class t{static build(e,r){return new t(Vh(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Ce(10),this.searchDebouncer=new Ce(100),this.suggestDebouncer=new Ce(300),this.service=r??new Bi,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()})}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){var r;let n=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],i=this.store.getState().request.contentLocale;if(e!=i){if(n.length>0){let a=s=>n.some(c=>c.lang==s);a(e)||(e=a(i)?i:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e),this.launchSearch()}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Kr.TITLE_ONLY),this.store.actions.setRequestScope(qr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Kr.EVERYWHERE),this.store.actions.setRequestScope(qr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Zh(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new an)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let n=this.facetIds.filter(i=>i!=e);r&&n.push(r),this.facetIds=n,this.launchSearch()}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(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,valueFilter:{values:r,negative:!1}},a=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==i.key),i];this.setFilters(a)}setDateFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,dateFilter:{type:r}},a=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==i.key),i];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.dateFilter),...r.filter(i=>i.dateFilter&&i.key!==e)];this.setFilters(n)}setRangeFilter(e,r,n){let i=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:n}},s=[...i.filter(c=>!c.rangeFilter),...i.filter(c=>c.rangeFilter&&c.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.rangeFilter),...r.filter(i=>i.rangeFilter&&i.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n={...this.store.getState().request,facets:this.facetIds.map(i=>({id:i}))};if(this.store.actions.paging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=Mr(this.service.launchSearch(n));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 a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.results(a)}this.store.actions.paging(i.paging)}}catch(n){!(n instanceof kt)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,metadataFilters:n.metadataFilters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=Mr(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.suggestResults(a.suggestions)}catch(r){!(r instanceof kt)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}}});function Sb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Sl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Sl]):this.dispatchEvent(new Cl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Sl,vb([le()],r.prototype,"stateManager",void 0),r}var vb,Cl,Sl,Me,Zt=y(()=>{"use strict";k();ne();jh();vl();vb=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Cl=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Sl=Symbol("registerInterval");Me=class extends Sb(Te){}});var Ne,Ui,Fi,Wi,he,Ol=y(()=>{"use strict";H();ne();k();xl();Zt();Kt();sl();Ne=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ui=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Fi=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Wi=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},he=class extends Te{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=lo.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}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 B`
1201
1214
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1202
- `}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.setContentLocale(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&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new ki(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Mi(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 $i(e))}reloadSavedSearches(){Sh.clearMySearches()}clear(){this.stateManager.clear()}};pe.elementDefinitions={};pe.styles=hl;Ae([ie({store:H.name})],pe.prototype,"session",void 0);Ae([w()],pe.prototype,"query",void 0);Ae([w()],pe.prototype,"contentLocale",void 0);Ae([w({type:Number})],pe.prototype,"pageSize",void 0);Ae([w({type:Boolean})],pe.prototype,"searchInDocumentTitlesOnly",void 0);Ae([w()],pe.prototype,"scope",void 0);Ae([w()],pe.prototype,"virtualField",void 0);Ae([w({type:Boolean})],pe.prototype,"ignoreEmptyQuery",void 0);Ae([ie({store:H.name})],pe.prototype,"openExternalDocumentInNewTab",void 0);Ae([Ce([])],pe.prototype,"filters",void 0);Ae([Ce([])],pe.prototype,"sort",void 0);Ae([Ce({})],pe.prototype,"otherQueryParams",void 0);Ae([ie({store:"search"})],pe.prototype,"request",void 0);Ae([ie({store:"search"})],pe.prototype,"paging",void 0);Ae([ie({store:"search",selector:t=>t.spellcheck})],pe.prototype,"autocorrect",void 0);Ae([w({attribute:!1})],pe.prototype,"searchServiceProvider",void 0)});var Hh=y(()=>{"use strict"});var zh={};Z(zh,{ClearAllFiltersEvent:()=>Jo,FtSearchContext:()=>pe,FtSearchContextCssVariables:()=>fb,FtSearchStateManager:()=>no,LoadErrorEvent:()=>$i,SearchRequestChangeEvent:()=>ki,SearchResultsChangeEvent:()=>Mi,searchInDocumentTitlesOnlySelector:()=>Wh,styles:()=>hl});var jh=y(()=>{"use strict";k();xl();yl();Hh();xl();ml();V("ft-search-context")(pe)});var en,Vh=y(()=>{"use strict";ut();en=dt.build("designedSearchInput")});var Gh,Kh=y(()=>{"use strict";W();qo();Gh=L`
1215
+ `}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.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)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Fi(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Wi(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 Ui(e))}reloadSavedSearches(){Rh.clearMySearches()}clear(){this.stateManager.clear()}};he.elementDefinitions={};he.styles=bl;Ne([re({store:W.name})],he.prototype,"session",void 0);Ne([w()],he.prototype,"query",void 0);Ne([w()],he.prototype,"contentLocale",void 0);Ne([w({type:Number})],he.prototype,"pageSize",void 0);Ne([w({type:Boolean})],he.prototype,"searchInDocumentTitlesOnly",void 0);Ne([w()],he.prototype,"scope",void 0);Ne([w()],he.prototype,"virtualField",void 0);Ne([w({type:Boolean})],he.prototype,"ignoreEmptyQuery",void 0);Ne([re({store:W.name})],he.prototype,"openExternalDocumentInNewTab",void 0);Ne([Oe([])],he.prototype,"filters",void 0);Ne([Oe([])],he.prototype,"sort",void 0);Ne([Oe({})],he.prototype,"otherQueryParams",void 0);Ne([re({store:"search"})],he.prototype,"request",void 0);Ne([re({store:"search"})],he.prototype,"paging",void 0);Ne([re({store:"search",selector:t=>t.spellcheck})],he.prototype,"autocorrect",void 0);Ne([w({attribute:!1})],he.prototype,"searchServiceProvider",void 0)});var qh=y(()=>{"use strict"});var Yh={};Y(Yh,{ClearAllFiltersEvent:()=>an,FtSearchContext:()=>he,FtSearchContextCssVariables:()=>bb,FtSearchStateManager:()=>lo,LoadErrorEvent:()=>Ui,SearchRequestChangeEvent:()=>Fi,SearchResultsChangeEvent:()=>Wi,searchInDocumentTitlesOnlySelector:()=>Zh,styles:()=>bl});var Qh=y(()=>{"use strict";k();Ol();xl();qh();Ol();vl();G("ft-search-context")(he)});var sn,Xh=y(()=>{"use strict";pt();sn=ut.build("designedSearchInput")});var Jh,ey=y(()=>{"use strict";H();tn();Jh=T`
1203
1216
  * {
1204
1217
  box-sizing: border-box;
1205
1218
  }
1206
1219
 
1207
1220
  .ft-search-input-suggestion {
1208
1221
  position: absolute;
1209
- z-index: ${ae.floatingZIndex};
1222
+ z-index: ${se.floatingZIndex};
1210
1223
  top: calc(100% + 2px);
1211
1224
  left: -1px;
1212
1225
  right: -1px;
1213
- background: ${ae.colorSurface};
1214
- border: 1px solid ${ae.colorOutline};
1215
- border-radius: 0 0 ${ae.borderRadius} ${ae.borderRadius};
1216
- box-shadow: ${ae.elevation02};
1226
+ background: ${se.colorSurface};
1227
+ border: 1px solid ${se.colorOutline};
1228
+ border-radius: 0 0 ${se.borderRadius} ${se.borderRadius};
1229
+ box-shadow: ${se.elevation02};
1217
1230
  }
1218
1231
 
1219
1232
  .ft-search-input-suggestion--suggestion {
@@ -1224,7 +1237,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1224
1237
  padding: 8px;
1225
1238
  gap: 8px;
1226
1239
  cursor: pointer;
1227
- color: ${ae.colorOnSurface};
1240
+ color: ${se.colorOnSurface};
1228
1241
  min-height: 44px;
1229
1242
  }
1230
1243
 
@@ -1241,38 +1254,50 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1241
1254
  flex-grow: 1;
1242
1255
  flex-shrink: 1;
1243
1256
  }
1244
- `});var Zh,vl,vr,qh=y(()=>{"use strict";k();W();oe();Kh();An();fi();di();wt();Vt();Zh=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},vl=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},vr=class extends ke{render(){return B`
1257
+ `});var Hi,El,Rt,ty=y(()=>{"use strict";k();H();ne();ey();Tn();bi();yi();wt();Zt();Kt();Hi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},El=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},Rt=class extends Me{render(){let e=so.get();return B`
1245
1258
  <div class="ft-search-input-suggestion ft-word-wrap"
1246
1259
  part="container"
1247
- @keydown=${e=>this.onSuggestKeyDown(e)}>
1248
- ${Eo(this.suggestResults||[],e=>e.value,e=>B`
1249
- <a href="#"
1250
- part="suggestion"
1251
- class="ft-search-input-suggestion--suggestion"
1252
- @keyup=${r=>this.onSuggestKeyUp(r,e.value)}
1253
- @click=${r=>this.onSuggestSelected(r,e.value)}>
1254
- <ft-ripple></ft-ripple>
1255
- ${this.getIcon(e)}
1256
- <ft-typography variant="body1">${e.value}</ft-typography>
1257
- </a>
1258
- `)}
1260
+ @keydown=${r=>this.onSuggestKeyDown(r)}>
1261
+ ${No(this.suggestResults||[],r=>r.value,r=>this.renderSuggestion(r,e))}
1262
+ </div>
1263
+ `}renderSuggestion(e,r){if(this.launchSearchPath){let n={...this.request,query:e.value},i=r.serializeToCurrentPageIfPossible(n,this.launchSearchPath);return B`
1264
+ <a href="${i}"
1265
+ part="suggestion"
1266
+ class="ft-search-input-suggestion--suggestion"
1267
+ @keyup=${a=>this.onSuggestKeyUp(a)}
1268
+ @click=${a=>this.onSuggestLinkClick(a,e)}>
1269
+ <ft-ripple></ft-ripple>
1270
+ ${this.getIcon(e)}
1271
+ <ft-typography variant="body1">${e.value}</ft-typography>
1272
+ </a>
1273
+ `}return B`
1274
+ <div tabindex="0"
1275
+ part="suggestion"
1276
+ class="ft-search-input-suggestion--suggestion"
1277
+ @keyup=${n=>this.onSuggestKeyUp(n)}
1278
+ @click=${n=>this.onSuggestSelected(e.value)}>
1279
+ <ft-ripple></ft-ripple>
1280
+ ${this.getIcon(e)}
1281
+ <ft-typography variant="body1">${e.value}</ft-typography>
1259
1282
  </div>
1260
- `}onSuggestKeyDown(e){var r,n,i,a,s,c;switch(e.key){case"ArrowUp":(i=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(c=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,r){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,r)}onSuggestSelected(e,r){e.preventDefault(),this.dispatchEvent(new vl(r))}getIcon(e){let r=e.type==="DOCUMENT"?Fe.file_format:Fe.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?jt.BOOK:jt.ARTICLE;break;case"DOCUMENT":n=ch(e.mimeType,e.filenameExtension);break;case"TOPIC":n=jt.TOPICS;break}return B`
1283
+ `}onSuggestLinkClick(e,r){!e.metaKey&&!e.ctrlKey&&(e.preventDefault(),e.stopPropagation()),this.onSuggestSelected(r.value)}onSuggestKeyDown(e){var r,n,i,a,s,c;switch(e.key){case"ArrowUp":(i=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(c=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.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 El(e))}getIcon(e){let r=e.type==="DOCUMENT"?We.file_format:We.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Gt.BOOK:Gt.ARTICLE;break;case"DOCUMENT":n=hh(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Gt.TOPICS;break}return B`
1261
1284
  <ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
1262
- `}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()}};vr.elementDefinitions={"ft-ripple":se,"ft-typography":me,"ft-icon":Le};vr.styles=[Ns,Gh];Zh([ie()],vr.prototype,"suggestResults",void 0);vr=Zh([oa("ft-search-input-suggestion")],vr)});var io,He,Sl=y(()=>{"use strict";W();k();qo();Vt();ut();Vh();oe();Nr();qh();mi();wt();io=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},He=class extends Ve(ke){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!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};return B`
1263
- <div class="${mt(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
1285
+ `}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":ce,"ft-typography":be,"ft-icon":ke};Rt.styles=[Ts,Jh];Hi([re()],Rt.prototype,"request",void 0);Hi([re()],Rt.prototype,"suggestResults",void 0);Hi([w()],Rt.prototype,"launchSearchPath",void 0);Rt=Hi([la("ft-search-input-suggestion")],Rt)});var Nt,_e,wl=y(()=>{"use strict";H();k();tn();Zt();pt();Xh();ne();Ir();ty();Si();wt();Kt();Nt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},_e=class extends Ge(Me){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.useCustomSearchPath=!1,this.addI18nContext(sn)}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},i={...this.request,query:this.liveQuery},a=this.useCustomSearchPath?this.launchSearchPath:void 0,s=so.get().serializeToCurrentPageIfPossible(i,a);return B`
1286
+ <div class="${rt(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
1264
1287
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
1265
1288
  <div class="ft-search-input--input-outline" part="input-outline">
1266
1289
  <input class="ft-search-input--input ft-typography--body2"
1267
1290
  part="input"
1268
1291
  type="search"
1269
- placeholder="${en.messages.placeholder()}"
1292
+ placeholder="${sn.messages.placeholder()}"
1270
1293
  .value="${this.liveQuery}"
1271
- @input=${i=>this.onInput(i)}
1272
- @keydown=${i=>this.onSearchBarKeyDown(i)}
1273
- @keyup=${i=>this.onSearchBarKeyUp(i)}>
1294
+ @input=${c=>this.onInput(c)}
1295
+ @keydown=${c=>this.onSearchBarKeyDown(c)}
1296
+ @keyup=${c=>this.onSearchBarKeyUp(c)}>
1274
1297
  </div>
1275
1298
  <ft-search-input-suggestion exportpartsPrefix="suggestion"
1299
+ .request=${this.request}
1300
+ .launchSearchPath=${a}
1276
1301
  @suggestion-selected=${this.onSuggestionSelected}
1277
1302
  ></ft-search-input-suggestion>
1278
1303
  </div>
@@ -1283,8 +1308,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1283
1308
  part="clear-query"
1284
1309
  icon="close"
1285
1310
  round dense
1286
- label="${en.messages.clearButton()}"
1287
- @click=${()=>{this.liveQuery="",this.input.focus()}}
1311
+ label="${sn.messages.clearButton()}"
1312
+ @click=${()=>{var c;(c=this.stateManager)===null||c===void 0||c.setLiveQuery(""),this.input.focus()}}
1288
1313
  ></ft-button>
1289
1314
  <div class="ft-search-input--separator"></div>
1290
1315
  `:null}
@@ -1292,77 +1317,78 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1292
1317
  part="launch-search-in-input"
1293
1318
  icon="search"
1294
1319
  round dense
1295
- label="${en.messages.searchButton()}"
1320
+ label="${sn.messages.searchButton()}"
1321
+ href="${this.useCustomSearchPath?s:""}"
1296
1322
  @click=${()=>this.launchSearch(this.liveQuery)}
1297
1323
  ></ft-button>
1298
1324
  </div>
1299
1325
  </div>
1300
- `}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.launchSearch(this.input.value);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e}))}onSuggestionSelected(e){this.launchSearch(e.detail)}};He.elementDefinitions={"ft-search-input-suggestion":vr,"ft-button":We};He.styles=[ci,_s,Gc];io([ie()],He.prototype,"request",void 0);io([ie()],He.prototype,"liveQuery",void 0);io([ie()],He.prototype,"suggestResults",void 0);io([fe()],He.prototype,"forceCloseSuggestion",void 0);io([xe(".ft-search-input--input")],He.prototype,"input",void 0);io([xe("ft-search-input-suggestion")],He.prototype,"suggestion",void 0)});var Yh=y(()=>{"use strict"});var Qh={};Z(Qh,{FtSearchInput:()=>He,FtSearchInputCssVariables:()=>ae,styles:()=>Gc});var Xh=y(()=>{"use strict";k();Sl();qo();Yh();Sl();V("ft-search-input")(He)});var gb,Ol,Cl=y(()=>{"use strict";W();gb={},Ol=L`
1301
- `});var El,Jh=y(()=>{"use strict";ut();El=dt.fromGwt("designedActionBlockAriaLabels")});var ey,Rt,wl=y(()=>{"use strict";W();k();Cl();mi();Vt();ut();Jh();ey=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Rt=class extends Ve(ke){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(El)}render(){return this.isLastPage?j:B`
1326
+ `}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}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)}};_e.elementDefinitions={"ft-search-input-suggestion":Rt,"ft-button":He};_e.styles=[fi,Is,Yc];Nt([re()],_e.prototype,"request",void 0);Nt([re()],_e.prototype,"liveQuery",void 0);Nt([re()],_e.prototype,"suggestResults",void 0);Nt([le()],_e.prototype,"forceCloseSuggestion",void 0);Nt([w()],_e.prototype,"launchSearchPath",void 0);Nt([w({type:Boolean})],_e.prototype,"useCustomSearchPath",void 0);Nt([xe(".ft-search-input--input")],_e.prototype,"input",void 0);Nt([xe("ft-search-input-suggestion")],_e.prototype,"suggestion",void 0);Nt([xe('[part="launch-search-in-input"]')],_e.prototype,"launchSearchButton",void 0)});var ry=y(()=>{"use strict"});var oy={};Y(oy,{FtSearchInput:()=>_e,FtSearchInputCssVariables:()=>se,styles:()=>Yc});var ny=y(()=>{"use strict";k();wl();tn();ry();wl();G("ft-search-input")(_e)});var Cb,Al,Rl=y(()=>{"use strict";H();Cb={},Al=T`
1327
+ `});var Nl,iy=y(()=>{"use strict";pt();Nl=ut.fromGwt("designedActionBlockAriaLabels")});var ay,_t,_l=y(()=>{"use strict";H();k();Rl();Si();Zt();pt();iy();ay=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},_t=class extends Ge(Me){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Nl)}render(){return this.isLastPage?V:B`
1302
1328
  <ft-button @click="${this.loadMore}">
1303
- ${El.messages.searchPageLoadMore()}
1329
+ ${Nl.messages.searchPageLoadMore()}
1304
1330
  </ft-button>
1305
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Rt.elementDefinitions={"ft-button":We};Rt.styles=Ol;ey([ie({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}})],Rt.prototype,"currentPage",void 0);ey([ie({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}})],Rt.prototype,"isLastPage",void 0)});var ty=y(()=>{"use strict"});var ry={};Z(ry,{FtSearchLoadMoreButton:()=>Rt,FtSearchLoadMoreButtonCssVariables:()=>gb,styles:()=>Ol});var oy=y(()=>{"use strict";k();wl();Cl();ty();wl();V("ft-search-load-more-button")(Rt)});function bb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Rl]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Rl]):this.dispatchEvent(new Nl)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Rl,Al([w({attribute:!1})],r.prototype,"cluster",void 0),Al([w({attribute:!1})],r.prototype,"result",void 0),Al([w({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var Al,Nl,Rl,ao,_l=y(()=>{"use strict";Vt();oe();Al=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Nl=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Rl=Symbol("registerInterval");ao=class extends bb(ke){}});var Sr,Pl=y(()=>{"use strict";W();_l();bi();wo();wt();Sr=class extends ao{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?B`
1306
- <ft-typography variant="body1" part="text">${cr(e)}</ft-typography>
1331
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};_t.elementDefinitions={"ft-button":He};_t.styles=Al;ay([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}})],_t.prototype,"currentPage",void 0);ay([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}})],_t.prototype,"isLastPage",void 0)});var sy=y(()=>{"use strict"});var cy={};Y(cy,{FtSearchLoadMoreButton:()=>_t,FtSearchLoadMoreButtonCssVariables:()=>Cb,styles:()=>Al});var ly=y(()=>{"use strict";k();_l();Rl();sy();_l();G("ft-search-load-more-button")(_t)});function Ob(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ll]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Ll]):this.dispatchEvent(new Tl)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Ll,Pl([w({attribute:!1})],r.prototype,"cluster",void 0),Pl([w({attribute:!1})],r.prototype,"result",void 0),Pl([w({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var Pl,Tl,Ll,uo,Il=y(()=>{"use strict";Zt();ne();Pl=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Tl=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Ll=Symbol("registerInterval");uo=class extends Ob(Me){}});var Ar,$l=y(()=>{"use strict";H();Il();Oi();_o();wt();Ar=class extends uo{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?B`
1332
+ <ft-typography variant="body1" part="text">${ur(e)}</ft-typography>
1307
1333
  `:B`
1308
1334
  <style>
1309
1335
  :host {
1310
1336
  display: none !important;
1311
1337
  }
1312
1338
  </style>
1313
- `}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"))}};Sr.elementDefinitions={"ft-typography":me};Sr.styles=Kc});var ny=y(()=>{"use strict"});var iy={};Z(iy,{FtSearchResultAbstract:()=>Sr,FtSearchResultAbstractCssVariables:()=>gi,styles:()=>Kc});var Tl=y(()=>{"use strict";k();Pl();bi();ny();Pl();V("ft-search-result-abstract")(Sr)});var xb,Gt,Il=y(()=>{"use strict";W();oe();_l();vi();wt();wo();pl();xb=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Gt=class extends ao{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():B`
1314
- <a href="${Pi(this.result)}"
1339
+ `}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"))}};Ar.elementDefinitions={"ft-typography":be};Ar.styles=Qc});var dy=y(()=>{"use strict"});var uy={};Y(uy,{FtSearchResultAbstract:()=>Ar,FtSearchResultAbstractCssVariables:()=>Ci,styles:()=>Qc});var kl=y(()=>{"use strict";k();$l();Oi();dy();$l();G("ft-search-result-abstract")(Ar)});var Eb,qt,Ml=y(()=>{"use strict";H();ne();Il();wi();wt();_o();ml();Eb=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},qt=class extends uo{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():B`
1340
+ <a href="${ki(this.result)}"
1315
1341
  @click=${this.onResultClick}
1316
- target="${Mh(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
1342
+ target="${zh(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
1317
1343
  part="link">
1318
1344
  ${this.renderTitle()}
1319
1345
  </a>
1320
- `:j}renderTitle(){return B`
1321
- <ft-typography variant="title" part="text">${cr(this.selectTitle(this.result))}</ft-typography>
1322
- `}onResultClick(){this.dispatchEvent(new oo(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":me};Gt.styles=Zc;xb([w({type:Boolean})],Gt.prototype,"withoutLink",void 0)});var ay=y(()=>{"use strict"});var sy={};Z(sy,{FtSearchResultTitle:()=>Gt,FtSearchResultTitleCssVariables:()=>xi,styles:()=>Zc});var Ll=y(()=>{"use strict";k();Il();vi();ay();Il();V("ft-search-result-title")(Gt)});var vb,$l,kl=y(()=>{"use strict";W();vb={},$l=L`
1346
+ `:V}renderTitle(){return B`
1347
+ <ft-typography variant="title" part="text">${ur(this.selectTitle(this.result))}</ft-typography>
1348
+ `}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"))}};qt.elementDefinitions={"ft-typography":be};qt.styles=Xc;Eb([w({type:Boolean})],qt.prototype,"withoutLink",void 0)});var py=y(()=>{"use strict"});var fy={};Y(fy,{FtSearchResultTitle:()=>qt,FtSearchResultTitleCssVariables:()=>Ei,styles:()=>Xc});var Dl=y(()=>{"use strict";k();Ml();wi();py();Ml();G("ft-search-result-title")(qt)});var wb,Bl,Ul=y(()=>{"use strict";H();wb={},Bl=T`
1323
1349
  [part="no-results-message"] {
1324
1350
  text-align: center;
1325
1351
  padding: 12px;
1326
1352
  }
1327
- `});var cy,Ml=y(()=>{"use strict";W();cy=L`
1353
+ `});var hy,Fl=y(()=>{"use strict";H();hy=T`
1328
1354
  a {
1329
1355
  color: inherit;
1330
1356
  text-decoration: inherit;
1331
1357
  }
1332
- `});var Di,ly=y(()=>{"use strict";Di=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 Bl,Dl,Nt,Ul=y(()=>{"use strict";W();oe();k();Ml();ly();Bl=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Dl=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Nt=class extends te{constructor(){super(...arguments),this.index=0,this.stateManager=new Di(e=>this.onResultSelected(e))}render(){return B`
1358
+ `});var zi,yy=y(()=>{"use strict";zi=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 Hl,Wl,Pt,zl=y(()=>{"use strict";H();ne();k();Fl();yy();Hl=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Wl=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Pt=class extends te{constructor(){super(...arguments),this.index=0,this.stateManager=new zi(e=>this.onResultSelected(e))}render(){return B`
1333
1359
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
1334
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new Dl(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()}};Nt.elementDefinitions={};Nt.styles=cy;Bl([w({attribute:!1})],Nt.prototype,"cluster",void 0);Bl([fe()],Nt.prototype,"result",void 0);Bl([w()],Nt.prototype,"index",void 0)});var dy=y(()=>{"use strict"});var uy=y(()=>{"use strict";k();Ul();Ml();dy();Ul();V("ft-search-result-context")(Nt)});var so,py,Fl=y(()=>{"use strict";ut();so=dt.build("searchResultsNumber"),py={results:"{0} results","results[\\=1]":"1 result"}});var Or,ze,Wl=y(()=>{"use strict";W();An();oe();k();kl();Vt();uy();Ll();Tl();ut();Fl();Or=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ze=class extends Ve(ke){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>B`
1360
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new Wl(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()}};Pt.elementDefinitions={};Pt.styles=hy;Hl([w({attribute:!1})],Pt.prototype,"cluster",void 0);Hl([le()],Pt.prototype,"result",void 0);Hl([w()],Pt.prototype,"index",void 0)});var my=y(()=>{"use strict"});var gy=y(()=>{"use strict";k();zl();Fl();my();zl();G("ft-search-result-context")(Pt)});var po,by,jl=y(()=>{"use strict";pt();po=ut.build("searchResultsNumber"),by={results:"{0} results","results[\\=1]":"1 result"}});var Rr,ze,Vl=y(()=>{"use strict";H();Tn();ne();k();Ul();Zt();gy();Dl();kl();pt();jl();Rr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ze=class extends Ge(Me){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>B`
1335
1361
  <ft-search-result-title></ft-search-result-title>
1336
1362
  <ft-search-result-abstract></ft-search-result-abstract>
1337
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(so)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return B`
1338
- <ft-typography part="no-results-message" variant="body1">${so.messages.results(0)}</ft-typography>
1339
- `;let e=this.buildClusters();return Eo(e,r=>r.id,(r,n)=>{var i;return B`
1363
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(po)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return B`
1364
+ <ft-typography part="no-results-message" variant="body1">${po.messages.results(0)}</ft-typography>
1365
+ `;let e=this.buildClusters();return No(e,r=>r.id,(r,n)=>{var i;return B`
1340
1366
  <ft-search-result-context .cluster=${r} index="${n}"
1341
1367
  @ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
1342
1368
  ${this.renderResult((i=this.selectedResultByCluster[r.id])!==null&&i!==void 0?i:r.entries[0],n)}
1343
1369
  </ft-search-result-context>
1344
- `})}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&&uc.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;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(a=>({id:this.clusterId(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,this.paging.perPage):n}clusterId(e){var r,n,i,a,s;return(a=(n=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(i=e.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};ze.styles=$l;Or([w({type:String,attribute:"cluster-policy"})],ze.prototype,"clusterPolicy",void 0);Or([w({type:Boolean})],ze.prototype,"displayNoResultsMessage",void 0);Or([w({attribute:!1})],ze.prototype,"renderResult",void 0);Or([Ce([])],ze.prototype,"clusterSortCriterion",void 0);Or([ie({selector:t=>({...t.request,paging:void 0})})],ze.prototype,"requestWithoutPaging",void 0);Or([ie({selector:t=>t.request.paging})],ze.prototype,"paging",void 0);Or([ie()],ze.prototype,"results",void 0)});var fy=y(()=>{"use strict"});var hy={};Z(hy,{FtSearchResults:()=>ze,FtSearchResultsCssVariables:()=>vb,styles:()=>$l});var yy=y(()=>{"use strict";k();Wl();kl();fy();Wl();V("ft-search-results")(ze)});var Sb,Hl,zl=y(()=>{"use strict";W();Sb={},Hl=L`
1370
+ `})}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&&yc.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 i=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?i.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):i}clusterId(e){var r,n,i,a,s;return(a=(n=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(i=e.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};ze.styles=Bl;Rr([w({type:String,attribute:"cluster-policy"})],ze.prototype,"clusterPolicy",void 0);Rr([w({type:Boolean})],ze.prototype,"displayNoResultsMessage",void 0);Rr([w({attribute:!1})],ze.prototype,"renderResult",void 0);Rr([Oe([])],ze.prototype,"clusterSortCriterion",void 0);Rr([re({selector:t=>({...t.request,paging:void 0})})],ze.prototype,"requestWithoutPaging",void 0);Rr([re({selector:t=>t.request.paging})],ze.prototype,"paging",void 0);Rr([re()],ze.prototype,"results",void 0)});var xy=y(()=>{"use strict"});var vy={};Y(vy,{FtSearchResults:()=>ze,FtSearchResultsCssVariables:()=>wb,styles:()=>Bl});var Sy=y(()=>{"use strict";k();Vl();Ul();xy();Vl();G("ft-search-results")(ze)});var Ab,Gl,Kl=y(()=>{"use strict";H();Ab={},Gl=T`
1345
1371
 
1346
- `});var Ob,Kt,jl=y(()=>{"use strict";W();k();zl();Vt();ut();Fl();wt();Ob=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Kt=class extends Ve(ke){constructor(){super(),this.addI18nContext(so,py)}render(){return this.paging==null?j:B`
1372
+ `});var Rb,Yt,Zl=y(()=>{"use strict";H();k();Kl();Zt();pt();jl();wt();Rb=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Yt=class extends Ge(Me){constructor(){super(),this.addI18nContext(po,by)}render(){return this.paging==null?V:B`
1347
1373
  <ft-typography variant="body1">
1348
- ${so.messages.results(this.paging.totalClustersCount)}
1374
+ ${po.messages.results(this.paging.totalClustersCount)}
1349
1375
  </ft-typography>
1350
- `}};Kt.elementDefinitions={"ft-typography":me};Kt.styles=Hl;Ob([ie()],Kt.prototype,"paging",void 0)});var my=y(()=>{"use strict"});var gy={};Z(gy,{FtSearchResultsNumber:()=>Kt,FtSearchResultsNumberCssVariables:()=>Sb,styles:()=>Hl});var by=y(()=>{"use strict";k();jl();zl();my();jl();V("ft-search-results-number")(Kt)});k();W();k();W();k();W();k();mr();var re={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",$.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",$.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",$.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","",$.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","",$.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",$.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",$.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",$.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",$.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",$.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",$.elevation04)},Lf=L`
1376
+ `}};Yt.elementDefinitions={"ft-typography":be};Yt.styles=Gl;Rb([re()],Yt.prototype,"paging",void 0)});var Cy=y(()=>{"use strict"});var Oy={};Y(Oy,{FtSearchResultsNumber:()=>Yt,FtSearchResultsNumberCssVariables:()=>Ab,styles:()=>Gl});var Ey=y(()=>{"use strict";k();Zl();Kl();Cy();Zl();G("ft-search-results-number")(Yt)});k();H();k();H();k();H();k();Cr();var oe={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",$.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",$.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",$.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","",$.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","",$.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",$.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",$.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",$.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",$.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",$.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",$.elevation04)},Uf=T`
1351
1377
  :host {
1352
1378
  display: block;
1353
1379
  }
1354
1380
 
1355
1381
  #container {
1356
- padding: ${re.padding};
1357
- outline-style: ${re.outlineStyle};
1358
- outline-width: ${re.outlineWidth};
1359
- outline-color: ${re.outlineColor};
1360
- border-color: ${re.borderColor};
1361
- border-style: ${re.borderStyle};
1382
+ padding: ${oe.padding};
1383
+ outline-style: ${oe.outlineStyle};
1384
+ outline-width: ${oe.outlineWidth};
1385
+ outline-color: ${oe.outlineColor};
1386
+ border-color: ${oe.borderColor};
1387
+ border-style: ${oe.borderStyle};
1362
1388
  border-width: 1px;
1363
- border-radius: ${re.borderRadius};
1364
- ${O(_.borderRadius,re.borderRadius)};
1365
- box-shadow: ${re.elevation02};
1389
+ border-radius: ${oe.borderRadius};
1390
+ ${O(N.borderRadius,oe.borderRadius)};
1391
+ box-shadow: ${oe.elevation02};
1366
1392
  position: relative;
1367
1393
  width: 100%;
1368
1394
  height: 100%;
@@ -1374,7 +1400,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1374
1400
  grid-template-rows: max-content minmax(0, 1fr);
1375
1401
  grid-gap: 8px;
1376
1402
  box-sizing: border-box;
1377
- background-color: ${re.colorSurface};
1403
+ background-color: ${oe.colorSurface};
1378
1404
  transition: box-shadow 0.2s linear, color 0.2s linear;
1379
1405
  }
1380
1406
 
@@ -1387,12 +1413,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1387
1413
  }
1388
1414
 
1389
1415
  #container.selected {
1390
- outline-style: ${re.selectedOutlineStyle};
1391
- outline-width: ${re.selectedOutlineWidth};
1392
- outline-color: ${re.selectedOutlineColor};
1393
- border-radius: ${re.selectedBorderRadius};
1394
- ${O(_.borderRadius,re.selectedBorderRadius)};
1395
- box-shadow: ${re.elevation04};
1416
+ outline-style: ${oe.selectedOutlineStyle};
1417
+ outline-width: ${oe.selectedOutlineWidth};
1418
+ outline-color: ${oe.selectedOutlineColor};
1419
+ border-radius: ${oe.selectedBorderRadius};
1420
+ ${O(N.borderRadius,oe.selectedBorderRadius)};
1421
+ box-shadow: ${oe.elevation04};
1396
1422
  }
1397
1423
 
1398
1424
  #container.clickable {
@@ -1400,8 +1426,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1400
1426
  }
1401
1427
 
1402
1428
  #container.clickable:hover {
1403
- box-shadow: ${re.elevation04};
1404
- border-color: ${re.hoverBorderColor};
1429
+ box-shadow: ${oe.elevation04};
1430
+ border-color: ${oe.hoverBorderColor};
1405
1431
  }
1406
1432
 
1407
1433
  #header {
@@ -1412,20 +1438,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1412
1438
  text-overflow: ellipsis;
1413
1439
  overflow: hidden;
1414
1440
  word-break: break-word;
1415
- color: ${re.colorOnSurfaceHigh};
1441
+ color: ${oe.colorOnSurfaceHigh};
1416
1442
  }
1417
1443
 
1418
1444
  #content {
1419
1445
  word-break: break-word;
1420
1446
  min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
1421
1447
  grid-area: content;
1422
- color: ${re.colorOnSurfaceMedium};
1448
+ color: ${oe.colorOnSurfaceMedium};
1423
1449
  }
1424
1450
 
1425
1451
  #action {
1426
1452
  grid-area: actions;
1427
1453
  }
1428
- `;qo();bi();mr();vi();var we={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",$.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",$.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",$.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",$.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",$.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",$.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",$.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",$.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",$.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",$.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",$.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",$.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",$.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",$.colorPrimary)},hh=L`
1454
+ `;tn();Oi();Cr();wi();var Ae={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",$.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",$.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",$.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",$.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",$.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",$.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",$.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",$.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",$.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",$.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",$.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",$.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",$.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",$.colorPrimary)},vh=T`
1429
1455
  .ft-search-in-doc--container {
1430
1456
  display: flex;
1431
1457
  flex-direction: column;
@@ -1433,11 +1459,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1433
1459
  }
1434
1460
 
1435
1461
  ft-search-input {
1436
- ${O(ae.colorSurface,we.searchFieldBackgroundColor)};
1437
- ${O(ae.colorOutline,we.searchFieldBorderColor)};
1438
- ${O(ae.colorOnSurface,we.searchFieldTextColor)};
1439
- ${O(ae.borderRadius,we.searchFieldBorderRadius)};
1440
- ${O(ae.buttonColor,we.searchButtonColor)};
1462
+ ${O(se.colorSurface,Ae.searchFieldBackgroundColor)};
1463
+ ${O(se.colorOutline,Ae.searchFieldBorderColor)};
1464
+ ${O(se.colorOnSurface,Ae.searchFieldTextColor)};
1465
+ ${O(se.borderRadius,Ae.searchFieldBorderRadius)};
1466
+ ${O(se.buttonColor,Ae.searchButtonColor)};
1441
1467
  }
1442
1468
 
1443
1469
  ft-search-results-number {
@@ -1445,41 +1471,41 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1445
1471
  }
1446
1472
 
1447
1473
  ft-search-results-number, ft-search-results::part(no-results-message) {
1448
- color: ${we.resultsNumberColor};
1474
+ color: ${Ae.resultsNumberColor};
1449
1475
  }
1450
1476
 
1451
1477
  ft-search-load-more-button {
1452
1478
  margin: auto;
1453
1479
  }
1454
- `,yh=L`
1480
+ `,Sh=T`
1455
1481
  ft-card {
1456
1482
  margin-bottom: 8px;
1457
- ${O(re.elevation04,"none")};
1458
- ${O(re.elevation02,"none")};
1459
- ${O(re.borderStyle,"solid")};
1460
- ${O(re.borderRadius,$.borderRadiusS)};
1461
- ${O(re.colorSurface,we.resultBackgroundColor)};
1462
- ${O(re.borderColor,we.resultBorderColor)};
1463
- ${O(re.borderRadius,we.resultBorderRadius)};
1483
+ ${O(oe.elevation04,"none")};
1484
+ ${O(oe.elevation02,"none")};
1485
+ ${O(oe.borderStyle,"solid")};
1486
+ ${O(oe.borderRadius,$.borderRadiusS)};
1487
+ ${O(oe.colorSurface,Ae.resultBackgroundColor)};
1488
+ ${O(oe.borderColor,Ae.resultBorderColor)};
1489
+ ${O(oe.borderRadius,Ae.resultBorderRadius)};
1464
1490
  }
1465
1491
 
1466
1492
  ft-search-result-title {
1467
- color: ${we.resultTitleTextColor};
1468
- ${O(xi.highlightBackgroundColor,we.resultHighlightBackgroundColor)};
1493
+ color: ${Ae.resultTitleTextColor};
1494
+ ${O(Ei.highlightBackgroundColor,Ae.resultHighlightBackgroundColor)};
1469
1495
  }
1470
1496
 
1471
1497
  .breadcrumb {
1472
- color: ${we.resultBreadcrumbTextColor};
1498
+ color: ${Ae.resultBreadcrumbTextColor};
1473
1499
  }
1474
1500
 
1475
1501
  ft-search-result-abstract {
1476
- color: ${we.resultContentTextColor};
1477
- ${O(gi.highlightBackgroundColor,we.resultHighlightBackgroundColor)};
1502
+ color: ${Ae.resultContentTextColor};
1503
+ ${O(Ci.highlightBackgroundColor,Ae.resultHighlightBackgroundColor)};
1478
1504
  }
1479
1505
 
1480
1506
  ft-card:hover {
1481
- ${O(re.hoverBorderColor,we.resultHoverBorderColor)};
1482
- ${O(_.color,we.resultHoverBackgroundColor)};
1507
+ ${O(oe.hoverBorderColor,Ae.resultHoverBorderColor)};
1508
+ ${O(N.color,Ae.resultHoverBackgroundColor)};
1483
1509
  }
1484
1510
 
1485
1511
  .result-container {
@@ -1492,11 +1518,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1492
1518
  text-decoration: none;
1493
1519
  color: inherit;
1494
1520
  }
1495
- `;ut();k();oe();var Th;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Th||(Th={}));var ub=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ul=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},dl=Symbol("registerInterval");function pb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[dl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[dl]):this.dispatchEvent(new ul)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=dl,ub([fe()],r.prototype,"stateManager",void 0),r}var _i=class extends pb(Pe){};oe();pl();var Ti=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};ut();var fl=dt.build("designedReaderSearchInDocument");k();W();oe();k();di();wt();Nr();var Ii=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ge=class extends te{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 B`
1496
- <div id="container" part="container" class=${mt(e)}>
1521
+ `;pt();k();ne();var Bh;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Bh||(Bh={}));var mb=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},yl=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},hl=Symbol("registerInterval");function gb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[hl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[hl]):this.dispatchEvent(new yl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=hl,mb([le()],r.prototype,"stateManager",void 0),r}var $i=class extends gb(Te){};ne();ml();var Mi=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};pt();var gl=ut.build("designedReaderSearchInDocument");k();H();ne();k();yi();wt();Ir();var Di=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ke=class extends te{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 B`
1522
+ <div id="container" part="container" class=${rt(e)}>
1497
1523
  ${this.clickable?B`
1498
1524
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
1499
- `:j}
1525
+ `:V}
1500
1526
  <div id="header" part="header">
1501
1527
  <ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
1502
1528
  <slot name="header"></slot>
@@ -1510,17 +1536,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1510
1536
  </ft-typography>
1511
1537
  </div>
1512
1538
  </div>
1513
- `}};Ge.elementDefinitions={"ft-ripple":se,"ft-typography":me};Ge.styles=Lf;Ii([w()],Ge.prototype,"title",void 0);Ii([w({type:Boolean})],Ge.prototype,"clickable",void 0);Ii([w({type:Boolean})],Ge.prototype,"selected",void 0);Ii([w({type:Boolean})],Ge.prototype,"noHeader",void 0);V("ft-card")(Ge);var Zt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Me=class t extends Ve(_i){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(fl)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var n;return B`
1514
- <style> ${yh}</style>
1515
- <a href="${Pi(e)}" @click="${()=>this.onLinkClick(e,r)} }">
1539
+ `}};Ke.elementDefinitions={"ft-ripple":ce,"ft-typography":be};Ke.styles=Uf;Di([w()],Ke.prototype,"title",void 0);Di([w({type:Boolean})],Ke.prototype,"clickable",void 0);Di([w({type:Boolean})],Ke.prototype,"selected",void 0);Di([w({type:Boolean})],Ke.prototype,"noHeader",void 0);G("ft-card")(Ke);var Qt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},De=class t extends Ge($i){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(gl)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var n;return B`
1540
+ <style> ${Sh}</style>
1541
+ <a href="${ki(e)}" @click="${()=>this.onLinkClick(e,r)} }">
1516
1542
  <ft-card clickable noheader>
1517
1543
  <div class="result-container">
1518
- ${this.hideResultTitle?j:B`
1544
+ ${this.hideResultTitle?V:B`
1519
1545
  <ft-search-result-title withoutLink="true"></ft-search-result-title>`}
1520
- ${this.hideResultBreadcrumb?j:B`
1546
+ ${this.hideResultBreadcrumb?V:B`
1521
1547
  <ft-typography class="breadcrumb" variant="caption">${(n=e.topic)===null||n===void 0?void 0:n.breadcrumb.join(" > ")}</ft-typography>
1522
1548
  `}
1523
- ${this.hideResultAbstract?j:B`
1549
+ ${this.hideResultAbstract?V:B`
1524
1550
  <ft-search-result-abstract></ft-search-result-abstract>
1525
1551
  `}
1526
1552
  </div>
@@ -1533,11 +1559,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1533
1559
  .filters=${this.filters}
1534
1560
  scope="ALL_TOPICS"
1535
1561
  ignoreEmptyQuery
1536
- @ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new Ti({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)}}>
1562
+ @ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new Mi({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)}}>
1537
1563
  <div class="ft-search-in-doc--container">
1538
- <ft-search-input placeholder=${fl.messages.placeholder()}
1564
+ <ft-search-input placeholder=${gl.messages.placeholder()}
1539
1565
  @change="${e=>{var r;this.userHasDoneManualAction=!0,(r=this.stateManager)===null||r===void 0||r.setSearchInDocumentQuery(e.detail)}}"></ft-search-input>
1540
- ${this.hideResultsNumber?j:B`
1566
+ ${this.hideResultsNumber?V:B`
1541
1567
  <ft-search-results-number @ft-search-result-click=${e=>e.stopPropagation()}></ft-search-results-number>
1542
1568
  `}
1543
1569
  <ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
@@ -1549,7 +1575,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1549
1575
  </slot>
1550
1576
  </div>
1551
1577
  </ft-search-context>
1552
- `:j}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new oo(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(jh(),zh)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Xh(),Qh)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(oy(),ry)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Tl(),iy)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Ll(),sy)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(yy(),hy)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(by(),gy)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Me.elementDefinitions={"ft-card":Ge};Me.styles=hh;Zt([ie()],Me.prototype,"map",void 0);Zt([ie()],Me.prototype,"searchInDocumentQuery",void 0);Zt([xe("ft-search-context")],Me.prototype,"searchContext",void 0);Zt([xe("ft-search-results")],Me.prototype,"searchResults",void 0);Zt([w({type:Boolean})],Me.prototype,"hideResultTitle",void 0);Zt([w({type:Boolean})],Me.prototype,"hideResultBreadcrumb",void 0);Zt([w({type:Boolean})],Me.prototype,"hideResultAbstract",void 0);Zt([w({type:Boolean})],Me.prototype,"hideResultsNumber",void 0);V("ft-reader-search-in-document")(Me);})();
1578
+ `:V}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["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(()=>(Qh(),Yh)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(ny(),oy)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(ly(),cy)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(kl(),uy)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Dl(),fy)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Sy(),vy)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Ey(),Oy)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};De.elementDefinitions={"ft-card":Ke};De.styles=vh;Qt([re()],De.prototype,"map",void 0);Qt([re()],De.prototype,"searchInDocumentQuery",void 0);Qt([xe("ft-search-context")],De.prototype,"searchContext",void 0);Qt([xe("ft-search-results")],De.prototype,"searchResults",void 0);Qt([w({type:Boolean})],De.prototype,"hideResultTitle",void 0);Qt([w({type:Boolean})],De.prototype,"hideResultBreadcrumb",void 0);Qt([w({type:Boolean})],De.prototype,"hideResultAbstract",void 0);Qt([w({type:Boolean})],De.prototype,"hideResultsNumber",void 0);G("ft-reader-search-in-document")(De);})();
1553
1579
  /*! Bundled license information:
1554
1580
 
1555
1581
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: