@fluid-topics/ft-reader-search-in-document 1.2.72 → 1.2.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";(()=>{var kb=Object.create;var ts=Object.defineProperty;var _b=Object.getOwnPropertyDescriptor;var $b=Object.getOwnPropertyNames;var Tb=Object.getPrototypeOf,Pb=Object.prototype.hasOwnProperty;var u=(r,e)=>()=>(r&&(e=r(r=0)),e);var Nb=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),ae=(r,e)=>{for(var t in e)ts(r,t,{get:e[t],enumerable:!0})},Fb=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $b(e))!Pb.call(r,n)&&n!==t&&ts(r,n,{get:()=>e[n],enumerable:!(i=_b(e,n))||i.enumerable});return r};var Bb=(r,e,t)=>(t=r!=null?kb(Tb(r)):{},Fb(e||!r||!r.__esModule?ts(t,"default",{value:r,enumerable:!0}):t,r));var qp=u(()=>{if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(L,I){if(L=L.toLowerCase(),this._getDefinition(L)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${L}" has already been used with this registry`);if(this._definitionsByClass.get(I)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let A=I.prototype.attributeChangedCallback,V=new Set(I.observedAttributes||[]);x(I,V,A);let q={elementClass:I,connectedCallback:I.prototype.connectedCallback,disconnectedCallback:I.prototype.disconnectedCallback,adoptedCallback:I.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:I.formAssociated,formAssociatedCallback:I.prototype.formAssociatedCallback,formDisabledCallback:I.prototype.formDisabledCallback,formResetCallback:I.prototype.formResetCallback,formStateRestoreCallback:I.prototype.formStateRestoreCallback,observedAttributes:V};this._definitionsByTag.set(L,q),this._definitionsByClass.set(I,q);let oe=t.call(i,L);oe||(oe=m(L),e.call(i,L,oe)),this===window.customElements&&(s.set(I,q),q.standInClass=oe);let pe=this._awaitingUpgrade.get(L);if(pe){this._awaitingUpgrade.delete(L);for(let b of pe)a.delete(b),O(b,q,!0)}let j=this._whenDefinedPromises.get(L);return j!==void 0&&(j.resolve(I),this._whenDefinedPromises.delete(L)),I}upgrade(){F.push(this),i.upgrade.apply(i,arguments),F.pop()}get(L){return this._definitionsByTag.get(L)?.elementClass}_getDefinition(L){return this._definitionsByTag.get(L)}whenDefined(L){let I=this._getDefinition(L);if(I!==void 0)return Promise.resolve(I.elementClass);let A=this._whenDefinedPromises.get(L);return A===void 0&&(A={},A.promise=new Promise(V=>A.resolve=V),this._whenDefinedPromises.set(L,A)),A.promise}_upgradeWhenDefined(L,I,A){let V=this._awaitingUpgrade.get(I);V||this._awaitingUpgrade.set(I,V=new Set),A?V.add(L):V.delete(L)}};let d;window.HTMLElement=function(){let I=d;if(I)return d=void 0,I;let A=s.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return I=Reflect.construct(r,[],A.standInClass),Object.setPrototypeOf(I,this.constructor.prototype),n.set(I,A),I},window.HTMLElement.prototype=r.prototype;let f=L=>L===document||L instanceof ShadowRoot,g=L=>{let I=L.getRootNode();if(!f(I)){let A=F[F.length-1];if(A instanceof CustomElementRegistry)return A;I=A.getRootNode(),f(I)||(I=l.get(I)?.getRootNode()||document)}return I.customElements},m=L=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let V=g(A)||window.customElements,q=V._getDefinition(L);return q?O(A,q):a.set(A,V),A}connectedCallback(){let A=n.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,L,!0)}disconnectedCallback(){let A=n.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,L,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=n.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=n.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=n.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=n.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},x=(L,I,A)=>{if(I.size===0||A===void 0)return;let V=L.prototype.setAttribute;V&&(L.prototype.setAttribute=function(pe,j){let b=pe.toLowerCase();if(I.has(b)){let w=this.getAttribute(b);V.call(this,b,j),A.call(this,b,w,j)}else V.call(this,b,j)});let q=L.prototype.removeAttribute;q&&(L.prototype.removeAttribute=function(pe){let j=pe.toLowerCase();if(I.has(j)){let b=this.getAttribute(j);q.call(this,j),A.call(this,j,b,null)}else q.call(this,j)});let oe=L.prototype.toggleAttribute;oe&&(L.prototype.toggleAttribute=function(pe,j){let b=pe.toLowerCase();if(I.has(b)){let w=this.getAttribute(b);oe.call(this,b,j);let G=this.getAttribute(b);A.call(this,b,w,G)}else oe.call(this,b,j)})},C=L=>{let I=Object.getPrototypeOf(L);if(I!==window.HTMLElement)return I===r?Object.setPrototypeOf(L,window.HTMLElement):C(I)},O=(L,I,A=!1)=>{Object.setPrototypeOf(L,I.elementClass.prototype),n.set(L,I),d=L;try{new I.elementClass}catch{C(I.elementClass),new I.elementClass}I.attributeChangedCallback&&I.observedAttributes.forEach(V=>{L.hasAttribute(V)&&I.attributeChangedCallback.call(L,V,null,L.getAttribute(V))}),A&&I.connectedCallback&&L.isConnected&&I.connectedCallback.call(L)},R=Element.prototype.attachShadow;Element.prototype.attachShadow=function(L){let I=R.apply(this,arguments);return L.customElements&&(I.customElements=L.customElements),I};let F=[document],N=(L,I,A=void 0)=>{let V=(A?Object.getPrototypeOf(A):L.prototype)[I];L.prototype[I]=function(){F.push(this);let q=V.apply(A||this,arguments);return q!==void 0&&l.set(q,this),F.pop(),q}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let M=(L,I)=>{let A=Object.getOwnPropertyDescriptor(L.prototype,I);Object.defineProperty(L.prototype,I,{...A,set(V){F.push(this),A.set.call(this,V),F.pop()}})};if(M(Element,"innerHTML"),M(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let L=new WeakMap,I=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...pe){let j=I.call(this,...pe);return L.set(j,this),j},A.forEach(pe=>{let j=window.ElementInternals.prototype,b=j[pe];j[pe]=function(...w){let G=L.get(this);if(n.get(G).formAssociated===!0)return b?.call(this,...w);throw new DOMException(`Failed to execute ${b} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class V extends Array{constructor(j){super(...j),this._elements=j}get value(){return this._elements.find(j=>j.checked===!0)?.value||""}}class q{constructor(j){let b=new Map;j.forEach((w,G)=>{let fe=w.getAttribute("name"),Ce=b.get(fe)||[];this[+G]=w,Ce.push(w),b.set(fe,Ce)}),this.length=j.length,b.forEach((w,G)=>{w&&(w.length===1?this[G]=w[0]:this[G]=new V(w))})}namedItem(j){return this[j]}}let oe=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let pe=oe.get.call(this,[]),j=[];for(let b of pe){let w=n.get(b);(!w||w.formAssociated===!0)&&j.push(b)}return new q(j)}})}}});var Yp=u(()=>{"use strict";qp();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,i,n)=>{if(i!==null)try{e.bind(window.customElements)(t,i,n)}catch(a){console.info(t,i,n,a)}}}});var En,_i,rs,Qp,Po,hr,k,$i,wn,Rn=u(()=>{En=globalThis,_i=En.ShadowRoot&&(En.ShadyCSS===void 0||En.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,rs=Symbol(),Qp=new WeakMap,Po=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==rs)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(_i&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=Qp.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Qp.set(t,e))}return e}toString(){return this.cssText}},hr=r=>new Po(typeof r=="string"?r:r+"",void 0,rs),k=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+r[a+1],r[0]);return new Po(t,r,rs)},$i=(r,e)=>{if(_i)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=En.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},wn=_i?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return hr(t)})(r):r});var Db,Mb,Ub,zb,Hb,Wb,An,Xp,Vb,jb,Ti,No,Pi,Jp,Gt,Ni=u(()=>{Rn();Rn();({is:Db,defineProperty:Mb,getOwnPropertyDescriptor:Ub,getOwnPropertyNames:zb,getOwnPropertySymbols:Hb,getPrototypeOf:Wb}=Object),An=globalThis,Xp=An.trustedTypes,Vb=Xp?Xp.emptyScript:"",jb=An.reactiveElementPolyfillSupport,Ti=(r,e)=>r,No={toAttribute(r,e){switch(e){case Boolean:r=r?Vb:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},Pi=(r,e)=>!Db(r,e),Jp={attribute:!0,type:String,converter:No,reflect:!1,useDefault:!1,hasChanged:Pi};Symbol.metadata??=Symbol("metadata"),An.litPropertyMetadata??=new WeakMap;Gt=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,t=Jp){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&Mb(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=Ub(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Jp}static _$Ei(){if(this.hasOwnProperty(Ti("elementProperties")))return;let e=Wb(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ti("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ti("properties"))){let t=this.properties,i=[...zb(t),...Hb(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(wn(n))}else e!==void 0&&t.push(wn(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return $i(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$ET(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:No).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:No;this._$Em=n,this[n]=s.fromAttribute(t,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,t,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Pi)(a,t)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,t,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??t??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(t=void 0),this._$AL.set(e,t)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(e){}firstUpdated(e){}};Gt.elementStyles=[],Gt.shadowRootOptions={mode:"open"},Gt[Ti("elementProperties")]=new Map,Gt[Ti("finalized")]=new Map,jb?.({ReactiveElement:Gt}),(An.reactiveElementVersions??=[]).push("2.1.0")});function lu(r,e){if(!ss(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return eu!==void 0?eu.createHTML(e):e}function lo(r,e,t=r,i){if(e===Ye)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=Di(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=lo(r,n._$AS(r,e.values),n,i)),e}var is,Ln,eu,ns,mr,as,Gb,so,Bi,Di,ss,au,os,Fi,tu,ru,no,ou,iu,su,ls,S,cs,ds,Ye,T,nu,ao,cu,Mi,In,Fo,co,kn,_n,$n,Tn,ps,Kb,us,Bt=u(()=>{is=globalThis,Ln=is.trustedTypes,eu=Ln?Ln.createPolicy("lit-html",{createHTML:r=>r}):void 0,ns="$lit$",mr=`lit$${Math.random().toFixed(9).slice(2)}$`,as="?"+mr,Gb=`<${as}>`,so=document,Bi=()=>so.createComment(""),Di=r=>r===null||typeof r!="object"&&typeof r!="function",ss=Array.isArray,au=r=>ss(r)||typeof r?.[Symbol.iterator]=="function",os=`[
|
|
1
|
+
"use strict";(()=>{var kb=Object.create;var ts=Object.defineProperty;var _b=Object.getOwnPropertyDescriptor;var Tb=Object.getOwnPropertyNames;var $b=Object.getPrototypeOf,Pb=Object.prototype.hasOwnProperty;var u=(r,e)=>()=>(r&&(e=r(r=0)),e);var Nb=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),ae=(r,e)=>{for(var t in e)ts(r,t,{get:e[t],enumerable:!0})},Fb=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Tb(e))!Pb.call(r,n)&&n!==t&&ts(r,n,{get:()=>e[n],enumerable:!(i=_b(e,n))||i.enumerable});return r};var Bb=(r,e,t)=>(t=r!=null?kb($b(r)):{},Fb(e||!r||!r.__esModule?ts(t,"default",{value:r,enumerable:!0}):t,r));var qp=u(()=>{if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(L,I){if(L=L.toLowerCase(),this._getDefinition(L)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${L}" has already been used with this registry`);if(this._definitionsByClass.get(I)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let A=I.prototype.attributeChangedCallback,V=new Set(I.observedAttributes||[]);x(I,V,A);let q={elementClass:I,connectedCallback:I.prototype.connectedCallback,disconnectedCallback:I.prototype.disconnectedCallback,adoptedCallback:I.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:I.formAssociated,formAssociatedCallback:I.prototype.formAssociatedCallback,formDisabledCallback:I.prototype.formDisabledCallback,formResetCallback:I.prototype.formResetCallback,formStateRestoreCallback:I.prototype.formStateRestoreCallback,observedAttributes:V};this._definitionsByTag.set(L,q),this._definitionsByClass.set(I,q);let oe=t.call(i,L);oe||(oe=m(L),e.call(i,L,oe)),this===window.customElements&&(s.set(I,q),q.standInClass=oe);let pe=this._awaitingUpgrade.get(L);if(pe){this._awaitingUpgrade.delete(L);for(let b of pe)a.delete(b),O(b,q,!0)}let j=this._whenDefinedPromises.get(L);return j!==void 0&&(j.resolve(I),this._whenDefinedPromises.delete(L)),I}upgrade(){F.push(this),i.upgrade.apply(i,arguments),F.pop()}get(L){return this._definitionsByTag.get(L)?.elementClass}_getDefinition(L){return this._definitionsByTag.get(L)}whenDefined(L){let I=this._getDefinition(L);if(I!==void 0)return Promise.resolve(I.elementClass);let A=this._whenDefinedPromises.get(L);return A===void 0&&(A={},A.promise=new Promise(V=>A.resolve=V),this._whenDefinedPromises.set(L,A)),A.promise}_upgradeWhenDefined(L,I,A){let V=this._awaitingUpgrade.get(I);V||this._awaitingUpgrade.set(I,V=new Set),A?V.add(L):V.delete(L)}};let d;window.HTMLElement=function(){let I=d;if(I)return d=void 0,I;let A=s.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return I=Reflect.construct(r,[],A.standInClass),Object.setPrototypeOf(I,this.constructor.prototype),n.set(I,A),I},window.HTMLElement.prototype=r.prototype;let f=L=>L===document||L instanceof ShadowRoot,g=L=>{let I=L.getRootNode();if(!f(I)){let A=F[F.length-1];if(A instanceof CustomElementRegistry)return A;I=A.getRootNode(),f(I)||(I=l.get(I)?.getRootNode()||document)}return I.customElements},m=L=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let V=g(A)||window.customElements,q=V._getDefinition(L);return q?O(A,q):a.set(A,V),A}connectedCallback(){let A=n.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,L,!0)}disconnectedCallback(){let A=n.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,L,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=n.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=n.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=n.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=n.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},x=(L,I,A)=>{if(I.size===0||A===void 0)return;let V=L.prototype.setAttribute;V&&(L.prototype.setAttribute=function(pe,j){let b=pe.toLowerCase();if(I.has(b)){let w=this.getAttribute(b);V.call(this,b,j),A.call(this,b,w,j)}else V.call(this,b,j)});let q=L.prototype.removeAttribute;q&&(L.prototype.removeAttribute=function(pe){let j=pe.toLowerCase();if(I.has(j)){let b=this.getAttribute(j);q.call(this,j),A.call(this,j,b,null)}else q.call(this,j)});let oe=L.prototype.toggleAttribute;oe&&(L.prototype.toggleAttribute=function(pe,j){let b=pe.toLowerCase();if(I.has(b)){let w=this.getAttribute(b);oe.call(this,b,j);let G=this.getAttribute(b);A.call(this,b,w,G)}else oe.call(this,b,j)})},C=L=>{let I=Object.getPrototypeOf(L);if(I!==window.HTMLElement)return I===r?Object.setPrototypeOf(L,window.HTMLElement):C(I)},O=(L,I,A=!1)=>{Object.setPrototypeOf(L,I.elementClass.prototype),n.set(L,I),d=L;try{new I.elementClass}catch{C(I.elementClass),new I.elementClass}I.attributeChangedCallback&&I.observedAttributes.forEach(V=>{L.hasAttribute(V)&&I.attributeChangedCallback.call(L,V,null,L.getAttribute(V))}),A&&I.connectedCallback&&L.isConnected&&I.connectedCallback.call(L)},R=Element.prototype.attachShadow;Element.prototype.attachShadow=function(L){let I=R.apply(this,arguments);return L.customElements&&(I.customElements=L.customElements),I};let F=[document],N=(L,I,A=void 0)=>{let V=(A?Object.getPrototypeOf(A):L.prototype)[I];L.prototype[I]=function(){F.push(this);let q=V.apply(A||this,arguments);return q!==void 0&&l.set(q,this),F.pop(),q}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let M=(L,I)=>{let A=Object.getOwnPropertyDescriptor(L.prototype,I);Object.defineProperty(L.prototype,I,{...A,set(V){F.push(this),A.set.call(this,V),F.pop()}})};if(M(Element,"innerHTML"),M(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let L=new WeakMap,I=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...pe){let j=I.call(this,...pe);return L.set(j,this),j},A.forEach(pe=>{let j=window.ElementInternals.prototype,b=j[pe];j[pe]=function(...w){let G=L.get(this);if(n.get(G).formAssociated===!0)return b?.call(this,...w);throw new DOMException(`Failed to execute ${b} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class V extends Array{constructor(j){super(...j),this._elements=j}get value(){return this._elements.find(j=>j.checked===!0)?.value||""}}class q{constructor(j){let b=new Map;j.forEach((w,G)=>{let fe=w.getAttribute("name"),Ce=b.get(fe)||[];this[+G]=w,Ce.push(w),b.set(fe,Ce)}),this.length=j.length,b.forEach((w,G)=>{w&&(w.length===1?this[G]=w[0]:this[G]=new V(w))})}namedItem(j){return this[j]}}let oe=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let pe=oe.get.call(this,[]),j=[];for(let b of pe){let w=n.get(b);(!w||w.formAssociated===!0)&&j.push(b)}return new q(j)}})}}});var Yp=u(()=>{"use strict";qp();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,i,n)=>{if(i!==null)try{e.bind(window.customElements)(t,i,n)}catch(a){console.info(t,i,n,a)}}}});var En,_i,rs,Qp,Po,hr,k,Ti,wn,Rn=u(()=>{En=globalThis,_i=En.ShadowRoot&&(En.ShadyCSS===void 0||En.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,rs=Symbol(),Qp=new WeakMap,Po=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==rs)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(_i&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=Qp.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Qp.set(t,e))}return e}toString(){return this.cssText}},hr=r=>new Po(typeof r=="string"?r:r+"",void 0,rs),k=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+r[a+1],r[0]);return new Po(t,r,rs)},Ti=(r,e)=>{if(_i)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=En.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},wn=_i?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return hr(t)})(r):r});var Db,Mb,Ub,zb,Hb,Wb,An,Xp,Vb,jb,$i,No,Pi,Jp,Gt,Ni=u(()=>{Rn();Rn();({is:Db,defineProperty:Mb,getOwnPropertyDescriptor:Ub,getOwnPropertyNames:zb,getOwnPropertySymbols:Hb,getPrototypeOf:Wb}=Object),An=globalThis,Xp=An.trustedTypes,Vb=Xp?Xp.emptyScript:"",jb=An.reactiveElementPolyfillSupport,$i=(r,e)=>r,No={toAttribute(r,e){switch(e){case Boolean:r=r?Vb:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},Pi=(r,e)=>!Db(r,e),Jp={attribute:!0,type:String,converter:No,reflect:!1,useDefault:!1,hasChanged:Pi};Symbol.metadata??=Symbol("metadata"),An.litPropertyMetadata??=new WeakMap;Gt=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,t=Jp){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&Mb(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=Ub(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Jp}static _$Ei(){if(this.hasOwnProperty($i("elementProperties")))return;let e=Wb(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($i("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($i("properties"))){let t=this.properties,i=[...zb(t),...Hb(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(wn(n))}else e!==void 0&&t.push(wn(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ti(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$ET(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:No).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:No;this._$Em=n,this[n]=s.fromAttribute(t,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,t,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Pi)(a,t)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,t,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??t??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(t=void 0),this._$AL.set(e,t)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(e){}firstUpdated(e){}};Gt.elementStyles=[],Gt.shadowRootOptions={mode:"open"},Gt[$i("elementProperties")]=new Map,Gt[$i("finalized")]=new Map,jb?.({ReactiveElement:Gt}),(An.reactiveElementVersions??=[]).push("2.1.0")});function lu(r,e){if(!ss(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return eu!==void 0?eu.createHTML(e):e}function lo(r,e,t=r,i){if(e===Ye)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=Di(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=lo(r,n._$AS(r,e.values),n,i)),e}var is,Ln,eu,ns,mr,as,Gb,so,Bi,Di,ss,au,os,Fi,tu,ru,no,ou,iu,su,ls,S,cs,ds,Ye,$,nu,ao,cu,Mi,In,Fo,co,kn,_n,Tn,$n,ps,Kb,us,Bt=u(()=>{is=globalThis,Ln=is.trustedTypes,eu=Ln?Ln.createPolicy("lit-html",{createHTML:r=>r}):void 0,ns="$lit$",mr=`lit$${Math.random().toFixed(9).slice(2)}$`,as="?"+mr,Gb=`<${as}>`,so=document,Bi=()=>so.createComment(""),Di=r=>r===null||typeof r!="object"&&typeof r!="function",ss=Array.isArray,au=r=>ss(r)||typeof r?.[Symbol.iterator]=="function",os=`[
|
|
2
2
|
\f\r]`,Fi=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,tu=/-->/g,ru=/>/g,no=RegExp(`>|${os}(?:([^\\s"'>=/]+)(${os}*=${os}*(?:[^
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ou=/'/g,iu=/"/g,su=/^(?:script|style|textarea|title)$/i,ls=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),S=ls(1),cs=ls(2),ds=ls(3),Ye=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),nu=new WeakMap,ao=so.createTreeWalker(so,129);cu=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Fi;for(let l=0;l<t;l++){let d=r[l],f,g,m=-1,x=0;for(;x<d.length&&(s.lastIndex=x,g=s.exec(d),g!==null);)x=s.lastIndex,s===Fi?g[1]==="!--"?s=tu:g[1]!==void 0?s=ru:g[2]!==void 0?(su.test(g[2])&&(n=RegExp("</"+g[2],"g")),s=no):g[3]!==void 0&&(s=no):s===no?g[0]===">"?(s=n??Fi,m=-1):g[1]===void 0?m=-2:(m=s.lastIndex-g[2].length,f=g[1],s=g[3]===void 0?no:g[3]==='"'?iu:ou):s===iu||s===ou?s=no:s===tu||s===ru?s=Fi:(s=no,n=void 0);let C=s===no&&r[l+1].startsWith("/>")?" ":"";a+=s===Fi?d+Gb:m>=0?(i.push(f),d.slice(0,m)+ns+d.slice(m)+mr+C):d+mr+(m===-2?l:C)}return[lu(r,a+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Mi=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,g]=cu(e,t);if(this.el=r.createElement(f,i),ao.currentNode=this.el.content,t===2||t===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=ao.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(ns)){let x=g[s++],C=n.getAttribute(m).split(mr),O=/([.?@])?(.*)/.exec(x);d.push({type:1,index:a,name:O[2],strings:C,ctor:O[1]==="."?kn:O[1]==="?"?_n:O[1]==="@"?$n:co}),n.removeAttribute(m)}else m.startsWith(mr)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(su.test(n.tagName)){let m=n.textContent.split(mr),x=m.length-1;if(x>0){n.textContent=Ln?Ln.emptyScript:"";for(let C=0;C<x;C++)n.append(m[C],Bi()),ao.nextNode(),d.push({type:2,index:++a});n.append(m[x],Bi())}}}else if(n.nodeType===8)if(n.data===as)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(mr,m+1))!==-1;)d.push({type:7,index:a}),m+=mr.length-1}a++}}static createElement(e,t){let i=so.createElement("template");return i.innerHTML=e,i}};In=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??so).importNode(t,!0);ao.currentNode=n;let a=ao.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Fo(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new Tn(a,this,e)),this._$AV.push(f),d=i[++l]}s!==d?.index&&(a=ao.nextNode(),s++)}return ao.currentNode=so,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},Fo=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=lo(this,e,t),Di(e)?e===T||e==null||e===""?(this._$AH!==T&&this._$AR(),this._$AH=T):e!==this._$AH&&e!==Ye&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):au(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==T&&Di(this._$AH)?this._$AA.nextSibling.data=e:this.T(so.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Mi.createElement(lu(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new In(n,this),s=a.u(this.options);a.p(t),this.T(s),this._$AH=a}}_$AC(e){let t=nu.get(e.strings);return t===void 0&&nu.set(e.strings,t=new Mi(e)),t}k(e){ss(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.O(Bi()),this.O(Bi()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=T,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=T}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=lo(this,e,t,0),s=!Di(e)||e!==this._$AH&&e!==Ye,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=lo(this,l[i+d],t,d),f===Ye&&(f=this._$AH[d]),s||=!Di(f)||f!==this._$AH[d],f===T?e=T:e!==T&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},kn=class extends co{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===T?void 0:e}},_n=class extends co{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==T)}},$n=class extends co{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=lo(this,e,t,0)??T)===Ye)return;let i=this._$AH,n=e===T&&i!==T||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==T&&(i===T||n);n&&this.element.removeEventListener(this.name,this,i),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)}},Tn=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){lo(this,e)}},ps={M:ns,P:mr,A:as,C:1,L:cu,R:In,D:au,V:lo,I:Fo,H:co,N:_n,U:$n,B:kn,F:Tn},Kb=is.litHtmlPolyfillSupport;Kb?.(Mi,Fo),(is.litHtmlVersions??=[]).push("3.3.0");us=(r,e,t)=>{let i=t?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=t?.renderBefore??null;i._$litPart$=n=new Fo(e.insertBefore(Bi(),a),a,void 0,t??{})}return n._$AI(r),n}});var fs,gr,Zb,qb,du=u(()=>{Ni();Ni();Bt();Bt();fs=globalThis,gr=class extends Gt{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 t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=us(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ye}};gr._$litElement$=!0,gr.finalized=!0,fs.litElementHydrateSupport?.({LitElement:gr});Zb=fs.litElementPolyfillSupport;Zb?.({LitElement:gr});qb={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(fs.litElementVersions??=[]).push("4.2.0")});var N0,pu=u(()=>{N0=!1});var hs={};ae(hs,{CSSResult:()=>Po,LitElement:()=>gr,ReactiveElement:()=>Gt,_$LE:()=>qb,_$LH:()=>ps,adoptStyles:()=>$i,css:()=>k,defaultConverter:()=>No,getCompatibleStyle:()=>wn,html:()=>S,isServer:()=>N0,mathml:()=>ds,noChange:()=>Ye,notEqual:()=>Pi,nothing:()=>T,render:()=>us,supportsAdoptingStyleSheets:()=>_i,svg:()=>cs,unsafeCSS:()=>hr});var P=u(()=>{Ni();Bt();du();pu()});var Yb,uu=u(()=>{Yb=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)}});function h(r){return(e,t)=>typeof t=="object"?fu(r,e,t):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(r,e,t)}var Qb,fu,ms=u(()=>{Ni();Qb={attribute:!0,type:String,converter:No,reflect:!1,hasChanged:Pi},fu=(r=Qb,e,t)=>{let{kind:i,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((r=Object.create(r)).wrapped=!0),a.set(t.name,r),i==="accessor"){let{name:s}=t;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r,l),l}}}if(i==="setter"){let{name:s}=t;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+i)}});function D(r){return h({...r,state:!0,attribute:!1})}var hu=u(()=>{ms();});function Bo(r){return(e,t)=>{let i=typeof e=="function"?e:e[t];Object.assign(i,r)}}var mu=u(()=>{});var Dt,Do=u(()=>{Dt=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t)});function z(r,e){return(t,i,n)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof i=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Dt(t,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Dt(t,i,{get(){return a(this)}})}}var gu=u(()=>{Do();});function gs(r){return(e,t)=>Dt(e,t,{get(){return(this.renderRoot??(Xb??=document.createDocumentFragment())).querySelectorAll(r)}})}var Xb,yu=u(()=>{Do();});function Jb(r){return(e,t)=>Dt(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}var bu=u(()=>{Do();});function ys(r){return(e,t)=>{let{slot:i,selector:n}=r??{},a="slot"+(i?`[name=${i}]`:":not([name])");return Dt(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var xu=u(()=>{Do();});function bs(r){return(e,t)=>{let{slot:i}=r??{},n="slot"+(i?`[name=${i}]`:":not([name])");return Dt(e,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(r)??[]}})}}var vu=u(()=>{Do();});var xs={};ae(xs,{customElement:()=>Yb,eventOptions:()=>Bo,property:()=>h,query:()=>z,queryAll:()=>gs,queryAssignedElements:()=>ys,queryAssignedNodes:()=>bs,queryAsync:()=>Jb,standardProperty:()=>fu,state:()=>D});var Y=u(()=>{uu();ms();hu();mu();gu();yu();bu();xu();vu()});var Tr,Pr,Kt,Ui=u(()=>{Tr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Pr=r=>(...e)=>({_$litDirective$:r,values:e}),Kt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}});var ex,Su,Mo,Nr,tx,Cu,Ou,Pn,Eu=u(()=>{Bt();({I:ex}=ps),Su=()=>document.createComment(""),Mo=(r,e,t)=>{let i=r._$AA.parentNode,n=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=i.insertBefore(Su(),n),s=i.insertBefore(Su(),n);t=new ex(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let d;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(d=r._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let f=d.nextSibling;i.insertBefore(d,n),d=f}}}return t},Nr=(r,e,t=r)=>(r._$AI(e,t),r),tx={},Cu=(r,e=tx)=>r._$AH=e,Ou=r=>r._$AH,Pn=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let i=e.nextSibling;e.remove(),e=i}}});var wu,Te,Ru=u(()=>{Bt();Ui();Eu();wu=(r,e,t)=>{let i=new Map;for(let n=e;n<=t;n++)i.set(r[n],n);return i},Te=Pr(class extends Kt{constructor(r){if(super(r),r.type!==Tr.CHILD)throw Error("repeat() can only be used in text expressions")}dt(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of r)n[s]=i?i(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:n}}render(r,e,t){return this.dt(r,e,t).values}update(r,[e,t,i]){let n=Ou(r),{values:a,keys:s}=this.dt(e,t,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,g,m=0,x=n.length-1,C=0,O=a.length-1;for(;m<=x&&C<=O;)if(n[m]===null)m++;else if(n[x]===null)x--;else if(l[m]===s[C])d[C]=Nr(n[m],a[C]),m++,C++;else if(l[x]===s[O])d[O]=Nr(n[x],a[O]),x--,O--;else if(l[m]===s[O])d[O]=Nr(n[m],a[O]),Mo(r,d[O+1],n[m]),m++,O--;else if(l[x]===s[C])d[C]=Nr(n[x],a[C]),Mo(r,n[m],n[x]),x--,C++;else if(f===void 0&&(f=wu(s,C,O),g=wu(l,m,x)),f.has(l[m]))if(f.has(l[x])){let R=g.get(s[C]),F=R!==void 0?n[R]:null;if(F===null){let N=Mo(r,n[m]);Nr(N,a[C]),d[C]=N}else d[C]=Nr(F,a[C]),Mo(r,n[m],F),n[R]=null;C++}else Pn(n[x]),x--;else Pn(n[m]),m++;for(;C<=O;){let R=Mo(r,d[O+1]);Nr(R,a[C]),d[C++]=R}for(;m<=x;){let R=n[m++];R!==null&&Pn(R)}return this.ut=s,Cu(r,d),Ye}})});var vs={};ae(vs,{repeat:()=>Te});var Zt=u(()=>{Ru()});var ye,Au=u(()=>{Bt();Ui();ye=Pr(class extends Kt{constructor(r){if(super(r),r.type!==Tr.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}let t=r.element.classList;for(let i of this.st)i in e||(t.remove(i),this.st.delete(i));for(let i in e){let n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(t.add(i),this.st.add(i)):(t.remove(i),this.st.delete(i)))}return Ye}})});var Ss={};ae(Ss,{classMap:()=>ye});var nt=u(()=>{Au()});var Lu,rx,ox,Iu=u(()=>{Bt();Ui();Lu="important",rx=" !"+Lu,ox=Pr(class extends Kt{constructor(r){if(super(r),r.type!==Tr.ATTRIBUTE||r.name!=="style"||r.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(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[e]){let{style:t}=r.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?t.removeProperty(i):t[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ft.add(i);let a=typeof n=="string"&&n.endsWith(rx);i.includes("-")||a?t.setProperty(i,a?n.slice(0,-11):n,a?Lu:""):t[i]=n}}return Ye}})});var Cs={};ae(Cs,{styleMap:()=>ox});var ku=u(()=>{Iu()});var Uo,po,_u=u(()=>{Bt();Ui();Uo=class extends Kt{constructor(e){if(super(e),this.it=T,e.type!==Tr.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===T||e==null)return this._t=void 0,this.it=e;if(e===Ye)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Uo.directiveName="unsafeHTML",Uo.resultType=1;po=Pr(Uo)});var Os={};ae(Os,{UnsafeHTMLDirective:()=>Uo,unsafeHTML:()=>po});var zi=u(()=>{_u()});var Es={};ae(Es,{CancelablePromise:()=>zo,CanceledPromiseError:()=>qt,cancelable:()=>Ho});var qt,zo,Ho,Nn=u(()=>{"use strict";qt=class extends Error{constructor(e,t,i){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=i}},zo=class extends Promise{constructor(e){super((t,i)=>e(n=>{this.isCanceled?i(new qt("Promise has been canceled",n)):t(n)},n=>{this.isCanceled?i(new qt("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ho=r=>new zo((e,t)=>r.then(e).catch(t))});var Ls={};ae(Ls,{FtNotificationEvent:()=>ws,PostResizeEvent:()=>As,PreResizeEvent:()=>Rs,WithEventBus:()=>yr,withEventBus:()=>$u});function $u(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(t,i,n){this.eventBus.addEventListener(t,i,n)}dispatchEvent(t){return this.eventBus.dispatchEvent(t)}removeEventListener(t,i,n){this.eventBus.removeEventListener(t,i,n)}}}var ws,Rs,As,yr,Hi=u(()=>{"use strict";ws=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Rs=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},As=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};yr=class extends $u(Object){}});var Is={};ae(Is,{CacheRegistry:()=>Yt,ClearCacheEvent:()=>Wi});var Wi,Yt,ks=u(()=>{"use strict";Nn();Hi();Wi=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Yt=class extends yr{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(e=!0){let t=[];for(let i in this.content)this.clear(i,!1)!=null&&t.push(i);e&&t.length>0&&this.dispatchEvent(new Wi(t))}clear(e,t=!0){if(!this.finalContent.has(e))return this.forceClear(e),t&&this.dispatchEvent(new Wi([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof zo&&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,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,i){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let n=Ho(t());return this.content[e]=n,n.then(a=>(this.content[e]=a,i!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),i)),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 Ts={};ae(Ts,{ClusteringHelper:()=>$s,formatHierarchicalValues:()=>_s});function _s(r,e){return e&&e>1&&r.length>=e?`... > ${r[r.length-1]}`:r.join(" > ")}var $s,Ps=u(()=>{"use strict";$s=class r{constructor(e,t,i,n){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e){var t,i,n,a,s;let l=((a=(i=(t=e.result)===null||t===void 0?void 0:t.map)!==null&&i!==void 0?i:(n=e.result)===null||n===void 0?void 0:n.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?r.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):r.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,t,i){if(Array.isArray(e))return e.map(a=>r.flattenMetadata(a,t,i)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(_s(l)),s.push(_s(l,t))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>i?i(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,t,i="No value",n,a){var s,l;let d=r.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(m=>r.extractResultMetadata({result:m,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(m=>m??{key:e,label:f,value:void 0,displayValue:i}).filter(m=>m.value!=d?.value).filter((m,x,C)=>C.findIndex(O=>O.value===m.value)===x).map(m=>({result:this.findBestResultForMetadataValue(e,m.value),metadata:m})).sort((m,x)=>this.compareMetadata(m.metadata.value,x.metadata.value,e,t))}compareMetadata(e,t,i,n){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(t,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let i=this.allResults.filter(d=>{var f;return((f=r.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==t}),a=[...r.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata({result:e}).filter(i=>t.some(n=>n.key===i.key&&n.value===i.value)).length}}});var Ns={};ae(Ns,{Debouncer:()=>he});var he,Fn=u(()=>{"use strict";he=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,i)=>{this.resolvePromise=t,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Bs={};ae(Bs,{dateReviver:()=>ix,deepCopy:()=>ji,deepEqual:()=>Ke,delay:()=>Bn,eventPathContainsMatchingElement:()=>ax,flatDeep:()=>xt,getComposedPathTo:()=>Fs,hasChanged:()=>Fr,last:()=>sx,minmax:()=>uo,parseDate:()=>Tu,unslotText:()=>Wo,waitFor:()=>Dn,waitUntil:()=>Vi});async function Vi(r,e=10,t=2e4){await Dn(async()=>await r()||void 0,e,t)}async function Dn(r,e=10,t=2e4){let i=await r(),n,a;for(n=a=performance.now();i==null&&(!t||a-n<t);)await Bn(e),i=await r(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function xt(r,e){return r.flatMap(t=>[t,...xt(e(t),e)])}function ix(...r){return(e,t)=>r.includes(e)?Tu(t):t}function Tu(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,i,n)=>t+i+":"+n),new Date(r)}function nx(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var t,i,n;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(i=t;i--!==0;)if(!Ke(r[i],e[i]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;for(i of r.entries())if(!Ke(i[1],e.get(i[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(r),t=n.length,t!==a(e).length)return!1;for(i=t;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=t;i--!==0;){let s=n[i];if(!Ke(r[s],e[s]))return!1}return!0}return r!==r&&e!==e||r==null&&e==null}function Ke(r,e){try{return nx(r,e)}catch{return!1}}function Fr(r,e){return!Ke(r,e)}function ax(r,e,t=window.document.body){if(e.length>0){let i=r.composedPath();for(let n of i){if(n===t)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function uo(r,e,t){return Math.min(Math.max(r,e),t)}function sx(r){return r[r.length-1]}function Wo(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>Wo(e)).join(""):r?.textContent||""}function Fs(r){let e=[],t=i=>{i.stopPropagation(),e=i.composedPath()};return r.addEventListener("get-composed-path",t),r.dispatchEvent(new Event("get-composed-path",{composed:!0})),r.removeEventListener("get-composed-path",t),e}function ji(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}var Bn,Br=u(()=>{"use strict";Bn=r=>new Promise(e=>setTimeout(e,r))});var Ds={};ae(Ds,{customElement:()=>U,isNumber:()=>Pu,jsonProperty:()=>Ee,optionalNumberProperty:()=>lx});function Ee(r,e){let t=()=>JSON.parse(JSON.stringify(r));return h({type:Object,converter:{fromAttribute:i=>{if(i==null)return t();try{return JSON.parse(i)}catch{return t()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Fr,...e??{}})}function lx(r){return h({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Pu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function Pu(r){return!isNaN(parseFloat(r))}var U,Mn=u(()=>{"use strict";Y();Br();U=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)}});function y(r,e){return br(`${r.name}: ${e}`)}var br,o,se=u(()=>{P();br=r=>typeof r=="string"?hr(r):r,o=class{static create(e,t,i,n){let a=l=>br(l??n),s=k`var(${br(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>k`var(${br(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,t,i,n){let a=l=>i.get(l??n),s=k`var(${br(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>k`var(${br(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,t){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):br(a??e.lastResortDefaultValue()),n=k`var(${br(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=t,n.defaultCssValue=i,n.get=a=>k`var(${br(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,Ms,Us,zs,Hs,Ws,Vs,js,Gs,fo,Nu,Ks,Zs,qs,Ys,Qs,Xs,Js,el,tl,rl,Dr,ol,il,nl,al,sl,Gi,cx,ce=u(()=>{se();c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ms={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","1.2"),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")},Us={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","1.2"),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")},zs={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","1.2"),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")},Hs={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","1.2"),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")},Ws={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","1.35"),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")},Vs={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","1.35"),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")},js={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","1.35"),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")},Gs={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","1.35"),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")},fo={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","1.35"),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")},Nu={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","1.35"),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")},Ks={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","1.35"),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")},Zs={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")},qs={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")},Ys={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")},Qs={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")},Xs={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")},Js={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")},el={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","1.3"),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")},tl={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","1.3"),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")},rl={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","1.3"),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")},Dr={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","1.3"),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")},ol={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","1.3"),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")},il={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","1.3"),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")},nl={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","1.3"),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")},al={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","1.3"),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")},sl={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","1.3"),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")},Gi={display:Ms,"title-1":Us,"title-2":zs,"title-3":Hs,"body-1-regular":Ws,"body-1-medium":Vs,"body-1-semibold":js,"body-2-regular":Gs,"body-2-medium":fo,"body-2-medium-underline":Nu,"body-2-semibold":Ks,"label-1-medium":Zs,"label-1-semibold":qs,"label-1-bold":Ys,"label-2-medium":Qs,"label-2-semibold":Xs,"label-2-bold":Js,"caption-1-medium":el,"caption-1-semibold":tl,"caption-1-bold":rl,"caption-2-medium":Dr,"caption-2-semibold":ol,"caption-2-bold":il,"caption-3-medium":nl,"caption-3-semibold":al,"caption-3-bold":sl},cx=["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,me=u(()=>{se();ce();p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var v,Fu=u(()=>{se();ce();me();v={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",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","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",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","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",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","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",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","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",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","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",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","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",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","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",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","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",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","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",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","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",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","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",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","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",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 dx,Bu=u(()=>{se();ce();me();dx={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",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","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)}});var px,Du=u(()=>{se();ce();me();px={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)}});var ux,Mu=u(()=>{se();ce();me();ux={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",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","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",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","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var le,Uu=u(()=>{se();ce();me();le={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",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 fx,zu=u(()=>{se();ce();me();fx={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.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","",c.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","",c.colorBrand100)}});var hx,Hu=u(()=>{se();ce();me();hx={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",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 mx,Wu=u(()=>{se();ce();me();mx={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)}});var gx,Vu=u(()=>{se();ce();me();gx={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.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 yx,ju=u(()=>{se();ce();me();yx={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var bx,Gu=u(()=>{se();ce();me();bx={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var xx,Ku=u(()=>{se();ce();xx={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var vx,Zu=u(()=>{se();ce();me();vx={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",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","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var Sx,qu=u(()=>{se();ce();me();Sx={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",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","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",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","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var Cx,Yu=u(()=>{se();ce();me();Cx={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",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","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",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","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)}});var Ox,Qu=u(()=>{se();ce();me();Ox={largeFieldHorizontalPadding:o.extend("--ft-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-text-input-background-color","",c.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),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),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","",c.opacity40)}});var Ex,Xu=u(()=>{se();ce();me();Ex={backgroundColor:o.extend("--ft-text-area-background-color","",c.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","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusS)}});var wx,Ju=u(()=>{se();ce();me();wx={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",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","",c.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","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var Rx,ef=u(()=>{se();ce();me();Rx={largeFieldHorizontalPadding:o.extend("--ft-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.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","",c.opacity40)}});var Ax,tf=u(()=>{se();ce();me();Ax={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.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","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)}});var Lx,rf=u(()=>{se();ce();me();Lx={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),gap:o.extend("--ft-popover-gap","",c.spacing2),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ft-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ft-popover-multi-section-vertical-gap","",c.spacing6)}});var Ix,of=u(()=>{se();ce();me();Ix={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",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","",c.iconSize3)}});var kx,nf=u(()=>{se();ce();me();kx={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",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","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var _x,af=u(()=>{se();ce();_x={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var $x,sf=u(()=>{se();ce();$x={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var Tx,lf=u(()=>{se();ce();me();Tx={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",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),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var Px,cf=u(()=>{se();ce();me();Px={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",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","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",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","",c.spacing3)}});var Nx,df=u(()=>{se();ce();me();Nx={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","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",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","",c.spacing3)}});var Fx,pf=u(()=>{se();ce();me();Fx={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",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","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)}});var Bx,uf=u(()=>{se();ce();me();Bx={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)}});var Dx,ff=u(()=>{se();ce();me();Dx={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)}});var Mx,hf=u(()=>{se();ce();me();Mx={nodeHeight:o.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ft-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ft-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ft-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ft-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ft-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ft-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",p.contentInfoPrimary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",p.contentInfoPrimary),nodeSelectedBackgroundColor:o.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",p.contentInfoPrimary),nodeDescendantOfSelectedBackgroundColor:o.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ft-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ft-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ft-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ft-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ft-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",p.contentInfoPrimary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",p.borderGlobalSubtle),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ft-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ft-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary)}});var mf=u(()=>{ce();me();Fu();Bu();Du();Mu();Uu();zu();Hu();Wu();Vu();ju();Gu();Ku();Zu();qu();Yu();Qu();Xu();Ju();ef();tf();rf();of();nf();af();sf();lf();cf();df();pf();uf();ff();hf()});function ll(r){return`ftds--family-${r}`}function cl(r){return`ftds--size-${r}`}var xr,We,gf=u(()=>{(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(xr||(xr={}));(function(r){r.large="large",r.medium="medium",r.small="small"})(We||(We={}))});var te=u(()=>{se();mf();gf()});var dl={};ae(dl,{DesignSystemFamily:()=>xr,DesignSystemSize:()=>We,FtCssVariableFactory:()=>o,badge:()=>mx,banner:()=>hx,button:()=>v,chart:()=>_x,checkbox:()=>dx,chip:()=>le,chipChoice:()=>ux,collapsible:()=>Ix,comboboxMultiSelect:()=>Ax,comboboxSingleSelect:()=>Rx,drawer:()=>Sx,floatingMenu:()=>wx,foundation:()=>c,link:()=>fx,modal:()=>vx,notice:()=>Tx,notification:()=>Fx,pageDesigner:()=>$x,pageFooter:()=>bx,pageHeader:()=>yx,pageLayout:()=>xx,popover:()=>Lx,radio:()=>Nx,reorderableList:()=>Dx,resolveFamilyClass:()=>ll,resolveSizeClass:()=>cl,semantic:()=>p,setVariable:()=>y,switch_:()=>kx,table:()=>px,tabs:()=>Cx,textArea:()=>Ex,textInput:()=>Ox,titleBreadcrumb:()=>gx,toggle:()=>Px,tooltip:()=>Bx,treeList:()=>Mx,typographies:()=>Gi,typographyBody1Medium:()=>Vs,typographyBody1Regular:()=>Ws,typographyBody1Semibold:()=>js,typographyBody2Medium:()=>fo,typographyBody2MediumUnderline:()=>Nu,typographyBody2Regular:()=>Gs,typographyBody2Semibold:()=>Ks,typographyCaption1Bold:()=>rl,typographyCaption1Medium:()=>el,typographyCaption1Semibold:()=>tl,typographyCaption2Bold:()=>il,typographyCaption2Medium:()=>Dr,typographyCaption2Semibold:()=>ol,typographyCaption3Bold:()=>sl,typographyCaption3Medium:()=>nl,typographyCaption3Semibold:()=>al,typographyDisplay:()=>Ms,typographyLabel1Bold:()=>Ys,typographyLabel1Medium:()=>Zs,typographyLabel1Semibold:()=>qs,typographyLabel2Bold:()=>Js,typographyLabel2Medium:()=>Qs,typographyLabel2Semibold:()=>Xs,typographyTitle1:()=>Us,typographyTitle2:()=>zs,typographyTitle3:()=>Hs,typographyVariants:()=>cx});var Un=u(()=>{"use strict";te()});var pl={};ae(pl,{designSystemVariables:()=>E});var E,ul=u(()=>{"use strict";Un();E={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 ml(r,e,t){return Mr(r,zn(e,t))}function Vo(r,e){return typeof r=="function"?r(e):r}function Ur(r){return r.split("-")[0]}function Qt(r){return r.split("-")[1]}function gl(r){return r==="x"?"y":"x"}function yl(r){return r==="y"?"height":"width"}function jo(r){return["top","bottom"].includes(Ur(r))?"y":"x"}function bl(r){return gl(jo(r))}function xf(r,e,t){t===void 0&&(t=!1);let i=Qt(r),n=bl(r),a=yl(n),s=n==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=fl(s)),[s,fl(s)]}function vf(r){return r.replace(/start|end/g,e=>zx[e])}function fl(r){return r.replace(/left|right|bottom|top/g,e=>Ux[e])}function Hx(r){return{top:0,right:0,bottom:0,left:0,...r}}function Sf(r){return typeof r!="number"?Hx(r):{top:r,right:r,bottom:r,left:r}}function ho(r){let{x:e,y:t,width:i,height:n}=r;return{width:i,height:n,top:t,left:e,right:e+i,bottom:t+n,x:e,y:t}}var bf,yf,hl,zn,Mr,Ux,zx,xl=u(()=>{bf=["top","right","bottom","left"],yf=["start","end"],hl=bf.reduce((r,e)=>r.concat(e,e+"-"+yf[0],e+"-"+yf[1]),[]),zn=Math.min,Mr=Math.max,Ux={left:"right",right:"left",bottom:"top",top:"bottom"},zx={start:"end",end:"start"}});function Cf(r,e,t){let{reference:i,floating:n}=r,a=jo(e),s=bl(e),l=yl(s),d=Ur(e),f=a==="y",g=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,x=i[l]/2-n[l]/2,C;switch(d){case"top":C={x:g,y:i.y-n.height};break;case"bottom":C={x:g,y:i.y+i.height};break;case"right":C={x:i.x+i.width,y:m};break;case"left":C={x:i.x-n.width,y:m};break;default:C={x:i.x,y:i.y}}switch(Qt(e)){case"start":C[s]-=x*(t&&f?-1:1);break;case"end":C[s]+=x*(t&&f?-1:1);break}return C}async function Hn(r,e){var t;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=r,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:x=!1,padding:C=0}=Vo(e,r),O=Sf(C),F=l[x?m==="floating"?"reference":"floating":m],N=ho(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(F)))==null||t?F:F.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:g,strategy:d})),M=m==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,L=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),I=await(a.isElement==null?void 0:a.isElement(L))?await(a.getScale==null?void 0:a.getScale(L))||{x:1,y:1}:{x:1,y:1},A=ho(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:M,offsetParent:L,strategy:d}):M);return{top:(N.top-A.top+O.top)/I.y,bottom:(A.bottom-N.bottom+O.bottom)/I.y,left:(N.left-A.left+O.left)/I.x,right:(A.right-N.right+O.right)/I.x}}function Wx(r,e,t){return(r?[...t.filter(n=>Qt(n)===r),...t.filter(n=>Qt(n)!==r)]:t.filter(n=>Ur(n)===n)).filter(n=>r?Qt(n)===r||(e?vf(n)!==n:!1):!0)}async function Vx(r,e){let{placement:t,platform:i,elements:n}=r,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=Ur(t),l=Qt(t),d=jo(t)==="y",f=["left","top"].includes(s)?-1:1,g=a&&d?-1:1,m=Vo(e,r),{mainAxis:x,crossAxis:C,alignmentAxis:O}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof O=="number"&&(C=l==="end"?O*-1:O),d?{x:C*g,y:x*f}:{x:x*f,y:C*g}}var Of,Wn,vl,Sl,Cl,Ol=u(()=>{xl();xl();Of=async(r,e,t)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:r,floating:e,strategy:n}),{x:g,y:m}=Cf(f,i,d),x=i,C={},O=0;for(let R=0;R<l.length;R++){let{name:F,fn:N}=l[R],{x:M,y:L,data:I,reset:A}=await N({x:g,y:m,initialPlacement:i,placement:x,strategy:n,middlewareData:C,rects:f,platform:s,elements:{reference:r,floating:e}});g=M??g,m=L??m,C={...C,[F]:{...C[F],...I}},A&&O<=50&&(O++,typeof A=="object"&&(A.placement&&(x=A.placement),A.rects&&(f=A.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:n}):A.rects),{x:g,y:m}=Cf(f,x,d)),R=-1)}return{x:g,y:m,placement:x,strategy:n,middlewareData:C}};Wn=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:x=hl,autoAlignment:C=!0,...O}=Vo(r,e),R=m!==void 0||x===hl?Wx(m||null,C,x):x,F=await Hn(e,O),N=((t=s.autoPlacement)==null?void 0:t.index)||0,M=R[N];if(M==null)return{};let L=xf(M,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==M)return{reset:{placement:R[0]}};let I=[F[Ur(M)],F[L[0]],F[L[1]]],A=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:M,overflows:I}],V=R[N+1];if(V)return{data:{index:N+1,overflows:A},reset:{placement:V}};let q=A.map(j=>{let b=Qt(j.placement);return[j.placement,b&&g?j.overflows.slice(0,2).reduce((w,G)=>w+G,0):j.overflows[0],j.overflows]}).sort((j,b)=>j[1]-b[1]),pe=((n=q.filter(j=>j[2].slice(0,Qt(j[0])?2:3).every(b=>b<=0))[0])==null?void 0:n[0])||q[0][0];return pe!==l?{data:{index:N+1,overflows:A},reset:{placement:pe}}:{}}}};vl=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var t,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Vx(e,r);return s===((t=l.offset)==null?void 0:t.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},Sl=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:F=>{let{x:N,y:M}=F;return{x:N,y:M}}},...d}=Vo(r,e),f={x:t,y:i},g=await Hn(e,d),m=jo(Ur(n)),x=gl(m),C=f[x],O=f[m];if(a){let F=x==="y"?"top":"left",N=x==="y"?"bottom":"right",M=C+g[F],L=C-g[N];C=ml(M,C,L)}if(s){let F=m==="y"?"top":"left",N=m==="y"?"bottom":"right",M=O+g[F],L=O-g[N];O=ml(M,O,L)}let R=l.fn({...e,[x]:C,[m]:O});return{...R,data:{x:R.x-t,y:R.y-i,enabled:{[x]:a,[m]:s}}}}}},Cl=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(e){var t,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=Vo(r,e),g=await Hn(e,f),m=Ur(n),x=Qt(n),C=jo(n)==="y",{width:O,height:R}=a.floating,F,N;m==="top"||m==="bottom"?(F=m,N=x===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(N=m,F=x==="end"?"top":"bottom");let M=R-g.top-g.bottom,L=O-g.left-g.right,I=zn(R-g[F],M),A=zn(O-g[N],L),V=!e.middlewareData.shift,q=I,oe=A;if((t=e.middlewareData.shift)!=null&&t.enabled.x&&(oe=L),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(q=M),V&&!x){let j=Mr(g.left,0),b=Mr(g.right,0),w=Mr(g.top,0),G=Mr(g.bottom,0);C?oe=O-2*(j!==0||b!==0?j+b:Mr(g.left,g.right)):q=R-2*(w!==0||G!==0?w+G:Mr(g.top,g.bottom))}await d({...e,availableWidth:oe,availableHeight:q});let pe=await s.getDimensions(l.floating);return O!==pe.width||R!==pe.height?{reset:{rects:!0}}:{}}}}});var El,Go,Ki,vr,Ef=u(()=>{El=Math.min,Go=Math.max,Ki=Math.round,vr=r=>({x:r,y:r})});function Sr(r){return Rf(r)?(r.nodeName||"").toLowerCase():"#document"}function lt(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Cr(r){var e;return(e=(Rf(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Rf(r){return r instanceof Node||r instanceof lt(r).Node}function Xt(r){return r instanceof Element||r instanceof lt(r).Element}function Mt(r){return r instanceof HTMLElement||r instanceof lt(r).HTMLElement}function wf(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof lt(r).ShadowRoot}function Ko(r){let{overflow:e,overflowX:t,overflowY:i,display:n}=vt(r);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(n)}function Af(r){return["table","td","th"].includes(Sr(r))}function jn(r){let e=Gn(),t=vt(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Lf(r){let e=mo(r);for(;Mt(e)&&!Zi(e);){if(jn(e))return e;e=mo(e)}return null}function Gn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zi(r){return["html","body","#document"].includes(Sr(r))}function vt(r){return lt(r).getComputedStyle(r)}function qi(r){return Xt(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function mo(r){if(Sr(r)==="html")return r;let e=r.assignedSlot||r.parentNode||wf(r)&&r.host||Cr(r);return wf(e)?e.host:e}function If(r){let e=mo(r);return Zi(e)?r.ownerDocument?r.ownerDocument.body:r.body:Mt(e)&&Ko(e)?e:If(e)}function Vn(r,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);let n=If(r),a=n===((i=r.ownerDocument)==null?void 0:i.body),s=lt(n);return a?e.concat(s,s.visualViewport||[],Ko(n)?n:[],s.frameElement&&t?Vn(s.frameElement):[]):e.concat(n,Vn(n,[],t))}var kf=u(()=>{});function Tf(r){let e=vt(r),t=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=Mt(r),a=n?r.offsetWidth:t,s=n?r.offsetHeight:i,l=Ki(t)!==a||Ki(i)!==s;return l&&(t=a,i=s),{width:t,height:i,$:l}}function Pf(r){return Xt(r)?r:r.contextElement}function Zo(r){let e=Pf(r);if(!Mt(e))return vr(1);let t=e.getBoundingClientRect(),{width:i,height:n,$:a}=Tf(e),s=(a?Ki(t.width):t.width)/i,l=(a?Ki(t.height):t.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Nf(r){let e=lt(r);return!Gn()||!e.visualViewport?jx:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Gx(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==lt(r)?!1:e}function Yi(r,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);let n=r.getBoundingClientRect(),a=Pf(r),s=vr(1);e&&(i?Xt(i)&&(s=Zo(i)):s=Zo(r));let l=Gx(a,t,i)?Nf(a):vr(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,g=n.width/s.x,m=n.height/s.y;if(a){let x=lt(a),C=i&&Xt(i)?lt(i):i,O=x.frameElement;for(;O&&i&&C!==x;){let R=Zo(O),F=O.getBoundingClientRect(),N=vt(O),M=F.left+(O.clientLeft+parseFloat(N.paddingLeft))*R.x,L=F.top+(O.clientTop+parseFloat(N.paddingTop))*R.y;d*=R.x,f*=R.y,g*=R.x,m*=R.y,d+=M,f+=L,O=lt(O).frameElement}}return ho({width:g,height:m,x:d,y:f})}function Kx(r){let{rect:e,offsetParent:t,strategy:i}=r,n=Mt(t),a=Cr(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=vr(1),d=vr(0);if((n||!n&&i!=="fixed")&&((Sr(t)!=="body"||Ko(a))&&(s=qi(t)),Mt(t))){let f=Yi(t);l=Zo(t),d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Zx(r){return Array.from(r.getClientRects())}function Ff(r){return Yi(Cr(r)).left+qi(r).scrollLeft}function qx(r){let e=Cr(r),t=qi(r),i=r.ownerDocument.body,n=Go(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Go(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-t.scrollLeft+Ff(r),l=-t.scrollTop;return vt(i).direction==="rtl"&&(s+=Go(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Yx(r,e){let t=lt(r),i=Cr(r),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=Gn();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function Qx(r,e){let t=Yi(r,!0,e==="fixed"),i=t.top+r.clientTop,n=t.left+r.clientLeft,a=Mt(r)?Zo(r):vr(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:s,height:l,x:d,y:f}}function _f(r,e,t){let i;if(e==="viewport")i=Yx(r,t);else if(e==="document")i=qx(Cr(r));else if(Xt(e))i=Qx(e,t);else{let n=Nf(r);i={...e,x:e.x-n.x,y:e.y-n.y}}return ho(i)}function Bf(r,e){let t=mo(r);return t===e||!Xt(t)||Zi(t)?!1:vt(t).position==="fixed"||Bf(t,e)}function Xx(r,e){let t=e.get(r);if(t)return t;let i=Vn(r,[],!1).filter(l=>Xt(l)&&Sr(l)!=="body"),n=null,a=vt(r).position==="fixed",s=a?mo(r):r;for(;Xt(s)&&!Zi(s);){let l=vt(s),d=jn(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ko(s)&&!d&&Bf(r,s))?i=i.filter(g=>g!==s):n=l,s=mo(s)}return e.set(r,i),i}function Jx(r){let{element:e,boundary:t,rootBoundary:i,strategy:n}=r,s=[...t==="clippingAncestors"?Xx(e,this._c):[].concat(t),i],l=s[0],d=s.reduce((f,g)=>{let m=_f(e,g,n);return f.top=Go(m.top,f.top),f.right=El(m.right,f.right),f.bottom=El(m.bottom,f.bottom),f.left=Go(m.left,f.left),f},_f(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function ev(r){return Tf(r)}function tv(r,e,t){let i=Mt(e),n=Cr(e),a=t==="fixed",s=Yi(r,!0,a,e),l={scrollLeft:0,scrollTop:0},d=vr(0);if(i||!i&&!a)if((Sr(e)!=="body"||Ko(n))&&(l=qi(e)),i){let f=Yi(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=Ff(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function $f(r,e){return!Mt(r)||vt(r).position==="fixed"?null:e?e(r):r.offsetParent}function Df(r,e){let t=lt(r);if(!Mt(r))return t;let i=$f(r,e);for(;i&&Af(i)&&vt(i).position==="static";)i=$f(i,e);return i&&(Sr(i)==="html"||Sr(i)==="body"&&vt(i).position==="static"&&!jn(i))?t:i||Lf(r)||t}function ov(r){return vt(r).direction==="rtl"}var jx,rv,qo,wl,Mf=u(()=>{Ol();Ol();Ef();kf();jx=vr(0);rv=async function(r){let{reference:e,floating:t,strategy:i}=r,n=this.getOffsetParent||Df,a=this.getDimensions;return{reference:tv(e,await n(t),i),floating:{x:0,y:0,...await a(t)}}};qo={convertOffsetParentRelativeRectToViewportRelativeRect:Kx,getDocumentElement:Cr,getClippingRect:Jx,getOffsetParent:Df,getElementRects:rv,getClientRects:Zx,getDimensions:ev,getScale:Zo,isElement:Xt,isRTL:ov},wl=(r,e,t)=>{let i=new Map,n={platform:qo,...t},a={...n.platform,_c:i};return Of(r,e,{...n,platform:a})}});function Al(r){return iv(r)}function Rl(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function iv(r){for(let e=r;e;e=Rl(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Rl(r);e;e=Rl(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}var Uf=u(()=>{});var kl={};ae(kl,{computeOffsetAutoPosition:()=>Il,computeOffsetPosition:()=>Ll});async function Ll(r,e,t){return wl(r,e,{platform:{...qo,getOffsetParent:i=>qo.getOffsetParent(i,Al)},middleware:[Sl({crossAxis:!0}),Wn({allowedPlacements:[t]})]})}async function Il(r,e,t,i,n,a,s=4){return wl(r,e,{placement:t,strategy:n,platform:{...qo,getOffsetParent:l=>qo.getOffsetParent(l,Al)},middleware:[vl(s),Wn({allowedPlacements:i}),Cl({apply({availableHeight:l,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Kn=u(()=>{"use strict";Mf();Uf()});var _l={};ae(_l,{ScopedRegistryLitElement:()=>Qi});var Qi,Zn=u(()=>{"use strict";P();Rn();Qi=class extends gr{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let t={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(t);return $i(i,e.elementStyles),i}}});var Tl={};ae(Tl,{shadowQuerySelector:()=>$l,shadowQuerySelectorAll:()=>nv});function $l(r,e,...t){var i;let n=r.querySelector(e);for(let a of t)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function nv(r,e,...t){let i=[...r.querySelectorAll(e)];for(let n of t)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var qn=u(()=>{"use strict"});var Pl={};ae(Pl,{FtLitElement:()=>H});var Xi,Vf,zf,Hf,jf,Wf,H,Ji=u(()=>{"use strict";Y();Mn();Fn();Zn();qn();Xi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},zf=Symbol("constructorPrototype"),Hf=Symbol("constructorName"),jf=Symbol("exportpartsDebouncer"),Wf=Symbol("dynamicDependenciesLoaded"),H=class extends Qi{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Vf]=new he(5),this[Hf]=this.constructor.name,this[zf]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Hf]&&Object.setPrototypeOf(this,this[zf])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[Wf]||(e[Wf]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:t,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];t=$l(this.shadowRoot,...a)}t?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||t?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var t,i,n;if(((i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&i!==void 0&&i)&&this[jf].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,i,n,a,s,l;let d=x=>x!=null&&x.trim().length>0,f=e.filter(d).map(x=>x.trim());if(f.length===0){this.removeAttribute("exportparts");return}let g=new Set;for(let x of(i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let C=(a=(n=x.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],O=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(R=>R.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...C,...O).filter(d).map(R=>R.trim()).forEach(R=>g.add(R))}if(g.size===0){this.removeAttribute("exportparts");return}let m=[...g.values()].flatMap(x=>f.map(C=>`${x}:${C}--${x}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Vf=jf;Xi([h()],H.prototype,"exportpartsPrefix",void 0);Xi([Ee([])],H.prototype,"exportpartsPrefixes",void 0);Xi([h()],H.prototype,"customStylesheet",void 0);Xi([h()],H.prototype,"elementToFocus",void 0);Xi([D()],H.prototype,"useAdoptedStyleSheets",void 0)});var Nl={};ae(Nl,{FtdsBase:()=>en,toFtdsBase:()=>Yo});function Yo(r){class e extends r{constructor(){super(...arguments),this.size=We.medium,this.family=xr.neutral}getDesignSystemBaseClasses(){return{[ll(this.family)]:!0,[cl(this.size)]:!0}}}return Gf([h()],e.prototype,"size",void 0),Gf([h()],e.prototype,"family",void 0),e}var Gf,en,Fl=u(()=>{"use strict";Ji();Y();te();Gf=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};en=class extends Yo(H){}});var Kf={};var Bl=u(()=>{"use strict"});var go,Zf=u(()=>{go=class r{constructor(e,t=!0,i=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=i,this.iframesTimeout=n}static matches(e,t){let i=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];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(i=>{let n=t.filter(a=>a.contains(i)).length>0;t.indexOf(i)===-1&&!n&&t.push(i)}),t}getIframeContents(e,t,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&t(n)}isIframeBlank(e){let t="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&i!==t&&i}observeIframeLoad(e,t,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,i):this.getIframeContents(e,t,i):this.observeIframeLoad(e,t,i)}catch{i()}}waitForIframes(e,t){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||t()})},n=>{n||t()})}forEachIframe(e,t,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(f=>{r.matches(f,this.exclude)?d():this.onIframeReady(f,g=>{t(f)&&(l++,i(g)),d()},d)})}createIterator(e,t,i){return document.createNodeIterator(e,t,i,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){let s=t.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),i;return t===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:t,node:i}}checkIframeFilter(e,t,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,t,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,t,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,i,n)})})}iterateThroughNodes(e,t,i,n,a){let s=this.createIterator(t,e,n),l=[],d=[],f,g,m=()=>({prevNode:g,node:f}=this.getIteratorNode(s),f);for(;m();)this.iframes&&this.forEachIframe(t,x=>this.checkIframeFilter(f,g,x,l),x=>{this.createInstanceOnIframe(x).forEachNode(e,C=>d.push(C),n)}),d.push(f);d.forEach(x=>{i(x)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,t,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var tn,qf=u(()=>{Zf();tn=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.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 go(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[t]=="function"&&i[t](`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 t=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&t.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",i=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):i.trim()&&t.indexOf(i)===-1&&t.push(i)}),{keywords:t.sort((i,n)=>n.length-i.length),length:t.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 t=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,t.push(n),i=s)}),t}callNoMatchOnInvalidRanges(e,t){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-i>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:i,end:n,valid:a}}checkWhitespaceRanges(e,t,i){let n,a=!0,s=i.length,l=t-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let t="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:i})})}matchesExclude(e){return go.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(i-t),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,t,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!n(s.node))return!1;let f=t-s.start,g=(i>s.end?s.end:i)-s.start,m=e.value.substr(0,s.start),x=e.value.substr(g+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,g),e.value=m+x,e.nodes.forEach((C,O)=>{O>=l&&(e.nodes[O].start>0&&O!==l&&(e.nodes[O].start-=g),e.nodes[O].end-=g)}),i-=g,a(s.node.previousSibling,s.start),i>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!i(f[s],d))continue;let g=f.index;if(s!==0)for(let m=1;m<s;m++)g+=f[m].length;d=this.wrapRangeInTextNode(d,g,g+f[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let m=1;m<s;m++)f+=d[m].length;let g=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,g,m=>i(d[s],m),(m,x)=>{e.lastIndex=x,n(m)})}a()})}wrapRangeFromIndex(e,t,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:g,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,f,g,x=>t(x,l,a.value.substring(f,g),d),x=>{i(x,l)})}),n()})}unwrapMatches(e){let t=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.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,t){this.opt=t,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,t){this.opt=t;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let g=new RegExp(this.createRegExp(f),`gm${l}`),m=0;this.log(`Searching with expression "${g}"`),this[n](g,1,(x,C)=>this.opt.filter(C,f,i,m),x=>{m++,i++,this.opt.each(x)},()=>{m===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(i):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,t){this.opt=t;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=go.matches(i,t),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Dl(r){let e=new tn(r);return this.mark=(t,i)=>(e.mark(t,i),this),this.markRegExp=(t,i)=>(e.markRegExp(t,i),this),this.markRanges=(t,i)=>(e.markRanges(t,i),this),this.unmark=t=>(e.unmark(t),this),this}var Yf=u(()=>{qf()});var Ul={};ae(Ul,{highlightHtml:()=>Ml,highlightHtmlColorCssVariable:()=>Qf,highlightHtmlStyles:()=>sv});function Ml(r,e,t){var i,n;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new av(r);if(s.unmark(),e&&e.trim()){let l={className:(i=t?.className)!==null&&i!==void 0?i:"highlight-html-match",acrossElements:!0};t?.attributes!=null&&(l.each=f=>{for(let g in t.attributes)f.setAttribute(g,t.attributes[g])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var av,Qf,sv,zl=u(()=>{"use strict";P();te();Yf();av=Dl,Qf=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),sv=k`
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ou=/'/g,iu=/"/g,su=/^(?:script|style|textarea|title)$/i,ls=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),S=ls(1),cs=ls(2),ds=ls(3),Ye=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),nu=new WeakMap,ao=so.createTreeWalker(so,129);cu=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Fi;for(let l=0;l<t;l++){let d=r[l],f,g,m=-1,x=0;for(;x<d.length&&(s.lastIndex=x,g=s.exec(d),g!==null);)x=s.lastIndex,s===Fi?g[1]==="!--"?s=tu:g[1]!==void 0?s=ru:g[2]!==void 0?(su.test(g[2])&&(n=RegExp("</"+g[2],"g")),s=no):g[3]!==void 0&&(s=no):s===no?g[0]===">"?(s=n??Fi,m=-1):g[1]===void 0?m=-2:(m=s.lastIndex-g[2].length,f=g[1],s=g[3]===void 0?no:g[3]==='"'?iu:ou):s===iu||s===ou?s=no:s===tu||s===ru?s=Fi:(s=no,n=void 0);let C=s===no&&r[l+1].startsWith("/>")?" ":"";a+=s===Fi?d+Gb:m>=0?(i.push(f),d.slice(0,m)+ns+d.slice(m)+mr+C):d+mr+(m===-2?l:C)}return[lu(r,a+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Mi=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,g]=cu(e,t);if(this.el=r.createElement(f,i),ao.currentNode=this.el.content,t===2||t===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=ao.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(ns)){let x=g[s++],C=n.getAttribute(m).split(mr),O=/([.?@])?(.*)/.exec(x);d.push({type:1,index:a,name:O[2],strings:C,ctor:O[1]==="."?kn:O[1]==="?"?_n:O[1]==="@"?Tn:co}),n.removeAttribute(m)}else m.startsWith(mr)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(su.test(n.tagName)){let m=n.textContent.split(mr),x=m.length-1;if(x>0){n.textContent=Ln?Ln.emptyScript:"";for(let C=0;C<x;C++)n.append(m[C],Bi()),ao.nextNode(),d.push({type:2,index:++a});n.append(m[x],Bi())}}}else if(n.nodeType===8)if(n.data===as)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(mr,m+1))!==-1;)d.push({type:7,index:a}),m+=mr.length-1}a++}}static createElement(e,t){let i=so.createElement("template");return i.innerHTML=e,i}};In=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??so).importNode(t,!0);ao.currentNode=n;let a=ao.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Fo(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new $n(a,this,e)),this._$AV.push(f),d=i[++l]}s!==d?.index&&(a=ao.nextNode(),s++)}return ao.currentNode=so,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},Fo=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=lo(this,e,t),Di(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==Ye&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):au(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==$&&Di(this._$AH)?this._$AA.nextSibling.data=e:this.T(so.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Mi.createElement(lu(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new In(n,this),s=a.u(this.options);a.p(t),this.T(s),this._$AH=a}}_$AC(e){let t=nu.get(e.strings);return t===void 0&&nu.set(e.strings,t=new Mi(e)),t}k(e){ss(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.O(Bi()),this.O(Bi()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=$}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=lo(this,e,t,0),s=!Di(e)||e!==this._$AH&&e!==Ye,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=lo(this,l[i+d],t,d),f===Ye&&(f=this._$AH[d]),s||=!Di(f)||f!==this._$AH[d],f===$?e=$:e!==$&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},kn=class extends co{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===$?void 0:e}},_n=class extends co{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},Tn=class extends co{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=lo(this,e,t,0)??$)===Ye)return;let i=this._$AH,n=e===$&&i!==$||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==$&&(i===$||n);n&&this.element.removeEventListener(this.name,this,i),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)}},$n=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){lo(this,e)}},ps={M:ns,P:mr,A:as,C:1,L:cu,R:In,D:au,V:lo,I:Fo,H:co,N:_n,U:Tn,B:kn,F:$n},Kb=is.litHtmlPolyfillSupport;Kb?.(Mi,Fo),(is.litHtmlVersions??=[]).push("3.3.0");us=(r,e,t)=>{let i=t?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=t?.renderBefore??null;i._$litPart$=n=new Fo(e.insertBefore(Bi(),a),a,void 0,t??{})}return n._$AI(r),n}});var fs,gr,Zb,qb,du=u(()=>{Ni();Ni();Bt();Bt();fs=globalThis,gr=class extends Gt{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 t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=us(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ye}};gr._$litElement$=!0,gr.finalized=!0,fs.litElementHydrateSupport?.({LitElement:gr});Zb=fs.litElementPolyfillSupport;Zb?.({LitElement:gr});qb={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(fs.litElementVersions??=[]).push("4.2.0")});var N0,pu=u(()=>{N0=!1});var hs={};ae(hs,{CSSResult:()=>Po,LitElement:()=>gr,ReactiveElement:()=>Gt,_$LE:()=>qb,_$LH:()=>ps,adoptStyles:()=>Ti,css:()=>k,defaultConverter:()=>No,getCompatibleStyle:()=>wn,html:()=>S,isServer:()=>N0,mathml:()=>ds,noChange:()=>Ye,notEqual:()=>Pi,nothing:()=>$,render:()=>us,supportsAdoptingStyleSheets:()=>_i,svg:()=>cs,unsafeCSS:()=>hr});var P=u(()=>{Ni();Bt();du();pu()});var Yb,uu=u(()=>{Yb=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)}});function h(r){return(e,t)=>typeof t=="object"?fu(r,e,t):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(r,e,t)}var Qb,fu,ms=u(()=>{Ni();Qb={attribute:!0,type:String,converter:No,reflect:!1,hasChanged:Pi},fu=(r=Qb,e,t)=>{let{kind:i,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((r=Object.create(r)).wrapped=!0),a.set(t.name,r),i==="accessor"){let{name:s}=t;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r,l),l}}}if(i==="setter"){let{name:s}=t;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+i)}});function D(r){return h({...r,state:!0,attribute:!1})}var hu=u(()=>{ms();});function Bo(r){return(e,t)=>{let i=typeof e=="function"?e:e[t];Object.assign(i,r)}}var mu=u(()=>{});var Dt,Do=u(()=>{Dt=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t)});function z(r,e){return(t,i,n)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof i=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Dt(t,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Dt(t,i,{get(){return a(this)}})}}var gu=u(()=>{Do();});function gs(r){return(e,t)=>Dt(e,t,{get(){return(this.renderRoot??(Xb??=document.createDocumentFragment())).querySelectorAll(r)}})}var Xb,yu=u(()=>{Do();});function Jb(r){return(e,t)=>Dt(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}var bu=u(()=>{Do();});function ys(r){return(e,t)=>{let{slot:i,selector:n}=r??{},a="slot"+(i?`[name=${i}]`:":not([name])");return Dt(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var xu=u(()=>{Do();});function bs(r){return(e,t)=>{let{slot:i}=r??{},n="slot"+(i?`[name=${i}]`:":not([name])");return Dt(e,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(r)??[]}})}}var vu=u(()=>{Do();});var xs={};ae(xs,{customElement:()=>Yb,eventOptions:()=>Bo,property:()=>h,query:()=>z,queryAll:()=>gs,queryAssignedElements:()=>ys,queryAssignedNodes:()=>bs,queryAsync:()=>Jb,standardProperty:()=>fu,state:()=>D});var Y=u(()=>{uu();ms();hu();mu();gu();yu();bu();xu();vu()});var $r,Pr,Kt,Ui=u(()=>{$r={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Pr=r=>(...e)=>({_$litDirective$:r,values:e}),Kt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}});var ex,Su,Mo,Nr,tx,Cu,Ou,Pn,Eu=u(()=>{Bt();({I:ex}=ps),Su=()=>document.createComment(""),Mo=(r,e,t)=>{let i=r._$AA.parentNode,n=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=i.insertBefore(Su(),n),s=i.insertBefore(Su(),n);t=new ex(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let d;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(d=r._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let f=d.nextSibling;i.insertBefore(d,n),d=f}}}return t},Nr=(r,e,t=r)=>(r._$AI(e,t),r),tx={},Cu=(r,e=tx)=>r._$AH=e,Ou=r=>r._$AH,Pn=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let i=e.nextSibling;e.remove(),e=i}}});var wu,$e,Ru=u(()=>{Bt();Ui();Eu();wu=(r,e,t)=>{let i=new Map;for(let n=e;n<=t;n++)i.set(r[n],n);return i},$e=Pr(class extends Kt{constructor(r){if(super(r),r.type!==$r.CHILD)throw Error("repeat() can only be used in text expressions")}dt(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of r)n[s]=i?i(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:n}}render(r,e,t){return this.dt(r,e,t).values}update(r,[e,t,i]){let n=Ou(r),{values:a,keys:s}=this.dt(e,t,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,g,m=0,x=n.length-1,C=0,O=a.length-1;for(;m<=x&&C<=O;)if(n[m]===null)m++;else if(n[x]===null)x--;else if(l[m]===s[C])d[C]=Nr(n[m],a[C]),m++,C++;else if(l[x]===s[O])d[O]=Nr(n[x],a[O]),x--,O--;else if(l[m]===s[O])d[O]=Nr(n[m],a[O]),Mo(r,d[O+1],n[m]),m++,O--;else if(l[x]===s[C])d[C]=Nr(n[x],a[C]),Mo(r,n[m],n[x]),x--,C++;else if(f===void 0&&(f=wu(s,C,O),g=wu(l,m,x)),f.has(l[m]))if(f.has(l[x])){let R=g.get(s[C]),F=R!==void 0?n[R]:null;if(F===null){let N=Mo(r,n[m]);Nr(N,a[C]),d[C]=N}else d[C]=Nr(F,a[C]),Mo(r,n[m],F),n[R]=null;C++}else Pn(n[x]),x--;else Pn(n[m]),m++;for(;C<=O;){let R=Mo(r,d[O+1]);Nr(R,a[C]),d[C++]=R}for(;m<=x;){let R=n[m++];R!==null&&Pn(R)}return this.ut=s,Cu(r,d),Ye}})});var vs={};ae(vs,{repeat:()=>$e});var Zt=u(()=>{Ru()});var ye,Au=u(()=>{Bt();Ui();ye=Pr(class extends Kt{constructor(r){if(super(r),r.type!==$r.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}let t=r.element.classList;for(let i of this.st)i in e||(t.remove(i),this.st.delete(i));for(let i in e){let n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(t.add(i),this.st.add(i)):(t.remove(i),this.st.delete(i)))}return Ye}})});var Ss={};ae(Ss,{classMap:()=>ye});var nt=u(()=>{Au()});var Lu,rx,ox,Iu=u(()=>{Bt();Ui();Lu="important",rx=" !"+Lu,ox=Pr(class extends Kt{constructor(r){if(super(r),r.type!==$r.ATTRIBUTE||r.name!=="style"||r.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(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[e]){let{style:t}=r.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?t.removeProperty(i):t[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ft.add(i);let a=typeof n=="string"&&n.endsWith(rx);i.includes("-")||a?t.setProperty(i,a?n.slice(0,-11):n,a?Lu:""):t[i]=n}}return Ye}})});var Cs={};ae(Cs,{styleMap:()=>ox});var ku=u(()=>{Iu()});var Uo,po,_u=u(()=>{Bt();Ui();Uo=class extends Kt{constructor(e){if(super(e),this.it=$,e.type!==$r.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===$||e==null)return this._t=void 0,this.it=e;if(e===Ye)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Uo.directiveName="unsafeHTML",Uo.resultType=1;po=Pr(Uo)});var Os={};ae(Os,{UnsafeHTMLDirective:()=>Uo,unsafeHTML:()=>po});var zi=u(()=>{_u()});var Es={};ae(Es,{CancelablePromise:()=>zo,CanceledPromiseError:()=>qt,cancelable:()=>Ho});var qt,zo,Ho,Nn=u(()=>{"use strict";qt=class extends Error{constructor(e,t,i){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=i}},zo=class extends Promise{constructor(e){super((t,i)=>e(n=>{this.isCanceled?i(new qt("Promise has been canceled",n)):t(n)},n=>{this.isCanceled?i(new qt("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ho=r=>new zo((e,t)=>r.then(e).catch(t))});var Ls={};ae(Ls,{FtNotificationEvent:()=>ws,PostResizeEvent:()=>As,PreResizeEvent:()=>Rs,WithEventBus:()=>yr,withEventBus:()=>Tu});function Tu(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(t,i,n){this.eventBus.addEventListener(t,i,n)}dispatchEvent(t){return this.eventBus.dispatchEvent(t)}removeEventListener(t,i,n){this.eventBus.removeEventListener(t,i,n)}}}var ws,Rs,As,yr,Hi=u(()=>{"use strict";ws=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Rs=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},As=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};yr=class extends Tu(Object){}});var Is={};ae(Is,{CacheRegistry:()=>Yt,ClearCacheEvent:()=>Wi});var Wi,Yt,ks=u(()=>{"use strict";Nn();Hi();Wi=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Yt=class extends yr{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(e=!0){let t=[];for(let i in this.content)this.clear(i,!1)!=null&&t.push(i);e&&t.length>0&&this.dispatchEvent(new Wi(t))}clear(e,t=!0){if(!this.finalContent.has(e))return this.forceClear(e),t&&this.dispatchEvent(new Wi([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof zo&&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,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,i){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let n=Ho(t());return this.content[e]=n,n.then(a=>(this.content[e]=a,i!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),i)),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 $s={};ae($s,{ClusteringHelper:()=>Ts,formatHierarchicalValues:()=>_s});function _s(r,e){return e&&e>1&&r.length>=e?`... > ${r[r.length-1]}`:r.join(" > ")}var Ts,Ps=u(()=>{"use strict";Ts=class r{constructor(e,t,i,n){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e){var t,i,n,a,s;let l=((a=(i=(t=e.result)===null||t===void 0?void 0:t.map)!==null&&i!==void 0?i:(n=e.result)===null||n===void 0?void 0:n.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?r.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):r.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,t,i){if(Array.isArray(e))return e.map(a=>r.flattenMetadata(a,t,i)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(_s(l)),s.push(_s(l,t))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>i?i(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,t,i="No value",n,a){var s,l;let d=r.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(m=>r.extractResultMetadata({result:m,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(m=>m??{key:e,label:f,value:void 0,displayValue:i}).filter(m=>m.value!=d?.value).filter((m,x,C)=>C.findIndex(O=>O.value===m.value)===x).map(m=>({result:this.findBestResultForMetadataValue(e,m.value),metadata:m})).sort((m,x)=>this.compareMetadata(m.metadata.value,x.metadata.value,e,t))}compareMetadata(e,t,i,n){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(t,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let i=this.allResults.filter(d=>{var f;return((f=r.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==t}),a=[...r.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata({result:e}).filter(i=>t.some(n=>n.key===i.key&&n.value===i.value)).length}}});var Ns={};ae(Ns,{Debouncer:()=>he});var he,Fn=u(()=>{"use strict";he=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,i)=>{this.resolvePromise=t,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Bs={};ae(Bs,{dateReviver:()=>ix,deepCopy:()=>ji,deepEqual:()=>Ke,delay:()=>Bn,eventPathContainsMatchingElement:()=>ax,flatDeep:()=>xt,getComposedPathTo:()=>Fs,hasChanged:()=>Fr,last:()=>sx,minmax:()=>uo,parseDate:()=>$u,unslotText:()=>Wo,waitFor:()=>Dn,waitUntil:()=>Vi});async function Vi(r,e=10,t=2e4){await Dn(async()=>await r()||void 0,e,t)}async function Dn(r,e=10,t=2e4){let i=await r(),n,a;for(n=a=performance.now();i==null&&(!t||a-n<t);)await Bn(e),i=await r(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function xt(r,e){return r.flatMap(t=>[t,...xt(e(t),e)])}function ix(...r){return(e,t)=>r.includes(e)?$u(t):t}function $u(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,i,n)=>t+i+":"+n),new Date(r)}function nx(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var t,i,n;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(i=t;i--!==0;)if(!Ke(r[i],e[i]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;for(i of r.entries())if(!Ke(i[1],e.get(i[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(r),t=n.length,t!==a(e).length)return!1;for(i=t;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=t;i--!==0;){let s=n[i];if(!Ke(r[s],e[s]))return!1}return!0}return r!==r&&e!==e||r==null&&e==null}function Ke(r,e){try{return nx(r,e)}catch{return!1}}function Fr(r,e){return!Ke(r,e)}function ax(r,e,t=window.document.body){if(e.length>0){let i=r.composedPath();for(let n of i){if(n===t)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function uo(r,e,t){return Math.min(Math.max(r,e),t)}function sx(r){return r[r.length-1]}function Wo(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>Wo(e)).join(""):r?.textContent||""}function Fs(r){let e=[],t=i=>{i.stopPropagation(),e=i.composedPath()};return r.addEventListener("get-composed-path",t),r.dispatchEvent(new Event("get-composed-path",{composed:!0})),r.removeEventListener("get-composed-path",t),e}function ji(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}var Bn,Br=u(()=>{"use strict";Bn=r=>new Promise(e=>setTimeout(e,r))});var Ds={};ae(Ds,{customElement:()=>U,isNumber:()=>Pu,jsonProperty:()=>Ee,optionalNumberProperty:()=>lx});function Ee(r,e){let t=()=>JSON.parse(JSON.stringify(r));return h({type:Object,converter:{fromAttribute:i=>{if(i==null)return t();try{return JSON.parse(i)}catch{return t()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Fr,...e??{}})}function lx(r){return h({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Pu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function Pu(r){return!isNaN(parseFloat(r))}var U,Mn=u(()=>{"use strict";Y();Br();U=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)}});function y(r,e){return br(`${r.name}: ${e}`)}var br,o,se=u(()=>{P();br=r=>typeof r=="string"?hr(r):r,o=class{static create(e,t,i,n){let a=l=>br(l??n),s=k`var(${br(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>k`var(${br(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,t,i,n){let a=l=>i.get(l??n),s=k`var(${br(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>k`var(${br(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,t){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):br(a??e.lastResortDefaultValue()),n=k`var(${br(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=t,n.defaultCssValue=i,n.get=a=>k`var(${br(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,Ms,Us,zs,Hs,Ws,Vs,js,Gs,fo,Nu,Ks,Zs,qs,Ys,Qs,Xs,Js,el,tl,rl,Dr,ol,il,nl,al,sl,Gi,cx,ce=u(()=>{se();c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ms={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","1.2"),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")},Us={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","1.2"),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")},zs={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","1.2"),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")},Hs={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","1.2"),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")},Ws={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","1.35"),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")},Vs={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","1.35"),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")},js={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","1.35"),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")},Gs={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","1.35"),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")},fo={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","1.35"),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")},Nu={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","1.35"),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")},Ks={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","1.35"),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")},Zs={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")},qs={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")},Ys={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")},Qs={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")},Xs={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")},Js={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")},el={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","1.3"),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")},tl={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","1.3"),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")},rl={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","1.3"),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")},Dr={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","1.3"),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")},ol={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","1.3"),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")},il={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","1.3"),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")},nl={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","1.3"),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")},al={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","1.3"),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")},sl={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","1.3"),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")},Gi={display:Ms,"title-1":Us,"title-2":zs,"title-3":Hs,"body-1-regular":Ws,"body-1-medium":Vs,"body-1-semibold":js,"body-2-regular":Gs,"body-2-medium":fo,"body-2-medium-underline":Nu,"body-2-semibold":Ks,"label-1-medium":Zs,"label-1-semibold":qs,"label-1-bold":Ys,"label-2-medium":Qs,"label-2-semibold":Xs,"label-2-bold":Js,"caption-1-medium":el,"caption-1-semibold":tl,"caption-1-bold":rl,"caption-2-medium":Dr,"caption-2-semibold":ol,"caption-2-bold":il,"caption-3-medium":nl,"caption-3-semibold":al,"caption-3-bold":sl},cx=["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,me=u(()=>{se();ce();p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var v,Fu=u(()=>{se();ce();me();v={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",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","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",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","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",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","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",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","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",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","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",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","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",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","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",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","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",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","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",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","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",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","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",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","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",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 dx,Bu=u(()=>{se();ce();me();dx={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",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","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)}});var px,Du=u(()=>{se();ce();me();px={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)}});var ux,Mu=u(()=>{se();ce();me();ux={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",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","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",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","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var le,Uu=u(()=>{se();ce();me();le={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",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 fx,zu=u(()=>{se();ce();me();fx={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.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","",c.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","",c.colorBrand100)}});var hx,Hu=u(()=>{se();ce();me();hx={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",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 mx,Wu=u(()=>{se();ce();me();mx={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)}});var gx,Vu=u(()=>{se();ce();me();gx={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.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 yx,ju=u(()=>{se();ce();me();yx={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var bx,Gu=u(()=>{se();ce();me();bx={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var xx,Ku=u(()=>{se();ce();xx={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var vx,Zu=u(()=>{se();ce();me();vx={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",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","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var Sx,qu=u(()=>{se();ce();me();Sx={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",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","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",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","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var Cx,Yu=u(()=>{se();ce();me();Cx={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",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","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",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","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)}});var Ox,Qu=u(()=>{se();ce();me();Ox={largeFieldHorizontalPadding:o.extend("--ft-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-text-input-background-color","",c.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),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),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","",c.opacity40)}});var Ex,Xu=u(()=>{se();ce();me();Ex={backgroundColor:o.extend("--ft-text-area-background-color","",c.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","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusS)}});var wx,Ju=u(()=>{se();ce();me();wx={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",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","",c.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","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var Rx,ef=u(()=>{se();ce();me();Rx={largeFieldHorizontalPadding:o.extend("--ft-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.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","",c.opacity40)}});var Ax,tf=u(()=>{se();ce();me();Ax={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.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","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)}});var Lx,rf=u(()=>{se();ce();me();Lx={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),gap:o.extend("--ft-popover-gap","",c.spacing2),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ft-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ft-popover-multi-section-vertical-gap","",c.spacing6)}});var Ix,of=u(()=>{se();ce();me();Ix={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",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","",c.iconSize3)}});var kx,nf=u(()=>{se();ce();me();kx={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",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","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var _x,af=u(()=>{se();ce();_x={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var Tx,sf=u(()=>{se();ce();Tx={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var $x,lf=u(()=>{se();ce();me();$x={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",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),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var Px,cf=u(()=>{se();ce();me();Px={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",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","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",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","",c.spacing3)}});var Nx,df=u(()=>{se();ce();me();Nx={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","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",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","",c.spacing3)}});var Fx,pf=u(()=>{se();ce();me();Fx={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",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","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)}});var Bx,uf=u(()=>{se();ce();me();Bx={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)}});var Dx,ff=u(()=>{se();ce();me();Dx={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)}});var Mx,hf=u(()=>{se();ce();me();Mx={nodeHeight:o.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ft-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ft-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ft-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ft-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ft-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ft-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",p.contentInfoPrimary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",p.contentInfoPrimary),nodeSelectedBackgroundColor:o.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",p.contentInfoPrimary),nodeDescendantOfSelectedBackgroundColor:o.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ft-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ft-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ft-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ft-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ft-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",p.contentInfoPrimary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",p.borderGlobalSubtle),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ft-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ft-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary)}});var mf=u(()=>{ce();me();Fu();Bu();Du();Mu();Uu();zu();Hu();Wu();Vu();ju();Gu();Ku();Zu();qu();Yu();Qu();Xu();Ju();ef();tf();rf();of();nf();af();sf();lf();cf();df();pf();uf();ff();hf()});function ll(r){return`ftds--family-${r}`}function cl(r){return`ftds--size-${r}`}var xr,We,gf=u(()=>{(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(xr||(xr={}));(function(r){r.large="large",r.medium="medium",r.small="small"})(We||(We={}))});var te=u(()=>{se();mf();gf()});var dl={};ae(dl,{DesignSystemFamily:()=>xr,DesignSystemSize:()=>We,FtCssVariableFactory:()=>o,badge:()=>mx,banner:()=>hx,button:()=>v,chart:()=>_x,checkbox:()=>dx,chip:()=>le,chipChoice:()=>ux,collapsible:()=>Ix,comboboxMultiSelect:()=>Ax,comboboxSingleSelect:()=>Rx,drawer:()=>Sx,floatingMenu:()=>wx,foundation:()=>c,link:()=>fx,modal:()=>vx,notice:()=>$x,notification:()=>Fx,pageDesigner:()=>Tx,pageFooter:()=>bx,pageHeader:()=>yx,pageLayout:()=>xx,popover:()=>Lx,radio:()=>Nx,reorderableList:()=>Dx,resolveFamilyClass:()=>ll,resolveSizeClass:()=>cl,semantic:()=>p,setVariable:()=>y,switch_:()=>kx,table:()=>px,tabs:()=>Cx,textArea:()=>Ex,textInput:()=>Ox,titleBreadcrumb:()=>gx,toggle:()=>Px,tooltip:()=>Bx,treeList:()=>Mx,typographies:()=>Gi,typographyBody1Medium:()=>Vs,typographyBody1Regular:()=>Ws,typographyBody1Semibold:()=>js,typographyBody2Medium:()=>fo,typographyBody2MediumUnderline:()=>Nu,typographyBody2Regular:()=>Gs,typographyBody2Semibold:()=>Ks,typographyCaption1Bold:()=>rl,typographyCaption1Medium:()=>el,typographyCaption1Semibold:()=>tl,typographyCaption2Bold:()=>il,typographyCaption2Medium:()=>Dr,typographyCaption2Semibold:()=>ol,typographyCaption3Bold:()=>sl,typographyCaption3Medium:()=>nl,typographyCaption3Semibold:()=>al,typographyDisplay:()=>Ms,typographyLabel1Bold:()=>Ys,typographyLabel1Medium:()=>Zs,typographyLabel1Semibold:()=>qs,typographyLabel2Bold:()=>Js,typographyLabel2Medium:()=>Qs,typographyLabel2Semibold:()=>Xs,typographyTitle1:()=>Us,typographyTitle2:()=>zs,typographyTitle3:()=>Hs,typographyVariants:()=>cx});var Un=u(()=>{"use strict";te()});var pl={};ae(pl,{designSystemVariables:()=>E});var E,ul=u(()=>{"use strict";Un();E={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 ml(r,e,t){return Mr(r,zn(e,t))}function Vo(r,e){return typeof r=="function"?r(e):r}function Ur(r){return r.split("-")[0]}function Qt(r){return r.split("-")[1]}function gl(r){return r==="x"?"y":"x"}function yl(r){return r==="y"?"height":"width"}function jo(r){return["top","bottom"].includes(Ur(r))?"y":"x"}function bl(r){return gl(jo(r))}function xf(r,e,t){t===void 0&&(t=!1);let i=Qt(r),n=bl(r),a=yl(n),s=n==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=fl(s)),[s,fl(s)]}function vf(r){return r.replace(/start|end/g,e=>zx[e])}function fl(r){return r.replace(/left|right|bottom|top/g,e=>Ux[e])}function Hx(r){return{top:0,right:0,bottom:0,left:0,...r}}function Sf(r){return typeof r!="number"?Hx(r):{top:r,right:r,bottom:r,left:r}}function ho(r){let{x:e,y:t,width:i,height:n}=r;return{width:i,height:n,top:t,left:e,right:e+i,bottom:t+n,x:e,y:t}}var bf,yf,hl,zn,Mr,Ux,zx,xl=u(()=>{bf=["top","right","bottom","left"],yf=["start","end"],hl=bf.reduce((r,e)=>r.concat(e,e+"-"+yf[0],e+"-"+yf[1]),[]),zn=Math.min,Mr=Math.max,Ux={left:"right",right:"left",bottom:"top",top:"bottom"},zx={start:"end",end:"start"}});function Cf(r,e,t){let{reference:i,floating:n}=r,a=jo(e),s=bl(e),l=yl(s),d=Ur(e),f=a==="y",g=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,x=i[l]/2-n[l]/2,C;switch(d){case"top":C={x:g,y:i.y-n.height};break;case"bottom":C={x:g,y:i.y+i.height};break;case"right":C={x:i.x+i.width,y:m};break;case"left":C={x:i.x-n.width,y:m};break;default:C={x:i.x,y:i.y}}switch(Qt(e)){case"start":C[s]-=x*(t&&f?-1:1);break;case"end":C[s]+=x*(t&&f?-1:1);break}return C}async function Hn(r,e){var t;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=r,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:x=!1,padding:C=0}=Vo(e,r),O=Sf(C),F=l[x?m==="floating"?"reference":"floating":m],N=ho(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(F)))==null||t?F:F.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:g,strategy:d})),M=m==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,L=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),I=await(a.isElement==null?void 0:a.isElement(L))?await(a.getScale==null?void 0:a.getScale(L))||{x:1,y:1}:{x:1,y:1},A=ho(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:M,offsetParent:L,strategy:d}):M);return{top:(N.top-A.top+O.top)/I.y,bottom:(A.bottom-N.bottom+O.bottom)/I.y,left:(N.left-A.left+O.left)/I.x,right:(A.right-N.right+O.right)/I.x}}function Wx(r,e,t){return(r?[...t.filter(n=>Qt(n)===r),...t.filter(n=>Qt(n)!==r)]:t.filter(n=>Ur(n)===n)).filter(n=>r?Qt(n)===r||(e?vf(n)!==n:!1):!0)}async function Vx(r,e){let{placement:t,platform:i,elements:n}=r,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=Ur(t),l=Qt(t),d=jo(t)==="y",f=["left","top"].includes(s)?-1:1,g=a&&d?-1:1,m=Vo(e,r),{mainAxis:x,crossAxis:C,alignmentAxis:O}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof O=="number"&&(C=l==="end"?O*-1:O),d?{x:C*g,y:x*f}:{x:x*f,y:C*g}}var Of,Wn,vl,Sl,Cl,Ol=u(()=>{xl();xl();Of=async(r,e,t)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:r,floating:e,strategy:n}),{x:g,y:m}=Cf(f,i,d),x=i,C={},O=0;for(let R=0;R<l.length;R++){let{name:F,fn:N}=l[R],{x:M,y:L,data:I,reset:A}=await N({x:g,y:m,initialPlacement:i,placement:x,strategy:n,middlewareData:C,rects:f,platform:s,elements:{reference:r,floating:e}});g=M??g,m=L??m,C={...C,[F]:{...C[F],...I}},A&&O<=50&&(O++,typeof A=="object"&&(A.placement&&(x=A.placement),A.rects&&(f=A.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:n}):A.rects),{x:g,y:m}=Cf(f,x,d)),R=-1)}return{x:g,y:m,placement:x,strategy:n,middlewareData:C}};Wn=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:x=hl,autoAlignment:C=!0,...O}=Vo(r,e),R=m!==void 0||x===hl?Wx(m||null,C,x):x,F=await Hn(e,O),N=((t=s.autoPlacement)==null?void 0:t.index)||0,M=R[N];if(M==null)return{};let L=xf(M,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==M)return{reset:{placement:R[0]}};let I=[F[Ur(M)],F[L[0]],F[L[1]]],A=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:M,overflows:I}],V=R[N+1];if(V)return{data:{index:N+1,overflows:A},reset:{placement:V}};let q=A.map(j=>{let b=Qt(j.placement);return[j.placement,b&&g?j.overflows.slice(0,2).reduce((w,G)=>w+G,0):j.overflows[0],j.overflows]}).sort((j,b)=>j[1]-b[1]),pe=((n=q.filter(j=>j[2].slice(0,Qt(j[0])?2:3).every(b=>b<=0))[0])==null?void 0:n[0])||q[0][0];return pe!==l?{data:{index:N+1,overflows:A},reset:{placement:pe}}:{}}}};vl=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var t,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Vx(e,r);return s===((t=l.offset)==null?void 0:t.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},Sl=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:F=>{let{x:N,y:M}=F;return{x:N,y:M}}},...d}=Vo(r,e),f={x:t,y:i},g=await Hn(e,d),m=jo(Ur(n)),x=gl(m),C=f[x],O=f[m];if(a){let F=x==="y"?"top":"left",N=x==="y"?"bottom":"right",M=C+g[F],L=C-g[N];C=ml(M,C,L)}if(s){let F=m==="y"?"top":"left",N=m==="y"?"bottom":"right",M=O+g[F],L=O-g[N];O=ml(M,O,L)}let R=l.fn({...e,[x]:C,[m]:O});return{...R,data:{x:R.x-t,y:R.y-i,enabled:{[x]:a,[m]:s}}}}}},Cl=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(e){var t,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=Vo(r,e),g=await Hn(e,f),m=Ur(n),x=Qt(n),C=jo(n)==="y",{width:O,height:R}=a.floating,F,N;m==="top"||m==="bottom"?(F=m,N=x===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(N=m,F=x==="end"?"top":"bottom");let M=R-g.top-g.bottom,L=O-g.left-g.right,I=zn(R-g[F],M),A=zn(O-g[N],L),V=!e.middlewareData.shift,q=I,oe=A;if((t=e.middlewareData.shift)!=null&&t.enabled.x&&(oe=L),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(q=M),V&&!x){let j=Mr(g.left,0),b=Mr(g.right,0),w=Mr(g.top,0),G=Mr(g.bottom,0);C?oe=O-2*(j!==0||b!==0?j+b:Mr(g.left,g.right)):q=R-2*(w!==0||G!==0?w+G:Mr(g.top,g.bottom))}await d({...e,availableWidth:oe,availableHeight:q});let pe=await s.getDimensions(l.floating);return O!==pe.width||R!==pe.height?{reset:{rects:!0}}:{}}}}});var El,Go,Ki,vr,Ef=u(()=>{El=Math.min,Go=Math.max,Ki=Math.round,vr=r=>({x:r,y:r})});function Sr(r){return Rf(r)?(r.nodeName||"").toLowerCase():"#document"}function lt(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Cr(r){var e;return(e=(Rf(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Rf(r){return r instanceof Node||r instanceof lt(r).Node}function Xt(r){return r instanceof Element||r instanceof lt(r).Element}function Mt(r){return r instanceof HTMLElement||r instanceof lt(r).HTMLElement}function wf(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof lt(r).ShadowRoot}function Ko(r){let{overflow:e,overflowX:t,overflowY:i,display:n}=vt(r);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(n)}function Af(r){return["table","td","th"].includes(Sr(r))}function jn(r){let e=Gn(),t=vt(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Lf(r){let e=mo(r);for(;Mt(e)&&!Zi(e);){if(jn(e))return e;e=mo(e)}return null}function Gn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zi(r){return["html","body","#document"].includes(Sr(r))}function vt(r){return lt(r).getComputedStyle(r)}function qi(r){return Xt(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function mo(r){if(Sr(r)==="html")return r;let e=r.assignedSlot||r.parentNode||wf(r)&&r.host||Cr(r);return wf(e)?e.host:e}function If(r){let e=mo(r);return Zi(e)?r.ownerDocument?r.ownerDocument.body:r.body:Mt(e)&&Ko(e)?e:If(e)}function Vn(r,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);let n=If(r),a=n===((i=r.ownerDocument)==null?void 0:i.body),s=lt(n);return a?e.concat(s,s.visualViewport||[],Ko(n)?n:[],s.frameElement&&t?Vn(s.frameElement):[]):e.concat(n,Vn(n,[],t))}var kf=u(()=>{});function $f(r){let e=vt(r),t=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=Mt(r),a=n?r.offsetWidth:t,s=n?r.offsetHeight:i,l=Ki(t)!==a||Ki(i)!==s;return l&&(t=a,i=s),{width:t,height:i,$:l}}function Pf(r){return Xt(r)?r:r.contextElement}function Zo(r){let e=Pf(r);if(!Mt(e))return vr(1);let t=e.getBoundingClientRect(),{width:i,height:n,$:a}=$f(e),s=(a?Ki(t.width):t.width)/i,l=(a?Ki(t.height):t.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Nf(r){let e=lt(r);return!Gn()||!e.visualViewport?jx:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Gx(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==lt(r)?!1:e}function Yi(r,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);let n=r.getBoundingClientRect(),a=Pf(r),s=vr(1);e&&(i?Xt(i)&&(s=Zo(i)):s=Zo(r));let l=Gx(a,t,i)?Nf(a):vr(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,g=n.width/s.x,m=n.height/s.y;if(a){let x=lt(a),C=i&&Xt(i)?lt(i):i,O=x.frameElement;for(;O&&i&&C!==x;){let R=Zo(O),F=O.getBoundingClientRect(),N=vt(O),M=F.left+(O.clientLeft+parseFloat(N.paddingLeft))*R.x,L=F.top+(O.clientTop+parseFloat(N.paddingTop))*R.y;d*=R.x,f*=R.y,g*=R.x,m*=R.y,d+=M,f+=L,O=lt(O).frameElement}}return ho({width:g,height:m,x:d,y:f})}function Kx(r){let{rect:e,offsetParent:t,strategy:i}=r,n=Mt(t),a=Cr(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=vr(1),d=vr(0);if((n||!n&&i!=="fixed")&&((Sr(t)!=="body"||Ko(a))&&(s=qi(t)),Mt(t))){let f=Yi(t);l=Zo(t),d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Zx(r){return Array.from(r.getClientRects())}function Ff(r){return Yi(Cr(r)).left+qi(r).scrollLeft}function qx(r){let e=Cr(r),t=qi(r),i=r.ownerDocument.body,n=Go(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Go(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-t.scrollLeft+Ff(r),l=-t.scrollTop;return vt(i).direction==="rtl"&&(s+=Go(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Yx(r,e){let t=lt(r),i=Cr(r),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=Gn();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function Qx(r,e){let t=Yi(r,!0,e==="fixed"),i=t.top+r.clientTop,n=t.left+r.clientLeft,a=Mt(r)?Zo(r):vr(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:s,height:l,x:d,y:f}}function _f(r,e,t){let i;if(e==="viewport")i=Yx(r,t);else if(e==="document")i=qx(Cr(r));else if(Xt(e))i=Qx(e,t);else{let n=Nf(r);i={...e,x:e.x-n.x,y:e.y-n.y}}return ho(i)}function Bf(r,e){let t=mo(r);return t===e||!Xt(t)||Zi(t)?!1:vt(t).position==="fixed"||Bf(t,e)}function Xx(r,e){let t=e.get(r);if(t)return t;let i=Vn(r,[],!1).filter(l=>Xt(l)&&Sr(l)!=="body"),n=null,a=vt(r).position==="fixed",s=a?mo(r):r;for(;Xt(s)&&!Zi(s);){let l=vt(s),d=jn(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ko(s)&&!d&&Bf(r,s))?i=i.filter(g=>g!==s):n=l,s=mo(s)}return e.set(r,i),i}function Jx(r){let{element:e,boundary:t,rootBoundary:i,strategy:n}=r,s=[...t==="clippingAncestors"?Xx(e,this._c):[].concat(t),i],l=s[0],d=s.reduce((f,g)=>{let m=_f(e,g,n);return f.top=Go(m.top,f.top),f.right=El(m.right,f.right),f.bottom=El(m.bottom,f.bottom),f.left=Go(m.left,f.left),f},_f(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function ev(r){return $f(r)}function tv(r,e,t){let i=Mt(e),n=Cr(e),a=t==="fixed",s=Yi(r,!0,a,e),l={scrollLeft:0,scrollTop:0},d=vr(0);if(i||!i&&!a)if((Sr(e)!=="body"||Ko(n))&&(l=qi(e)),i){let f=Yi(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=Ff(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Tf(r,e){return!Mt(r)||vt(r).position==="fixed"?null:e?e(r):r.offsetParent}function Df(r,e){let t=lt(r);if(!Mt(r))return t;let i=Tf(r,e);for(;i&&Af(i)&&vt(i).position==="static";)i=Tf(i,e);return i&&(Sr(i)==="html"||Sr(i)==="body"&&vt(i).position==="static"&&!jn(i))?t:i||Lf(r)||t}function ov(r){return vt(r).direction==="rtl"}var jx,rv,qo,wl,Mf=u(()=>{Ol();Ol();Ef();kf();jx=vr(0);rv=async function(r){let{reference:e,floating:t,strategy:i}=r,n=this.getOffsetParent||Df,a=this.getDimensions;return{reference:tv(e,await n(t),i),floating:{x:0,y:0,...await a(t)}}};qo={convertOffsetParentRelativeRectToViewportRelativeRect:Kx,getDocumentElement:Cr,getClippingRect:Jx,getOffsetParent:Df,getElementRects:rv,getClientRects:Zx,getDimensions:ev,getScale:Zo,isElement:Xt,isRTL:ov},wl=(r,e,t)=>{let i=new Map,n={platform:qo,...t},a={...n.platform,_c:i};return Of(r,e,{...n,platform:a})}});function Al(r){return iv(r)}function Rl(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function iv(r){for(let e=r;e;e=Rl(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Rl(r);e;e=Rl(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}var Uf=u(()=>{});var kl={};ae(kl,{computeOffsetAutoPosition:()=>Il,computeOffsetPosition:()=>Ll});async function Ll(r,e,t){return wl(r,e,{platform:{...qo,getOffsetParent:i=>qo.getOffsetParent(i,Al)},middleware:[Sl({crossAxis:!0}),Wn({allowedPlacements:[t]})]})}async function Il(r,e,t,i,n,a,s=4){return wl(r,e,{placement:t,strategy:n,platform:{...qo,getOffsetParent:l=>qo.getOffsetParent(l,Al)},middleware:[vl(s),Wn({allowedPlacements:i}),Cl({apply({availableHeight:l,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Kn=u(()=>{"use strict";Mf();Uf()});var _l={};ae(_l,{ScopedRegistryLitElement:()=>Qi});var Qi,Zn=u(()=>{"use strict";P();Rn();Qi=class extends gr{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let t={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(t);return Ti(i,e.elementStyles),i}}});var $l={};ae($l,{shadowQuerySelector:()=>Tl,shadowQuerySelectorAll:()=>nv});function Tl(r,e,...t){var i;let n=r.querySelector(e);for(let a of t)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function nv(r,e,...t){let i=[...r.querySelectorAll(e)];for(let n of t)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var qn=u(()=>{"use strict"});var Pl={};ae(Pl,{FtLitElement:()=>H});var Xi,Vf,zf,Hf,jf,Wf,H,Ji=u(()=>{"use strict";Y();Mn();Fn();Zn();qn();Xi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},zf=Symbol("constructorPrototype"),Hf=Symbol("constructorName"),jf=Symbol("exportpartsDebouncer"),Wf=Symbol("dynamicDependenciesLoaded"),H=class extends Qi{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Vf]=new he(5),this[Hf]=this.constructor.name,this[zf]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Hf]&&Object.setPrototypeOf(this,this[zf])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[Wf]||(e[Wf]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:t,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];t=Tl(this.shadowRoot,...a)}t?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||t?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var t,i,n;if(((i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&i!==void 0&&i)&&this[jf].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,i,n,a,s,l;let d=x=>x!=null&&x.trim().length>0,f=e.filter(d).map(x=>x.trim());if(f.length===0){this.removeAttribute("exportparts");return}let g=new Set;for(let x of(i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let C=(a=(n=x.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],O=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(R=>R.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...C,...O).filter(d).map(R=>R.trim()).forEach(R=>g.add(R))}if(g.size===0){this.removeAttribute("exportparts");return}let m=[...g.values()].flatMap(x=>f.map(C=>`${x}:${C}--${x}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Vf=jf;Xi([h()],H.prototype,"exportpartsPrefix",void 0);Xi([Ee([])],H.prototype,"exportpartsPrefixes",void 0);Xi([h()],H.prototype,"customStylesheet",void 0);Xi([h()],H.prototype,"elementToFocus",void 0);Xi([D()],H.prototype,"useAdoptedStyleSheets",void 0)});var Nl={};ae(Nl,{FtdsBase:()=>en,toFtdsBase:()=>Yo});function Yo(r){class e extends r{constructor(){super(...arguments),this.size=We.medium,this.family=xr.neutral}getDesignSystemBaseClasses(){return{[ll(this.family)]:!0,[cl(this.size)]:!0}}}return Gf([h()],e.prototype,"size",void 0),Gf([h()],e.prototype,"family",void 0),e}var Gf,en,Fl=u(()=>{"use strict";Ji();Y();te();Gf=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};en=class extends Yo(H){}});var Kf={};var Bl=u(()=>{"use strict"});var go,Zf=u(()=>{go=class r{constructor(e,t=!0,i=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=i,this.iframesTimeout=n}static matches(e,t){let i=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];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(i=>{let n=t.filter(a=>a.contains(i)).length>0;t.indexOf(i)===-1&&!n&&t.push(i)}),t}getIframeContents(e,t,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&t(n)}isIframeBlank(e){let t="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&i!==t&&i}observeIframeLoad(e,t,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,i):this.getIframeContents(e,t,i):this.observeIframeLoad(e,t,i)}catch{i()}}waitForIframes(e,t){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||t()})},n=>{n||t()})}forEachIframe(e,t,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(f=>{r.matches(f,this.exclude)?d():this.onIframeReady(f,g=>{t(f)&&(l++,i(g)),d()},d)})}createIterator(e,t,i){return document.createNodeIterator(e,t,i,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){let s=t.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),i;return t===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:t,node:i}}checkIframeFilter(e,t,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,t,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,t,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,i,n)})})}iterateThroughNodes(e,t,i,n,a){let s=this.createIterator(t,e,n),l=[],d=[],f,g,m=()=>({prevNode:g,node:f}=this.getIteratorNode(s),f);for(;m();)this.iframes&&this.forEachIframe(t,x=>this.checkIframeFilter(f,g,x,l),x=>{this.createInstanceOnIframe(x).forEachNode(e,C=>d.push(C),n)}),d.push(f);d.forEach(x=>{i(x)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,t,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var tn,qf=u(()=>{Zf();tn=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.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 go(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[t]=="function"&&i[t](`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 t=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&t.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",i=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):i.trim()&&t.indexOf(i)===-1&&t.push(i)}),{keywords:t.sort((i,n)=>n.length-i.length),length:t.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 t=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,t.push(n),i=s)}),t}callNoMatchOnInvalidRanges(e,t){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-i>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:i,end:n,valid:a}}checkWhitespaceRanges(e,t,i){let n,a=!0,s=i.length,l=t-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let t="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:i})})}matchesExclude(e){return go.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(i-t),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,t,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!n(s.node))return!1;let f=t-s.start,g=(i>s.end?s.end:i)-s.start,m=e.value.substr(0,s.start),x=e.value.substr(g+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,g),e.value=m+x,e.nodes.forEach((C,O)=>{O>=l&&(e.nodes[O].start>0&&O!==l&&(e.nodes[O].start-=g),e.nodes[O].end-=g)}),i-=g,a(s.node.previousSibling,s.start),i>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!i(f[s],d))continue;let g=f.index;if(s!==0)for(let m=1;m<s;m++)g+=f[m].length;d=this.wrapRangeInTextNode(d,g,g+f[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let m=1;m<s;m++)f+=d[m].length;let g=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,g,m=>i(d[s],m),(m,x)=>{e.lastIndex=x,n(m)})}a()})}wrapRangeFromIndex(e,t,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:g,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,f,g,x=>t(x,l,a.value.substring(f,g),d),x=>{i(x,l)})}),n()})}unwrapMatches(e){let t=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.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,t){this.opt=t,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,t){this.opt=t;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let g=new RegExp(this.createRegExp(f),`gm${l}`),m=0;this.log(`Searching with expression "${g}"`),this[n](g,1,(x,C)=>this.opt.filter(C,f,i,m),x=>{m++,i++,this.opt.each(x)},()=>{m===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(i):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,t){this.opt=t;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=go.matches(i,t),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Dl(r){let e=new tn(r);return this.mark=(t,i)=>(e.mark(t,i),this),this.markRegExp=(t,i)=>(e.markRegExp(t,i),this),this.markRanges=(t,i)=>(e.markRanges(t,i),this),this.unmark=t=>(e.unmark(t),this),this}var Yf=u(()=>{qf()});var Ul={};ae(Ul,{highlightHtml:()=>Ml,highlightHtmlColorCssVariable:()=>Qf,highlightHtmlStyles:()=>sv});function Ml(r,e,t){var i,n;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new av(r);if(s.unmark(),e&&e.trim()){let l={className:(i=t?.className)!==null&&i!==void 0?i:"highlight-html-match",acrossElements:!0};t?.attributes!=null&&(l.each=f=>{for(let g in t.attributes)f.setAttribute(g,t.attributes[g])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var av,Qf,sv,zl=u(()=>{"use strict";P();te();Yf();av=Dl,Qf=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),sv=k`
|
|
5
5
|
.highlight-html-match {
|
|
6
6
|
background: ${Qf};
|
|
7
7
|
}
|
|
@@ -44,8 +44,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
44
44
|
input::-webkit-search-results-decoration {
|
|
45
45
|
display: none;
|
|
46
46
|
}
|
|
47
|
-
`});var Xf={};var Vl=u(()=>{"use strict"});var jl={};ae(jl,{ParametrizedLabelResolver:()=>zr});var zr,Gl=u(()=>{"use strict";zr=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var i,n;e=this.resolvePluralKey(e,t);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(i,s))),e}resolvePluralKey(e,t){for(let i of t)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let i=n=>t?.includes("date")?e.toLocaleDateString(n):t?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}}});var lv,Oe,cv,Jf=u(()=>{"use strict";Br();Y();lv=()=>(r,e)=>{var t;let i=r.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(t=i.reduxReactiveProperties)===null||t===void 0||t.add(e)},Oe=r=>{let e=r??{};return(t,i)=>{var n;let a={hasChanged:Fr,attribute:!1,...e};h(a)(t,i);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},cv=r=>(e,t)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(t,r)}});var nn,Kl=u(()=>{"use strict";nn=class{constructor(){this.queue=[]}add(e,t=!1){t&&this.clear(e.type),this.queue.push(e)}consume(e){let t=this.queue.find(i=>i.type===e);return t&&(this.queue=this.queue.filter(i=>i!==t)),t}clear(e){typeof e=="string"?this.queue=this.queue.filter(t=>t.type!==e):this.queue=this.queue.filter(t=>!e.test(t.type))}}});function bo(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Yn=u(()=>{"use strict"});var eh,th,rh,an,Hr,xo,ct,oh=u(()=>{"use strict";Ji();Yn();an=Symbol("internalReduxEventsUnsubscribers"),Hr=Symbol("internalStoresUnsubscribers"),xo=Symbol("internalStores"),ct=class extends H{constructor(){super(...arguments),this[eh]=new Map,this[th]=new Map,this[rh]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[xo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xo].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[xo].get(e)}addStore(e,t){var i;t=(i=t??(bo(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(t),this[xo].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[xo].delete(t)}setupStores(){this.unsubscribeFromStores(),this[xo].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let i=this.constructor.getPropertyOptions(t);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:t)){let n=this.getStore(e.store);n&&(e.store?this[Hr].has(e.store):this[Hr].size>0)&&(this[t]=e.selector(n.getState(),this))}})}subscribeToStore(e,t){var i;this[Hr].set(e,t.subscribe(()=>this.updateFromStores())),this[an].set(e,[]),bo(t)&&t.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||t.name===n.store)){let s=l=>this[a](l);t.addEventListener(n.eventName,s),this[an].get(e).push(()=>t.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Hr].forEach((e,t)=>this.unsubscribeFromStore(t))}unsubscribeFromStore(e){var t;this[Hr].has(e)&&this[Hr].get(e)(),this[Hr].delete(e),(t=this[an].get(e))===null||t===void 0||t.forEach(i=>i()),this[an].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};eh=Hr,th=xo,rh=an;ct.reduxProperties=new Map;ct.reduxReactiveProperties=new Set;ct.reduxEventListeners=new Map});function Rt(r){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Er(r){return!!r&&!!r[we]}function Ut(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var i=Object.getPrototypeOf(t);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===yv}(r)||Array.isArray(r)||!!r[dh]||!!(!((e=r.constructor)===null||e===void 0)&&e[dh])||rc(r)||oc(r))}function vo(r,e,t){t===void 0&&(t=!1),Jo(r)===0?(t?Object.keys:Xo)(r).forEach(function(i){t&&typeof i=="symbol"||e(i,r[i],r)}):r.forEach(function(i,n){return e(n,i,r)})}function Jo(r){var e=r[we];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:rc(r)?2:oc(r)?3:0}function Qo(r,e){return Jo(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function dv(r,e){return Jo(r)===2?r.get(e):r[e]}function ph(r,e,t){var i=Jo(r);i===2?r.set(e,t):i===3?r.add(t):r[e]=t}function uh(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function rc(r){return mv&&r instanceof Map}function oc(r){return gv&&r instanceof Set}function Wr(r){return r.o||r.t}function ic(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=mh(r);delete e[we];for(var t=Xo(e),i=0;i<t.length;i++){var n=t[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[n]})}return Object.create(Object.getPrototypeOf(r),e)}function nc(r,e){return e===void 0&&(e=!1),ac(r)||Er(r)||!Ut(r)||(Jo(r)>1&&(r.set=r.add=r.clear=r.delete=pv),Object.freeze(r),e&&vo(r,function(t,i){return nc(i,!0)},!0)),r}function pv(){Rt(2)}function ac(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function Jt(r){var e=tc[r];return e||Rt(18,r),e}function uv(r,e){tc[r]||(tc[r]=e)}function Xl(){return ln}function Zl(r,e){e&&(Jt("Patches"),r.u=[],r.s=[],r.v=e)}function Qn(r){Jl(r),r.p.forEach(fv),r.p=null}function Jl(r){r===ln&&(ln=r.l)}function ih(r){return ln={p:[],l:ln,h:r,m:!0,_:0}}function fv(r){var e=r[we];e.i===0||e.i===1?e.j():e.g=!0}function ql(r,e){e._=e.p.length;var t=e.p[0],i=r!==void 0&&r!==t;return e.h.O||Jt("ES5").S(e,r,i),i?(t[we].P&&(Qn(e),Rt(4)),Ut(r)&&(r=Xn(e,r),e.l||Jn(e,r)),e.u&&Jt("Patches").M(t[we].t,r,e.u,e.s)):r=Xn(e,t,[]),Qn(e),e.u&&e.v(e.u,e.s),r!==hh?r:void 0}function Xn(r,e,t){if(ac(e))return e;var i=e[we];if(!i)return vo(e,function(l,d){return nh(r,i,e,l,d,t)},!0),e;if(i.A!==r)return e;if(!i.P)return Jn(r,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=ic(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),vo(a,function(l,d){return nh(r,i,n,l,d,t,s)}),Jn(r,n,!1),t&&r.u&&Jt("Patches").N(i,t,r.u,r.s)}return i.o}function nh(r,e,t,i,n,a,s){if(Er(n)){var l=Xn(r,n,a&&e&&e.i!==3&&!Qo(e.R,i)?a.concat(i):void 0);if(ph(t,i,l),!Er(l))return;r.m=!1}else s&&t.add(n);if(Ut(n)&&!ac(n)){if(!r.h.D&&r._<1)return;Xn(r,n),e&&e.A.l||Jn(r,n)}}function Jn(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&nc(e,t)}function Yl(r,e){var t=r[we];return(t?Wr(t):r)[e]}function ah(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}}function Vr(r){r.P||(r.P=!0,r.l&&Vr(r.l))}function Ql(r){r.o||(r.o=ic(r.t))}function ec(r,e,t){var i=rc(e)?Jt("MapSet").F(e,t):oc(e)?Jt("MapSet").T(e,t):r.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Xl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=cn;s&&(d=[l],f=sn);var g=Proxy.revocable(d,f),m=g.revoke,x=g.proxy;return l.k=x,l.j=m,x}(e,t):Jt("ES5").J(e,t);return(t?t.A:Xl()).p.push(i),i}function hv(r){return Er(r)||Rt(22,r),function e(t){if(!Ut(t))return t;var i,n=t[we],a=Jo(t);if(n){if(!n.P&&(n.i<4||!Jt("ES5").K(n)))return n.t;n.I=!0,i=sh(t,a),n.I=!1}else i=sh(t,a);return vo(i,function(s,l){n&&dv(n.t,s)===l||ph(i,s,e(l))}),a===3?new Set(i):i}(r)}function sh(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return ic(r)}function fh(){function r(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[we];return cn.get(f,s)},set:function(f){var g=this[we];cn.set(g,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][we];if(!d.P)switch(d.i){case 5:i(d)&&Vr(d);break;case 4:t(d)&&Vr(d)}}}function t(s){for(var l=s.t,d=s.k,f=Xo(d),g=f.length-1;g>=0;g--){var m=f[g];if(m!==we){var x=l[m];if(x===void 0&&!Qo(l,m))return!0;var C=d[m],O=C&&C[we];if(O?O.t!==x:!uh(C,x))return!0}}var R=!!l[we];return f.length!==Xo(l).length+(R?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&Rt(3,JSON.stringify(Wr(s)))}var a={};uv("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(m,x){if(m){for(var C=Array(x.length),O=0;O<x.length;O++)Object.defineProperty(C,""+O,r(O,!0));return C}var R=mh(x);delete R[we];for(var F=Xo(R),N=0;N<F.length;N++){var M=F[N];R[M]=r(M,m||!!R[M].enumerable)}return Object.create(Object.getPrototypeOf(x),R)}(d,s),g={i:d?5:4,A:l?l.A:Xl(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,we,{value:g,writable:!0}),f},S:function(s,l,d){d?Er(l)&&l[we].A===s&&e(s.p):(s.u&&function f(g){if(g&&typeof g=="object"){var m=g[we];if(m){var x=m.t,C=m.k,O=m.R,R=m.i;if(R===4)vo(C,function(I){I!==we&&(x[I]!==void 0||Qo(x,I)?O[I]||f(C[I]):(O[I]=!0,Vr(m)))}),vo(x,function(I){C[I]!==void 0||Qo(C,I)||(O[I]=!1,Vr(m))});else if(R===5){if(i(m)&&(Vr(m),O.length=!0),C.length<x.length)for(var F=C.length;F<x.length;F++)O[F]=!1;else for(var N=x.length;N<C.length;N++)O[N]=!0;for(var M=Math.min(C.length,x.length),L=0;L<M;L++)C.hasOwnProperty(L)||(O[L]=!0),O[L]===void 0&&f(C[L])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):i(s)}})}var lh,ln,sc,mv,gv,ch,hh,dh,we,yv,Xo,mh,tc,cn,sn,bv,St,xv,Zw,qw,Yw,Qw,Xw,Jw,ea,ta=u(()=>{sc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",mv=typeof Map<"u",gv=typeof Set<"u",ch=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hh=sc?Symbol.for("immer-nothing"):((lh={})["immer-nothing"]=!0,lh),dh=sc?Symbol.for("immer-draftable"):"__$immer_draftable",we=sc?Symbol.for("immer-state"):"__$immer_state",yv=""+Object.prototype.constructor,Xo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,mh=Object.getOwnPropertyDescriptors||function(r){var e={};return Xo(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},tc={},cn={get:function(r,e){if(e===we)return r;var t=Wr(r);if(!Qo(t,e))return function(n,a,s){var l,d=ah(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(r,t,e);var i=t[e];return r.I||!Ut(i)?i:i===Yl(r.t,e)?(Ql(r),r.o[e]=ec(r.A.h,i,r)):i},has:function(r,e){return e in Wr(r)},ownKeys:function(r){return Reflect.ownKeys(Wr(r))},set:function(r,e,t){var i=ah(Wr(r),e);if(i?.set)return i.set.call(r.k,t),!0;if(!r.P){var n=Yl(Wr(r),e),a=n?.[we];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(uh(t,n)&&(t!==void 0||Qo(r.t,e)))return!0;Ql(r),Vr(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return Yl(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Ql(r),Vr(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=Wr(r),i=Reflect.getOwnPropertyDescriptor(t,e);return i&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:i.enumerable,value:t[e]}},defineProperty:function(){Rt(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){Rt(12)}},sn={};vo(cn,function(r,e){sn[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),sn.deleteProperty=function(r,e){return sn.set.call(this,r,e,void 0)},sn.set=function(r,e,t){return cn.set.call(this,r[0],e,t,r[0])};bv=function(){function r(t){var i=this;this.O=ch,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(R){var F=this;R===void 0&&(R=l);for(var N=arguments.length,M=Array(N>1?N-1:0),L=1;L<N;L++)M[L-1]=arguments[L];return d.produce(R,function(I){var A;return(A=a).call.apply(A,[F,I].concat(M))})}}var f;if(typeof a!="function"&&Rt(6),s!==void 0&&typeof s!="function"&&Rt(7),Ut(n)){var g=ih(i),m=ec(i,n,void 0),x=!0;try{f=a(m),x=!1}finally{x?Qn(g):Jl(g)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(R){return Zl(g,s),ql(R,g)},function(R){throw Qn(g),R}):(Zl(g,s),ql(f,g))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===hh&&(f=void 0),i.D&&nc(f,!0),s){var C=[],O=[];Jt("Patches").M(n,f,C,O),s(C,O)}return f}Rt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var g=arguments.length,m=Array(g>1?g-1:0),x=1;x<g;x++)m[x-1]=arguments[x];return i.produceWithPatches(f,function(C){return n.apply(void 0,[C].concat(m))})};var s,l,d=i.produce(n,a,function(f,g){s=f,l=g});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){Ut(t)||Rt(8),Er(t)&&(t=hv(t));var i=ih(this),n=ec(this,t,void 0);return n[we].C=!0,Jl(i),n},e.finishDraft=function(t,i){var n=t&&t[we],a=n.A;return Zl(a,i),ql(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ch&&Rt(20),this.O=t},e.applyPatches=function(t,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Jt("Patches").$;return Er(t)?s(t,i):this.produce(t,function(l){return s(l,i)})},r}(),St=new bv,xv=St.produce,Zw=St.produceWithPatches.bind(St),qw=St.setAutoFreeze.bind(St),Yw=St.setUseProxies.bind(St),Qw=St.applyPatches.bind(St),Xw=St.createDraft.bind(St),Jw=St.finishDraft.bind(St),ea=xv});function So(r){"@babel/helpers - typeof";return So=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},So(r)}var lc=u(()=>{});function gh(r,e){if(So(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(So(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var yh=u(()=>{lc()});function bh(r){var e=gh(r,"string");return So(e)=="symbol"?e:e+""}var xh=u(()=>{lc();yh()});function vh(r,e,t){return(e=bh(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Sh=u(()=>{xh()});function Ch(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function cc(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ch(Object(t),!0).forEach(function(i){vh(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Ch(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}var Oh=u(()=>{Sh()});function Qe(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}function vv(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function pc(r,e,t){var i;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(Qe(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(Qe(1));return t(pc)(r,e)}if(typeof r!="function")throw new Error(Qe(2));var n=r,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function g(){if(d)throw new Error(Qe(3));return a}function m(R){if(typeof R!="function")throw new Error(Qe(4));if(d)throw new Error(Qe(5));var F=!0;return f(),l.push(R),function(){if(F){if(d)throw new Error(Qe(6));F=!1,f();var M=l.indexOf(R);l.splice(M,1),s=null}}}function x(R){if(!vv(R))throw new Error(Qe(7));if(typeof R.type>"u")throw new Error(Qe(8));if(d)throw new Error(Qe(9));try{d=!0,a=n(a,R)}finally{d=!1}for(var F=s=l,N=0;N<F.length;N++){var M=F[N];M()}return R}function C(R){if(typeof R!="function")throw new Error(Qe(10));n=R,x({type:ra.REPLACE})}function O(){var R,F=m;return R={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(Qe(11));function L(){M.next&&M.next(g())}L();var I=F(L);return{unsubscribe:I}}},R[Eh]=function(){return this},R}return x({type:ra.INIT}),i={dispatch:x,subscribe:m,getState:g,replaceReducer:C},i[Eh]=O,i}function Sv(r){Object.keys(r).forEach(function(e){var t=r[e],i=t(void 0,{type:ra.INIT});if(typeof i>"u")throw new Error(Qe(12));if(typeof t(void 0,{type:ra.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Qe(13))})}function wh(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++){var n=e[i];typeof r[n]=="function"&&(t[n]=r[n])}var a=Object.keys(t),s,l;try{Sv(t)}catch(d){l=d}return function(f,g){if(f===void 0&&(f={}),l)throw l;if(0)var m;for(var x=!1,C={},O=0;O<a.length;O++){var R=a[O],F=t[R],N=f[R],M=F(N,g);if(typeof M>"u"){var L=g&&g.type;throw new Error(Qe(14))}C[R]=M,x=x||M!==N}return x=x||a.length!==Object.keys(f).length,x?C:f}}function ei(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Rh(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Qe(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=ei.apply(void 0,l)(n.dispatch),cc(cc({},n),{},{dispatch:a})}}}var Eh,dc,ra,oa=u(()=>{Oh();Eh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),dc=function(){return Math.random().toString(36).substring(7).split("").join(".")},ra={INIT:"@@redux/INIT"+dc(),REPLACE:"@@redux/REPLACE"+dc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+dc()}}});function Ah(r){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,r):s(l)}}};return e}var Lh,uc,Ih=u(()=>{Lh=Ah();Lh.withExtraArgument=Ah;uc=Lh});function kv(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}function gc(r){return Ut(r)?ea(r,function(){}):r}function Tv(r){return typeof r=="boolean"}function Pv(){return function(e){return Nv(e)}}function Nv(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,i=r.immutableCheck,n=i===void 0?!0:i,a=r.serializableCheck,s=a===void 0?!0:a,l=new _v;if(t&&(Tv(t)?l.push(uc):l.push(uc.withExtraArgument(t.extraArgument))),0){if(n)var d;if(s)var f}return l}function Nh(r){var e=Pv(),t=r||{},i=t.reducer,n=i===void 0?void 0:i,a=t.middleware,s=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,f=t.preloadedState,g=f===void 0?void 0:f,m=t.enhancers,x=m===void 0?void 0:m,C;if(typeof n=="function")C=n;else if(kv(n))C=wh(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var O=s;if(typeof O=="function"&&(O=O(e),!hc&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!hc&&O.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=Rh.apply(void 0,O),F=ei;d&&(F=Iv(jr({trace:!hc},typeof d=="object"&&d)));var N=new $v(R),M=N;Array.isArray(x)?M=ti([R],x):typeof x=="function"&&(M=x(N));var L=F.apply(void 0,M);return pc(C,g,L)}function Gr(r,e){function t(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return jr(jr({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:i[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(i){return i.type===r},t}function Fh(r){var e={},t=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return r(n),[e,t,i]}function Fv(r){return typeof r=="function"}function Bv(r,e,t,i){t===void 0&&(t=[]);var n=typeof e=="function"?Fh(e):[e,t,i],a=n[0],s=n[1],l=n[2],d;if(Fv(r))d=function(){return gc(r())};else{var f=gc(r);d=function(){return f}}function g(m,x){m===void 0&&(m=d());var C=ti([a[x.type]],s.filter(function(O){var R=O.matcher;return R(x)}).map(function(O){var R=O.reducer;return R}));return C.filter(function(O){return!!O}).length===0&&(C=[l]),C.reduce(function(O,R){if(R)if(Er(O)){var F=O,N=R(F,x);return N===void 0?O:N}else{if(Ut(O))return ea(O,function(M){return R(M,x)});var N=R(O,x);if(N===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return O},m)}return g.getInitialState=d,g}function Dv(r,e){return r+"/"+e}function Bh(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:gc(r.initialState),i=r.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(g){var m=i[g],x=Dv(e,g),C,O;"reducer"in m?(C=m.reducer,O=m.prepare):C=m,a[g]=C,s[x]=C,l[g]=O?Gr(x,O):Gr(x)});function d(){var g=typeof r.extraReducers=="function"?Fh(r.extraReducers):[r.extraReducers],m=g[0],x=m===void 0?{}:m,C=g[1],O=C===void 0?[]:C,R=g[2],F=R===void 0?void 0:R,N=jr(jr({},x),s);return Bv(t,function(M){for(var L in N)M.addCase(L,N[L]);for(var I=0,A=O;I<A.length;I++){var V=A[I];M.addMatcher(V.matcher,V.reducer)}F&&M.addDefaultCase(F)})}var f;return{name:e,reducer:function(g,m){return f||(f=d()),f(g,m)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}function Wv(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function Vv(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Ph,Cv,ti,Ov,Ev,wv,kh,Rv,Av,_h,jr,fc,Lv,Iv,yR,_v,$v,hc,Mv,Uv,zv,mc,$h,Hv,SR,Dh,Mh,Uh,CR,OR,ER,wR,yc,RR,AR,LR,Th,IR,jv,kR,zh=u(()=>{ta();oa();oa();oa();Ih();ta();ta();Ph=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Cv=function(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(g){return d([f,g])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,n=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(r,t)}catch(g){f=[6,g],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},ti=function(r,e){for(var t=0,i=e.length,n=r.length;t<i;t++,n++)r[n]=e[t];return r},Ov=Object.defineProperty,Ev=Object.defineProperties,wv=Object.getOwnPropertyDescriptors,kh=Object.getOwnPropertySymbols,Rv=Object.prototype.hasOwnProperty,Av=Object.prototype.propertyIsEnumerable,_h=function(r,e,t){return e in r?Ov(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},jr=function(r,e){for(var t in e||(e={}))Rv.call(e,t)&&_h(r,t,e[t]);if(kh)for(var i=0,n=kh(e);i<n.length;i++){var t=n[i];Av.call(e,t)&&_h(r,t,e[t])}return r},fc=function(r,e){return Ev(r,wv(e))},Lv=function(r,e,t){return new Promise(function(i,n){var a=function(d){try{l(t.next(d))}catch(f){n(f)}},s=function(d){try{l(t.throw(d))}catch(f){n(f)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((t=t.apply(r,e)).next())})},Iv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ei:ei.apply(null,arguments)},yR=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};_v=function(r){Ph(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,ti([void 0],t[0].concat(this)))):new(e.bind.apply(e,ti([void 0],t.concat(this))))},e}(Array),$v=function(r){Ph(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,ti([void 0],t[0].concat(this)))):new(e.bind.apply(e,ti([void 0],t.concat(this))))},e}(Array);hc=!0;Mv="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Uv=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=Mv[Math.random()*64|0];return e},zv=["name","message","stack","code"],mc=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),$h=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Hv=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,i=zv;t<i.length;t++){var n=i[t];typeof r[n]=="string"&&(e[n]=r[n])}return e}return{message:String(r)}},SR=function(){function r(e,t,i){var n=Gr(e+"/fulfilled",function(g,m,x,C){return{payload:g,meta:fc(jr({},C||{}),{arg:x,requestId:m,requestStatus:"fulfilled"})}}),a=Gr(e+"/pending",function(g,m,x){return{payload:void 0,meta:fc(jr({},x||{}),{arg:m,requestId:g,requestStatus:"pending"})}}),s=Gr(e+"/rejected",function(g,m,x,C,O){return{payload:C,error:(i&&i.serializeError||Hv)(g||"Rejected"),meta:fc(jr({},O||{}),{arg:x,requestId:m,rejectedWithValue:!!C,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function f(g){return function(m,x,C){var O=i?.idGenerator?i.idGenerator(g):Uv(),R=new d,F,N=!1;function M(I){F=I,R.abort()}var L=function(){return Lv(this,null,function(){var I,A,V,q,oe,pe,j;return Cv(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),q=(I=i?.condition)==null?void 0:I.call(i,g,{getState:x,extra:C}),Vv(q)?[4,q]:[3,2];case 1:q=b.sent(),b.label=2;case 2:if(q===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,oe=new Promise(function(w,G){return R.signal.addEventListener("abort",function(){return G({name:"AbortError",message:F||"Aborted"})})}),m(a(O,g,(A=i?.getPendingMeta)==null?void 0:A.call(i,{requestId:O,arg:g},{getState:x,extra:C}))),[4,Promise.race([oe,Promise.resolve(t(g,{dispatch:m,getState:x,extra:C,requestId:O,signal:R.signal,abort:M,rejectWithValue:function(w,G){return new mc(w,G)},fulfillWithValue:function(w,G){return new $h(w,G)}})).then(function(w){if(w instanceof mc)throw w;return w instanceof $h?n(w.payload,O,g,w.meta):n(w,O,g)})])];case 3:return V=b.sent(),[3,5];case 4:return pe=b.sent(),V=pe instanceof mc?s(null,O,g,pe.payload,pe.meta):s(pe,O,g),[3,5];case 5:return j=i&&!i.dispatchConditionRejection&&s.match(V)&&V.meta.condition,j||m(V),[2,V]}})})}();return Object.assign(L,{abort:M,requestId:O,arg:g,unwrap:function(){return L.then(Wv)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return r.withTypes=function(){return r},r}();Dh="listener",Mh="completed",Uh="cancelled",CR="task-"+Uh,OR="task-"+Mh,ER=Dh+"-"+Uh,wR=Dh+"-"+Mh,yc="listenerMiddleware",RR=Gr(yc+"/add"),AR=Gr(yc+"/removeAll"),LR=Gr(yc+"/remove"),IR=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Th||(Th=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},jv=function(r){return function(e){setTimeout(e,r)}},kR=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:jv(10);fh()});function Gv(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))bo(e)&&e.clear()}var wr,Hh=u(()=>{"use strict";zh();Yn();Kl();Hi();window.ftReduxStores||(window.ftReduxStores={});wr=class r extends yr{static get(e){var t;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(bo(a))return a;if(n==null)return;let s=Bh({...n,reducers:(t=n.reducers)!==null&&t!==void 0?t:{}}),l=Nh({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[n.name]=new r(s,l,n.eventBus)}constructor(e,t,i){super(),this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.commands=new nn;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,f=a[d];return f?(...g)=>{let m=f(...g.map(n));return this.reduxStore.dispatch(m),m}:g=>{this.setState({[d]:n(g)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});function ri(r,e,t){return new ia(r,e,t).watch()}var ia,Wh=u(()=>{"use strict";Br();ia=class{constructor(e,t,i){this.store=e,this.valueSelector=t,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),t=this.valueSelector(e);Fr(this.lastValue,t)&&(this.callback(t,e),this.lastValue=t)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var bc={};ae(bc,{FtCommandQueue:()=>nn,FtLitElementRedux:()=>ct,FtReduxStore:()=>wr,ReduxWatcher:()=>ia,clearAllStores:()=>Gv,isFtReduxStore:()=>bo,redux:()=>Oe,reduxEventListener:()=>cv,reduxReactive:()=>lv,watch:()=>ri});var na=u(()=>{"use strict";Jf();Kl();oh();Hh();Yn();Wh()});var Cc={};ae(Cc,{scrollHelper:()=>Sc});var xc,aa,vc,Sc,Oc=u(()=>{"use strict";Br();aa=new Map,vc=class{lock(e,t){if(t){let i=aa.get(t);if(i==null||i===e)return aa.set(t,e),t}}release(e,t){t&&aa.get(t)===e&&aa.delete(t)}findFirstScrollableParent(e){var t;let i,n;for(let a of Fs(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(t=i??n)!==null&&t!==void 0?t:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){var i,n;let a=0;for(;t&&t.offsetParent!==e.offsetParent;)a+=(i=t.offsetTop)!==null&&i!==void 0?i:0,t=t.offsetParent;return a+((n=t?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=uo(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;i.scrollTo({behavior:t?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(xc=window.FluidTopicsScrollHelper)!==null&&xc!==void 0?xc:new vc;Sc=window.FluidTopicsScrollHelper});var jh=Nb((Kr,Vh)=>{var sa=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,la=function(){function r(){this.fetch=!1,this.DOMException=sa.DOMException}return r.prototype=sa,new r}();(function(r){var e=function(t){var i=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(b){return b&&DataView.prototype.isPrototypeOf(b)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function d(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function f(b){return typeof b!="string"&&(b=String(b)),b}function g(b){var w={next:function(){var G=b.shift();return{done:G===void 0,value:G}}};return n.iterable&&(w[Symbol.iterator]=function(){return w}),w}function m(b){this.map={},b instanceof m?b.forEach(function(w,G){this.append(G,w)},this):Array.isArray(b)?b.forEach(function(w){if(w.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+w.length);this.append(w[0],w[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(w){this.append(w,b[w])},this)}m.prototype.append=function(b,w){b=d(b),w=f(w);var G=this.map[b];this.map[b]=G?G+", "+w:w},m.prototype.delete=function(b){delete this.map[d(b)]},m.prototype.get=function(b){return b=d(b),this.has(b)?this.map[b]:null},m.prototype.has=function(b){return this.map.hasOwnProperty(d(b))},m.prototype.set=function(b,w){this.map[d(b)]=f(w)},m.prototype.forEach=function(b,w){for(var G in this.map)this.map.hasOwnProperty(G)&&b.call(w,this.map[G],G,this)},m.prototype.keys=function(){var b=[];return this.forEach(function(w,G){b.push(G)}),g(b)},m.prototype.values=function(){var b=[];return this.forEach(function(w){b.push(w)}),g(b)},m.prototype.entries=function(){var b=[];return this.forEach(function(w,G){b.push([G,w])}),g(b)},n.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function x(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function C(b){return new Promise(function(w,G){b.onload=function(){w(b.result)},b.onerror=function(){G(b.error)}})}function O(b){var w=new FileReader,G=C(w);return w.readAsArrayBuffer(b),G}function R(b){var w=new FileReader,G=C(w),fe=/charset=([A-Za-z0-9_-]+)/.exec(b.type),Ce=fe?fe[1]:"utf-8";return w.readAsText(b,Ce),G}function F(b){for(var w=new Uint8Array(b),G=new Array(w.length),fe=0;fe<w.length;fe++)G[fe]=String.fromCharCode(w[fe]);return G.join("")}function N(b){if(b.slice)return b.slice(0);var w=new Uint8Array(b.byteLength);return w.set(new Uint8Array(b)),w.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:n.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:n.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():n.arrayBuffer&&n.blob&&a(b)?(this._bodyArrayBuffer=N(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=N(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var b=x(this);if(b)return b;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 b=x(this);return b||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(O);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=x(this);if(b)return b;if(this._bodyBlob)return R(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(F(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(V)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function I(b){var w=b.toUpperCase();return L.indexOf(w)>-1?w:b}function A(b,w){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');w=w||{};var G=w.body;if(b instanceof A){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,w.headers||(this.headers=new m(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!G&&b._bodyInit!=null&&(G=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=w.credentials||this.credentials||"same-origin",(w.headers||!this.headers)&&(this.headers=new m(w.headers)),this.method=I(w.method||this.method||"GET"),this.mode=w.mode||this.mode||null,this.signal=w.signal||this.signal||function(){if("AbortController"in i){var de=new AbortController;return de.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&G)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(G),(this.method==="GET"||this.method==="HEAD")&&(w.cache==="no-store"||w.cache==="no-cache")){var fe=/([?&])_=[^&]*/;if(fe.test(this.url))this.url=this.url.replace(fe,"$1_="+new Date().getTime());else{var Ce=/\?/;this.url+=(Ce.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}A.prototype.clone=function(){return new A(this,{body:this._bodyInit})};function V(b){var w=new FormData;return b.trim().split("&").forEach(function(G){if(G){var fe=G.split("="),Ce=fe.shift().replace(/\+/g," "),de=fe.join("=").replace(/\+/g," ");w.append(decodeURIComponent(Ce),decodeURIComponent(de))}}),w}function q(b){var w=new m,G=b.replace(/\r?\n[\t ]+/g," ");return G.split("\r").map(function(fe){return fe.indexOf(`
|
|
48
|
-
`)===0?fe.substr(1,fe.length):fe}).forEach(function(fe){var Ce=fe.split(":"),de=Ce.shift().trim();if(de){var On=Ce.join(":").trim();try{w.append(de,On)}catch(es){console.warn("Response "+es.message)}}}),w}M.call(A.prototype);function oe(b,w){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(w||(w={}),this.type="default",this.status=w.status===void 0?200:w.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=w.statusText===void 0?"":""+w.statusText,this.headers=new m(w.headers),this.url=w.url||"",this._initBody(b)}M.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},oe.error=function(){var b=new oe(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var pe=[301,302,303,307,308];oe.redirect=function(b,w){if(pe.indexOf(w)===-1)throw new RangeError("Invalid status code");return new oe(null,{status:w,headers:{location:b}})},t.DOMException=i.DOMException;try{new t.DOMException}catch{t.DOMException=function(w,G){this.message=w,this.name=G;var fe=Error(w);this.stack=fe.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function j(b,w){return new Promise(function(G,fe){var Ce=new A(b,w);if(Ce.signal&&Ce.signal.aborted)return fe(new t.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function On(){de.abort()}de.onload=function(){var Ge={statusText:de.statusText,headers:q(de.getAllResponseHeaders()||"")};Ce.url.indexOf("file://")===0&&(de.status<200||de.status>599)?Ge.status=200:Ge.status=de.status,Ge.url="responseURL"in de?de.responseURL:Ge.headers.get("X-Request-URL");var io="response"in de?de.response:de.responseText;setTimeout(function(){G(new oe(io,Ge))},0)},de.onerror=function(){setTimeout(function(){fe(new TypeError("Network request failed"))},0)},de.ontimeout=function(){setTimeout(function(){fe(new TypeError("Network request timed out"))},0)},de.onabort=function(){setTimeout(function(){fe(new t.DOMException("Aborted","AbortError"))},0)};function es(Ge){try{return Ge===""&&i.location.href?i.location.href:Ge}catch{return Ge}}if(de.open(Ce.method,es(Ce.url),!0),Ce.credentials==="include"?de.withCredentials=!0:Ce.credentials==="omit"&&(de.withCredentials=!1),"responseType"in de&&(n.blob?de.responseType="blob":n.arrayBuffer&&(de.responseType="arraybuffer")),w&&typeof w.headers=="object"&&!(w.headers instanceof m||i.Headers&&w.headers instanceof i.Headers)){var Zp=[];Object.getOwnPropertyNames(w.headers).forEach(function(Ge){Zp.push(d(Ge)),de.setRequestHeader(Ge,f(w.headers[Ge]))}),Ce.headers.forEach(function(Ge,io){Zp.indexOf(io)===-1&&de.setRequestHeader(io,Ge)})}else Ce.headers.forEach(function(Ge,io){de.setRequestHeader(io,Ge)});Ce.signal&&(Ce.signal.addEventListener("abort",On),de.onreadystatechange=function(){de.readyState===4&&Ce.signal.removeEventListener("abort",On)}),de.send(typeof Ce._bodyInit>"u"?null:Ce._bodyInit)})}return j.polyfill=!0,i.fetch||(i.fetch=j,i.Headers=m,i.Request=A,i.Response=oe),t.Headers=m,t.Request=A,t.Response=oe,t.fetch=j,t}({})})(la);la.fetch.ponyfill=!0;delete la.fetch.polyfill;var oi=sa.fetch?sa:la;Kr=oi.fetch;Kr.default=oi.fetch;Kr.fetch=oi.fetch;Kr.Headers=oi.Headers;Kr.Request=oi.Request;Kr.Response=oi.Response;Vh.exports=Kr});var Ec=u(()=>{});var Gh,Kh,Zh,ii,qh,Yh,Co,Qh,Xh,Jh,em,tm,rm,om,im,nm,Oo,lm,am,ca,sm,ni,cm,At,ai,Ue,wc=u(()=>{(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Gh||(Gh={}));(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Kh||(Kh={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.MAP_ATTACHMENT="MAP_ATTACHMENT",r.RESOURCE="RESOURCE"})(Zh||(Zh={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.MAP_ATTACHMENT="MAP_ATTACHMENT",r.RESOURCE="RESOURCE"})(ii||(ii={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(qh||(qh={}));(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(Yh||(Yh={}));(function(r){r.BOOKMARK__CREATE="BOOKMARK__CREATE",r.BOOKMARK__DELETE="BOOKMARK__DELETE",r.CASE_DEFLECTION__START="CASE_DEFLECTION__START",r.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",r.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",r.COLLECTION__CREATE="COLLECTION__CREATE",r.COLLECTION__UPDATE="COLLECTION__UPDATE",r.COLLECTION__DELETE="COLLECTION__DELETE",r.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",r.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",r.DOCUMENT__PRINT="DOCUMENT__PRINT",r.DOCUMENT__PROCESS="DOCUMENT__PROCESS",r.DOCUMENT__RATE="DOCUMENT__RATE",r.DOCUMENT__SEARCH="DOCUMENT__SEARCH",r.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",r.DOCUMENT__UNRATE="DOCUMENT__UNRATE",r.FEEDBACK__SEND="FEEDBACK__SEND",r.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",r.GEN_AI__RATE="GEN_AI__RATE",r.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",r.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",r.KHUB__PROCESS="KHUB__PROCESS",r.KHUB__SEARCH="KHUB__SEARCH",r.LABELS__DOWNLOAD="LABELS__DOWNLOAD",r.LINK__SHARE="LINK__SHARE",r.PAGE__DISPLAY="PAGE__DISPLAY",r.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",r.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",r.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",r.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",r.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",r.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",r.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",r.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",r.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",r.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",r.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",r.TOPIC__DISPLAY="TOPIC__DISPLAY",r.TOPIC__RATE="TOPIC__RATE",r.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",r.TOPIC__UNRATE="TOPIC__UNRATE",r.USER__LOGIN="USER__LOGIN",r.USER__LOGOUT="USER__LOGOUT",r.HEARTBEAT="HEARTBEAT"})(Co||(Co={}));(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(Qh||(Qh={}));(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(Xh||(Xh={}));(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Jh||(Jh={}));(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(em||(em={}));(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(tm||(tm={}));(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(rm||(rm={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(om||(om={}));(function(r){r.ASC="ASC",r.DESC="DESC"})(im||(im={}));(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(nm||(nm={}));(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Oo||(Oo={}));lm=r=>Object.keys(Oo).includes(r);(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(am||(am={}));(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(ca||(ca={}));(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(sm||(sm={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(ni||(ni={}));cm=r=>Object.keys(ni).includes(r);(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(At||(At={}));(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ai||(ai={}));(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN"})(Ue||(Ue={}))});var dm,pm,um,fm=u(()=>{(function(r){r.VALID="VALID",r.INVALID="INVALID"})(dm||(dm={}));(function(r){r.JSON="JSON",r.TEXT="TEXT"})(pm||(pm={}));(function(r){r.TEXT="TEXT",r.HTML="HTML"})(um||(um={}))});function hm(r,e){return r===e||(Kv[r]??[]).some(t=>hm(t,e))}function mm(r,e){return r==null?!1:(Array.isArray(r)?r:Array.isArray(r.roles)?r.roles:Array.isArray(r.profile?.roles)?r.profile.roles:[]).some(i=>hm(i,e))}var Kv,gm=u(()=>{wc();Kv={[Ue.PERSONAL_BOOK_SHARE_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.HTML_EXPORT_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.PDF_EXPORT_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.KHUB_ADMIN]:[Ue.CONTENT_PUBLISHER],[Ue.ADMIN]:[Ue.KHUB_ADMIN,Ue.USERS_ADMIN,Ue.PORTAL_ADMIN],[Ue.GENERATIVE_AI_EXPORT_USER]:[Ue.GENERATIVE_AI_USER]}});var ym=u(()=>{});var Zv,si=u(()=>{Zv=Bb(jh(),1);Ec();wc();fm();gm();ym();Ec()});var Rc={};ae(Rc,{SearchPlaceConverter:()=>Zr,SearchPlaceQueryParams:()=>xe,isSearchPlaceQueryParams:()=>xm,serializeRequest:()=>Yv});function qv(r){return`"${r}"`}function bm(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Yv(r,e){return new Zr(r).serialize(e)}function xm(r){return Qv.has(r)}var xe,Qv,Zr,Ac=u(()=>{"use strict";si();Br();(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(xe||(xe={}));Qv=new Set(Object.values(xe));Zr=class{constructor(e,t={},i=20,n=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=t,this.defaultPerPage=i,this.allLanguagesAllowed=n,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,t){return this.serializeToCurrentPageIfPossible(e,t??"/search")}serializeToCurrentPageIfPossible(e,t){let i=t==null||t.trim().length===0,n=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${t}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,t=!1){var i,n,a,s,l,d,f,g,m,x,C,O;let R=new URLSearchParams;e.contentLocale?(!t||e.contentLocale!==this.defaultContentLocale)&&R.append(xe.LOCALE,e.contentLocale):R.append(xe.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&R.append(xe.QUERY,e.query);let F=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(A=>{var V;return((V=A.valueFilter)===null||V===void 0?void 0:V.negative)===!1}))!==null&&a!==void 0?a:[];if(F.length>0){let A=F.map(V=>{var q,oe;let pe=((oe=(q=V.valueFilter)===null||q===void 0?void 0:q.values)!==null&&oe!==void 0?oe:[]).map(j=>this.escapeFilters(j)).map(j=>qv(bm(j))).join("_");return`${V.key}~${pe}`}).join("*");R.append(xe.VALUE_FILTERS,A)}let N=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(A=>A.dateFilter))!==null&&l!==void 0?l:[];if(N.length>0){let A=N.map(V=>{var q;return`${V.key}~${(q=V.dateFilter)===null||q===void 0?void 0:q.type.toLowerCase()}`}).join("*");R.append(xe.DATE_FILTERS,A)}let M=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(A=>A.rangeFilter))!==null&&f!==void 0?f:[];if(M.length>0){let A=M.map(V=>{var q,oe;return`${V.key}~${(q=V.rangeFilter)===null||q===void 0?void 0:q.from}_${(oe=V.rangeFilter)===null||oe===void 0?void 0:oe.to}`}).join("*");R.append(xe.RANGE_FILTERS,A)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&R.append(xe.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&R.append(xe.SCOPE,e.scope.toLowerCase()),((g=e.sort)===null||g===void 0?void 0:g.length)>0&&e.sort[0].key==="ft:lastEdition"&&R.append(xe.SORT,"last_update"),!((m=e.paging)===null||m===void 0)&&m.perPage&&((C=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&C!==void 0?C:this.defaultPerPage)!=this.defaultPerPage&&R.append(xe.PER_PAGE,String(e.paging.perPage));let L=(O=e.otherQueryParams)!==null&&O!==void 0?O:{};for(let A in L)R.append(A,L[A]);let I=new Array;return R.forEach((A,V)=>{I.push(this.encodeQueryString(V)+"="+this.encodeQueryString(A))}),encodeURI(I.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var t;let i=e.split("?"),n=this.fromURLSearchParams(i.slice(1).join("?")),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:n.scope}}fromURLSearchParams(e){var t,i,n,a,s,l,d,f;try{e=decodeURI(e).replace(/%23/g,"#")}catch(N){console.warn("Could not decode search request query params, fallback on raw value",N)}let g=new URLSearchParams(e),m=g.get(xe.LOCALE)==="all"?void 0:g.get(xe.LOCALE),x=((t=g.get(xe.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),C=((i=g.get(xe.SORT))!==null&&i!==void 0?i:"DEFAULT").toUpperCase(),O=(n=g.get(xe.SCOPE))!==null&&n!==void 0?n:"default",R=+((a=g.get(xe.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),F={};for(let N of g.keys())xm(N)||(F[N]=g.get(N));return{contentLocale:m??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=g.get(xe.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[O])!==null&&l!==void 0?l:"DEFAULT",virtualField:lm(x)?x:"EVERYWHERE",sort:(f=(d=this.predefinedSorts[C])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&f!==void 0?f:[],metadataFilters:this.parseCompatFilters(g),facets:[],paging:{page:1,perPage:uo(1,isNaN(R)?this.defaultPerPage:R,1e3)},otherQueryParams:F}}parseCompatFilters(e){var t,i,n,a,s,l;let d=[];return e.has(xe.FILTERS)&&(d=this.parseValueFilters((t=e.get(xe.FILTERS))!==null&&t!==void 0?t:"")),(i=e.has(xe.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(xe.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(xe.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(xe.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(xe.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(bm).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:ni[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(t,i);return e}superEscapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replace(n,t);return e}parseLegacyPeriodFilter(e){if(cm(e))return[{key:"ft:lastEdition",dateFilter:{type:ni[e]}}];if(e.startsWith("CUSTOM_")){let[t,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}}});var kc={};ae(kc,{toFtFormComponent:()=>Ic});function Ic(r){class e extends r{static get formAssociated(){return!0}get form(){return this[Lc].form}constructor(...i){super(i),this[Lc]=this.attachInternals()}setFormValue(i){this[Lc].setFormValue(i)}}return e}var Lc,_c=u(()=>{"use strict";Lc=Symbol("elementInternals")});var $c={};ae($c,{DateFormatter:()=>li});var li,da=u(()=>{"use strict";li=class{static format(e,t,i,n){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(i,n)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}}});var Pc={};ae(Pc,{ALL_KEYS_VALUE:()=>Tc,SameWindowStorageEvent:()=>ci});var Tc,ci,Nc=u(()=>{"use strict";Tc="__all__",ci=class extends CustomEvent{constructor(e,t,i){super("same-window-storage",{detail:{key:e,oldValue:t,newValue:i}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Tc}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new ci(t[0],i,t[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new ci(t[0],i))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(r,e,t){Reflect.apply(r,e,t),window.dispatchEvent(new ci(Tc))}})});var Bc={};ae(Bc,{FocusMainContentEvent:()=>Fc});var Fc,Dc=u(()=>{"use strict";Fc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var vm={};function Xv(r){(r.key==="Enter"||r.key===" "||r.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function Jv(r){window.FluidTopicsA11yHints.isKeyboardNavigation=r.detail==0}var Mc=u(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1};document.addEventListener("keydown",Xv);document.addEventListener("click",Jv)});var di,Uc=u(()=>{"use strict";P();di=k`
|
|
47
|
+
`});var Xf={};var Vl=u(()=>{"use strict"});var jl={};ae(jl,{ParametrizedLabelResolver:()=>zr});var zr,Gl=u(()=>{"use strict";zr=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var i,n;e=this.resolvePluralKey(e,t);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(i,s))),e}resolvePluralKey(e,t){for(let i of t)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let i=n=>t?.includes("date")?e.toLocaleDateString(n):t?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}}});var lv,Oe,cv,Jf=u(()=>{"use strict";Br();Y();lv=()=>(r,e)=>{var t;let i=r.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(t=i.reduxReactiveProperties)===null||t===void 0||t.add(e)},Oe=r=>{let e=r??{};return(t,i)=>{var n;let a={hasChanged:Fr,attribute:!1,...e};h(a)(t,i);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},cv=r=>(e,t)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(t,r)}});var nn,Kl=u(()=>{"use strict";nn=class{constructor(){this.queue=[]}add(e,t=!1){t&&this.clear(e.type),this.queue.push(e)}consume(e){let t=this.queue.find(i=>i.type===e);return t&&(this.queue=this.queue.filter(i=>i!==t)),t}clear(e){typeof e=="string"?this.queue=this.queue.filter(t=>t.type!==e):this.queue=this.queue.filter(t=>!e.test(t.type))}}});function bo(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Yn=u(()=>{"use strict"});var eh,th,rh,an,Hr,xo,ct,oh=u(()=>{"use strict";Ji();Yn();an=Symbol("internalReduxEventsUnsubscribers"),Hr=Symbol("internalStoresUnsubscribers"),xo=Symbol("internalStores"),ct=class extends H{constructor(){super(...arguments),this[eh]=new Map,this[th]=new Map,this[rh]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[xo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xo].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[xo].get(e)}addStore(e,t){var i;t=(i=t??(bo(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(t),this[xo].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[xo].delete(t)}setupStores(){this.unsubscribeFromStores(),this[xo].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let i=this.constructor.getPropertyOptions(t);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:t)){let n=this.getStore(e.store);n&&(e.store?this[Hr].has(e.store):this[Hr].size>0)&&(this[t]=e.selector(n.getState(),this))}})}subscribeToStore(e,t){var i;this[Hr].set(e,t.subscribe(()=>this.updateFromStores())),this[an].set(e,[]),bo(t)&&t.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||t.name===n.store)){let s=l=>this[a](l);t.addEventListener(n.eventName,s),this[an].get(e).push(()=>t.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Hr].forEach((e,t)=>this.unsubscribeFromStore(t))}unsubscribeFromStore(e){var t;this[Hr].has(e)&&this[Hr].get(e)(),this[Hr].delete(e),(t=this[an].get(e))===null||t===void 0||t.forEach(i=>i()),this[an].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};eh=Hr,th=xo,rh=an;ct.reduxProperties=new Map;ct.reduxReactiveProperties=new Set;ct.reduxEventListeners=new Map});function Rt(r){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Er(r){return!!r&&!!r[we]}function Ut(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var i=Object.getPrototypeOf(t);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===yv}(r)||Array.isArray(r)||!!r[dh]||!!(!((e=r.constructor)===null||e===void 0)&&e[dh])||rc(r)||oc(r))}function vo(r,e,t){t===void 0&&(t=!1),Jo(r)===0?(t?Object.keys:Xo)(r).forEach(function(i){t&&typeof i=="symbol"||e(i,r[i],r)}):r.forEach(function(i,n){return e(n,i,r)})}function Jo(r){var e=r[we];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:rc(r)?2:oc(r)?3:0}function Qo(r,e){return Jo(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function dv(r,e){return Jo(r)===2?r.get(e):r[e]}function ph(r,e,t){var i=Jo(r);i===2?r.set(e,t):i===3?r.add(t):r[e]=t}function uh(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function rc(r){return mv&&r instanceof Map}function oc(r){return gv&&r instanceof Set}function Wr(r){return r.o||r.t}function ic(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=mh(r);delete e[we];for(var t=Xo(e),i=0;i<t.length;i++){var n=t[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[n]})}return Object.create(Object.getPrototypeOf(r),e)}function nc(r,e){return e===void 0&&(e=!1),ac(r)||Er(r)||!Ut(r)||(Jo(r)>1&&(r.set=r.add=r.clear=r.delete=pv),Object.freeze(r),e&&vo(r,function(t,i){return nc(i,!0)},!0)),r}function pv(){Rt(2)}function ac(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function Jt(r){var e=tc[r];return e||Rt(18,r),e}function uv(r,e){tc[r]||(tc[r]=e)}function Xl(){return ln}function Zl(r,e){e&&(Jt("Patches"),r.u=[],r.s=[],r.v=e)}function Qn(r){Jl(r),r.p.forEach(fv),r.p=null}function Jl(r){r===ln&&(ln=r.l)}function ih(r){return ln={p:[],l:ln,h:r,m:!0,_:0}}function fv(r){var e=r[we];e.i===0||e.i===1?e.j():e.g=!0}function ql(r,e){e._=e.p.length;var t=e.p[0],i=r!==void 0&&r!==t;return e.h.O||Jt("ES5").S(e,r,i),i?(t[we].P&&(Qn(e),Rt(4)),Ut(r)&&(r=Xn(e,r),e.l||Jn(e,r)),e.u&&Jt("Patches").M(t[we].t,r,e.u,e.s)):r=Xn(e,t,[]),Qn(e),e.u&&e.v(e.u,e.s),r!==hh?r:void 0}function Xn(r,e,t){if(ac(e))return e;var i=e[we];if(!i)return vo(e,function(l,d){return nh(r,i,e,l,d,t)},!0),e;if(i.A!==r)return e;if(!i.P)return Jn(r,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=ic(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),vo(a,function(l,d){return nh(r,i,n,l,d,t,s)}),Jn(r,n,!1),t&&r.u&&Jt("Patches").N(i,t,r.u,r.s)}return i.o}function nh(r,e,t,i,n,a,s){if(Er(n)){var l=Xn(r,n,a&&e&&e.i!==3&&!Qo(e.R,i)?a.concat(i):void 0);if(ph(t,i,l),!Er(l))return;r.m=!1}else s&&t.add(n);if(Ut(n)&&!ac(n)){if(!r.h.D&&r._<1)return;Xn(r,n),e&&e.A.l||Jn(r,n)}}function Jn(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&nc(e,t)}function Yl(r,e){var t=r[we];return(t?Wr(t):r)[e]}function ah(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}}function Vr(r){r.P||(r.P=!0,r.l&&Vr(r.l))}function Ql(r){r.o||(r.o=ic(r.t))}function ec(r,e,t){var i=rc(e)?Jt("MapSet").F(e,t):oc(e)?Jt("MapSet").T(e,t):r.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Xl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=cn;s&&(d=[l],f=sn);var g=Proxy.revocable(d,f),m=g.revoke,x=g.proxy;return l.k=x,l.j=m,x}(e,t):Jt("ES5").J(e,t);return(t?t.A:Xl()).p.push(i),i}function hv(r){return Er(r)||Rt(22,r),function e(t){if(!Ut(t))return t;var i,n=t[we],a=Jo(t);if(n){if(!n.P&&(n.i<4||!Jt("ES5").K(n)))return n.t;n.I=!0,i=sh(t,a),n.I=!1}else i=sh(t,a);return vo(i,function(s,l){n&&dv(n.t,s)===l||ph(i,s,e(l))}),a===3?new Set(i):i}(r)}function sh(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return ic(r)}function fh(){function r(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[we];return cn.get(f,s)},set:function(f){var g=this[we];cn.set(g,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][we];if(!d.P)switch(d.i){case 5:i(d)&&Vr(d);break;case 4:t(d)&&Vr(d)}}}function t(s){for(var l=s.t,d=s.k,f=Xo(d),g=f.length-1;g>=0;g--){var m=f[g];if(m!==we){var x=l[m];if(x===void 0&&!Qo(l,m))return!0;var C=d[m],O=C&&C[we];if(O?O.t!==x:!uh(C,x))return!0}}var R=!!l[we];return f.length!==Xo(l).length+(R?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&Rt(3,JSON.stringify(Wr(s)))}var a={};uv("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(m,x){if(m){for(var C=Array(x.length),O=0;O<x.length;O++)Object.defineProperty(C,""+O,r(O,!0));return C}var R=mh(x);delete R[we];for(var F=Xo(R),N=0;N<F.length;N++){var M=F[N];R[M]=r(M,m||!!R[M].enumerable)}return Object.create(Object.getPrototypeOf(x),R)}(d,s),g={i:d?5:4,A:l?l.A:Xl(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,we,{value:g,writable:!0}),f},S:function(s,l,d){d?Er(l)&&l[we].A===s&&e(s.p):(s.u&&function f(g){if(g&&typeof g=="object"){var m=g[we];if(m){var x=m.t,C=m.k,O=m.R,R=m.i;if(R===4)vo(C,function(I){I!==we&&(x[I]!==void 0||Qo(x,I)?O[I]||f(C[I]):(O[I]=!0,Vr(m)))}),vo(x,function(I){C[I]!==void 0||Qo(C,I)||(O[I]=!1,Vr(m))});else if(R===5){if(i(m)&&(Vr(m),O.length=!0),C.length<x.length)for(var F=C.length;F<x.length;F++)O[F]=!1;else for(var N=x.length;N<C.length;N++)O[N]=!0;for(var M=Math.min(C.length,x.length),L=0;L<M;L++)C.hasOwnProperty(L)||(O[L]=!0),O[L]===void 0&&f(C[L])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):i(s)}})}var lh,ln,sc,mv,gv,ch,hh,dh,we,yv,Xo,mh,tc,cn,sn,bv,St,xv,Zw,qw,Yw,Qw,Xw,Jw,ea,ta=u(()=>{sc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",mv=typeof Map<"u",gv=typeof Set<"u",ch=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hh=sc?Symbol.for("immer-nothing"):((lh={})["immer-nothing"]=!0,lh),dh=sc?Symbol.for("immer-draftable"):"__$immer_draftable",we=sc?Symbol.for("immer-state"):"__$immer_state",yv=""+Object.prototype.constructor,Xo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,mh=Object.getOwnPropertyDescriptors||function(r){var e={};return Xo(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},tc={},cn={get:function(r,e){if(e===we)return r;var t=Wr(r);if(!Qo(t,e))return function(n,a,s){var l,d=ah(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(r,t,e);var i=t[e];return r.I||!Ut(i)?i:i===Yl(r.t,e)?(Ql(r),r.o[e]=ec(r.A.h,i,r)):i},has:function(r,e){return e in Wr(r)},ownKeys:function(r){return Reflect.ownKeys(Wr(r))},set:function(r,e,t){var i=ah(Wr(r),e);if(i?.set)return i.set.call(r.k,t),!0;if(!r.P){var n=Yl(Wr(r),e),a=n?.[we];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(uh(t,n)&&(t!==void 0||Qo(r.t,e)))return!0;Ql(r),Vr(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return Yl(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Ql(r),Vr(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=Wr(r),i=Reflect.getOwnPropertyDescriptor(t,e);return i&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:i.enumerable,value:t[e]}},defineProperty:function(){Rt(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){Rt(12)}},sn={};vo(cn,function(r,e){sn[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),sn.deleteProperty=function(r,e){return sn.set.call(this,r,e,void 0)},sn.set=function(r,e,t){return cn.set.call(this,r[0],e,t,r[0])};bv=function(){function r(t){var i=this;this.O=ch,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(R){var F=this;R===void 0&&(R=l);for(var N=arguments.length,M=Array(N>1?N-1:0),L=1;L<N;L++)M[L-1]=arguments[L];return d.produce(R,function(I){var A;return(A=a).call.apply(A,[F,I].concat(M))})}}var f;if(typeof a!="function"&&Rt(6),s!==void 0&&typeof s!="function"&&Rt(7),Ut(n)){var g=ih(i),m=ec(i,n,void 0),x=!0;try{f=a(m),x=!1}finally{x?Qn(g):Jl(g)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(R){return Zl(g,s),ql(R,g)},function(R){throw Qn(g),R}):(Zl(g,s),ql(f,g))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===hh&&(f=void 0),i.D&&nc(f,!0),s){var C=[],O=[];Jt("Patches").M(n,f,C,O),s(C,O)}return f}Rt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var g=arguments.length,m=Array(g>1?g-1:0),x=1;x<g;x++)m[x-1]=arguments[x];return i.produceWithPatches(f,function(C){return n.apply(void 0,[C].concat(m))})};var s,l,d=i.produce(n,a,function(f,g){s=f,l=g});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){Ut(t)||Rt(8),Er(t)&&(t=hv(t));var i=ih(this),n=ec(this,t,void 0);return n[we].C=!0,Jl(i),n},e.finishDraft=function(t,i){var n=t&&t[we],a=n.A;return Zl(a,i),ql(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ch&&Rt(20),this.O=t},e.applyPatches=function(t,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Jt("Patches").$;return Er(t)?s(t,i):this.produce(t,function(l){return s(l,i)})},r}(),St=new bv,xv=St.produce,Zw=St.produceWithPatches.bind(St),qw=St.setAutoFreeze.bind(St),Yw=St.setUseProxies.bind(St),Qw=St.applyPatches.bind(St),Xw=St.createDraft.bind(St),Jw=St.finishDraft.bind(St),ea=xv});function So(r){"@babel/helpers - typeof";return So=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},So(r)}var lc=u(()=>{});function gh(r,e){if(So(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(So(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var yh=u(()=>{lc()});function bh(r){var e=gh(r,"string");return So(e)=="symbol"?e:e+""}var xh=u(()=>{lc();yh()});function vh(r,e,t){return(e=bh(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Sh=u(()=>{xh()});function Ch(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function cc(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ch(Object(t),!0).forEach(function(i){vh(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Ch(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}var Oh=u(()=>{Sh()});function Qe(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}function vv(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function pc(r,e,t){var i;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(Qe(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(Qe(1));return t(pc)(r,e)}if(typeof r!="function")throw new Error(Qe(2));var n=r,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function g(){if(d)throw new Error(Qe(3));return a}function m(R){if(typeof R!="function")throw new Error(Qe(4));if(d)throw new Error(Qe(5));var F=!0;return f(),l.push(R),function(){if(F){if(d)throw new Error(Qe(6));F=!1,f();var M=l.indexOf(R);l.splice(M,1),s=null}}}function x(R){if(!vv(R))throw new Error(Qe(7));if(typeof R.type>"u")throw new Error(Qe(8));if(d)throw new Error(Qe(9));try{d=!0,a=n(a,R)}finally{d=!1}for(var F=s=l,N=0;N<F.length;N++){var M=F[N];M()}return R}function C(R){if(typeof R!="function")throw new Error(Qe(10));n=R,x({type:ra.REPLACE})}function O(){var R,F=m;return R={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(Qe(11));function L(){M.next&&M.next(g())}L();var I=F(L);return{unsubscribe:I}}},R[Eh]=function(){return this},R}return x({type:ra.INIT}),i={dispatch:x,subscribe:m,getState:g,replaceReducer:C},i[Eh]=O,i}function Sv(r){Object.keys(r).forEach(function(e){var t=r[e],i=t(void 0,{type:ra.INIT});if(typeof i>"u")throw new Error(Qe(12));if(typeof t(void 0,{type:ra.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Qe(13))})}function wh(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++){var n=e[i];typeof r[n]=="function"&&(t[n]=r[n])}var a=Object.keys(t),s,l;try{Sv(t)}catch(d){l=d}return function(f,g){if(f===void 0&&(f={}),l)throw l;if(0)var m;for(var x=!1,C={},O=0;O<a.length;O++){var R=a[O],F=t[R],N=f[R],M=F(N,g);if(typeof M>"u"){var L=g&&g.type;throw new Error(Qe(14))}C[R]=M,x=x||M!==N}return x=x||a.length!==Object.keys(f).length,x?C:f}}function ei(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Rh(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Qe(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=ei.apply(void 0,l)(n.dispatch),cc(cc({},n),{},{dispatch:a})}}}var Eh,dc,ra,oa=u(()=>{Oh();Eh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),dc=function(){return Math.random().toString(36).substring(7).split("").join(".")},ra={INIT:"@@redux/INIT"+dc(),REPLACE:"@@redux/REPLACE"+dc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+dc()}}});function Ah(r){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,r):s(l)}}};return e}var Lh,uc,Ih=u(()=>{Lh=Ah();Lh.withExtraArgument=Ah;uc=Lh});function kv(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}function gc(r){return Ut(r)?ea(r,function(){}):r}function $v(r){return typeof r=="boolean"}function Pv(){return function(e){return Nv(e)}}function Nv(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,i=r.immutableCheck,n=i===void 0?!0:i,a=r.serializableCheck,s=a===void 0?!0:a,l=new _v;if(t&&($v(t)?l.push(uc):l.push(uc.withExtraArgument(t.extraArgument))),0){if(n)var d;if(s)var f}return l}function Nh(r){var e=Pv(),t=r||{},i=t.reducer,n=i===void 0?void 0:i,a=t.middleware,s=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,f=t.preloadedState,g=f===void 0?void 0:f,m=t.enhancers,x=m===void 0?void 0:m,C;if(typeof n=="function")C=n;else if(kv(n))C=wh(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var O=s;if(typeof O=="function"&&(O=O(e),!hc&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!hc&&O.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=Rh.apply(void 0,O),F=ei;d&&(F=Iv(jr({trace:!hc},typeof d=="object"&&d)));var N=new Tv(R),M=N;Array.isArray(x)?M=ti([R],x):typeof x=="function"&&(M=x(N));var L=F.apply(void 0,M);return pc(C,g,L)}function Gr(r,e){function t(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return jr(jr({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:i[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(i){return i.type===r},t}function Fh(r){var e={},t=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return r(n),[e,t,i]}function Fv(r){return typeof r=="function"}function Bv(r,e,t,i){t===void 0&&(t=[]);var n=typeof e=="function"?Fh(e):[e,t,i],a=n[0],s=n[1],l=n[2],d;if(Fv(r))d=function(){return gc(r())};else{var f=gc(r);d=function(){return f}}function g(m,x){m===void 0&&(m=d());var C=ti([a[x.type]],s.filter(function(O){var R=O.matcher;return R(x)}).map(function(O){var R=O.reducer;return R}));return C.filter(function(O){return!!O}).length===0&&(C=[l]),C.reduce(function(O,R){if(R)if(Er(O)){var F=O,N=R(F,x);return N===void 0?O:N}else{if(Ut(O))return ea(O,function(M){return R(M,x)});var N=R(O,x);if(N===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return O},m)}return g.getInitialState=d,g}function Dv(r,e){return r+"/"+e}function Bh(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:gc(r.initialState),i=r.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(g){var m=i[g],x=Dv(e,g),C,O;"reducer"in m?(C=m.reducer,O=m.prepare):C=m,a[g]=C,s[x]=C,l[g]=O?Gr(x,O):Gr(x)});function d(){var g=typeof r.extraReducers=="function"?Fh(r.extraReducers):[r.extraReducers],m=g[0],x=m===void 0?{}:m,C=g[1],O=C===void 0?[]:C,R=g[2],F=R===void 0?void 0:R,N=jr(jr({},x),s);return Bv(t,function(M){for(var L in N)M.addCase(L,N[L]);for(var I=0,A=O;I<A.length;I++){var V=A[I];M.addMatcher(V.matcher,V.reducer)}F&&M.addDefaultCase(F)})}var f;return{name:e,reducer:function(g,m){return f||(f=d()),f(g,m)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}function Wv(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function Vv(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Ph,Cv,ti,Ov,Ev,wv,kh,Rv,Av,_h,jr,fc,Lv,Iv,yR,_v,Tv,hc,Mv,Uv,zv,mc,Th,Hv,SR,Dh,Mh,Uh,CR,OR,ER,wR,yc,RR,AR,LR,$h,IR,jv,kR,zh=u(()=>{ta();oa();oa();oa();Ih();ta();ta();Ph=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Cv=function(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(g){return d([f,g])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,n=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(r,t)}catch(g){f=[6,g],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},ti=function(r,e){for(var t=0,i=e.length,n=r.length;t<i;t++,n++)r[n]=e[t];return r},Ov=Object.defineProperty,Ev=Object.defineProperties,wv=Object.getOwnPropertyDescriptors,kh=Object.getOwnPropertySymbols,Rv=Object.prototype.hasOwnProperty,Av=Object.prototype.propertyIsEnumerable,_h=function(r,e,t){return e in r?Ov(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},jr=function(r,e){for(var t in e||(e={}))Rv.call(e,t)&&_h(r,t,e[t]);if(kh)for(var i=0,n=kh(e);i<n.length;i++){var t=n[i];Av.call(e,t)&&_h(r,t,e[t])}return r},fc=function(r,e){return Ev(r,wv(e))},Lv=function(r,e,t){return new Promise(function(i,n){var a=function(d){try{l(t.next(d))}catch(f){n(f)}},s=function(d){try{l(t.throw(d))}catch(f){n(f)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((t=t.apply(r,e)).next())})},Iv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ei:ei.apply(null,arguments)},yR=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};_v=function(r){Ph(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,ti([void 0],t[0].concat(this)))):new(e.bind.apply(e,ti([void 0],t.concat(this))))},e}(Array),Tv=function(r){Ph(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,ti([void 0],t[0].concat(this)))):new(e.bind.apply(e,ti([void 0],t.concat(this))))},e}(Array);hc=!0;Mv="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Uv=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=Mv[Math.random()*64|0];return e},zv=["name","message","stack","code"],mc=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Th=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Hv=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,i=zv;t<i.length;t++){var n=i[t];typeof r[n]=="string"&&(e[n]=r[n])}return e}return{message:String(r)}},SR=function(){function r(e,t,i){var n=Gr(e+"/fulfilled",function(g,m,x,C){return{payload:g,meta:fc(jr({},C||{}),{arg:x,requestId:m,requestStatus:"fulfilled"})}}),a=Gr(e+"/pending",function(g,m,x){return{payload:void 0,meta:fc(jr({},x||{}),{arg:m,requestId:g,requestStatus:"pending"})}}),s=Gr(e+"/rejected",function(g,m,x,C,O){return{payload:C,error:(i&&i.serializeError||Hv)(g||"Rejected"),meta:fc(jr({},O||{}),{arg:x,requestId:m,rejectedWithValue:!!C,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function f(g){return function(m,x,C){var O=i?.idGenerator?i.idGenerator(g):Uv(),R=new d,F,N=!1;function M(I){F=I,R.abort()}var L=function(){return Lv(this,null,function(){var I,A,V,q,oe,pe,j;return Cv(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),q=(I=i?.condition)==null?void 0:I.call(i,g,{getState:x,extra:C}),Vv(q)?[4,q]:[3,2];case 1:q=b.sent(),b.label=2;case 2:if(q===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,oe=new Promise(function(w,G){return R.signal.addEventListener("abort",function(){return G({name:"AbortError",message:F||"Aborted"})})}),m(a(O,g,(A=i?.getPendingMeta)==null?void 0:A.call(i,{requestId:O,arg:g},{getState:x,extra:C}))),[4,Promise.race([oe,Promise.resolve(t(g,{dispatch:m,getState:x,extra:C,requestId:O,signal:R.signal,abort:M,rejectWithValue:function(w,G){return new mc(w,G)},fulfillWithValue:function(w,G){return new Th(w,G)}})).then(function(w){if(w instanceof mc)throw w;return w instanceof Th?n(w.payload,O,g,w.meta):n(w,O,g)})])];case 3:return V=b.sent(),[3,5];case 4:return pe=b.sent(),V=pe instanceof mc?s(null,O,g,pe.payload,pe.meta):s(pe,O,g),[3,5];case 5:return j=i&&!i.dispatchConditionRejection&&s.match(V)&&V.meta.condition,j||m(V),[2,V]}})})}();return Object.assign(L,{abort:M,requestId:O,arg:g,unwrap:function(){return L.then(Wv)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return r.withTypes=function(){return r},r}();Dh="listener",Mh="completed",Uh="cancelled",CR="task-"+Uh,OR="task-"+Mh,ER=Dh+"-"+Uh,wR=Dh+"-"+Mh,yc="listenerMiddleware",RR=Gr(yc+"/add"),AR=Gr(yc+"/removeAll"),LR=Gr(yc+"/remove"),IR=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return($h||($h=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},jv=function(r){return function(e){setTimeout(e,r)}},kR=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:jv(10);fh()});function Gv(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))bo(e)&&e.clear()}var wr,Hh=u(()=>{"use strict";zh();Yn();Kl();Hi();window.ftReduxStores||(window.ftReduxStores={});wr=class r extends yr{static get(e){var t;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(bo(a))return a;if(n==null)return;let s=Bh({...n,reducers:(t=n.reducers)!==null&&t!==void 0?t:{}}),l=Nh({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[n.name]=new r(s,l,n.eventBus)}constructor(e,t,i){super(),this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.commands=new nn;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,f=a[d];return f?(...g)=>{let m=f(...g.map(n));return this.reduxStore.dispatch(m),m}:g=>{this.setState({[d]:n(g)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});function ri(r,e,t){return new ia(r,e,t).watch()}var ia,Wh=u(()=>{"use strict";Br();ia=class{constructor(e,t,i){this.store=e,this.valueSelector=t,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),t=this.valueSelector(e);Fr(this.lastValue,t)&&(this.callback(t,e),this.lastValue=t)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var bc={};ae(bc,{FtCommandQueue:()=>nn,FtLitElementRedux:()=>ct,FtReduxStore:()=>wr,ReduxWatcher:()=>ia,clearAllStores:()=>Gv,isFtReduxStore:()=>bo,redux:()=>Oe,reduxEventListener:()=>cv,reduxReactive:()=>lv,watch:()=>ri});var na=u(()=>{"use strict";Jf();Kl();oh();Hh();Yn();Wh()});var Cc={};ae(Cc,{scrollHelper:()=>Sc});var xc,aa,vc,Sc,Oc=u(()=>{"use strict";Br();aa=new Map,vc=class{lock(e,t){if(t){let i=aa.get(t);if(i==null||i===e)return aa.set(t,e),t}}release(e,t){t&&aa.get(t)===e&&aa.delete(t)}findFirstScrollableParent(e){var t;let i,n;for(let a of Fs(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(t=i??n)!==null&&t!==void 0?t:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){var i,n;let a=0;for(;t&&t.offsetParent!==e.offsetParent;)a+=(i=t.offsetTop)!==null&&i!==void 0?i:0,t=t.offsetParent;return a+((n=t?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=uo(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;i.scrollTo({behavior:t?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(xc=window.FluidTopicsScrollHelper)!==null&&xc!==void 0?xc:new vc;Sc=window.FluidTopicsScrollHelper});var jh=Nb((Kr,Vh)=>{var sa=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,la=function(){function r(){this.fetch=!1,this.DOMException=sa.DOMException}return r.prototype=sa,new r}();(function(r){var e=function(t){var i=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(b){return b&&DataView.prototype.isPrototypeOf(b)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function d(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function f(b){return typeof b!="string"&&(b=String(b)),b}function g(b){var w={next:function(){var G=b.shift();return{done:G===void 0,value:G}}};return n.iterable&&(w[Symbol.iterator]=function(){return w}),w}function m(b){this.map={},b instanceof m?b.forEach(function(w,G){this.append(G,w)},this):Array.isArray(b)?b.forEach(function(w){if(w.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+w.length);this.append(w[0],w[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(w){this.append(w,b[w])},this)}m.prototype.append=function(b,w){b=d(b),w=f(w);var G=this.map[b];this.map[b]=G?G+", "+w:w},m.prototype.delete=function(b){delete this.map[d(b)]},m.prototype.get=function(b){return b=d(b),this.has(b)?this.map[b]:null},m.prototype.has=function(b){return this.map.hasOwnProperty(d(b))},m.prototype.set=function(b,w){this.map[d(b)]=f(w)},m.prototype.forEach=function(b,w){for(var G in this.map)this.map.hasOwnProperty(G)&&b.call(w,this.map[G],G,this)},m.prototype.keys=function(){var b=[];return this.forEach(function(w,G){b.push(G)}),g(b)},m.prototype.values=function(){var b=[];return this.forEach(function(w){b.push(w)}),g(b)},m.prototype.entries=function(){var b=[];return this.forEach(function(w,G){b.push([G,w])}),g(b)},n.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function x(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function C(b){return new Promise(function(w,G){b.onload=function(){w(b.result)},b.onerror=function(){G(b.error)}})}function O(b){var w=new FileReader,G=C(w);return w.readAsArrayBuffer(b),G}function R(b){var w=new FileReader,G=C(w),fe=/charset=([A-Za-z0-9_-]+)/.exec(b.type),Ce=fe?fe[1]:"utf-8";return w.readAsText(b,Ce),G}function F(b){for(var w=new Uint8Array(b),G=new Array(w.length),fe=0;fe<w.length;fe++)G[fe]=String.fromCharCode(w[fe]);return G.join("")}function N(b){if(b.slice)return b.slice(0);var w=new Uint8Array(b.byteLength);return w.set(new Uint8Array(b)),w.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:n.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:n.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():n.arrayBuffer&&n.blob&&a(b)?(this._bodyArrayBuffer=N(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=N(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var b=x(this);if(b)return b;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 b=x(this);return b||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(O);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=x(this);if(b)return b;if(this._bodyBlob)return R(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(F(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(V)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function I(b){var w=b.toUpperCase();return L.indexOf(w)>-1?w:b}function A(b,w){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');w=w||{};var G=w.body;if(b instanceof A){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,w.headers||(this.headers=new m(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!G&&b._bodyInit!=null&&(G=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=w.credentials||this.credentials||"same-origin",(w.headers||!this.headers)&&(this.headers=new m(w.headers)),this.method=I(w.method||this.method||"GET"),this.mode=w.mode||this.mode||null,this.signal=w.signal||this.signal||function(){if("AbortController"in i){var de=new AbortController;return de.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&G)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(G),(this.method==="GET"||this.method==="HEAD")&&(w.cache==="no-store"||w.cache==="no-cache")){var fe=/([?&])_=[^&]*/;if(fe.test(this.url))this.url=this.url.replace(fe,"$1_="+new Date().getTime());else{var Ce=/\?/;this.url+=(Ce.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}A.prototype.clone=function(){return new A(this,{body:this._bodyInit})};function V(b){var w=new FormData;return b.trim().split("&").forEach(function(G){if(G){var fe=G.split("="),Ce=fe.shift().replace(/\+/g," "),de=fe.join("=").replace(/\+/g," ");w.append(decodeURIComponent(Ce),decodeURIComponent(de))}}),w}function q(b){var w=new m,G=b.replace(/\r?\n[\t ]+/g," ");return G.split("\r").map(function(fe){return fe.indexOf(`
|
|
48
|
+
`)===0?fe.substr(1,fe.length):fe}).forEach(function(fe){var Ce=fe.split(":"),de=Ce.shift().trim();if(de){var On=Ce.join(":").trim();try{w.append(de,On)}catch(es){console.warn("Response "+es.message)}}}),w}M.call(A.prototype);function oe(b,w){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(w||(w={}),this.type="default",this.status=w.status===void 0?200:w.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=w.statusText===void 0?"":""+w.statusText,this.headers=new m(w.headers),this.url=w.url||"",this._initBody(b)}M.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},oe.error=function(){var b=new oe(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var pe=[301,302,303,307,308];oe.redirect=function(b,w){if(pe.indexOf(w)===-1)throw new RangeError("Invalid status code");return new oe(null,{status:w,headers:{location:b}})},t.DOMException=i.DOMException;try{new t.DOMException}catch{t.DOMException=function(w,G){this.message=w,this.name=G;var fe=Error(w);this.stack=fe.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function j(b,w){return new Promise(function(G,fe){var Ce=new A(b,w);if(Ce.signal&&Ce.signal.aborted)return fe(new t.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function On(){de.abort()}de.onload=function(){var Ge={statusText:de.statusText,headers:q(de.getAllResponseHeaders()||"")};Ce.url.indexOf("file://")===0&&(de.status<200||de.status>599)?Ge.status=200:Ge.status=de.status,Ge.url="responseURL"in de?de.responseURL:Ge.headers.get("X-Request-URL");var io="response"in de?de.response:de.responseText;setTimeout(function(){G(new oe(io,Ge))},0)},de.onerror=function(){setTimeout(function(){fe(new TypeError("Network request failed"))},0)},de.ontimeout=function(){setTimeout(function(){fe(new TypeError("Network request timed out"))},0)},de.onabort=function(){setTimeout(function(){fe(new t.DOMException("Aborted","AbortError"))},0)};function es(Ge){try{return Ge===""&&i.location.href?i.location.href:Ge}catch{return Ge}}if(de.open(Ce.method,es(Ce.url),!0),Ce.credentials==="include"?de.withCredentials=!0:Ce.credentials==="omit"&&(de.withCredentials=!1),"responseType"in de&&(n.blob?de.responseType="blob":n.arrayBuffer&&(de.responseType="arraybuffer")),w&&typeof w.headers=="object"&&!(w.headers instanceof m||i.Headers&&w.headers instanceof i.Headers)){var Zp=[];Object.getOwnPropertyNames(w.headers).forEach(function(Ge){Zp.push(d(Ge)),de.setRequestHeader(Ge,f(w.headers[Ge]))}),Ce.headers.forEach(function(Ge,io){Zp.indexOf(io)===-1&&de.setRequestHeader(io,Ge)})}else Ce.headers.forEach(function(Ge,io){de.setRequestHeader(io,Ge)});Ce.signal&&(Ce.signal.addEventListener("abort",On),de.onreadystatechange=function(){de.readyState===4&&Ce.signal.removeEventListener("abort",On)}),de.send(typeof Ce._bodyInit>"u"?null:Ce._bodyInit)})}return j.polyfill=!0,i.fetch||(i.fetch=j,i.Headers=m,i.Request=A,i.Response=oe),t.Headers=m,t.Request=A,t.Response=oe,t.fetch=j,t}({})})(la);la.fetch.ponyfill=!0;delete la.fetch.polyfill;var oi=sa.fetch?sa:la;Kr=oi.fetch;Kr.default=oi.fetch;Kr.fetch=oi.fetch;Kr.Headers=oi.Headers;Kr.Request=oi.Request;Kr.Response=oi.Response;Vh.exports=Kr});var Ec=u(()=>{});var Gh,Kh,Zh,ii,qh,Yh,Co,Qh,Xh,Jh,em,tm,rm,om,im,nm,Oo,lm,am,ca,sm,ni,cm,At,ai,Ue,wc=u(()=>{(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Gh||(Gh={}));(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Kh||(Kh={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.MAP_ATTACHMENT="MAP_ATTACHMENT",r.RESOURCE="RESOURCE"})(Zh||(Zh={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.MAP_ATTACHMENT="MAP_ATTACHMENT",r.RESOURCE="RESOURCE"})(ii||(ii={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(qh||(qh={}));(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(Yh||(Yh={}));(function(r){r.BOOKMARK__CREATE="BOOKMARK__CREATE",r.BOOKMARK__DELETE="BOOKMARK__DELETE",r.CASE_DEFLECTION__START="CASE_DEFLECTION__START",r.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",r.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",r.COLLECTION__CREATE="COLLECTION__CREATE",r.COLLECTION__UPDATE="COLLECTION__UPDATE",r.COLLECTION__DELETE="COLLECTION__DELETE",r.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",r.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",r.DOCUMENT__PRINT="DOCUMENT__PRINT",r.DOCUMENT__PROCESS="DOCUMENT__PROCESS",r.DOCUMENT__RATE="DOCUMENT__RATE",r.DOCUMENT__SEARCH="DOCUMENT__SEARCH",r.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",r.DOCUMENT__UNRATE="DOCUMENT__UNRATE",r.FEEDBACK__SEND="FEEDBACK__SEND",r.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",r.GEN_AI__RATE="GEN_AI__RATE",r.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",r.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",r.KHUB__PROCESS="KHUB__PROCESS",r.KHUB__SEARCH="KHUB__SEARCH",r.LABELS__DOWNLOAD="LABELS__DOWNLOAD",r.LINK__SHARE="LINK__SHARE",r.PAGE__DISPLAY="PAGE__DISPLAY",r.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",r.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",r.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",r.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",r.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",r.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",r.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",r.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",r.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",r.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",r.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",r.TOPIC__DISPLAY="TOPIC__DISPLAY",r.TOPIC__RATE="TOPIC__RATE",r.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",r.TOPIC__UNRATE="TOPIC__UNRATE",r.USER__LOGIN="USER__LOGIN",r.USER__LOGOUT="USER__LOGOUT",r.HEARTBEAT="HEARTBEAT"})(Co||(Co={}));(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(Qh||(Qh={}));(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(Xh||(Xh={}));(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Jh||(Jh={}));(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(em||(em={}));(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(tm||(tm={}));(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(rm||(rm={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(om||(om={}));(function(r){r.ASC="ASC",r.DESC="DESC"})(im||(im={}));(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(nm||(nm={}));(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Oo||(Oo={}));lm=r=>Object.keys(Oo).includes(r);(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(am||(am={}));(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(ca||(ca={}));(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(sm||(sm={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(ni||(ni={}));cm=r=>Object.keys(ni).includes(r);(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(At||(At={}));(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ai||(ai={}));(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN"})(Ue||(Ue={}))});var dm,pm,um,fm=u(()=>{(function(r){r.VALID="VALID",r.INVALID="INVALID"})(dm||(dm={}));(function(r){r.JSON="JSON",r.TEXT="TEXT"})(pm||(pm={}));(function(r){r.TEXT="TEXT",r.HTML="HTML"})(um||(um={}))});function hm(r,e){return r===e||(Kv[r]??[]).some(t=>hm(t,e))}function mm(r,e){return r==null?!1:(Array.isArray(r)?r:Array.isArray(r.roles)?r.roles:Array.isArray(r.profile?.roles)?r.profile.roles:[]).some(i=>hm(i,e))}var Kv,gm=u(()=>{wc();Kv={[Ue.PERSONAL_BOOK_SHARE_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.HTML_EXPORT_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.PDF_EXPORT_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.KHUB_ADMIN]:[Ue.CONTENT_PUBLISHER],[Ue.ADMIN]:[Ue.KHUB_ADMIN,Ue.USERS_ADMIN,Ue.PORTAL_ADMIN],[Ue.GENERATIVE_AI_EXPORT_USER]:[Ue.GENERATIVE_AI_USER]}});var ym=u(()=>{});var Zv,si=u(()=>{Zv=Bb(jh(),1);Ec();wc();fm();gm();ym();Ec()});var Rc={};ae(Rc,{SearchPlaceConverter:()=>Zr,SearchPlaceQueryParams:()=>xe,isSearchPlaceQueryParams:()=>xm,serializeRequest:()=>Yv});function qv(r){return`"${r}"`}function bm(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Yv(r,e){return new Zr(r).serialize(e)}function xm(r){return Qv.has(r)}var xe,Qv,Zr,Ac=u(()=>{"use strict";si();Br();(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(xe||(xe={}));Qv=new Set(Object.values(xe));Zr=class{constructor(e,t={},i=20,n=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=t,this.defaultPerPage=i,this.allLanguagesAllowed=n,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,t){return this.serializeToCurrentPageIfPossible(e,t??"/search")}serializeToCurrentPageIfPossible(e,t){let i=t==null||t.trim().length===0,n=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${t}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,t=!1){var i,n,a,s,l,d,f,g,m,x,C,O;let R=new URLSearchParams;e.contentLocale?(!t||e.contentLocale!==this.defaultContentLocale)&&R.append(xe.LOCALE,e.contentLocale):R.append(xe.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&R.append(xe.QUERY,e.query);let F=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(A=>{var V;return((V=A.valueFilter)===null||V===void 0?void 0:V.negative)===!1}))!==null&&a!==void 0?a:[];if(F.length>0){let A=F.map(V=>{var q,oe;let pe=((oe=(q=V.valueFilter)===null||q===void 0?void 0:q.values)!==null&&oe!==void 0?oe:[]).map(j=>this.escapeFilters(j)).map(j=>qv(bm(j))).join("_");return`${V.key}~${pe}`}).join("*");R.append(xe.VALUE_FILTERS,A)}let N=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(A=>A.dateFilter))!==null&&l!==void 0?l:[];if(N.length>0){let A=N.map(V=>{var q;return`${V.key}~${(q=V.dateFilter)===null||q===void 0?void 0:q.type.toLowerCase()}`}).join("*");R.append(xe.DATE_FILTERS,A)}let M=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(A=>A.rangeFilter))!==null&&f!==void 0?f:[];if(M.length>0){let A=M.map(V=>{var q,oe;return`${V.key}~${(q=V.rangeFilter)===null||q===void 0?void 0:q.from}_${(oe=V.rangeFilter)===null||oe===void 0?void 0:oe.to}`}).join("*");R.append(xe.RANGE_FILTERS,A)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&R.append(xe.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&R.append(xe.SCOPE,e.scope.toLowerCase()),((g=e.sort)===null||g===void 0?void 0:g.length)>0&&e.sort[0].key==="ft:lastEdition"&&R.append(xe.SORT,"last_update"),!((m=e.paging)===null||m===void 0)&&m.perPage&&((C=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&C!==void 0?C:this.defaultPerPage)!=this.defaultPerPage&&R.append(xe.PER_PAGE,String(e.paging.perPage));let L=(O=e.otherQueryParams)!==null&&O!==void 0?O:{};for(let A in L)R.append(A,L[A]);let I=new Array;return R.forEach((A,V)=>{I.push(this.encodeQueryString(V)+"="+this.encodeQueryString(A))}),encodeURI(I.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var t;let i=e.split("?"),n=this.fromURLSearchParams(i.slice(1).join("?")),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:n.scope}}fromURLSearchParams(e){var t,i,n,a,s,l,d,f;try{e=decodeURI(e).replace(/%23/g,"#")}catch(N){console.warn("Could not decode search request query params, fallback on raw value",N)}let g=new URLSearchParams(e),m=g.get(xe.LOCALE)==="all"?void 0:g.get(xe.LOCALE),x=((t=g.get(xe.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),C=((i=g.get(xe.SORT))!==null&&i!==void 0?i:"DEFAULT").toUpperCase(),O=(n=g.get(xe.SCOPE))!==null&&n!==void 0?n:"default",R=+((a=g.get(xe.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),F={};for(let N of g.keys())xm(N)||(F[N]=g.get(N));return{contentLocale:m??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=g.get(xe.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[O])!==null&&l!==void 0?l:"DEFAULT",virtualField:lm(x)?x:"EVERYWHERE",sort:(f=(d=this.predefinedSorts[C])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&f!==void 0?f:[],metadataFilters:this.parseCompatFilters(g),facets:[],paging:{page:1,perPage:uo(1,isNaN(R)?this.defaultPerPage:R,1e3)},otherQueryParams:F}}parseCompatFilters(e){var t,i,n,a,s,l;let d=[];return e.has(xe.FILTERS)&&(d=this.parseValueFilters((t=e.get(xe.FILTERS))!==null&&t!==void 0?t:"")),(i=e.has(xe.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(xe.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(xe.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(xe.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(xe.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(bm).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:ni[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(t,i);return e}superEscapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replace(n,t);return e}parseLegacyPeriodFilter(e){if(cm(e))return[{key:"ft:lastEdition",dateFilter:{type:ni[e]}}];if(e.startsWith("CUSTOM_")){let[t,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}}});var kc={};ae(kc,{toFtFormComponent:()=>Ic});function Ic(r){class e extends r{static get formAssociated(){return!0}get form(){return this[Lc].form}constructor(...i){super(i),this[Lc]=this.attachInternals()}setFormValue(i){this[Lc].setFormValue(i)}}return e}var Lc,_c=u(()=>{"use strict";Lc=Symbol("elementInternals")});var Tc={};ae(Tc,{DateFormatter:()=>li});var li,da=u(()=>{"use strict";li=class{static format(e,t,i,n){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(i,n)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}}});var Pc={};ae(Pc,{ALL_KEYS_VALUE:()=>$c,SameWindowStorageEvent:()=>ci});var $c,ci,Nc=u(()=>{"use strict";$c="__all__",ci=class extends CustomEvent{constructor(e,t,i){super("same-window-storage",{detail:{key:e,oldValue:t,newValue:i}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==$c}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new ci(t[0],i,t[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new ci(t[0],i))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(r,e,t){Reflect.apply(r,e,t),window.dispatchEvent(new ci($c))}})});var Bc={};ae(Bc,{FocusMainContentEvent:()=>Fc});var Fc,Dc=u(()=>{"use strict";Fc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var vm={};function Xv(r){(r.key==="Enter"||r.key===" "||r.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function Jv(r){window.FluidTopicsA11yHints.isKeyboardNavigation=r.detail==0}var Mc=u(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1};document.addEventListener("keydown",Xv);document.addEventListener("click",Jv)});var di,Uc=u(()=>{"use strict";P();di=k`
|
|
49
49
|
.sr-only {
|
|
50
50
|
position:absolute;
|
|
51
51
|
left:-10000px;
|
|
@@ -69,7 +69,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
69
69
|
width:auto;
|
|
70
70
|
height:auto;
|
|
71
71
|
}
|
|
72
|
-
`});var Sm,Cm,Om=u(()=>{"use strict";Y();(function(r){r.blur="blur",r.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",r.input="input"})(Sm||(Sm={}));(function(r){r.default="default",r.warning="warning",r.error="error"})(Cm||(Cm={}))});var Em=u(()=>{"use strict"});var wm=u(()=>{"use strict";Om();Em()});var zc,Hc,Wc,Vc,Eo,jc,_=u(()=>{"use strict";Yp();P();Y();Zt();nt();ku();zi();ks();Nn();Ps();Fn();Mn();ul();Hi();Kn();Un();Fl();Ji();Bl();Br();zl();Wl();Vl();Gl();na();Zn();Oc();qn();Ac();_c();da();te();Nc();Dc();Mc();Uc();Dc();Mc();ks();Nn();Ps();da();Fn();Mn();ul();Hi();Kn();Oc();Un();Fl();_c();Ji();Bl();Br();zl();Wl();Vl();Gl();na();Nc();Zn();qn();Ac();Uc();wm();te();Eo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Wc=(Hc=(zc=window.safari)===null||zc===void 0?void 0:zc.pushNotification)===null||Hc===void 0?void 0:Hc.toString())!==null&&Wc!==void 0?Wc:"")==="[object SafariRemoteNotification]",jc="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Vc=window.ftGlobals)!==null&&Vc!==void 0?Vc:{lit:hs,litDecorators:xs,litRepeat:vs,litClassMap:Ss,litStyleMap:Cs,litUnsafeHTML:Os,wcUtils:{...Is,...Es
|
|
72
|
+
`});var Sm,Cm,Om=u(()=>{"use strict";Y();(function(r){r.blur="blur",r.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",r.input="input"})(Sm||(Sm={}));(function(r){r.default="default",r.warning="warning",r.error="error"})(Cm||(Cm={}))});var Em=u(()=>{"use strict"});var wm=u(()=>{"use strict";Om();Em()});var zc,Hc,Wc,Vc,Eo,jc,_=u(()=>{"use strict";Yp();P();Y();Zt();nt();ku();zi();ks();Nn();Ps();Fn();Mn();ul();Hi();Kn();Un();Fl();Ji();Bl();Br();zl();Wl();Vl();Gl();na();Zn();Oc();qn();Ac();_c();da();te();Nc();Dc();Mc();Uc();Dc();Mc();ks();Nn();Ps();da();Fn();Mn();ul();Hi();Kn();Oc();Un();Fl();_c();Ji();Bl();Br();zl();Wl();Vl();Gl();na();Nc();Zn();qn();Ac();Uc();wm();te();Eo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Wc=(Hc=(zc=window.safari)===null||zc===void 0?void 0:zc.pushNotification)===null||Hc===void 0?void 0:Hc.toString())!==null&&Wc!==void 0?Wc:"")==="[object SafariRemoteNotification]",jc="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Vc=window.ftGlobals)!==null&&Vc!==void 0?Vc:{lit:hs,litDecorators:xs,litRepeat:vs,litClassMap:Ss,litStyleMap:Cs,litUnsafeHTML:Os,wcUtils:{...Is,...Es,...$s,...Tc,...Ns,...Ds,...pl,...Ls,...kl,...Bc,...vm,...Cc,...dl,...Nl,...kc,...Pl,...Kf,...Bs,...Ul,...Hl,...di,...Xf,...jl,...bc,...Pc,..._l,...$l,...Rc,isSafari:Eo,isTouchScreen:jc,setVariable:y}}});var Rm,T,Am,Lm,Im,km,_m,Rr=u(()=>{"use strict";P();_();Rm=o.extend("--ft-ripple-color","",E.colorContent),T={color:Rm,backgroundColor:o.extend("--ft-ripple-background-color","",Rm),opacityContentOnSurfacePressed:o.external(E.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(E.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(E.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(E.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Am=o.extend("--ft-ripple-color","",E.colorPrimary),Lm={color:Am,backgroundColor:o.extend("--ft-ripple-background-color","",Am)},Im=o.extend("--ft-ripple-color","",E.colorSecondary),km={color:Im,backgroundColor:o.extend("--ft-ripple-background-color","",Im)},_m=k`
|
|
73
73
|
:host {
|
|
74
74
|
display: contents;
|
|
75
75
|
}
|
|
@@ -82,7 +82,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
82
82
|
|
|
83
83
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
84
84
|
overflow: hidden;
|
|
85
|
-
border-radius: ${
|
|
85
|
+
border-radius: ${T.borderRadius};
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.ft-ripple .ft-ripple--background,
|
|
@@ -116,11 +116,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.ft-ripple .ft-ripple--background {
|
|
119
|
-
background-color: ${
|
|
119
|
+
background-color: ${T.backgroundColor};
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.ft-ripple .ft-ripple--effect {
|
|
123
|
-
background-color: ${
|
|
123
|
+
background-color: ${T.color};
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
@@ -166,22 +166,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
169
|
-
opacity: ${
|
|
169
|
+
opacity: ${T.opacityContentOnSurfaceHover};
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
173
|
-
opacity: ${
|
|
173
|
+
opacity: ${T.opacityContentOnSurfaceSelected};
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
177
|
-
opacity: ${
|
|
177
|
+
opacity: ${T.opacityContentOnSurfaceFocused};
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
181
|
-
opacity: ${
|
|
181
|
+
opacity: ${T.opacityContentOnSurfacePressed};
|
|
182
182
|
transform: translate(-50%, -50%) scale(1);
|
|
183
183
|
}
|
|
184
|
-
`});function
|
|
184
|
+
`});function $m(r){let e=Gi[r];return k`
|
|
185
185
|
.ft-typography--${hr(r)} {
|
|
186
186
|
font-family: ${e.fontFamily};
|
|
187
187
|
font-size: ${e.fontSize};
|
|
@@ -285,7 +285,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
285
285
|
.ft-typography {
|
|
286
286
|
vertical-align: inherit;
|
|
287
287
|
}
|
|
288
|
-
`,jm=[Object.keys(Gi).map(r
|
|
288
|
+
`,jm=[Object.keys(Gi).map(r=>$m(r))]});var Re,Gm,dn=u(()=>{"use strict";P();_();Re={color:o.extend("--ft-loader-color","",E.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Gm=k`
|
|
289
289
|
:host {
|
|
290
290
|
line-height: 0;
|
|
291
291
|
}
|
|
@@ -446,7 +446,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
446
446
|
--ft-button-internal-line-height: max(calc(${J.fontSize} + 2px), ${J.iconSize});
|
|
447
447
|
--ft-button-internal-color: ${J.color};
|
|
448
448
|
${y(Pe.size,J.iconSize)};
|
|
449
|
-
${y(
|
|
449
|
+
${y(T.color,J.rippleColor)};
|
|
450
450
|
|
|
451
451
|
border-radius: ${J.borderRadius};
|
|
452
452
|
padding: ${J.verticalPadding} ${J.horizontalPadding};
|
|
@@ -490,7 +490,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
490
490
|
.ft-button.ft-button--primary {
|
|
491
491
|
background-color: ${Gc.backgroundColor};
|
|
492
492
|
--ft-button-internal-color: ${Gc.color};
|
|
493
|
-
${y(
|
|
493
|
+
${y(T.color,Gc.rippleColor)};
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
.ft-button:focus {
|
|
@@ -605,12 +605,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
605
605
|
</div>
|
|
606
606
|
</div>
|
|
607
607
|
</div>
|
|
608
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(t=>e.has(t))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,t){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(t),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(t=>t.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="",Ll(this.slottedElement,this.tooltip,this.position).then(({x:e,y:t})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${t}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,t){return Math.max(e,Math.min(0,-t))}};Ae.elementDefinitions={"ft-typography":re};Ae.styles=og;ut([h()],Ae.prototype,"text",void 0);ut([h({type:Boolean})],Ae.prototype,"manual",void 0);ut([h({type:Boolean})],Ae.prototype,"inline",void 0);ut([h({type:Number})],Ae.prototype,"delay",void 0);ut([h()],Ae.prototype,"position",void 0);ut([bs()],Ae.prototype,"slotNodes",void 0);ut([z(".ft-tooltip--container")],Ae.prototype,"container",void 0);ut([z(".ft-tooltip")],Ae.prototype,"tooltip",void 0);ut([z(".ft-tooltip--content")],Ae.prototype,"tooltipContent",void 0);ut([D()],Ae.prototype,"visible",void 0);ut([Bo({passive:!0})],Ae.prototype,"onTouch",null);ut([Bo({passive:!0})],Ae.prototype,"onHover",null);ut([Bo({passive:!0})],Ae.prototype,"onOut",null);ut([Bo({passive:!0})],Ae.prototype,"onClick",null)});var ig=u(()=>{"use strict"});var fa=u(()=>{"use strict";_();Xc();Xc();ua();ig();U("ft-tooltip")(Ae)});function ha(r,e){var t,i,n,a;r=(r??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((t=t0.get(r))!==null&&t!==void 0?t:r)+"/").split("/");return(a=(n=(i=Jc.get(l))!==null&&i!==void 0?i:Jc.get(e))!==null&&n!==void 0?n:Jc.get(s))!==null&&a!==void 0?a:B.UNKNOWN}var ft,B,Jc,t0,WI,ed=u(()=>{"use strict";(function(r){r.ADD_TO_PBK="",r.ALERT="",r.ADD_ALERT="",r.BACK_TO_SEARCH="",r.ADD_BOOKMARK="",r.BOOKMARK="",r.BOOKS="",r.MENU="",r.DOWNLOAD="",r.EDIT="",r.FEEDBACK="",r.HOME="",r.MODIFY_PBK="",r.SCHEDULED="",r.SEARCH="",r.EXPORT="",r.TOC="",r.WRITE_UGC="",r.TRASH="",r.USER="",r.EXTLINK="",r.CALENDAR="",r.OFFLINE="",r.BOOK="",r.DOWNLOAD_PLAIN="",r.CHECK="",r.STAR_PLAIN="",r.TOPICS="",r.DISC="",r.CIRCLE="",r.SHARED="",r.SORT_UNSORTED="",r.SORT_UP="",r.SORT_DOWN="",r.WORKING="",r.CLOSE="",r.ZOOM_OUT="",r.ZOOM_IN="",r.ZOOM_REALSIZE="",r.ZOOM_FULLSCREEN="",r.ADMIN_RESTRICTED="",r.ADMIN="",r.ADMIN_KHUB="",r.ADMIN_THEME="",r.ADMIN_USERS="",r.WARNING="",r.CONTEXT="",r.SEARCH_HOME="",r.STEPS="",r.ICON_EXPAND="",r.ICON_COLLAPSE="",r.INFO="",r.MINUS_PLAIN="",r.PLUS_PLAIN="",r.FACET_HAS_DESCENDANT="",r.TRIANGLE_BOTTOM="",r.TRIANGLE_LEFT="",r.TRIANGLE_RIGHT="",r.TRIANGLE_TOP="",r.THIN_ARROW="",r.SIGN_IN="",r.LOGOUT="",r.TRANSLATE="",r.CLOSE_PLAIN="",r.CHECK_PLAIN="",r.ARTICLE="",r.COLUMNS="",r.ANALYTICS="",r.COLLECTIONS="",r.ARROW_DOWN="",r.ARROW_LEFT="",r.ARROW_RIGHT="",r.ARROW_UP="",r.SEARCH_IN_PUBLICATION="",r.COPY_TO_CLIPBOARD="",r.SHARED_PBK="",r.ATTACHMENTS="",r.STRIPE_ARROW_LEFT="",r.STRIPE_ARROW_RIGHT="",r.FILTERS="",r.DOT="",r.MINUS="",r.PLUS="",r.MAILS_AND_NOTIFICATIONS="",r.SAVE="",r.LOCKER="",r.ADMIN_INTEGRATION="",r.SYNC="",r.TAG="",r.BOOK_PLAIN="",r.UPLOAD="",r.ONLINE="",r.TAG_PLAIN="",r.ACCOUNT_SETTINGS="",r.PRINT="",r.DEFAULT_ROLES="",r.SHORTCUT_MENU="",r.RELATIVES_PLAIN="",r.RELATIVES="",r.PAUSE="",r.PLAY="",r.ADMIN_PORTAL="",r.STAR="",r.THUMBS_DOWN="",r.THUMBS_DOWN_PLAIN="",r.THUMBS_UP="",r.THUMBS_UP_PLAIN="",r.FEEDBACK_PLAIN="",r.RATE_PLAIN="",r.RATE="",r.OFFLINE_SETTINGS="",r.MY_COLLECTIONS="",r.THIN_ARROW_LEFT="",r.THIN_ARROW_RIGHT="",r.RESET="",r.MY_LIBRARY="",r.UNSTRUCTURED_DOC="",r.CONTEXTUAL="",r.THIN_ARROW_UP="",r.ARROW_RIGHT_TO_LINE="",r.DESKTOP="",r.TABLET_LANDSCAPE="",r.TABLET_PORTRAIT="",r.MOBILE_LANDSCAPE="",r.MOBILE_PORTRAIT="",r.DIAGRAM_SUNBURST="",r.DIAGRAM_SANKEY="",r.COMMENT_QUESTION="",r.COMMENT_QUESTION_PLAIN="",r.MESSAGE_BOT="",r.CHART_SIMPLE="",r.BARS_PROGRESS="",r.BOOK_OPEN_GEAR="",r.BOOK_OPEN_GEAR_SLASH="",r.LINE_CHART="",r.STACKED_CHART="",r.CHART_BAR_STACKED="",r.CHART_BAR_GROUPED="",r.EYE_SLASH="",r.X_MARK="",r.EXPAND_WIDE="",r.PIP="",r.PIP_WIDE="",r.LIFE_RING="",r.GLOBE="",r.PIGGY_BANK="",r.EXTLINK_LIGHT="",r.CLONE="",r.CLONE_LINK_SIMPLE="",r.CHART_BAR_NORMALIZED="",r.CONSUMER="",r.OCTAGON_XMARK="",r.HOURGLASS_HALF="",r.CLOCK="",r.CLOCK_THREE="",r.CALENDAR_DAY="",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="",r.WAND_MAGIC_SPARKLES="",r.PAPER_PLANE="",r.CIRCLE_STOP="",r.ARROW_ROTATE_RIGHT="",r.ARROWS_ROTATE="",r.ALIGN_RIGHT="",r.FORMAT_CLEAR="",r.ALIGN_CENTER="",r.ALIGN_LEFT="",r.PALETTE="",r.BOLD="",r.ITALIC="",r.UNDERLINE="",r.STRIKETHROUGH="",r.LINK_SIMPLE_SLASH="",r.LINK_SIMPLE="",r.ROUTE="",r.CIRCLE_USER_SLASH="",r.CIRCLE_USER_CHECK="",r.LIST_MAGNIFYING_GLASS="",r.MEDAL="",r.THUMBS_UP_THUMBS_DOWN_SOLID="",r.ARROW_TURN_DOWN_RIGHT="",r.FLASK="",r.LOCK_KEYHOLE_OPEN_SOLID="",r.HOURGLASS_END="",r.CIRCLE_QUESTION="",r.GRIP_LINES_SOLID="",r.TRANSLATE_SPARKLE_SOLID="",r.CODE="",r.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",r.PAPER_PLANE_SLASH="",r.COMPRESS="",r.EXPAND="",r.ARROW_ROTATE_LEFT="",r.EYE="",r.SHARE="󨃱",r.MOBILE_SMALL="",r.SPARKLES="",r.HAND_SOLID=""})(ft||(ft={}));(function(r){r.UNKNOWN="",r.ABW="",r.AUDIO="",r.AVI="",r.CHM="",r.CODE="",r.CSV="",r.DITA="",r.EPUB="",r.EXCEL="",r.FLAC="",r.GIF="",r.GZIP="",r.HTML="",r.IMAGE="",r.JPEG="",r.JSON="",r.M4A="",r.MOV="",r.MP3="",r.MP4="",r.OGG="",r.PDF="",r.PNG="",r.POWERPOINT="",r.RAR="",r.STP="",r.TEXT="",r.VIDEO="",r.WAV="",r.WMA="",r.WORD="",r.XML="",r.YAML="",r.ZIP=""})(B||(B={}));Jc=new Map([...["abw"].map(r=>[r,B.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(r=>[r,B.AUDIO]),...["avi"].map(r=>[r,B.AVI]),...["chm","xhs"].map(r=>[r,B.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(r=>[r,B.CODE]),...["csv"].map(r=>[r,B.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,B.DITA]),...["epub"].map(r=>[r,B.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,B.EXCEL]),...["flac"].map(r=>[r,B.FLAC]),...["gif"].map(r=>[r,B.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,B.GZIP]),...["html","htm","xhtml"].map(r=>[r,B.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(r=>[r,B.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,B.JPEG]),...["json"].map(r=>[r,B.JSON]),...["m4a","m4p"].map(r=>[r,B.M4A]),...["mov","qt"].map(r=>[r,B.MOV]),...["mp3"].map(r=>[r,B.MP3]),...["mp4","m4v"].map(r=>[r,B.MP4]),...["ogg","oga"].map(r=>[r,B.OGG]),...["pdf","ps"].map(r=>[r,B.PDF]),...["png"].map(r=>[r,B.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,B.POWERPOINT]),...["rar"].map(r=>[r,B.RAR]),...["stp"].map(r=>[r,B.STP]),...["txt","rtf","md","mdown"].map(r=>[r,B.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(r=>[r,B.VIDEO]),...["wav"].map(r=>[r,B.WAV]),...["wma"].map(r=>[r,B.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,B.WORD]),...["xml","xsl","rdf"].map(r=>[r,B.XML]),...["yaml","yml","x-yaml"].map(r=>[r,B.YAML]),...["zip"].map(r=>[r,B.ZIP])]),t0=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"]]);WI={[B.ABW]:"#91ABC6",[B.AUDIO]:"#1795E3",[B.AVI]:"#E63324",[B.CHM]:"#71C3EB",[B.CODE]:"#71C3EB",[B.CSV]:"#1F7345",[B.DITA]:"#71C3EB",[B.EPUB]:"#85B926",[B.EXCEL]:"#1F7345",[B.FLAC]:"#1795E3",[B.GIF]:"#59B031",[B.GZIP]:"#F8AB36",[B.HTML]:"#71C3EB",[B.IMAGE]:"#59B031",[B.JPEG]:"#59B031",[B.JSON]:"#71C3EB",[B.M4A]:"#1795E3",[B.MOV]:"#E63324",[B.MP3]:"#1795E3",[B.MP4]:"#E63324",[B.OGG]:"#1795E3",[B.PDF]:"#E44948",[B.PNG]:"#59B031",[B.POWERPOINT]:"#B54A2B",[B.RAR]:"#F8AB36",[B.STP]:"#3764B1",[B.TEXT]:"#3162AB",[B.UNKNOWN]:"#999999",[B.VIDEO]:"#E63324",[B.WAV]:"#1795E3",[B.WMA]:"#1795E3",[B.WORD]:"#3162AB",[B.XML]:"#71C3EB",[B.YAML]:"#71C3EB",[B.ZIP]:"#F8AB36"}});var Ve,td=u(()=>{"use strict";(function(r){r.fluid_topics="fluid-topics",r.file_format="file-format",r.material="material"})(Ve||(Ve={}))});var pn,ve,rd=u(()=>{"use strict";P();Y();_();zi();ed();wo();td();pn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ve=class extends H{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=T}render(){let e=this.variant&&Object.values(Ve).includes(this.variant)?this.variant:Ve.fluid_topics,t=e!==Ve.material||!!this.value;return S`
|
|
608
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(t=>e.has(t))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,t){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(t),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(t=>t.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="",Ll(this.slottedElement,this.tooltip,this.position).then(({x:e,y:t})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${t}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,t){return Math.max(e,Math.min(0,-t))}};Ae.elementDefinitions={"ft-typography":re};Ae.styles=og;ut([h()],Ae.prototype,"text",void 0);ut([h({type:Boolean})],Ae.prototype,"manual",void 0);ut([h({type:Boolean})],Ae.prototype,"inline",void 0);ut([h({type:Number})],Ae.prototype,"delay",void 0);ut([h()],Ae.prototype,"position",void 0);ut([bs()],Ae.prototype,"slotNodes",void 0);ut([z(".ft-tooltip--container")],Ae.prototype,"container",void 0);ut([z(".ft-tooltip")],Ae.prototype,"tooltip",void 0);ut([z(".ft-tooltip--content")],Ae.prototype,"tooltipContent",void 0);ut([D()],Ae.prototype,"visible",void 0);ut([Bo({passive:!0})],Ae.prototype,"onTouch",null);ut([Bo({passive:!0})],Ae.prototype,"onHover",null);ut([Bo({passive:!0})],Ae.prototype,"onOut",null);ut([Bo({passive:!0})],Ae.prototype,"onClick",null)});var ig=u(()=>{"use strict"});var fa=u(()=>{"use strict";_();Xc();Xc();ua();ig();U("ft-tooltip")(Ae)});function ha(r,e){var t,i,n,a;r=(r??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((t=t0.get(r))!==null&&t!==void 0?t:r)+"/").split("/");return(a=(n=(i=Jc.get(l))!==null&&i!==void 0?i:Jc.get(e))!==null&&n!==void 0?n:Jc.get(s))!==null&&a!==void 0?a:B.UNKNOWN}var ft,B,Jc,t0,WI,ed=u(()=>{"use strict";(function(r){r.ADD_TO_PBK="",r.ALERT="",r.ADD_ALERT="",r.BACK_TO_SEARCH="",r.ADD_BOOKMARK="",r.BOOKMARK="",r.BOOKS="",r.MENU="",r.DOWNLOAD="",r.EDIT="",r.FEEDBACK="",r.HOME="",r.MODIFY_PBK="",r.SCHEDULED="",r.SEARCH="",r.EXPORT="",r.TOC="",r.WRITE_UGC="",r.TRASH="",r.USER="",r.EXTLINK="",r.CALENDAR="",r.OFFLINE="",r.BOOK="",r.DOWNLOAD_PLAIN="",r.CHECK="",r.STAR_PLAIN="",r.TOPICS="",r.DISC="",r.CIRCLE="",r.SHARED="",r.SORT_UNSORTED="",r.SORT_UP="",r.SORT_DOWN="",r.WORKING="",r.CLOSE="",r.ZOOM_OUT="",r.ZOOM_IN="",r.ZOOM_REALSIZE="",r.ZOOM_FULLSCREEN="",r.ADMIN_RESTRICTED="",r.ADMIN="",r.ADMIN_KHUB="",r.ADMIN_THEME="",r.ADMIN_USERS="",r.WARNING="",r.CONTEXT="",r.SEARCH_HOME="",r.STEPS="",r.ICON_EXPAND="",r.ICON_COLLAPSE="",r.INFO="",r.MINUS_PLAIN="",r.PLUS_PLAIN="",r.FACET_HAS_DESCENDANT="",r.TRIANGLE_BOTTOM="",r.TRIANGLE_LEFT="",r.TRIANGLE_RIGHT="",r.TRIANGLE_TOP="",r.THIN_ARROW="",r.SIGN_IN="",r.LOGOUT="",r.TRANSLATE="",r.CLOSE_PLAIN="",r.CHECK_PLAIN="",r.ARTICLE="",r.COLUMNS="",r.ANALYTICS="",r.COLLECTIONS="",r.ARROW_DOWN="",r.ARROW_LEFT="",r.ARROW_RIGHT="",r.ARROW_UP="",r.SEARCH_IN_PUBLICATION="",r.COPY_TO_CLIPBOARD="",r.SHARED_PBK="",r.ATTACHMENTS="",r.STRIPE_ARROW_LEFT="",r.STRIPE_ARROW_RIGHT="",r.FILTERS="",r.DOT="",r.MINUS="",r.PLUS="",r.MAILS_AND_NOTIFICATIONS="",r.SAVE="",r.LOCKER="",r.ADMIN_INTEGRATION="",r.SYNC="",r.TAG="",r.BOOK_PLAIN="",r.UPLOAD="",r.ONLINE="",r.TAG_PLAIN="",r.ACCOUNT_SETTINGS="",r.PRINT="",r.DEFAULT_ROLES="",r.SHORTCUT_MENU="",r.RELATIVES_PLAIN="",r.RELATIVES="",r.PAUSE="",r.PLAY="",r.ADMIN_PORTAL="",r.STAR="",r.THUMBS_DOWN="",r.THUMBS_DOWN_PLAIN="",r.THUMBS_UP="",r.THUMBS_UP_PLAIN="",r.FEEDBACK_PLAIN="",r.RATE_PLAIN="",r.RATE="",r.OFFLINE_SETTINGS="",r.MY_COLLECTIONS="",r.THIN_ARROW_LEFT="",r.THIN_ARROW_RIGHT="",r.RESET="",r.MY_LIBRARY="",r.UNSTRUCTURED_DOC="",r.CONTEXTUAL="",r.THIN_ARROW_UP="",r.ARROW_RIGHT_TO_LINE="",r.DESKTOP="",r.TABLET_LANDSCAPE="",r.TABLET_PORTRAIT="",r.MOBILE_LANDSCAPE="",r.MOBILE_PORTRAIT="",r.DIAGRAM_SUNBURST="",r.DIAGRAM_SANKEY="",r.COMMENT_QUESTION="",r.COMMENT_QUESTION_PLAIN="",r.MESSAGE_BOT="",r.CHART_SIMPLE="",r.BARS_PROGRESS="",r.BOOK_OPEN_GEAR="",r.BOOK_OPEN_GEAR_SLASH="",r.LINE_CHART="",r.STACKED_CHART="",r.CHART_BAR_STACKED="",r.CHART_BAR_GROUPED="",r.EYE_SLASH="",r.X_MARK="",r.EXPAND_WIDE="",r.PIP="",r.PIP_WIDE="",r.LIFE_RING="",r.GLOBE="",r.PIGGY_BANK="",r.EXTLINK_LIGHT="",r.CLONE="",r.CLONE_LINK_SIMPLE="",r.CHART_BAR_NORMALIZED="",r.CONSUMER="",r.OCTAGON_XMARK="",r.HOURGLASS_HALF="",r.CLOCK="",r.CLOCK_THREE="",r.CALENDAR_DAY="",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="",r.WAND_MAGIC_SPARKLES="",r.PAPER_PLANE="",r.CIRCLE_STOP="",r.ARROW_ROTATE_RIGHT="",r.ARROWS_ROTATE="",r.ALIGN_RIGHT="",r.FORMAT_CLEAR="",r.ALIGN_CENTER="",r.ALIGN_LEFT="",r.PALETTE="",r.BOLD="",r.ITALIC="",r.UNDERLINE="",r.STRIKETHROUGH="",r.LINK_SIMPLE_SLASH="",r.LINK_SIMPLE="",r.ROUTE="",r.CIRCLE_USER_SLASH="",r.CIRCLE_USER_CHECK="",r.LIST_MAGNIFYING_GLASS="",r.MEDAL="",r.THUMBS_UP_THUMBS_DOWN_SOLID="",r.ARROW_TURN_DOWN_RIGHT="",r.FLASK="",r.LOCK_KEYHOLE_OPEN_SOLID="",r.HOURGLASS_END="",r.CIRCLE_QUESTION="",r.GRIP_LINES_SOLID="",r.TRANSLATE_SPARKLE_SOLID="",r.CODE="",r.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",r.PAPER_PLANE_SLASH="",r.COMPRESS="",r.EXPAND="",r.ARROW_ROTATE_LEFT="",r.EYE="",r.SHARE="󨃱",r.MOBILE_SMALL="",r.SPARKLES="",r.HAND_SOLID="",r.CLOCK_SOLID="",r.CONTEXT_MENU_CURSOR=""})(ft||(ft={}));(function(r){r.UNKNOWN="",r.ABW="",r.AUDIO="",r.AVI="",r.CHM="",r.CODE="",r.CSV="",r.DITA="",r.EPUB="",r.EXCEL="",r.FLAC="",r.GIF="",r.GZIP="",r.HTML="",r.IMAGE="",r.JPEG="",r.JSON="",r.M4A="",r.MOV="",r.MP3="",r.MP4="",r.OGG="",r.PDF="",r.PNG="",r.POWERPOINT="",r.RAR="",r.STP="",r.TEXT="",r.VIDEO="",r.WAV="",r.WMA="",r.WORD="",r.XML="",r.YAML="",r.ZIP=""})(B||(B={}));Jc=new Map([...["abw"].map(r=>[r,B.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(r=>[r,B.AUDIO]),...["avi"].map(r=>[r,B.AVI]),...["chm","xhs"].map(r=>[r,B.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(r=>[r,B.CODE]),...["csv"].map(r=>[r,B.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,B.DITA]),...["epub"].map(r=>[r,B.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,B.EXCEL]),...["flac"].map(r=>[r,B.FLAC]),...["gif"].map(r=>[r,B.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,B.GZIP]),...["html","htm","xhtml"].map(r=>[r,B.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(r=>[r,B.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,B.JPEG]),...["json"].map(r=>[r,B.JSON]),...["m4a","m4p"].map(r=>[r,B.M4A]),...["mov","qt"].map(r=>[r,B.MOV]),...["mp3"].map(r=>[r,B.MP3]),...["mp4","m4v"].map(r=>[r,B.MP4]),...["ogg","oga"].map(r=>[r,B.OGG]),...["pdf","ps"].map(r=>[r,B.PDF]),...["png"].map(r=>[r,B.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,B.POWERPOINT]),...["rar"].map(r=>[r,B.RAR]),...["stp"].map(r=>[r,B.STP]),...["txt","rtf","md","mdown"].map(r=>[r,B.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(r=>[r,B.VIDEO]),...["wav"].map(r=>[r,B.WAV]),...["wma"].map(r=>[r,B.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,B.WORD]),...["xml","xsl","rdf"].map(r=>[r,B.XML]),...["yaml","yml","x-yaml"].map(r=>[r,B.YAML]),...["zip"].map(r=>[r,B.ZIP])]),t0=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"]]);WI={[B.ABW]:"#91ABC6",[B.AUDIO]:"#1795E3",[B.AVI]:"#E63324",[B.CHM]:"#71C3EB",[B.CODE]:"#71C3EB",[B.CSV]:"#1F7345",[B.DITA]:"#71C3EB",[B.EPUB]:"#85B926",[B.EXCEL]:"#1F7345",[B.FLAC]:"#1795E3",[B.GIF]:"#59B031",[B.GZIP]:"#F8AB36",[B.HTML]:"#71C3EB",[B.IMAGE]:"#59B031",[B.JPEG]:"#59B031",[B.JSON]:"#71C3EB",[B.M4A]:"#1795E3",[B.MOV]:"#E63324",[B.MP3]:"#1795E3",[B.MP4]:"#E63324",[B.OGG]:"#1795E3",[B.PDF]:"#E44948",[B.PNG]:"#59B031",[B.POWERPOINT]:"#B54A2B",[B.RAR]:"#F8AB36",[B.STP]:"#3764B1",[B.TEXT]:"#3162AB",[B.UNKNOWN]:"#999999",[B.VIDEO]:"#E63324",[B.WAV]:"#1795E3",[B.WMA]:"#1795E3",[B.WORD]:"#3162AB",[B.XML]:"#71C3EB",[B.YAML]:"#71C3EB",[B.ZIP]:"#F8AB36"}});var Ve,td=u(()=>{"use strict";(function(r){r.fluid_topics="fluid-topics",r.file_format="file-format",r.material="material"})(Ve||(Ve={}))});var pn,ve,rd=u(()=>{"use strict";P();Y();_();zi();ed();wo();td();pn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ve=class extends H{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=$}render(){let e=this.variant&&Object.values(Ve).includes(this.variant)?this.variant:Ve.fluid_topics,t=e!==Ve.material||!!this.value;return S`
|
|
609
609
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
610
610
|
${po(this.resolvedIcon)}
|
|
611
611
|
<slot ?hidden=${t}></slot>
|
|
612
612
|
</i>
|
|
613
|
-
`}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}update(e){super.update(e),["value","variant"].some(t=>e.has(t))&&this.resolveIcon()}resolveIcon(){var e,t;let i=this.value||this.textContent;switch(this.variant){case Ve.file_format:this.resolvedIcon=(e=B[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ve.material:this.resolvedIcon=this.value
|
|
613
|
+
`}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}update(e){super.update(e),["value","variant"].some(t=>e.has(t))&&this.resolveIcon()}resolveIcon(){var e,t;let i=this.value||this.textContent;switch(this.variant){case Ve.file_format:this.resolvedIcon=(e=B[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ve.material:this.resolvedIcon=this.value||$;break;default:this.resolvedIcon=(t=ft[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ve.elementDefinitions={};ve.styles=Km;pn([h()],ve.prototype,"variant",void 0);pn([h()],ve.prototype,"value",void 0);pn([h({reflect:!0,attribute:"aria-hidden"})],ve.prototype,"ariaHidden",void 0);pn([D()],ve.prototype,"resolvedIcon",void 0);pn([z("slot")],ve.prototype,"slottedContent",void 0)});var kt=u(()=>{"use strict";_();rd();wo();td();rd();ed();U("ft-icon")(ve)});var Ao,od=u(()=>{"use strict";P();_();dn();Ao=class extends H{render(){return S`
|
|
614
614
|
<div class="ft-loader">
|
|
615
615
|
<div></div>
|
|
616
616
|
<div></div>
|
|
@@ -744,11 +744,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
744
744
|
.ftds--family-brand.ft-button--primary {
|
|
745
745
|
${y(Re.color,v.primaryBrandIconColor)};
|
|
746
746
|
|
|
747
|
-
${y(
|
|
748
|
-
${y(
|
|
749
|
-
${y(
|
|
750
|
-
${y(
|
|
751
|
-
${y(
|
|
747
|
+
${y(T.color,v.primaryBrandStateLayerColor)};
|
|
748
|
+
${y(T.opacityContentOnSurfaceHover,v.primaryBrandHoverStateLayerOpacity)};
|
|
749
|
+
${y(T.opacityContentOnSurfaceFocused,v.primaryBrandFocusStateLayerOpacity)};
|
|
750
|
+
${y(T.opacityContentOnSurfaceSelected,v.primaryBrandActiveStateLayerOpacity)};
|
|
751
|
+
${y(T.opacityContentOnSurfacePressed,v.primaryBrandActiveStateLayerOpacity)};
|
|
752
752
|
|
|
753
753
|
background-color: ${v.primaryBrandBackgroundColor};
|
|
754
754
|
color: ${v.primaryBrandColor};
|
|
@@ -768,11 +768,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
768
768
|
.ftds--family-brand.ft-button--secondary {
|
|
769
769
|
${y(Re.color,v.secondaryBrandIconColor)};
|
|
770
770
|
|
|
771
|
-
${y(
|
|
772
|
-
${y(
|
|
773
|
-
${y(
|
|
774
|
-
${y(
|
|
775
|
-
${y(
|
|
771
|
+
${y(T.color,v.secondaryBrandStateLayerColor)};
|
|
772
|
+
${y(T.opacityContentOnSurfaceHover,v.secondaryBrandHoverStateLayerOpacity)};
|
|
773
|
+
${y(T.opacityContentOnSurfaceFocused,v.secondaryBrandFocusStateLayerOpacity)};
|
|
774
|
+
${y(T.opacityContentOnSurfaceSelected,v.secondaryBrandActiveStateLayerOpacity)};
|
|
775
|
+
${y(T.opacityContentOnSurfacePressed,v.secondaryBrandActiveStateLayerOpacity)};
|
|
776
776
|
|
|
777
777
|
background-color: ${v.secondaryBrandBackgroundColor};
|
|
778
778
|
color: ${v.secondaryBrandColor};
|
|
@@ -793,11 +793,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
793
793
|
.ftds--family-brand.ft-button--tertiary {
|
|
794
794
|
${y(Re.color,v.tertiaryBrandIconColor)};
|
|
795
795
|
|
|
796
|
-
${y(
|
|
797
|
-
${y(
|
|
798
|
-
${y(
|
|
799
|
-
${y(
|
|
800
|
-
${y(
|
|
796
|
+
${y(T.color,v.tertiaryBrandStateLayerColor)};
|
|
797
|
+
${y(T.opacityContentOnSurfaceHover,v.tertiaryBrandHoverStateLayerOpacity)};
|
|
798
|
+
${y(T.opacityContentOnSurfaceFocused,v.tertiaryBrandFocusStateLayerOpacity)};
|
|
799
|
+
${y(T.opacityContentOnSurfaceSelected,v.tertiaryBrandActiveStateLayerOpacity)};
|
|
800
|
+
${y(T.opacityContentOnSurfacePressed,v.tertiaryBrandActiveStateLayerOpacity)};
|
|
801
801
|
|
|
802
802
|
background-color: ${v.tertiaryBrandBackgroundColor};
|
|
803
803
|
color: ${v.tertiaryBrandColor};
|
|
@@ -817,11 +817,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
817
817
|
.ftds--family-neutral.ft-button--secondary {
|
|
818
818
|
${y(Re.color,v.secondaryNeutralIconColor)};
|
|
819
819
|
|
|
820
|
-
${y(
|
|
821
|
-
${y(
|
|
822
|
-
${y(
|
|
823
|
-
${y(
|
|
824
|
-
${y(
|
|
820
|
+
${y(T.backgroundColor,v.secondaryNeutralStateLayerColor)};
|
|
821
|
+
${y(T.opacityContentOnSurfaceHover,v.secondaryNeutralHoverStateLayerOpacity)};
|
|
822
|
+
${y(T.opacityContentOnSurfaceFocused,v.secondaryNeutralFocusStateLayerOpacity)};
|
|
823
|
+
${y(T.opacityContentOnSurfaceSelected,v.secondaryNeutralActiveStateLayerOpacity)};
|
|
824
|
+
${y(T.opacityContentOnSurfacePressed,v.secondaryNeutralActiveStateLayerOpacity)};
|
|
825
825
|
|
|
826
826
|
background-color: ${v.secondaryNeutralBackgroundColor};
|
|
827
827
|
color: ${v.secondaryNeutralColor};
|
|
@@ -842,11 +842,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
842
842
|
.ftds--family-neutral.ft-button--tertiary {
|
|
843
843
|
${y(Re.color,v.tertiaryNeutralIconColor)};
|
|
844
844
|
|
|
845
|
-
${y(
|
|
846
|
-
${y(
|
|
847
|
-
${y(
|
|
848
|
-
${y(
|
|
849
|
-
${y(
|
|
845
|
+
${y(T.backgroundColor,v.tertiaryNeutralStateLayerColor)};
|
|
846
|
+
${y(T.opacityContentOnSurfaceHover,v.tertiaryNeutralHoverStateLayerOpacity)};
|
|
847
|
+
${y(T.opacityContentOnSurfaceFocused,v.tertiaryNeutralFocusStateLayerOpacity)};
|
|
848
|
+
${y(T.opacityContentOnSurfaceSelected,v.tertiaryNeutralActiveStateLayerOpacity)};
|
|
849
|
+
${y(T.opacityContentOnSurfacePressed,v.tertiaryNeutralActiveStateLayerOpacity)};
|
|
850
850
|
|
|
851
851
|
background-color: ${v.tertiaryNeutralBackgroundColor};
|
|
852
852
|
color: ${v.tertiaryNeutralColor};
|
|
@@ -866,11 +866,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
866
866
|
.ftds--family-info.ft-button--secondary {
|
|
867
867
|
${y(Re.color,v.secondaryInfoIconColor)};
|
|
868
868
|
|
|
869
|
-
${y(
|
|
870
|
-
${y(
|
|
871
|
-
${y(
|
|
872
|
-
${y(
|
|
873
|
-
${y(
|
|
869
|
+
${y(T.backgroundColor,v.secondaryInfoStateLayerColor)};
|
|
870
|
+
${y(T.opacityContentOnSurfaceHover,v.secondaryInfoHoverStateLayerOpacity)};
|
|
871
|
+
${y(T.opacityContentOnSurfaceFocused,v.secondaryInfoFocusStateLayerOpacity)};
|
|
872
|
+
${y(T.opacityContentOnSurfaceSelected,v.secondaryInfoActiveStateLayerOpacity)};
|
|
873
|
+
${y(T.opacityContentOnSurfacePressed,v.secondaryInfoActiveStateLayerOpacity)};
|
|
874
874
|
|
|
875
875
|
background-color: ${v.secondaryInfoBackgroundColor};
|
|
876
876
|
color: ${v.secondaryInfoColor};
|
|
@@ -891,11 +891,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
891
891
|
.ftds--family-info.ft-button--tertiary {
|
|
892
892
|
${y(Re.color,v.tertiaryInfoIconColor)};
|
|
893
893
|
|
|
894
|
-
${y(
|
|
895
|
-
${y(
|
|
896
|
-
${y(
|
|
897
|
-
${y(
|
|
898
|
-
${y(
|
|
894
|
+
${y(T.backgroundColor,v.tertiaryInfoStateLayerColor)};
|
|
895
|
+
${y(T.opacityContentOnSurfaceHover,v.tertiaryInfoHoverStateLayerOpacity)};
|
|
896
|
+
${y(T.opacityContentOnSurfaceFocused,v.tertiaryInfoFocusStateLayerOpacity)};
|
|
897
|
+
${y(T.opacityContentOnSurfaceSelected,v.tertiaryInfoActiveStateLayerOpacity)};
|
|
898
|
+
${y(T.opacityContentOnSurfacePressed,v.tertiaryInfoActiveStateLayerOpacity)};
|
|
899
899
|
|
|
900
900
|
background-color: ${v.tertiaryInfoBackgroundColor};
|
|
901
901
|
color: ${v.tertiaryInfoColor};
|
|
@@ -915,11 +915,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
915
915
|
.ftds--family-success.ft-button--secondary {
|
|
916
916
|
${y(Re.color,v.secondarySuccessIconColor)};
|
|
917
917
|
|
|
918
|
-
${y(
|
|
919
|
-
${y(
|
|
920
|
-
${y(
|
|
921
|
-
${y(
|
|
922
|
-
${y(
|
|
918
|
+
${y(T.backgroundColor,v.secondarySuccessStateLayerColor)};
|
|
919
|
+
${y(T.opacityContentOnSurfaceHover,v.secondarySuccessHoverStateLayerOpacity)};
|
|
920
|
+
${y(T.opacityContentOnSurfaceFocused,v.secondarySuccessFocusStateLayerOpacity)};
|
|
921
|
+
${y(T.opacityContentOnSurfaceSelected,v.secondarySuccessActiveStateLayerOpacity)};
|
|
922
|
+
${y(T.opacityContentOnSurfacePressed,v.secondarySuccessActiveStateLayerOpacity)};
|
|
923
923
|
|
|
924
924
|
background-color: ${v.secondarySuccessBackgroundColor};
|
|
925
925
|
color: ${v.secondarySuccessColor};
|
|
@@ -940,11 +940,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
940
940
|
.ftds--family-success.ft-button--tertiary {
|
|
941
941
|
${y(Re.color,v.tertiarySuccessIconColor)};
|
|
942
942
|
|
|
943
|
-
${y(
|
|
944
|
-
${y(
|
|
945
|
-
${y(
|
|
946
|
-
${y(
|
|
947
|
-
${y(
|
|
943
|
+
${y(T.backgroundColor,v.tertiarySuccessStateLayerColor)};
|
|
944
|
+
${y(T.opacityContentOnSurfaceHover,v.tertiarySuccessHoverStateLayerOpacity)};
|
|
945
|
+
${y(T.opacityContentOnSurfaceFocused,v.tertiarySuccessFocusStateLayerOpacity)};
|
|
946
|
+
${y(T.opacityContentOnSurfaceSelected,v.tertiarySuccessActiveStateLayerOpacity)};
|
|
947
|
+
${y(T.opacityContentOnSurfacePressed,v.tertiarySuccessActiveStateLayerOpacity)};
|
|
948
948
|
|
|
949
949
|
background-color: ${v.tertiarySuccessBackgroundColor};
|
|
950
950
|
color: ${v.tertiarySuccessColor};
|
|
@@ -964,11 +964,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
964
964
|
.ftds--family-warning.ft-button--secondary {
|
|
965
965
|
${y(Re.color,v.secondaryWarningIconColor)};
|
|
966
966
|
|
|
967
|
-
${y(
|
|
968
|
-
${y(
|
|
969
|
-
${y(
|
|
970
|
-
${y(
|
|
971
|
-
${y(
|
|
967
|
+
${y(T.backgroundColor,v.secondaryWarningStateLayerColor)};
|
|
968
|
+
${y(T.opacityContentOnSurfaceHover,v.secondaryWarningHoverStateLayerOpacity)};
|
|
969
|
+
${y(T.opacityContentOnSurfaceFocused,v.secondaryWarningFocusStateLayerOpacity)};
|
|
970
|
+
${y(T.opacityContentOnSurfaceSelected,v.secondaryWarningActiveStateLayerOpacity)};
|
|
971
|
+
${y(T.opacityContentOnSurfacePressed,v.secondaryWarningActiveStateLayerOpacity)};
|
|
972
972
|
|
|
973
973
|
background-color: ${v.secondaryWarningBackgroundColor};
|
|
974
974
|
color: ${v.secondaryWarningColor};
|
|
@@ -989,11 +989,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
989
989
|
.ftds--family-warning.ft-button--tertiary {
|
|
990
990
|
${y(Re.color,v.tertiaryWarningIconColor)};
|
|
991
991
|
|
|
992
|
-
${y(
|
|
993
|
-
${y(
|
|
994
|
-
${y(
|
|
995
|
-
${y(
|
|
996
|
-
${y(
|
|
992
|
+
${y(T.backgroundColor,v.tertiaryWarningStateLayerColor)};
|
|
993
|
+
${y(T.opacityContentOnSurfaceHover,v.tertiaryWarningHoverStateLayerOpacity)};
|
|
994
|
+
${y(T.opacityContentOnSurfaceFocused,v.tertiaryWarningFocusStateLayerOpacity)};
|
|
995
|
+
${y(T.opacityContentOnSurfaceSelected,v.tertiaryWarningActiveStateLayerOpacity)};
|
|
996
|
+
${y(T.opacityContentOnSurfacePressed,v.tertiaryWarningActiveStateLayerOpacity)};
|
|
997
997
|
|
|
998
998
|
background-color: ${v.tertiaryWarningBackgroundColor};
|
|
999
999
|
color: ${v.tertiaryWarningColor};
|
|
@@ -1013,11 +1013,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1013
1013
|
.ftds--family-error.ft-button--secondary {
|
|
1014
1014
|
${y(Re.color,v.secondaryErrorIconColor)};
|
|
1015
1015
|
|
|
1016
|
-
${y(
|
|
1017
|
-
${y(
|
|
1018
|
-
${y(
|
|
1019
|
-
${y(
|
|
1020
|
-
${y(
|
|
1016
|
+
${y(T.backgroundColor,v.secondaryErrorStateLayerColor)};
|
|
1017
|
+
${y(T.opacityContentOnSurfaceHover,v.secondaryErrorHoverStateLayerOpacity)};
|
|
1018
|
+
${y(T.opacityContentOnSurfaceFocused,v.secondaryErrorFocusStateLayerOpacity)};
|
|
1019
|
+
${y(T.opacityContentOnSurfaceSelected,v.secondaryErrorActiveStateLayerOpacity)};
|
|
1020
|
+
${y(T.opacityContentOnSurfacePressed,v.secondaryErrorActiveStateLayerOpacity)};
|
|
1021
1021
|
|
|
1022
1022
|
background-color: ${v.secondaryErrorBackgroundColor};
|
|
1023
1023
|
color: ${v.secondaryErrorColor};
|
|
@@ -1038,11 +1038,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1038
1038
|
.ftds--family-error.ft-button--tertiary {
|
|
1039
1039
|
${y(Re.color,v.tertiaryErrorIconColor)};
|
|
1040
1040
|
|
|
1041
|
-
${y(
|
|
1042
|
-
${y(
|
|
1043
|
-
${y(
|
|
1044
|
-
${y(
|
|
1045
|
-
${y(
|
|
1041
|
+
${y(T.backgroundColor,v.tertiaryErrorStateLayerColor)};
|
|
1042
|
+
${y(T.opacityContentOnSurfaceHover,v.tertiaryErrorHoverStateLayerOpacity)};
|
|
1043
|
+
${y(T.opacityContentOnSurfaceFocused,v.tertiaryErrorFocusStateLayerOpacity)};
|
|
1044
|
+
${y(T.opacityContentOnSurfaceSelected,v.tertiaryErrorActiveStateLayerOpacity)};
|
|
1045
|
+
${y(T.opacityContentOnSurfacePressed,v.tertiaryErrorActiveStateLayerOpacity)};
|
|
1046
1046
|
|
|
1047
1047
|
background-color: ${v.tertiaryErrorBackgroundColor};
|
|
1048
1048
|
color: ${v.tertiaryErrorColor};
|
|
@@ -1222,15 +1222,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1222
1222
|
`});var fg,ud=u(()=>{"use strict";P();fg=k`
|
|
1223
1223
|
`});var r0,fd,o0,K,_t=u(()=>{"use strict";_();r0="ft-app-info",fd=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},o0={session:(r,e)=>{Ke(r.session,e.payload)||(r.session=e.payload,setTimeout(()=>K.dispatchEvent(new fd(e.payload)),0))}},K=wr.get({name:r0,reducers:o0,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var Lo,Sa=u(()=>{"use strict";_t();Lo=class r{static get(e){let{baseUrl:t,apiIntegrationIdentifier:i}=K.getState(),n=e??i;if(t&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(t,n,!0)}static await(e){return new Promise(t=>{let i=r.get(e);if(i)t(i);else{let n=K.subscribe(()=>{i=r.get(e),i&&(n(),t(i))})}})}}});var yi,hd=u(()=>{"use strict";Sa();yi=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Lo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Lo.await()}}});var ir,fn=u(()=>{"use strict";_();hd();ir=class extends yi{constructor(e=!0,t){var i;super(t);let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new Yt,this.cache=e?n.commonCache:new Yt}clearCache(){this.cache.clearAll()}}});var hg,i0,Ca,bi,Oa,md=u(()=>{"use strict";_t();_();fn();i0=Symbol("clearAfterUnitTest"),Ca=class extends ir{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[hg]=()=>{this.defaultMessages={},this.cache=new Yt,this.listeners={}},this.currentUiLocale=K.getState().uiLocale,K.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=K.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let t=e.name.toLowerCase();this.cache.setFinal(t,e),this.notify(t)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,t){var i;if(e=e.toLowerCase(),t&&Object.keys(t).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...t};Ke(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var t,i;return this.fetchContext(e),(i=(t=this.cache.getNow(e))===null||t===void 0?void 0:t.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,t){let i=e.toLowerCase();return this.resolveContext(i)[t]}resolveMessage(e,t,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new zr((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(t,...i)}async fetchContext(e){let t=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e))}catch(n){!(n instanceof qt)&&t&&console.error(n)}return t&&await this.notify(e),i}subscribe(e,t){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(t),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(t)}}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(t=>Bn(0).then(()=>t()).catch(()=>null)))}};hg=i0;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Ca{constructor(){super(async(r,e)=>(await this.awaitApi).getFluidTopicsMessageContext(r,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Ca{constructor(){super(async(r,e)=>(await this.awaitApi).getCustomMessageContext(r,e))}});bi=window.FluidTopicsI18nService,Oa=window.FluidTopicsCustomI18nService});var et,Ne,gd=u(()=>{"use strict";P();Y();_();ud();_t();md();Sa();et=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ne=class extends H{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=()=>Lo.get(),this.messageContexts=[],this.cache=new Yt,this.cleanSessionDebouncer=new he}render(){return S`
|
|
1224
1224
|
<slot></slot>
|
|
1225
|
-
`}update(e){var t,i,n,a,s;super.update(e),e.has("baseUrl")&&(K.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&K.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&K.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&K.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&K.actions.noCustom(this.noCustom),e.has("editorMode")&&K.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&K.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&K.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>bi.addContext(l)),e.has("openExternalDocumentInNewTab")&&K.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&K.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&K.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(K.actions.defaultLocales((t=this.localesConfiguration)===null||t===void 0?void 0:t.defaultLocales),K.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),K.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())}};Ne.elementDefinitions={};Ne.styles=fg;et([h()],Ne.prototype,"baseUrl",void 0);et([h()],Ne.prototype,"apiIntegrationIdentifier",void 0);et([h()],Ne.prototype,"uiLocale",void 0);et([Ee(null)],Ne.prototype,"availableUiLocales",void 0);et([Ee(null)],Ne.prototype,"metadataConfiguration",void 0);et([h({type:Boolean})],Ne.prototype,"editorMode",void 0);et([h({type:Boolean})],Ne.prototype,"noCustom",void 0);et([h({type:Boolean})],Ne.prototype,"openExternalDocumentInNewTab",void 0);et([h({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],Ne.prototype,"noCustomComponent",void 0);et([h({type:Boolean})],Ne.prototype,"withManualResources",void 0);et([h({type:Boolean})],Ne.prototype,"navigatorOnline",void 0);et([h({type:Boolean})],Ne.prototype,"forcedOffline",void 0);et([h({type:Object})],Ne.prototype,"apiProvider",void 0);et([Ee([])],Ne.prototype,"messageContexts",void 0);et([Ee(void 0)],Ne.prototype,"session",void 0);et([D()],Ne.prototype,"localesConfiguration",void 0)});var mg=u(()=>{"use strict";Y();na();da();_t()});var Ea,yd=u(()=>{"use strict";_t();si();fn();Ea=class extends ir{async listMySearches(){let{session:e}=K.getState();return mm(e,Ue.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var wa,bd=u(()=>{"use strict";_t();fn();wa=class extends ir{async listMyBookmarks(){let e=K.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var n0,Ra,xd,gg,vd=u(()=>{"use strict";_();yd();bd();_t();n0="ft-user-assets",Ra=wr.get({name:n0,initialState:{savedSearches:void 0,bookmarks:void 0}}),xd=class{constructor(){this.currentSession=K.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wa,this.savedSearchesService=new Ea,K.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=K.getState();Ke((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ra.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ra.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ra.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 t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ra.actions.bookmarks(t)}}},gg=new xd});var Sd,yg=u(()=>{"use strict";_t();Sd=class{addCommand(e,t=!1){K.commands.add(e,t)}consumeCommand(e){return K.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Sd});var Cd,bg=u(()=>{"use strict";_();Cd=class{highlightHtml(e,t,i){Ml(e,t,i)}};window.FluidTopicsHighlightHtmlService=new Cd});var Od,xg=u(()=>{"use strict";_();_t();Od=class{isDate(e){var t,i,n,a;return(a=(n=((i=(t=K.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,t){var i,n,a;return li.format(e,(i=t?.locale)!==null&&i!==void 0?i:K.getState().uiLocale,(n=t?.longFormat)!==null&&n!==void 0?n:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Od});var Ir,Ed=u(()=>{"use strict";_();_t();Ir=class{static get(e,t){var i,n,a,s;let l=K.getState(),{lang:d,region:f}=(n=(i=l.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Zr(l.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,t??`${d}-${f}`)}}});var Aa,vg=u(()=>{"use strict";hd();Aa=class extends yi{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send document.start_display event"),console.debug(t)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send topic.start_display event"),console.debug(t)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send khub.search event"),console.debug(t)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send document.search event"),console.debug(t)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send search_page.select event"),console.debug(t)})}async sendSearchResultOpenContextMenuEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send search_result.open_context_menu event"),console.debug(t)})}}});var wd,Sg=u(()=>{"use strict";Ed();wd=class{urlToSearchRequest(e){return Ir.get().parse(e)}searchRequestToUrl(e){return Ir.get().serialize(e)}};window.FluidTopicsUrlService=new wd});var Io,Cg=u(()=>{"use strict";Io=class r extends CustomEvent{constructor(e){super(r.eventName,{detail:{currentItem:e}})}};Io.eventName="change"});var Rd,Og,Eg=u(()=>{"use strict";Rd=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let t=sessionStorage.getItem(this.itemName(e));return t?JSON.parse(t):void 0}set(e,t){sessionStorage.setItem(this.itemName(e),JSON.stringify(t))}},Og=new Rd});var La,wg=u(()=>{"use strict";_();Cg();Eg();La=class r extends yr{static build(){return new r(window.history,Og,()=>window.location,!1)}constructor(e,t,i,n){var a,s;super(),this.history=e,this.historyStorage=t,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,t=!1){let i=t&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Ke(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Io(this.currentItem())),0)}installProxies(){let e=t=>(i,n,[a,s,l])=>{let d=t(),f={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[f,s,l]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let t=this.history.length-1;t>=0;t--)e?this.states[t]=this.historyStorage.get(t):setTimeout(()=>this.states[t]=this.historyStorage.get(t),this.history.length-t)}updateCurrentState(e,t=!1){var i,n,a;let s={...this.buildCurrentState(),...e,index:this.currentIndex,title:(i=e?.title)!==null&&i!==void 0?i:this.currentState.title},l=t?(n=e?.majorState)!==null&&n!==void 0?n:this.currentState.majorState:(a=this.currentState.majorState)!==null&&a!==void 0?a:e?.majorState;l!=null&&(s.majorState=l),this.setCurrentState(s)}addHistoryChangeListener(e){this.addEventListener(Io.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Io.eventName,e)}currentItem(){return ji(this.currentState)}back(){let e=this.previousMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return ji(this.states[this.previousMajorPosition()])}previousMajorPosition(){let e=this.currentIndex;for(;e>0&&!this.isMajorState(e);)e--;return this.previousExistingPosition(e)}forward(){let e=this.nextMajorPosition();e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){return ji(this.states[this.nextMajorPosition()])}nextMajorPosition(){let e=this.currentIndex;do e++;while(e<this.states.length&&!this.isMajorState(e));do e++;while(e<this.states.length&&!this.isMajorState(e));return this.previousExistingPosition(e)}previousExistingPosition(e){let t=e;do t--;while(t>0&&!this.hasState(t));return t}buildCurrentState(){var e,t;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(t=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&t!==void 0?t:document.title}}hasState(e){return this.states[e]!=null}isMajorState(e){var t,i;return this.hasState(e)&&((i=(t=this.states[e])===null||t===void 0?void 0:t.majorState)!==null&&i!==void 0?i:!0)}}});var Rg=u(()=>{"use strict";wg();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=La.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)})});var Ag=u(()=>{"use strict";bd();Sa();yg();md();fn();bg();yd();xg();Ed();vg();Sg();Rg()});var Lg=u(()=>{"use strict"});var nr=u(()=>{"use strict";_();gd();mg();_t();vd();Ag();ud();Lg();gd();U("ft-app-context")(Ne)});function Ig(r){return r.match(/^[\w-]+\.[\w-]+$/)}var kg=u(()=>{"use strict";hn();_()});function $t(r){var e,t;class i extends r{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[t]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Oa:bi}i18n(a){var s;this.hasI18nContext(a.context)||this.addI18nContext(a.context,void 0,a.custom);let l=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.getI18nService(a.custom).resolveMessage(a.context,a.key,...l)}customI18n(a,s){if(Ig(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,f=(g,m,x)=>x?.context&&x.key&&a(g,m,x)?{...x,message:this.i18n({context:x.context,key:x.key,...g})}:x;(s=this[_g])===null||s===void 0||s.forEach((g,m)=>d[m]=f(g,m,d[m])),(l=this[$g])===null||l===void 0||l.forEach((g,m)=>{var x;return d[m]=(x=d[m])===null||x===void 0?void 0:x.map(C=>f(g,m,C))})}updateI18nProperties(a){var s;(s=this[Pg])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Ia].set(d,{isCustomContext:l}),this[mn].has(d)||this[mn].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[Ia].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ia].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[mn].forEach(a=>a()),this[mn].clear()}}return e=Ia,t=mn,a0([h({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var a0,_g,$g,Pg,Ia,mn,Tg,ka,hn=u(()=>{"use strict";_();nr();Y();kg();a0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},_g=Symbol("i18nAttributes"),$g=Symbol("i18nListAttributes"),Pg=Symbol("i18nProperties"),Ia=Symbol("i18nContexts"),mn=Symbol("i18nUnsubs");Tg=class extends $t(H){},ka=class extends $t(ct){}});var gn,Wt,Ad=u(()=>{"use strict";P();Y();_();pd();hn();nr();gn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Wt=class extends ka{constructor(){super(),this.editorMode=!1,this.addStore(K)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":T:S`
|
|
1225
|
+
`}update(e){var t,i,n,a,s;super.update(e),e.has("baseUrl")&&(K.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&K.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&K.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&K.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&K.actions.noCustom(this.noCustom),e.has("editorMode")&&K.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&K.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&K.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>bi.addContext(l)),e.has("openExternalDocumentInNewTab")&&K.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&K.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&K.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(K.actions.defaultLocales((t=this.localesConfiguration)===null||t===void 0?void 0:t.defaultLocales),K.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),K.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())}};Ne.elementDefinitions={};Ne.styles=fg;et([h()],Ne.prototype,"baseUrl",void 0);et([h()],Ne.prototype,"apiIntegrationIdentifier",void 0);et([h()],Ne.prototype,"uiLocale",void 0);et([Ee(null)],Ne.prototype,"availableUiLocales",void 0);et([Ee(null)],Ne.prototype,"metadataConfiguration",void 0);et([h({type:Boolean})],Ne.prototype,"editorMode",void 0);et([h({type:Boolean})],Ne.prototype,"noCustom",void 0);et([h({type:Boolean})],Ne.prototype,"openExternalDocumentInNewTab",void 0);et([h({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],Ne.prototype,"noCustomComponent",void 0);et([h({type:Boolean})],Ne.prototype,"withManualResources",void 0);et([h({type:Boolean})],Ne.prototype,"navigatorOnline",void 0);et([h({type:Boolean})],Ne.prototype,"forcedOffline",void 0);et([h({type:Object})],Ne.prototype,"apiProvider",void 0);et([Ee([])],Ne.prototype,"messageContexts",void 0);et([Ee(void 0)],Ne.prototype,"session",void 0);et([D()],Ne.prototype,"localesConfiguration",void 0)});var mg=u(()=>{"use strict";Y();na();da();_t()});var Ea,yd=u(()=>{"use strict";_t();si();fn();Ea=class extends ir{async listMySearches(){let{session:e}=K.getState();return mm(e,Ue.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var wa,bd=u(()=>{"use strict";_t();fn();wa=class extends ir{async listMyBookmarks(){let e=K.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var n0,Ra,xd,gg,vd=u(()=>{"use strict";_();yd();bd();_t();n0="ft-user-assets",Ra=wr.get({name:n0,initialState:{savedSearches:void 0,bookmarks:void 0}}),xd=class{constructor(){this.currentSession=K.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wa,this.savedSearchesService=new Ea,K.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=K.getState();Ke((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ra.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ra.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ra.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 t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ra.actions.bookmarks(t)}}},gg=new xd});var Sd,yg=u(()=>{"use strict";_t();Sd=class{addCommand(e,t=!1){K.commands.add(e,t)}consumeCommand(e){return K.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Sd});var Cd,bg=u(()=>{"use strict";_();Cd=class{highlightHtml(e,t,i){Ml(e,t,i)}};window.FluidTopicsHighlightHtmlService=new Cd});var Od,xg=u(()=>{"use strict";_();_t();Od=class{isDate(e){var t,i,n,a;return(a=(n=((i=(t=K.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,t){var i,n,a;return li.format(e,(i=t?.locale)!==null&&i!==void 0?i:K.getState().uiLocale,(n=t?.longFormat)!==null&&n!==void 0?n:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Od});var Ir,Ed=u(()=>{"use strict";_();_t();Ir=class{static get(e,t){var i,n,a,s;let l=K.getState(),{lang:d,region:f}=(n=(i=l.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Zr(l.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,t??`${d}-${f}`)}}});var Aa,vg=u(()=>{"use strict";hd();Aa=class extends yi{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send document.start_display event"),console.debug(t)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send topic.start_display event"),console.debug(t)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send khub.search event"),console.debug(t)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send document.search event"),console.debug(t)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send search_page.select event"),console.debug(t)})}async sendSearchResultOpenContextMenuEvent(e){return(await this.awaitApi).sendEvents([e]).catch(t=>{console.info("Failed to send search_result.open_context_menu event"),console.debug(t)})}}});var wd,Sg=u(()=>{"use strict";Ed();wd=class{urlToSearchRequest(e){return Ir.get().parse(e)}searchRequestToUrl(e){return Ir.get().serialize(e)}};window.FluidTopicsUrlService=new wd});var Io,Cg=u(()=>{"use strict";Io=class r extends CustomEvent{constructor(e){super(r.eventName,{detail:{currentItem:e}})}};Io.eventName="change"});var Rd,Og,Eg=u(()=>{"use strict";Rd=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let t=sessionStorage.getItem(this.itemName(e));return t?JSON.parse(t):void 0}set(e,t){sessionStorage.setItem(this.itemName(e),JSON.stringify(t))}},Og=new Rd});var La,wg=u(()=>{"use strict";_();Cg();Eg();La=class r extends yr{static build(){return new r(window.history,Og,()=>window.location,!1)}constructor(e,t,i,n){var a,s;super(),this.history=e,this.historyStorage=t,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,t=!1){let i=t&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Ke(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Io(this.currentItem())),0)}installProxies(){let e=t=>(i,n,[a,s,l])=>{let d=t(),f={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[f,s,l]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let t=this.history.length-1;t>=0;t--)e?this.states[t]=this.historyStorage.get(t):setTimeout(()=>this.states[t]=this.historyStorage.get(t),this.history.length-t)}updateCurrentState(e,t=!1){var i,n,a;let s={...this.buildCurrentState(),...e,index:this.currentIndex,title:(i=e?.title)!==null&&i!==void 0?i:this.currentState.title},l=t?(n=e?.majorState)!==null&&n!==void 0?n:this.currentState.majorState:(a=this.currentState.majorState)!==null&&a!==void 0?a:e?.majorState;l!=null&&(s.majorState=l),this.setCurrentState(s)}addHistoryChangeListener(e){this.addEventListener(Io.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Io.eventName,e)}currentItem(){return ji(this.currentState)}back(){let e=this.previousMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return ji(this.states[this.previousMajorPosition()])}previousMajorPosition(){let e=this.currentIndex;for(;e>0&&!this.isMajorState(e);)e--;return this.previousExistingPosition(e)}forward(){let e=this.nextMajorPosition();e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){return ji(this.states[this.nextMajorPosition()])}nextMajorPosition(){let e=this.currentIndex;do e++;while(e<this.states.length&&!this.isMajorState(e));do e++;while(e<this.states.length&&!this.isMajorState(e));return this.previousExistingPosition(e)}previousExistingPosition(e){let t=e;do t--;while(t>0&&!this.hasState(t));return t}buildCurrentState(){var e,t;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(t=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&t!==void 0?t:document.title}}hasState(e){return this.states[e]!=null}isMajorState(e){var t,i;return this.hasState(e)&&((i=(t=this.states[e])===null||t===void 0?void 0:t.majorState)!==null&&i!==void 0?i:!0)}}});var Rg=u(()=>{"use strict";wg();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=La.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)})});var Ag=u(()=>{"use strict";bd();Sa();yg();md();fn();bg();yd();xg();Ed();vg();Sg();Rg()});var Lg=u(()=>{"use strict"});var nr=u(()=>{"use strict";_();gd();mg();_t();vd();Ag();ud();Lg();gd();U("ft-app-context")(Ne)});function Ig(r){return r.match(/^[\w-]+\.[\w-]+$/)}var kg=u(()=>{"use strict";hn();_()});function Tt(r){var e,t;class i extends r{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[t]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Oa:bi}i18n(a){var s;this.hasI18nContext(a.context)||this.addI18nContext(a.context,void 0,a.custom);let l=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.getI18nService(a.custom).resolveMessage(a.context,a.key,...l)}customI18n(a,s){if(Ig(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,f=(g,m,x)=>x?.context&&x.key&&a(g,m,x)?{...x,message:this.i18n({context:x.context,key:x.key,...g})}:x;(s=this[_g])===null||s===void 0||s.forEach((g,m)=>d[m]=f(g,m,d[m])),(l=this[Tg])===null||l===void 0||l.forEach((g,m)=>{var x;return d[m]=(x=d[m])===null||x===void 0?void 0:x.map(C=>f(g,m,C))})}updateI18nProperties(a){var s;(s=this[Pg])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Ia].set(d,{isCustomContext:l}),this[mn].has(d)||this[mn].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[Ia].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ia].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[mn].forEach(a=>a()),this[mn].clear()}}return e=Ia,t=mn,a0([h({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var a0,_g,Tg,Pg,Ia,mn,$g,ka,hn=u(()=>{"use strict";_();nr();Y();kg();a0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},_g=Symbol("i18nAttributes"),Tg=Symbol("i18nListAttributes"),Pg=Symbol("i18nProperties"),Ia=Symbol("i18nContexts"),mn=Symbol("i18nUnsubs");$g=class extends Tt(H){},ka=class extends Tt(ct){}});var gn,Wt,Ad=u(()=>{"use strict";P();Y();_();pd();hn();nr();gn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Wt=class extends ka{constructor(){super(),this.editorMode=!1,this.addStore(K)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":$:S`
|
|
1226
1226
|
<span class="ft-i18n">
|
|
1227
1227
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
1228
1228
|
</span>
|
|
1229
|
-
`}update(e){var t;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(t=this.defaultMessage)!==null&&t!==void 0?t:""})}};Wt.elementDefinitions={};Wt.styles=ug;gn([Oe()],Wt.prototype,"editorMode",void 0);gn([h()],Wt.prototype,"context",void 0);gn([h()],Wt.prototype,"key",void 0);gn([Ee([])],Wt.prototype,"args",void 0);gn([h()],Wt.prototype,"defaultMessage",void 0)});var ar,Ng=u(()=>{"use strict";nr();ar=class r{static build(e){return new r(e)}static buildCustom(e){return new r(e,!0)}static fromGwt(e){return new r(e)}get service(){return this.custom?Oa:bi}constructor(e,t=!1){this.name=e,this.custom=t,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}}});var Fg=u(()=>{"use strict";hn()});var Bg=u(()=>{"use strict"});var sr=u(()=>{"use strict";_();Ad();Ng();hn();Fg();pd();Bg();Ad();U("ft-i18n")(Wt)});var Ug,zg=u(()=>{Bt();Ug=r=>r
|
|
1230
|
-
`});var jg=u(()=>{"use strict"});var d0,Gg,Kg=u(()=>{"use strict";_();d0={setRequest:(r,e)=>{r.request=e.payload},setRequestQuery:(r,e)=>{r.request.query=e.payload},setRequestContentLocale:(r,e)=>{r.request.contentLocale=e.payload},setPageSize:(r,e)=>{var t;let i=+((t=e.payload)!==null&&t!==void 0?t:20);r.request.paging.perPage=isNaN(i)?20:uo(1,i,1e3)},setPageNumber:(r,e)=>{r.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(r,e)=>{r.request.sort=e.payload},setRequestFilters:(r,e)=>{r.request.metadataFilters=e.payload},setRequestFacets:(r,e)=>{r.request.facets=e.payload},setRequestVirtualField:(r,e)=>{r.request.virtualField=e.payload},setRequestScope:(r,e)=>{r.request.scope=e.payload},setOtherQueryParams:(r,e)=>{r.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(r,e)=>{var t;r.request.clusterSortCriterions=(t=e.payload)!==null&&t!==void 0?t:[]}},Gg=r=>wr.get({name:"ft-search-"+r,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:d0})});var Pa,Zg=u(()=>{"use strict";nr();Pa=class extends ir{constructor(e){super(!0,e),this.sortObjectFields=(t,i)=>typeof i!="object"||i==null||Array.isArray(i)?i:Object.fromEntries(Object.entries(i).sort(([n],[a])=>n.localeCompare(a)))}async launchSearch(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(t),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(t),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(t=>t.valueFilter==null?t:{...t,valueFilter:{...t.valueFilter,values:[...t.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((t,i)=>t.key.localeCompare(i.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((t,i)=>0|31*t+i.charCodeAt(0),0))}}});var qg,yn,Ci,Nd=u(()=>{"use strict";_();Kg();si();Zg();qg=r=>r.request.virtualField===Oo.TITLE_ONLY&&r.request.scope===ai.DOCUMENTS,yn=class r extends Event{constructor(){super(r.eventName)}};yn.eventName="search-context-clear-all-filters";Ci=class r{static build(e,t){return new r(Gg(e.trim()||"context"),t)}constructor(e,t){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new he(10),this.searchDebouncer=new he(100),this.launchSearch=i=>this.searchDebouncer.run(()=>this.fetchSearchData(i??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=i=>({...i.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new he(300),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>({input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:i.request.sort,contentLocale:i.request.contentLocale,scope:i.request.scope}),this.service=t??new Pa,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=ri(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=ri(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var t;let i=(t=this.store.getState().locales)!==null&&t!==void 0?t:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(l=>l.lang==s);a(e)||(e=a(n)?n:i[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let t=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(t),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Oo.TITLE_ONLY),this.store.actions.setRequestScope(ai.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Oo.EVERYWHERE),this.store.actions.setRequestScope(ai.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return qg(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new yn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,t){let i=this.facetIds.filter(n=>n!=e);t&&i.push(t),this.facetIds=i}get facetIds(){var e;let t=this.store.getState().request;return[...new Set([...t.facets.map(i=>i.id),...((e=t.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,t){this.setValueFilter(e,t)}setValueFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:t,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:t}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.dateFilter),...t.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,t,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:t,to:i}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.rangeFilter),...t.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var t,i,n,a;try{if((t=this.cancelableSearch)===null||t===void 0||t.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=Ho(this.service.launchSearch(e));let s=await this.cancelableSearch;if(s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let l=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof qt||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var t;try{(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=Ho(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof qt)&&this.errorHandler&&this.errorHandler(i)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function f0(r){class e extends r{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[Fd]=0,this[Yg]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Fd]>u0?window.clearInterval(this[Yg]):(this[Fd]++,this.dispatchEvent(new Bd))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return p0([D()],e.prototype,"stateManager",void 0),e}var p0,Bd,Yg,Fd,u0,Tt,ko=u(()=>{"use strict";_();Y();jg();Nd();p0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Bd=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Yg=Symbol("registerInterval"),Fd=Symbol("registerAttempts"),u0=40;Tt=class extends f0(ct){}});function Oi(r){return r.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Ei(r){var e;return r.dateFilter?{key:r.key,type:"DATE",dateValue:r.dateFilter.type}:r.rangeFilter?{key:r.key,type:"RANGE",from:r.rangeFilter.from,to:r.rangeFilter.to}:{key:r.key,values:(e=r.valueFilter)===null||e===void 0?void 0:e.values}}var Dd=u(()=>{"use strict"});var Na,Qg=u(()=>{"use strict";_();si();nr();Dd();Na=class{constructor(e,t){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=i=>{if(!this.canSendEvent()||!i)return;let n=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(n,i):this.sendDocumentSearchEvent(n,i)},this.eventsService=t??new Aa,this.resultsWatcher=ri(e,i=>i.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=K.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,t){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Co.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Oi(e.metadataFilters),facets:e.metadataFilters.map(n=>Ei(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,t){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Co.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Oi(e.metadataFilters),facets:e.metadataFilters.map(n=>Ei(n))},document:this.document};this.eventsService.sendDocumentSearchEvent(i)}sendResultClickedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==At.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Co.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Oi(i.metadataFilters),facets:i.metadataFilters.map(s=>Ei(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==At.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Co.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Oi(i.metadataFilters),facets:i.metadataFilters.map(s=>Ei(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case At.MAP:return{id:e.map.mapId,title:e.map.title,type:ii.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case At.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:ii.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case At.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:ii.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var t,i,n,a,s;return(a=(i=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var tt,Fa,Ba,Da,$e,Md=u(()=>{"use strict";P();Y();_();Pd();ko();nr();vd();Qg();tt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Fa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ba=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Da=class extends CustomEvent{constructor(e,t,i){super("ft-search-results-change",{detail:{request:e,paging:t,spellcheck:i}})}},$e=class extends ct{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Ci.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new Na(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(K)}render(){return S`
|
|
1229
|
+
`}update(e){var t;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(t=this.defaultMessage)!==null&&t!==void 0?t:""})}};Wt.elementDefinitions={};Wt.styles=ug;gn([Oe()],Wt.prototype,"editorMode",void 0);gn([h()],Wt.prototype,"context",void 0);gn([h()],Wt.prototype,"key",void 0);gn([Ee([])],Wt.prototype,"args",void 0);gn([h()],Wt.prototype,"defaultMessage",void 0)});var ar,Ng=u(()=>{"use strict";nr();ar=class r{static build(e){return new r(e)}static buildCustom(e){return new r(e,!0)}static fromGwt(e){return new r(e)}get service(){return this.custom?Oa:bi}constructor(e,t=!1){this.name=e,this.custom=t,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}}});var Fg=u(()=>{"use strict";hn()});var Bg=u(()=>{"use strict"});var sr=u(()=>{"use strict";_();Ad();Ng();hn();Fg();pd();Bg();Ad();U("ft-i18n")(Wt)});var Ug,zg=u(()=>{Bt();Ug=r=>r??$});var Hg=u(()=>{zg()});function Wg(r){var e,t,i,n,a;return((n=(t=(e=r.map)===null||e===void 0?void 0:e.openMode)!==null&&t!==void 0?t:(i=r.topic)===null||i===void 0?void 0:i.openMode)!==null&&n!==void 0?n:(a=r.document)===null||a===void 0?void 0:a.openMode)===ca.EXTERNAL}function Ta(r){var e,t,i,n,a;if(Wg(r))return(n=(t=(e=r.map)===null||e===void 0?void 0:e.originUrl)!==null&&t!==void 0?t:(i=r.topic)===null||i===void 0?void 0:i.originUrl)!==null&&n!==void 0?n:(a=r.document)===null||a===void 0?void 0:a.originUrl;switch(r.type){case At.MAP:return r.map.readerUrl;case At.DOCUMENT:return r.document.viewerUrl;case At.TOPIC:return r.topic.readerUrl}return""}function Vg(r,e){return Ug(e&&Wg(r)?"_blank":void 0)}var kd=u(()=>{"use strict";si();Hg()});var vi,Si,Td=u(()=>{"use strict";vi=class extends CustomEvent{constructor(e,t){super("ft-search-result-click",{detail:{result:e,rank:t},bubbles:!0,composed:!0})}},Si=class extends CustomEvent{constructor(e,t){super("ft-search-result-open-context-menu",{detail:{result:e,rank:t},bubbles:!0,composed:!0})}}});var c0,$d,Pd=u(()=>{"use strict";P();c0={},$d=k`
|
|
1230
|
+
`});var jg=u(()=>{"use strict"});var d0,Gg,Kg=u(()=>{"use strict";_();d0={setRequest:(r,e)=>{r.request=e.payload},setRequestQuery:(r,e)=>{r.request.query=e.payload},setRequestContentLocale:(r,e)=>{r.request.contentLocale=e.payload},setPageSize:(r,e)=>{var t;let i=+((t=e.payload)!==null&&t!==void 0?t:20);r.request.paging.perPage=isNaN(i)?20:uo(1,i,1e3)},setPageNumber:(r,e)=>{r.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(r,e)=>{r.request.sort=e.payload},setRequestFilters:(r,e)=>{r.request.metadataFilters=e.payload},setRequestFacets:(r,e)=>{r.request.facets=e.payload},setRequestVirtualField:(r,e)=>{r.request.virtualField=e.payload},setRequestScope:(r,e)=>{r.request.scope=e.payload},setOtherQueryParams:(r,e)=>{r.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(r,e)=>{var t;r.request.clusterSortCriterions=(t=e.payload)!==null&&t!==void 0?t:[]}},Gg=r=>wr.get({name:"ft-search-"+r,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:d0})});var Pa,Zg=u(()=>{"use strict";nr();Pa=class extends ir{constructor(e){super(!0,e),this.sortObjectFields=(t,i)=>typeof i!="object"||i==null||Array.isArray(i)?i:Object.fromEntries(Object.entries(i).sort(([n],[a])=>n.localeCompare(a)))}async launchSearch(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(t),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(t),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(t=>t.valueFilter==null?t:{...t,valueFilter:{...t.valueFilter,values:[...t.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((t,i)=>t.key.localeCompare(i.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((t,i)=>0|31*t+i.charCodeAt(0),0))}}});var qg,yn,Ci,Nd=u(()=>{"use strict";_();Kg();si();Zg();qg=r=>r.request.virtualField===Oo.TITLE_ONLY&&r.request.scope===ai.DOCUMENTS,yn=class r extends Event{constructor(){super(r.eventName)}};yn.eventName="search-context-clear-all-filters";Ci=class r{static build(e,t){return new r(Gg(e.trim()||"context"),t)}constructor(e,t){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new he(10),this.searchDebouncer=new he(100),this.launchSearch=i=>this.searchDebouncer.run(()=>this.fetchSearchData(i??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=i=>({...i.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new he(300),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>({input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:i.request.sort,contentLocale:i.request.contentLocale,scope:i.request.scope}),this.service=t??new Pa,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=ri(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=ri(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var t;let i=(t=this.store.getState().locales)!==null&&t!==void 0?t:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(l=>l.lang==s);a(e)||(e=a(n)?n:i[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let t=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(t),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Oo.TITLE_ONLY),this.store.actions.setRequestScope(ai.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Oo.EVERYWHERE),this.store.actions.setRequestScope(ai.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return qg(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new yn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,t){let i=this.facetIds.filter(n=>n!=e);t&&i.push(t),this.facetIds=i}get facetIds(){var e;let t=this.store.getState().request;return[...new Set([...t.facets.map(i=>i.id),...((e=t.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,t){this.setValueFilter(e,t)}setValueFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:t,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:t}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.dateFilter),...t.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,t,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:t,to:i}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.rangeFilter),...t.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var t,i,n,a;try{if((t=this.cancelableSearch)===null||t===void 0||t.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=Ho(this.service.launchSearch(e));let s=await this.cancelableSearch;if(s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let l=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof qt||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var t;try{(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=Ho(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof qt)&&this.errorHandler&&this.errorHandler(i)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function f0(r){class e extends r{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[Fd]=0,this[Yg]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Fd]>u0?window.clearInterval(this[Yg]):(this[Fd]++,this.dispatchEvent(new Bd))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return p0([D()],e.prototype,"stateManager",void 0),e}var p0,Bd,Yg,Fd,u0,$t,ko=u(()=>{"use strict";_();Y();jg();Nd();p0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Bd=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Yg=Symbol("registerInterval"),Fd=Symbol("registerAttempts"),u0=40;$t=class extends f0(ct){}});function Oi(r){return r.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Ei(r){var e;return r.dateFilter?{key:r.key,type:"DATE",dateValue:r.dateFilter.type}:r.rangeFilter?{key:r.key,type:"RANGE",from:r.rangeFilter.from,to:r.rangeFilter.to}:{key:r.key,values:(e=r.valueFilter)===null||e===void 0?void 0:e.values}}var Dd=u(()=>{"use strict"});var Na,Qg=u(()=>{"use strict";_();si();nr();Dd();Na=class{constructor(e,t){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=i=>{if(!this.canSendEvent()||!i)return;let n=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(n,i):this.sendDocumentSearchEvent(n,i)},this.eventsService=t??new Aa,this.resultsWatcher=ri(e,i=>i.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=K.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,t){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Co.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Oi(e.metadataFilters),facets:e.metadataFilters.map(n=>Ei(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,t){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Co.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Oi(e.metadataFilters),facets:e.metadataFilters.map(n=>Ei(n))},document:this.document};this.eventsService.sendDocumentSearchEvent(i)}sendResultClickedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==At.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Co.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Oi(i.metadataFilters),facets:i.metadataFilters.map(s=>Ei(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==At.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Co.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Oi(i.metadataFilters),facets:i.metadataFilters.map(s=>Ei(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case At.MAP:return{id:e.map.mapId,title:e.map.title,type:ii.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case At.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:ii.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case At.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:ii.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var t,i,n,a,s;return(a=(i=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var tt,Fa,Ba,Da,Te,Md=u(()=>{"use strict";P();Y();_();Pd();ko();nr();vd();Qg();tt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Fa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ba=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Da=class extends CustomEvent{constructor(e,t,i){super("ft-search-results-change",{detail:{request:e,paging:t,spellcheck:i}})}},Te=class extends ct{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Ci.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new Na(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(K)}render(){return S`
|
|
1231
1231
|
<slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click="${this.onResultClicked}"
|
|
1232
1232
|
@ft-search-result-open-context-menu=${this.onResultContextMenuOpened}></slot>
|
|
1233
|
-
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ba(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Da(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Fa(e))}reloadSavedSearches(){gg.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}}
|
|
1233
|
+
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ba(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Da(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Fa(e))}reloadSavedSearches(){gg.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};Te.elementDefinitions={};Te.styles=$d;tt([Oe({store:K.name})],Te.prototype,"session",void 0);tt([h()],Te.prototype,"query",void 0);tt([h()],Te.prototype,"contentLocale",void 0);tt([h({type:Number})],Te.prototype,"pageSize",void 0);tt([h({type:Boolean})],Te.prototype,"searchInDocumentTitlesOnly",void 0);tt([h()],Te.prototype,"scope",void 0);tt([h()],Te.prototype,"virtualField",void 0);tt([h({type:Boolean})],Te.prototype,"ignoreEmptyQuery",void 0);tt([Oe({store:K.name})],Te.prototype,"openExternalDocumentInNewTab",void 0);tt([Ee([])],Te.prototype,"filters",void 0);tt([Ee([])],Te.prototype,"sort",void 0);tt([Ee({})],Te.prototype,"otherQueryParams",void 0);tt([Oe({store:"search"})],Te.prototype,"request",void 0);tt([Oe({store:"search"})],Te.prototype,"paging",void 0);tt([Oe({store:"search",selector:r=>r.spellcheck})],Te.prototype,"autocorrect",void 0);tt([h({attribute:!1})],Te.prototype,"searchServiceProvider",void 0)});var Xg=u(()=>{"use strict"});var Jg={};ae(Jg,{ClearAllFiltersEvent:()=>yn,FtSearchContext:()=>Te,FtSearchContextCssVariables:()=>c0,FtSearchStateManager:()=>Ci,LoadErrorEvent:()=>Fa,SearchRequestChangeEvent:()=>Ba,SearchResultsChangeEvent:()=>Da,convertMetadataFilterToAnalyticsFacet:()=>Ei,getAnalyticsLastUpdate:()=>Oi,searchInDocumentTitlesOnlySelector:()=>qg,styles:()=>$d});var ey=u(()=>{"use strict";_();Md();Pd();Xg();Md();Nd();Dd();U("ft-search-context")(Te)});var Yr,Ud=u(()=>{"use strict";sr();Yr=ar.build("designedSearchInput")});var Pt,zd=u(()=>{"use strict";(function(r){r.S="S",r.M="M",r.L="L",r.XL="XL",r.XXL="XXL"})(Pt||(Pt={}))});var ty,Hd=u(()=>{"use strict";P();ty=k`
|
|
1234
1234
|
.ft-size-watcher--pixel {
|
|
1235
1235
|
width: 0;
|
|
1236
1236
|
height: 0;
|
|
@@ -1334,7 +1334,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1334
1334
|
|
|
1335
1335
|
.ft-checkbox.ft-checkbox--error {
|
|
1336
1336
|
color: ${Ot.errorColor};
|
|
1337
|
-
${y(
|
|
1337
|
+
${y(T.color,Ot.errorColor)};
|
|
1338
1338
|
|
|
1339
1339
|
.ft-checkbox--box {
|
|
1340
1340
|
border-color: ${Ot.errorColor};
|
|
@@ -1590,11 +1590,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1590
1590
|
<ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
|
|
1591
1591
|
${this.noValuesLabel}
|
|
1592
1592
|
</ft-typography>
|
|
1593
|
-
|
|
1594
|
-
${
|
|
1593
|
+
`:$}
|
|
1594
|
+
${$e(t,i=>i.value,i=>{var n;return S`
|
|
1595
1595
|
<div class="ft-filter-level--option" part="options" tabindex="-1">
|
|
1596
1596
|
${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
|
|
1597
|
-
${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0
|
|
1597
|
+
${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?$:S`
|
|
1598
1598
|
<ft-button icon="thin_arrow_right"
|
|
1599
1599
|
part="controls navigate-hierarchy"
|
|
1600
1600
|
aria-label="Expand node"
|
|
@@ -1614,7 +1614,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1614
1614
|
@click=${this.displayMore}>
|
|
1615
1615
|
${this.moreValuesButtonLabel}
|
|
1616
1616
|
</ft-button>
|
|
1617
|
-
|
|
1617
|
+
`:$}
|
|
1618
1618
|
</div>
|
|
1619
1619
|
`}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){var e;let t=(e=this.limit)!==null&&e!==void 0?e:0,i=this.parent!=null;this.displayedPages++,this.elementToFocus={selector:`.ft-filter-level--option:nth-child(${t+(i?2:1)}) [part~="option"]`}}buildMultiValuedOption(e){var t;return S`
|
|
1620
1620
|
<ft-checkbox name="${this.filterId}"
|
|
@@ -2070,7 +2070,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2070
2070
|
</div>
|
|
2071
2071
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
2072
2072
|
</div>
|
|
2073
|
-
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};Nt.elementDefinitions={"ft-ripple":ee,"ft-typography":re,"ft-icon":ve};Nt.styles=wy;Va([h()],Nt.prototype,"icon",void 0);Va([h()],Nt.prototype,"iconVariant",void 0);Va([h()],Nt.prototype,"label",void 0);Va([h({type:Boolean,reflect:!0})],Nt.prototype,"active",void 0)});var Ry=u(()=>{"use strict"});var Ay=u(()=>{"use strict"});var Ly=u(()=>{"use strict";_();sp();cp();sp();ap();Ry();cp();lp();Ay();U("ft-accordion")(cr);U("ft-accordion-item")(Nt)});var Iy,ot,ky,dp,_y
|
|
2073
|
+
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};Nt.elementDefinitions={"ft-ripple":ee,"ft-typography":re,"ft-icon":ve};Nt.styles=wy;Va([h()],Nt.prototype,"icon",void 0);Va([h()],Nt.prototype,"iconVariant",void 0);Va([h()],Nt.prototype,"label",void 0);Va([h({type:Boolean,reflect:!0})],Nt.prototype,"active",void 0)});var Ry=u(()=>{"use strict"});var Ay=u(()=>{"use strict"});var Ly=u(()=>{"use strict";_();sp();cp();sp();ap();Ry();cp();lp();Ay();U("ft-accordion")(cr);U("ft-accordion-item")(Nt)});var Iy,ot,ky,dp,_y,Ty,pp=u(()=>{"use strict";P();_();Rr();Lt();wo();Ht();Iy=o.extend("--ft-chip-color","",E.colorOnSurface),ot={backgroundColor:o.extend("--ft-chip-background-color","",E.colorSurface),color:Iy,fontSize:o.extend("--ft-chip-font-size","",ze.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",ze.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",Iy),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",E.colorOutline),opacityDisabled:o.external(E.colorOpacityDisabled,"Design system")},ky=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",E.colorOnPrimary)),dp={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",E.colorPrimary)),color:ky,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",ky)},_y={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Ty=[Or,k`
|
|
2074
2074
|
:host {
|
|
2075
2075
|
display: inline-block;
|
|
2076
2076
|
max-width: 100%;
|
|
@@ -2097,7 +2097,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2097
2097
|
|
|
2098
2098
|
border: 1px solid ${ot.borderColor};
|
|
2099
2099
|
color: ${ot.color};
|
|
2100
|
-
${y(
|
|
2100
|
+
${y(T.color,ot.rippleColor)};
|
|
2101
2101
|
border-radius: var(${hr(ot.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
2102
2102
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
2103
2103
|
background-color: ${ot.backgroundColor};
|
|
@@ -2130,7 +2130,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2130
2130
|
border: none;
|
|
2131
2131
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
2132
2132
|
background-color: ${dp.backgroundColor};
|
|
2133
|
-
${y(
|
|
2133
|
+
${y(T.color,dp.rippleColor)};
|
|
2134
2134
|
color: ${dp.color};
|
|
2135
2135
|
}
|
|
2136
2136
|
|
|
@@ -2237,7 +2237,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2237
2237
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
2238
2238
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
2239
2239
|
</div>
|
|
2240
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ja))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ja))}getLabel(){return this.label||this.textContent}get textContent(){return Wo(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Fe.elementDefinitions={"ft-ripple":ee,"ft-typography":re,"ft-icon":ve,"ft-button":_e};Fe.styles
|
|
2240
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ja))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ja))}getLabel(){return this.label||this.textContent}get textContent(){return Wo(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Fe.elementDefinitions={"ft-ripple":ee,"ft-typography":re,"ft-icon":ve,"ft-button":_e};Fe.styles=Ty;yt([h({type:Boolean})],Fe.prototype,"highlighted",void 0);yt([h({type:Boolean})],Fe.prototype,"removable",void 0);yt([h({type:Boolean})],Fe.prototype,"disabled",void 0);yt([h({type:Boolean})],Fe.prototype,"clickable",void 0);yt([h({type:Boolean})],Fe.prototype,"iconClickable",void 0);yt([h({type:Boolean})],Fe.prototype,"dense",void 0);yt([h({type:Boolean})],Fe.prototype,"multiLine",void 0);yt([h()],Fe.prototype,"label",void 0);yt([h()],Fe.prototype,"iconLabel",void 0);yt([h({type:Boolean})],Fe.prototype,"hideIconTooltip",void 0);yt([h()],Fe.prototype,"icon",void 0);yt([h()],Fe.prototype,"iconVariant",void 0);yt([h({type:Boolean})],Fe.prototype,"trailingIcon",void 0);yt([z("ft-typography slot")],Fe.prototype,"slottedContent",void 0)});var $y,fp=u(()=>{"use strict";P();te();_();kt();$y=[k`
|
|
2241
2241
|
:host {
|
|
2242
2242
|
display: inline-block;
|
|
2243
2243
|
max-width: 100%;
|
|
@@ -2363,7 +2363,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2363
2363
|
<div class="ftds-chip--icon-container" part="icon-container">
|
|
2364
2364
|
<ft-icon .variant=${Ve.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
|
|
2365
2365
|
</div>
|
|
2366
|
-
|
|
2366
|
+
`:$}renderAction(){return this.removable?S`
|
|
2367
2367
|
<ftds-button round
|
|
2368
2368
|
class="ftds-chip--remove-button"
|
|
2369
2369
|
@click=${this.dispatchRemoveEvent}
|
|
@@ -2375,7 +2375,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2375
2375
|
></ftds-button>
|
|
2376
2376
|
`:this.withAction?S`
|
|
2377
2377
|
<slot name="action"></slot>
|
|
2378
|
-
|
|
2378
|
+
`:$}resolveButtonSize(){switch(this.size){case We.large:return We.medium;case We.medium:case We.small:return We.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new hp)}typographyVariant(){switch(this.size){case We.large:return It.body2medium;case We.medium:return It.caption1medium;case We.small:return It.caption2medium}}};Ft.elementDefinitions={"ft-typography":re,"ft-icon":ve,"ftds-button":zt};Ft.styles=$y;Ai([h({type:Boolean})],Ft.prototype,"withAction",void 0);Ai([h({type:Boolean})],Ft.prototype,"removable",void 0);Ai([h()],Ft.prototype,"removeButtonLabel",void 0);Ai([h()],Ft.prototype,"label",void 0);Ai([h()],Ft.prototype,"icon",void 0);Ai([z("ft-typography slot")],Ft.prototype,"slottedContent",void 0)});var Py=u(()=>{"use strict"});var Ny=u(()=>{"use strict"});var gp=u(()=>{"use strict";_();up();mp();up();pp();Py();mp();fp();Ny();U("ft-chip")(Fe);U("ftds-chip")(Ft)});var X,Fy,Li=u(()=>{"use strict";P();_();Lt();X={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",E.colorOutline),textColor:o.extend("--ft-input-label-text-color","",E.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",E.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",E.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",E.borderRadiusS),colorError:o.external(E.colorError,"Design system")},Fy=k`
|
|
2379
2379
|
.ft-input-label {
|
|
2380
2380
|
position: absolute;
|
|
2381
2381
|
inset: 0;
|
|
@@ -2615,13 +2615,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2615
2615
|
padding-right: ${ie.horizontalSpacing};
|
|
2616
2616
|
gap: 8px;
|
|
2617
2617
|
color: ${ie.selectedOptionColor};
|
|
2618
|
-
${y(
|
|
2618
|
+
${y(T.color,ie.selectedOptionColor)};
|
|
2619
2619
|
}
|
|
2620
2620
|
|
|
2621
2621
|
.ft-select--input-panel,
|
|
2622
2622
|
.ft-select--option {
|
|
2623
|
-
${y(
|
|
2624
|
-
${y(
|
|
2623
|
+
${y(T.opacityContentOnSurfaceHover,"0.08")};
|
|
2624
|
+
${y(T.opacityContentOnSurfacePressed,"0.04")};
|
|
2625
2625
|
}
|
|
2626
2626
|
|
|
2627
2627
|
.ft-select--input-panel > *:not(ft-ripple),
|
|
@@ -2763,13 +2763,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2763
2763
|
part="options"
|
|
2764
2764
|
@keydown=${this.onOptionsKeyDown}
|
|
2765
2765
|
innerrole="listbox">
|
|
2766
|
-
${
|
|
2766
|
+
${$e(this.options,g=>g.value,g=>this.renderOption(g))}
|
|
2767
2767
|
</div>
|
|
2768
2768
|
</div>
|
|
2769
2769
|
<slot name="helper" part="helper">
|
|
2770
2770
|
${this.helper?S`
|
|
2771
2771
|
<ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
|
|
2772
|
-
</ft-typography
|
|
2772
|
+
</ft-typography>`:$}
|
|
2773
2773
|
</slot>
|
|
2774
2774
|
</div>
|
|
2775
2775
|
<slot @slotchange=${this.updateOptionsFromSlot}
|
|
@@ -3175,9 +3175,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3175
3175
|
role="listbox"
|
|
3176
3176
|
aria-label="${this.searchBar.labelResolver.resolve("suggestionsAriaLabel")}"
|
|
3177
3177
|
part="suggestions-container">
|
|
3178
|
-
${
|
|
3178
|
+
${$e(e.slice(0,5),t=>t,(t,i)=>S`
|
|
3179
3179
|
<div part="suggestion-container"
|
|
3180
|
-
class=${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected"
|
|
3180
|
+
class=${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected":$}>
|
|
3181
3181
|
<a href="${this.getRequestWithQuery(t)}"
|
|
3182
3182
|
part="suggestions"
|
|
3183
3183
|
class="ft-search-bar--suggestion ft-search-bar--recent-search"
|
|
@@ -3204,9 +3204,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3204
3204
|
</ft-button>
|
|
3205
3205
|
</div>
|
|
3206
3206
|
`)}
|
|
3207
|
-
${
|
|
3207
|
+
${$e(this.searchBar.suggestions,t=>t.value,(t,i)=>S`
|
|
3208
3208
|
<div part="suggestion-container"
|
|
3209
|
-
class=${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected"
|
|
3209
|
+
class=${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected":$}>
|
|
3210
3210
|
<a href="${this.getRequestWithQuery(t.value)}"
|
|
3211
3211
|
part="suggestions"
|
|
3212
3212
|
class="ft-search-bar--suggestion"
|
|
@@ -3312,7 +3312,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3312
3312
|
}
|
|
3313
3313
|
|
|
3314
3314
|
ft-ripple {
|
|
3315
|
-
${y(
|
|
3315
|
+
${y(T.opacityContentOnSurfaceHover,T.opacityContentOnSurfaceSelected)}
|
|
3316
3316
|
}
|
|
3317
3317
|
`]});var ur,Ya=u(()=>{"use strict";P();Zt();Gd();_();Ha();gp();ur=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return S``;let e=this.searchBar.isMobile(),t=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=S`
|
|
3318
3318
|
${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?S`
|
|
@@ -3325,15 +3325,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3325
3325
|
${this.getLocaleLabel(this.searchBar.contentLocale)}
|
|
3326
3326
|
</ft-chip>
|
|
3327
3327
|
`:null}
|
|
3328
|
-
${
|
|
3328
|
+
${$e(this.searchBar.facets,n=>n.key,n=>{let a=sy(n);return $e(a,s=>{let l=n.label+": "+iy(s),d=n.key.replace(":","-"),f=S`
|
|
3329
3329
|
<ft-chip
|
|
3330
3330
|
part="selected-filters selected-filter-${d}"
|
|
3331
3331
|
?dense=${this.searchBar.dense&&!e}
|
|
3332
3332
|
?clickable=${e}
|
|
3333
3333
|
?removable=${!e}
|
|
3334
|
-
icon=${e
|
|
3334
|
+
icon=${e?$:"close"}
|
|
3335
3335
|
label="${l}"
|
|
3336
|
-
title=${t?l
|
|
3336
|
+
title=${t?l:$}
|
|
3337
3337
|
@click=${()=>this.openMobileFilters(n.key)}
|
|
3338
3338
|
@icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(g=>g!==s))}
|
|
3339
3339
|
data-key="${n.key}"
|
|
@@ -3352,7 +3352,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3352
3352
|
@click=${()=>{this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0}}>
|
|
3353
3353
|
${this.searchBar.labelResolver.resolve("filtersButton")}
|
|
3354
3354
|
</ft-chip>
|
|
3355
|
-
|
|
3355
|
+
`:$}
|
|
3356
3356
|
`;return t?S`
|
|
3357
3357
|
<ft-snap-scroll horizontal controls hideScrollbar limitSize
|
|
3358
3358
|
class="ft-search-bar--selected-filters"
|
|
@@ -3404,7 +3404,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3404
3404
|
aria-autocomplete="list"
|
|
3405
3405
|
aria-controls="${this.suggestManager.listboxId}"
|
|
3406
3406
|
aria-expanded="${this.searchBar.displaySuggestListbox}"
|
|
3407
|
-
aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e
|
|
3407
|
+
aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e:$}"
|
|
3408
3408
|
part="input"
|
|
3409
3409
|
type="search"
|
|
3410
3410
|
placeholder="${this.searchBar.labelResolver.resolve("inputPlaceHolder")}"
|
|
@@ -3426,7 +3426,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3426
3426
|
@click=${()=>this.searchBar.onLaunchSearch()}>
|
|
3427
3427
|
${this.searchBar.labelResolver.resolve("searchButton")}
|
|
3428
3428
|
</ft-button>
|
|
3429
|
-
|
|
3429
|
+
`:$}
|
|
3430
3430
|
</div>
|
|
3431
3431
|
`}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return S`
|
|
3432
3432
|
<div class="ft-search-bar--actions" part="search-bar-actions">
|
|
@@ -3440,7 +3440,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3440
3440
|
@click=${async()=>{this.searchBar.setQuery(""),this.searchBar.mobileMenuOpen=!1,this.searchBar.displayFacets=!1}}
|
|
3441
3441
|
></ft-button>
|
|
3442
3442
|
<div class="ft-search-bar--separator"></div>
|
|
3443
|
-
|
|
3443
|
+
`:$}
|
|
3444
3444
|
<ft-button class="ft-search-bar--launch-search"
|
|
3445
3445
|
href="${this.searchBar.isMobileMenuOpen()?this.searchBar.searchRequestSerializer(this.searchBar.request):""}"
|
|
3446
3446
|
part="launch-search-in-bar"
|
|
@@ -3459,13 +3459,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3459
3459
|
${this.renderSearchBarLeftAction()}
|
|
3460
3460
|
<div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
|
|
3461
3461
|
<div class="ft-search-bar--input-outline" part="input-outline">
|
|
3462
|
-
${this.searchBar.dense?this.selectedFacetsManager.render()
|
|
3462
|
+
${this.searchBar.dense?this.selectedFacetsManager.render():$}
|
|
3463
3463
|
<input class="ft-search-bar--input ft-typography--body2"
|
|
3464
3464
|
role="combobox"
|
|
3465
3465
|
aria-autocomplete="list"
|
|
3466
3466
|
aria-controls="${this.suggestManager.listboxId}"
|
|
3467
3467
|
aria-expanded="${this.searchBar.displaySuggestListbox}"
|
|
3468
|
-
aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e
|
|
3468
|
+
aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e:$}"
|
|
3469
3469
|
part="input"
|
|
3470
3470
|
type="search"
|
|
3471
3471
|
placeholder="${this.searchBar.labelResolver.resolve("inputPlaceHolder")}"
|
|
@@ -3480,9 +3480,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3480
3480
|
${this.renderDesktopSearchBarButtons()}
|
|
3481
3481
|
${this.searchBar.renderDesktopFloatingMenu()}
|
|
3482
3482
|
</div>
|
|
3483
|
-
${this.searchBar.dense
|
|
3483
|
+
${this.searchBar.dense?$:this.searchBar.forceMenuOpen?this.searchBar.renderDesktopMenu():this.selectedFacetsManager.render()}
|
|
3484
3484
|
</div>
|
|
3485
|
-
`}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen
|
|
3485
|
+
`}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?$:S`
|
|
3486
3486
|
<ft-button class="ft-search-bar--filters-opener ft-search-bar--left-action"
|
|
3487
3487
|
part="filters-opener"
|
|
3488
3488
|
trailingIcon
|
|
@@ -3501,14 +3501,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3501
3501
|
ariaLabel="${this.searchBar.labelResolver.resolve("selectLocale")}"
|
|
3502
3502
|
.exportpartsPrefixes=${["content-locale","select-ft-locale"]}
|
|
3503
3503
|
@change=${e=>this.searchBar.contentLocale=e.detail==null?void 0:e.detail}>
|
|
3504
|
-
${
|
|
3504
|
+
${$e(this.searchBar.availableContentLocales,e=>e.lang,e=>S`
|
|
3505
3505
|
<ft-select-option .value=${e.lang}
|
|
3506
3506
|
label="${e.label}"
|
|
3507
3507
|
?selected=${e.lang==this.searchBar.contentLocale}>
|
|
3508
3508
|
</ft-select-option>
|
|
3509
3509
|
`)}
|
|
3510
3510
|
</ft-select>
|
|
3511
|
-
|
|
3511
|
+
`:$}renderDesktopSearchBarButtons(){return S`
|
|
3512
3512
|
<div class="ft-search-bar--actions"
|
|
3513
3513
|
part="search-bar-actions">
|
|
3514
3514
|
${this.searchBar.query?S`
|
|
@@ -3553,14 +3553,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3553
3553
|
<ft-typography class="ft-search-bar--filter-label-values" variant="body2">
|
|
3554
3554
|
${e?.label}
|
|
3555
3555
|
</ft-typography>
|
|
3556
|
-
|
|
3556
|
+
`:$}
|
|
3557
3557
|
</div>
|
|
3558
3558
|
<div part="content-locale-selector">
|
|
3559
3559
|
${this.getContentLocaleRadioGroup()}
|
|
3560
3560
|
</div>
|
|
3561
3561
|
</ft-accordion-item>
|
|
3562
3562
|
`:null}
|
|
3563
|
-
${
|
|
3563
|
+
${$e(this.facets,t=>t.key,t=>{let i=jd(t),n=t.key.replace(":","-"),a=ay(i);return t.rootNodes.length>0?S`
|
|
3564
3564
|
<ft-accordion-item data-facet-key="${t.key}">
|
|
3565
3565
|
<div class="ft-search-bar--filter-label" slot="toggle">
|
|
3566
3566
|
<ft-typography variant="button">${t.label}</ft-typography>
|
|
@@ -3568,7 +3568,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3568
3568
|
<ft-typography class="ft-search-bar--filter-label-values" variant="body2">
|
|
3569
3569
|
${a.join(", ")}
|
|
3570
3570
|
</ft-typography>
|
|
3571
|
-
|
|
3571
|
+
`:$}
|
|
3572
3572
|
</div>
|
|
3573
3573
|
<ft-filter
|
|
3574
3574
|
part="filters filter filter-${n}"
|
|
@@ -3585,12 +3585,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3585
3585
|
@change=${s=>this.setFilter(i.id,s.detail)}
|
|
3586
3586
|
></ft-filter>
|
|
3587
3587
|
</ft-accordion-item>
|
|
3588
|
-
|
|
3588
|
+
`:$})}
|
|
3589
3589
|
</ft-accordion>
|
|
3590
3590
|
`}getContentLocaleRadioGroup(){var e;return S`
|
|
3591
3591
|
<ft-radio-group aria-labelledby="content_locale_radio_group_label"
|
|
3592
3592
|
@change=${t=>{this.contentLocale=t.detail==="all"?void 0:t.detail,this.clearFilters()}}>
|
|
3593
|
-
${
|
|
3593
|
+
${$e((e=this.availableContentLocales)!==null&&e!==void 0?e:[],t=>t.lang,t=>{var i;return S`
|
|
3594
3594
|
<ft-radio value="${(i=t.lang)!==null&&i!==void 0?i:"all"}"
|
|
3595
3595
|
?checked=${t.lang==this.contentLocale}>
|
|
3596
3596
|
${t.label}
|
|
@@ -3602,7 +3602,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3602
3602
|
${this.renderFacetsActions()}
|
|
3603
3603
|
${this.renderDesktopFacets()}
|
|
3604
3604
|
<div class="ft-search-bar--facets-actions">
|
|
3605
|
-
${this.forceMenuOpen?this.renderDesktopClearFilters()
|
|
3605
|
+
${this.forceMenuOpen?this.renderDesktopClearFilters():$}
|
|
3606
3606
|
<ft-button class="ft-search-bar--launch-search"
|
|
3607
3607
|
href="${this.searchRequestSerializer(this.request)}"
|
|
3608
3608
|
part="launch-search-in-panel"
|
|
@@ -3612,7 +3612,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3612
3612
|
</ft-button>
|
|
3613
3613
|
</div>
|
|
3614
3614
|
</div>
|
|
3615
|
-
|
|
3615
|
+
`:$}renderFacetsActions(){var e;return S`
|
|
3616
3616
|
<div class="ft-search-bar--facets-actions">
|
|
3617
3617
|
${this.hasPresets?S`
|
|
3618
3618
|
<ft-select
|
|
@@ -3621,23 +3621,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3621
3621
|
label="${this.labelResolver.resolve("presetsSelector")}"
|
|
3622
3622
|
outlined
|
|
3623
3623
|
@change=${t=>this.selectedPreset=t.detail}>
|
|
3624
|
-
${
|
|
3624
|
+
${$e((e=this.presets)!==null&&e!==void 0?e:[],t=>t.name,t=>S`
|
|
3625
3625
|
<ft-select-option value="${t.name}"
|
|
3626
3626
|
label="${t.name}"
|
|
3627
3627
|
?selected=${t.name===this.selectedPreset}>
|
|
3628
3628
|
</ft-select-option>
|
|
3629
3629
|
`)}
|
|
3630
3630
|
</ft-select>
|
|
3631
|
-
|
|
3631
|
+
`:$}
|
|
3632
3632
|
<slot name="facets-actions"></slot>
|
|
3633
|
-
${this.forceMenuOpen&&!this.isMobile()
|
|
3633
|
+
${this.forceMenuOpen&&!this.isMobile()?$:this.renderDesktopClearFilters()}
|
|
3634
3634
|
</div>
|
|
3635
3635
|
`}renderDesktopClearFilters(){return this.metadataFilters.length>0?S`
|
|
3636
3636
|
<ft-button part="facets-actions"
|
|
3637
3637
|
@click=${this.clearFilters}>
|
|
3638
3638
|
${this.labelResolver.resolve("clearFilters")}
|
|
3639
3639
|
</ft-button>
|
|
3640
|
-
|
|
3640
|
+
`:$}renderDesktopFacets(){return this.hasFacets()?S`
|
|
3641
3641
|
<ft-snap-scroll horizontal limitSize controls
|
|
3642
3642
|
class="ft-search-bar--filters-container"
|
|
3643
3643
|
part="filters-container"
|
|
@@ -3652,8 +3652,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3652
3652
|
</div>
|
|
3653
3653
|
${this.getContentLocaleRadioGroup()}
|
|
3654
3654
|
</div>
|
|
3655
|
-
|
|
3656
|
-
${
|
|
3655
|
+
`:$}
|
|
3656
|
+
${$e(this.facets,e=>e.key,e=>{let t=jd(e),i=t.options.some(a=>{var s,l;return((l=(s=a.subOptions)===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return S`
|
|
3657
3657
|
<ft-filter
|
|
3658
3658
|
class="${i?"ft-search-bar--hierarchical-filter":""}"
|
|
3659
3659
|
part="filters filter filter-${n}"
|
|
@@ -3672,7 +3672,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3672
3672
|
></ft-filter>
|
|
3673
3673
|
`})}
|
|
3674
3674
|
</ft-snap-scroll>
|
|
3675
|
-
|
|
3675
|
+
`:$}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var t,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new zr(tb,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=d=>this.availableContentLocales.some(f=>f.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(t=this.availableContentLocales[0])===null||t===void 0?void 0:t.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(f=>Ma(f)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(d=>d.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new Ep(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var t,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((t=this.floatingContainer)===null||t===void 0||t.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let t=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),t.set(n.key,n)})).catch(h0)),this.facets=[];for(let i of this.facetsRequest)t.has(i.id)?this.facets.push(t.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var t;e.key==="Escape"&&(this.displayFacets=!1,(t=this.filtersOpener)===null||t===void 0||t.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(t=>t.toLowerCase()!==this.query.toLowerCase()).filter((t,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!jc&&this.focusInput(),K.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),K.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,t){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&xt(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=t.includes(a.value))}),t.length&&i.push({key:e,valueFilter:{negative:!1,values:t}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(t=>xt(t.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?$:S`
|
|
3676
3676
|
<div class="ft-search-bar--floating-panel"
|
|
3677
3677
|
id="ft-search-bar-floating-panel"
|
|
3678
3678
|
@keyup=${this.onFloatingContainerKeyUp}
|
|
@@ -3726,7 +3726,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3726
3726
|
}
|
|
3727
3727
|
|
|
3728
3728
|
ft-ripple {
|
|
3729
|
-
${y(
|
|
3729
|
+
${y(T.opacityContentOnSurfaceHover,T.opacityContentOnSurfaceSelected)}
|
|
3730
3730
|
}
|
|
3731
3731
|
`});var eo,ab=u(()=>{"use strict";_();P();nb();Zt();kt();pt();Be();nr();Ud();eo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=Ir.get();return S`
|
|
3732
3732
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
@@ -3734,7 +3734,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3734
3734
|
role="listbox"
|
|
3735
3735
|
aria-label="${Yr.messages.suggestionsLabel()}"
|
|
3736
3736
|
part="container">
|
|
3737
|
-
${
|
|
3737
|
+
${$e(this.ftSearchInput.suggestResults||[],t=>t.value,(t,i)=>this.renderSuggestion(i,t,e))}
|
|
3738
3738
|
</div>
|
|
3739
3739
|
`}renderSuggestion(e,t,i){let n=`suggestion-${e}`,a=S`
|
|
3740
3740
|
<ft-ripple ?activated=${this.ftSearchInput.selectedSuggestOptionId===n}></ft-ripple>
|
|
@@ -3764,7 +3764,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3764
3764
|
</div>
|
|
3765
3765
|
`}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let t=e.type==="DOCUMENT"?Ve.file_format:Ve.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?ft.BOOK:ft.ARTICLE;break;case"DOCUMENT":i=ha(e.mimeType,e.filenameExtension);break;case"TOPIC":i=ft.TOPICS;break}return S`
|
|
3766
3766
|
<ft-icon .variant="${t}" .value="${i}" part="suggestion-icon"></ft-icon>
|
|
3767
|
-
`}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};eo.elementDefinitions={"ft-ripple":ee,"ft-typography":re,"ft-icon":ve};eo.styles=[rn,ib]});var jt,je,Rp=u(()=>{"use strict";P();_();un();ko();sr();Ud();Y();nt();ab();Ht();Be();nr();jt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},je=class extends $t
|
|
3767
|
+
`}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};eo.elementDefinitions={"ft-ripple":ee,"ft-typography":re,"ft-icon":ve};eo.styles=[rn,ib]});var jt,je,Rp=u(()=>{"use strict";P();_();un();ko();sr();Ud();Y();nt();ab();Ht();Be();nr();jt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},je=class extends Tt($t){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.suggestions=new eo(this),this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(Yr)}render(){var e,t,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(t=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&t!==void 0?t:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=Ir.get().serializeToCurrentPageIfPossible(a,s);return S`
|
|
3768
3768
|
<div class="${ye(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
|
|
3769
3769
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
3770
3770
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
@@ -3777,7 +3777,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3777
3777
|
aria-autocomplete="list"
|
|
3778
3778
|
aria-controls="${this.suggestions.listboxId}"
|
|
3779
3779
|
aria-expanded="${this.displaySuggestListbox}"
|
|
3780
|
-
aria-activedescendant="${(i=this.selectedSuggestOptionId)!==null&&i!==void 0?i
|
|
3780
|
+
aria-activedescendant="${(i=this.selectedSuggestOptionId)!==null&&i!==void 0?i:$}"
|
|
3781
3781
|
@input=${d=>this.onInput(d)}
|
|
3782
3782
|
@click="${()=>this.onClick()}"
|
|
3783
3783
|
@focus="${()=>this.onFocus()}"
|
|
@@ -3787,7 +3787,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3787
3787
|
<div class="sr-only" aria-live="polite" aria-atomic="true">
|
|
3788
3788
|
${this.renderLiveText()}
|
|
3789
3789
|
</div>
|
|
3790
|
-
${this.shouldDisplaySuggestions?this.suggestions.render()
|
|
3790
|
+
${this.shouldDisplaySuggestions?this.suggestions.render():$}
|
|
3791
3791
|
</div>
|
|
3792
3792
|
<div class="ft-search-input--actions" part="actions">
|
|
3793
3793
|
${this.liveQuery?S`
|
|
@@ -3811,12 +3811,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3811
3811
|
></ft-button>
|
|
3812
3812
|
</div>
|
|
3813
3813
|
</div>
|
|
3814
|
-
`}renderLiveText(){return this.shouldDisplaySuggestions?Yr.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":let t=this.suggestions.selectedSuggestOption||this.launchSearchButton;t?.click();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(e){var t;(t=this.stateManager)===null||t===void 0||t.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch("")
|
|
3815
|
-
`});var Ip,db=u(()=>{"use strict";sr();Ip=ar.fromGwt("designedActionBlockAriaLabels")});var pb
|
|
3814
|
+
`}renderLiveText(){return this.shouldDisplaySuggestions?Yr.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":let t=this.suggestions.selectedSuggestOption||this.launchSearchButton;t?.click();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(e){var t;(t=this.stateManager)===null||t===void 0||t.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):$,this.input.focus()}launchSearch(e){var t;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(t=this.stateManager)===null||t===void 0||t.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.displaySuggestListbox=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};je.elementDefinitions={"ft-button":_e,...eo.elementDefinitions};je.styles=[qr,yo,ld,...eo.styles,di];jt([Oe()],je.prototype,"request",void 0);jt([Oe()],je.prototype,"liveQuery",void 0);jt([Oe()],je.prototype,"suggestResults",void 0);jt([D()],je.prototype,"forceCloseSuggestion",void 0);jt([D()],je.prototype,"displaySuggestListbox",void 0);jt([D()],je.prototype,"selectedSuggestOptionId",void 0);jt([h()],je.prototype,"launchSearchPath",void 0);jt([h({type:Boolean})],je.prototype,"useCustomSearchPath",void 0);jt([h({type:Boolean})],je.prototype,"triggerSearchOnClear",void 0);jt([z(".ft-search-input--input")],je.prototype,"input",void 0);jt([z('[part="launch-search-in-input"]')],je.prototype,"launchSearchButton",void 0)});var sb=u(()=>{"use strict"});var lb={};ae(lb,{FtSearchInput:()=>je,FtSearchInputCssVariables:()=>Se,styles:()=>ld});var cb=u(()=>{"use strict";_();Rp();un();sb();Rp();U("ft-search-input")(je)});var m0,Ap,Lp=u(()=>{"use strict";P();m0={},Ap=k`
|
|
3815
|
+
`});var Ip,db=u(()=>{"use strict";sr();Ip=ar.fromGwt("designedActionBlockAriaLabels")});var pb,Tr,kp=u(()=>{"use strict";P();_();Lp();Ht();ko();sr();db();pb=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Tr=class extends Tt($t){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Ip)}render(){return this.isLastPage?$:S`
|
|
3816
3816
|
<ft-button @click="${this.loadMore}">
|
|
3817
3817
|
${Ip.messages.searchPageLoadMore()}
|
|
3818
3818
|
</ft-button>
|
|
3819
|
-
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}}
|
|
3819
|
+
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Tr.elementDefinitions={"ft-button":_e};Tr.styles=Ap;pb([Oe({store:"search",selector:r=>{var e,t;return(t=(e=r.paging)===null||e===void 0?void 0:e.currentPage)!==null&&t!==void 0?t:1}})],Tr.prototype,"currentPage",void 0);pb([Oe({store:"search",selector:r=>{var e,t;return(t=(e=r.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&t!==void 0?t:!0}})],Tr.prototype,"isLastPage",void 0)});var ub=u(()=>{"use strict"});var fb={};ae(fb,{FtSearchLoadMoreButton:()=>Tr,FtSearchLoadMoreButtonCssVariables:()=>m0,styles:()=>Ap});var hb=u(()=>{"use strict";_();kp();Lp();ub();kp();U("ft-search-load-more-button")(Tr)});function g0(r){var e;class t extends r{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_p]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[_p]):this.dispatchEvent(new Tp)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=_p,Qa([h({attribute:!1})],t.prototype,"cluster",void 0),Qa([h({attribute:!1})],t.prototype,"result",void 0),Qa([h({attribute:!1,type:Number})],t.prototype,"rank",void 0),Qa([h({attribute:!1,type:Boolean})],t.prototype,"openResultInNewTab",void 0),t}var Qa,Tp,_p,Ii,$p=u(()=>{"use strict";ko();Y();Qa=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Tp=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},_p=Symbol("registerInterval");Ii=class extends g0($t){}});var To,Pp=u(()=>{"use strict";P();$p();ba();zi();Be();To=class extends Ii{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?S`
|
|
3820
3820
|
<ft-typography variant="body1" part="text">${po(e)}</ft-typography>
|
|
3821
3821
|
`:S`
|
|
3822
3822
|
<style>
|
|
@@ -3824,8 +3824,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3824
3824
|
display: none !important;
|
|
3825
3825
|
}
|
|
3826
3826
|
</style>
|
|
3827
|
-
`}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(t=>t.setAttribute("part","kwicmatch"))}}
|
|
3828
|
-
<a href="${
|
|
3827
|
+
`}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(t=>t.setAttribute("part","kwicmatch"))}};To.elementDefinitions={"ft-typography":re};To.styles=cd});var mb=u(()=>{"use strict"});var gb={};ae(gb,{FtSearchResultAbstract:()=>To,FtSearchResultAbstractCssVariables:()=>ya,styles:()=>cd});var Np=u(()=>{"use strict";_();Pp();ba();mb();Pp();U("ft-search-result-abstract")(To)});var y0,to,Fp=u(()=>{"use strict";P();Y();$p();va();Be();zi();kd();Td();y0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},to=class extends Ii{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():S`
|
|
3828
|
+
<a href="${Ta(this.result)}"
|
|
3829
3829
|
@click=${this.onResultClick}
|
|
3830
3830
|
@auxclick=${t=>this.onAuxClick(t)}
|
|
3831
3831
|
@contextmenu=${this.onContextMenu}
|
|
@@ -3833,7 +3833,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3833
3833
|
part="link">
|
|
3834
3834
|
${this.renderTitle()}
|
|
3835
3835
|
</a>
|
|
3836
|
-
|
|
3836
|
+
`:$}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){return S`
|
|
3837
3837
|
<ft-typography variant="title" part="text">${po(this.selectTitle(this.result))}</ft-typography>
|
|
3838
3838
|
`}onResultClick(){this.dispatchEvent(new vi(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new Si(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){var t;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(i=>i.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((t=this.stateManager)===null||t===void 0)&&t.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};to.elementDefinitions={"ft-typography":re};to.styles=dd;y0([h({type:Boolean})],to.prototype,"withoutLink",void 0)});var yb=u(()=>{"use strict"});var bb={};ae(bb,{FtSearchResultTitle:()=>to,FtSearchResultTitleCssVariables:()=>xa,styles:()=>dd});var Bp=u(()=>{"use strict";_();Fp();va();yb();Fp();U("ft-search-result-title")(to)});var b0,Dp,Mp=u(()=>{"use strict";P();b0={},Dp=k`
|
|
3839
3839
|
[part="no-results-message"] {
|
|
@@ -3847,23 +3847,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3847
3847
|
}
|
|
3848
3848
|
`});var Xa,vb=u(()=>{"use strict";Xa=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,t){this.cluster=e,this.rank=t,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(t=>this.bindComponent(t))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var Ja,zp,fr,Hp=u(()=>{"use strict";P();Y();_();Up();vb();Ja=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},zp=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},fr=class extends H{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new Xa(e=>this.onResultSelected(e))}render(){return S`
|
|
3849
3849
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
3850
|
-
`}onResultSelected(e){this.result=e,this.dispatchEvent(new zp(this.result))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};fr.elementDefinitions={};fr.styles=xb;Ja([h({attribute:!1})],fr.prototype,"cluster",void 0);Ja([h({attribute:!1,type:Boolean})],fr.prototype,"openResultInNewTab",void 0);Ja([D()],fr.prototype,"result",void 0);Ja([h()],fr.prototype,"index",void 0)});var Sb=u(()=>{"use strict"});var Cb=u(()=>{"use strict";_();Hp();Up();Sb();Hp();U("ft-search-result-context")(fr)});var ki,Ob,Wp=u(()=>{"use strict";sr();ki=ar.build("searchResultsNumber"),Ob={results:"{0} results","results[\\=1]":"1 result"}});var
|
|
3850
|
+
`}onResultSelected(e){this.result=e,this.dispatchEvent(new zp(this.result))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};fr.elementDefinitions={};fr.styles=xb;Ja([h({attribute:!1})],fr.prototype,"cluster",void 0);Ja([h({attribute:!1,type:Boolean})],fr.prototype,"openResultInNewTab",void 0);Ja([D()],fr.prototype,"result",void 0);Ja([h()],fr.prototype,"index",void 0)});var Sb=u(()=>{"use strict"});var Cb=u(()=>{"use strict";_();Hp();Up();Sb();Hp();U("ft-search-result-context")(fr)});var ki,Ob,Wp=u(()=>{"use strict";sr();ki=ar.build("searchResultsNumber"),Ob={results:"{0} results","results[\\=1]":"1 result"}});var $o,wt,Vp=u(()=>{"use strict";P();Zt();Y();_();Mp();ko();Cb();Bp();Np();sr();Wp();$o=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},wt=class extends Tt($t){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>S`
|
|
3851
3851
|
<ft-search-result-title></ft-search-result-title>
|
|
3852
3852
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
3853
3853
|
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(ki)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return S`
|
|
3854
3854
|
<ft-typography part="no-results-message" variant="body1">${ki.messages.results(0)}</ft-typography>
|
|
3855
|
-
`;let e=this.buildClusters();return
|
|
3855
|
+
`;let e=this.buildClusters();return $e(e,t=>t.id,(t,i)=>{var n;return S`
|
|
3856
3856
|
<ft-search-result-context .cluster=${t} index="${i}"
|
|
3857
3857
|
@ft-search-result-cluster-change="${a=>this.onClusterChange(t.id,a.detail)}">
|
|
3858
3858
|
${this.renderResult((n=this.selectedResultByCluster[t.id])!==null&&n!==void 0?n:t.entries[0],i)}
|
|
3859
3859
|
</ft-search-result-context>
|
|
3860
|
-
`})}update(e){var t;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((t=this.stateManager)===null||t===void 0||t.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var t;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let i=(t=this.renderRoot)===null||t===void 0?void 0:t.querySelector("ft-search-result-context");i&&Sc.scrollIntoViewIfPossible(i,{position:1,behavior:"smooth"})}}onClusterChange(e,t){this.selectedResultByCluster[e]=t}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,t;return(t=(e=this.results)===null||e===void 0?void 0:e.map(i=>({id:this.clusterId(i.entries[0]),entries:i.entries})))!==null&&t!==void 0?t:[]}buildAllResultsClusters(){var e,t,i;let n=(t=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&t!==void 0?t:[];return this.paging&&this.paging.page===1?n.slice(0,(i=this.paging.perPage)!==null&&i!==void 0?i:20):n}clusterId(e){var t,i,n,a,s;return(a=(i=(t=e.map)===null||t===void 0?void 0:t.mapId)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};wt.styles=Dp
|
|
3860
|
+
`})}update(e){var t;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((t=this.stateManager)===null||t===void 0||t.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var t;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let i=(t=this.renderRoot)===null||t===void 0?void 0:t.querySelector("ft-search-result-context");i&&Sc.scrollIntoViewIfPossible(i,{position:1,behavior:"smooth"})}}onClusterChange(e,t){this.selectedResultByCluster[e]=t}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,t;return(t=(e=this.results)===null||e===void 0?void 0:e.map(i=>({id:this.clusterId(i.entries[0]),entries:i.entries})))!==null&&t!==void 0?t:[]}buildAllResultsClusters(){var e,t,i;let n=(t=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&t!==void 0?t:[];return this.paging&&this.paging.page===1?n.slice(0,(i=this.paging.perPage)!==null&&i!==void 0?i:20):n}clusterId(e){var t,i,n,a,s;return(a=(i=(t=e.map)===null||t===void 0?void 0:t.mapId)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};wt.styles=Dp;$o([h({type:String,attribute:"cluster-policy"})],wt.prototype,"clusterPolicy",void 0);$o([h({type:Boolean})],wt.prototype,"displayNoResultsMessage",void 0);$o([h({attribute:!1})],wt.prototype,"renderResult",void 0);$o([Ee([])],wt.prototype,"clusterSortCriterion",void 0);$o([Oe({selector:r=>({...r.request,paging:void 0})})],wt.prototype,"requestWithoutPaging",void 0);$o([Oe({selector:r=>r.request.paging})],wt.prototype,"paging",void 0);$o([Oe()],wt.prototype,"results",void 0)});var Eb=u(()=>{"use strict"});var wb={};ae(wb,{FtSearchResults:()=>wt,FtSearchResultsCssVariables:()=>b0,styles:()=>Dp});var Rb=u(()=>{"use strict";_();Vp();Mp();Eb();Vp();U("ft-search-results")(wt)});var x0,jp,Gp=u(()=>{"use strict";P();x0={},jp=k`
|
|
3861
3861
|
|
|
3862
|
-
`});var v0,ro,Kp=u(()=>{"use strict";P();_();Gp();ko();sr();Wp();Be();v0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ro=class extends $t
|
|
3862
|
+
`});var v0,ro,Kp=u(()=>{"use strict";P();_();Gp();ko();sr();Wp();Be();v0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ro=class extends Tt($t){constructor(){super(),this.addI18nContext(ki,Ob)}render(){return this.paging==null?$:S`
|
|
3863
3863
|
<ft-typography variant="body1">
|
|
3864
3864
|
${ki.messages.results(this.paging.totalClustersCount)}
|
|
3865
3865
|
</ft-typography>
|
|
3866
|
-
`}};ro.elementDefinitions={"ft-typography":re};ro.styles=jp;v0([Oe()],ro.prototype,"paging",void 0)});var Ab=u(()=>{"use strict"});var Lb={};ae(Lb,{FtSearchResultsNumber:()=>ro,FtSearchResultsNumberCssVariables:()=>x0,styles:()=>jp});var Ib=u(()=>{"use strict";_();Kp();Gp();Ab();Kp();U("ft-search-results-number")(ro)});_();P();_();P();_();P();_();Rr();var be={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",E.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",E.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",E.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","",E.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","",E.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",E.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",E.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",E.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",E.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",E.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",E.elevation04)}
|
|
3866
|
+
`}};ro.elementDefinitions={"ft-typography":re};ro.styles=jp;v0([Oe()],ro.prototype,"paging",void 0)});var Ab=u(()=>{"use strict"});var Lb={};ae(Lb,{FtSearchResultsNumber:()=>ro,FtSearchResultsNumberCssVariables:()=>x0,styles:()=>jp});var Ib=u(()=>{"use strict";_();Kp();Gp();Ab();Kp();U("ft-search-results-number")(ro)});_();P();_();P();_();P();_();Rr();var be={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",E.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",E.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",E.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","",E.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","",E.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",E.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",E.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",E.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",E.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",E.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",E.elevation04)},Tm=k`
|
|
3867
3867
|
:host {
|
|
3868
3868
|
display: block;
|
|
3869
3869
|
}
|
|
@@ -3877,7 +3877,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3877
3877
|
border-style: ${be.borderStyle};
|
|
3878
3878
|
border-width: 1px;
|
|
3879
3879
|
border-radius: ${be.borderRadius};
|
|
3880
|
-
${y(
|
|
3880
|
+
${y(T.borderRadius,be.borderRadius)};
|
|
3881
3881
|
box-shadow: ${be.elevation02};
|
|
3882
3882
|
position: relative;
|
|
3883
3883
|
width: 100%;
|
|
@@ -3916,7 +3916,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3916
3916
|
outline-width: ${be.selectedOutlineWidth};
|
|
3917
3917
|
outline-color: ${be.selectedOutlineColor};
|
|
3918
3918
|
border-radius: ${be.selectedBorderRadius};
|
|
3919
|
-
${y(
|
|
3919
|
+
${y(T.borderRadius,be.selectedBorderRadius)};
|
|
3920
3920
|
box-shadow: ${be.elevation04};
|
|
3921
3921
|
}
|
|
3922
3922
|
|
|
@@ -4006,7 +4006,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
4006
4006
|
|
|
4007
4007
|
ft-card:hover {
|
|
4008
4008
|
${y(be.hoverBorderColor,Je.resultHoverBorderColor)};
|
|
4009
|
-
${y(
|
|
4009
|
+
${y(T.color,Je.resultHoverBackgroundColor)};
|
|
4010
4010
|
}
|
|
4011
4011
|
|
|
4012
4012
|
.result-container {
|
|
@@ -4019,11 +4019,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
4019
4019
|
text-decoration: none;
|
|
4020
4020
|
color: inherit;
|
|
4021
4021
|
}
|
|
4022
|
-
`;sr();_();Y();var Dg;(function(r){r.clusteringHelperCreated="clustering-helper-created",r.mapAttachmentsUpdate="map-attachments-update",r.visibleTopicChange="visible-topic-change"})(Dg||(Dg={}));var Mg;(function(r){r.FEEDBACK="FEEDBACK",r.RATING="RATING",r.PRINT="PRINT",r.BOOKMARK="BOOKMARK",r.COLLECTIONS="COLLECTIONS",r.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Mg||(Mg={}));var s0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Id=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Ld=Symbol("registerInterval");function l0(r){var e;class t extends r{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Ld]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ld]):this.dispatchEvent(new Id)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ld,s0([D()],t.prototype,"stateManager",void 0),t}var _a=class extends l0(ct){};Y();kd();var
|
|
4022
|
+
`;sr();_();Y();var Dg;(function(r){r.clusteringHelperCreated="clustering-helper-created",r.mapAttachmentsUpdate="map-attachments-update",r.visibleTopicChange="visible-topic-change"})(Dg||(Dg={}));var Mg;(function(r){r.FEEDBACK="FEEDBACK",r.RATING="RATING",r.PRINT="PRINT",r.BOOKMARK="BOOKMARK",r.COLLECTIONS="COLLECTIONS",r.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Mg||(Mg={}));var s0=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Id=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Ld=Symbol("registerInterval");function l0(r){var e;class t extends r{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Ld]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ld]):this.dispatchEvent(new Id)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ld,s0([D()],t.prototype,"stateManager",void 0),t}var _a=class extends l0(ct){};Y();kd();var $a=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};sr();var _d=ar.build("designedReaderSearchInDocument");_();P();Y();_();pt();Be();nt();var xi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ht=class extends H{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return S`
|
|
4023
4023
|
<div id="container" part="container" class=${ye(e)}>
|
|
4024
4024
|
${this.clickable?S`
|
|
4025
4025
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
4026
|
-
|
|
4026
|
+
`:$}
|
|
4027
4027
|
<div id="header" part="header">
|
|
4028
4028
|
<ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
|
|
4029
4029
|
<slot name="header"></slot>
|
|
@@ -4037,19 +4037,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
4037
4037
|
</ft-typography>
|
|
4038
4038
|
</div>
|
|
4039
4039
|
</div>
|
|
4040
|
-
`}};ht.elementDefinitions={"ft-ripple":ee,"ft-typography":re};ht.styles
|
|
4040
|
+
`}};ht.elementDefinitions={"ft-ripple":ee,"ft-typography":re};ht.styles=Tm;xi([h()],ht.prototype,"title",void 0);xi([h({type:Boolean})],ht.prototype,"clickable",void 0);xi([h({type:Boolean})],ht.prototype,"selected",void 0);xi([h({type:Boolean})],ht.prototype,"noHeader",void 0);xi([h({type:Boolean})],ht.prototype,"noContent",void 0);xi([h({type:Boolean})],ht.prototype,"oneLineHeader",void 0);U("ft-card")(ht);Td();var oo=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},bt=class r extends Tt(_a){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(_d)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,t){var i;return S`
|
|
4041
4041
|
<style> ${pg}</style>
|
|
4042
|
-
<a href="${
|
|
4042
|
+
<a href="${Ta(e)}" @click="${()=>this.onLinkClick(e,t)}"
|
|
4043
4043
|
@auxclick="${n=>this.onAuxClick(n,e,t)}"
|
|
4044
4044
|
@contextmenu="${()=>this.onContextMenu(e,t)}">
|
|
4045
4045
|
<ft-card clickable noheader>
|
|
4046
4046
|
<div class="result-container">
|
|
4047
|
-
${this.hideResultTitle
|
|
4047
|
+
${this.hideResultTitle?$:S`
|
|
4048
4048
|
<ft-search-result-title withoutLink="true"></ft-search-result-title>`}
|
|
4049
|
-
${this.hideResultBreadcrumb
|
|
4049
|
+
${this.hideResultBreadcrumb?$:S`
|
|
4050
4050
|
<ft-typography class="breadcrumb" variant="caption">${(i=e.topic)===null||i===void 0?void 0:i.breadcrumb.join(" > ")}</ft-typography>
|
|
4051
4051
|
`}
|
|
4052
|
-
${this.hideResultAbstract
|
|
4052
|
+
${this.hideResultAbstract?$:S`
|
|
4053
4053
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
4054
4054
|
`}
|
|
4055
4055
|
</div>
|
|
@@ -4062,12 +4062,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
4062
4062
|
.filters=${this.filters}
|
|
4063
4063
|
scope="ALL_TOPICS"
|
|
4064
4064
|
ignoreEmptyQuery
|
|
4065
|
-
@ft-search-results-change=${e=>{var t,i;this.userHasDoneManualAction&&(this.dispatchEvent(new
|
|
4065
|
+
@ft-search-results-change=${e=>{var t,i;this.userHasDoneManualAction&&(this.dispatchEvent(new $a({mapId:this.map.id,mapTitle:this.map.title,metadata:(i=(t=this.map)===null||t===void 0?void 0:t.metadata)!==null&&i!==void 0?i:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
|
|
4066
4066
|
<div class="ft-search-in-doc--container">
|
|
4067
4067
|
<ft-search-input placeholder=${_d.messages.placeholder()}
|
|
4068
4068
|
?triggerSearchOnClear=${this.emptyResultOnClear}
|
|
4069
4069
|
@change="${e=>{var t;this.userHasDoneManualAction=!0,(t=this.stateManager)===null||t===void 0||t.setSearchInDocumentQuery(e.detail)}}"></ft-search-input>
|
|
4070
|
-
${this.hideResultsNumber
|
|
4070
|
+
${this.hideResultsNumber?$:S`
|
|
4071
4071
|
<ft-search-results-number></ft-search-results-number>
|
|
4072
4072
|
`}
|
|
4073
4073
|
<ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
|
|
@@ -4079,7 +4079,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
4079
4079
|
</slot>
|
|
4080
4080
|
</div>
|
|
4081
4081
|
</ft-search-context>
|
|
4082
|
-
|
|
4082
|
+
`:$}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(t=>e.has(t))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,t){this.dispatchEvent(new vi(e,t))}importDynamicDependencies(){super.importDynamicDependencies();let e=r.registry;Promise.resolve().then(()=>(ey(),Jg)).then(({FtSearchContext:t})=>e.define("ft-search-context",t)),Promise.resolve().then(()=>(cb(),lb)).then(({FtSearchInput:t})=>e.define("ft-search-input",t)),Promise.resolve().then(()=>(hb(),fb)).then(({FtSearchLoadMoreButton:t})=>e.define("ft-search-load-more-button",t)),Promise.resolve().then(()=>(Np(),gb)).then(({FtSearchResultAbstract:t})=>e.define("ft-search-result-abstract",t)),Promise.resolve().then(()=>(Bp(),bb)).then(({FtSearchResultTitle:t})=>e.define("ft-search-result-title",t)),Promise.resolve().then(()=>(Rb(),wb)).then(({FtSearchResults:t})=>e.define("ft-search-results",t)),Promise.resolve().then(()=>(Ib(),Lb)).then(({FtSearchResultsNumber:t})=>e.define("ft-search-results-number",t))}};bt.elementDefinitions={"ft-card":ht};bt.styles=dg;oo([Oe()],bt.prototype,"map",void 0);oo([Oe()],bt.prototype,"searchInDocumentQuery",void 0);oo([z("ft-search-results")],bt.prototype,"searchResults",void 0);oo([h({type:Boolean})],bt.prototype,"hideResultTitle",void 0);oo([h({type:Boolean})],bt.prototype,"hideResultBreadcrumb",void 0);oo([h({type:Boolean})],bt.prototype,"hideResultAbstract",void 0);oo([h({type:Boolean})],bt.prototype,"hideResultsNumber",void 0);oo([h({type:Boolean})],bt.prototype,"emptyResultOnClear",void 0);U("ft-reader-search-in-document")(bt);})();
|
|
4083
4083
|
/*! Bundled license information:
|
|
4084
4084
|
|
|
4085
4085
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|