@fluid-topics/ft-reader-search-in-document 1.1.113 → 1.1.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";(()=>{var im=Object.create;var Pi=Object.defineProperty;var am=Object.getOwnPropertyDescriptor;var sm=Object.getOwnPropertyNames;var lm=Object.getPrototypeOf,cm=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var um=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),K=(t,e)=>{for(var r in e)Pi(t,r,{get:e[r],enumerable:!0})},dm=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sm(e))!cm.call(t,i)&&i!==r&&Pi(t,i,{get:()=>e[i],enumerable:!(n=am(e,i))||n.enumerable});return t};var pm=(t,e,r)=>(r=t!=null?im(lm(t)):{},dm(e||!t||!t.__esModule?Pi(r,"default",{value:t,enumerable:!0}):r,t));var kc=f(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(S,O){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" has already been used with this registry`);if(this._definitionsByClass.get(O)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=O.prototype.attributeChangedCallback,F=new Set(O.observedAttributes||[]);g(O,F,E);let X={elementClass:O,connectedCallback:O.prototype.connectedCallback,disconnectedCallback:O.prototype.disconnectedCallback,adoptedCallback:O.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:O.formAssociated,formAssociatedCallback:O.prototype.formAssociatedCallback,formDisabledCallback:O.prototype.formDisabledCallback,formResetCallback:O.prototype.formResetCallback,formStateRestoreCallback:O.prototype.formStateRestoreCallback,observedAttributes:F};this._definitionsByTag.set(S,X),this._definitionsByClass.set(O,X);let ie=r.call(n,S);ie||(ie=h(S),e.call(n,S,ie)),this===window.customElements&&(s.set(O,X),X.standInClass=ie);let ee=this._awaitingUpgrade.get(S);if(ee){this._awaitingUpgrade.delete(S);for(let y of ee)a.delete(y),x(y,X,!0)}let D=this._whenDefinedPromises.get(S);return D!==void 0&&(D.resolve(O),this._whenDefinedPromises.delete(S)),O}upgrade(){A.push(this),n.upgrade.apply(n,arguments),A.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let O=this._getDefinition(S);if(O!==void 0)return Promise.resolve(O.elementClass);let E=this._whenDefinedPromises.get(S);return E===void 0&&(E={},E.promise=new Promise(F=>E.resolve=F),this._whenDefinedPromises.set(S,E)),E.promise}_upgradeWhenDefined(S,O,E){let F=this._awaitingUpgrade.get(O);F||this._awaitingUpgrade.set(O,F=new Set),E?F.add(S):F.delete(S)}};let c;window.HTMLElement=function(){let O=c;if(O)return c=void 0,O;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return O=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(O,this.constructor.prototype),i.set(O,E),O},window.HTMLElement.prototype=t.prototype;let d=S=>S===document||S instanceof ShadowRoot,m=S=>{let O=S.getRootNode();if(!d(O)){let E=A[A.length-1];if(E instanceof CustomElementRegistry)return E;O=E.getRootNode(),d(O)||(O=l.get(O)?.getRootNode()||document)}return O.customElements},h=S=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let F=m(E)||window.customElements,X=F._getDefinition(S);return X?x(E,X):a.set(E,F),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},g=(S,O,E)=>{if(O.size===0||E===void 0)return;let F=S.prototype.setAttribute;F&&(S.prototype.setAttribute=function(ee,D){let y=ee.toLowerCase();if(O.has(y)){let v=this.getAttribute(y);F.call(this,y,D),E.call(this,y,v,D)}else F.call(this,y,D)});let X=S.prototype.removeAttribute;X&&(S.prototype.removeAttribute=function(ee){let D=ee.toLowerCase();if(O.has(D)){let y=this.getAttribute(D);X.call(this,D),E.call(this,D,y,null)}else X.call(this,D)});let ie=S.prototype.toggleAttribute;ie&&(S.prototype.toggleAttribute=function(ee,D){let y=ee.toLowerCase();if(O.has(y)){let v=this.getAttribute(y);ie.call(this,y,D);let k=this.getAttribute(y);E.call(this,y,v,k)}else ie.call(this,y,D)})},b=S=>{let O=Object.getPrototypeOf(S);if(O!==window.HTMLElement)return O===t?Object.setPrototypeOf(S,window.HTMLElement):b(O)},x=(S,O,E=!1)=>{Object.setPrototypeOf(S,O.elementClass.prototype),i.set(S,O),c=S;try{new O.elementClass}catch{b(O.elementClass),new O.elementClass}O.attributeChangedCallback&&O.observedAttributes.forEach(F=>{S.hasAttribute(F)&&O.attributeChangedCallback.call(S,F,null,S.getAttribute(F))}),E&&O.connectedCallback&&S.isConnected&&O.connectedCallback.call(S)},w=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let O=w.apply(this,arguments);return S.customElements&&(O.customElements=S.customElements),O};let A=[document],R=(S,O,E=void 0)=>{let F=(E?Object.getPrototypeOf(E):S.prototype)[O];S.prototype[O]=function(){A.push(this);let X=F.apply(E||this,arguments);return X!==void 0&&l.set(X,this),A.pop(),X}};R(ShadowRoot,"createElement",document),R(ShadowRoot,"importNode",document),R(Element,"insertAdjacentHTML");let P=(S,O)=>{let E=Object.getOwnPropertyDescriptor(S.prototype,O);Object.defineProperty(S.prototype,O,{...E,set(F){A.push(this),E.set.call(this,F),A.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,O=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ee){let D=O.call(this,...ee);return S.set(D,this),D},E.forEach(ee=>{let D=window.ElementInternals.prototype,y=D[ee];D[ee]=function(...v){let k=S.get(this);if(i.get(k).formAssociated===!0)return y?.call(this,...v);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class F extends Array{constructor(D){super(...D),this._elements=D}get value(){return this._elements.find(D=>D.checked===!0)?.value||""}}class X{constructor(D){let y=new Map;D.forEach((v,k)=>{let Z=v.getAttribute("name"),ae=y.get(Z)||[];this[+k]=v,ae.push(v),y.set(Z,ae)}),this.length=D.length,y.forEach((v,k)=>{v&&(v.length===1?this[k]=v[0]:this[k]=new F(v))})}namedItem(D){return this[D]}}let ie=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ee=ie.get.call(this,[]),D=[];for(let y of ee){let v=i.get(y);(!v||v.formAssociated===!0)&&D.push(y)}return new X(D)}})}}});var Mc=f(()=>{"use strict";kc();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}});var Go,qo,Uc,Dc,Zo,Bc,Ti,Yo,Ii=f(()=>{Go=globalThis,qo=Go.ShadowRoot&&(Go.ShadyCSS===void 0||Go.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Uc=Symbol(),Dc=new WeakMap,Zo=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Uc)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(qo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Dc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Dc.set(r,e))}return e}toString(){return this.cssText}},Bc=t=>new Zo(typeof t=="string"?t:t+"",void 0,Uc),Ti=(t,e)=>{if(qo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Go.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Yo=qo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Bc(r)})(t):t});var fm,hm,mm,ym,gm,bm,Xo,Fc,xm,vm,no,io,Qo,Hc,Gt,Li=f(()=>{Ii();Ii();({is:fm,defineProperty:hm,getOwnPropertyDescriptor:mm,getOwnPropertyNames:ym,getOwnPropertySymbols:gm,getPrototypeOf:bm}=Object),Xo=globalThis,Fc=Xo.trustedTypes,xm=Fc?Fc.emptyScript:"",vm=Xo.reactiveElementPolyfillSupport,no=(t,e)=>t,io={toAttribute(t,e){switch(e){case Boolean:t=t?xm:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Qo=(t,e)=>!fm(t,e),Hc={attribute:!0,type:String,converter:io,reflect:!1,hasChanged:Qo};Symbol.metadata??=Symbol("metadata"),Xo.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,r=Hc){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&hm(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=mm(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Hc}static _$Ei(){if(this.hasOwnProperty(no("elementProperties")))return;let e=bm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(no("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(no("properties"))){let r=this.properties,n=[...ym(r),...gm(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Yo(i))}else e!==void 0&&r.push(Yo(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ti(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:io).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:io;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Qo)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Gt.elementStyles=[],Gt.shadowRootOptions={mode:"open"},Gt[no("elementProperties")]=new Map,Gt[no("finalized")]=new Map,vm?.({ReactiveElement:Gt}),(Xo.reactiveElementVersions??=[]).push("2.0.2")});function eu(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wc!==void 0?Wc.createHTML(e):e}function Xt(t,e,r=t,n){if(e===Me)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=so(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Xt(t,i._$AS(t,e.values),i,n)),e}var ki,Jo,Wc,Mi,lt,Di,Sm,Yt,en,so,Zc,qc,$i,ao,zc,jc,Zt,Vc,Kc,Yc,Xc,Qc,Jc,Me,ce,Gc,qt,tu,lo,tn,co,Qt,rn,on,nn,an,ru,Om,ct=f(()=>{ki=globalThis,Jo=ki.trustedTypes,Wc=Jo?Jo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Mi="$lit$",lt=`lit$${(Math.random()+"").slice(9)}$`,Di="?"+lt,Sm=`<${Di}>`,Yt=document,en=()=>Yt.createComment(""),so=t=>t===null||typeof t!="object"&&typeof t!="function",Zc=Array.isArray,qc=t=>Zc(t)||typeof t?.[Symbol.iterator]=="function",$i=`[
|
|
2
|
-
\f\r]`,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Vc=/'/g,Kc=/"/g,Yc=/^(?:script|style|textarea|title)$/i,Xc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Qc=Xc(1),Jc=Xc(2),Me=Symbol.for("lit-noChange"),ce=Symbol.for("lit-nothing"),Gc=new WeakMap,qt=Yt.createTreeWalker(Yt,129);tu=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=ao;for(let l=0;l<r;l++){let c=t[l],d,m,h=-1,g=0;for(;g<c.length&&(s.lastIndex=g,m=s.exec(c),m!==null);)g=s.lastIndex,s===ao?m[1]==="!--"?s=zc:m[1]!==void 0?s=jc:m[2]!==void 0?(Yc.test(m[2])&&(i=RegExp("</"+m[2],"g")),s=Zt):m[3]!==void 0&&(s=Zt):s===Zt?m[0]===">"?(s=i??ao,h=-1):m[1]===void 0?h=-2:(h=s.lastIndex-m[2].length,d=m[1],s=m[3]===void 0?Zt:m[3]==='"'?Kc:Vc):s===Kc||s===Vc?s=Zt:s===zc||s===jc?s=ao:(s=Zt,i=void 0);let b=s===Zt&&t[l+1].startsWith("/>")?" ":"";a+=s===ao?c+Sm:h>=0?(n.push(d),c.slice(0,h)+Mi+c.slice(h)+lt+b):c+lt+(h===-2?l:b)}return[eu(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},lo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[d,m]=tu(e,r);if(this.el=t.createElement(d,n),qt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=qt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Mi)){let g=m[s++],b=i.getAttribute(h).split(lt),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?rn:x[1]==="?"?on:x[1]==="@"?nn:Qt}),i.removeAttribute(h)}else h.startsWith(lt)&&(c.push({type:6,index:a}),i.removeAttribute(h));if(Yc.test(i.tagName)){let h=i.textContent.split(lt),g=h.length-1;if(g>0){i.textContent=Jo?Jo.emptyScript:"";for(let b=0;b<g;b++)i.append(h[b],en()),qt.nextNode(),c.push({type:2,index:++a});i.append(h[g],en())}}}else if(i.nodeType===8)if(i.data===Di)c.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(lt,h+1))!==-1;)c.push({type:7,index:a}),h+=lt.length-1}a++}}static createElement(e,r){let n=Yt.createElement("template");return n.innerHTML=e,n}};tn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Yt).importNode(r,!0);qt.currentNode=i;let a=qt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new co(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new an(a,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=qt.nextNode(),s++)}return qt.currentNode=Yt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},co=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=ce,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Xt(this,e,r),so(e)?e===ce||e==null||e===""?(this._$AH!==ce&&this._$AR(),this._$AH=ce):e!==this._$AH&&e!==Me&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):qc(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==ce&&so(this._$AH)?this._$AA.nextSibling.data=e:this.$(Yt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=lo.createElement(eu(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new tn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Gc.get(e.strings);return r===void 0&&Gc.set(e.strings,r=new lo(e)),r}T(e){Zc(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(en()),this.k(en()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=ce,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ce}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Xt(this,e,r,0),s=!so(e)||e!==this._$AH&&e!==Me,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=Xt(this,l[n+c],r,c),d===Me&&(d=this._$AH[c]),s||=!so(d)||d!==this._$AH[c],d===ce?e=ce:e!==ce&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===ce?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},rn=class extends Qt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ce?void 0:e}},on=class extends Qt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ce)}},nn=class extends Qt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Xt(this,e,r,0)??ce)===Me)return;let n=this._$AH,i=e===ce&&n!==ce||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ce&&(n===ce||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},an=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Xt(this,e)}},ru={j:Mi,P:lt,A:Di,C:1,M:tu,L:tn,R:qc,V:Xt,D:co,I:Qt,H:on,N:nn,U:rn,B:an},Om=ki.litHtmlPolyfillSupport;Om?.(lo,co),(ki.litHtmlVersions??=[]).push("3.1.0")});var sn,uo,Ui,ou,vr,Jt,T,ln,po,Bi=f(()=>{sn=globalThis,uo=sn.ShadowRoot&&(sn.ShadyCSS===void 0||sn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ui=Symbol(),ou=new WeakMap,vr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ui)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(uo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=ou.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ou.set(r,e))}return e}toString(){return this.cssText}},Jt=t=>new vr(typeof t=="string"?t:t+"",void 0,Ui),T=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new vr(r,t,Ui)},ln=(t,e)=>{if(uo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=sn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},po=uo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Jt(r)})(t):t});var Cm,Em,wm,Am,Rm,Nm,un,nu,_m,Pm,fo,cn,Fi,iu,Qe,Hi=f(()=>{Bi();Bi();({is:Cm,defineProperty:Em,getOwnPropertyDescriptor:wm,getOwnPropertyNames:Am,getOwnPropertySymbols:Rm,getPrototypeOf:Nm}=Object),un=globalThis,nu=un.trustedTypes,_m=nu?nu.emptyScript:"",Pm=un.reactiveElementPolyfillSupport,fo=(t,e)=>t,cn={toAttribute(t,e){switch(e){case Boolean:t=t?_m:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Fi=(t,e)=>!Cm(t,e),iu={attribute:!0,type:String,converter:cn,reflect:!1,hasChanged:Fi};Symbol.metadata??=Symbol("metadata"),un.litPropertyMetadata??=new WeakMap;Qe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=iu){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Em(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=wm(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??iu}static _$Ei(){if(this.hasOwnProperty(fo("elementProperties")))return;let e=Nm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(fo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(fo("properties"))){let r=this.properties,n=[...Am(r),...Rm(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(po(i))}else e!==void 0&&r.push(po(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ln(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:cn).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:cn;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Fi)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Qe.elementStyles=[],Qe.shadowRootOptions={mode:"open"},Qe[fo("elementProperties")]=new Map,Qe[fo("finalized")]=new Map,Pm?.({ReactiveElement:Qe}),(un.reactiveElementVersions??=[]).push("2.0.2")});function yu(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return au!==void 0?au.createHTML(e):e}function or(t,e,r=t,n){if(e===wt)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=yo(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=or(t,i._$AS(t,e.values),i,n)),e}var zi,dn,au,ji,ut,Vi,Tm,rr,mo,yo,pu,fu,Wi,ho,su,lu,er,cu,uu,hu,mu,M,Im,wt,W,du,tr,gu,go,pn,Sr,nr,fn,hn,mn,yn,Lm,$m,Ki,Gi=f(()=>{zi=globalThis,dn=zi.trustedTypes,au=dn?dn.createPolicy("lit-html",{createHTML:t=>t}):void 0,ji="$lit$",ut=`lit$${(Math.random()+"").slice(9)}$`,Vi="?"+ut,Tm=`<${Vi}>`,rr=document,mo=()=>rr.createComment(""),yo=t=>t===null||typeof t!="object"&&typeof t!="function",pu=Array.isArray,fu=t=>pu(t)||typeof t?.[Symbol.iterator]=="function",Wi=`[
|
|
4
|
-
\f\r]`,
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),cu=/'/g,uu=/"/g,hu=/^(?:script|style|textarea|title)$/i,mu=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),M=mu(1),Im=mu(2),wt=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),du=new WeakMap,tr=rr.createTreeWalker(rr,129);gu=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=ho;for(let l=0;l<r;l++){let c=t[l],d,m,h=-1,g=0;for(;g<c.length&&(s.lastIndex=g,m=s.exec(c),m!==null);)g=s.lastIndex,s===ho?m[1]==="!--"?s=su:m[1]!==void 0?s=lu:m[2]!==void 0?(hu.test(m[2])&&(i=RegExp("</"+m[2],"g")),s=er):m[3]!==void 0&&(s=er):s===er?m[0]===">"?(s=i??ho,h=-1):m[1]===void 0?h=-2:(h=s.lastIndex-m[2].length,d=m[1],s=m[3]===void 0?er:m[3]==='"'?uu:cu):s===uu||s===cu?s=er:s===su||s===lu?s=ho:(s=er,i=void 0);let b=s===er&&t[l+1].startsWith("/>")?" ":"";a+=s===ho?c+Tm:h>=0?(n.push(d),c.slice(0,h)+ji+c.slice(h)+ut+b):c+ut+(h===-2?l:b)}return[yu(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},go=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[d,m]=gu(e,r);if(this.el=t.createElement(d,n),tr.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=tr.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(ji)){let g=m[s++],b=i.getAttribute(h).split(ut),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?fn:x[1]==="?"?hn:x[1]==="@"?mn:nr}),i.removeAttribute(h)}else h.startsWith(ut)&&(c.push({type:6,index:a}),i.removeAttribute(h));if(hu.test(i.tagName)){let h=i.textContent.split(ut),g=h.length-1;if(g>0){i.textContent=dn?dn.emptyScript:"";for(let b=0;b<g;b++)i.append(h[b],mo()),tr.nextNode(),c.push({type:2,index:++a});i.append(h[g],mo())}}}else if(i.nodeType===8)if(i.data===Vi)c.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(ut,h+1))!==-1;)c.push({type:7,index:a}),h+=ut.length-1}a++}}static createElement(e,r){let n=rr.createElement("template");return n.innerHTML=e,n}};pn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??rr).importNode(r,!0);tr.currentNode=i;let a=tr.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Sr(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new yn(a,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=tr.nextNode(),s++)}return tr.currentNode=rr,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Sr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=or(this,e,r),yo(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==wt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):fu(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==W&&yo(this._$AH)?this._$AA.nextSibling.data=e:this.$(rr.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=go.createElement(yu(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new pn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=du.get(e.strings);return r===void 0&&du.set(e.strings,r=new go(e)),r}T(e){pu(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(mo()),this.k(mo()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},nr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=or(this,e,r,0),s=!yo(e)||e!==this._$AH&&e!==wt,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=or(this,l[n+c],r,c),d===wt&&(d=this._$AH[c]),s||=!yo(d)||d!==this._$AH[c],d===W?e=W:e!==W&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},fn=class extends nr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},hn=class extends nr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},mn=class extends nr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=or(this,e,r,0)??W)===wt)return;let n=this._$AH,i=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==W&&(n===W||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},yn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){or(this,e)}},Lm={j:ji,P:ut,A:Vi,C:1,M:gu,L:pn,R:fu,V:or,D:Sr,I:nr,H:hn,N:mn,U:fn,B:yn},$m=zi.litHtmlPolyfillSupport;$m?.(go,Sr),(zi.litHtmlVersions??=[]).push("3.1.0");Ki=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Sr(e.insertBefore(mo(),a),a,void 0,r??{})}return i._$AI(t),i}});var dt,km,Mm,bu=f(()=>{Hi();Hi();Gi();Gi();dt=class extends Qe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ki(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return wt}};dt._$litElement$=!0,dt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:dt});km=globalThis.litElementPolyfillSupport;km?.({LitElement:dt});Mm={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var Sb,xu=f(()=>{Sb=!1});var Zi={};K(Zi,{CSSResult:()=>vr,LitElement:()=>dt,ReactiveElement:()=>Qe,_$LE:()=>Mm,_$LH:()=>Lm,adoptStyles:()=>ln,css:()=>T,defaultConverter:()=>cn,getCompatibleStyle:()=>po,html:()=>M,isServer:()=>Sb,noChange:()=>wt,notEqual:()=>Fi,nothing:()=>W,render:()=>Ki,supportsAdoptingStyleSheets:()=>uo,svg:()=>Im,unsafeCSS:()=>Jt});var B=f(()=>{Li();ct();bu();xu()});var qi,vu=f(()=>{qi=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function C(t){return(e,r)=>typeof r=="object"?Su(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}var Dm,Su,Yi=f(()=>{Li();Dm={attribute:!0,type:String,converter:io,reflect:!1,hasChanged:Qo},Su=(t=Dm,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+n)}});function ue(t){return C({...t,state:!0,attribute:!1})}var Ou=f(()=>{Yi();});function Or(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Cu=f(()=>{});var Ke,Cr=f(()=>{Ke=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function ge(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return Ke(r,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Ke(r,n,{get(){return a(this)}})}}var Eu=f(()=>{Cr();});function Bm(t){return(e,r)=>Ke(e,r,{get(){return(this.renderRoot??(Um??=document.createDocumentFragment())).querySelectorAll(t)}})}var Um,wu=f(()=>{Cr();});function Fm(t){return(e,r)=>Ke(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var Au=f(()=>{Cr();});function Hm(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ke(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}var Ru=f(()=>{Cr();});function Xi(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ke(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Nu=f(()=>{Cr();});var Qi={};K(Qi,{customElement:()=>qi,eventOptions:()=>Or,property:()=>C,query:()=>ge,queryAll:()=>Bm,queryAssignedElements:()=>Hm,queryAssignedNodes:()=>Xi,queryAsync:()=>Fm,standardProperty:()=>Su,state:()=>ue});var te=f(()=>{vu();Yi();Ou();Cu();Eu();wu();Au();Ru();Nu()});var At,Rt,Je,bo=f(()=>{At={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Rt=t=>(...e)=>({_$litDirective$:t,values:e}),Je=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var Wm,_u,Er,Nt,zm,Pu,Tu,gn,Iu=f(()=>{ct();({D:Wm}=ru),_u=()=>document.createComment(""),Er=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(_u(),i),s=n.insertBefore(_u(),i);r=new Wm(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let d=c.nextSibling;n.insertBefore(c,i),c=d}}}return r},Nt=(t,e,r=t)=>(t._$AI(e,r),t),zm={},Pu=(t,e=zm)=>t._$AH=e,Tu=t=>t._$AH,gn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}}});var Lu,xo,$u=f(()=>{ct();bo();Iu();Lu=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},xo=Rt(class extends Je{constructor(t){if(super(t),t.type!==At.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=Tu(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,m,h=0,g=i.length-1,b=0,x=a.length-1;for(;h<=g&&b<=x;)if(i[h]===null)h++;else if(i[g]===null)g--;else if(l[h]===s[b])c[b]=Nt(i[h],a[b]),h++,b++;else if(l[g]===s[x])c[x]=Nt(i[g],a[x]),g--,x--;else if(l[h]===s[x])c[x]=Nt(i[h],a[x]),Er(t,c[x+1],i[h]),h++,x--;else if(l[g]===s[b])c[b]=Nt(i[g],a[b]),Er(t,i[h],i[g]),g--,b++;else if(d===void 0&&(d=Lu(s,b,x),m=Lu(l,h,g)),d.has(l[h]))if(d.has(l[g])){let w=m.get(s[b]),A=w!==void 0?i[w]:null;if(A===null){let R=Er(t,i[h]);Nt(R,a[b]),c[b]=R}else c[b]=Nt(A,a[b]),Er(t,i[h],A),i[w]=null;b++}else gn(i[g]),g--;else gn(i[h]),h++;for(;b<=x;){let w=Er(t,c[x+1]);Nt(w,a[b]),c[b++]=w}for(;h<=g;){let w=i[h++];w!==null&&gn(w)}return this.dt=s,Pu(t,c),Me}})});var Ji={};K(Ji,{repeat:()=>xo});var bn=f(()=>{$u()});var pt,ku=f(()=>{ct();bo();pt=Rt(class extends Je{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Me}})});var ea={};K(ea,{classMap:()=>pt});var wr=f(()=>{ku()});var Mu,jm,Vm,Du=f(()=>{ct();bo();Mu="important",jm=" !"+Mu,Vm=Rt(class extends Je{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(jm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Mu:""):r[n]=i}}return Me}})});var ta={};K(ta,{styleMap:()=>Vm});var Uu=f(()=>{Du()});var Ar,ir,Bu=f(()=>{ct();bo();Ar=class extends Je{constructor(e){if(super(e),this.et=ce,e.type!==At.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ce||e==null)return this.vt=void 0,this.et=e;if(e===Me)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Ar.directiveName="unsafeHTML",Ar.resultType=1;ir=Rt(Ar)});var ra={};K(ra,{UnsafeHTMLDirective:()=>Ar,unsafeHTML:()=>ir});var vo=f(()=>{Bu()});var oa={};K(oa,{CancelablePromise:()=>Rr,CanceledPromiseError:()=>_t,cancelable:()=>Nr});var _t,Rr,Nr,xn=f(()=>{"use strict";_t=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Rr=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new _t("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new _t("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Nr=t=>new Rr((e,r)=>t.then(e).catch(r))});var na={};K(na,{CacheRegistry:()=>et});var et,ia=f(()=>{"use strict";xn();et=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Rr&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Nr(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});var sa={};K(sa,{ClusteringHelper:()=>aa});var aa,la=f(()=>{"use strict";aa=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:l,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,m,h)=>h.findIndex(g=>g.value===d.value)===m).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,m)=>this.compareMetadata(d.metadata.value,m.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(c=>{var d;return((d=t.extractResultMetadata(c,e))===null||d===void 0?void 0:d.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,d===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}}});var ca={};K(ca,{Debouncer:()=>ve});var ve,vn=f(()=>{"use strict";ve=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(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 da={};K(da,{dateReviver:()=>Gm,deepEqual:()=>Ge,delay:()=>Sn,eventPathContainsMatchingElement:()=>qm,flatDeep:()=>Hu,hasChanged:()=>So,last:()=>Ym,minmax:()=>ua,parseDate:()=>Wu,waitFor:()=>Fu,waitUntil:()=>Km});async function Km(t,e=10,r=2e4){await Fu(async()=>await t()||void 0,e,r)}async function Fu(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Sn(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Hu(t,e){return t.flatMap(r=>[r,...Hu(e(r),e)])}function Gm(...t){return function(e,r){return t.includes(e)?Wu(r):r}}function Wu(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function Zm(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ge(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Ge(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ge(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ge(t,e){try{return Zm(t,e)}catch{return!1}}function So(t,e){return!Ge(t,e)}function qm(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function ua(t,e,r){return Math.min(Math.max(t,e),r)}function Ym(t){return t[t.length-1]}var Sn,_r=f(()=>{"use strict";Sn=t=>new Promise(e=>setTimeout(e,t))});var pa={};K(pa,{customElement:()=>z,isNumber:()=>zu,jsonProperty:()=>Ce,optionalNumberProperty:()=>Xm});function Ce(t,e){let r=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:So,...e??{}})}function Xm(t){return C({type:Object,converter:{fromAttribute:e=>{if(e!=null)return zu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function zu(t){return!isNaN(parseFloat(t))}var z,On=f(()=>{"use strict";te();_r();z=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function I(t,e){return ft(`${t.name}: ${e}`)}var ft,o,Y=f(()=>{B();ft=t=>typeof t=="string"?Jt(t):t,o=class{static create(e,r,n,i){let a=l=>ft(l??i),s=T`var(${ft(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>T`var(${ft(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=T`var(${ft(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>T`var(${ft(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ft(a??e.lastResortDefaultValue()),i=T`var(${ft(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>T`var(${ft(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var u,fa,ha,ma,ya,ga,ba,xa,va,Sa,ju,Oa,Ca,Ea,wa,Aa,Ra,Na,_a,Pa,Ta,Ia,La,$a,ka,Ma,Da,Oo,Qm,Q=f(()=>{Y();u={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),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)")},fa={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},ha={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ma={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ya={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ga={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ba={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},xa={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},va={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Sa={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ju={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Oa={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ca={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")},Ea={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")},wa={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")},Aa={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")},Ra={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")},Na={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")},_a={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Pa={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ta={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ia={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},La={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},$a={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ka={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ma={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Da={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Oo={display:fa,"title-1":ha,"title-2":ma,"title-3":ya,"body-1-regular":ga,"body-1-medium":ba,"body-1-semibold":xa,"body-2-regular":va,"body-2-medium":Sa,"body-2-medium-underline":ju,"body-2-semibold":Oa,"label-1-medium":Ca,"label-1-semibold":Ea,"label-1-bold":wa,"label-2-medium":Aa,"label-2-semibold":Ra,"label-2-bold":Na,"caption-1-medium":_a,"caption-1-semibold":Pa,"caption-1-bold":Ta,"caption-2-medium":Ia,"caption-2-semibold":La,"caption-2-bold":$a,"caption-3-medium":ka,"caption-3-semibold":Ma,"caption-3-bold":Da},Qm=["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,oe=f(()=>{Y();Q();p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",u.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",u.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",u.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",u.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",u.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",u.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",u.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",u.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",u.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",u.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",u.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",u.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",u.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",u.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",u.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",u.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",u.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",u.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",u.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",u.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",u.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",u.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",u.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",u.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",u.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",u.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",u.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",u.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",u.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",u.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",u.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",u.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",u.colorGray80)}});var N,Vu=f(()=>{Y();Q();oe();N={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",u.spacing4),largeGap:o.extend("--ft-button-large-gap","",u.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",u.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",u.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","",u.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",u.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",u.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",u.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","",u.spacing2),smallGap:o.extend("--ft-button-small-gap","",u.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",u.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",u.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","",u.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","",u.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",u.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",u.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",u.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",u.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",u.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",u.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",u.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",u.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",u.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",u.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",u.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",u.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",u.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",u.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",u.opacity40)}});var Jm,Ku=f(()=>{Y();Q();oe();Jm={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",u.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",u.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","",u.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","",u.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",u.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",u.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","",u.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","",u.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",u.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","",u.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",u.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",u.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","",u.iconSize2)}});var ey,Gu=f(()=>{Y();Q();oe();ey={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",u.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",u.spacing1),largeGap:o.extend("--ft-chip-large-gap","",u.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","",u.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",u.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",u.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",u.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","",u.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",u.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",u.spacing05),smallGap:o.extend("--ft-chip-small-gap","",u.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","",u.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 ty,Zu=f(()=>{Y();Q();oe();ty={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",u.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","",u.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)}});var ry,qu=f(()=>{Y();Q();oe();ry={iconSize:o.extend("--ft-banner-icon-size","",u.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",u.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",u.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",u.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",u.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",u.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",u.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",u.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 oy,Yu=f(()=>{Y();Q();oe();oy={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",u.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",u.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",u.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)}});var ny,Xu=f(()=>{Y();Q();oe();ny={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",u.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)}});var iy,Qu=f(()=>{Y();Q();oe();iy={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",u.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",u.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",u.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",u.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",u.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",u.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",u.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)}});var ay,Ju=f(()=>{Y();Q();oe();ay={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",u.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-modal-shadow","",u.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",u.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",u.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",u.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",u.spacing3),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),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",u.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",u.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",u.spacing6),headerGap:o.extend("--ft-modal-header-gap","",u.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",u.borderRadiusM)}});var sy,ed=f(()=>{Y();Q();oe();sy={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-drawer-shadow","",u.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",u.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",u.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",u.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","",u.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",u.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","",u.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",u.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",u.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","",u.colorGray700)}});var ly,td=f(()=>{Y();Q();oe();ly={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",u.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",u.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",u.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",u.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","",u.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",u.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",u.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",u.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",u.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",u.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",u.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","",u.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",u.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",u.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",u.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)}});var cy,rd=f(()=>{Y();Q();oe();cy={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",u.opacity40)}});var uy,od=f(()=>{Y();Q();oe();uy={backgroundColor:o.extend("--ft-text-area-background-color","",u.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","",u.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",u.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",u.borderRadiusM)}});var dy,nd=f(()=>{Y();Q();oe();dy={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",u.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","",u.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","",u.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",u.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",u.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",u.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",u.shadowElevation02)}});var py,id=f(()=>{Y();Q();oe();py={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",u.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",u.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",u.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","",u.opacity40)}});var fy,ad=f(()=>{Y();Q();oe();fy={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",u.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","",u.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",u.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",u.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",u.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",u.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",u.borderRadiusM)}});var hy,sd=f(()=>{Y();Q();oe();hy={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",u.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",u.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:o.extend("--ft-popover-gap","",u.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",u.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",u.shadowElevation02)}});var my,ld=f(()=>{Y();Q();oe();my={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",u.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",u.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","",u.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",u.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",u.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",u.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","",u.iconSize3)}});var yy,cd=f(()=>{Y();Q();oe();yy={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",u.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",u.spacing1),groupGap:o.extend("--ft-switch-group-gap","",u.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","",u.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",u.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",u.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",u.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",u.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",u.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","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",u.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",u.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","",u.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",u.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","",u.borderRadiusS)}});var gy,ud=f(()=>{Y();Q();gy={color1Light:o.extend("--ft-chart-1-light","for area color charts",u.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",u.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",u.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",u.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",u.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",u.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",u.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",u.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",u.colorRed40),color5Base:o.extend("--ft-chart-5-base","",u.colorRed60),color6Light:o.extend("--ft-chart-6-light","",u.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",u.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",u.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",u.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",u.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",u.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",u.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",u.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",u.colorGray50),color10Base:o.extend("--ft-chart-10-base","",u.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",u.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",u.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",u.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",u.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",u.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",u.colorBrand200)}});var by,dd=f(()=>{Y();Q();oe();by={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",u.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",u.borderRadiusS),gap:o.extend("--ft-notice-gap","",u.spacing2),iconSize:o.extend("--ft-notice-icon-size","",u.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)}});var xy,pd=f(()=>{Y();Q();oe();xy={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","",u.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",u.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",u.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",u.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",u.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",u.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",u.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",u.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",u.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",u.spacing3)}});var vy,fd=f(()=>{Y();Q();oe();vy={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",u.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",u.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",u.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",u.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","",u.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",u.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",u.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","",u.spacing3)}});var Sy,hd=f(()=>{Y();Q();oe();Sy={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","",u.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",u.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",u.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",u.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","",u.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",u.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",u.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",u.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","",u.spacing3)}});var Oy,md=f(()=>{Y();Q();oe();Oy={iconSize:o.extend("--ft-notification-icon-size","",u.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",u.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",u.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",u.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","",u.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",u.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",u.spacing8)}});var Cy,yd=f(()=>{Y();Q();oe();Cy={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",u.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",u.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","",u.opacity80),shadow:o.extend("--ft-tooltip-shadow","",u.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",u.spacing05)}});var gd=f(()=>{Q();oe();Vu();Ku();Gu();Zu();qu();Yu();Xu();Qu();Ju();ed();td();rd();od();nd();id();ad();sd();ld();cd();ud();dd();pd();fd();hd();md();yd()});function Ua(t){return`ftds--family-${t}`}function Ba(t){return`ftds--size-${t}`}var ar,ht,bd=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ar||(ar={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(ht||(ht={}))});var j=f(()=>{Y();gd();bd()});var Fa={};K(Fa,{DesignSystemFamily:()=>ar,DesignSystemSize:()=>ht,FtCssVariableFactory:()=>o,badge:()=>oy,banner:()=>ry,breadcrumb:()=>ny,button:()=>N,chart:()=>gy,checkbox:()=>xy,chip:()=>ey,chipChoice:()=>Jm,collapsible:()=>my,comboboxMultiSelect:()=>fy,comboboxSingleSelect:()=>py,drawer:()=>sy,floatingMenu:()=>dy,foundation:()=>u,link:()=>ty,modal:()=>ay,notice:()=>by,notification:()=>Oy,pageHeader:()=>iy,popover:()=>hy,radio:()=>Sy,resolveFamilyClass:()=>Ua,resolveSizeClass:()=>Ba,semantic:()=>p,setVariable:()=>I,switch_:()=>yy,tabs:()=>ly,textArea:()=>uy,textInput:()=>cy,toggle:()=>vy,tooltip:()=>Cy,typographies:()=>Oo,typographyBody1Medium:()=>ba,typographyBody1Regular:()=>ga,typographyBody1Semibold:()=>xa,typographyBody2Medium:()=>Sa,typographyBody2MediumUnderline:()=>ju,typographyBody2Regular:()=>va,typographyBody2Semibold:()=>Oa,typographyCaption1Bold:()=>Ta,typographyCaption1Medium:()=>_a,typographyCaption1Semibold:()=>Pa,typographyCaption2Bold:()=>$a,typographyCaption2Medium:()=>Ia,typographyCaption2Semibold:()=>La,typographyCaption3Bold:()=>Da,typographyCaption3Medium:()=>ka,typographyCaption3Semibold:()=>Ma,typographyDisplay:()=>fa,typographyLabel1Bold:()=>wa,typographyLabel1Medium:()=>Ca,typographyLabel1Semibold:()=>Ea,typographyLabel2Bold:()=>Na,typographyLabel2Medium:()=>Aa,typographyLabel2Semibold:()=>Ra,typographyTitle1:()=>ha,typographyTitle2:()=>ma,typographyTitle3:()=>ya,typographyVariants:()=>Qm});var Cn=f(()=>{"use strict";j()});var Ha={};K(Ha,{designSystemVariables:()=>L});var L,Wa=f(()=>{"use strict";Cn();L={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var Ka={};K(Ka,{FtNotificationEvent:()=>za,PostResizeEvent:()=>Va,PreResizeEvent:()=>ja});var za,ja,Va,Ga=f(()=>{"use strict";za=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ja=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Va=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function Ya(t,e,r){return Pt(t,Co(e,r))}function En(t,e){return typeof t=="function"?t(e):t}function Pr(t){return t.split("-")[0]}function Tt(t){return t.split("-")[1]}function Xa(t){return t==="x"?"y":"x"}function Qa(t){return t==="y"?"height":"width"}function wn(t){return["top","bottom"].includes(Pr(t))?"y":"x"}function Ja(t){return Xa(wn(t))}function Sd(t,e,r){r===void 0&&(r=!1);let n=Tt(t),i=Ja(t),a=Qa(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Za(s)),[s,Za(s)]}function Od(t){return t.replace(/start|end/g,e=>wy[e])}function Za(t){return t.replace(/left|right|bottom|top/g,e=>Ey[e])}function Ay(t){return{top:0,right:0,bottom:0,left:0,...t}}function Cd(t){return typeof t!="number"?Ay(t):{top:t,right:t,bottom:t,left:t}}function sr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var vd,xd,qa,Co,Pt,Eo,mt,Ey,wy,An=f(()=>{vd=["top","right","bottom","left"],xd=["start","end"],qa=vd.reduce((t,e)=>t.concat(e,e+"-"+xd[0],e+"-"+xd[1]),[]),Co=Math.min,Pt=Math.max,Eo=Math.round,mt=t=>({x:t,y:t}),Ey={left:"right",right:"left",bottom:"top",top:"bottom"},wy={start:"end",end:"start"}});function Ed(t,e,r){let{reference:n,floating:i}=t,a=wn(e),s=Ja(e),l=Qa(s),c=Pr(e),d=a==="y",m=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,g=n[l]/2-i[l]/2,b;switch(c){case"top":b={x:m,y:n.y-i.height};break;case"bottom":b={x:m,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:h};break;case"left":b={x:n.x-i.width,y:h};break;default:b={x:n.x,y:n.y}}switch(Tt(e)){case"start":b[s]-=g*(r&&d?-1:1);break;case"end":b[s]+=g*(r&&d?-1:1);break}return b}async function es(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:g=!1,padding:b=0}=En(e,t),x=Cd(b),A=l[g?h==="floating"?"reference":"floating":h],R=sr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(A)))==null||r?A:A.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:m,strategy:c})),P=h==="floating"?{...s.floating,x:n,y:i}:s.reference,S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),O=await(a.isElement==null?void 0:a.isElement(S))?await(a.getScale==null?void 0:a.getScale(S))||{x:1,y:1}:{x:1,y:1},E=sr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:S,strategy:c}):P);return{top:(R.top-E.top+x.top)/O.y,bottom:(E.bottom-R.bottom+x.bottom)/O.y,left:(R.left-E.left+x.left)/O.x,right:(E.right-R.right+x.right)/O.x}}function Ry(t,e,r){return(t?[...r.filter(i=>Tt(i)===t),...r.filter(i=>Tt(i)!==t)]:r.filter(i=>Pr(i)===i)).filter(i=>t?Tt(i)===t||(e?Od(i)!==i:!1):!0)}var wd,ts,rs,os=f(()=>{An();An();wd=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:m,y:h}=Ed(d,n,c),g=n,b={},x=0;for(let w=0;w<l.length;w++){let{name:A,fn:R}=l[w],{x:P,y:S,data:O,reset:E}=await R({x:m,y:h,initialPlacement:n,placement:g,strategy:i,middlewareData:b,rects:d,platform:s,elements:{reference:t,floating:e}});if(m=P??m,h=S??h,b={...b,[A]:{...b[A],...O}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(d=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:m,y:h}=Ed(d,g,c)),w=-1;continue}}return{x:m,y:h,placement:g,strategy:i,middlewareData:b}};ts=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=e,{crossAxis:m=!1,alignment:h,allowedPlacements:g=qa,autoAlignment:b=!0,...x}=En(t,e),w=h!==void 0||g===qa?Ry(h||null,b,g):g,A=await es(e,x),R=((r=s.autoPlacement)==null?void 0:r.index)||0,P=w[R];if(P==null)return{};let S=Sd(P,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==P)return{reset:{placement:w[0]}};let O=[A[Pr(P)],A[S[0]],A[S[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:O}],F=w[R+1];if(F)return{data:{index:R+1,overflows:E},reset:{placement:F}};let X=E.map(D=>{let y=Tt(D.placement);return[D.placement,y&&m?D.overflows.slice(0,2).reduce((v,k)=>v+k,0):D.overflows[0],D.overflows]}).sort((D,y)=>D[1]-y[1]),ee=((i=X.filter(D=>D[2].slice(0,Tt(D[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||X[0][0];return ee!==l?{data:{index:R+1,overflows:E},reset:{placement:ee}}:{}}}},rs=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:A=>{let{x:R,y:P}=A;return{x:R,y:P}}},...c}=En(t,e),d={x:r,y:n},m=await es(e,c),h=wn(Pr(i)),g=Xa(h),b=d[g],x=d[h];if(a){let A=g==="y"?"top":"left",R=g==="y"?"bottom":"right",P=b+m[A],S=b-m[R];b=Ya(P,b,S)}if(s){let A=h==="y"?"top":"left",R=h==="y"?"bottom":"right",P=x+m[A],S=x-m[R];x=Ya(P,x,S)}let w=l.fn({...e,[g]:b,[h]:x});return{...w,data:{x:w.x-r,y:w.y-n}}}}}});function yt(t){return Rd(t)?(t.nodeName||"").toLowerCase():"#document"}function Ne(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function gt(t){var e;return(e=(Rd(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Rd(t){return t instanceof Node||t instanceof Ne(t).Node}function tt(t){return t instanceof Element||t instanceof Ne(t).Element}function Ze(t){return t instanceof HTMLElement||t instanceof Ne(t).HTMLElement}function Ad(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ne(t).ShadowRoot}function Tr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=De(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Nd(t){return["table","td","th"].includes(yt(t))}function Nn(t){let e=_n(),r=De(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function _d(t){let e=lr(t);for(;Ze(e)&&!wo(e);){if(Nn(e))return e;e=lr(e)}return null}function _n(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wo(t){return["html","body","#document"].includes(yt(t))}function De(t){return Ne(t).getComputedStyle(t)}function Ao(t){return tt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lr(t){if(yt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ad(t)&&t.host||gt(t);return Ad(e)?e.host:e}function Pd(t){let e=lr(t);return wo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ze(e)&&Tr(e)?e:Pd(e)}function Rn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Pd(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Ne(i);return a?e.concat(s,s.visualViewport||[],Tr(i)?i:[],s.frameElement&&r?Rn(s.frameElement):[]):e.concat(i,Rn(i,[],r))}var Td=f(()=>{});function $d(t){let e=De(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ze(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=Eo(r)!==a||Eo(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function kd(t){return tt(t)?t:t.contextElement}function Ir(t){let e=kd(t);if(!Ze(e))return mt(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=$d(e),s=(a?Eo(r.width):r.width)/n,l=(a?Eo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Md(t){let e=Ne(t);return!_n()||!e.visualViewport?Ny:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function _y(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ne(t)?!1:e}function Ro(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=kd(t),s=mt(1);e&&(n?tt(n)&&(s=Ir(n)):s=Ir(t));let l=_y(a,r,n)?Md(a):mt(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,m=i.width/s.x,h=i.height/s.y;if(a){let g=Ne(a),b=n&&tt(n)?Ne(n):n,x=g.frameElement;for(;x&&n&&b!==g;){let w=Ir(x),A=x.getBoundingClientRect(),R=De(x),P=A.left+(x.clientLeft+parseFloat(R.paddingLeft))*w.x,S=A.top+(x.clientTop+parseFloat(R.paddingTop))*w.y;c*=w.x,d*=w.y,m*=w.x,h*=w.y,c+=P,d+=S,x=Ne(x).frameElement}}return sr({width:m,height:h,x:c,y:d})}function Py(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ze(r),a=gt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=mt(1),c=mt(0);if((i||!i&&n!=="fixed")&&((yt(r)!=="body"||Tr(a))&&(s=Ao(r)),Ze(r))){let d=Ro(r);l=Ir(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function Ty(t){return Array.from(t.getClientRects())}function Dd(t){return Ro(gt(t)).left+Ao(t).scrollLeft}function Iy(t){let e=gt(t),r=Ao(t),n=t.ownerDocument.body,i=Pt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Pt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Dd(t),l=-r.scrollTop;return De(n).direction==="rtl"&&(s+=Pt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Ly(t,e){let r=Ne(t),n=gt(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=_n();(!d||d&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function $y(t,e){let r=Ro(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Ze(t)?Ir(t):mt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=i*a.x,d=n*a.y;return{width:s,height:l,x:c,y:d}}function Id(t,e,r){let n;if(e==="viewport")n=Ly(t,r);else if(e==="document")n=Iy(gt(t));else if(tt(e))n=$y(e,r);else{let i=Md(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return sr(n)}function Ud(t,e){let r=lr(t);return r===e||!tt(r)||wo(r)?!1:De(r).position==="fixed"||Ud(r,e)}function ky(t,e){let r=e.get(t);if(r)return r;let n=Rn(t,[],!1).filter(l=>tt(l)&&yt(l)!=="body"),i=null,a=De(t).position==="fixed",s=a?lr(t):t;for(;tt(s)&&!wo(s);){let l=De(s),c=Nn(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Tr(s)&&!c&&Ud(t,s))?n=n.filter(m=>m!==s):i=l,s=lr(s)}return e.set(t,n),n}function My(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?ky(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((d,m)=>{let h=Id(e,m,i);return d.top=Pt(h.top,d.top),d.right=Co(h.right,d.right),d.bottom=Co(h.bottom,d.bottom),d.left=Pt(h.left,d.left),d},Id(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Dy(t){return $d(t)}function Uy(t,e,r){let n=Ze(e),i=gt(e),a=r==="fixed",s=Ro(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=mt(0);if(n||!n&&!a)if((yt(e)!=="body"||Tr(i))&&(l=Ao(e)),n){let d=Ro(e,!0,a,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&(c.x=Dd(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Ld(t,e){return!Ze(t)||De(t).position==="fixed"?null:e?e(t):t.offsetParent}function Bd(t,e){let r=Ne(t);if(!Ze(t))return r;let n=Ld(t,e);for(;n&&Nd(n)&&De(n).position==="static";)n=Ld(n,e);return n&&(yt(n)==="html"||yt(n)==="body"&&De(n).position==="static"&&!Nn(n))?r:n||_d(t)||r}function Fy(t){return De(t).direction==="rtl"}var Ny,By,Pn,Fd,Hd=f(()=>{os();os();An();Td();Ny=mt(0);By=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Bd,a=this.getDimensions;return{reference:Uy(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};Pn={convertOffsetParentRelativeRectToViewportRelativeRect:Py,getDocumentElement:gt,getClippingRect:My,getOffsetParent:Bd,getElementRects:By,getClientRects:Ty,getDimensions:Dy,getScale:Ir,isElement:tt,isRTL:Fy},Fd=(t,e,r)=>{let n=new Map,i={platform:Pn,...r},a={...i.platform,_c:n};return wd(t,e,{...i,platform:a})}});function Wd(t){return Hy(t)}function ns(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Hy(t){for(let e=t;e;e=ns(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ns(t);e;e=ns(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var zd=f(()=>{});var as={};K(as,{computeOffsetPosition:()=>is});async function is(t,e,r){return Fd(t,e,{platform:{...Pn,getOffsetParent:n=>Pn.getOffsetParent(n,Wd)},middleware:[rs({crossAxis:!0}),ts({allowedPlacements:[r]})]})}var Tn=f(()=>{"use strict";Hd();zd()});var In,Wy,IS,jd,Vd=f(()=>{In=window,Wy=In.ShadowRoot&&(In.ShadyCSS===void 0||In.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,IS=Symbol(),jd=(t,e)=>{Wy?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=In.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var ss={};K(ss,{ScopedRegistryLitElement:()=>No});var No,Ln=f(()=>{"use strict";B();Vd();No=class extends dt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return jd(n,e.elementStyles),n}}});var ls={};K(ls,{FtLitElement:()=>q});var $n,qd,Kd,Gd,Yd,Zd,q,_o=f(()=>{"use strict";te();On();vn();Ln();$n=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Kd=Symbol("constructorPrototype"),Gd=Symbol("constructorName"),Yd=Symbol("exportpartsDebouncer"),Zd=Symbol("dynamicDependenciesLoaded"),q=class extends No{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[qd]=new ve(5),this[Gd]=this.constructor.name,this[Kd]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Gd]&&Object.setPrototypeOf(this,this[Kd])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Zd]||(e[Zd]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Yd].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,l;let c=g=>g!=null&&g.trim().length>0,d=e.filter(c).map(g=>g.trim());if(d.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(w=>w.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(c).map(w=>w.trim()).forEach(w=>m.add(w))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(g=>d.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};qd=Yd;$n([C()],q.prototype,"exportpartsPrefix",void 0);$n([Ce([])],q.prototype,"exportpartsPrefixes",void 0);$n([C()],q.prototype,"customStylesheet",void 0);$n([ue()],q.prototype,"useAdoptedStyleSheets",void 0)});var us={};K(us,{FtdsBase:()=>cs,toFtdsBase:()=>kn});function kn(t){class e extends t{constructor(){super(...arguments),this.size=ht.medium,this.family=ar.neutral}getDesignSystemBaseClasses(){return{[Ua(this.family)]:!0,[Ba(this.size)]:!0}}}return Xd([C()],e.prototype,"size",void 0),Xd([C()],e.prototype,"family",void 0),e}var Xd,cs,ds=f(()=>{"use strict";_o();te();j();Xd=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};cs=class extends kn(q){}});var Qd={};var ps=f(()=>{"use strict"});var cr,Jd=f(()=>{cr=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{t.matches(d,this.exclude)?c():this.onIframeReady(d,m=>{r(d)&&(l++,n(m)),c()},c)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),l=[],c=[],d,m,h=()=>({prevNode:m,node:d}=this.getIteratorNode(s),d);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(d,m,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>c.push(b),i)}),c.push(d);c.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}}});var Po,ep=f(()=>{Jd();Po=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new cr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return cr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let d=r-s.start,m=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(m+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,m),e.value=h+g,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=m),e.nodes[x].end-=m)}),n-=m,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=e.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let m=d.index;if(s!==0)for(let h=1;h<s;h++)m+=d[h].length;c=this.wrapRangeInTextNode(c,m,m+d[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let h=1;h<s;h++)d+=c[h].length;let m=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,m,h=>n(c[s],h),(h,g)=>{e.lastIndex=g,i(h)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:d,end:m,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,d,m,g=>r(g,l,a.value.substring(d,m),c),g=>{n(g,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=d=>{let m=new RegExp(this.createRegExp(d),`gm${l}`),h=0;this.log(`Searching with expression "${m}"`),this[i](m,1,(g,b)=>this.opt.filter(b,d,n,h),g=>{h++,n++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=cr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function fs(t){let e=new Po(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var tp=f(()=>{ep()});var ms={};K(ms,{highlightHtml:()=>hs,highlightHtmlColorCssVariable:()=>rp,highlightHtmlStyles:()=>jy});function hs(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new zy(t);if(s.unmark(),e&&e.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(l.each=d=>{for(let m in r.attributes)d.setAttribute(m,r.attributes[m])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(d=>s.mark(d.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var zy,rp,jy,ys=f(()=>{"use strict";B();j();tp();zy=fs,rp=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),jy=T`
|
|
1
|
+
"use strict";(()=>{var hm=Object.create;var Di=Object.defineProperty;var mm=Object.getOwnPropertyDescriptor;var ym=Object.getOwnPropertyNames;var gm=Object.getPrototypeOf,bm=Object.prototype.hasOwnProperty;var h=(t,e)=>()=>(t&&(e=t(t=0)),e);var xm=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Z=(t,e)=>{for(var r in e)Di(t,r,{get:e[r],enumerable:!0})},vm=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ym(e))!bm.call(t,i)&&i!==r&&Di(t,i,{get:()=>e[i],enumerable:!(o=mm(e,i))||o.enumerable});return t};var Sm=(t,e,r)=>(r=t!=null?hm(gm(t)):{},vm(e||!t||!t.__esModule?Di(r,"default",{value:t,enumerable:!0}):r,t));var jc=h(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,i=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(S,O){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" has already been used with this registry`);if(this._definitionsByClass.get(O)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=O.prototype.attributeChangedCallback,U=new Set(O.observedAttributes||[]);g(O,U,w);let q={elementClass:O,connectedCallback:O.prototype.connectedCallback,disconnectedCallback:O.prototype.disconnectedCallback,adoptedCallback:O.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:O.formAssociated,formAssociatedCallback:O.prototype.formAssociatedCallback,formDisabledCallback:O.prototype.formDisabledCallback,formResetCallback:O.prototype.formResetCallback,formStateRestoreCallback:O.prototype.formStateRestoreCallback,observedAttributes:U};this._definitionsByTag.set(S,q),this._definitionsByClass.set(O,q);let X=r.call(o,S);X||(X=f(S),e.call(o,S,X)),this===window.customElements&&(s.set(O,q),q.standInClass=X);let Q=this._awaitingUpgrade.get(S);if(Q){this._awaitingUpgrade.delete(S);for(let y of Q)a.delete(y),x(y,q,!0)}let M=this._whenDefinedPromises.get(S);return M!==void 0&&(M.resolve(O),this._whenDefinedPromises.delete(S)),O}upgrade(){T.push(this),o.upgrade.apply(o,arguments),T.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let O=this._getDefinition(S);if(O!==void 0)return Promise.resolve(O.elementClass);let w=this._whenDefinedPromises.get(S);return w===void 0&&(w={},w.promise=new Promise(U=>w.resolve=U),this._whenDefinedPromises.set(S,w)),w.promise}_upgradeWhenDefined(S,O,w){let U=this._awaitingUpgrade.get(O);U||this._awaitingUpgrade.set(O,U=new Set),w?U.add(S):U.delete(S)}};let c;window.HTMLElement=function(){let O=c;if(O)return c=void 0,O;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return O=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(O,this.constructor.prototype),i.set(O,w),O},window.HTMLElement.prototype=t.prototype;let d=S=>S===document||S instanceof ShadowRoot,m=S=>{let O=S.getRootNode();if(!d(O)){let w=T[T.length-1];if(w instanceof CustomElementRegistry)return w;O=w.getRootNode(),d(O)||(O=l.get(O)?.getRootNode()||document)}return O.customElements},f=S=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let U=m(w)||window.customElements,q=U._getDefinition(S);return q?x(w,q):a.set(w,U),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},g=(S,O,w)=>{if(O.size===0||w===void 0)return;let U=S.prototype.setAttribute;U&&(S.prototype.setAttribute=function(Q,M){let y=Q.toLowerCase();if(O.has(y)){let v=this.getAttribute(y);U.call(this,y,M),w.call(this,y,v,M)}else U.call(this,y,M)});let q=S.prototype.removeAttribute;q&&(S.prototype.removeAttribute=function(Q){let M=Q.toLowerCase();if(O.has(M)){let y=this.getAttribute(M);q.call(this,M),w.call(this,M,y,null)}else q.call(this,M)});let X=S.prototype.toggleAttribute;X&&(S.prototype.toggleAttribute=function(Q,M){let y=Q.toLowerCase();if(O.has(y)){let v=this.getAttribute(y);X.call(this,y,M);let k=this.getAttribute(y);w.call(this,y,v,k)}else X.call(this,y,M)})},b=S=>{let O=Object.getPrototypeOf(S);if(O!==window.HTMLElement)return O===t?Object.setPrototypeOf(S,window.HTMLElement):b(O)},x=(S,O,w=!1)=>{Object.setPrototypeOf(S,O.elementClass.prototype),i.set(S,O),c=S;try{new O.elementClass}catch{b(O.elementClass),new O.elementClass}O.attributeChangedCallback&&O.observedAttributes.forEach(U=>{S.hasAttribute(U)&&O.attributeChangedCallback.call(S,U,null,S.getAttribute(U))}),w&&O.connectedCallback&&S.isConnected&&O.connectedCallback.call(S)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let O=E.apply(this,arguments);return S.customElements&&(O.customElements=S.customElements),O};let T=[document],A=(S,O,w=void 0)=>{let U=(w?Object.getPrototypeOf(w):S.prototype)[O];S.prototype[O]=function(){T.push(this);let q=U.apply(w||this,arguments);return q!==void 0&&l.set(q,this),T.pop(),q}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let _=(S,O)=>{let w=Object.getOwnPropertyDescriptor(S.prototype,O);Object.defineProperty(S.prototype,O,{...w,set(U){T.push(this),w.set.call(this,U),T.pop()}})};if(_(Element,"innerHTML"),_(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,O=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Q){let M=O.call(this,...Q);return S.set(M,this),M},w.forEach(Q=>{let M=window.ElementInternals.prototype,y=M[Q];M[Q]=function(...v){let k=S.get(this);if(i.get(k).formAssociated===!0)return y?.call(this,...v);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class U extends Array{constructor(M){super(...M),this._elements=M}get value(){return this._elements.find(M=>M.checked===!0)?.value||""}}class q{constructor(M){let y=new Map;M.forEach((v,k)=>{let V=v.getAttribute("name"),Y=y.get(V)||[];this[+k]=v,Y.push(v),y.set(V,Y)}),this.length=M.length,y.forEach((v,k)=>{v&&(v.length===1?this[k]=v[0]:this[k]=new U(v))})}namedItem(M){return this[M]}}let X=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Q=X.get.call(this,[]),M=[];for(let y of Q){let v=i.get(y);(!v||v.formAssociated===!0)&&M.push(y)}return new q(M)}})}}});var Vc=h(()=>{"use strict";jc();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,i)=>{if(o!==null)try{e.bind(window.customElements)(r,o,i)}catch(a){console.info(r,o,i,a)}}}});var tn,on,Gc,Kc,rn,Zc,Ui,nn,Fi=h(()=>{tn=globalThis,on=tn.ShadowRoot&&(tn.ShadyCSS===void 0||tn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gc=Symbol(),Kc=new WeakMap,rn=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Gc)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(on&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Kc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Kc.set(r,e))}return e}toString(){return this.cssText}},Zc=t=>new rn(typeof t=="string"?t:t+"",void 0,Gc),Ui=(t,e)=>{if(on)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),i=tn.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)}},nn=on?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Zc(r)})(t):t});var Om,Cm,Em,wm,Am,Rm,an,qc,Nm,_m,co,uo,sn,Yc,Yt,Bi=h(()=>{Fi();Fi();({is:Om,defineProperty:Cm,getOwnPropertyDescriptor:Em,getOwnPropertyNames:wm,getOwnPropertySymbols:Am,getPrototypeOf:Rm}=Object),an=globalThis,qc=an.trustedTypes,Nm=qc?qc.emptyScript:"",_m=an.reactiveElementPolyfillSupport,co=(t,e)=>t,uo={toAttribute(t,e){switch(e){case Boolean:t=t?Nm:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},sn=(t,e)=>!Om(t,e),Yc={attribute:!0,type:String,converter:uo,reflect:!1,hasChanged:sn};Symbol.metadata??=Symbol("metadata"),an.litPropertyMetadata??=new WeakMap;Yt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Yc){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),i=this.getPropertyDescriptor(e,o,r);i!==void 0&&Cm(this.prototype,e,i)}}static getPropertyDescriptor(e,r,o){let{get:i,set:a}=Em(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Yc}static _$Ei(){if(this.hasOwnProperty(co("elementProperties")))return;let e=Rm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(co("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(co("properties"))){let r=this.properties,o=[...wm(r),...Am(r)];for(let i of o)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,i]of r)this.elementProperties.set(o,i)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let i=this._$Eu(r,o);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let i of o)r.unshift(nn(i))}else e!==void 0&&r.push(nn(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ui(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r){let o=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,o);if(i!==void 0&&o.reflect===!0){let a=(o.converter?.toAttribute!==void 0?o.converter:uo).toAttribute(r,o.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let o=this.constructor,i=o._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=o.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:uo;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,o,i=!1,a){if(e!==void 0){if(o??=this.constructor.getPropertyOptions(e),!(o.hasChanged??sn)(i?a:this[e],r))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,o){this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[i,a]of o)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$ET()}catch(o){throw e=!1,this._$ET(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Yt.elementStyles=[],Yt.shadowRootOptions={mode:"open"},Yt[co("elementProperties")]=new Map,Yt[co("finalized")]=new Map,_m?.({ReactiveElement:Yt}),(an.reactiveElementVersions??=[]).push("2.0.2")});function cu(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xc!==void 0?Xc.createHTML(e):e}function er(t,e,r=t,o){if(e===De)return e;let i=o!==void 0?r._$Co?.[o]:r._$Cl,a=fo(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=i:r._$Cl=i),i!==void 0&&(e=er(t,i._$AS(t,e.values),i,o)),e}var Hi,ln,Xc,zi,pt,ji,Tm,Jt,cn,fo,ou,nu,Wi,po,Qc,Jc,Xt,eu,tu,iu,au,su,lu,De,ue,ru,Qt,uu,ho,un,mo,tr,dn,pn,fn,hn,du,Pm,ft=h(()=>{Hi=globalThis,ln=Hi.trustedTypes,Xc=ln?ln.createPolicy("lit-html",{createHTML:t=>t}):void 0,zi="$lit$",pt=`lit$${(Math.random()+"").slice(9)}$`,ji="?"+pt,Tm=`<${ji}>`,Jt=document,cn=()=>Jt.createComment(""),fo=t=>t===null||typeof t!="object"&&typeof t!="function",ou=Array.isArray,nu=t=>ou(t)||typeof t?.[Symbol.iterator]=="function",Wi=`[
|
|
2
|
+
\f\r]`,po=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qc=/-->/g,Jc=/>/g,Xt=RegExp(`>|${Wi}(?:([^\\s"'>=/]+)(${Wi}*=${Wi}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),eu=/'/g,tu=/"/g,iu=/^(?:script|style|textarea|title)$/i,au=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),su=au(1),lu=au(2),De=Symbol.for("lit-noChange"),ue=Symbol.for("lit-nothing"),ru=new WeakMap,Qt=Jt.createTreeWalker(Jt,129);uu=(t,e)=>{let r=t.length-1,o=[],i,a=e===2?"<svg>":"",s=po;for(let l=0;l<r;l++){let c=t[l],d,m,f=-1,g=0;for(;g<c.length&&(s.lastIndex=g,m=s.exec(c),m!==null);)g=s.lastIndex,s===po?m[1]==="!--"?s=Qc:m[1]!==void 0?s=Jc:m[2]!==void 0?(iu.test(m[2])&&(i=RegExp("</"+m[2],"g")),s=Xt):m[3]!==void 0&&(s=Xt):s===Xt?m[0]===">"?(s=i??po,f=-1):m[1]===void 0?f=-2:(f=s.lastIndex-m[2].length,d=m[1],s=m[3]===void 0?Xt:m[3]==='"'?tu:eu):s===tu||s===eu?s=Xt:s===Qc||s===Jc?s=po:(s=Xt,i=void 0);let b=s===Xt&&t[l+1].startsWith("/>")?" ":"";a+=s===po?c+Tm:f>=0?(o.push(d),c.slice(0,f)+zi+c.slice(f)+pt+b):c+pt+(f===-2?l:b)}return[cu(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},ho=class t{constructor({strings:e,_$litType$:r},o){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[d,m]=uu(e,r);if(this.el=t.createElement(d,o),Qt.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Qt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(zi)){let g=m[s++],b=i.getAttribute(f).split(pt),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?dn:x[1]==="?"?pn:x[1]==="@"?fn:tr}),i.removeAttribute(f)}else f.startsWith(pt)&&(c.push({type:6,index:a}),i.removeAttribute(f));if(iu.test(i.tagName)){let f=i.textContent.split(pt),g=f.length-1;if(g>0){i.textContent=ln?ln.emptyScript:"";for(let b=0;b<g;b++)i.append(f[b],cn()),Qt.nextNode(),c.push({type:2,index:++a});i.append(f[g],cn())}}}else if(i.nodeType===8)if(i.data===ji)c.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(pt,f+1))!==-1;)c.push({type:7,index:a}),f+=pt.length-1}a++}}static createElement(e,r){let o=Jt.createElement("template");return o.innerHTML=e,o}};un=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,i=(e?.creationScope??Jt).importNode(r,!0);Qt.currentNode=i;let a=Qt.nextNode(),s=0,l=0,c=o[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new mo(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new hn(a,this,e)),this._$AV.push(d),c=o[++l]}s!==c?.index&&(a=Qt.nextNode(),s++)}return Qt.currentNode=Jt,i}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},mo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,i){this.type=2,this._$AH=ue,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=er(this,e,r),fo(e)?e===ue||e==null||e===""?(this._$AH!==ue&&this._$AR(),this._$AH=ue):e!==this._$AH&&e!==De&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):nu(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==ue&&fo(this._$AH)?this._$AA.nextSibling.data=e:this.$(Jt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,i=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=ho.createElement(cu(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new un(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=ru.get(e.strings);return r===void 0&&ru.set(e.strings,r=new ho(e)),r}T(e){ou(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,i=0;for(let a of e)i===r.length?r.push(o=new t(this.k(cn()),this.k(cn()),this,this.options)):o=r[i],o._$AI(a),i++;i<r.length&&(this._$AR(o&&o._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},tr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,i,a){this.type=1,this._$AH=ue,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ue}_$AI(e,r=this,o,i){let a=this.strings,s=!1;if(a===void 0)e=er(this,e,r,0),s=!fo(e)||e!==this._$AH&&e!==De,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=er(this,l[o+c],r,c),d===De&&(d=this._$AH[c]),s||=!fo(d)||d!==this._$AH[c],d===ue?e=ue:e!==ue&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===ue?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},dn=class extends tr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ue?void 0:e}},pn=class extends tr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ue)}},fn=class extends tr{constructor(e,r,o,i,a){super(e,r,o,i,a),this.type=5}_$AI(e,r=this){if((e=er(this,e,r,0)??ue)===De)return;let o=this._$AH,i=e===ue&&o!==ue||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==ue&&(o===ue||i);i&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},hn=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){er(this,e)}},du={j:zi,P:pt,A:ji,C:1,M:uu,L:un,R:nu,V:er,D:mo,I:tr,H:pn,N:fn,U:dn,B:hn},Pm=Hi.litHtmlPolyfillSupport;Pm?.(ho,mo),(Hi.litHtmlVersions??=[]).push("3.1.0")});var mn,yo,Vi,pu,Cr,rr,P,yn,go,Ki=h(()=>{mn=globalThis,yo=mn.ShadowRoot&&(mn.ShadyCSS===void 0||mn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Vi=Symbol(),pu=new WeakMap,Cr=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Vi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(yo&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=pu.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&pu.set(r,e))}return e}toString(){return this.cssText}},rr=t=>new Cr(typeof t=="string"?t:t+"",void 0,Vi),P=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,i,a)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new Cr(r,t,Vi)},yn=(t,e)=>{if(yo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),i=mn.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)}},go=yo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return rr(r)})(t):t});var Lm,Im,$m,km,Mm,Dm,bn,fu,Um,Fm,bo,gn,Gi,hu,et,Zi=h(()=>{Ki();Ki();({is:Lm,defineProperty:Im,getOwnPropertyDescriptor:$m,getOwnPropertyNames:km,getOwnPropertySymbols:Mm,getPrototypeOf:Dm}=Object),bn=globalThis,fu=bn.trustedTypes,Um=fu?fu.emptyScript:"",Fm=bn.reactiveElementPolyfillSupport,bo=(t,e)=>t,gn={toAttribute(t,e){switch(e){case Boolean:t=t?Um:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Gi=(t,e)=>!Lm(t,e),hu={attribute:!0,type:String,converter:gn,reflect:!1,hasChanged:Gi};Symbol.metadata??=Symbol("metadata"),bn.litPropertyMetadata??=new WeakMap;et=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=hu){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),i=this.getPropertyDescriptor(e,o,r);i!==void 0&&Im(this.prototype,e,i)}}static getPropertyDescriptor(e,r,o){let{get:i,set:a}=$m(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??hu}static _$Ei(){if(this.hasOwnProperty(bo("elementProperties")))return;let e=Dm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(bo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bo("properties"))){let r=this.properties,o=[...km(r),...Mm(r)];for(let i of o)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,i]of r)this.elementProperties.set(o,i)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let i=this._$Eu(r,o);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let i of o)r.unshift(go(i))}else e!==void 0&&r.push(go(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return yn(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r){let o=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,o);if(i!==void 0&&o.reflect===!0){let a=(o.converter?.toAttribute!==void 0?o.converter:gn).toAttribute(r,o.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let o=this.constructor,i=o._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=o.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:gn;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,o,i=!1,a){if(e!==void 0){if(o??=this.constructor.getPropertyOptions(e),!(o.hasChanged??Gi)(i?a:this[e],r))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,o){this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[i,a]of o)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$ET()}catch(o){throw e=!1,this._$ET(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[bo("elementProperties")]=new Map,et[bo("finalized")]=new Map,Fm?.({ReactiveElement:et}),(bn.reactiveElementVersions??=[]).push("2.0.2")});function wu(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return mu!==void 0?mu.createHTML(e):e}function ar(t,e,r=t,o){if(e===_t)return e;let i=o!==void 0?r._$Co?.[o]:r._$Cl,a=So(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=i:r._$Cl=i),i!==void 0&&(e=ar(t,i._$AS(t,e.values),i,o)),e}var Yi,xn,mu,Xi,ht,Qi,Bm,ir,vo,So,Su,Ou,qi,xo,yu,gu,or,bu,xu,Cu,Eu,D,Wm,_t,z,vu,nr,Au,Oo,vn,Er,sr,Sn,On,Cn,En,Hm,zm,Ji,ea=h(()=>{Yi=globalThis,xn=Yi.trustedTypes,mu=xn?xn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xi="$lit$",ht=`lit$${(Math.random()+"").slice(9)}$`,Qi="?"+ht,Bm=`<${Qi}>`,ir=document,vo=()=>ir.createComment(""),So=t=>t===null||typeof t!="object"&&typeof t!="function",Su=Array.isArray,Ou=t=>Su(t)||typeof t?.[Symbol.iterator]=="function",qi=`[
|
|
4
|
+
\f\r]`,xo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,yu=/-->/g,gu=/>/g,or=RegExp(`>|${qi}(?:([^\\s"'>=/]+)(${qi}*=${qi}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),bu=/'/g,xu=/"/g,Cu=/^(?:script|style|textarea|title)$/i,Eu=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),D=Eu(1),Wm=Eu(2),_t=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),vu=new WeakMap,nr=ir.createTreeWalker(ir,129);Au=(t,e)=>{let r=t.length-1,o=[],i,a=e===2?"<svg>":"",s=xo;for(let l=0;l<r;l++){let c=t[l],d,m,f=-1,g=0;for(;g<c.length&&(s.lastIndex=g,m=s.exec(c),m!==null);)g=s.lastIndex,s===xo?m[1]==="!--"?s=yu:m[1]!==void 0?s=gu:m[2]!==void 0?(Cu.test(m[2])&&(i=RegExp("</"+m[2],"g")),s=or):m[3]!==void 0&&(s=or):s===or?m[0]===">"?(s=i??xo,f=-1):m[1]===void 0?f=-2:(f=s.lastIndex-m[2].length,d=m[1],s=m[3]===void 0?or:m[3]==='"'?xu:bu):s===xu||s===bu?s=or:s===yu||s===gu?s=xo:(s=or,i=void 0);let b=s===or&&t[l+1].startsWith("/>")?" ":"";a+=s===xo?c+Bm:f>=0?(o.push(d),c.slice(0,f)+Xi+c.slice(f)+ht+b):c+ht+(f===-2?l:b)}return[wu(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},Oo=class t{constructor({strings:e,_$litType$:r},o){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[d,m]=Au(e,r);if(this.el=t.createElement(d,o),nr.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=nr.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Xi)){let g=m[s++],b=i.getAttribute(f).split(ht),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Sn:x[1]==="?"?On:x[1]==="@"?Cn:sr}),i.removeAttribute(f)}else f.startsWith(ht)&&(c.push({type:6,index:a}),i.removeAttribute(f));if(Cu.test(i.tagName)){let f=i.textContent.split(ht),g=f.length-1;if(g>0){i.textContent=xn?xn.emptyScript:"";for(let b=0;b<g;b++)i.append(f[b],vo()),nr.nextNode(),c.push({type:2,index:++a});i.append(f[g],vo())}}}else if(i.nodeType===8)if(i.data===Qi)c.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ht,f+1))!==-1;)c.push({type:7,index:a}),f+=ht.length-1}a++}}static createElement(e,r){let o=ir.createElement("template");return o.innerHTML=e,o}};vn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,i=(e?.creationScope??ir).importNode(r,!0);nr.currentNode=i;let a=nr.nextNode(),s=0,l=0,c=o[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Er(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new En(a,this,e)),this._$AV.push(d),c=o[++l]}s!==c?.index&&(a=nr.nextNode(),s++)}return nr.currentNode=ir,i}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Er=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,i){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ar(this,e,r),So(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==_t&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ou(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==z&&So(this._$AH)?this._$AA.nextSibling.data=e:this.$(ir.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,i=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Oo.createElement(wu(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new vn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=vu.get(e.strings);return r===void 0&&vu.set(e.strings,r=new Oo(e)),r}T(e){Su(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,i=0;for(let a of e)i===r.length?r.push(o=new t(this.k(vo()),this.k(vo()),this,this.options)):o=r[i],o._$AI(a),i++;i<r.length&&(this._$AR(o&&o._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},sr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,i,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=z}_$AI(e,r=this,o,i){let a=this.strings,s=!1;if(a===void 0)e=ar(this,e,r,0),s=!So(e)||e!==this._$AH&&e!==_t,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=ar(this,l[o+c],r,c),d===_t&&(d=this._$AH[c]),s||=!So(d)||d!==this._$AH[c],d===z?e=z:e!==z&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Sn=class extends sr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===z?void 0:e}},On=class extends sr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},Cn=class extends sr{constructor(e,r,o,i,a){super(e,r,o,i,a),this.type=5}_$AI(e,r=this){if((e=ar(this,e,r,0)??z)===_t)return;let o=this._$AH,i=e===z&&o!==z||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==z&&(o===z||i);i&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},En=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){ar(this,e)}},Hm={j:Xi,P:ht,A:Qi,C:1,M:Au,L:vn,R:Ou,V:ar,D:Er,I:sr,H:On,N:Cn,U:Sn,B:En},zm=Yi.litHtmlPolyfillSupport;zm?.(Oo,Er),(Yi.litHtmlVersions??=[]).push("3.1.0");Ji=(t,e,r)=>{let o=r?.renderBefore??e,i=o._$litPart$;if(i===void 0){let a=r?.renderBefore??null;o._$litPart$=i=new Er(e.insertBefore(vo(),a),a,void 0,r??{})}return i._$AI(t),i}});var mt,jm,Vm,Ru=h(()=>{Zi();Zi();ea();ea();mt=class extends et{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ji(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return _t}};mt._$litElement$=!0,mt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mt});jm=globalThis.litElementPolyfillSupport;jm?.({LitElement:mt});Vm={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var kb,Nu=h(()=>{kb=!1});var ta={};Z(ta,{CSSResult:()=>Cr,LitElement:()=>mt,ReactiveElement:()=>et,_$LE:()=>Vm,_$LH:()=>Hm,adoptStyles:()=>yn,css:()=>P,defaultConverter:()=>gn,getCompatibleStyle:()=>go,html:()=>D,isServer:()=>kb,noChange:()=>_t,notEqual:()=>Gi,nothing:()=>z,render:()=>Ji,supportsAdoptingStyleSheets:()=>yo,svg:()=>Wm,unsafeCSS:()=>rr});var B=h(()=>{Bi();ft();Ru();Nu()});var ra,_u=h(()=>{ra=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function C(t){return(e,r)=>typeof r=="object"?Tu(t,e,r):((o,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...o,wrapped:!0}:o),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}var Km,Tu,oa=h(()=>{Bi();Km={attribute:!0,type:String,converter:uo,reflect:!1,hasChanged:sn},Tu=(t=Km,e,r)=>{let{kind:o,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(o==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+o)}});function de(t){return C({...t,state:!0,attribute:!1})}var Pu=h(()=>{oa();});function wr(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var Lu=h(()=>{});var Ge,Ar=h(()=>{Ge=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function be(t,e){return(r,o,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof o=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return Ge(r,o,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Ge(r,o,{get(){return a(this)}})}}var Iu=h(()=>{Ar();});function Zm(t){return(e,r)=>Ge(e,r,{get(){return(this.renderRoot??(Gm??=document.createDocumentFragment())).querySelectorAll(t)}})}var Gm,$u=h(()=>{Ar();});function qm(t){return(e,r)=>Ge(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var ku=h(()=>{Ar();});function Ym(t){return(e,r)=>{let{slot:o,selector:i}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Ge(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}var Mu=h(()=>{Ar();});function na(t){return(e,r)=>{let{slot:o}=t??{},i="slot"+(o?`[name=${o}]`:":not([name])");return Ge(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Du=h(()=>{Ar();});var ia={};Z(ia,{customElement:()=>ra,eventOptions:()=>wr,property:()=>C,query:()=>be,queryAll:()=>Zm,queryAssignedElements:()=>Ym,queryAssignedNodes:()=>na,queryAsync:()=>qm,standardProperty:()=>Tu,state:()=>de});var oe=h(()=>{_u();oa();Pu();Lu();Iu();$u();ku();Mu();Du()});var Tt,Pt,tt,Co=h(()=>{Tt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Pt=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var Xm,Uu,Rr,Lt,Qm,Fu,Bu,wn,Wu=h(()=>{ft();({D:Xm}=du),Uu=()=>document.createComment(""),Rr=(t,e,r)=>{let o=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore(Uu(),i),s=o.insertBefore(Uu(),i);r=new Xm(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let d=c.nextSibling;o.insertBefore(c,i),c=d}}}return r},Lt=(t,e,r=t)=>(t._$AI(e,r),t),Qm={},Fu=(t,e=Qm)=>t._$AH=e,Bu=t=>t._$AH,wn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}}});var Hu,Eo,zu=h(()=>{ft();Co();Wu();Hu=(t,e,r)=>{let o=new Map;for(let i=e;i<=r;i++)o.set(t[i],i);return o},Eo=Pt(class extends tt{constructor(t){if(super(t),t.type!==Tt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let i=[],a=[],s=0;for(let l of t)i[s]=o?o(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,o]){let i=Bu(t),{values:a,keys:s}=this.ht(e,r,o);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,m,f=0,g=i.length-1,b=0,x=a.length-1;for(;f<=g&&b<=x;)if(i[f]===null)f++;else if(i[g]===null)g--;else if(l[f]===s[b])c[b]=Lt(i[f],a[b]),f++,b++;else if(l[g]===s[x])c[x]=Lt(i[g],a[x]),g--,x--;else if(l[f]===s[x])c[x]=Lt(i[f],a[x]),Rr(t,c[x+1],i[f]),f++,x--;else if(l[g]===s[b])c[b]=Lt(i[g],a[b]),Rr(t,i[f],i[g]),g--,b++;else if(d===void 0&&(d=Hu(s,b,x),m=Hu(l,f,g)),d.has(l[f]))if(d.has(l[g])){let E=m.get(s[b]),T=E!==void 0?i[E]:null;if(T===null){let A=Rr(t,i[f]);Lt(A,a[b]),c[b]=A}else c[b]=Lt(T,a[b]),Rr(t,i[f],T),i[E]=null;b++}else wn(i[g]),g--;else wn(i[f]),f++;for(;b<=x;){let E=Rr(t,c[x+1]);Lt(E,a[b]),c[b++]=E}for(;f<=g;){let E=i[f++];E!==null&&wn(E)}return this.dt=s,Fu(t,c),De}})});var aa={};Z(aa,{repeat:()=>Eo});var An=h(()=>{zu()});var yt,ju=h(()=>{ft();Co();yt=Pt(class extends tt{constructor(t){if(super(t),t.type!==Tt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in e)e[o]&&!this.st?.has(o)&&this.it.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.it)o in e||(r.remove(o),this.it.delete(o));for(let o in e){let i=!!e[o];i===this.it.has(o)||this.st?.has(o)||(i?(r.add(o),this.it.add(o)):(r.remove(o),this.it.delete(o)))}return De}})});var sa={};Z(sa,{classMap:()=>yt});var Nr=h(()=>{ju()});var Vu,Jm,ey,Ku=h(()=>{ft();Co();Vu="important",Jm=" !"+Vu,ey=Pt(class extends tt{constructor(t){if(super(t),t.type!==Tt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let o of this.ut)e[o]==null&&(this.ut.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let i=e[o];if(i!=null){this.ut.add(o);let a=typeof i=="string"&&i.endsWith(Jm);o.includes("-")||a?r.setProperty(o,a?i.slice(0,-11):i,a?Vu:""):r[o]=i}}return De}})});var la={};Z(la,{styleMap:()=>ey});var Gu=h(()=>{Ku()});var _r,lr,Zu=h(()=>{ft();Co();_r=class extends tt{constructor(e){if(super(e),this.et=ue,e.type!==Tt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ue||e==null)return this.vt=void 0,this.et=e;if(e===De)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};_r.directiveName="unsafeHTML",_r.resultType=1;lr=Pt(_r)});var ca={};Z(ca,{UnsafeHTMLDirective:()=>_r,unsafeHTML:()=>lr});var wo=h(()=>{Zu()});var ua={};Z(ua,{CancelablePromise:()=>Tr,CanceledPromiseError:()=>It,cancelable:()=>Pr});var It,Tr,Pr,Rn=h(()=>{"use strict";It=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Tr=class extends Promise{constructor(e){super((r,o)=>e(i=>{this.isCanceled?o(new It("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?o(new It("Promise has been canceled",void 0,i)):o(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Pr=t=>new Tr((e,r)=>t.then(e).catch(r))});var da={};Z(da,{CacheRegistry:()=>rt});var rt,pa=h(()=>{"use strict";Rn();rt=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Tr&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,o){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Pr(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,o!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),o)),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 ha={};Z(ha,{ClusteringHelper:()=>fa});var fa,ma=h(()=>{"use strict";fa=class t{constructor(e,r,o,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=i}static extractResultMetadata(e,r){var o,i;let a=((i=(o=e?.map)!==null&&o!==void 0?o:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(o=>t.flattenMetadata(o)).filter(o=>o!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let o=[],i=[];return e.hierarchicalValues.forEach(a=>{o.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:o.join(", "),displayValue:i.join(", ")}}else{let o=e.values.join(", ");return{key:e.key,label:e.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(e,r,o="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:l,value:void 0,displayValue:o}).filter(d=>d.value!=s?.value).filter((d,m,f)=>f.findIndex(g=>g.value===d.value)===m).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,m)=>this.compareMetadata(d.metadata.value,m.metadata.value,e,r))}compareMetadata(e,r,o,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(o),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(c=>{var d;return((d=t.extractResultMetadata(c,e))===null||d===void 0?void 0:d.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of o){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,d===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(o=>r.some(i=>i.key===o.key&&i.value===o.value)).length}}});var ya={};Z(ya,{Debouncer:()=>Se});var Se,Nn=h(()=>{"use strict";Se=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(l){i(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 ba={};Z(ba,{dateReviver:()=>ry,deepEqual:()=>Ze,delay:()=>_n,eventPathContainsMatchingElement:()=>ny,flatDeep:()=>Yu,hasChanged:()=>Ao,last:()=>iy,minmax:()=>ga,parseDate:()=>Xu,waitFor:()=>qu,waitUntil:()=>ty});async function ty(t,e=10,r=2e4){await qu(async()=>await t()||void 0,e,r)}async function qu(t,e=10,r=2e4){let o=await t(),i,a;for(i=a=performance.now();o==null&&(!r||a-i<r);)await _n(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function Yu(t,e){return t.flatMap(r=>[r,...Yu(e(r),e)])}function ry(...t){return function(e,r){return t.includes(e)?Xu(r):r}}function Xu(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,i)=>r+o+":"+i),new Date(t)}function oy(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,o,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!Ze(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!Ze(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[o]))return!1;for(o=r;o--!==0;){var a=i[o];if(!Ze(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ze(t,e){try{return oy(t,e)}catch{return!1}}function Ao(t,e){return!Ze(t,e)}function ny(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let i of o){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function ga(t,e,r){return Math.min(Math.max(t,e),r)}function iy(t){return t[t.length-1]}var _n,Lr=h(()=>{"use strict";_n=t=>new Promise(e=>setTimeout(e,t))});var xa={};Z(xa,{customElement:()=>j,isNumber:()=>Qu,jsonProperty:()=>Ee,optionalNumberProperty:()=>ay});function Ee(t,e){let r=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:Ao,...e??{}})}function ay(t){return C({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Qu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Qu(t){return!isNaN(parseFloat(t))}var j,Tn=h(()=>{"use strict";oe();Lr();j=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function L(t,e){return gt(`${t.name}: ${e}`)}var gt,n,ee=h(()=>{B();gt=t=>typeof t=="string"?rr(t):t,n=class{static create(e,r,o,i){let a=l=>gt(l??i),s=P`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>P`var(${gt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,o,i){let a=l=>o.get(l??i),s=P`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>P`var(${gt(e)}, ${a(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>i??o.lastResortDefaultValue(),s}static external(e,r){let o=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):gt(a??e.lastResortDefaultValue()),i=P`var(${gt(e.name)}, ${o(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=o,i.get=a=>P`var(${gt(e.name)}, ${o(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var u,va,Sa,Oa,Ca,Ea,wa,Aa,Ra,Na,Ju,_a,Ta,Pa,La,Ia,$a,ka,Ma,Da,Ua,Fa,Ba,Wa,Ha,za,ja,Ro,sy,te=h(()=>{ee();u={colorWhite:n.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:n.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:n.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:n.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:n.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:n.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:n.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:n.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:n.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:n.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:n.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:n.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:n.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:n.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:n.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:n.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:n.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:n.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:n.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:n.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:n.create("--ft-opacity-0","","NUMBER","0"),opacity8:n.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:n.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:n.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:n.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:n.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:n.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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)")},va={fontFamily:n.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:n.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-display-textCase","","UNKNOWN","none")},Sa={fontFamily:n.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:n.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Oa={fontFamily:n.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:n.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ca={fontFamily:n.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:n.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ea={fontFamily:n.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},wa={fontFamily:n.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Aa={fontFamily:n.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ra={fontFamily:n.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Na={fontFamily:n.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ju={fontFamily:n.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:n.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:n.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},_a={fontFamily:n.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ta={fontFamily:n.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Pa={fontFamily:n.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},La={fontFamily:n.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ia={fontFamily:n.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},$a={fontFamily:n.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ka={fontFamily:n.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:n.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Da={fontFamily:n.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ua={fontFamily:n.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Fa={fontFamily:n.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ba={fontFamily:n.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:n.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:n.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},za={fontFamily:n.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},ja={fontFamily:n.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ro={display:va,"title-1":Sa,"title-2":Oa,"title-3":Ca,"body-1-regular":Ea,"body-1-medium":wa,"body-1-semibold":Aa,"body-2-regular":Ra,"body-2-medium":Na,"body-2-medium-underline":Ju,"body-2-semibold":_a,"label-1-medium":Ta,"label-1-semibold":Pa,"label-1-bold":La,"label-2-medium":Ia,"label-2-semibold":$a,"label-2-bold":ka,"caption-1-medium":Ma,"caption-1-semibold":Da,"caption-1-bold":Ua,"caption-2-medium":Fa,"caption-2-semibold":Ba,"caption-2-bold":Wa,"caption-3-medium":Ha,"caption-3-semibold":za,"caption-3-bold":ja},sy=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var p,ie=h(()=>{ee();te();p={backgroundActionPrimary:n.extend("--ft-background-action-primary","Used as backgorund of primary action components.",u.colorBrand0),backgroundErrorSubtle:n.extend("--ft-background-error-subtle","Used as background of subtle error components.",u.colorRed10),backgroundInfoSubtle:n.extend("--ft-background-info-subtle","Used as background of subtle information components.",u.colorCyan10),backgroundWarningSubtle:n.extend("--ft-background-warning-subtle","Used as background of subtle information components.",u.colorOrange10),backgroundSuccessSubtle:n.extend("--ft-background-success-subtle","Used as background of subtle success components.",u.colorGreen10),backgroundGlobalSurface:n.extend("--ft-background-global-surface","Used as app background.",u.colorWhite),backgroundGlobalOnSurface:n.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",u.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",u.colorGray30),contentActionPrimary:n.extend("--ft-content-action-primary","Used on label of primary action on light surface.",u.colorBrand0),contentWarningPrimary:n.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",u.colorOrange200),contentWarningIconOnly:n.extend("--ft-content-warning-icon-only","Used on warning status icons alone",u.colorOrange0),contentErrorPrimary:n.extend("--ft-content-error-primary","Used on label of error messages on light surface.",u.colorRed0),contentErrorIconOnly:n.extend("--ft-content-error-icon-only","Used on error status icons alone",u.colorRed70),contentInfoPrimary:n.extend("--ft-content-info-primary","Used on label of information messages on light surface.",u.colorCyan200),contentInfoIconOnly:n.extend("--ft-content-info-icon-only","Used on info status icons alone",u.colorCyan0),contentSuccessPrimary:n.extend("--ft-content-success-primary","Used on label of success messages on light surface.",u.colorGreen200),contentSuccessIconOnly:n.extend("--ft-content-success-icon-only","Used on success status icons alone",u.colorGreen0),contentGlobalPrimary:n.extend("--ft-content-global-primary","Used for main content on the page.",u.colorGray500),contentGlobalSecondary:n.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,u.colorGray200),contentGlobalSubtle:n.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",u.colorGray0),contentGlobalOnColor:n.extend("--ft-content-global-on-color","Used for content on a dominant color.",u.colorWhite),borderActionPrimary:n.extend("--ft-border-action-primary","Used as border for primary action components.",u.colorBrand0),borderActionFocusRing:n.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",u.colorCyan0),borderWarningPrimary:n.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",u.colorOrange200),borderWarningSubtle:n.extend("--ft-border-warning-subtle","Used as border for warning components.",u.colorOrange30),borderSuccessPrimary:n.extend("--ft-border-success-primary","Used as border for success buttons.",u.colorGreen200),borderSuccessSubtle:n.extend("--ft-border-success-subtle","Used as border for success components.",u.colorGreen30),borderErrorPrimary:n.extend("--ft-border-error-primary","Used as border for text fields in error states.",u.colorRed0),borderErrorSubtle:n.extend("--ft-border-error-subtle","Used as border for error components.",u.colorRed30),borderInfoPrimary:n.extend("--ft-border-info-primary","Used as border for buttons in info color.",u.colorCyan200),borderInfoSubtle:n.extend("--ft-border-info-subtle","Used as border for information components.",u.colorCyan30),borderGlobalPrimary:n.extend("--ft-border-global-primary","Used as border for element like input.",u.colorGray50),borderGlobalSubtle:n.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",u.colorGray30),borderInputPrimary:n.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",u.colorGray80)}});var R,ed=h(()=>{ee();te();ie();R={largeHeight:n.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ft-button-large-horizontal-padding","",u.spacing4),largeGap:n.extend("--ft-button-large-gap","",u.spacing2),largeBorderRadius:n.extend("--ft-button-large-border-radius","",u.borderRadiusS),largeIconSize:n.extend("--ft-button-large-icon-size","",u.iconSize3),largeBorderWidth:n.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ft-button-medium-horizontal-padding","",u.spacing3),mediumGap:n.extend("--ft-button-medium-gap","",u.spacing2),mediumBorderRadius:n.extend("--ft-button-medium-border-radius","",u.borderRadiusS),mediumIconSize:n.extend("--ft-button-medium-icon-size","",u.iconSize2),mediumBorderWidth:n.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ft-button-small-horizontal-padding","",u.spacing2),smallGap:n.extend("--ft-button-small-gap","",u.spacing1),smallBorderRadius:n.extend("--ft-button-small-border-radius","",u.borderRadiusS),smallIconSize:n.extend("--ft-button-small-icon-size","",u.iconSize1),smallBorderWidth:n.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ft-button-x-small-icon-size","",u.iconSize1),xSmallFocusOutlineOffset:n.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ft-button-round-border-radius","",u.borderRadiusPill),primaryBackgroundColor:n.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:n.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:n.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:n.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:n.extend("--ft-button-primary-hover-state-layer-opacity","",u.opacity16),primaryFocusStateLayerOpacity:n.extend("--ft-button-primary-focus-state-layer-opacity","",u.opacity16),primaryActiveStateLayerOpacity:n.extend("--ft-button-primary-active-state-layer-opacity","",u.opacity24),primaryDisabledComponentOpacity:n.extend("--ft-button-primary-disabled-component-opacity","",u.opacity40),focusFocusRingColor:n.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:n.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:n.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:n.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:n.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:n.extend("--ft-button-tertiary-hover-state-layer-opacity","",u.opacity8),tertiaryFocusStateLayerOpacity:n.extend("--ft-button-tertiary-focus-state-layer-opacity","",u.opacity8),tertiaryActiveStateLayerOpacity:n.extend("--ft-button-tertiary-active-state-layer-opacity","",u.opacity16),tertiaryDisabledComponentOpacity:n.extend("--ft-button-tertiary-disabled-component-opacity","",u.opacity40),secondaryBackgroundColor:n.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:n.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:n.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:n.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:n.extend("--ft-button-secondary-hover-state-layer-opacity","",u.opacity8),secondaryFocusStateLayerOpacity:n.extend("--ft-button-secondary-focus-state-layer-opacity","",u.opacity8),secondaryActiveStateLayerOpacity:n.extend("--ft-button-secondary-active-state-layer-opacity","",u.opacity16),secondaryDisabledComponentOpacity:n.extend("--ft-button-secondary-disabled-component-opacity","",u.opacity40),secondaryBorderColor:n.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:n.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:n.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:n.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:n.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:n.extend("--ft-button-neutral-hover-state-layer-opacity","",u.opacity8),neutralFocusStateLayerOpacity:n.extend("--ft-button-neutral-focus-state-layer-opacity","",u.opacity8),neutralActiveStateLayerOpacity:n.extend("--ft-button-neutral-active-state-layer-opacity","",u.opacity16),neutralDisabledComponentOpacity:n.extend("--ft-button-neutral-disabled-component-opacity","",u.opacity40)}});var ly,td=h(()=>{ee();te();ie();ly={neutralOffHoverStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",u.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",u.opacity8),neutralOffFocusFocusRingColor:n.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",u.opacity16),neutralOffBackgroundColor:n.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:n.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",u.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",u.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",u.opacity24),neutralOnFocusFocusRingColor:n.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",u.opacity32),neutralOnBackgroundColor:n.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:n.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:n.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:n.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ft-chip-choice-large-horizontal-padding","",u.spacing3),largeGap:n.extend("--ft-chip-choice-large-gap","",u.spacing1),largeBorderRadius:n.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ft-chip-choice-large-icon-size","",u.iconSize3),mediumMinHeight:n.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ft-chip-choice-medium-horizontal-padding","",u.spacing2),mediumGap:n.extend("--ft-chip-choice-medium-gap","",u.spacing1),mediumBorderRadius:n.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ft-chip-choice-medium-icon-size","",u.iconSize2)}});var cy,rd=h(()=>{ee();te();ie();cy={largeMinHeight:n.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ft-chip-large-horizontal-padding","",u.spacing3),largeButtonRightPadding:n.extend("--ft-chip-large-button-right-padding","",u.spacing1),largeGap:n.extend("--ft-chip-large-gap","",u.spacing1),largeFocusOutlineOffset:n.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:n.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ft-chip-large-icon-size","",u.iconSize3),mediumMinHeight:n.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ft-chip-medium-horizontal-padding","",u.spacing2),mediumButtonRightPadding:n.extend("--ft-chip-medium-button-right-padding","",u.spacing05),mediumGap:n.extend("--ft-chip-medium-gap","",u.spacing1),mediumFocusOutlineOffset:n.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:n.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ft-chip-medium-icon-size","",u.iconSize2),smallMinHeight:n.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ft-chip-small-horizontal-padding","",u.spacing1),smallButtonRightPadding:n.extend("--ft-chip-small-button-right-padding","",u.spacing05),smallGap:n.extend("--ft-chip-small-gap","",u.spacing1),smallFocusOutlineOffset:n.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:n.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:n.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:n.extend("--ft-chip-small-icon-size","",u.iconSize1),neutralBackgroundColor:n.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:n.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:n.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:n.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:n.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:n.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:n.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:n.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:n.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:n.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:n.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:n.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:n.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:n.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:n.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:n.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:n.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:n.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)}});var uy,od=h(()=>{ee();te();ie();uy={brandHoverOpacity:n.extend("--ft-link-brand-hover-opacity","",u.opacity80),brandHoverColor:n.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:n.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:n.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:n.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:n.extend("--ft-link-info-hover-opacity","",u.opacity80),infoHoverColor:n.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:n.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:n.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:n.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:n.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:n.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:n.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:n.extend("--ft-link-neutral-active-color","",p.contentActionPrimary)}});var dy,nd=h(()=>{ee();te();ie();dy={iconSize:n.extend("--ft-banner-icon-size","",u.iconSize5),borderWidth:n.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ft-banner-left-padding","",u.spacing6),rightPadding:n.extend("--ft-banner-right-padding","",u.spacing6),verticalPadding:n.extend("--ft-banner-vertical-padding","",u.spacing6),horizontalSideGap:n.extend("--ft-banner-horizontal-side-gap","",u.spacing6),horizontalMobileGap:n.extend("--ft-banner-horizontal-mobile-gap","",u.spacing4),verticalMobileGap:n.extend("--ft-banner-vertical-mobile-gap","",u.spacing6),horizontalMiddleGap:n.extend("--ft-banner-horizontal-middle-gap","",u.spacing20),infoBackgroundColor:n.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:n.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:n.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:n.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)}});var py,id=h(()=>{ee();te();ie();py={horizontalPadding:n.extend("--ft-badge-horizontal-padding","",u.spacing1),verticalPadding:n.extend("--ft-badge-vertical-padding","",u.spacing1),borderRadius:n.extend("--ft-badge-border-radius","",u.borderRadiusPill),color:n.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:n.extend("--ft-badge-background-color","",p.contentActionPrimary)}});var fy,ad=h(()=>{ee();te();ie();fy={horizontalGap:n.extend("--ft-breadcrumb-horizontal-gap","",u.spacing1),verticalGap:n.extend("--ft-breadcrumb-vertical-gap","",u.spacing2),currentColor:n.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:n.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:n.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)}});var hy,sd=h(()=>{ee();te();ie();hy={horizontalPadding:n.extend("--ft-page-header-horizontal-padding","",u.spacing6),horizontalGap:n.extend("--ft-page-header-horizontal-gap","",u.spacing4),verticalGap:n.extend("--ft-page-header-vertical-gap","",u.spacing2),classicVerticalPadding:n.extend("--ft-page-header-classic-vertical-padding","",u.spacing6),multilineVerticalPadding:n.extend("--ft-page-header-multiline-vertical-padding","",u.spacing4),inlineVerticalPadding:n.extend("--ft-page-header-inline-vertical-padding","",u.spacing2),backgroundColor:n.extend("--ft-page-header-background-color","",u.colorWhite),bottomBorderColor:n.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:n.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:n.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)}});var my,ld=h(()=>{ee();te();ie();my={smallContainerWidth:n.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:n.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:n.extend("--ft-modal-overlay-background-color","",u.colorGray700),overlayOpacity:n.extend("--ft-modal-overlay-opacity","",u.opacity40),shadow:n.extend("--ft-modal-shadow","",u.shadowElevation03),bodyBackgroundColor:n.extend("--ft-modal-body-background-color","",u.colorWhite),bodyColor:n.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-modal-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:n.extend("--ft-modal-body-vertical-padding","",u.spacing6),bodyVerticalGap:n.extend("--ft-modal-body-vertical-gap","",u.spacing6),containerMargin:n.extend("--ft-modal-container-margin","",u.spacing3),headerBackgroundColor:n.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:n.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:n.extend("--ft-modal-header-vertical-padding","",u.spacing1),headerRightPadding:n.extend("--ft-modal-header-right-padding","",u.spacing1),headerLeftPadding:n.extend("--ft-modal-header-left-padding","",u.spacing6),headerGap:n.extend("--ft-modal-header-gap","",u.spacing2),headerBorderBottom:n.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:n.extend("--ft-modal-border-radius","",u.borderRadiusM)}});var yy,cd=h(()=>{ee();te();ie();yy={overlayOpacity:n.extend("--ft-drawer-overlay-opacity","",u.opacity40),shadow:n.extend("--ft-drawer-shadow","",u.shadowElevation03),bodyColor:n.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-drawer-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:n.extend("--ft-drawer-body-vertical-padding","",u.spacing6),bodyGap:n.extend("--ft-drawer-body-gap","",u.spacing6),bodyBackgroundColor:n.extend("--ft-drawer-body-background-color","",u.colorWhite),headerBackgroundColor:n.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:n.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:n.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ft-drawer-header-horizontal-padding","",u.spacing2),headerBorderWidth:n.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ft-drawer-header-gap","",u.spacing3),buttonsBarBackgroundColor:n.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:n.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ft-drawer-buttons-bar-horizontal-padding","",u.spacing6),buttonsBarVerticalPadding:n.extend("--ft-drawer-buttons-bar-vertical-padding","",u.spacing4),buttonsBarGap:n.extend("--ft-drawer-buttons-bar-gap","",u.spacing3),buttonsBarBorderWidth:n.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:n.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:n.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:n.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:n.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:n.extend("--ft-drawer-overlay-background-color","",u.colorGray700)}});var gy,ud=h(()=>{ee();te();ie();gy={offBorderBottomWidth:n.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ft-tabs-off-hover-state-layer-opacity","",u.opacity8),offDefaultStateLayerOpacity:n.extend("--ft-tabs-off-default-state-layer-opacity","",u.opacity0),offFocusStateLayerOpacity:n.extend("--ft-tabs-off-focus-state-layer-opacity","",u.opacity8),offDisabledComponentOpacity:n.extend("--ft-tabs-off-disabled-component-opacity","",u.opacity40),offColor:n.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:n.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ft-tabs-top-left-border-radius","",u.borderRadiusS),topRightBorderRadius:n.extend("--ft-tabs-top-right-border-radius","",u.borderRadiusS),withLabelHorizontalPadding:n.extend("--ft-tabs-with-label-horizontal-padding","",u.spacing4),withLabelVerticalPadding:n.extend("--ft-tabs-with-label-vertical-padding","",u.spacing3),horizontalGap:n.extend("--ft-tabs-horizontal-gap","",u.spacing1),verticalGap:n.extend("--ft-tabs-vertical-gap","",u.spacing1),onHoverStateLayerOpacity:n.extend("--ft-tabs-on-hover-state-layer-opacity","",u.opacity16),onDefaultStateLayerOpacity:n.extend("--ft-tabs-on-default-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:n.extend("--ft-tabs-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:n.extend("--ft-tabs-on-active-state-layer-opacity","",u.opacity24),onColor:n.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:n.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ft-tabs-icon-only-horizontal-padding","",u.spacing4),iconOnlyVerticalPadding:n.extend("--ft-tabs-icon-only-vertical-padding","",u.spacing4),alertTopPadding:n.extend("--ft-tabs-alert-top-padding","",u.spacing1),alertRightPadding:n.extend("--ft-tabs-alert-right-padding","",u.spacing05),focusOutlineWidth:n.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)}});var by,dd=h(()=>{ee();te();ie();by={fieldHorizontalPadding:n.extend("--ft-text-input-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-text-input-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-text-input-field-vertical-gap","",u.spacing05),fieldIconSize:n.extend("--ft-text-input-field-icon-size","",u.iconSize3),fieldHeight:n.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:n.extend("--ft-text-input-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-text-input-helper-horizontal-gap","",u.spacing1),helperIconSize:n.extend("--ft-text-input-helper-icon-size","",u.iconSize2),borderRadius:n.extend("--ft-text-input-border-radius","",u.borderRadiusM),backgroundColor:n.extend("--ft-text-input-background-color","",u.colorWhite),contentValueColor:n.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:n.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:n.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:n.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:n.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:n.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-text-input-disabled-component-opacity","",u.opacity40)}});var xy,pd=h(()=>{ee();te();ie();xy={backgroundColor:n.extend("--ft-text-area-background-color","",u.colorWhite),contentValueColor:n.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:n.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:n.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:n.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-text-area-disabled-component-opacity","",u.opacity40),fieldHorizontalLeftPadding:n.extend("--ft-text-area-field-horizontal-left-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-text-area-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-text-area-field-vertical-gap","",u.spacing05),fieldMinHeight:n.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:n.extend("--ft-text-area-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-text-area-helper-horizontal-gap","",u.spacing1),helperIconSize:n.extend("--ft-text-area-helper-icon-size","",u.iconSize2),borderRadius:n.extend("--ft-text-area-border-radius","",u.borderRadiusM)}});var vy,fd=h(()=>{ee();te();ie();vy={height:n.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:n.extend("--ft-floating-menu-horizontal-padding","",u.spacing4),offIconColor:n.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:n.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:n.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:n.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:n.extend("--ft-floating-menu-gap","",u.spacing3),focusFocusRingColor:n.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:n.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ft-floating-menu-focus-state-layer-opacity","",u.opacity8),hoverStateLayerOpacity:n.extend("--ft-floating-menu-hover-state-layer-opacity","",u.opacity8),activeStateLayerOpacity:n.extend("--ft-floating-menu-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:n.extend("--ft-floating-menu-disabled-component-opacity","",u.opacity40),iconSize:n.extend("--ft-floating-menu-icon-size","",u.iconSize3),backgroundColor:n.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:n.extend("--ft-floating-menu-shadow","",u.shadowElevation02)}});var Sy,hd=h(()=>{ee();te();ie();Sy={fieldHorizontalPadding:n.extend("--ft-combobox-single-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-combobox-single-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-combobox-single-select-field-vertical-gap","",u.spacing05),fieldIconSize:n.extend("--ft-combobox-single-select-field-icon-size","",u.iconSize3),fieldHeight:n.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:n.extend("--ft-combobox-single-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-combobox-single-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:n.extend("--ft-combobox-single-select-helper-vertical-gap","",u.spacing1),helperIconSize:n.extend("--ft-combobox-single-select-helper-icon-size","",u.iconSize2),menuVerticalGap:n.extend("--ft-combobox-single-select-menu-vertical-gap","",u.spacing2),borderRadius:n.extend("--ft-combobox-single-select-border-radius","",u.borderRadiusM),backgroundColor:n.extend("--ft-combobox-single-select-background-color","",u.colorWhite),labelColor:n.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:n.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:n.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:n.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:n.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:n.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-combobox-single-select-disabled-component-opacity","",u.opacity40)}});var Oy,md=h(()=>{ee();te();ie();Oy={backgroundColor:n.extend("--ft-combobox-multi-select-background-color","",u.colorWhite),labelColor:n.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:n.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:n.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:n.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:n.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:n.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:n.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-combobox-multi-select-disabled-component-opacity","",u.opacity40),helperHorizontalPadding:n.extend("--ft-combobox-multi-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:n.extend("--ft-combobox-multi-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:n.extend("--ft-combobox-multi-select-helper-vertical-gap","",u.spacing1),helperIconSize:n.extend("--ft-combobox-multi-select-helper-icon-size","",u.iconSize2),fieldHorizontalPadding:n.extend("--ft-combobox-multi-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:n.extend("--ft-combobox-multi-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:n.extend("--ft-combobox-multi-select-field-vertical-gap","",u.spacing05),fieldIconSize:n.extend("--ft-combobox-multi-select-field-icon-size","",u.iconSize3),fieldMaxHeight:n.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:n.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",u.spacing1),contentValuesVerticalGap:n.extend("--ft-combobox-multi-select-content-values-vertical-gap","",u.spacing1),borderRadius:n.extend("--ft-combobox-multi-select-border-radius","",u.borderRadiusM)}});var Cy,yd=h(()=>{ee();te();ie();Cy={backgroundColor:n.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:n.extend("--ft-popover-horizontal-padding","",u.spacing6),verticalPadding:n.extend("--ft-popover-vertical-padding","",u.spacing6),titleColor:n.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:n.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:n.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:n.extend("--ft-popover-gap","",u.spacing3),borderRadius:n.extend("--ft-popover-border-radius","",u.borderRadiusM),shadow:n.extend("--ft-popover-shadow","",u.shadowElevation02)}});var Ey,gd=h(()=>{ee();te();ie();Ey={hoverStateLayerOpacity:n.extend("--ft-collapsible-hover-state-layer-opacity","",u.opacity8),focusStateLayerOpacity:n.extend("--ft-collapsible-focus-state-layer-opacity","",u.opacity8),focusOutlineWidth:n.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ft-collapsible-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:n.extend("--ft-collapsible-disabled-component-opacity","",u.opacity40),horizontalPadding:n.extend("--ft-collapsible-horizontal-padding","",u.spacing4),verticalPadding:n.extend("--ft-collapsible-vertical-padding","",u.spacing3),color:n.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:n.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:n.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:n.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:n.extend("--ft-collapsible-icon-size","",u.iconSize3)}});var wy,bd=h(()=>{ee();te();ie();wy={groupHorizontalPadding:n.extend("--ft-switch-group-horizontal-padding","",u.spacing1),groupVerticalPadding:n.extend("--ft-switch-group-vertical-padding","",u.spacing1),groupGap:n.extend("--ft-switch-group-gap","",u.spacing1),groupBackgroundColor:n.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:n.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:n.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ft-switch-label-horizontal-padding","",u.spacing2),labelVerticalPadding:n.extend("--ft-switch-label-vertical-padding","",u.spacing1),offHoverStateLayerOpacity:n.extend("--ft-switch-off-hover-state-layer-opacity","",u.opacity8),offFocusStateLayerOpacity:n.extend("--ft-switch-off-focus-state-layer-opacity","",u.opacity8),offActiveStateLayerOpacity:n.extend("--ft-switch-off-active-state-layer-opacity","",u.opacity16),offDisabledComponentOpacity:n.extend("--ft-switch-off-disabled-component-opacity","",u.opacity40),offColor:n.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-switch-on-hover-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:n.extend("--ft-switch-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:n.extend("--ft-switch-on-active-state-layer-opacity","",u.opacity16),onDisabledComponentOpacity:n.extend("--ft-switch-on-disabled-component-opacity","",u.opacity40),onColor:n.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:n.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:n.extend("--ft-switch-icon-horizontal-padding","",u.spacing1),iconVerticalPadding:n.extend("--ft-switch-icon-vertical-padding","",u.spacing1),focusOutlineWidth:n.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:n.extend("--ft-switch-option-border-radius","",u.borderRadiusS)}});var Ay,xd=h(()=>{ee();te();Ay={color1Light:n.extend("--ft-chart-1-light","for area color charts",u.colorBrand40),color1Base:n.extend("--ft-chart-1-base","for line charts",u.colorBrand0),color2Light:n.extend("--ft-chart-2-light","for area color charts",u.colorYellow60),color2Base:n.extend("--ft-chart-2-base","for line charts",u.colorYellow100),color3Light:n.extend("--ft-chart-3-light","",u.colorUltramarine40),color3Base:n.extend("--ft-chart-3-base","",u.colorUltramarine70),color4Light:n.extend("--ft-chart-4-light","",u.colorCyan50),color4Base:n.extend("--ft-chart-4-base","",u.colorCyan100),color5Light:n.extend("--ft-chart-5-light","",u.colorRed40),color5Base:n.extend("--ft-chart-5-base","",u.colorRed60),color6Light:n.extend("--ft-chart-6-light","",u.colorGreen40),color6Base:n.extend("--ft-chart-6-base","",u.colorGreen70),color7Light:n.extend("--ft-chart-7-light","",u.colorOrange70),color7Base:n.extend("--ft-chart-7-base","",u.colorOrange100),color8Light:n.extend("--ft-chart-8-light","",u.colorAvocado70),color8Base:n.extend("--ft-chart-8-base","",u.colorAvocado200),color9Light:n.extend("--ft-chart-9-light","",u.colorBrown50),color9Base:n.extend("--ft-chart-9-base","",u.colorBrown200),color10Light:n.extend("--ft-chart-10-light","",u.colorGray50),color10Base:n.extend("--ft-chart-10-base","",u.colorGray80),monochrome10:n.extend("--ft-chart-monochrome-10","",u.colorBrand10),monochrome20:n.extend("--ft-chart-monochrome-20","",u.colorBrand20),monochrome30:n.extend("--ft-chart-monochrome-30","",u.colorBrand40),monochrome40:n.extend("--ft-chart-monochrome-40","",u.colorBrand60),monochrome50:n.extend("--ft-chart-monochrome-50","",u.colorBrand0),monochrome60:n.extend("--ft-chart-monochrome-60","",u.colorBrand200)}});var Ry,vd=h(()=>{ee();te();ie();Ry={borderWidth:n.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ft-notice-horizontal-padding","",u.spacing3),verticalPadding:n.extend("--ft-notice-vertical-padding","",u.spacing2),borderRadius:n.extend("--ft-notice-border-radius","",u.borderRadiusS),gap:n.extend("--ft-notice-gap","",u.spacing2),iconSize:n.extend("--ft-notice-icon-size","",u.iconSize3),infoBackgroundColor:n.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:n.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:n.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:n.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:n.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:n.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:n.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:n.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:n.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:n.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:n.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:n.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:n.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:n.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:n.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:n.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)}});var Ny,Sd=h(()=>{ee();te();ie();Ny={color:n.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:n.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:n.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ft-checkbox-checked-hover-state-layer-opacity","",u.opacity16),checkedFocusStateLayerOpacity:n.extend("--ft-checkbox-checked-focus-state-layer-opacity","",u.opacity16),checkedActiveStateLayerOpacity:n.extend("--ft-checkbox-checked-active-state-layer-opacity","",u.opacity24),checkedDisabledComponentOpacity:n.extend("--ft-checkbox-checked-disabled-component-opacity","",u.opacity40),uncheckedBorderColor:n.extend("--ft-checkbox-unchecked-border-color","",u.colorGray80),uncheckedStateLayerColor:n.extend("--ft-checkbox-unchecked-state-layer-color","",u.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",u.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",u.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",u.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ft-checkbox-unchecked-disabled-component-opacity","",u.opacity40),focusFocusRingColor:n.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:n.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:n.extend("--ft-checkbox-gap","",u.spacing3)}});var _y,Od=h(()=>{ee();te();ie();_y={offHoverStateLayerOpacity:n.extend("--ft-toggle-off-hover-state-layer-opacity","",u.opacity16),offFocusStateLayerOpacity:n.extend("--ft-toggle-off-focus-state-layer-opacity","",u.opacity16),offActiveStateLayerOpacity:n.extend("--ft-toggle-off-active-state-layer-opacity","",u.opacity24),offDisabledComponentOpacity:n.extend("--ft-toggle-off-disabled-component-opacity","",u.opacity40),offBackgroundColor:n.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:n.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-toggle-on-hover-state-layer-opacity","",u.opacity16),onFocusStateLayerOpacity:n.extend("--ft-toggle-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:n.extend("--ft-toggle-on-active-state-layer-opacity","",u.opacity24),onDisabledComponentOpacity:n.extend("--ft-toggle-on-disabled-component-opacity","",u.opacity40),onBackgroundColor:n.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:n.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:n.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:n.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:n.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:n.extend("--ft-toggle-gap","",u.spacing3)}});var Ty,Cd=h(()=>{ee();te();ie();Ty={color:n.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:n.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:n.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ft-radio-selected-hover-state-layer-opacity","",u.opacity16),selectedFocusStateLayerOpacity:n.extend("--ft-radio-selected-focus-state-layer-opacity","",u.opacity16),selectedActiveStateLayerOpacity:n.extend("--ft-radio-selected-active-state-layer-opacity","",u.opacity24),selectedDisabledComponentOpacity:n.extend("--ft-radio-selected-disabled-component-opacity","",u.opacity40),unselectedStateLayerColor:n.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:n.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ft-radio-unselected-hover-state-layer-opacity","",u.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ft-radio-unselected-focus-state-layer-opacity","",u.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ft-radio-unselected-active-state-layer-opacity","",u.opacity24),unselectedDisabledComponentOpacity:n.extend("--ft-radio-unselected-disabled-component-opacity","",u.opacity40),focusFocusRingColor:n.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:n.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:n.extend("--ft-radio-gap","",u.spacing3)}});var Py,Ed=h(()=>{ee();te();ie();Py={iconSize:n.extend("--ft-notification-icon-size","",u.iconSize4),leftPadding:n.extend("--ft-notification-left-padding","",u.spacing5),rightPadding:n.extend("--ft-notification-right-padding","",u.spacing4),verticalPadding:n.extend("--ft-notification-vertical-padding","",u.spacing3),infoBackgroundColor:n.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:n.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:n.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:n.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:n.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:n.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:n.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:n.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:n.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:n.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:n.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:n.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:n.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:n.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:n.extend("--ft-notification-border-radius","",u.borderRadiusPill),borderWidth:n.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ft-notification-leading-gap","",u.spacing2),trailingGap:n.extend("--ft-notification-trailing-gap","",u.spacing8)}});var Ly,wd=h(()=>{ee();te();ie();Ly={horizontalPadding:n.extend("--ft-tooltip-horizontal-padding","",u.spacing2),verticalPadding:n.extend("--ft-tooltip-vertical-padding","",u.spacing2),borderRadius:n.extend("--ft-tooltip-border-radius","",u.borderRadiusS),color:n.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:n.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:n.extend("--ft-tooltip-background-opacity","",u.opacity80),shadow:n.extend("--ft-tooltip-shadow","",u.shadowElevation02),maxWidth:n.create("--ft-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ft-tooltip-gap","",u.spacing05)}});var Ad=h(()=>{te();ie();ed();td();rd();od();nd();id();ad();sd();ld();cd();ud();dd();pd();fd();hd();md();yd();gd();bd();xd();vd();Sd();Od();Cd();Ed();wd()});function Va(t){return`ftds--family-${t}`}function Ka(t){return`ftds--size-${t}`}var cr,bt,Rd=h(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(cr||(cr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(bt||(bt={}))});var K=h(()=>{ee();Ad();Rd()});var Ga={};Z(Ga,{DesignSystemFamily:()=>cr,DesignSystemSize:()=>bt,FtCssVariableFactory:()=>n,badge:()=>py,banner:()=>dy,breadcrumb:()=>fy,button:()=>R,chart:()=>Ay,checkbox:()=>Ny,chip:()=>cy,chipChoice:()=>ly,collapsible:()=>Ey,comboboxMultiSelect:()=>Oy,comboboxSingleSelect:()=>Sy,drawer:()=>yy,floatingMenu:()=>vy,foundation:()=>u,link:()=>uy,modal:()=>my,notice:()=>Ry,notification:()=>Py,pageHeader:()=>hy,popover:()=>Cy,radio:()=>Ty,resolveFamilyClass:()=>Va,resolveSizeClass:()=>Ka,semantic:()=>p,setVariable:()=>L,switch_:()=>wy,tabs:()=>gy,textArea:()=>xy,textInput:()=>by,toggle:()=>_y,tooltip:()=>Ly,typographies:()=>Ro,typographyBody1Medium:()=>wa,typographyBody1Regular:()=>Ea,typographyBody1Semibold:()=>Aa,typographyBody2Medium:()=>Na,typographyBody2MediumUnderline:()=>Ju,typographyBody2Regular:()=>Ra,typographyBody2Semibold:()=>_a,typographyCaption1Bold:()=>Ua,typographyCaption1Medium:()=>Ma,typographyCaption1Semibold:()=>Da,typographyCaption2Bold:()=>Wa,typographyCaption2Medium:()=>Fa,typographyCaption2Semibold:()=>Ba,typographyCaption3Bold:()=>ja,typographyCaption3Medium:()=>Ha,typographyCaption3Semibold:()=>za,typographyDisplay:()=>va,typographyLabel1Bold:()=>La,typographyLabel1Medium:()=>Ta,typographyLabel1Semibold:()=>Pa,typographyLabel2Bold:()=>ka,typographyLabel2Medium:()=>Ia,typographyLabel2Semibold:()=>$a,typographyTitle1:()=>Sa,typographyTitle2:()=>Oa,typographyTitle3:()=>Ca,typographyVariants:()=>sy});var Pn=h(()=>{"use strict";K()});var Za={};Z(Za,{designSystemVariables:()=>I});var I,qa=h(()=>{"use strict";Pn();I={colorPrimary:n.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:n.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:n.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:n.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:n.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:n.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:n.create("--ft-color-error","","COLOR","#B00020"),colorOutline:n.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:n.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:n.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:n.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:n.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:n.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:n.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:n.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:n.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:n.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:n.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:n.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:n.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:n.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:n.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:n.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:n.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:n.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:n.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:n.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:n.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:n.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:n.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:n.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:n.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:n.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:n.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:n.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:n.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:n.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:n.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:n.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:n.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:n.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:n.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:n.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:n.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:n.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:n.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:n.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:n.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:n.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var Ja={};Z(Ja,{FtNotificationEvent:()=>Ya,PostResizeEvent:()=>Qa,PreResizeEvent:()=>Xa});var Ya,Xa,Qa,es=h(()=>{"use strict";Ya=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Xa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Qa=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function rs(t,e,r){return $t(t,To(e,r))}function Ir(t,e){return typeof t=="function"?t(e):t}function ot(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function os(t){return t==="x"?"y":"x"}function ns(t){return t==="y"?"height":"width"}function Lo(t){return["top","bottom"].includes(ot(t))?"y":"x"}function is(t){return os(Lo(t))}function as(t,e,r){r===void 0&&(r=!1);let o=nt(t),i=is(t),a=ns(i),s=i==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=_o(s)),[s,_o(s)]}function Td(t){let e=_o(t);return[No(t),e,No(e)]}function No(t){return t.replace(/start|end/g,e=>$y[e])}function ky(t,e,r){let o=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:o:e?o:i;case"left":case"right":return e?a:s;default:return[]}}function Pd(t,e,r,o){let i=nt(t),a=ky(ot(t),r==="start",o);return i&&(a=a.map(s=>s+"-"+i),e&&(a=a.concat(a.map(No)))),a}function _o(t){return t.replace(/left|right|bottom|top/g,e=>Iy[e])}function My(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ld(t){return typeof t!="number"?My(t):{top:t,right:t,bottom:t,left:t}}function ur(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var _d,Nd,ts,To,$t,Po,xt,Iy,$y,Ln=h(()=>{_d=["top","right","bottom","left"],Nd=["start","end"],ts=_d.reduce((t,e)=>t.concat(e,e+"-"+Nd[0],e+"-"+Nd[1]),[]),To=Math.min,$t=Math.max,Po=Math.round,xt=t=>({x:t,y:t}),Iy={left:"right",right:"left",bottom:"top",top:"bottom"},$y={start:"end",end:"start"}});function Id(t,e,r){let{reference:o,floating:i}=t,a=Lo(e),s=is(e),l=ns(s),c=ot(e),d=a==="y",m=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,g=o[l]/2-i[l]/2,b;switch(c){case"top":b={x:m,y:o.y-i.height};break;case"bottom":b={x:m,y:o.y+o.height};break;case"right":b={x:o.x+o.width,y:f};break;case"left":b={x:o.x-i.width,y:f};break;default:b={x:o.x,y:o.y}}switch(nt(e)){case"start":b[s]-=g*(r&&d?-1:1);break;case"end":b[s]+=g*(r&&d?-1:1);break}return b}async function In(t,e){var r;e===void 0&&(e={});let{x:o,y:i,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:f="floating",altBoundary:g=!1,padding:b=0}=Ir(e,t),x=Ld(b),T=l[g?f==="floating"?"reference":"floating":f],A=ur(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(T)))==null||r?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:m,strategy:c})),_=f==="floating"?{...s.floating,x:o,y:i}:s.reference,S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),O=await(a.isElement==null?void 0:a.isElement(S))?await(a.getScale==null?void 0:a.getScale(S))||{x:1,y:1}:{x:1,y:1},w=ur(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:S,strategy:c}):_);return{top:(A.top-w.top+x.top)/O.y,bottom:(w.bottom-A.bottom+x.bottom)/O.y,left:(A.left-w.left+x.left)/O.x,right:(w.right-A.right+x.right)/O.x}}function Dy(t,e,r){return(t?[...r.filter(i=>nt(i)===t),...r.filter(i=>nt(i)!==t)]:r.filter(i=>ot(i)===i)).filter(i=>t?nt(i)===t||(e?No(i)!==i:!1):!0)}async function Uy(t,e){let{placement:r,platform:o,elements:i}=t,a=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=ot(r),l=nt(r),c=Lo(r)==="y",d=["left","top"].includes(s)?-1:1,m=a&&c?-1:1,f=Ir(e,t),{mainAxis:g,crossAxis:b,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof x=="number"&&(b=l==="end"?x*-1:x),c?{x:b*m,y:g*d}:{x:g*d,y:b*m}}var $d,ss,ls,cs,us,ds=h(()=>{Ln();Ln();$d=async(t,e,r)=>{let{placement:o="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:m,y:f}=Id(d,o,c),g=o,b={},x=0;for(let E=0;E<l.length;E++){let{name:T,fn:A}=l[E],{x:_,y:S,data:O,reset:w}=await A({x:m,y:f,initialPlacement:o,placement:g,strategy:i,middlewareData:b,rects:d,platform:s,elements:{reference:t,floating:e}});if(m=_??m,f=S??f,b={...b,[T]:{...b[T],...O}},w&&x<=50){x++,typeof w=="object"&&(w.placement&&(g=w.placement),w.rects&&(d=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:m,y:f}=Id(d,g,c)),E=-1;continue}}return{x:m,y:f,placement:g,strategy:i,middlewareData:b}};ss=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=e,{crossAxis:m=!1,alignment:f,allowedPlacements:g=ts,autoAlignment:b=!0,...x}=Ir(t,e),E=f!==void 0||g===ts?Dy(f||null,b,g):g,T=await In(e,x),A=((r=s.autoPlacement)==null?void 0:r.index)||0,_=E[A];if(_==null)return{};let S=as(_,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==_)return{reset:{placement:E[0]}};let O=[T[ot(_)],T[S[0]],T[S[1]]],w=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:_,overflows:O}],U=E[A+1];if(U)return{data:{index:A+1,overflows:w},reset:{placement:U}};let q=w.map(M=>{let y=nt(M.placement);return[M.placement,y&&m?M.overflows.slice(0,2).reduce((v,k)=>v+k,0):M.overflows[0],M.overflows]}).sort((M,y)=>M[1]-y[1]),Q=((i=q.filter(M=>M[2].slice(0,nt(M[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||q[0][0];return Q!==l?{data:{index:A+1,overflows:w},reset:{placement:Q}}:{}}}},ls=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,o;let{placement:i,middlewareData:a,rects:s,initialPlacement:l,platform:c,elements:d}=e,{mainAxis:m=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:E=!0,...T}=Ir(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let A=ot(i),_=ot(l)===l,S=await(c.isRTL==null?void 0:c.isRTL(d.floating)),O=g||(_||!E?[_o(l)]:Td(l));!g&&x!=="none"&&O.push(...Pd(l,E,x,S));let w=[l,...O],U=await In(e,T),q=[],X=((o=a.flip)==null?void 0:o.overflows)||[];if(m&&q.push(U[A]),f){let v=as(i,s,S);q.push(U[v[0]],U[v[1]])}if(X=[...X,{placement:i,overflows:q}],!q.every(v=>v<=0)){var Q,M;let v=(((Q=a.flip)==null?void 0:Q.index)||0)+1,k=w[v];if(k)return{data:{index:v,overflows:X},reset:{placement:k}};let V=(M=X.filter(Y=>Y.overflows[0]<=0).sort((Y,H)=>Y.overflows[1]-H.overflows[1])[0])==null?void 0:M.placement;if(!V)switch(b){case"bestFit":{var y;let Y=(y=X.map(H=>[H.placement,H.overflows.filter(Je=>Je>0).reduce((Je,lo)=>Je+lo,0)]).sort((H,Je)=>H[1]-Je[1])[0])==null?void 0:y[0];Y&&(V=Y);break}case"initialPlacement":V=l;break}if(i!==V)return{reset:{placement:V}}}return{}}}};cs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:i,y:a,placement:s,middlewareData:l}=e,c=await Uy(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:a+c.y,data:{...c,placement:s}}}}},us=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:T=>{let{x:A,y:_}=T;return{x:A,y:_}}},...c}=Ir(t,e),d={x:r,y:o},m=await In(e,c),f=Lo(ot(i)),g=os(f),b=d[g],x=d[f];if(a){let T=g==="y"?"top":"left",A=g==="y"?"bottom":"right",_=b+m[T],S=b-m[A];b=rs(_,b,S)}if(s){let T=f==="y"?"top":"left",A=f==="y"?"bottom":"right",_=x+m[T],S=x-m[A];x=rs(_,x,S)}let E=l.fn({...e,[g]:b,[f]:x});return{...E,data:{x:E.x-r,y:E.y-o}}}}}});function vt(t){return Md(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function St(t){var e;return(e=(Md(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Md(t){return t instanceof Node||t instanceof _e(t).Node}function it(t){return t instanceof Element||t instanceof _e(t).Element}function qe(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function kd(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function $r(t){let{overflow:e,overflowX:r,overflowY:o,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!["inline","contents"].includes(i)}function Dd(t){return["table","td","th"].includes(vt(t))}function kn(t){let e=Mn(),r=Ue(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function Ud(t){let e=dr(t);for(;qe(e)&&!Io(e);){if(kn(e))return e;e=dr(e)}return null}function Mn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Io(t){return["html","body","#document"].includes(vt(t))}function Ue(t){return _e(t).getComputedStyle(t)}function $o(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function dr(t){if(vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||kd(t)&&t.host||St(t);return kd(e)?e.host:e}function Fd(t){let e=dr(t);return Io(e)?t.ownerDocument?t.ownerDocument.body:t.body:qe(e)&&$r(e)?e:Fd(e)}function $n(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Fd(t),a=i===((o=t.ownerDocument)==null?void 0:o.body),s=_e(i);return a?e.concat(s,s.visualViewport||[],$r(i)?i:[],s.frameElement&&r?$n(s.frameElement):[]):e.concat(i,$n(i,[],r))}var Bd=h(()=>{});function zd(t){let e=Ue(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,i=qe(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:o,l=Po(r)!==a||Po(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function jd(t){return it(t)?t:t.contextElement}function kr(t){let e=jd(t);if(!qe(e))return xt(1);let r=e.getBoundingClientRect(),{width:o,height:i,$:a}=zd(e),s=(a?Po(r.width):r.width)/o,l=(a?Po(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Vd(t){let e=_e(t);return!Mn()||!e.visualViewport?Fy:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function By(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==_e(t)?!1:e}function ko(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=jd(t),s=xt(1);e&&(o?it(o)&&(s=kr(o)):s=kr(t));let l=By(a,r,o)?Vd(a):xt(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,m=i.width/s.x,f=i.height/s.y;if(a){let g=_e(a),b=o&&it(o)?_e(o):o,x=g.frameElement;for(;x&&o&&b!==g;){let E=kr(x),T=x.getBoundingClientRect(),A=Ue(x),_=T.left+(x.clientLeft+parseFloat(A.paddingLeft))*E.x,S=T.top+(x.clientTop+parseFloat(A.paddingTop))*E.y;c*=E.x,d*=E.y,m*=E.x,f*=E.y,c+=_,d+=S,x=_e(x).frameElement}}return ur({width:m,height:f,x:c,y:d})}function Wy(t){let{rect:e,offsetParent:r,strategy:o}=t,i=qe(r),a=St(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=xt(1),c=xt(0);if((i||!i&&o!=="fixed")&&((vt(r)!=="body"||$r(a))&&(s=$o(r)),qe(r))){let d=ko(r);l=kr(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function Hy(t){return Array.from(t.getClientRects())}function Kd(t){return ko(St(t)).left+$o(t).scrollLeft}function zy(t){let e=St(t),r=$o(t),o=t.ownerDocument.body,i=$t(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=$t(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+Kd(t),l=-r.scrollTop;return Ue(o).direction==="rtl"&&(s+=$t(e.clientWidth,o.clientWidth)-i),{width:i,height:a,x:s,y:l}}function jy(t,e){let r=_e(t),o=St(t),i=r.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=Mn();(!d||d&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function Vy(t,e){let r=ko(t,!0,e==="fixed"),o=r.top+t.clientTop,i=r.left+t.clientLeft,a=qe(t)?kr(t):xt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=i*a.x,d=o*a.y;return{width:s,height:l,x:c,y:d}}function Wd(t,e,r){let o;if(e==="viewport")o=jy(t,r);else if(e==="document")o=zy(St(t));else if(it(e))o=Vy(e,r);else{let i=Vd(t);o={...e,x:e.x-i.x,y:e.y-i.y}}return ur(o)}function Gd(t,e){let r=dr(t);return r===e||!it(r)||Io(r)?!1:Ue(r).position==="fixed"||Gd(r,e)}function Ky(t,e){let r=e.get(t);if(r)return r;let o=$n(t,[],!1).filter(l=>it(l)&&vt(l)!=="body"),i=null,a=Ue(t).position==="fixed",s=a?dr(t):t;for(;it(s)&&!Io(s);){let l=Ue(s),c=kn(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||$r(s)&&!c&&Gd(t,s))?o=o.filter(m=>m!==s):i=l,s=dr(s)}return e.set(t,o),o}function Gy(t){let{element:e,boundary:r,rootBoundary:o,strategy:i}=t,s=[...r==="clippingAncestors"?Ky(e,this._c):[].concat(r),o],l=s[0],c=s.reduce((d,m)=>{let f=Wd(e,m,i);return d.top=$t(f.top,d.top),d.right=To(f.right,d.right),d.bottom=To(f.bottom,d.bottom),d.left=$t(f.left,d.left),d},Wd(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Zy(t){return zd(t)}function qy(t,e,r){let o=qe(e),i=St(e),a=r==="fixed",s=ko(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=xt(0);if(o||!o&&!a)if((vt(e)!=="body"||$r(i))&&(l=$o(e)),o){let d=ko(e,!0,a,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&(c.x=Kd(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Hd(t,e){return!qe(t)||Ue(t).position==="fixed"?null:e?e(t):t.offsetParent}function Zd(t,e){let r=_e(t);if(!qe(t))return r;let o=Hd(t,e);for(;o&&Dd(o)&&Ue(o).position==="static";)o=Hd(o,e);return o&&(vt(o)==="html"||vt(o)==="body"&&Ue(o).position==="static"&&!kn(o))?r:o||Ud(t)||r}function Xy(t){return Ue(t).direction==="rtl"}var Fy,Yy,Mr,ps,qd=h(()=>{ds();ds();Ln();Bd();Fy=xt(0);Yy=async function(t){let{reference:e,floating:r,strategy:o}=t,i=this.getOffsetParent||Zd,a=this.getDimensions;return{reference:qy(e,await i(r),o),floating:{x:0,y:0,...await a(r)}}};Mr={convertOffsetParentRelativeRectToViewportRelativeRect:Wy,getDocumentElement:St,getClippingRect:Gy,getOffsetParent:Zd,getElementRects:Yy,getClientRects:Hy,getDimensions:Zy,getScale:kr,isElement:it,isRTL:Xy},ps=(t,e,r)=>{let o=new Map,i={platform:Mr,...r},a={...i.platform,_c:o};return $d(t,e,{...i,platform:a})}});function hs(t){return Qy(t)}function fs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Qy(t){for(let e=t;e;e=fs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=fs(t);e;e=fs(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var Yd=h(()=>{});var ys={};Z(ys,{computeFlipOffsetPosition:()=>Jy,computeOffsetPosition:()=>ms});async function ms(t,e,r){return ps(t,e,{platform:{...Mr,getOffsetParent:o=>Mr.getOffsetParent(o,hs)},middleware:[us({crossAxis:!0}),ss({allowedPlacements:[r]})]})}async function Jy(t,e,r,o,i){return ps(t,e,{placement:r,strategy:i,platform:{...Mr,getOffsetParent:a=>Mr.getOffsetParent(a,hs)},middleware:[cs(4),ls({fallbackPlacements:o})]})}var Dn=h(()=>{"use strict";qd();Yd()});var Un,eg,HS,Xd,Qd=h(()=>{Un=window,eg=Un.ShadowRoot&&(Un.ShadyCSS===void 0||Un.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,HS=Symbol(),Xd=(t,e)=>{eg?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let o=document.createElement("style"),i=Un.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)})}});var gs={};Z(gs,{ScopedRegistryLitElement:()=>Mo});var Mo,Fn=h(()=>{"use strict";B();Qd();Mo=class extends mt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Xd(o,e.elementStyles),o}}});var bs={};Z(bs,{FtLitElement:()=>J});var Bn,rp,Jd,ep,op,tp,J,Do=h(()=>{"use strict";oe();Tn();Nn();Fn();Bn=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Jd=Symbol("constructorPrototype"),ep=Symbol("constructorName"),op=Symbol("exportpartsDebouncer"),tp=Symbol("dynamicDependenciesLoaded"),J=class extends Mo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rp]=new Se(5),this[ep]=this.constructor.name,this[Jd]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ep]&&Object.setPrototypeOf(this,this[Jd])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[tp]||(e[tp]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,o,i;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[op].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,o,i,a,s,l;let c=g=>g!=null&&g.trim().length>0,d=e.filter(c).map(g=>g.trim());if(d.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let b=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(c).map(E=>E.trim()).forEach(E=>m.add(E))}if(m.size===0){this.removeAttribute("exportparts");return}let f=[...m.values()].flatMap(g=>d.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};rp=op;Bn([C()],J.prototype,"exportpartsPrefix",void 0);Bn([Ee([])],J.prototype,"exportpartsPrefixes",void 0);Bn([C()],J.prototype,"customStylesheet",void 0);Bn([de()],J.prototype,"useAdoptedStyleSheets",void 0)});var vs={};Z(vs,{FtdsBase:()=>xs,toFtdsBase:()=>Wn});function Wn(t){class e extends t{constructor(){super(...arguments),this.size=bt.medium,this.family=cr.neutral}getDesignSystemBaseClasses(){return{[Va(this.family)]:!0,[Ka(this.size)]:!0}}}return np([C()],e.prototype,"size",void 0),np([C()],e.prototype,"family",void 0),e}var np,xs,Ss=h(()=>{"use strict";Do();oe();K();np=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};xs=class extends Wn(J){}});var ip={};var Os=h(()=>{"use strict"});var pr,ap=h(()=>{pr=class t{constructor(e,r=!0,o=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=i}static matches(e,r){let o=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return o.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let i=r.filter(a=>a.contains(o)).length>0;r.indexOf(o)===-1&&!i&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{o()}i&&r(i)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,i=>{o++,this.waitForIframes(i.querySelector("html"),()=>{--o||r()})},i=>{i||r()})}forEachIframe(e,r,o,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{t.matches(d,this.exclude)?c():this.onIframeReady(d,m=>{r(d)&&(l++,o(m)),c()},c)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let i=e.compareDocumentPosition(o),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===o&&(a=c,s=l.handled)}),this.compareNodeIframe(e,r,o)?(a===!1&&!s?i.push({val:o,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,i)})})}iterateThroughNodes(e,r,o,i,a){let s=this.createIterator(r,e,i),l=[],c=[],d,m,f=()=>({prevNode:m,node:d}=this.getIteratorNode(s),d);for(;f();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(d,m,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>c.push(b),i)}),c.push(d);c.forEach(g=>{o(g)}),this.iframes&&this.handleOpenIframes(l,e,o,i),a()}forEachNode(e,r,o,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}}});var Uo,sp=h(()=>{ap();Uo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new pr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${o}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,i)=>{let a=i.charAt(o+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{o.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,i=typeof o=="string"?o:o.value,a=typeof o=="string"?[]:o.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,i)=>i.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,o);l&&(i.start=a,i.length=s-a,r.push(i),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,i,a=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),i=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-o>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:i,valid:a}}checkWhitespaceRanges(e,r,o){let i,a=!0,s=o.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{o.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return pr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(o-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,o,i,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let d=r-s.start,m=(o>s.end?s.end:o)-s.start,f=e.value.substr(0,s.start),g=e.value.substr(m+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,m),e.value=f+g,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=m),e.nodes[x].end-=m)}),o-=m,a(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=e.exec(c.textContent))!==null&&d[s]!=="";){if(!o(d[s],c))continue;let m=d.index;if(s!==0)for(let f=1;f<s;f++)m+=d[f].length;c=this.wrapRangeInTextNode(c,m,m+d[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,o,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let f=1;f<s;f++)d+=c[f].length;let m=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,m,f=>o(c[s],f),(f,g)=>{e.lastIndex=g,i(f)})}a()})}wrapRangeFromIndex(e,r,o,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:d,end:m,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,d,m,g=>r(g,l,a.value.substring(d,m),c),g=>{o(g,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,i="wrapMatches",a=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),a,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=d=>{let m=new RegExp(this.createRegExp(d),`gm${l}`),f=0;this.log(`Searching with expression "${m}"`),this[i](m,1,(g,b)=>this.opt.filter(b,d,o,f),g=>{f++,o++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(o):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(o):c(a[0])}markRanges(e,r){this.opt=r;let o=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{o++,this.opt.each(a,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let i=pr.matches(o,r),a=this.matchesExclude(o);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Cs(t){let e=new Uo(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var lp=h(()=>{sp()});var ws={};Z(ws,{highlightHtml:()=>Es,highlightHtmlColorCssVariable:()=>cp,highlightHtmlStyles:()=>rg});function Es(t,e,r){var o,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new tg(t);if(s.unmark(),e&&e.trim()){let l={className:(o=r?.className)!==null&&o!==void 0?o:"highlight-html-match"};r?.attributes!=null&&(l.each=d=>{for(let m in r.attributes)d.setAttribute(m,r.attributes[m])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(d=>s.mark(d.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var tg,cp,rg,As=h(()=>{"use strict";B();K();lp();tg=Cs,cp=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),rg=P`
|
|
7
7
|
.highlight-html-match {
|
|
8
|
-
background: ${
|
|
8
|
+
background: ${cp};
|
|
9
9
|
}
|
|
10
|
-
`});var
|
|
10
|
+
`});var _s={};Z(_s,{noTextInputDefaultClearButton:()=>Ns,noTextSelect:()=>Fo,safariEllipsisFix:()=>Bo,wordWrap:()=>Rs});var Fo,Rs,Bo,Ns,Ts=h(()=>{"use strict";B();Fo=P`
|
|
11
11
|
.ft-no-text-select {
|
|
12
12
|
-webkit-touch-callout: none;
|
|
13
13
|
-webkit-user-select: none;
|
|
@@ -16,7 +16,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
16
16
|
-ms-user-select: none;
|
|
17
17
|
user-select: none;
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
19
|
+
`,Rs=P`
|
|
20
20
|
.ft-word-wrap {
|
|
21
21
|
white-space: normal;
|
|
22
22
|
word-wrap: break-word;
|
|
@@ -28,7 +28,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
28
28
|
-webkit-hyphens: auto;
|
|
29
29
|
hyphens: auto
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,Bo=P`
|
|
32
32
|
.ft-safari-ellipsis-fix {
|
|
33
33
|
margin-right: 0;
|
|
34
34
|
|
|
@@ -39,14 +39,15 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
39
39
|
display: inline-block;
|
|
40
40
|
width: 0;
|
|
41
41
|
}
|
|
42
|
-
`,
|
|
42
|
+
`,Ns=P`
|
|
43
43
|
input::-webkit-search-cancel-button,
|
|
44
44
|
input::-webkit-search-decoration,
|
|
45
45
|
input::-webkit-search-results-button,
|
|
46
46
|
input::-webkit-search-results-decoration {
|
|
47
47
|
display: none;
|
|
48
48
|
}
|
|
49
|
-
`});var op={};var Ss=f(()=>{"use strict"});var Os={};K(Os,{ParametrizedLabelResolver:()=>Lo});var Lo,Cs=f(()=>{"use strict";Lo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}}});var Vy,re,Ky,np=f(()=>{"use strict";_r();te();Vy=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},re=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:So,attribute:!1,...e};C(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},Ky=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var $o,Es=f(()=>{"use strict";$o=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}}});function ur(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Mn=f(()=>{"use strict"});var ip,ap,sp,Dn,It,dr,_e,lp=f(()=>{"use strict";_o();Mn();Dn=Symbol("internalReduxEventsUnsubscribers"),It=Symbol("internalStoresUnsubscribers"),dr=Symbol("internalStores"),_e=class extends q{constructor(){super(...arguments),this[ip]=new Map,this[ap]=new Map,this[sp]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[dr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[dr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[dr].get(e)}addStore(e,r){var n;r=(n=r??(ur(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[dr].delete(r)}setupStore(e,r){this[dr].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[dr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[It].has(e.store):this[It].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[It].set(e,r.subscribe(()=>this.updateFromStores())),ur(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[Dn].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[It].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Dn].forEach(e=>e()),this[Dn]=[]}unsubscribeFromStore(e){this[It].has(e)&&this[It].get(e)(),this[It].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ip=It,ap=dr,sp=Dn;_e.reduxProperties=new Map;_e.reduxReactiveProperties=new Set;_e.reduxEventListeners=new Map});function ze(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function bt(t){return!!t&&!!t[le]}function qe(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===eg}(t)||Array.isArray(t)||!!t[mp]||!!(!((e=t.constructor)===null||e===void 0)&&e[mp])||Ls(t)||$s(t))}function pr(t,e,r){r===void 0&&(r=!1),kr(t)===0?(r?Object.keys:$r)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function kr(t){var e=t[le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ls(t)?2:$s(t)?3:0}function Lr(t,e){return kr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Gy(t,e){return kr(t)===2?t.get(e):t[e]}function yp(t,e,r){var n=kr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function gp(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ls(t){return Qy&&t instanceof Map}function $s(t){return Jy&&t instanceof Set}function Lt(t){return t.o||t.t}function ks(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=vp(t);delete e[le];for(var r=$r(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Ms(t,e){return e===void 0&&(e=!1),Ds(t)||bt(t)||!qe(t)||(kr(t)>1&&(t.set=t.add=t.clear=t.delete=Zy),Object.freeze(t),e&&pr(t,function(r,n){return Ms(n,!0)},!0)),t}function Zy(){ze(2)}function Ds(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function rt(t){var e=Is[t];return e||ze(18,t),e}function qy(t,e){Is[t]||(Is[t]=e)}function _s(){return Mo}function ws(t,e){e&&(rt("Patches"),t.u=[],t.s=[],t.v=e)}function Un(t){Ps(t),t.p.forEach(Yy),t.p=null}function Ps(t){t===Mo&&(Mo=t.l)}function cp(t){return Mo={p:[],l:Mo,h:t,m:!0,_:0}}function Yy(t){var e=t[le];e.i===0||e.i===1?e.j():e.g=!0}function As(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||rt("ES5").S(e,t,n),n?(r[le].P&&(Un(e),ze(4)),qe(t)&&(t=Bn(e,t),e.l||Fn(e,t)),e.u&&rt("Patches").M(r[le].t,t,e.u,e.s)):t=Bn(e,r,[]),Un(e),e.u&&e.v(e.u,e.s),t!==xp?t:void 0}function Bn(t,e,r){if(Ds(e))return e;var n=e[le];if(!n)return pr(e,function(l,c){return up(t,n,e,l,c,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Fn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ks(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),pr(a,function(l,c){return up(t,n,i,l,c,r,s)}),Fn(t,i,!1),r&&t.u&&rt("Patches").N(n,r,t.u,t.s)}return n.o}function up(t,e,r,n,i,a,s){if(bt(i)){var l=Bn(t,i,a&&e&&e.i!==3&&!Lr(e.R,n)?a.concat(n):void 0);if(yp(r,n,l),!bt(l))return;t.m=!1}else s&&r.add(i);if(qe(i)&&!Ds(i)){if(!t.h.D&&t._<1)return;Bn(t,i),e&&e.A.l||Fn(t,i)}}function Fn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ms(e,r)}function Rs(t,e){var r=t[le];return(r?Lt(r):t)[e]}function dp(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function $t(t){t.P||(t.P=!0,t.l&&$t(t.l))}function Ns(t){t.o||(t.o=ks(t.t))}function Ts(t,e,r){var n=Ls(e)?rt("MapSet").F(e,r):$s(e)?rt("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:_s(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=Do;s&&(c=[l],d=ko);var m=Proxy.revocable(c,d),h=m.revoke,g=m.proxy;return l.k=g,l.j=h,g}(e,r):rt("ES5").J(e,r);return(r?r.A:_s()).p.push(n),n}function Xy(t){return bt(t)||ze(22,t),function e(r){if(!qe(r))return r;var n,i=r[le],a=kr(r);if(i){if(!i.P&&(i.i<4||!rt("ES5").K(i)))return i.t;i.I=!0,n=pp(r,a),i.I=!1}else n=pp(r,a);return pr(n,function(s,l){i&&Gy(i.t,s)===l||yp(n,s,e(l))}),a===3?new Set(n):n}(t)}function pp(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ks(t)}function bp(){function t(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[le];return Do.get(d,s)},set:function(d){var m=this[le];Do.set(m,s,d)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][le];if(!c.P)switch(c.i){case 5:n(c)&&$t(c);break;case 4:r(c)&&$t(c)}}}function r(s){for(var l=s.t,c=s.k,d=$r(c),m=d.length-1;m>=0;m--){var h=d[m];if(h!==le){var g=l[h];if(g===void 0&&!Lr(l,h))return!0;var b=c[h],x=b&&b[le];if(x?x.t!==g:!gp(b,g))return!0}}var w=!!l[le];return d.length!==$r(l).length+(w?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&ze(3,JSON.stringify(Lt(s)))}var a={};qy("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(h,g){if(h){for(var b=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var w=vp(g);delete w[le];for(var A=$r(w),R=0;R<A.length;R++){var P=A[R];w[P]=t(P,h||!!w[P].enumerable)}return Object.create(Object.getPrototypeOf(g),w)}(c,s),m={i:c?5:4,A:l?l.A:_s(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,le,{value:m,writable:!0}),d},S:function(s,l,c){c?bt(l)&&l[le].A===s&&e(s.p):(s.u&&function d(m){if(m&&typeof m=="object"){var h=m[le];if(h){var g=h.t,b=h.k,x=h.R,w=h.i;if(w===4)pr(b,function(O){O!==le&&(g[O]!==void 0||Lr(g,O)?x[O]||d(b[O]):(x[O]=!0,$t(h)))}),pr(g,function(O){b[O]!==void 0||Lr(b,O)||(x[O]=!1,$t(h))});else if(w===5){if(n(h)&&($t(h),x.length=!0),b.length<g.length)for(var A=b.length;A<g.length;A++)x[A]=!1;else for(var R=g.length;R<b.length;R++)x[R]=!0;for(var P=Math.min(b.length,g.length),S=0;S<P;S++)b.hasOwnProperty(S)||(x[S]=!0),x[S]===void 0&&d(b[S])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var fp,Mo,Us,Qy,Jy,hp,xp,mp,le,eg,$r,vp,Is,Do,ko,tg,Ue,rg,aO,sO,lO,cO,uO,dO,Hn,Wn=f(()=>{Us=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Qy=typeof Map<"u",Jy=typeof Set<"u",hp=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",xp=Us?Symbol.for("immer-nothing"):((fp={})["immer-nothing"]=!0,fp),mp=Us?Symbol.for("immer-draftable"):"__$immer_draftable",le=Us?Symbol.for("immer-state"):"__$immer_state",eg=""+Object.prototype.constructor,$r=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,vp=Object.getOwnPropertyDescriptors||function(t){var e={};return $r(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Is={},Do={get:function(t,e){if(e===le)return t;var r=Lt(t);if(!Lr(r,e))return function(i,a,s){var l,c=dp(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!qe(n)?n:n===Rs(t.t,e)?(Ns(t),t.o[e]=Ts(t.A.h,n,t)):n},has:function(t,e){return e in Lt(t)},ownKeys:function(t){return Reflect.ownKeys(Lt(t))},set:function(t,e,r){var n=dp(Lt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Rs(Lt(t),e),a=i?.[le];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(gp(r,i)&&(r!==void 0||Lr(t.t,e)))return!0;Ns(t),$t(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Rs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ns(t),$t(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Lt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){ze(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ze(12)}},ko={};pr(Do,function(t,e){ko[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),ko.deleteProperty=function(t,e){return ko.set.call(this,t,e,void 0)},ko.set=function(t,e,r){return Do.set.call(this,t[0],e,r,t[0])};tg=function(){function t(r){var n=this;this.O=hp,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(w){var A=this;w===void 0&&(w=l);for(var R=arguments.length,P=Array(R>1?R-1:0),S=1;S<R;S++)P[S-1]=arguments[S];return c.produce(w,function(O){var E;return(E=a).call.apply(E,[A,O].concat(P))})}}var d;if(typeof a!="function"&&ze(6),s!==void 0&&typeof s!="function"&&ze(7),qe(i)){var m=cp(n),h=Ts(n,i,void 0),g=!0;try{d=a(h),g=!1}finally{g?Un(m):Ps(m)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(w){return ws(m,s),As(w,m)},function(w){throw Un(m),w}):(ws(m,s),As(d,m))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===xp&&(d=void 0),n.D&&Ms(d,!0),s){var b=[],x=[];rt("Patches").M(i,d,b,x),s(b,x)}return d}ze(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var m=arguments.length,h=Array(m>1?m-1:0),g=1;g<m;g++)h[g-1]=arguments[g];return n.produceWithPatches(d,function(b){return i.apply(void 0,[b].concat(h))})};var s,l,c=n.produce(i,a,function(d,m){s=d,l=m});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){qe(r)||ze(8),bt(r)&&(r=Xy(r));var n=cp(this),i=Ts(this,r,void 0);return i[le].C=!0,Ps(n),i},e.finishDraft=function(r,n){var i=r&&r[le],a=i.A;return ws(a,n),As(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!hp&&ze(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=rt("Patches").$;return bt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),Ue=new tg,rg=Ue.produce,aO=Ue.produceWithPatches.bind(Ue),sO=Ue.setAutoFreeze.bind(Ue),lO=Ue.setUseProxies.bind(Ue),cO=Ue.applyPatches.bind(Ue),uO=Ue.createDraft.bind(Ue),dO=Ue.finishDraft.bind(Ue),Hn=rg});function kt(t){"@babel/helpers - typeof";return kt=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},kt(t)}var Bs=f(()=>{});function Fs(t,e){if(kt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(kt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Sp=f(()=>{Bs()});function Hs(t){var e=Fs(t,"string");return kt(e)==="symbol"?e:String(e)}var Op=f(()=>{Bs();Sp()});function Ws(t,e,r){return e=Hs(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Cp=f(()=>{Op()});function Ep(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function zn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ep(Object(r),!0).forEach(function(n){Ws(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ep(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var wp=f(()=>{Cp()});function Se(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function og(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function js(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Se(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Se(1));return r(js)(t,e)}if(typeof t!="function")throw new Error(Se(2));var i=t,a=e,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function m(){if(c)throw new Error(Se(3));return a}function h(w){if(typeof w!="function")throw new Error(Se(4));if(c)throw new Error(Se(5));var A=!0;return d(),l.push(w),function(){if(A){if(c)throw new Error(Se(6));A=!1,d();var P=l.indexOf(w);l.splice(P,1),s=null}}}function g(w){if(!og(w))throw new Error(Se(7));if(typeof w.type>"u")throw new Error(Se(8));if(c)throw new Error(Se(9));try{c=!0,a=i(a,w)}finally{c=!1}for(var A=s=l,R=0;R<A.length;R++){var P=A[R];P()}return w}function b(w){if(typeof w!="function")throw new Error(Se(10));i=w,g({type:jn.REPLACE})}function x(){var w,A=h;return w={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(Se(11));function S(){P.next&&P.next(m())}S();var O=A(S);return{unsubscribe:O}}},w[Ap]=function(){return this},w}return g({type:jn.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:b},n[Ap]=x,n}function ng(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:jn.INIT});if(typeof n>"u")throw new Error(Se(12));if(typeof r(void 0,{type:jn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Se(13))})}function Rp(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,l;try{ng(r)}catch(c){l=c}return function(d,m){if(d===void 0&&(d={}),l)throw l;if(0)var h;for(var g=!1,b={},x=0;x<a.length;x++){var w=a[x],A=r[w],R=d[w],P=A(R,m);if(typeof P>"u"){var S=m&&m.type;throw new Error(Se(14))}b[w]=P,g=g||P!==R}return g=g||a.length!==Object.keys(d).length,g?b:d}}function Mr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Np(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Se(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=Mr.apply(void 0,l)(i.dispatch),zn(zn({},i),{},{dispatch:a})}}}var Ap,zs,jn,Vn=f(()=>{wp();Ap=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),zs=function(){return Math.random().toString(36).substring(7).split("").join(".")},jn={INIT:"@@redux/INIT"+zs(),REPLACE:"@@redux/REPLACE"+zs(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+zs()}}});function _p(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var Pp,Vs,Tp=f(()=>{Pp=_p();Pp.withExtraArgument=_p;Vs=Pp});function fg(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function qs(t){return qe(t)?Hn(t,function(){}):t}function yg(t){return typeof t=="boolean"}function gg(){return function(e){return bg(e)}}function bg(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=new hg;if(r&&(yg(r)?l.push(Vs):l.push(Vs.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var d}return l}function Dp(t){var e=gg(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,l=r.devTools,c=l===void 0?!0:l,d=r.preloadedState,m=d===void 0?void 0:d,h=r.enhancers,g=h===void 0?void 0:h,b;if(typeof i=="function")b=i;else if(fg(i))b=Rp(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(e),!Gs&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Gs&&x.some(function(O){return typeof O!="function"}))throw new Error("each middleware provided to configureStore must be a function");var w=Np.apply(void 0,x),A=Mr;c&&(A=pg(Mt({trace:!Gs},typeof c=="object"&&c)));var R=new mg(w),P=R;Array.isArray(g)?P=Dr([w],g):typeof g=="function"&&(P=g(R));var S=A.apply(void 0,P);return js(b,m,S)}function Dt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Mt(Mt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Up(t){var e={},r=[],n,i={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,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function xg(t){return typeof t=="function"}function vg(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Up(e):[e,r,n],a=i[0],s=i[1],l=i[2],c;if(xg(t))c=function(){return qs(t())};else{var d=qs(t);c=function(){return d}}function m(h,g){h===void 0&&(h=c());var b=Dr([a[g.type]],s.filter(function(x){var w=x.matcher;return w(g)}).map(function(x){var w=x.reducer;return w}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,w){if(w)if(bt(x)){var A=x,R=w(A,g);return R===void 0?x:R}else{if(qe(x))return Hn(x,function(P){return w(P,g)});var R=w(x,g);if(R===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return x},h)}return m.getInitialState=c,m}function Sg(t,e){return t+"/"+e}function Bp(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:qs(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(m){var h=n[m],g=Sg(e,m),b,x;"reducer"in h?(b=h.reducer,x=h.prepare):b=h,a[m]=b,s[g]=b,l[m]=x?Dt(g,x):Dt(g)});function c(){var m=typeof t.extraReducers=="function"?Up(t.extraReducers):[t.extraReducers],h=m[0],g=h===void 0?{}:h,b=m[1],x=b===void 0?[]:b,w=m[2],A=w===void 0?void 0:w,R=Mt(Mt({},g),s);return vg(r,function(P){for(var S in R)P.addCase(S,R[S]);for(var O=0,E=x;O<E.length;O++){var F=E[O];P.addMatcher(F.matcher,F.reducer)}A&&P.addDefaultCase(A)})}var d;return{name:e,reducer:function(m,h){return d||(d=c()),d(m,h)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}function Ag(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Rg(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Mp,ig,Dr,ag,sg,lg,Ip,cg,ug,Lp,Mt,Ks,dg,pg,_O,hg,mg,Gs,Og,Cg,Eg,Zs,$p,wg,LO,Fp,Hp,Wp,$O,kO,MO,DO,Ys,UO,BO,FO,kp,HO,Ng,WO,zp=f(()=>{Wn();Vn();Vn();Vn();Tp();Wn();Wn();Mp=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ig=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(m){return c([d,m])}}function c(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,i=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1],a=d;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(d);break}a[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(m){d=[6,m],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Dr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},ag=Object.defineProperty,sg=Object.defineProperties,lg=Object.getOwnPropertyDescriptors,Ip=Object.getOwnPropertySymbols,cg=Object.prototype.hasOwnProperty,ug=Object.prototype.propertyIsEnumerable,Lp=function(t,e,r){return e in t?ag(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Mt=function(t,e){for(var r in e||(e={}))cg.call(e,r)&&Lp(t,r,e[r]);if(Ip)for(var n=0,i=Ip(e);n<i.length;n++){var r=i[n];ug.call(e,r)&&Lp(t,r,e[r])}return t},Ks=function(t,e){return sg(t,lg(e))},dg=function(t,e,r){return new Promise(function(n,i){var a=function(c){try{l(r.next(c))}catch(d){i(d)}},s=function(c){try{l(r.throw(c))}catch(d){i(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(t,e)).next())})},pg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Mr:Mr.apply(null,arguments)},_O=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};hg=function(t){Mp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Dr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Dr([void 0],r.concat(this))))},e}(Array),mg=function(t){Mp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Dr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Dr([void 0],r.concat(this))))},e}(Array);Gs=!0;Og="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Cg=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Og[Math.random()*64|0];return e},Eg=["name","message","stack","code"],Zs=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),$p=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),wg=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Eg;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},LO=function(){function t(e,r,n){var i=Dt(e+"/fulfilled",function(m,h,g,b){return{payload:m,meta:Ks(Mt({},b||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=Dt(e+"/pending",function(m,h,g){return{payload:void 0,meta:Ks(Mt({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),s=Dt(e+"/rejected",function(m,h,g,b,x){return{payload:b,error:(n&&n.serializeError||wg)(m||"Rejected"),meta:Ks(Mt({},x||{}),{arg:g,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function d(m){return function(h,g,b){var x=n?.idGenerator?n.idGenerator(m):Cg(),w=new c,A,R=!1;function P(O){A=O,w.abort()}var S=function(){return dg(this,null,function(){var O,E,F,X,ie,ee,D;return ig(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),X=(O=n?.condition)==null?void 0:O.call(n,m,{getState:g,extra:b}),Rg(X)?[4,X]:[3,2];case 1:X=y.sent(),y.label=2;case 2:if(X===!1||w.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,ie=new Promise(function(v,k){return w.signal.addEventListener("abort",function(){return k({name:"AbortError",message:A||"Aborted"})})}),h(a(x,m,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:x,arg:m},{getState:g,extra:b}))),[4,Promise.race([ie,Promise.resolve(r(m,{dispatch:h,getState:g,extra:b,requestId:x,signal:w.signal,abort:P,rejectWithValue:function(v,k){return new Zs(v,k)},fulfillWithValue:function(v,k){return new $p(v,k)}})).then(function(v){if(v instanceof Zs)throw v;return v instanceof $p?i(v.payload,x,m,v.meta):i(v,x,m)})])];case 3:return F=y.sent(),[3,5];case 4:return ee=y.sent(),F=ee instanceof Zs?s(null,x,m,ee.payload,ee.meta):s(ee,x,m),[3,5];case 5:return D=n&&!n.dispatchConditionRejection&&s.match(F)&&F.meta.condition,D||h(F),[2,F]}})})}();return Object.assign(S,{abort:P,requestId:x,arg:m,unwrap:function(){return S.then(Ag)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();Fp="listener",Hp="completed",Wp="cancelled",$O="task-"+Wp,kO="task-"+Hp,MO=Fp+"-"+Wp,DO=Fp+"-"+Hp,Ys="listenerMiddleware",UO=Dt(Ys+"/add"),BO=Dt(Ys+"/removeAll"),FO=Dt(Ys+"/remove"),HO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(kp||(kp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Ng=function(t){return function(e){setTimeout(e,t)}},WO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ng(10);bp()});function _g(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ur(e)&&e.clear()}var xt,jp=f(()=>{"use strict";zp();Mn();Es();window.ftReduxStores||(window.ftReduxStores={});xt=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(ur(a))return a;if(i==null)return;let s=Bp({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Dp({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new $o,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var Xs={};K(Xs,{FtCommandQueue:()=>$o,FtLitElementRedux:()=>_e,FtReduxStore:()=>xt,clearAllStores:()=>_g,isFtReduxStore:()=>ur,redux:()=>re,reduxEventListener:()=>Ky,reduxReactive:()=>Vy});var Kn=f(()=>{"use strict";np();Es();lp();jp();Mn()});var tl={};K(tl,{scrollHelper:()=>el});var Qs,Gn,Js,el,rl=f(()=>{"use strict";_r();Gn=new Map,Js=class{lock(e,r){if(r){let n=Gn.get(r);if(n==null||n===e)return Gn.set(r,e),r}}release(e,r){r&&Gn.get(r)===e&&Gn.delete(r)}findFirstScrollableParent(e){let r,n=i=>{var a;i.stopPropagation();let s,l;for(let c of i.composedPath()){let d=c,m=this.elementCanScroll(d);if(m&&d.clientHeight&&d.clientHeight<d.scrollHeight){s=d;break}else m&&l==null&&(l=d)}r=(a=s??l)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,l=ua(0,(s-n.scrollTop)/(s-a),1),c=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:c})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Qs=window.FluidTopicsScrollHelper)!==null&&Qs!==void 0?Qs:new Js;el=window.FluidTopicsScrollHelper});var ol={};K(ol,{shadowQuerySelector:()=>Pg,shadowQuerySelectorAll:()=>Tg});function Pg(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Tg(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var nl=f(()=>{"use strict"});var il={};K(il,{serializeRequest:()=>Lg});function Ig(t){return`"${t}"`}function Lg(t,e){var r,n,i,a,s,l,c,d,m;let h=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&h.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&h.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&h.append("virtual-field",e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&h.append("sort","last_update");let g=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(A=>A.valueFilter))!==null&&s!==void 0?s:[];if(g.length>0){let A=g.map(R=>{var P,S;let O=((S=(P=R.valueFilter)===null||P===void 0?void 0:P.values)!==null&&S!==void 0?S:[]).map(E=>E.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(E=>encodeURIComponent(Ig(E))).join("_");return`${R.key}~${O}`}).join("*");h.append("value-filters",A)}let b=(c=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(A=>A.dateFilter))!==null&&c!==void 0?c:[];if(b.length>0){let A=b.map(R=>{var P;return`${R.key}~${(P=R.dateFilter)===null||P===void 0?void 0:P.type.toLowerCase()}`}).join("*");h.append("date-filters",A)}let x=(m=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(A=>A.rangeFilter))!==null&&m!==void 0?m:[];if(x.length>0){let A=x.map(R=>{var P,S;return`${R.key}~${(P=R.rangeFilter)===null||P===void 0?void 0:P.from}_${(S=R.rangeFilter)===null||S===void 0?void 0:S.to}`}).join("*");h.append("range-filters",A)}return new URL(`${t.replace(/\/+$/,"")}/search?${h.toString()}`).href}var al=f(()=>{"use strict"});var ll={};K(ll,{toFtFormComponent:()=>sl});function sl(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Zn].form}constructor(...i){super(i),this[Zn]=this.attachInternals(),this[Zn].role=e}setFormValue(i){this[Zn].setFormValue(i)}}return r}var Zn,cl=f(()=>{"use strict";Zn=Symbol("elementInternals")});var ul={};K(ul,{DateFormatter:()=>Ur});var Ur,qn=f(()=>{"use strict";Ur=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var dl,pl,fl,hl,ml,$g,$=f(()=>{"use strict";Mc();B();te();bn();wr();Uu();vo();ia();xn();la();vn();On();Wa();Ga();Tn();Cn();ds();_o();ps();_r();ys();vs();Ss();Cs();Kn();Ln();rl();nl();al();cl();qn();j();ia();xn();la();qn();vn();On();Wa();Ga();Tn();Cn();ds();_o();ps();_r();ys();vs();Ss();Cs();Kn();Ln();rl();nl();al();cl();j();ml=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((fl=(pl=(dl=window.safari)===null||dl===void 0?void 0:dl.pushNotification)===null||pl===void 0?void 0:pl.toString())!==null&&fl!==void 0?fl:"")==="[object SafariRemoteNotification]",$g="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(hl=window.ftGlobals)!==null&&hl!==void 0?hl:{lit:Zi,litDecorators:Qi,litRepeat:Ji,litClassMap:ea,litStyleMap:ta,litUnsafeHTML:ra,wcUtils:{...na,...oa,...sa,...ul,...ca,...pa,...Ha,...Ka,...as,...Fa,...us,...ls,...Qd,...da,...ms,...xs,...op,...Os,...Xs,...ss,...tl,...ol,...il,...ll,isSafari:ml,isTouchScreen:$g,setVariable:I}}});var Vp,V,Kp,Gp,Zp,qp,Yp,fr=f(()=>{"use strict";B();$();Vp=o.extend("--ft-ripple-color","",L.colorContent),V={color:Vp,backgroundColor:o.extend("--ft-ripple-background-color","",Vp),opacityContentOnSurfacePressed:o.external(L.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(L.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(L.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(L.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Kp=o.extend("--ft-ripple-color","",L.colorPrimary),Gp={color:Kp,backgroundColor:o.extend("--ft-ripple-background-color","",Kp)},Zp=o.extend("--ft-ripple-color","",L.colorSecondary),qp={color:Zp,backgroundColor:o.extend("--ft-ripple-background-color","",Zp)},Yp=T`
|
|
49
|
+
`});var up={};var Ps=h(()=>{"use strict"});var Ls={};Z(Ls,{ParametrizedLabelResolver:()=>Wo});var Wo,Is=h(()=>{"use strict";Wo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,i;e=this.resolvePluralKey(e,r);let a=(i=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((o,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let i=`${String(e)}[\\=${o}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return o(document.documentElement.lang)}catch{return o()}}}});var og,ne,ng,dp=h(()=>{"use strict";Lr();oe();og=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},ne=t=>{let e=t??{};return(r,o)=>{var i;let a={hasChanged:Ao,attribute:!1,...e};C(a)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[o],store:e.store})}},ng=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)}});var Ho,$s=h(()=>{"use strict";Ho=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(o=>o.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}}});function fr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Hn=h(()=>{"use strict"});var pp,fp,hp,zn,kt,hr,Te,mp=h(()=>{"use strict";Do();Hn();zn=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),hr=Symbol("internalStores"),Te=class extends J{constructor(){super(...arguments),this[pp]=new Map,this[fp]=new Map,this[hp]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[hr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[hr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[hr].get(e)}addStore(e,r){var o;r=(o=r??(fr(e)?e.name:void 0))!==null&&o!==void 0?o:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[hr].delete(r)}setupStore(e,r){this[hr].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[hr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let o=this.constructor.getPropertyOptions(r);if(!o?.attribute||!this.hasAttribute(typeof o?.attribute=="string"?o.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[kt].has(e.store):this[kt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var o;this[kt].set(e,r.subscribe(()=>this.updateFromStores())),fr(r)&&r.eventBus&&((o=this.reduxConstructor.reduxEventListeners)===null||o===void 0||o.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[zn].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[kt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[zn].forEach(e=>e()),this[zn]=[]}unsubscribeFromStore(e){this[kt].has(e)&&this[kt].get(e)(),this[kt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};pp=kt,fp=hr,hp=zn;Te.reduxProperties=new Map;Te.reduxReactiveProperties=new Set;Te.reduxEventListeners=new Map});function je(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ot(t){return!!t&&!!t[ce]}function Ye(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var i=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===pg}(t)||Array.isArray(t)||!!t[Op]||!!(!((e=t.constructor)===null||e===void 0)&&e[Op])||zs(t)||js(t))}function mr(t,e,r){r===void 0&&(r=!1),Fr(t)===0?(r?Object.keys:Ur)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,i){return e(i,o,t)})}function Fr(t){var e=t[ce];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:zs(t)?2:js(t)?3:0}function Dr(t,e){return Fr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ig(t,e){return Fr(t)===2?t.get(e):t[e]}function Cp(t,e,r){var o=Fr(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Ep(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function zs(t){return ug&&t instanceof Map}function js(t){return dg&&t instanceof Set}function Mt(t){return t.o||t.t}function Vs(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Rp(t);delete e[ce];for(var r=Ur(e),o=0;o<r.length;o++){var i=r[o],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Ks(t,e){return e===void 0&&(e=!1),Gs(t)||Ot(t)||!Ye(t)||(Fr(t)>1&&(t.set=t.add=t.clear=t.delete=ag),Object.freeze(t),e&&mr(t,function(r,o){return Ks(o,!0)},!0)),t}function ag(){je(2)}function Gs(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function at(t){var e=Hs[t];return e||je(18,t),e}function sg(t,e){Hs[t]||(Hs[t]=e)}function Fs(){return jo}function ks(t,e){e&&(at("Patches"),t.u=[],t.s=[],t.v=e)}function jn(t){Bs(t),t.p.forEach(lg),t.p=null}function Bs(t){t===jo&&(jo=t.l)}function yp(t){return jo={p:[],l:jo,h:t,m:!0,_:0}}function lg(t){var e=t[ce];e.i===0||e.i===1?e.j():e.g=!0}function Ms(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||at("ES5").S(e,t,o),o?(r[ce].P&&(jn(e),je(4)),Ye(t)&&(t=Vn(e,t),e.l||Kn(e,t)),e.u&&at("Patches").M(r[ce].t,t,e.u,e.s)):t=Vn(e,r,[]),jn(e),e.u&&e.v(e.u,e.s),t!==Ap?t:void 0}function Vn(t,e,r){if(Gs(e))return e;var o=e[ce];if(!o)return mr(e,function(l,c){return gp(t,o,e,l,c,r)},!0),e;if(o.A!==t)return e;if(!o.P)return Kn(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var i=o.i===4||o.i===5?o.o=Vs(o.k):o.o,a=i,s=!1;o.i===3&&(a=new Set(i),i.clear(),s=!0),mr(a,function(l,c){return gp(t,o,i,l,c,r,s)}),Kn(t,i,!1),r&&t.u&&at("Patches").N(o,r,t.u,t.s)}return o.o}function gp(t,e,r,o,i,a,s){if(Ot(i)){var l=Vn(t,i,a&&e&&e.i!==3&&!Dr(e.R,o)?a.concat(o):void 0);if(Cp(r,o,l),!Ot(l))return;t.m=!1}else s&&r.add(i);if(Ye(i)&&!Gs(i)){if(!t.h.D&&t._<1)return;Vn(t,i),e&&e.A.l||Kn(t,i)}}function Kn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ks(e,r)}function Ds(t,e){var r=t[ce];return(r?Mt(r):t)[e]}function bp(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function Dt(t){t.P||(t.P=!0,t.l&&Dt(t.l))}function Us(t){t.o||(t.o=Vs(t.t))}function Ws(t,e,r){var o=zs(e)?at("MapSet").F(e,r):js(e)?at("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Fs(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=Vo;s&&(c=[l],d=zo);var m=Proxy.revocable(c,d),f=m.revoke,g=m.proxy;return l.k=g,l.j=f,g}(e,r):at("ES5").J(e,r);return(r?r.A:Fs()).p.push(o),o}function cg(t){return Ot(t)||je(22,t),function e(r){if(!Ye(r))return r;var o,i=r[ce],a=Fr(r);if(i){if(!i.P&&(i.i<4||!at("ES5").K(i)))return i.t;i.I=!0,o=xp(r,a),i.I=!1}else o=xp(r,a);return mr(o,function(s,l){i&&ig(i.t,s)===l||Cp(o,s,e(l))}),a===3?new Set(o):o}(t)}function xp(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Vs(t)}function wp(){function t(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[ce];return Vo.get(d,s)},set:function(d){var m=this[ce];Vo.set(m,s,d)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][ce];if(!c.P)switch(c.i){case 5:o(c)&&Dt(c);break;case 4:r(c)&&Dt(c)}}}function r(s){for(var l=s.t,c=s.k,d=Ur(c),m=d.length-1;m>=0;m--){var f=d[m];if(f!==ce){var g=l[f];if(g===void 0&&!Dr(l,f))return!0;var b=c[f],x=b&&b[ce];if(x?x.t!==g:!Ep(b,g))return!0}}var E=!!l[ce];return d.length!==Ur(l).length+(E?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&je(3,JSON.stringify(Mt(s)))}var a={};sg("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(f,g){if(f){for(var b=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var E=Rp(g);delete E[ce];for(var T=Ur(E),A=0;A<T.length;A++){var _=T[A];E[_]=t(_,f||!!E[_].enumerable)}return Object.create(Object.getPrototypeOf(g),E)}(c,s),m={i:c?5:4,A:l?l.A:Fs(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,ce,{value:m,writable:!0}),d},S:function(s,l,c){c?Ot(l)&&l[ce].A===s&&e(s.p):(s.u&&function d(m){if(m&&typeof m=="object"){var f=m[ce];if(f){var g=f.t,b=f.k,x=f.R,E=f.i;if(E===4)mr(b,function(O){O!==ce&&(g[O]!==void 0||Dr(g,O)?x[O]||d(b[O]):(x[O]=!0,Dt(f)))}),mr(g,function(O){b[O]!==void 0||Dr(b,O)||(x[O]=!1,Dt(f))});else if(E===5){if(o(f)&&(Dt(f),x.length=!0),b.length<g.length)for(var T=b.length;T<g.length;T++)x[T]=!1;else for(var A=g.length;A<b.length;A++)x[A]=!0;for(var _=Math.min(b.length,g.length),S=0;S<_;S++)b.hasOwnProperty(S)||(x[S]=!0),x[S]===void 0&&d(b[S])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var vp,jo,Zs,ug,dg,Sp,Ap,Op,ce,pg,Ur,Rp,Hs,Vo,zo,fg,Fe,hg,yO,gO,bO,xO,vO,SO,Gn,Zn=h(()=>{Zs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ug=typeof Map<"u",dg=typeof Set<"u",Sp=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ap=Zs?Symbol.for("immer-nothing"):((vp={})["immer-nothing"]=!0,vp),Op=Zs?Symbol.for("immer-draftable"):"__$immer_draftable",ce=Zs?Symbol.for("immer-state"):"__$immer_state",pg=""+Object.prototype.constructor,Ur=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Rp=Object.getOwnPropertyDescriptors||function(t){var e={};return Ur(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Hs={},Vo={get:function(t,e){if(e===ce)return t;var r=Mt(t);if(!Dr(r,e))return function(i,a,s){var l,c=bp(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var o=r[e];return t.I||!Ye(o)?o:o===Ds(t.t,e)?(Us(t),t.o[e]=Ws(t.A.h,o,t)):o},has:function(t,e){return e in Mt(t)},ownKeys:function(t){return Reflect.ownKeys(Mt(t))},set:function(t,e,r){var o=bp(Mt(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var i=Ds(Mt(t),e),a=i?.[ce];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Ep(r,i)&&(r!==void 0||Dr(t.t,e)))return!0;Us(t),Dt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ds(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Us(t),Dt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Mt(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){je(12)}},zo={};mr(Vo,function(t,e){zo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),zo.deleteProperty=function(t,e){return zo.set.call(this,t,e,void 0)},zo.set=function(t,e,r){return Vo.set.call(this,t[0],e,r,t[0])};fg=function(){function t(r){var o=this;this.O=Sp,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=o;return function(E){var T=this;E===void 0&&(E=l);for(var A=arguments.length,_=Array(A>1?A-1:0),S=1;S<A;S++)_[S-1]=arguments[S];return c.produce(E,function(O){var w;return(w=a).call.apply(w,[T,O].concat(_))})}}var d;if(typeof a!="function"&&je(6),s!==void 0&&typeof s!="function"&&je(7),Ye(i)){var m=yp(o),f=Ws(o,i,void 0),g=!0;try{d=a(f),g=!1}finally{g?jn(m):Bs(m)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(E){return ks(m,s),Ms(E,m)},function(E){throw jn(m),E}):(ks(m,s),Ms(d,m))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===Ap&&(d=void 0),o.D&&Ks(d,!0),s){var b=[],x=[];at("Patches").M(i,d,b,x),s(b,x)}return d}je(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var m=arguments.length,f=Array(m>1?m-1:0),g=1;g<m;g++)f[g-1]=arguments[g];return o.produceWithPatches(d,function(b){return i.apply(void 0,[b].concat(f))})};var s,l,c=o.produce(i,a,function(d,m){s=d,l=m});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ye(r)||je(8),Ot(r)&&(r=cg(r));var o=yp(this),i=Ws(this,r,void 0);return i[ce].C=!0,Bs(o),i},e.finishDraft=function(r,o){var i=r&&r[ce],a=i.A;return ks(a,o),Ms(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Sp&&je(20),this.O=r},e.applyPatches=function(r,o){var i;for(i=o.length-1;i>=0;i--){var a=o[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(o=o.slice(i+1));var s=at("Patches").$;return Ot(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},t}(),Fe=new fg,hg=Fe.produce,yO=Fe.produceWithPatches.bind(Fe),gO=Fe.setAutoFreeze.bind(Fe),bO=Fe.setUseProxies.bind(Fe),xO=Fe.applyPatches.bind(Fe),vO=Fe.createDraft.bind(Fe),SO=Fe.finishDraft.bind(Fe),Gn=hg});function Ut(t){"@babel/helpers - typeof";return Ut=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},Ut(t)}var qs=h(()=>{});function Ys(t,e){if(Ut(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(Ut(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Np=h(()=>{qs()});function Xs(t){var e=Ys(t,"string");return Ut(e)==="symbol"?e:String(e)}var _p=h(()=>{qs();Np()});function Qs(t,e,r){return e=Xs(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Tp=h(()=>{_p()});function Pp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,o)}return r}function qn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Pp(Object(r),!0).forEach(function(o){Qs(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pp(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}var Lp=h(()=>{Tp()});function Oe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function mg(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function el(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Oe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Oe(1));return r(el)(t,e)}if(typeof t!="function")throw new Error(Oe(2));var i=t,a=e,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function m(){if(c)throw new Error(Oe(3));return a}function f(E){if(typeof E!="function")throw new Error(Oe(4));if(c)throw new Error(Oe(5));var T=!0;return d(),l.push(E),function(){if(T){if(c)throw new Error(Oe(6));T=!1,d();var _=l.indexOf(E);l.splice(_,1),s=null}}}function g(E){if(!mg(E))throw new Error(Oe(7));if(typeof E.type>"u")throw new Error(Oe(8));if(c)throw new Error(Oe(9));try{c=!0,a=i(a,E)}finally{c=!1}for(var T=s=l,A=0;A<T.length;A++){var _=T[A];_()}return E}function b(E){if(typeof E!="function")throw new Error(Oe(10));i=E,g({type:Yn.REPLACE})}function x(){var E,T=f;return E={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(Oe(11));function S(){_.next&&_.next(m())}S();var O=T(S);return{unsubscribe:O}}},E[Ip]=function(){return this},E}return g({type:Yn.INIT}),o={dispatch:g,subscribe:f,getState:m,replaceReducer:b},o[Ip]=x,o}function yg(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:Yn.INIT});if(typeof o>"u")throw new Error(Oe(12));if(typeof r(void 0,{type:Yn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Oe(13))})}function $p(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var i=e[o];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,l;try{yg(r)}catch(c){l=c}return function(d,m){if(d===void 0&&(d={}),l)throw l;if(0)var f;for(var g=!1,b={},x=0;x<a.length;x++){var E=a[x],T=r[E],A=d[E],_=T(A,m);if(typeof _>"u"){var S=m&&m.type;throw new Error(Oe(14))}b[E]=_,g=g||_!==A}return g=g||a.length!==Object.keys(d).length,g?b:d}}function Br(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,i){return function(){return o(i.apply(void 0,arguments))}})}function kp(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var i=o.apply(void 0,arguments),a=function(){throw new Error(Oe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=Br.apply(void 0,l)(i.dispatch),qn(qn({},i),{},{dispatch:a})}}}var Ip,Js,Yn,Xn=h(()=>{Lp();Ip=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Js=function(){return Math.random().toString(36).substring(7).split("").join(".")},Yn={INIT:"@@redux/INIT"+Js(),REPLACE:"@@redux/REPLACE"+Js(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Js()}}});function Mp(t){var e=function(o){var i=o.dispatch,a=o.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var Dp,tl,Up=h(()=>{Dp=Mp();Dp.withExtraArgument=Mp;tl=Dp});function wg(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function il(t){return Ye(t)?Gn(t,function(){}):t}function Ng(t){return typeof t=="boolean"}function _g(){return function(e){return Tg(e)}}function Tg(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,i=o===void 0?!0:o,a=t.serializableCheck,s=a===void 0?!0:a,l=new Ag;if(r&&(Ng(r)?l.push(tl):l.push(tl.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var d}return l}function jp(t){var e=_g(),r=t||{},o=r.reducer,i=o===void 0?void 0:o,a=r.middleware,s=a===void 0?e():a,l=r.devTools,c=l===void 0?!0:l,d=r.preloadedState,m=d===void 0?void 0:d,f=r.enhancers,g=f===void 0?void 0:f,b;if(typeof i=="function")b=i;else if(wg(i))b=$p(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(e),!ol&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ol&&x.some(function(O){return typeof O!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=kp.apply(void 0,x),T=Br;c&&(T=Eg(Ft({trace:!ol},typeof c=="object"&&c)));var A=new Rg(E),_=A;Array.isArray(g)?_=Wr([E],g):typeof g=="function"&&(_=g(A));var S=T.apply(void 0,_);return el(b,m,S)}function Bt(t,e){function r(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var a=e.apply(void 0,o);if(!a)throw new Error("prepareAction did not return an object");return Ft(Ft({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function Vp(t){var e={},r=[],o,i={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,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return o=a,i}};return t(i),[e,r,o]}function Pg(t){return typeof t=="function"}function Lg(t,e,r,o){r===void 0&&(r=[]);var i=typeof e=="function"?Vp(e):[e,r,o],a=i[0],s=i[1],l=i[2],c;if(Pg(t))c=function(){return il(t())};else{var d=il(t);c=function(){return d}}function m(f,g){f===void 0&&(f=c());var b=Wr([a[g.type]],s.filter(function(x){var E=x.matcher;return E(g)}).map(function(x){var E=x.reducer;return E}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,E){if(E)if(Ot(x)){var T=x,A=E(T,g);return A===void 0?x:A}else{if(Ye(x))return Gn(x,function(_){return E(_,g)});var A=E(x,g);if(A===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return x},f)}return m.getInitialState=c,m}function Ig(t,e){return t+"/"+e}function Kp(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:il(t.initialState),o=t.reducers||{},i=Object.keys(o),a={},s={},l={};i.forEach(function(m){var f=o[m],g=Ig(e,m),b,x;"reducer"in f?(b=f.reducer,x=f.prepare):b=f,a[m]=b,s[g]=b,l[m]=x?Bt(g,x):Bt(g)});function c(){var m=typeof t.extraReducers=="function"?Vp(t.extraReducers):[t.extraReducers],f=m[0],g=f===void 0?{}:f,b=m[1],x=b===void 0?[]:b,E=m[2],T=E===void 0?void 0:E,A=Ft(Ft({},g),s);return Lg(r,function(_){for(var S in A)_.addCase(S,A[S]);for(var O=0,w=x;O<w.length;O++){var U=w[O];_.addMatcher(U.matcher,U.reducer)}T&&_.addDefaultCase(T)})}var d;return{name:e,reducer:function(m,f){return d||(d=c()),d(m,f)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}function Ug(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Fg(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var zp,gg,Wr,bg,xg,vg,Fp,Sg,Og,Bp,Ft,rl,Cg,Eg,FO,Ag,Rg,ol,$g,kg,Mg,nl,Wp,Dg,zO,Gp,Zp,qp,jO,VO,KO,GO,al,ZO,qO,YO,Hp,XO,Bg,QO,Yp=h(()=>{Zn();Xn();Xn();Xn();Up();Zn();Zn();zp=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(o[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),gg=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,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(d){return function(m){return c([d,m])}}function c(d){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,i=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1],a=d;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(d);break}a[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(m){d=[6,m],i=0}finally{o=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Wr=function(t,e){for(var r=0,o=e.length,i=t.length;r<o;r++,i++)t[i]=e[r];return t},bg=Object.defineProperty,xg=Object.defineProperties,vg=Object.getOwnPropertyDescriptors,Fp=Object.getOwnPropertySymbols,Sg=Object.prototype.hasOwnProperty,Og=Object.prototype.propertyIsEnumerable,Bp=function(t,e,r){return e in t?bg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ft=function(t,e){for(var r in e||(e={}))Sg.call(e,r)&&Bp(t,r,e[r]);if(Fp)for(var o=0,i=Fp(e);o<i.length;o++){var r=i[o];Og.call(e,r)&&Bp(t,r,e[r])}return t},rl=function(t,e){return xg(t,vg(e))},Cg=function(t,e,r){return new Promise(function(o,i){var a=function(c){try{l(r.next(c))}catch(d){i(d)}},s=function(c){try{l(r.throw(c))}catch(d){i(d)}},l=function(c){return c.done?o(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(t,e)).next())})},Eg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Br:Br.apply(null,arguments)},FO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Ag=function(t){zp(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Wr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Wr([void 0],r.concat(this))))},e}(Array),Rg=function(t){zp(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Wr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Wr([void 0],r.concat(this))))},e}(Array);ol=!0;$g="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",kg=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=$g[Math.random()*64|0];return e},Mg=["name","message","stack","code"],nl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Wp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Dg=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=Mg;r<o.length;r++){var i=o[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},zO=function(){function t(e,r,o){var i=Bt(e+"/fulfilled",function(m,f,g,b){return{payload:m,meta:rl(Ft({},b||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),a=Bt(e+"/pending",function(m,f,g){return{payload:void 0,meta:rl(Ft({},g||{}),{arg:f,requestId:m,requestStatus:"pending"})}}),s=Bt(e+"/rejected",function(m,f,g,b,x){return{payload:b,error:(o&&o.serializeError||Dg)(m||"Rejected"),meta:rl(Ft({},x||{}),{arg:g,requestId:f,rejectedWithValue:!!b,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function d(m){return function(f,g,b){var x=o?.idGenerator?o.idGenerator(m):kg(),E=new c,T,A=!1;function _(O){T=O,E.abort()}var S=function(){return Cg(this,null,function(){var O,w,U,q,X,Q,M;return gg(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),q=(O=o?.condition)==null?void 0:O.call(o,m,{getState:g,extra:b}),Fg(q)?[4,q]:[3,2];case 1:q=y.sent(),y.label=2;case 2:if(q===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,X=new Promise(function(v,k){return E.signal.addEventListener("abort",function(){return k({name:"AbortError",message:T||"Aborted"})})}),f(a(x,m,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:x,arg:m},{getState:g,extra:b}))),[4,Promise.race([X,Promise.resolve(r(m,{dispatch:f,getState:g,extra:b,requestId:x,signal:E.signal,abort:_,rejectWithValue:function(v,k){return new nl(v,k)},fulfillWithValue:function(v,k){return new Wp(v,k)}})).then(function(v){if(v instanceof nl)throw v;return v instanceof Wp?i(v.payload,x,m,v.meta):i(v,x,m)})])];case 3:return U=y.sent(),[3,5];case 4:return Q=y.sent(),U=Q instanceof nl?s(null,x,m,Q.payload,Q.meta):s(Q,x,m),[3,5];case 5:return M=o&&!o.dispatchConditionRejection&&s.match(U)&&U.meta.condition,M||f(U),[2,U]}})})}();return Object.assign(S,{abort:_,requestId:x,arg:m,unwrap:function(){return S.then(Ug)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();Gp="listener",Zp="completed",qp="cancelled",jO="task-"+qp,VO="task-"+Zp,KO=Gp+"-"+qp,GO=Gp+"-"+Zp,al="listenerMiddleware",ZO=Bt(al+"/add"),qO=Bt(al+"/removeAll"),YO=Bt(al+"/remove"),XO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Hp||(Hp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Bg=function(t){return function(e){setTimeout(e,t)}},QO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Bg(10);wp()});function Wg(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))fr(e)&&e.clear()}var Ct,Xp=h(()=>{"use strict";Yp();Hn();$s();window.ftReduxStores||(window.ftReduxStores={});Ct=class t{static get(e){var r;let o=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[o];if(fr(a))return a;if(i==null)return;let s=Kp({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=jp({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ho,this.actions=new Proxy(this.reduxSlice.actions,{get:(o,i,a)=>{let s=i,l=o[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var sl={};Z(sl,{FtCommandQueue:()=>Ho,FtLitElementRedux:()=>Te,FtReduxStore:()=>Ct,clearAllStores:()=>Wg,isFtReduxStore:()=>fr,redux:()=>ne,reduxEventListener:()=>ng,reduxReactive:()=>og});var Qn=h(()=>{"use strict";dp();$s();mp();Xp();Hn()});var dl={};Z(dl,{scrollHelper:()=>ul});var ll,Jn,cl,ul,pl=h(()=>{"use strict";Lr();Jn=new Map,cl=class{lock(e,r){if(r){let o=Jn.get(r);if(o==null||o===e)return Jn.set(r,e),r}}release(e,r){r&&Jn.get(r)===e&&Jn.delete(r)}findFirstScrollableParent(e){let r,o=i=>{var a;i.stopPropagation();let s,l;for(let c of i.composedPath()){let d=c,m=this.elementCanScroll(d);if(m&&d.clientHeight&&d.clientHeight<d.scrollHeight){s=d;break}else m&&l==null&&(l=d)}r=(a=s??l)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",o),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",o),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let o=0;for(;r&&r.offsetParent!==e.offsetParent;)o+=r.offsetTop,r=r.offsetParent;return o+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let i=this.getAbsoluteScrollOffset(o,e),a=i-o.clientHeight+e.clientHeight,s=i,l=ga(0,(s-o.scrollTop)/(s-a),1),c=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;o.scrollTo({behavior:r?.behavior,top:c})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(ll=window.FluidTopicsScrollHelper)!==null&&ll!==void 0?ll:new cl;ul=window.FluidTopicsScrollHelper});var fl={};Z(fl,{shadowQuerySelector:()=>Hg,shadowQuerySelectorAll:()=>zg});function Hg(t,e,...r){var o;let i=t.querySelector(e);for(let a of r)i=(o=i?.shadowRoot)===null||o===void 0?void 0:o.querySelector(a);return i}function zg(t,e,...r){let o=[...t.querySelectorAll(e)];for(let i of r)o=o.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return o}var hl=h(()=>{"use strict"});var Jp=xm((Wt,Qp)=>{var ei=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ti=function(){function t(){this.fetch=!1,this.DOMException=ei.DOMException}return t.prototype=ei,new t}();(function(t){var e=function(r){var o=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function c(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function d(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var v={next:function(){var k=y.shift();return{done:k===void 0,value:k}}};return i.iterable&&(v[Symbol.iterator]=function(){return v}),v}function f(y){this.map={},y instanceof f?y.forEach(function(v,k){this.append(k,v)},this):Array.isArray(y)?y.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}f.prototype.append=function(y,v){y=c(y),v=d(v);var k=this.map[y];this.map[y]=k?k+", "+v:v},f.prototype.delete=function(y){delete this.map[c(y)]},f.prototype.get=function(y){return y=c(y),this.has(y)?this.map[y]:null},f.prototype.has=function(y){return this.map.hasOwnProperty(c(y))},f.prototype.set=function(y,v){this.map[c(y)]=d(v)},f.prototype.forEach=function(y,v){for(var k in this.map)this.map.hasOwnProperty(k)&&y.call(v,this.map[k],k,this)},f.prototype.keys=function(){var y=[];return this.forEach(function(v,k){y.push(k)}),m(y)},f.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),m(y)},f.prototype.entries=function(){var y=[];return this.forEach(function(v,k){y.push([k,v])}),m(y)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function b(y){return new Promise(function(v,k){y.onload=function(){v(y.result)},y.onerror=function(){k(y.error)}})}function x(y){var v=new FileReader,k=b(v);return v.readAsArrayBuffer(y),k}function E(y){var v=new FileReader,k=b(v),V=/charset=([A-Za-z0-9_-]+)/.exec(y.type),Y=V?V[1]:"utf-8";return v.readAsText(y,Y),k}function T(y){for(var v=new Uint8Array(y),k=new Array(v.length),V=0;V<v.length;V++)k[V]=String.fromCharCode(v[V]);return k.join("")}function A(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:i.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:i.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():i.arrayBuffer&&i.blob&&a(y)?(this._bodyArrayBuffer=A(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=A(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(U)}),this.json=function(){return this.text().then(JSON.parse)},this}var S=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function O(y){var v=y.toUpperCase();return S.indexOf(v)>-1?v:y}function w(y,v){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var k=v.body;if(y instanceof w){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new f(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!k&&y._bodyInit!=null&&(k=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new f(v.headers)),this.method=O(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in o){var H=new AbortController;return H.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var V=/([?&])_=[^&]*/;if(V.test(this.url))this.url=this.url.replace(V,"$1_="+new Date().getTime());else{var Y=/\?/;this.url+=(Y.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function U(y){var v=new FormData;return y.trim().split("&").forEach(function(k){if(k){var V=k.split("="),Y=V.shift().replace(/\+/g," "),H=V.join("=").replace(/\+/g," ");v.append(decodeURIComponent(Y),decodeURIComponent(H))}}),v}function q(y){var v=new f,k=y.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(V){return V.indexOf(`
|
|
50
|
+
`)===0?V.substr(1,V.length):V}).forEach(function(V){var Y=V.split(":"),H=Y.shift().trim();if(H){var Je=Y.join(":").trim();try{v.append(H,Je)}catch(lo){console.warn("Response "+lo.message)}}}),v}_.call(w.prototype);function X(y,v){if(!(this instanceof X))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.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=v.statusText===void 0?"":""+v.statusText,this.headers=new f(v.headers),this.url=v.url||"",this._initBody(y)}_.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},X.error=function(){var y=new X(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var Q=[301,302,303,307,308];X.redirect=function(y,v){if(Q.indexOf(v)===-1)throw new RangeError("Invalid status code");return new X(null,{status:v,headers:{location:y}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,k){this.message=v,this.name=k;var V=Error(v);this.stack=V.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function M(y,v){return new Promise(function(k,V){var Y=new w(y,v);if(Y.signal&&Y.signal.aborted)return V(new r.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function Je(){H.abort()}H.onload=function(){var ve={statusText:H.statusText,headers:q(H.getAllResponseHeaders()||"")};Y.url.indexOf("file://")===0&&(H.status<200||H.status>599)?ve.status=200:ve.status=H.status,ve.url="responseURL"in H?H.responseURL:ve.headers.get("X-Request-URL");var qt="response"in H?H.response:H.responseText;setTimeout(function(){k(new X(qt,ve))},0)},H.onerror=function(){setTimeout(function(){V(new TypeError("Network request failed"))},0)},H.ontimeout=function(){setTimeout(function(){V(new TypeError("Network request timed out"))},0)},H.onabort=function(){setTimeout(function(){V(new r.DOMException("Aborted","AbortError"))},0)};function lo(ve){try{return ve===""&&o.location.href?o.location.href:ve}catch{return ve}}if(H.open(Y.method,lo(Y.url),!0),Y.credentials==="include"?H.withCredentials=!0:Y.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&(i.blob?H.responseType="blob":i.arrayBuffer&&(H.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof f||o.Headers&&v.headers instanceof o.Headers)){var zc=[];Object.getOwnPropertyNames(v.headers).forEach(function(ve){zc.push(c(ve)),H.setRequestHeader(ve,d(v.headers[ve]))}),Y.headers.forEach(function(ve,qt){zc.indexOf(qt)===-1&&H.setRequestHeader(qt,ve)})}else Y.headers.forEach(function(ve,qt){H.setRequestHeader(qt,ve)});Y.signal&&(Y.signal.addEventListener("abort",Je),H.onreadystatechange=function(){H.readyState===4&&Y.signal.removeEventListener("abort",Je)}),H.send(typeof Y._bodyInit>"u"?null:Y._bodyInit)})}return M.polyfill=!0,o.fetch||(o.fetch=M,o.Headers=f,o.Request=w,o.Response=X),r.Headers=f,r.Request=w,r.Response=X,r.fetch=M,r}({})})(ti);ti.fetch.ponyfill=!0;delete ti.fetch.polyfill;var Hr=ei.fetch?ei:ti;Wt=Hr.fetch;Wt.default=Hr.fetch;Wt.fetch=Hr.fetch;Wt.Headers=Hr.Headers;Wt.Request=Hr.Request;Wt.Response=Hr.Response;Qp.exports=Wt});var ef=h(()=>{});var tf,rf,of,nf,af,sf,lf,cf,uf,df,pf,zr,mf,ff,ri,hf,Ko,yf,jr,Vr,xe,ml=h(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(tf||(tf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(rf||(rf={}));(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(of||(of={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(nf||(nf={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(af||(af={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(sf||(sf={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(lf||(lf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(cf||(cf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(uf||(uf={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(df||(df={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(pf||(pf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(zr||(zr={}));mf=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(ff||(ff={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ri||(ri={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(hf||(hf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ko||(Ko={}));yf=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(jr||(jr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Vr||(Vr={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(xe||(xe={}))});var gf,bf=h(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(gf||(gf={}))});var mC,xf=h(()=>{ml();mC={[xe.PERSONAL_BOOK_SHARE_USER]:[xe.PERSONAL_BOOK_USER],[xe.HTML_EXPORT_USER]:[xe.PERSONAL_BOOK_USER],[xe.PDF_EXPORT_USER]:[xe.PERSONAL_BOOK_USER],[xe.KHUB_ADMIN]:[xe.CONTENT_PUBLISHER],[xe.ADMIN]:[xe.KHUB_ADMIN,xe.USERS_ADMIN,xe.PORTAL_ADMIN],[xe.DEVELOPER]:[xe.BETA_USER,xe.DEBUG_USER]}});var vf=h(()=>{});var jg,oi=h(()=>{jg=Sm(Jp(),1);ef();ml();bf();xf();vf()});var yl={};Z(yl,{SearchPlaceConverter:()=>ni,SearchPlaceQueryParams:()=>le,isSearchPlaceQueryParams:()=>Sf,serializeRequest:()=>Gg});function Vg(t){return`"${t}"`}function Kg(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Gg(t,e){return new ni(t,{}).serialize(e)}function Sf(t){return Zg.has(t)}var le,Zg,ni,gl=h(()=>{"use strict";oi();(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort"})(le||(le={}));Zg=new Set(Object.values(le));ni=class{constructor(e,r){this.baseUrl=e,this.predefinedSorts=r,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r="/search"){let o=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${r}?${o}`).href}toURLSearchParams(e){var r,o,i,a,s,l,c,d,m,f;let g=new URLSearchParams({[le.LOCALE]:(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((o=e.query)===null||o===void 0?void 0:o.length)>0&&g.append(le.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&g.append(le.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&g.append(le.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&g.append(le.SORT,"last_update");let b=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(A=>A.valueFilter))!==null&&s!==void 0?s:[];if(b.length>0){let A=b.map(_=>{var S,O;let w=((O=(S=_.valueFilter)===null||S===void 0?void 0:S.values)!==null&&O!==void 0?O:[]).map(U=>this.escapeFilters(U)).map(U=>encodeURIComponent(Vg(U))).join("_");return`${_.key}~${w}`}).join("*");g.append(le.VALUE_FILTERS,A)}let x=(c=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(A=>A.dateFilter))!==null&&c!==void 0?c:[];if(x.length>0){let A=x.map(_=>{var S;return`${_.key}~${(S=_.dateFilter)===null||S===void 0?void 0:S.type.toLowerCase()}`}).join("*");g.append(le.DATE_FILTERS,A)}let E=(m=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(A=>A.rangeFilter))!==null&&m!==void 0?m:[];if(E.length>0){let A=E.map(_=>{var S,O;return`${_.key}~${(S=_.rangeFilter)===null||S===void 0?void 0:S.from}_${(O=_.rangeFilter)===null||O===void 0?void 0:O.to}`}).join("*");g.append(le.RANGE_FILTERS,A)}let T=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let A in T)g.append(A,T[A]);return g}parse(e){var r;let o=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(o.slice(1).join("?"))),a=o[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,o,i,a,s,l,c,d;let m=((r=e.get(le.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),f=((o=e.get(le.SORT))!==null&&o!==void 0?o:"DEFAULT").toUpperCase(),g=(i=e.get(le.SCOPE))!==null&&i!==void 0?i:"default",b={};for(let x of e.keys())Sf(x)||(b[x]=e.get(x));return{contentLocale:e.get(le.LOCALE)==="all"?void 0:(a=e.get(le.LOCALE))!==null&&a!==void 0?a:void 0,query:decodeURIComponent((s=e.get(le.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[g])!==null&&l!==void 0?l:"DEFAULT",virtualField:mf(m)?m:"EVERYWHERE",sort:(d=(c=this.predefinedSorts[f])!==null&&c!==void 0?c:this.predefinedSorts.DEFAULT)!==null&&d!==void 0?d:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:b}}parseCompatFilters(e){var r,o,i,a,s,l;let c=[];return e.has(le.FILTERS)&&(c=this.parseValueFilters((r=e.get(le.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(le.PERIOD))!==null&&o!==void 0&&o&&(c=[...c,...this.parseLegacyPeriodFilter(((i=e.get(le.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...c,...this.parseValueFilters((a=e.get(le.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(le.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(le.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Kg).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Ko[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,i]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,i]of this.filtersEscapeMapping)e=e.replaceAll(o,i);return e}unescapeFilterValue(e){for(let[r,o,i]of this.filtersEscapeMapping)e=e.replace(i,r);return e}parseLegacyPeriodFilter(e){if(yf(e))return[{key:"ft:lastEdition",dateFilter:{type:Ko[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:i}}]}return[]}}});var xl={};Z(xl,{toFtFormComponent:()=>bl});function bl(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[ii].form}constructor(...i){super(i),this[ii]=this.attachInternals(),this[ii].role=e}setFormValue(i){this[ii].setFormValue(i)}}return r}var ii,vl=h(()=>{"use strict";ii=Symbol("elementInternals")});var Sl={};Z(Sl,{DateFormatter:()=>Kr});var Kr,ai=h(()=>{"use strict";Kr=class{static format(e,r,o,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(o,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var Ol,Cl,El,wl,Al,qg,$=h(()=>{"use strict";Vc();B();oe();An();Nr();Gu();wo();pa();Rn();ma();Nn();Tn();qa();es();Dn();Pn();Ss();Do();Os();Lr();As();Ts();Ps();Is();Qn();Fn();pl();hl();gl();vl();ai();K();pa();Rn();ma();ai();Nn();Tn();qa();es();Dn();Pn();Ss();Do();Os();Lr();As();Ts();Ps();Is();Qn();Fn();pl();hl();gl();vl();K();Al=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((El=(Cl=(Ol=window.safari)===null||Ol===void 0?void 0:Ol.pushNotification)===null||Cl===void 0?void 0:Cl.toString())!==null&&El!==void 0?El:"")==="[object SafariRemoteNotification]",qg="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(wl=window.ftGlobals)!==null&&wl!==void 0?wl:{lit:ta,litDecorators:ia,litRepeat:aa,litClassMap:sa,litStyleMap:la,litUnsafeHTML:ca,wcUtils:{...da,...ua,...ha,...Sl,...ya,...xa,...Za,...Ja,...ys,...Ga,...vs,...bs,...ip,...ba,...ws,..._s,...up,...Ls,...sl,...gs,...dl,...fl,...yl,...xl,isSafari:Al,isTouchScreen:qg,setVariable:L}}});var Of,G,Cf,Ef,wf,Af,Rf,yr=h(()=>{"use strict";B();$();Of=n.extend("--ft-ripple-color","",I.colorContent),G={color:Of,backgroundColor:n.extend("--ft-ripple-background-color","",Of),opacityContentOnSurfacePressed:n.external(I.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:n.external(I.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:n.external(I.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:n.external(I.opacityContentOnSurfaceSelected,"Design system"),borderRadius:n.create("--ft-ripple-border-radius","","SIZE","0px")},Cf=n.extend("--ft-ripple-color","",I.colorPrimary),Ef={color:Cf,backgroundColor:n.extend("--ft-ripple-background-color","",Cf)},wf=n.extend("--ft-ripple-color","",I.colorSecondary),Af={color:wf,backgroundColor:n.extend("--ft-ripple-background-color","",wf)},Rf=P`
|
|
50
51
|
:host {
|
|
51
52
|
display: contents;
|
|
52
53
|
}
|
|
@@ -59,7 +60,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
59
60
|
|
|
60
61
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
61
62
|
overflow: hidden;
|
|
62
|
-
border-radius: ${
|
|
63
|
+
border-radius: ${G.borderRadius};
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
.ft-ripple .ft-ripple--background,
|
|
@@ -93,27 +94,27 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
.ft-ripple .ft-ripple--background {
|
|
96
|
-
background-color: ${
|
|
97
|
+
background-color: ${G.backgroundColor};
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
.ft-ripple .ft-ripple--effect {
|
|
100
|
-
background-color: ${
|
|
101
|
+
background-color: ${G.color};
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
104
|
-
background-color: ${
|
|
105
|
+
background-color: ${Af.backgroundColor};
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
108
|
-
background-color: ${
|
|
109
|
+
background-color: ${Af.color};
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
112
|
-
background-color: ${
|
|
113
|
+
background-color: ${Ef.backgroundColor};
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
116
|
-
background-color: ${
|
|
117
|
+
background-color: ${Ef.color};
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
.ft-ripple .ft-ripple--background {
|
|
@@ -143,23 +144,23 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
143
144
|
}
|
|
144
145
|
|
|
145
146
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
146
|
-
opacity: ${
|
|
147
|
+
opacity: ${G.opacityContentOnSurfaceHover};
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
150
|
-
opacity: ${
|
|
151
|
+
opacity: ${G.opacityContentOnSurfaceSelected};
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
154
|
-
opacity: ${
|
|
155
|
+
opacity: ${G.opacityContentOnSurfaceFocused};
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
158
|
-
opacity: ${
|
|
159
|
+
opacity: ${G.opacityContentOnSurfacePressed};
|
|
159
160
|
transform: translate(-50%, -50%) scale(1);
|
|
160
161
|
}
|
|
161
|
-
`});function
|
|
162
|
-
.ft-typography--${
|
|
162
|
+
`});function _f(t){let e=Ro[t];return P`
|
|
163
|
+
.ft-typography--${rr(t)} {
|
|
163
164
|
font-family: ${e.fontFamily};
|
|
164
165
|
font-size: ${e.fontSize};
|
|
165
166
|
font-weight: ${e.fontWeight};
|
|
@@ -167,102 +168,102 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
167
168
|
line-height: ${e.lineHeight};
|
|
168
169
|
text-transform: ${e.textCase};
|
|
169
170
|
}
|
|
170
|
-
`}var
|
|
171
|
+
`}var Tf=h(()=>{"use strict";B();K()});var Pf,Et,F,Gr,Zr,qr,Yr,Xr,Qr,Jr,eo,to,st,Lf,If,$f,kf,Mf,si,Df,Uf,Ff,Bf,Wf,Hf,li=h(()=>{"use strict";B();$();K();Tf();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();Pf=n.extend("--ft-typography-font-family","",I.titleFont),Et=n.extend("--ft-typography-font-family","",I.contentFont),F={fontFamily:Et,fontSize:n.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:n.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:n.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:n.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:n.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Gr={fontFamily:n.extend("--ft-typography-title-font-family","",Pf),fontSize:n.extend("--ft-typography-title-font-size","",F.fontSize,"20px"),fontWeight:n.extend("--ft-typography-title-font-weight","",F.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-letter-spacing","",F.letterSpacing,"0.15px"),lineHeight:n.extend("--ft-typography-title-line-height","",F.lineHeight,"1.2"),textTransform:n.extend("--ft-typography-title-text-transform","",F.textTransform,"inherit")},Zr={fontFamily:n.extend("--ft-typography-title-dense-font-family","",Pf),fontSize:n.extend("--ft-typography-title-dense-font-size","",F.fontSize,"14px"),fontWeight:n.extend("--ft-typography-title-dense-font-weight","",F.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-dense-letter-spacing","",F.letterSpacing,"0.105px"),lineHeight:n.extend("--ft-typography-title-dense-line-height","",F.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-title-dense-text-transform","",F.textTransform,"inherit")},qr={fontFamily:n.extend("--ft-typography-subtitle1-font-family","",Et),fontSize:n.extend("--ft-typography-subtitle1-font-size","",F.fontSize,"16px"),fontWeight:n.extend("--ft-typography-subtitle1-font-weight","",F.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-subtitle1-letter-spacing","",F.letterSpacing,"0.144px"),lineHeight:n.extend("--ft-typography-subtitle1-line-height","",F.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-subtitle1-text-transform","",F.textTransform,"inherit")},Yr={fontFamily:n.extend("--ft-typography-subtitle2-font-family","",Et),fontSize:n.extend("--ft-typography-subtitle2-font-size","",F.fontSize,"14px"),fontWeight:n.extend("--ft-typography-subtitle2-font-weight","",F.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-subtitle2-letter-spacing","",F.letterSpacing,"0.098px"),lineHeight:n.extend("--ft-typography-subtitle2-line-height","",F.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-subtitle2-text-transform","",F.textTransform,"inherit")},Xr={fontFamily:n.extend("--ft-typography-body1-font-family","",Et),fontSize:n.extend("--ft-typography-body1-font-size","",F.fontSize,"16px"),fontWeight:n.extend("--ft-typography-body1-font-weight","",F.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body1-letter-spacing","",F.letterSpacing,"0.496px"),lineHeight:n.extend("--ft-typography-body1-line-height","",F.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-body1-text-transform","",F.textTransform,"inherit")},Qr={fontFamily:n.extend("--ft-typography-body2-font-family","",Et),fontSize:n.extend("--ft-typography-body2-font-size","",F.fontSize,"14px"),fontWeight:n.extend("--ft-typography-body2-font-weight","",F.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body2-letter-spacing","",F.letterSpacing,"0.252px"),lineHeight:n.extend("--ft-typography-body2-line-height","",F.lineHeight,"1.4"),textTransform:n.extend("--ft-typography-body2-text-transform","",F.textTransform,"inherit")},Jr={fontFamily:n.extend("--ft-typography-caption-font-family","",Et),fontSize:n.extend("--ft-typography-caption-font-size","",F.fontSize,"12px"),fontWeight:n.extend("--ft-typography-caption-font-weight","",F.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-caption-letter-spacing","",F.letterSpacing,"0.396px"),lineHeight:n.extend("--ft-typography-caption-line-height","",F.lineHeight,"1.33"),textTransform:n.extend("--ft-typography-caption-text-transform","",F.textTransform,"inherit")},eo={fontFamily:n.extend("--ft-typography-breadcrumb-font-family","",Et),fontSize:n.extend("--ft-typography-breadcrumb-font-size","",F.fontSize,"10px"),fontWeight:n.extend("--ft-typography-breadcrumb-font-weight","",F.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-breadcrumb-letter-spacing","",F.letterSpacing,"0.33px"),lineHeight:n.extend("--ft-typography-breadcrumb-line-height","",F.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-breadcrumb-text-transform","",F.textTransform,"inherit")},to={fontFamily:n.extend("--ft-typography-overline-font-family","",Et),fontSize:n.extend("--ft-typography-overline-font-size","",F.fontSize,"10px"),fontWeight:n.extend("--ft-typography-overline-font-weight","",F.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-overline-letter-spacing","",F.letterSpacing,"1.5px"),lineHeight:n.extend("--ft-typography-overline-line-height","",F.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-overline-text-transform","",F.textTransform,"uppercase")},st={fontFamily:n.extend("--ft-typography-button-font-family","",Et),fontSize:n.extend("--ft-typography-button-font-size","",F.fontSize,"14px"),fontWeight:n.extend("--ft-typography-button-font-weight","",F.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-button-letter-spacing","",F.letterSpacing,"1.246px"),lineHeight:n.extend("--ft-typography-button-line-height","",F.lineHeight,"1.15"),textTransform:n.extend("--ft-typography-button-text-transform","",F.textTransform,"uppercase")},Lf=P`
|
|
171
172
|
.ft-typography--title {
|
|
172
|
-
font-family: ${
|
|
173
|
-
font-size: ${
|
|
174
|
-
font-weight: ${
|
|
175
|
-
letter-spacing: ${
|
|
176
|
-
line-height: ${
|
|
177
|
-
text-transform: ${
|
|
178
|
-
}
|
|
179
|
-
`,
|
|
173
|
+
font-family: ${Gr.fontFamily};
|
|
174
|
+
font-size: ${Gr.fontSize};
|
|
175
|
+
font-weight: ${Gr.fontWeight};
|
|
176
|
+
letter-spacing: ${Gr.letterSpacing};
|
|
177
|
+
line-height: ${Gr.lineHeight};
|
|
178
|
+
text-transform: ${Gr.textTransform};
|
|
179
|
+
}
|
|
180
|
+
`,If=P`
|
|
180
181
|
.ft-typography--title-dense {
|
|
181
|
-
font-family: ${
|
|
182
|
-
font-size: ${
|
|
183
|
-
font-weight: ${
|
|
184
|
-
letter-spacing: ${
|
|
185
|
-
line-height: ${
|
|
186
|
-
text-transform: ${
|
|
187
|
-
}
|
|
188
|
-
|
|
182
|
+
font-family: ${Zr.fontFamily};
|
|
183
|
+
font-size: ${Zr.fontSize};
|
|
184
|
+
font-weight: ${Zr.fontWeight};
|
|
185
|
+
letter-spacing: ${Zr.letterSpacing};
|
|
186
|
+
line-height: ${Zr.lineHeight};
|
|
187
|
+
text-transform: ${Zr.textTransform};
|
|
188
|
+
}
|
|
189
|
+
`,$f=P`
|
|
189
190
|
.ft-typography--subtitle1 {
|
|
190
|
-
font-family: ${
|
|
191
|
-
font-size: ${
|
|
192
|
-
font-weight: ${
|
|
193
|
-
letter-spacing: ${
|
|
194
|
-
line-height: ${
|
|
195
|
-
text-transform: ${
|
|
196
|
-
}
|
|
197
|
-
`,
|
|
191
|
+
font-family: ${qr.fontFamily};
|
|
192
|
+
font-size: ${qr.fontSize};
|
|
193
|
+
font-weight: ${qr.fontWeight};
|
|
194
|
+
letter-spacing: ${qr.letterSpacing};
|
|
195
|
+
line-height: ${qr.lineHeight};
|
|
196
|
+
text-transform: ${qr.textTransform};
|
|
197
|
+
}
|
|
198
|
+
`,kf=P`
|
|
198
199
|
.ft-typography--subtitle2 {
|
|
199
|
-
font-family: ${
|
|
200
|
-
font-size: ${
|
|
201
|
-
font-weight: ${
|
|
202
|
-
letter-spacing: ${
|
|
203
|
-
line-height: ${
|
|
204
|
-
text-transform: ${
|
|
200
|
+
font-family: ${Yr.fontFamily};
|
|
201
|
+
font-size: ${Yr.fontSize};
|
|
202
|
+
font-weight: ${Yr.fontWeight};
|
|
203
|
+
letter-spacing: ${Yr.letterSpacing};
|
|
204
|
+
line-height: ${Yr.lineHeight};
|
|
205
|
+
text-transform: ${Yr.textTransform};
|
|
205
206
|
}
|
|
206
207
|
|
|
207
|
-
`,
|
|
208
|
+
`,Mf=P`
|
|
208
209
|
.ft-typography--body1 {
|
|
209
|
-
font-family: ${
|
|
210
|
-
font-size: ${
|
|
211
|
-
font-weight: ${
|
|
212
|
-
letter-spacing: ${
|
|
213
|
-
line-height: ${
|
|
214
|
-
text-transform: ${
|
|
215
|
-
}
|
|
216
|
-
`,
|
|
210
|
+
font-family: ${Xr.fontFamily};
|
|
211
|
+
font-size: ${Xr.fontSize};
|
|
212
|
+
font-weight: ${Xr.fontWeight};
|
|
213
|
+
letter-spacing: ${Xr.letterSpacing};
|
|
214
|
+
line-height: ${Xr.lineHeight};
|
|
215
|
+
text-transform: ${Xr.textTransform};
|
|
216
|
+
}
|
|
217
|
+
`,si=P`
|
|
217
218
|
.ft-typography--body2 {
|
|
218
|
-
font-family: ${
|
|
219
|
-
font-size: ${
|
|
220
|
-
font-weight: ${
|
|
221
|
-
letter-spacing: ${
|
|
222
|
-
line-height: ${
|
|
223
|
-
text-transform: ${
|
|
224
|
-
}
|
|
225
|
-
`,
|
|
219
|
+
font-family: ${Qr.fontFamily};
|
|
220
|
+
font-size: ${Qr.fontSize};
|
|
221
|
+
font-weight: ${Qr.fontWeight};
|
|
222
|
+
letter-spacing: ${Qr.letterSpacing};
|
|
223
|
+
line-height: ${Qr.lineHeight};
|
|
224
|
+
text-transform: ${Qr.textTransform};
|
|
225
|
+
}
|
|
226
|
+
`,Df=P`
|
|
226
227
|
.ft-typography--caption {
|
|
227
|
-
font-family: ${
|
|
228
|
-
font-size: ${
|
|
229
|
-
font-weight: ${
|
|
230
|
-
letter-spacing: ${
|
|
231
|
-
line-height: ${
|
|
232
|
-
text-transform: ${
|
|
233
|
-
}
|
|
234
|
-
`,
|
|
228
|
+
font-family: ${Jr.fontFamily};
|
|
229
|
+
font-size: ${Jr.fontSize};
|
|
230
|
+
font-weight: ${Jr.fontWeight};
|
|
231
|
+
letter-spacing: ${Jr.letterSpacing};
|
|
232
|
+
line-height: ${Jr.lineHeight};
|
|
233
|
+
text-transform: ${Jr.textTransform};
|
|
234
|
+
}
|
|
235
|
+
`,Uf=P`
|
|
235
236
|
.ft-typography--breadcrumb {
|
|
236
|
-
font-family: ${
|
|
237
|
-
font-size: ${
|
|
238
|
-
font-weight: ${
|
|
239
|
-
letter-spacing: ${
|
|
240
|
-
line-height: ${
|
|
241
|
-
text-transform: ${
|
|
242
|
-
}
|
|
243
|
-
`,
|
|
237
|
+
font-family: ${eo.fontFamily};
|
|
238
|
+
font-size: ${eo.fontSize};
|
|
239
|
+
font-weight: ${eo.fontWeight};
|
|
240
|
+
letter-spacing: ${eo.letterSpacing};
|
|
241
|
+
line-height: ${eo.lineHeight};
|
|
242
|
+
text-transform: ${eo.textTransform};
|
|
243
|
+
}
|
|
244
|
+
`,Ff=P`
|
|
244
245
|
.ft-typography--overline {
|
|
245
|
-
font-family: ${
|
|
246
|
-
font-size: ${
|
|
247
|
-
font-weight: ${
|
|
248
|
-
letter-spacing: ${
|
|
249
|
-
line-height: ${
|
|
250
|
-
text-transform: ${
|
|
251
|
-
}
|
|
252
|
-
`,
|
|
246
|
+
font-family: ${to.fontFamily};
|
|
247
|
+
font-size: ${to.fontSize};
|
|
248
|
+
font-weight: ${to.fontWeight};
|
|
249
|
+
letter-spacing: ${to.letterSpacing};
|
|
250
|
+
line-height: ${to.lineHeight};
|
|
251
|
+
text-transform: ${to.textTransform};
|
|
252
|
+
}
|
|
253
|
+
`,Bf=P`
|
|
253
254
|
.ft-typography--button {
|
|
254
|
-
font-family: ${
|
|
255
|
-
font-size: ${
|
|
256
|
-
font-weight: ${
|
|
257
|
-
letter-spacing: ${
|
|
258
|
-
line-height: ${
|
|
259
|
-
text-transform: ${
|
|
260
|
-
}
|
|
261
|
-
`,
|
|
255
|
+
font-family: ${st.fontFamily};
|
|
256
|
+
font-size: ${st.fontSize};
|
|
257
|
+
font-weight: ${st.fontWeight};
|
|
258
|
+
letter-spacing: ${st.letterSpacing};
|
|
259
|
+
line-height: ${st.lineHeight};
|
|
260
|
+
text-transform: ${st.textTransform};
|
|
261
|
+
}
|
|
262
|
+
`,Wf=P`
|
|
262
263
|
.ft-typography {
|
|
263
264
|
vertical-align: inherit;
|
|
264
265
|
}
|
|
265
|
-
`,
|
|
266
|
+
`,Hf=[Object.keys(Ro).map(t=>_f(t))]});var we,zf,Go=h(()=>{"use strict";B();$();we={color:n.extend("--ft-loader-color","",I.colorPrimary),size:n.create("--ft-loader-size","","SIZE","80px")},zf=P`
|
|
266
267
|
:host {
|
|
267
268
|
line-height: 0;
|
|
268
269
|
}
|
|
@@ -271,8 +272,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
271
272
|
display: inline-block;
|
|
272
273
|
position: relative;
|
|
273
274
|
|
|
274
|
-
width: ${
|
|
275
|
-
height: ${
|
|
275
|
+
width: ${we.size};
|
|
276
|
+
height: ${we.size};
|
|
276
277
|
}
|
|
277
278
|
|
|
278
279
|
.ft-loader div {
|
|
@@ -281,7 +282,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
281
282
|
width: 25%;
|
|
282
283
|
height: 25%;
|
|
283
284
|
border-radius: 50%;
|
|
284
|
-
background: ${
|
|
285
|
+
background: ${we.color};
|
|
285
286
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
286
287
|
}
|
|
287
288
|
|
|
@@ -328,10 +329,10 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
328
329
|
transform: translate(0, 0);
|
|
329
330
|
}
|
|
330
331
|
100% {
|
|
331
|
-
transform: translate(calc(0.35 * ${
|
|
332
|
+
transform: translate(calc(0.35 * ${we.size}), 0);
|
|
332
333
|
}
|
|
333
334
|
}
|
|
334
|
-
`});var
|
|
335
|
+
`});var Ae,jf,Zo=h(()=>{"use strict";B();$();Ae={size:n.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:n.extend("--ft-icon-fluid-topics-font-family","",n.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:n.extend("--ft-icon-file-format-font-family","",n.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:n.extend("--ft-icon-material-font-family","",n.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:n.create("--ft-icon-vertical-align","","UNKNOWN","unset")},jf=P`
|
|
335
336
|
:host, i.ft-icon {
|
|
336
337
|
display: inline-flex;
|
|
337
338
|
align-items: center;
|
|
@@ -340,14 +341,14 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
340
341
|
}
|
|
341
342
|
|
|
342
343
|
:host {
|
|
343
|
-
width: ${
|
|
344
|
-
height: ${
|
|
344
|
+
width: ${Ae.size};
|
|
345
|
+
height: ${Ae.size};
|
|
345
346
|
}
|
|
346
347
|
|
|
347
348
|
i.ft-icon {
|
|
348
349
|
width: 100%;
|
|
349
350
|
height: 100%;
|
|
350
|
-
font-size: ${
|
|
351
|
+
font-size: ${Ae.size};
|
|
351
352
|
line-height: 1;
|
|
352
353
|
font-weight: normal;
|
|
353
354
|
text-transform: none;
|
|
@@ -358,28 +359,28 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
358
359
|
text-rendering: auto;
|
|
359
360
|
-webkit-font-smoothing: antialiased;
|
|
360
361
|
-moz-osx-font-smoothing: grayscale;
|
|
361
|
-
vertical-align: ${
|
|
362
|
+
vertical-align: ${Ae.verticalAlign};
|
|
362
363
|
}
|
|
363
364
|
|
|
364
365
|
i.ft-icon.ft-icon--fluid-topics {
|
|
365
|
-
font-family: ${
|
|
366
|
+
font-family: ${Ae.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
366
367
|
|
|
367
368
|
/* Ugly fix because font is broken */
|
|
368
|
-
font-size: calc(0.75 * ${
|
|
369
|
-
line-height: ${
|
|
369
|
+
font-size: calc(0.75 * ${Ae.size});
|
|
370
|
+
line-height: ${Ae.size};
|
|
370
371
|
position: relative;
|
|
371
372
|
top: -4%;
|
|
372
373
|
justify-content: center;
|
|
373
374
|
}
|
|
374
375
|
|
|
375
376
|
.ft-icon--file-format {
|
|
376
|
-
font-family: ${
|
|
377
|
+
font-family: ${Ae.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
377
378
|
}
|
|
378
379
|
|
|
379
380
|
.ft-icon--material {
|
|
380
|
-
font-family: ${
|
|
381
|
+
font-family: ${Ae.materialFontFamily}, "Material Icons", sans-serif;
|
|
381
382
|
}
|
|
382
|
-
`});var
|
|
383
|
+
`});var Vf,pe,Kf,Rl,lt,Gf,Nl=h(()=>{"use strict";B();$();yr();li();Go();Zo();Vf=n.extend("--ft-button-color","",I.colorPrimary),pe={backgroundColor:n.extend("--ft-button-background-color","",I.colorSurface),borderRadius:n.extend("--ft-button-border-radius","",I.borderRadiusL),color:Vf,fontSize:n.extend("--ft-button-font-size","",st.fontSize),iconSize:n.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:n.extend("--ft-button-ripple-color","",Vf),verticalPadding:n.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:n.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:n.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:n.external(I.colorOpacityDisabled,"Design system")},Kf=n.extend("--ft-button-primary-color","",n.extend("--ft-button-color","",I.colorOnPrimary)),Rl={backgroundColor:n.extend("--ft-button-primary-background-color","",n.extend("--ft-button-background-color","",I.colorPrimary)),color:Kf,rippleColor:n.extend("--ft-button-primary-ripple-color","",Kf)},lt={borderRadius:n.extend("--ft-button-dense-border-radius","",n.extend("--ft-button-border-radius","",I.borderRadiusM)),verticalPadding:n.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:n.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:n.create("--ft-button-dense-icon-padding","","SIZE","4px")},Gf=[P`
|
|
383
384
|
:host {
|
|
384
385
|
display: inline-block;
|
|
385
386
|
max-width: 100%;
|
|
@@ -390,7 +391,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
390
391
|
box-shadow: 0px 0px 0px transparent;
|
|
391
392
|
border: 0px solid transparent;
|
|
392
393
|
text-shadow: 0px 0px 0px transparent;
|
|
393
|
-
font-size: ${
|
|
394
|
+
font-size: ${pe.fontSize};
|
|
394
395
|
}
|
|
395
396
|
|
|
396
397
|
button:hover {
|
|
@@ -419,31 +420,31 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
419
420
|
border: none;
|
|
420
421
|
pointer-events: auto;
|
|
421
422
|
|
|
422
|
-
--ft-button-internal-line-height: max(calc(${
|
|
423
|
-
--ft-button-internal-color: ${
|
|
424
|
-
${
|
|
425
|
-
${
|
|
423
|
+
--ft-button-internal-line-height: max(calc(${pe.fontSize} + 2px), ${pe.iconSize});
|
|
424
|
+
--ft-button-internal-color: ${pe.color};
|
|
425
|
+
${L(Ae.size,pe.iconSize)};
|
|
426
|
+
${L(G.color,pe.rippleColor)};
|
|
426
427
|
|
|
427
|
-
border-radius: ${
|
|
428
|
-
padding: ${
|
|
429
|
-
background-color: ${
|
|
428
|
+
border-radius: ${pe.borderRadius};
|
|
429
|
+
padding: ${pe.verticalPadding} ${pe.horizontalPadding};
|
|
430
|
+
background-color: ${pe.backgroundColor};
|
|
430
431
|
color: var(--ft-button-internal-color);
|
|
431
432
|
-webkit-mask-image: radial-gradient(white, black);
|
|
432
433
|
}
|
|
433
434
|
|
|
434
435
|
.ft-button.ft-button--outlined {
|
|
435
436
|
border: 1px solid var(--ft-button-internal-color);
|
|
436
|
-
padding: calc(${
|
|
437
|
+
padding: calc(${pe.verticalPadding} - 1px) calc(${pe.horizontalPadding} - 1px);
|
|
437
438
|
}
|
|
438
439
|
|
|
439
440
|
.ft-button.ft-button--dense {
|
|
440
|
-
padding: ${
|
|
441
|
-
border-radius: ${
|
|
442
|
-
gap: ${
|
|
441
|
+
padding: ${lt.verticalPadding} ${lt.horizontalPadding};
|
|
442
|
+
border-radius: ${lt.borderRadius};
|
|
443
|
+
gap: ${lt.iconPadding};
|
|
443
444
|
}
|
|
444
445
|
|
|
445
446
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
446
|
-
padding: calc(${
|
|
447
|
+
padding: calc(${lt.verticalPadding} - 1px) calc(${lt.horizontalPadding} - 1px);
|
|
447
448
|
}
|
|
448
449
|
|
|
449
450
|
.ft-button:not([disabled]):hover {
|
|
@@ -451,22 +452,22 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
451
452
|
}
|
|
452
453
|
|
|
453
454
|
.ft-button--round {
|
|
454
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
455
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${pe.verticalPadding});
|
|
455
456
|
}
|
|
456
457
|
|
|
457
458
|
.ft-button--round.ft-button--dense {
|
|
458
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
459
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${lt.verticalPadding});
|
|
459
460
|
}
|
|
460
461
|
|
|
461
462
|
.ft-button[disabled] {
|
|
462
463
|
filter: grayscale(1);
|
|
463
|
-
opacity: ${
|
|
464
|
+
opacity: ${pe.opacityDisabled};
|
|
464
465
|
}
|
|
465
466
|
|
|
466
467
|
.ft-button.ft-button--primary {
|
|
467
|
-
background-color: ${
|
|
468
|
-
--ft-button-internal-color: ${
|
|
469
|
-
${
|
|
468
|
+
background-color: ${Rl.backgroundColor};
|
|
469
|
+
--ft-button-internal-color: ${Rl.color};
|
|
470
|
+
${L(G.color,Rl.rippleColor)};
|
|
470
471
|
}
|
|
471
472
|
|
|
472
473
|
.ft-button:focus {
|
|
@@ -479,13 +480,13 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
479
480
|
white-space: nowrap;
|
|
480
481
|
text-overflow: ellipsis;
|
|
481
482
|
display: block;
|
|
482
|
-
margin: 0 ${
|
|
483
|
-
${
|
|
484
|
-
${
|
|
483
|
+
margin: 0 ${pe.iconPadding};
|
|
484
|
+
${L(st.fontSize,"1em")};
|
|
485
|
+
${L(st.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
485
486
|
}
|
|
486
487
|
|
|
487
488
|
.ft-button--dense .ft-button--label {
|
|
488
|
-
margin: 0 ${
|
|
489
|
+
margin: 0 ${lt.iconPadding};
|
|
489
490
|
}
|
|
490
491
|
|
|
491
492
|
.ft-button--label[hidden] {
|
|
@@ -498,13 +499,13 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
498
499
|
}
|
|
499
500
|
|
|
500
501
|
.ft-button--label[hidden] + [part="icon"] {
|
|
501
|
-
margin: 0 calc(${
|
|
502
|
-
padding: 0 ${
|
|
502
|
+
margin: 0 calc(${pe.horizontalPadding} * -1);
|
|
503
|
+
padding: 0 ${pe.verticalPadding};
|
|
503
504
|
}
|
|
504
505
|
|
|
505
506
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
506
|
-
margin: 0 calc(${
|
|
507
|
-
padding: 0 ${
|
|
507
|
+
margin: 0 calc(${lt.horizontalPadding} * -1);
|
|
508
|
+
padding: 0 ${lt.verticalPadding};
|
|
508
509
|
}
|
|
509
510
|
|
|
510
511
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -512,29 +513,29 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
512
513
|
}
|
|
513
514
|
|
|
514
515
|
ft-loader {
|
|
515
|
-
${
|
|
516
|
-
${
|
|
516
|
+
${L(we.size,pe.iconSize)};
|
|
517
|
+
${L(we.color,"var(--ft-button-internal-color)")};
|
|
517
518
|
}
|
|
518
|
-
`,
|
|
519
|
+
`,Fo]});var Pe,se,_l=h(()=>{"use strict";B();oe();Nr();$();yr();Pe=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},se=class extends J{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Se(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Se(10),this.moveRipple=e=>{var r,o;let{x:i,y:a}=this.getCoordinates(e),s=(o=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return D`
|
|
519
520
|
<style>
|
|
520
521
|
.ft-ripple .ft-ripple--effect {
|
|
521
522
|
left: ${this.originX}px;
|
|
522
523
|
top: ${this.originY}px;
|
|
523
524
|
}
|
|
524
525
|
</style>
|
|
525
|
-
<div class="${
|
|
526
|
+
<div class="${yt(e)}">
|
|
526
527
|
<div class="ft-ripple--background"></div>
|
|
527
528
|
<div class="ft-ripple--effect"></div>
|
|
528
529
|
</div>
|
|
529
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,
|
|
530
|
-
<${
|
|
530
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,o;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let o=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;o&&this.setupFor((r=this.target)!==null&&r!==void 0?r:o)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>c=>{l.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(c)},o=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",o,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",o,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,o=e,i,a;return r.x!=null?{x:i,y:a}=r:o.touches!=null&&(i=o.touches[0].clientX,a=o.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};se.elementDefinitions={};se.styles=Rf;Pe([C({type:Boolean})],se.prototype,"primary",void 0);Pe([C({type:Boolean})],se.prototype,"secondary",void 0);Pe([C({type:Boolean})],se.prototype,"unbounded",void 0);Pe([C({type:Boolean})],se.prototype,"activated",void 0);Pe([C({type:Boolean})],se.prototype,"selected",void 0);Pe([C({type:Boolean})],se.prototype,"disabled",void 0);Pe([de()],se.prototype,"hovered",void 0);Pe([de()],se.prototype,"focused",void 0);Pe([de()],se.prototype,"pressed",void 0);Pe([de()],se.prototype,"rippling",void 0);Pe([de()],se.prototype,"originX",void 0);Pe([de()],se.prototype,"originY",void 0);Pe([be(".ft-ripple")],se.prototype,"ripple",void 0);Pe([be(".ft-ripple--effect")],se.prototype,"rippleEffect",void 0)});var Zf=h(()=>{"use strict"});var ci=h(()=>{"use strict";$();_l();_l();yr();Zf();j("ft-ripple")(se)});var Yf,Yg,Tl,qf,Xf,Pl,pw,Qf=h(()=>{ft();Yf=Symbol.for(""),Yg=t=>{if(t?.r===Yf)return t?._$litStatic$},Tl=t=>({_$litStatic$:t,r:Yf}),qf=new Map,Xf=t=>(e,...r)=>{let o=r.length,i,a,s=[],l=[],c,d=0,m=!1;for(;d<o;){for(c=e[d];d<o&&(a=r[d],(i=Yg(a))!==void 0);)c+=i+e[++d],m=!0;d!==o&&l.push(a),s.push(c),d++}if(d===o&&s.push(e[o]),m){let f=s.join("$$lit$$");(e=qf.get(f))===void 0&&(s.raw=s,qf.set(f,e=s)),r=l}return t(e,...r)},Pl=Xf(su),pw=Xf(lu)});var Jf=h(()=>{Qf()});var Ht,ui=h(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Ht||(Ht={}))});var eh,me,Ll=h(()=>{"use strict";Jf();oe();$();ui();li();eh=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},me=class extends J{constructor(){super(...arguments),this.variant=Ht.body1}render(){return this.element?Pl`
|
|
531
|
+
<${Tl(this.element)}
|
|
531
532
|
part="text"
|
|
532
533
|
class="ft-typography ft-typography--${this.variant}">
|
|
533
534
|
<slot></slot>
|
|
534
|
-
</${
|
|
535
|
-
`:
|
|
535
|
+
</${Tl(this.element)}>
|
|
536
|
+
`:Pl`
|
|
536
537
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
537
|
-
`}};
|
|
538
|
+
`}};me.styles=[Lf,If,$f,kf,Mf,si,Df,Uf,Ff,Bf,Wf,...Hf];eh([C()],me.prototype,"element",void 0);eh([C()],me.prototype,"variant",void 0)});var wt=h(()=>{"use strict";$();Ll();Ll();li();ui();j("ft-typography")(me)});var zt,th,Il=h(()=>{"use strict";B();$();zt={distance:n.create("--ft-tooltip-distance","","SIZE","4px"),color:n.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:n.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:n.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:n.external(I.borderRadiusS,"Design system"),maxWidth:n.create("--ft-tooltip-max-width","","SIZE","150px")},th=P`
|
|
538
539
|
.ft-tooltip--container {
|
|
539
540
|
display: block;
|
|
540
541
|
}
|
|
@@ -549,21 +550,21 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
549
550
|
box-sizing: border-box;
|
|
550
551
|
overflow: hidden;
|
|
551
552
|
width: max-content;
|
|
552
|
-
max-width: ${
|
|
553
|
+
max-width: ${zt.maxWidth};
|
|
553
554
|
text-align: center;
|
|
554
|
-
padding: ${
|
|
555
|
-
z-index: ${
|
|
555
|
+
padding: ${zt.distance};
|
|
556
|
+
z-index: ${zt.zIndex};
|
|
556
557
|
}
|
|
557
558
|
|
|
558
559
|
.ft-tooltip--content {
|
|
559
560
|
padding: 4px 8px;
|
|
560
|
-
border-radius: ${
|
|
561
|
-
background-color: ${
|
|
562
|
-
color: ${
|
|
561
|
+
border-radius: ${zt.borderRadiusS};
|
|
562
|
+
background-color: ${zt.backgroundColor};
|
|
563
|
+
color: ${zt.color};
|
|
563
564
|
position: relative;
|
|
564
565
|
word-break: break-word;
|
|
565
566
|
}
|
|
566
|
-
`});var
|
|
567
|
+
`});var Le,fe,$l=h(()=>{"use strict";B();oe();$();wt();Il();Dn();Le=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends J{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Se,this.revealDebouncer=new Se}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return D`
|
|
567
568
|
<div part="container"
|
|
568
569
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
569
570
|
@mouseenter=${this.onHover}
|
|
@@ -581,45 +582,45 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
581
582
|
</div>
|
|
582
583
|
</div>
|
|
583
584
|
</div>
|
|
584
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",is(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};pe.elementDefinitions={"ft-typography":he};pe.styles=wf;Te([C()],pe.prototype,"text",void 0);Te([C({type:Boolean})],pe.prototype,"manual",void 0);Te([C({type:Boolean})],pe.prototype,"inline",void 0);Te([C({type:Number})],pe.prototype,"delay",void 0);Te([C()],pe.prototype,"position",void 0);Te([Xi()],pe.prototype,"slotNodes",void 0);Te([ge(".ft-tooltip--container")],pe.prototype,"container",void 0);Te([ge(".ft-tooltip")],pe.prototype,"tooltip",void 0);Te([ge(".ft-tooltip--content")],pe.prototype,"tooltipContent",void 0);Te([ue()],pe.prototype,"visible",void 0);Te([Or({passive:!0})],pe.prototype,"onTouch",null);Te([Or({passive:!0})],pe.prototype,"onHover",null);Te([Or({passive:!0})],pe.prototype,"onOut",null);Te([Or({passive:!0})],pe.prototype,"onClick",null)});var Af=f(()=>{"use strict"});var El=f(()=>{"use strict";$();Cl();Cl();Ol();Af();z("ft-tooltip")(pe)});function Rf(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=Mg.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=wl.get(l))!==null&&n!==void 0?n:wl.get(e))!==null&&i!==void 0?i:wl.get(s))!==null&&a!==void 0?a:_.UNKNOWN}var Ft,_,wl,Mg,vw,Al=f(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.EYE="",t.SHARE="󨃱"})(Ft||(Ft={}));(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(_||(_={}));wl=new Map([...["abw"].map(t=>[t,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,_.AUDIO]),...["avi"].map(t=>[t,_.AVI]),...["chm","xhs"].map(t=>[t,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,_.CODE]),...["csv"].map(t=>[t,_.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,_.DITA]),...["epub"].map(t=>[t,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,_.EXCEL]),...["flac"].map(t=>[t,_.FLAC]),...["gif"].map(t=>[t,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,_.GZIP]),...["html","htm","xhtml"].map(t=>[t,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,_.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,_.JPEG]),...["json"].map(t=>[t,_.JSON]),...["m4a","m4p"].map(t=>[t,_.M4A]),...["mov","qt"].map(t=>[t,_.MOV]),...["mp3"].map(t=>[t,_.MP3]),...["mp4","m4v"].map(t=>[t,_.MP4]),...["ogg","oga"].map(t=>[t,_.OGG]),...["pdf","ps"].map(t=>[t,_.PDF]),...["png"].map(t=>[t,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,_.POWERPOINT]),...["rar"].map(t=>[t,_.RAR]),...["stp"].map(t=>[t,_.STP]),...["txt","rtf","md","mdown"].map(t=>[t,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,_.VIDEO]),...["wav"].map(t=>[t,_.WAV]),...["wma"].map(t=>[t,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,_.WORD]),...["xml","xsl","rdf"].map(t=>[t,_.XML]),...["yaml","yml","x-yaml"].map(t=>[t,_.YAML]),...["zip"].map(t=>[t,_.ZIP])]),Mg=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"]]);vw={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"}});var Be,Rl=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Be||(Be={}))});var ei,Ie,Nl=f(()=>{"use strict";B();te();$();vo();Al();Bo();Rl();ei=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ie=class extends q{constructor(){super(...arguments),this.resolvedIcon=W}render(){let e=this.variant&&Object.values(Be).includes(this.variant)?this.variant:Be.fluid_topics,r=e!==Be.material||!!this.value;return M`
|
|
585
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ms(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};fe.elementDefinitions={"ft-typography":me};fe.styles=th;Le([C()],fe.prototype,"text",void 0);Le([C({type:Boolean})],fe.prototype,"manual",void 0);Le([C({type:Boolean})],fe.prototype,"inline",void 0);Le([C({type:Number})],fe.prototype,"delay",void 0);Le([C()],fe.prototype,"position",void 0);Le([na()],fe.prototype,"slotNodes",void 0);Le([be(".ft-tooltip--container")],fe.prototype,"container",void 0);Le([be(".ft-tooltip")],fe.prototype,"tooltip",void 0);Le([be(".ft-tooltip--content")],fe.prototype,"tooltipContent",void 0);Le([de()],fe.prototype,"visible",void 0);Le([wr({passive:!0})],fe.prototype,"onTouch",null);Le([wr({passive:!0})],fe.prototype,"onHover",null);Le([wr({passive:!0})],fe.prototype,"onOut",null);Le([wr({passive:!0})],fe.prototype,"onClick",null)});var rh=h(()=>{"use strict"});var kl=h(()=>{"use strict";$();$l();$l();Il();rh();j("ft-tooltip")(fe)});function oh(t,e){var r,o,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=Xg.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(o=Ml.get(l))!==null&&o!==void 0?o:Ml.get(e))!==null&&i!==void 0?i:Ml.get(s))!==null&&a!==void 0?a:N.UNKNOWN}var jt,N,Ml,Xg,Vw,Dl=h(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})(jt||(jt={}));(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(N||(N={}));Ml=new Map([...["abw"].map(t=>[t,N.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,N.AUDIO]),...["avi"].map(t=>[t,N.AVI]),...["chm","xhs"].map(t=>[t,N.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,N.CODE]),...["csv"].map(t=>[t,N.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,N.DITA]),...["epub"].map(t=>[t,N.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,N.EXCEL]),...["flac"].map(t=>[t,N.FLAC]),...["gif"].map(t=>[t,N.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,N.GZIP]),...["html","htm","xhtml"].map(t=>[t,N.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,N.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,N.JPEG]),...["json"].map(t=>[t,N.JSON]),...["m4a","m4p"].map(t=>[t,N.M4A]),...["mov","qt"].map(t=>[t,N.MOV]),...["mp3"].map(t=>[t,N.MP3]),...["mp4","m4v"].map(t=>[t,N.MP4]),...["ogg","oga"].map(t=>[t,N.OGG]),...["pdf","ps"].map(t=>[t,N.PDF]),...["png"].map(t=>[t,N.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,N.POWERPOINT]),...["rar"].map(t=>[t,N.RAR]),...["stp"].map(t=>[t,N.STP]),...["txt","rtf","md","mdown"].map(t=>[t,N.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,N.VIDEO]),...["wav"].map(t=>[t,N.WAV]),...["wma"].map(t=>[t,N.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,N.WORD]),...["xml","xsl","rdf"].map(t=>[t,N.XML]),...["yaml","yml","x-yaml"].map(t=>[t,N.YAML]),...["zip"].map(t=>[t,N.ZIP])]),Xg=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"]]);Vw={[N.ABW]:"#91ABC6",[N.AUDIO]:"#1795E3",[N.AVI]:"#E63324",[N.CHM]:"#71C3EB",[N.CODE]:"#71C3EB",[N.CSV]:"#1F7345",[N.DITA]:"#71C3EB",[N.EPUB]:"#85B926",[N.EXCEL]:"#1F7345",[N.FLAC]:"#1795E3",[N.GIF]:"#59B031",[N.GZIP]:"#F8AB36",[N.HTML]:"#71C3EB",[N.IMAGE]:"#59B031",[N.JPEG]:"#59B031",[N.JSON]:"#71C3EB",[N.M4A]:"#1795E3",[N.MOV]:"#E63324",[N.MP3]:"#1795E3",[N.MP4]:"#E63324",[N.OGG]:"#1795E3",[N.PDF]:"#E44948",[N.PNG]:"#59B031",[N.POWERPOINT]:"#B54A2B",[N.RAR]:"#F8AB36",[N.STP]:"#3764B1",[N.TEXT]:"#3162AB",[N.UNKNOWN]:"#999999",[N.VIDEO]:"#E63324",[N.WAV]:"#1795E3",[N.WMA]:"#1795E3",[N.WORD]:"#3162AB",[N.XML]:"#71C3EB",[N.YAML]:"#71C3EB",[N.ZIP]:"#F8AB36"}});var Be,Ul=h(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Be||(Be={}))});var di,Ie,Fl=h(()=>{"use strict";B();oe();$();wo();Dl();Zo();Ul();di=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ie=class extends J{constructor(){super(...arguments),this.resolvedIcon=z}render(){let e=this.variant&&Object.values(Be).includes(this.variant)?this.variant:Be.fluid_topics,r=e!==Be.material||!!this.value;return D`
|
|
585
586
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
586
|
-
${
|
|
587
|
+
${lr(this.resolvedIcon)}
|
|
587
588
|
<slot ?hidden=${r}></slot>
|
|
588
589
|
</i>
|
|
589
|
-
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(
|
|
590
|
+
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let o=this.value||this.textContent;switch(this.variant){case Be.file_format:this.resolvedIcon=(e=N[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case Be.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(r=jt[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Ie.elementDefinitions={};Ie.styles=jf;di([C()],Ie.prototype,"variant",void 0);di([C()],Ie.prototype,"value",void 0);di([de()],Ie.prototype,"resolvedIcon",void 0);di([be("slot")],Ie.prototype,"slottedContent",void 0)});var pi=h(()=>{"use strict";$();Fl();Zo();Ul();Fl();Dl();j("ft-icon")(Ie)});var gr,Bl=h(()=>{"use strict";B();$();Go();gr=class extends J{render(){return D`
|
|
590
591
|
<div class="ft-loader">
|
|
591
592
|
<div></div>
|
|
592
593
|
<div></div>
|
|
593
594
|
<div></div>
|
|
594
595
|
<div></div>
|
|
595
596
|
</div>
|
|
596
|
-
`}};
|
|
597
|
+
`}};gr.styles=zf});var nh=h(()=>{"use strict"});var ih=h(()=>{"use strict";$();Bl();Go();nh();Bl();j("ft-loader")(gr)});var $e,ye,Wl=h(()=>{"use strict";$();ci();kl();wt();pi();ih();B();Nr();oe();$e=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ye=class extends bl(J,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(D`
|
|
597
598
|
<button part="button"
|
|
598
|
-
class="${
|
|
599
|
+
class="${yt(this.buttonClasses)}"
|
|
599
600
|
aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
|
|
600
601
|
?disabled=${this.isDisabled()}>
|
|
601
602
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
602
603
|
<ft-typography part="label"
|
|
603
604
|
variant=${this.typographyVariant}
|
|
604
605
|
element="span"
|
|
605
|
-
class="ft-button--label ${
|
|
606
|
+
class="ft-button--label ${Al?"ft-safari-ellipsis-fix":""}"
|
|
606
607
|
?hidden=${!this.hasTextContent()}>
|
|
607
608
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
608
609
|
</ft-typography>
|
|
609
610
|
${this.resolveIcon()}
|
|
610
611
|
</button>
|
|
611
|
-
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
612
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?D`
|
|
612
613
|
<ft-tooltip part="tooltip"
|
|
613
614
|
text="${this.getLabel()}"
|
|
614
615
|
position="${this.tooltipPosition}">
|
|
615
616
|
${e}
|
|
616
617
|
</ft-tooltip>
|
|
617
|
-
`:e}resolveIcon(){return this.loading?
|
|
618
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
618
|
+
`:e}resolveIcon(){return this.loading?D`
|
|
619
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?D`
|
|
619
620
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
620
|
-
`:
|
|
621
|
+
`:D`
|
|
621
622
|
<slot part="icon" name="icon"></slot>
|
|
622
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};
|
|
623
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ye.elementDefinitions={"ft-ripple":se,"ft-tooltip":fe,"ft-typography":me,"ft-icon":Ie,"ft-loader":gr};$e([C({type:String,reflect:!0})],ye.prototype,"role",void 0);$e([C()],ye.prototype,"type",void 0);$e([C({type:Boolean})],ye.prototype,"disabled",void 0);$e([C()],ye.prototype,"label",void 0);$e([C()],ye.prototype,"icon",void 0);$e([C()],ye.prototype,"iconVariant",void 0);$e([C({type:Boolean})],ye.prototype,"trailingIcon",void 0);$e([C({type:Boolean})],ye.prototype,"loading",void 0);$e([C({attribute:"aria-label"})],ye.prototype,"ariaLabel",void 0);$e([C()],ye.prototype,"tooltipPosition",void 0);$e([C({type:Boolean})],ye.prototype,"hideTooltip",void 0);$e([C({type:Boolean})],ye.prototype,"forceTooltip",void 0);$e([be(".ft-button")],ye.prototype,"button",void 0);$e([be(".ft-button--label slot")],ye.prototype,"slottedContent",void 0)});var fi,We,Hl=h(()=>{"use strict";oe();$();Nl();Wl();fi=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},We=class extends ye{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};We.styles=[Bo,Gf];fi([C({type:Boolean})],We.prototype,"primary",void 0);fi([C({type:Boolean})],We.prototype,"outlined",void 0);fi([C({type:Boolean})],We.prototype,"dense",void 0);fi([C({type:Boolean})],We.prototype,"round",void 0)});var ah,zl=h(()=>{"use strict";B();$();yr();Go();Zo();K();K();ah=[P`
|
|
623
624
|
:host {
|
|
624
625
|
display: inline-block;
|
|
625
626
|
max-width: 100%;
|
|
@@ -669,7 +670,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
669
670
|
}
|
|
670
671
|
|
|
671
672
|
.ft-button:focus-visible {
|
|
672
|
-
outline-color: ${
|
|
673
|
+
outline-color: ${R.focusFocusRingColor};
|
|
673
674
|
outline-style: solid;
|
|
674
675
|
}
|
|
675
676
|
|
|
@@ -703,171 +704,171 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
703
704
|
/** Primary styles **/
|
|
704
705
|
|
|
705
706
|
.ft-button--primary {
|
|
706
|
-
${
|
|
707
|
+
${L(we.color,R.primaryIconColor)};
|
|
707
708
|
|
|
708
|
-
${
|
|
709
|
-
${
|
|
710
|
-
${
|
|
711
|
-
${
|
|
712
|
-
${
|
|
709
|
+
${L(G.color,R.primaryStateLayerColor)};
|
|
710
|
+
${L(G.opacityContentOnSurfaceHover,R.primaryHoverStateLayerOpacity)};
|
|
711
|
+
${L(G.opacityContentOnSurfaceFocused,R.primaryFocusStateLayerOpacity)};
|
|
712
|
+
${L(G.opacityContentOnSurfaceSelected,R.primaryActiveStateLayerOpacity)};
|
|
713
|
+
${L(G.opacityContentOnSurfacePressed,R.primaryActiveStateLayerOpacity)};
|
|
713
714
|
|
|
714
|
-
background-color: ${
|
|
715
|
-
color: ${
|
|
715
|
+
background-color: ${R.primaryBackgroundColor};
|
|
716
|
+
color: ${R.primaryColor};
|
|
716
717
|
border-style: none;
|
|
717
718
|
}
|
|
718
719
|
|
|
719
720
|
.ft-button--primary[disabled] {
|
|
720
|
-
opacity: ${
|
|
721
|
+
opacity: ${R.primaryDisabledComponentOpacity};
|
|
721
722
|
}
|
|
722
723
|
|
|
723
724
|
.ft-button--primary ft-icon {
|
|
724
|
-
color: ${
|
|
725
|
+
color: ${R.primaryIconColor};
|
|
725
726
|
}
|
|
726
727
|
|
|
727
728
|
/** Secondary styles **/
|
|
728
729
|
|
|
729
730
|
.ft-button--secondary {
|
|
730
|
-
${
|
|
731
|
+
${L(we.color,R.secondaryIconColor)};
|
|
731
732
|
|
|
732
|
-
${
|
|
733
|
-
${
|
|
734
|
-
${
|
|
735
|
-
${
|
|
736
|
-
${
|
|
733
|
+
${L(G.color,R.secondaryStateLayerColor)};
|
|
734
|
+
${L(G.opacityContentOnSurfaceHover,R.secondaryHoverStateLayerOpacity)};
|
|
735
|
+
${L(G.opacityContentOnSurfaceFocused,R.secondaryFocusStateLayerOpacity)};
|
|
736
|
+
${L(G.opacityContentOnSurfaceSelected,R.secondaryActiveStateLayerOpacity)};
|
|
737
|
+
${L(G.opacityContentOnSurfacePressed,R.secondaryActiveStateLayerOpacity)};
|
|
737
738
|
|
|
738
|
-
background-color: ${
|
|
739
|
-
color: ${
|
|
740
|
-
border-color: ${
|
|
739
|
+
background-color: ${R.secondaryBackgroundColor};
|
|
740
|
+
color: ${R.secondaryColor};
|
|
741
|
+
border-color: ${R.secondaryBorderColor};
|
|
741
742
|
border-style: solid;
|
|
742
743
|
}
|
|
743
744
|
|
|
744
745
|
.ft-button--secondary[disabled] {
|
|
745
|
-
opacity: ${
|
|
746
|
+
opacity: ${R.secondaryDisabledComponentOpacity};
|
|
746
747
|
}
|
|
747
748
|
|
|
748
749
|
.ft-button--secondary ft-icon {
|
|
749
|
-
color: ${
|
|
750
|
+
color: ${R.secondaryIconColor};
|
|
750
751
|
}
|
|
751
752
|
|
|
752
753
|
/** Tertiary styles **/
|
|
753
754
|
|
|
754
755
|
.ft-button--tertiary {
|
|
755
|
-
${
|
|
756
|
+
${L(we.color,R.tertiaryIconColor)};
|
|
756
757
|
|
|
757
|
-
${
|
|
758
|
-
${
|
|
759
|
-
${
|
|
760
|
-
${
|
|
761
|
-
${
|
|
758
|
+
${L(G.color,R.tertiaryStateLayerColor)};
|
|
759
|
+
${L(G.opacityContentOnSurfaceHover,R.tertiaryHoverStateLayerOpacity)};
|
|
760
|
+
${L(G.opacityContentOnSurfaceFocused,R.tertiaryFocusStateLayerOpacity)};
|
|
761
|
+
${L(G.opacityContentOnSurfaceSelected,R.tertiaryActiveStateLayerOpacity)};
|
|
762
|
+
${L(G.opacityContentOnSurfacePressed,R.tertiaryActiveStateLayerOpacity)};
|
|
762
763
|
|
|
763
|
-
background-color: ${
|
|
764
|
-
color: ${
|
|
764
|
+
background-color: ${R.tertiaryBackgroundColor};
|
|
765
|
+
color: ${R.tertiaryColor};
|
|
765
766
|
border-style: none;
|
|
766
767
|
}
|
|
767
768
|
|
|
768
769
|
.ft-button--tertiary[disabled] {
|
|
769
|
-
opacity: ${
|
|
770
|
+
opacity: ${R.tertiaryDisabledComponentOpacity};
|
|
770
771
|
}
|
|
771
772
|
|
|
772
773
|
.ft-button--tertiary ft-icon {
|
|
773
|
-
color: ${
|
|
774
|
+
color: ${R.tertiaryIconColor};
|
|
774
775
|
}
|
|
775
776
|
|
|
776
777
|
/** Neutral styles **/
|
|
777
778
|
|
|
778
779
|
.ftds--family-neutral {
|
|
779
|
-
${
|
|
780
|
+
${L(we.color,R.neutralIconColor)};
|
|
780
781
|
|
|
781
|
-
${
|
|
782
|
-
${
|
|
783
|
-
${
|
|
784
|
-
${
|
|
785
|
-
${
|
|
782
|
+
${L(G.backgroundColor,R.neutralStateLayerColor)};
|
|
783
|
+
${L(G.opacityContentOnSurfaceHover,R.neutralHoverStateLayerOpacity)};
|
|
784
|
+
${L(G.opacityContentOnSurfaceFocused,R.neutralFocusStateLayerOpacity)};
|
|
785
|
+
${L(G.opacityContentOnSurfaceSelected,R.neutralActiveStateLayerOpacity)};
|
|
786
|
+
${L(G.opacityContentOnSurfacePressed,R.neutralActiveStateLayerOpacity)};
|
|
786
787
|
|
|
787
|
-
background-color: ${
|
|
788
|
-
color: ${
|
|
788
|
+
background-color: ${R.neutralBackgroundColor};
|
|
789
|
+
color: ${R.neutralColor};
|
|
789
790
|
border-style: none;
|
|
790
791
|
}
|
|
791
792
|
|
|
792
793
|
.ftds--family-neutral[disabled] {
|
|
793
|
-
opacity: ${
|
|
794
|
+
opacity: ${R.neutralDisabledComponentOpacity};
|
|
794
795
|
}
|
|
795
796
|
|
|
796
797
|
.ftds--family-neutral ft-icon {
|
|
797
|
-
color: ${
|
|
798
|
+
color: ${R.neutralIconColor};
|
|
798
799
|
}
|
|
799
800
|
|
|
800
801
|
/** Large styles **/
|
|
801
802
|
|
|
802
803
|
.ftds--size-large {
|
|
803
|
-
${
|
|
804
|
-
${
|
|
804
|
+
${L(Ae.size,R.largeIconSize)};
|
|
805
|
+
${L(we.size,R.largeIconSize)};
|
|
805
806
|
|
|
806
|
-
height: ${
|
|
807
|
-
padding: 0 ${
|
|
808
|
-
gap: ${
|
|
809
|
-
border-radius: ${
|
|
810
|
-
border-width: ${
|
|
807
|
+
height: ${R.largeHeight};
|
|
808
|
+
padding: 0 ${R.largeHorizontalPadding};
|
|
809
|
+
gap: ${R.largeGap};
|
|
810
|
+
border-radius: ${R.largeBorderRadius};
|
|
811
|
+
border-width: ${R.largeBorderWidth};
|
|
811
812
|
}
|
|
812
813
|
|
|
813
814
|
.ftds--size-large:focus-visible {
|
|
814
|
-
outline-width: ${
|
|
815
|
-
outline-offset: ${
|
|
815
|
+
outline-width: ${R.largeFocusOutlineWidth};
|
|
816
|
+
outline-offset: ${R.largeFocusOutlineOffset};
|
|
816
817
|
}
|
|
817
818
|
|
|
818
819
|
.ftds--size-large.ft-button--icon-only {
|
|
819
|
-
width: ${
|
|
820
|
+
width: ${R.largeIconOnlyWidth};
|
|
820
821
|
}
|
|
821
822
|
|
|
822
823
|
/** Small styles **/
|
|
823
824
|
|
|
824
825
|
.ftds--size-medium {
|
|
825
|
-
${
|
|
826
|
-
${
|
|
826
|
+
${L(Ae.size,R.mediumIconSize)};
|
|
827
|
+
${L(we.size,R.mediumIconSize)};
|
|
827
828
|
|
|
828
|
-
height: ${
|
|
829
|
-
padding: 0 ${
|
|
830
|
-
gap: ${
|
|
831
|
-
border-radius: ${
|
|
832
|
-
border-width: ${
|
|
829
|
+
height: ${R.mediumHeight};
|
|
830
|
+
padding: 0 ${R.mediumHorizontalPadding};
|
|
831
|
+
gap: ${R.mediumGap};
|
|
832
|
+
border-radius: ${R.mediumBorderRadius};
|
|
833
|
+
border-width: ${R.mediumBorderWidth};
|
|
833
834
|
}
|
|
834
835
|
|
|
835
836
|
.ftds--size-medium:focus-visible {
|
|
836
|
-
outline-width: ${
|
|
837
|
-
outline-offset: ${
|
|
837
|
+
outline-width: ${R.mediumFocusOutlineWidth};
|
|
838
|
+
outline-offset: ${R.mediumFocusOutlineOffset};
|
|
838
839
|
}
|
|
839
840
|
|
|
840
841
|
.ftds--size-medium.ft-button--icon-only {
|
|
841
|
-
width: ${
|
|
842
|
+
width: ${R.mediumIconOnlyWidth};
|
|
842
843
|
}
|
|
843
844
|
|
|
844
845
|
|
|
845
846
|
/** Small styles **/
|
|
846
847
|
|
|
847
848
|
.ftds--size-small {
|
|
848
|
-
${
|
|
849
|
-
${
|
|
849
|
+
${L(Ae.size,R.smallIconSize)};
|
|
850
|
+
${L(we.size,R.smallIconSize)};
|
|
850
851
|
|
|
851
|
-
height: ${
|
|
852
|
-
padding: 0 ${
|
|
853
|
-
gap: ${
|
|
854
|
-
border-radius: ${
|
|
855
|
-
border-width: ${
|
|
852
|
+
height: ${R.smallHeight};
|
|
853
|
+
padding: 0 ${R.smallHorizontalPadding};
|
|
854
|
+
gap: ${R.smallGap};
|
|
855
|
+
border-radius: ${R.smallBorderRadius};
|
|
856
|
+
border-width: ${R.smallBorderWidth};
|
|
856
857
|
}
|
|
857
858
|
|
|
858
859
|
.ftds--size-small:focus-visible {
|
|
859
|
-
outline-width: ${
|
|
860
|
-
outline-offset: ${
|
|
860
|
+
outline-width: ${R.smallFocusOutlineWidth};
|
|
861
|
+
outline-offset: ${R.smallFocusOutlineOffset};
|
|
861
862
|
}
|
|
862
863
|
|
|
863
864
|
.ftds--size-small.ft-button--icon-only {
|
|
864
|
-
width: ${
|
|
865
|
+
width: ${R.smallIconOnlyWidth};
|
|
865
866
|
}
|
|
866
|
-
`,
|
|
867
|
+
`,Fo]});var hi,At,jl=h(()=>{"use strict";Wl();oe();ui();$();zl();K();pi();hi=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},At=class extends Wn(ye){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=cr.brand,this.iconVariant=Be.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case bt.large:return Ht.body2medium;case bt.medium:return Ht.caption1medium;case bt.small:return Ht.caption2medium}}};At.styles=[Bo,ah];hi([C({type:Boolean})],At.prototype,"primary",void 0);hi([C({type:Boolean})],At.prototype,"secondary",void 0);hi([C({type:Boolean})],At.prototype,"tertiary",void 0);hi([C({type:Boolean})],At.prototype,"round",void 0)});var sh=h(()=>{"use strict"});var lh=h(()=>{"use strict"});var mi=h(()=>{"use strict";$();Hl();jl();Hl();Nl();sh();jl();zl();lh();j("ft-button")(We);j("ftds-button")(At)});var ae,Vl,qo=h(()=>{"use strict";B();$();mi();kl();ae={height:n.create("--ft-search-input-height","","SIZE","38px"),borderRadius:n.extend("--ft-search-input-border-radius","",I.borderRadiusS),desktopFiltersHeight:n.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:n.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:n.extend("--ft-search-input-background-color","",I.colorSurface),colorOnSurface:n.extend("--ft-search-input-color","",I.colorOnSurface),colorOnSurfaceMedium:n.extend("--ft-search-input-placeholder-color","",I.colorOnSurfaceMedium),colorOutline:n.extend("--ft-search-input-outline-color","",I.colorOutline),elevation02:n.extend("--ft-search-input-elevation","",I.elevation02),focusOutlineColor:n.extend("--ft-search-input-focused-outline-color","",I.colorPrimary),buttonColor:n.extend("--ft-search-input-button-color","",I.colorPrimary),buttonRippleColor:n.extend("--ft-search-input-button-ripple-color","",I.colorPrimary)},Vl=P`
|
|
867
868
|
* {
|
|
868
869
|
box-sizing: border-box;
|
|
869
|
-
${
|
|
870
|
-
${
|
|
870
|
+
${L(pe.color,ae.buttonColor)};
|
|
871
|
+
${L(pe.rippleColor,ae.buttonRippleColor)};
|
|
871
872
|
}
|
|
872
873
|
|
|
873
874
|
.ft-search-input {
|
|
@@ -875,11 +876,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
875
876
|
display: flex;
|
|
876
877
|
flex-direction: row;
|
|
877
878
|
align-items: center;
|
|
878
|
-
height: ${
|
|
879
|
+
height: ${ae.height};
|
|
879
880
|
|
|
880
|
-
background: ${
|
|
881
|
-
border: 1px solid ${
|
|
882
|
-
border-radius: ${
|
|
881
|
+
background: ${ae.colorSurface};
|
|
882
|
+
border: 1px solid ${ae.colorOutline};
|
|
883
|
+
border-radius: ${ae.borderRadius};
|
|
883
884
|
}
|
|
884
885
|
|
|
885
886
|
.ft-search-input--input-container {
|
|
@@ -894,11 +895,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
894
895
|
width: 100%;
|
|
895
896
|
display: grid;
|
|
896
897
|
padding: 0 8px;
|
|
897
|
-
border-radius: ${
|
|
898
|
+
border-radius: ${ae.borderRadius};
|
|
898
899
|
}
|
|
899
900
|
|
|
900
901
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
901
|
-
outline: 2px solid ${
|
|
902
|
+
outline: 2px solid ${ae.focusOutlineColor};
|
|
902
903
|
}
|
|
903
904
|
|
|
904
905
|
.ft-search-input--input {
|
|
@@ -906,12 +907,12 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
906
907
|
width: 100%;
|
|
907
908
|
border: none;
|
|
908
909
|
background-color: transparent;
|
|
909
|
-
color: ${
|
|
910
|
+
color: ${ae.colorOnSurface};
|
|
910
911
|
outline: none;
|
|
911
912
|
}
|
|
912
913
|
|
|
913
914
|
.ft-search-input--input::placeholder {
|
|
914
|
-
color: ${
|
|
915
|
+
color: ${ae.colorOnSurfaceMedium};
|
|
915
916
|
}
|
|
916
917
|
|
|
917
918
|
.ft-search-input--actions {
|
|
@@ -921,13 +922,13 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
921
922
|
align-items: center;
|
|
922
923
|
height: 100%;
|
|
923
924
|
|
|
924
|
-
${
|
|
925
|
+
${L(zt.zIndex,`calc(${ae.floatingZIndex} + 1)`)};
|
|
925
926
|
}
|
|
926
927
|
|
|
927
928
|
.ft-search-input > ft-button,
|
|
928
929
|
.ft-search-input--actions ft-button {
|
|
929
930
|
flex-shrink: 0;
|
|
930
|
-
${
|
|
931
|
+
${L(pe.backgroundColor,"transparent")};
|
|
931
932
|
}
|
|
932
933
|
|
|
933
934
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -945,17 +946,17 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
945
946
|
|
|
946
947
|
.ft-search-input--separator {
|
|
947
948
|
height: 20px;
|
|
948
|
-
border-right: 1px solid ${
|
|
949
|
+
border-right: 1px solid ${ae.colorOutline};
|
|
949
950
|
}
|
|
950
|
-
`});var
|
|
951
|
+
`});var yi,Kl,gi=h(()=>{"use strict";B();$();yi={highlightBackgroundColor:n.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Kl=P`
|
|
951
952
|
.kwicmatch {
|
|
952
953
|
font-weight: 700;
|
|
953
|
-
background-color: ${
|
|
954
|
+
background-color: ${yi.highlightBackgroundColor};
|
|
954
955
|
}
|
|
955
|
-
`});var
|
|
956
|
+
`});var bi,Gl,xi=h(()=>{"use strict";B();$();bi={highlightBackgroundColor:n.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Gl=P`
|
|
956
957
|
.kwicmatch {
|
|
957
958
|
font-weight: 700;
|
|
958
|
-
background-color: ${
|
|
959
|
+
background-color: ${bi.highlightBackgroundColor};
|
|
959
960
|
}
|
|
960
961
|
|
|
961
962
|
a {
|
|
@@ -966,33 +967,32 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
966
967
|
a:focus {
|
|
967
968
|
outline: revert;
|
|
968
969
|
}
|
|
969
|
-
`});var
|
|
970
|
-
`});var
|
|
971
|
-
`});var
|
|
970
|
+
`});var dh,Zl=h(()=>{"use strict";B();dh=P`
|
|
971
|
+
`});var ph,ql=h(()=>{"use strict";B();ph=P`
|
|
972
|
+
`});var Qg,Yl,Jg,W,Xe=h(()=>{"use strict";$();Qg="ft-app-info",Yl=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Jg={session:(t,e)=>{Ze(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.eventBus.dispatchEvent(new Yl(e.payload)),0))}},W=Ct.get({name:Qg,reducers:Jg,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var br,vi=h(()=>{"use strict";Xe();br=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=W.getState(),i=e??o;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let i=W.subscribe(()=>{o=t.get(e),o&&(i(),r(o))})}})}}});var ct,Yo=h(()=>{"use strict";$();vi();ct=class{constructor(e=!0,r){var o;this.overrideApi=r;let i=this.constructor;i.commonCache=(o=i.commonCache)!==null&&o!==void 0?o:new rt,this.cache=e?i.commonCache:new rt}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:br.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):br.await()}clearCache(){this.cache.clearAll()}}});var fh,eb,Si,xr,hh,Xl=h(()=>{"use strict";Xe();$();Yo();eb=Symbol("clearAfterUnitTest"),Si=class extends ct{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[fh]=()=>{this.defaultMessages={},this.cache=new rt,this.listeners={}},this.currentUiLocale=W.getState().uiLocale,W.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=W.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var o;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};Ze(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new Wo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(r,...o)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>_n(0).then(()=>r()).catch(()=>null)))}};fh=eb;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Si{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Si{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});xr=window.FluidTopicsI18nService,hh=window.FluidTopicsCustomI18nService});var Re,ge,Ql=h(()=>{"use strict";B();oe();$();ql();Xe();Xl();vi();Re=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ge=class extends J{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>br.get(),this.messageContexts=[],this.cache=new rt,this.cleanSessionDebouncer=new Se}render(){return D`
|
|
972
973
|
<slot></slot>
|
|
973
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(
|
|
974
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(W.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&W.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&W.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&W.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&W.actions.noCustom(this.noCustom),e.has("editorMode")&&W.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&W.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&W.actions.session(this.session),e.has("availableUiLocales")&&W.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>xr.addContext(r)),e.has("openExternalDocumentInNewTab")&&W.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&W.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&W.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ge.elementDefinitions={};ge.styles=ph;Re([C()],ge.prototype,"baseUrl",void 0);Re([C()],ge.prototype,"apiIntegrationIdentifier",void 0);Re([C()],ge.prototype,"uiLocale",void 0);Re([Ee(null)],ge.prototype,"availableUiLocales",void 0);Re([Ee(null)],ge.prototype,"metadataConfiguration",void 0);Re([C({type:Boolean})],ge.prototype,"editorMode",void 0);Re([C({type:Boolean})],ge.prototype,"noCustom",void 0);Re([C({type:Boolean})],ge.prototype,"openExternalDocumentInNewTab",void 0);Re([C({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ge.prototype,"noCustomComponent",void 0);Re([C({type:Boolean})],ge.prototype,"withManualResources",void 0);Re([C({type:Boolean})],ge.prototype,"navigatorOnline",void 0);Re([C({type:Boolean})],ge.prototype,"forcedOffline",void 0);Re([C({type:Object})],ge.prototype,"apiProvider",void 0);Re([Ee([])],ge.prototype,"messageContexts",void 0);Re([Ee(void 0)],ge.prototype,"session",void 0)});var mh=h(()=>{"use strict";oe();Qn();ai();Xe()});var Oi,Jl=h(()=>{"use strict";Xe();Yo();Oi=class extends ct{async listMySearches(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Ci,ec=h(()=>{"use strict";Xe();Yo();Ci=class extends ct{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var tb,Ei,tc,yh,rc=h(()=>{"use strict";$();Jl();ec();Xe();tb="ft-user-assets",Ei=Ct.get({name:tb,initialState:{savedSearches:void 0,bookmarks:void 0}}),tc=class{constructor(){this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ci,this.savedSearchesService=new Oi,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();Ze((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ei.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ei.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ei.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ei.actions.bookmarks(r)}}},yh=new tc});var oc,gh=h(()=>{"use strict";Xe();oc=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new oc});var nc,bh=h(()=>{"use strict";$();nc=class{highlightHtml(e,r,o){Es(e,r,o)}};window.FluidTopicsHighlightHtmlService=new nc});var ic,xh=h(()=>{"use strict";$();Xe();ic=class{isDate(e){var r,o,i,a;return(a=(i=((o=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var o,i,a;return Kr.format(e,(o=r?.locale)!==null&&o!==void 0?o:W.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ic});var vh=h(()=>{"use strict";ec();vi();gh();Xl();Yo();bh();Jl();xh()});var Sh=h(()=>{"use strict"});var ro=h(()=>{"use strict";$();Ql();mh();Xe();rc();vh();ql();Sh();Ql();j("ft-app-context")(ge)});function Ve(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?hh:xr}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let c=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...c)}onI18nUpdate(i){var a,s;(a=this[ac])===null||a===void 0||a.forEach((l,c)=>{var d;let m=this.getI18nAttributeValue(c);((d=m?.context)===null||d===void 0?void 0:d.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(c,m,l)}),(s=this[wi])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[ac])===null||a===void 0||a.forEach((l,c)=>{let d=this.getI18nAttributeValue(c);d?.context&&d.key&&(i.has(c)||l.argsProvider!=null)&&(i.has(c)&&this.addI18nContext(d.context),this.updateI18nAttributeMessage(c,d,l))}),(s=this[wi])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[wi])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[ac])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(c=>this.getI18nAttributeValue(c))].map(c=>c?.context)).forEach(c=>c&&this.addI18nMessages(c))}addI18nMessages(i,a){i=i.toLowerCase(),this[Xo].has(i)||this[Xo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Xo].forEach(i=>i()),this[Xo].clear()}}return e=Xo,rb([C({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var rb,ac,wi,Xo,Oh,Ai,Ri=h(()=>{"use strict";$();ro();oe();rb=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ac=Symbol("i18nAttributes"),wi=Symbol("i18nProperties"),Xo=Symbol("i18nUnsubs");Oh=class extends Ve(J){},Ai=class extends Ve(Te){}});var Qo,Qe,sc=h(()=>{"use strict";B();oe();$();Zl();Ri();ro();Qo=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Qe=class extends Ai{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":z:D`
|
|
974
975
|
<span class="ft-i18n">
|
|
975
976
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
976
977
|
</span>
|
|
977
|
-
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(
|
|
978
|
-
`
|
|
979
|
-
`});var Ch=f(()=>{"use strict"});var Kg,Eh,wh=f(()=>{"use strict";$();Kg={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}},Eh=t=>xt.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Kg})});var Ei,Ah=f(()=>{"use strict";Zr();Ei=class extends it{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0)}}});var Rh,jo,eo,ic=f(()=>{"use strict";$();wh();ec();Ah();Rh=t=>t.request.virtualField===Yr.TITLE_ONLY&&t.request.scope===Qr.DOCUMENTS,jo=class t extends Event{constructor(){super(t.eventName)}};jo.eventName="search-context-clear-all-filters";eo=class t{static build(e,r){return new t(Eh(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ve(10),this.searchDebouncer=new ve(100),this.suggestDebouncer=new ve(300),this.service=r??new Ei}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(r){let i=a=>r.some(s=>s.lang==a);i(e)||(e=i(n)?n:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Yr.TITLE_ONLY),this.store.actions.setRequestScope(Qr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Yr.EVERYWHERE),this.store.actions.setRequestScope(Qr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Rh(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new jo)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let n=this.facetIds.filter(i=>i!=e);r&&n.push(r),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,valueFilter:{values:r,negative:!1}},a=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==i.key),i];this.setFilters(a)}setDateFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,dateFilter:{type:r}},a=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==i.key),i];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.dateFilter),...r.filter(i=>i.dateFilter&&i.key!==e)];this.setFilters(n)}setRangeFilter(e,r,n){let i=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:n}},s=[...i.filter(l=>!l.rangeFilter),...i.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.rangeFilter),...r.filter(i=>i.rangeFilter&&i.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=Nr(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof _t)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,metadataFilters:n.metadataFilters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=Nr(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof _t)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}}});function Zg(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ac]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ac]):this.dispatchEvent(new sc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ac,Gg([ue()],r.prototype,"stateManager",void 0),r}var Gg,sc,ac,$e,Wt=f(()=>{"use strict";$();te();Ch();ic();Gg=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},sc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},ac=Symbol("registerInterval");$e=class extends Zg(_e){}});var Re,wi,Ai,Ri,fe,lc=f(()=>{"use strict";B();te();$();nc();Wt();Zr();Vl();Re=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},wi=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ai=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Ri=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},fe=class extends _e{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=eo.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(H)}render(){return M`
|
|
978
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Qe.elementDefinitions={};Qe.styles=dh;Qo([ne()],Qe.prototype,"editorMode",void 0);Qo([C()],Qe.prototype,"context",void 0);Qo([C()],Qe.prototype,"key",void 0);Qo([Ee([])],Qe.prototype,"args",void 0);Qo([C()],Qe.prototype,"defaultMessage",void 0)});var ut,Ch=h(()=>{"use strict";ro();ut=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,o)=>{let i=o;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,o)=>(...i)=>xr.resolveMessage(this.name,o,...i)}),this.rawMessages=new Proxy({},{get:(r,o)=>xr.resolveRawMessage(this.name,o)})}}});var Eh=h(()=>{"use strict";Ri()});var wh=h(()=>{"use strict"});var dt=h(()=>{"use strict";$();sc();Ch();Ri();Eh();Zl();wh();sc();j("ft-i18n")(Qe)});var Rh,Nh=h(()=>{ft();Rh=t=>t??ue});var _h=h(()=>{Nh()});function Th(t){var e,r,o,i,a;return((i=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(o=t.topic)===null||o===void 0?void 0:o.openMode)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.openMode)===ri.EXTERNAL}function _i(t){var e,r,o,i,a;if(Th(t))return(i=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(o=t.topic)===null||o===void 0?void 0:o.originUrl)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case jr.MAP:return t.map.readerUrl;case jr.DOCUMENT:return t.document.viewerUrl;case jr.TOPIC:return t.topic.readerUrl}return""}function Ph(t,e){return Rh(e&&Th(t)?"_blank":void 0)}var oo,uc=h(()=>{"use strict";oi();_h();oo=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var ib,pc,fc=h(()=>{"use strict";B();ib={},pc=P`
|
|
979
|
+
`});var Lh=h(()=>{"use strict"});var ab,Ih,$h=h(()=>{"use strict";$();ab={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}},Ih=t=>Ct.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:ab})});var Li,kh=h(()=>{"use strict";ro();Li=class extends ct{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0)}}});var Mh,Jo,no,hc=h(()=>{"use strict";$();$h();oi();kh();Mh=t=>t.request.virtualField===zr.TITLE_ONLY&&t.request.scope===Vr.DOCUMENTS,Jo=class t extends Event{constructor(){super(t.eventName)}};Jo.eventName="search-context-clear-all-filters";no=class t{static build(e,r){return new t(Ih(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Se(10),this.searchDebouncer=new Se(100),this.suggestDebouncer=new Se(300),this.service=r??new Li}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(e!=o){if(r){let i=a=>r.some(s=>s.lang==a);i(e)||(e=i(o)?o:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(o=>!o.valueFilter||o.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(o=>{this.facetIds.includes(o.key)||(this.facetIds=[...this.facetIds,o.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(zr.TITLE_ONLY),this.store.actions.setRequestScope(Vr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(zr.EVERYWHERE),this.store.actions.setRequestScope(Vr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Mh(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Jo)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let o=this.facetIds.filter(i=>i!=e);r&&o.push(r),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let o=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(o)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let o=this.store.getState().request.metadataFilters,i={key:e,valueFilter:{values:r,negative:!1}},a=[...o.filter(s=>!s.valueFilter),...o.filter(s=>s.valueFilter&&s.key!==i.key),i];this.setFilters(a)}setDateFilter(e,r){let o=this.store.getState().request.metadataFilters,i={key:e,dateFilter:{type:r}},a=[...o.filter(s=>!s.dateFilter),...o.filter(s=>s.dateFilter&&s.key!==i.key),i];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,o=[...r.filter(i=>!i.dateFilter),...r.filter(i=>i.dateFilter&&i.key!==e)];this.setFilters(o)}setRangeFilter(e,r,o){let i=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:o}},s=[...i.filter(l=>!l.rangeFilter),...i.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,o=[...r.filter(i=>!i.rangeFilter),...r.filter(i=>i.rangeFilter&&i.key!==e)];this.setFilters(o)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let o=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&o.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=Pr(this.service.launchSearch(o));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(o){!(o instanceof It)&&this.errorHandler&&this.errorHandler(o)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),o=r.request,i={input:r.liveQuery,metadataFilters:o.metadataFilters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=Pr(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof It)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}}});function lb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[mc]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[mc]):this.dispatchEvent(new yc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=mc,sb([de()],r.prototype,"stateManager",void 0),r}var sb,yc,mc,ke,Vt=h(()=>{"use strict";$();oe();Lh();hc();sb=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},yc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},mc=Symbol("registerInterval");ke=class extends lb(Te){}});var Ne,Ii,$i,ki,he,gc=h(()=>{"use strict";B();oe();$();fc();Vt();ro();rc();Ne=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ii=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},$i=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},ki=class extends CustomEvent{constructor(e,r,o){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:o}})}},he=class extends Te{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=no.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(W)}render(){return D`
|
|
980
980
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
981
|
-
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new
|
|
981
|
+
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new $i(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new ki(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Ii(e))}reloadSavedSearches(){yh.clearMySearches()}clear(){this.stateManager.clear()}};he.elementDefinitions={};he.styles=pc;Ne([ne({store:W.name})],he.prototype,"session",void 0);Ne([C()],he.prototype,"query",void 0);Ne([C()],he.prototype,"contentLocale",void 0);Ne([C({type:Number})],he.prototype,"pageSize",void 0);Ne([C({type:Boolean})],he.prototype,"searchInDocumentTitlesOnly",void 0);Ne([C()],he.prototype,"scope",void 0);Ne([C()],he.prototype,"virtualField",void 0);Ne([C({type:Boolean})],he.prototype,"ignoreEmptyQuery",void 0);Ne([ne({store:W.name})],he.prototype,"openExternalDocumentInNewTab",void 0);Ne([Ee([])],he.prototype,"filters",void 0);Ne([Ee([])],he.prototype,"sort",void 0);Ne([ne({store:"search"})],he.prototype,"request",void 0);Ne([ne({store:"search"})],he.prototype,"paging",void 0);Ne([ne({store:"search",selector:t=>t.spellcheck})],he.prototype,"autocorrect",void 0);Ne([C({attribute:!1})],he.prototype,"searchServiceProvider",void 0)});var Dh=h(()=>{"use strict"});var Uh={};Z(Uh,{ClearAllFiltersEvent:()=>Jo,FtSearchContext:()=>he,FtSearchContextCssVariables:()=>ib,FtSearchStateManager:()=>no,LoadErrorEvent:()=>Ii,SearchRequestChangeEvent:()=>$i,SearchResultsChangeEvent:()=>ki,searchInDocumentTitlesOnlySelector:()=>Mh,styles:()=>pc});var Fh=h(()=>{"use strict";$();gc();fc();Dh();gc();hc();j("ft-search-context")(he)});var en,Bh=h(()=>{"use strict";dt();en=ut.build("designedSearchInput")});var Wh,Hh=h(()=>{"use strict";B();qo();Wh=P`
|
|
982
982
|
* {
|
|
983
983
|
box-sizing: border-box;
|
|
984
984
|
}
|
|
985
985
|
|
|
986
986
|
.ft-search-input-suggestion {
|
|
987
987
|
position: absolute;
|
|
988
|
-
z-index: ${
|
|
988
|
+
z-index: ${ae.floatingZIndex};
|
|
989
989
|
top: calc(100% + 2px);
|
|
990
990
|
left: -1px;
|
|
991
991
|
right: -1px;
|
|
992
|
-
background: ${
|
|
993
|
-
border: 1px solid ${
|
|
994
|
-
border-radius: 0 0 ${
|
|
995
|
-
box-shadow: ${
|
|
992
|
+
background: ${ae.colorSurface};
|
|
993
|
+
border: 1px solid ${ae.colorOutline};
|
|
994
|
+
border-radius: 0 0 ${ae.borderRadius} ${ae.borderRadius};
|
|
995
|
+
box-shadow: ${ae.elevation02};
|
|
996
996
|
}
|
|
997
997
|
|
|
998
998
|
.ft-search-input-suggestion--suggestion {
|
|
@@ -1003,7 +1003,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1003
1003
|
padding: 8px;
|
|
1004
1004
|
gap: 8px;
|
|
1005
1005
|
cursor: pointer;
|
|
1006
|
-
color: ${
|
|
1006
|
+
color: ${ae.colorOnSurface};
|
|
1007
1007
|
min-height: 44px;
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
@@ -1020,11 +1020,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1020
1020
|
flex-grow: 1;
|
|
1021
1021
|
flex-shrink: 1;
|
|
1022
1022
|
}
|
|
1023
|
-
`});var
|
|
1023
|
+
`});var zh,bc,vr,jh=h(()=>{"use strict";$();B();oe();Hh();An();pi();ci();wt();Vt();zh=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bc=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},vr=class extends ke{render(){return D`
|
|
1024
1024
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
1025
1025
|
part="container"
|
|
1026
1026
|
@keydown=${e=>this.onSuggestKeyDown(e)}>
|
|
1027
|
-
${
|
|
1027
|
+
${Eo(this.suggestResults||[],e=>e.value,e=>D`
|
|
1028
1028
|
<a href="#"
|
|
1029
1029
|
part="suggestion"
|
|
1030
1030
|
class="ft-search-input-suggestion--suggestion"
|
|
@@ -1036,16 +1036,16 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1036
1036
|
</a>
|
|
1037
1037
|
`)}
|
|
1038
1038
|
</div>
|
|
1039
|
-
`}onSuggestKeyDown(e){var r,
|
|
1040
|
-
<ft-icon .variant="${r}" .value="${
|
|
1041
|
-
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};
|
|
1042
|
-
<div class="${
|
|
1039
|
+
`}onSuggestKeyDown(e){var r,o,i,a,s,l;switch(e.key){case"ArrowUp":(i=(o=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&o!==void 0?o:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,r){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,r)}onSuggestSelected(e,r){e.preventDefault(),this.dispatchEvent(new bc(r))}getIcon(e){let r=e.type==="DOCUMENT"?Be.file_format:Be.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?jt.BOOK:jt.ARTICLE;break;case"DOCUMENT":o=oh(e.mimeType,e.filenameExtension);break;case"TOPIC":o=jt.TOPICS;break}return D`
|
|
1040
|
+
<ft-icon .variant="${r}" .value="${o}" part="suggestion-icon"></ft-icon>
|
|
1041
|
+
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};vr.elementDefinitions={"ft-ripple":se,"ft-typography":me,"ft-icon":Ie};vr.styles=[Rs,Wh];zh([ne()],vr.prototype,"suggestResults",void 0);vr=zh([ra("ft-search-input-suggestion")],vr)});var io,He,xc=h(()=>{"use strict";B();$();qo();Vt();dt();Bh();oe();Nr();jh();mi();wt();io=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},He=class extends Ve(ke){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(en)}render(){var e,r;let o={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return D`
|
|
1042
|
+
<div class="${yt(o)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
|
|
1043
1043
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
1044
1044
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
1045
1045
|
<input class="ft-search-input--input ft-typography--body2"
|
|
1046
1046
|
part="input"
|
|
1047
1047
|
type="search"
|
|
1048
|
-
placeholder="${
|
|
1048
|
+
placeholder="${en.messages.placeholder()}"
|
|
1049
1049
|
.value="${this.liveQuery}"
|
|
1050
1050
|
@input=${i=>this.onInput(i)}
|
|
1051
1051
|
@keydown=${i=>this.onSearchBarKeyDown(i)}
|
|
@@ -1056,13 +1056,13 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1056
1056
|
></ft-search-input-suggestion>
|
|
1057
1057
|
</div>
|
|
1058
1058
|
<div class="ft-search-input--actions" part="actions">
|
|
1059
|
-
${this.liveQuery?
|
|
1059
|
+
${this.liveQuery?D`
|
|
1060
1060
|
<ft-button id="clear-button"
|
|
1061
1061
|
class="ft-search-input--clear-query"
|
|
1062
1062
|
part="clear-query"
|
|
1063
1063
|
icon="close"
|
|
1064
1064
|
round dense
|
|
1065
|
-
label="${
|
|
1065
|
+
label="${en.messages.clearButton()}"
|
|
1066
1066
|
@click=${()=>{this.liveQuery="",this.input.focus()}}
|
|
1067
1067
|
></ft-button>
|
|
1068
1068
|
<div class="ft-search-input--separator"></div>
|
|
@@ -1071,77 +1071,77 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1071
1071
|
part="launch-search-in-input"
|
|
1072
1072
|
icon="search"
|
|
1073
1073
|
round dense
|
|
1074
|
-
label="${
|
|
1074
|
+
label="${en.messages.searchButton()}"
|
|
1075
1075
|
@click=${()=>this.launchSearch(this.liveQuery)}
|
|
1076
1076
|
></ft-button>
|
|
1077
1077
|
</div>
|
|
1078
1078
|
</div>
|
|
1079
|
-
`}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e}))}onSuggestionSelected(e){this.launchSearch(e.detail)}};He.elementDefinitions={"ft-search-input-suggestion":
|
|
1080
|
-
`});var
|
|
1079
|
+
`}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e}))}onSuggestionSelected(e){this.launchSearch(e.detail)}};He.elementDefinitions={"ft-search-input-suggestion":vr,"ft-button":We};He.styles=[si,Ns,Vl];io([ne()],He.prototype,"request",void 0);io([ne()],He.prototype,"liveQuery",void 0);io([ne()],He.prototype,"suggestResults",void 0);io([de()],He.prototype,"forceCloseSuggestion",void 0);io([be(".ft-search-input--input")],He.prototype,"input",void 0);io([be("ft-search-input-suggestion")],He.prototype,"suggestion",void 0)});var Vh=h(()=>{"use strict"});var Kh={};Z(Kh,{FtSearchInput:()=>He,FtSearchInputCssVariables:()=>ae,styles:()=>Vl});var Gh=h(()=>{"use strict";$();xc();qo();Vh();xc();j("ft-search-input")(He)});var cb,vc,Sc=h(()=>{"use strict";B();cb={},vc=P`
|
|
1080
|
+
`});var Oc,Zh=h(()=>{"use strict";dt();Oc=ut.fromGwt("designedActionBlockAriaLabels")});var qh,Rt,Cc=h(()=>{"use strict";B();$();Sc();mi();Vt();dt();Zh();qh=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Rt=class extends Ve(ke){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Oc)}render(){return this.isLastPage?z:D`
|
|
1081
1081
|
<ft-button @click="${this.loadMore}">
|
|
1082
|
-
${
|
|
1082
|
+
${Oc.messages.searchPageLoadMore()}
|
|
1083
1083
|
</ft-button>
|
|
1084
|
-
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};
|
|
1085
|
-
<ft-typography variant="body1" part="text">${
|
|
1086
|
-
`:
|
|
1084
|
+
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Rt.elementDefinitions={"ft-button":We};Rt.styles=vc;qh([ne({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],Rt.prototype,"currentPage",void 0);qh([ne({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],Rt.prototype,"isLastPage",void 0)});var Yh=h(()=>{"use strict"});var Xh={};Z(Xh,{FtSearchLoadMoreButton:()=>Rt,FtSearchLoadMoreButtonCssVariables:()=>cb,styles:()=>vc});var Qh=h(()=>{"use strict";$();Cc();Sc();Yh();Cc();j("ft-search-load-more-button")(Rt)});function ub(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[wc]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[wc]):this.dispatchEvent(new Ac)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=wc,Ec([C({attribute:!1})],r.prototype,"cluster",void 0),Ec([C({attribute:!1})],r.prototype,"result",void 0),Ec([C({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var Ec,Ac,wc,ao,Rc=h(()=>{"use strict";Vt();oe();Ec=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ac=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},wc=Symbol("registerInterval");ao=class extends ub(ke){}});var Sr,Nc=h(()=>{"use strict";B();Rc();gi();wo();wt();Sr=class extends ao{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?D`
|
|
1085
|
+
<ft-typography variant="body1" part="text">${lr(e)}</ft-typography>
|
|
1086
|
+
`:D`
|
|
1087
1087
|
<style>
|
|
1088
1088
|
:host {
|
|
1089
1089
|
display: none !important;
|
|
1090
1090
|
}
|
|
1091
1091
|
</style>
|
|
1092
|
-
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};
|
|
1093
|
-
<a href="${
|
|
1092
|
+
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Sr.elementDefinitions={"ft-typography":me};Sr.styles=Kl});var Jh=h(()=>{"use strict"});var em={};Z(em,{FtSearchResultAbstract:()=>Sr,FtSearchResultAbstractCssVariables:()=>yi,styles:()=>Kl});var _c=h(()=>{"use strict";$();Nc();gi();Jh();Nc();j("ft-search-result-abstract")(Sr)});var db,Kt,Tc=h(()=>{"use strict";B();oe();Rc();xi();wt();wo();uc();db=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Kt=class extends ao{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():D`
|
|
1093
|
+
<a href="${_i(this.result)}"
|
|
1094
1094
|
@click=${this.onResultClick}
|
|
1095
|
-
target="${
|
|
1095
|
+
target="${Ph(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
|
|
1096
1096
|
part="link">
|
|
1097
1097
|
${this.renderTitle()}
|
|
1098
1098
|
</a>
|
|
1099
|
-
`:
|
|
1100
|
-
<ft-typography variant="title" part="text">${
|
|
1101
|
-
`}onResultClick(){this.dispatchEvent(new
|
|
1099
|
+
`:z}renderTitle(){return D`
|
|
1100
|
+
<ft-typography variant="title" part="text">${lr(this.selectTitle(this.result))}</ft-typography>
|
|
1101
|
+
`}onResultClick(){this.dispatchEvent(new oo(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Kt.elementDefinitions={"ft-typography":me};Kt.styles=Gl;db([C({type:Boolean})],Kt.prototype,"withoutLink",void 0)});var tm=h(()=>{"use strict"});var rm={};Z(rm,{FtSearchResultTitle:()=>Kt,FtSearchResultTitleCssVariables:()=>bi,styles:()=>Gl});var Pc=h(()=>{"use strict";$();Tc();xi();tm();Tc();j("ft-search-result-title")(Kt)});var pb,Lc,Ic=h(()=>{"use strict";B();pb={},Lc=P`
|
|
1102
1102
|
[part="no-results-message"] {
|
|
1103
1103
|
text-align: center;
|
|
1104
1104
|
padding: 12px;
|
|
1105
1105
|
}
|
|
1106
|
-
`});var
|
|
1106
|
+
`});var om,$c=h(()=>{"use strict";B();om=P`
|
|
1107
1107
|
a {
|
|
1108
1108
|
color: inherit;
|
|
1109
1109
|
text-decoration: inherit;
|
|
1110
1110
|
}
|
|
1111
|
-
`});var
|
|
1111
|
+
`});var Mi,nm=h(()=>{"use strict";Mi=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank}}});var Mc,kc,Nt,Dc=h(()=>{"use strict";B();oe();$();$c();nm();Mc=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},kc=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Nt=class extends J{constructor(){super(...arguments),this.index=0,this.stateManager=new Mi(e=>this.onResultSelected(e))}render(){return D`
|
|
1112
1112
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
1113
|
-
`}onResultSelected(e){this.result=e,this.dispatchEvent(new
|
|
1113
|
+
`}onResultSelected(e){this.result=e,this.dispatchEvent(new kc(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Nt.elementDefinitions={};Nt.styles=om;Mc([C({attribute:!1})],Nt.prototype,"cluster",void 0);Mc([de()],Nt.prototype,"result",void 0);Mc([C()],Nt.prototype,"index",void 0)});var im=h(()=>{"use strict"});var am=h(()=>{"use strict";$();Dc();$c();im();Dc();j("ft-search-result-context")(Nt)});var so,sm,Uc=h(()=>{"use strict";dt();so=ut.build("searchResultsNumber"),sm={results:"{0} results","results[\\=1]":"1 result"}});var Or,ze,Fc=h(()=>{"use strict";B();An();oe();$();Ic();Vt();am();Pc();_c();dt();Uc();Or=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ze=class extends Ve(ke){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>D`
|
|
1114
1114
|
<ft-search-result-title></ft-search-result-title>
|
|
1115
1115
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1116
|
-
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(
|
|
1117
|
-
<ft-typography part="no-results-message" variant="body1">${
|
|
1118
|
-
`;let e=this.buildClusters();return
|
|
1119
|
-
<ft-search-result-context .cluster=${r} index="${
|
|
1116
|
+
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(so)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return D`
|
|
1117
|
+
<ft-typography part="no-results-message" variant="body1">${so.messages.results(0)}</ft-typography>
|
|
1118
|
+
`;let e=this.buildClusters();return Eo(e,r=>r.id,(r,o)=>{var i;return D`
|
|
1119
|
+
<ft-search-result-context .cluster=${r} index="${o}"
|
|
1120
1120
|
@ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
|
|
1121
|
-
${this.renderResult((i=this.selectedResultByCluster[r.id])!==null&&i!==void 0?i:r.entries[0],
|
|
1121
|
+
${this.renderResult((i=this.selectedResultByCluster[r.id])!==null&&i!==void 0?i:r.entries[0],o)}
|
|
1122
1122
|
</ft-search-result-context>
|
|
1123
|
-
`})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let
|
|
1123
|
+
`})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");o&&ul.scrollIntoViewIfPossible(o,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(o=>({id:this.clusterId(o.entries[0]),entries:o.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r;let o=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(a=>({id:this.clusterId(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?o.slice(0,this.paging.perPage):o}clusterId(e){var r,o,i,a,s;return(a=(o=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&o!==void 0?o:(i=e.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};ze.styles=Lc;Or([C({type:String,attribute:"cluster-policy"})],ze.prototype,"clusterPolicy",void 0);Or([C({type:Boolean})],ze.prototype,"displayNoResultsMessage",void 0);Or([C({attribute:!1})],ze.prototype,"renderResult",void 0);Or([Ee([])],ze.prototype,"clusterSortCriterion",void 0);Or([ne({selector:t=>({...t.request,paging:void 0})})],ze.prototype,"requestWithoutPaging",void 0);Or([ne({selector:t=>t.request.paging})],ze.prototype,"paging",void 0);Or([ne()],ze.prototype,"results",void 0)});var lm=h(()=>{"use strict"});var cm={};Z(cm,{FtSearchResults:()=>ze,FtSearchResultsCssVariables:()=>pb,styles:()=>Lc});var um=h(()=>{"use strict";$();Fc();Ic();lm();Fc();j("ft-search-results")(ze)});var fb,Bc,Wc=h(()=>{"use strict";B();fb={},Bc=P`
|
|
1124
1124
|
|
|
1125
|
-
`});var
|
|
1125
|
+
`});var hb,Gt,Hc=h(()=>{"use strict";B();$();Wc();Vt();dt();Uc();wt();hb=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Gt=class extends Ve(ke){constructor(){super(),this.addI18nContext(so,sm)}render(){return this.paging==null?z:D`
|
|
1126
1126
|
<ft-typography variant="body1">
|
|
1127
|
-
${
|
|
1127
|
+
${so.messages.results(this.paging.totalClustersCount)}
|
|
1128
1128
|
</ft-typography>
|
|
1129
|
-
`}};
|
|
1129
|
+
`}};Gt.elementDefinitions={"ft-typography":me};Gt.styles=Bc;hb([ne()],Gt.prototype,"paging",void 0)});var dm=h(()=>{"use strict"});var pm={};Z(pm,{FtSearchResultsNumber:()=>Gt,FtSearchResultsNumberCssVariables:()=>fb,styles:()=>Bc});var fm=h(()=>{"use strict";$();Hc();Wc();dm();Hc();j("ft-search-results-number")(Gt)});$();B();$();B();$();B();$();yr();var re={padding:n.create("--ft-card-padding","","SIZE","12px"),borderRadius:n.extend("--ft-card-border-radius","",I.borderRadiusM),borderStyle:n.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:n.extend("--ft-card-border-color","",I.colorOutline),hoverBorderColor:n.extend("--ft-card-hover-border-color","",I.colorPrimary),outlineStyle:n.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:n.create("--ft-card-outline-width","","SIZE","0"),outlineColor:n.extend("--ft-card-outline-color","",I.colorPrimary),selectedOutlineStyle:n.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:n.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:n.extend("--ft-card-selected-outline-color","",I.colorPrimary),selectedBorderRadius:n.extend("--ft-card-selected-border-radius","",I.borderRadiusM),colorSurface:n.extend("--ft-card-background-color","",I.colorSurface),colorOnSurfaceMedium:n.extend("--ft-card-content-color","",I.colorOnSurfaceMedium),colorOnSurfaceHigh:n.extend("--ft-card-title-color","",I.colorOnSurfaceHigh),elevation02:n.extend("--ft-card-elevation","",I.elevation02),elevation04:n.extend("--ft-card-selected-elevation","",I.elevation04)},Nf=P`
|
|
1130
1130
|
:host {
|
|
1131
1131
|
display: block;
|
|
1132
1132
|
}
|
|
1133
1133
|
|
|
1134
1134
|
#container {
|
|
1135
|
-
padding: ${
|
|
1136
|
-
outline-style: ${
|
|
1137
|
-
outline-width: ${
|
|
1138
|
-
outline-color: ${
|
|
1139
|
-
border-color: ${
|
|
1140
|
-
border-style: ${
|
|
1135
|
+
padding: ${re.padding};
|
|
1136
|
+
outline-style: ${re.outlineStyle};
|
|
1137
|
+
outline-width: ${re.outlineWidth};
|
|
1138
|
+
outline-color: ${re.outlineColor};
|
|
1139
|
+
border-color: ${re.borderColor};
|
|
1140
|
+
border-style: ${re.borderStyle};
|
|
1141
1141
|
border-width: 1px;
|
|
1142
|
-
border-radius: ${
|
|
1143
|
-
${
|
|
1144
|
-
box-shadow: ${
|
|
1142
|
+
border-radius: ${re.borderRadius};
|
|
1143
|
+
${L(G.borderRadius,re.borderRadius)};
|
|
1144
|
+
box-shadow: ${re.elevation02};
|
|
1145
1145
|
position: relative;
|
|
1146
1146
|
width: 100%;
|
|
1147
1147
|
height: 100%;
|
|
@@ -1153,7 +1153,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1153
1153
|
grid-template-rows: max-content minmax(0, 1fr);
|
|
1154
1154
|
grid-gap: 8px;
|
|
1155
1155
|
box-sizing: border-box;
|
|
1156
|
-
background-color: ${
|
|
1156
|
+
background-color: ${re.colorSurface};
|
|
1157
1157
|
transition: box-shadow 0.2s linear, color 0.2s linear;
|
|
1158
1158
|
}
|
|
1159
1159
|
|
|
@@ -1166,12 +1166,12 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1166
1166
|
}
|
|
1167
1167
|
|
|
1168
1168
|
#container.selected {
|
|
1169
|
-
outline-style: ${
|
|
1170
|
-
outline-width: ${
|
|
1171
|
-
outline-color: ${
|
|
1172
|
-
border-radius: ${
|
|
1173
|
-
${
|
|
1174
|
-
box-shadow: ${
|
|
1169
|
+
outline-style: ${re.selectedOutlineStyle};
|
|
1170
|
+
outline-width: ${re.selectedOutlineWidth};
|
|
1171
|
+
outline-color: ${re.selectedOutlineColor};
|
|
1172
|
+
border-radius: ${re.selectedBorderRadius};
|
|
1173
|
+
${L(G.borderRadius,re.selectedBorderRadius)};
|
|
1174
|
+
box-shadow: ${re.elevation04};
|
|
1175
1175
|
}
|
|
1176
1176
|
|
|
1177
1177
|
#container.clickable {
|
|
@@ -1179,8 +1179,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1179
1179
|
}
|
|
1180
1180
|
|
|
1181
1181
|
#container.clickable:hover {
|
|
1182
|
-
box-shadow: ${
|
|
1183
|
-
border-color: ${
|
|
1182
|
+
box-shadow: ${re.elevation04};
|
|
1183
|
+
border-color: ${re.hoverBorderColor};
|
|
1184
1184
|
}
|
|
1185
1185
|
|
|
1186
1186
|
#header {
|
|
@@ -1191,20 +1191,20 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1191
1191
|
text-overflow: ellipsis;
|
|
1192
1192
|
overflow: hidden;
|
|
1193
1193
|
word-break: break-word;
|
|
1194
|
-
color: ${
|
|
1194
|
+
color: ${re.colorOnSurfaceHigh};
|
|
1195
1195
|
}
|
|
1196
1196
|
|
|
1197
1197
|
#content {
|
|
1198
1198
|
word-break: break-word;
|
|
1199
1199
|
min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
|
|
1200
1200
|
grid-area: content;
|
|
1201
|
-
color: ${
|
|
1201
|
+
color: ${re.colorOnSurfaceMedium};
|
|
1202
1202
|
}
|
|
1203
1203
|
|
|
1204
1204
|
#action {
|
|
1205
1205
|
grid-area: actions;
|
|
1206
1206
|
}
|
|
1207
|
-
`;
|
|
1207
|
+
`;qo();gi();yr();xi();var Ce={searchFieldBackgroundColor:n.extend("--ft-rsid-search-field-background-color","",I.colorSurface),searchFieldBorderColor:n.extend("--ft-rsid-search-field-border-color","",I.colorOutline),searchFieldTextColor:n.extend("--ft-rsid-search-field-text-color","",I.colorOnSurface),searchFieldBorderRadius:n.extend("--ft-rsid-search-field-border-radius","",I.borderRadiusS),searchButtonColor:n.extend("--ft-rsid-search-field-button-color","",I.colorPrimary),resultsNumberColor:n.extend("--ft-rsid-results-number-color","",I.colorOnSurfaceMedium),resultBackgroundColor:n.extend("--ft-rsid-result-background-color","",I.colorSurface),resultBorderColor:n.extend("--ft-rsid-result-border-color","",I.colorOutline),resultBorderRadius:n.extend("--ft-rsid-result-border-radius","",I.borderRadiusS),resultTitleTextColor:n.extend("--ft-rsid-result-title-text-color","",I.colorOnSurface),resultBreadcrumbTextColor:n.extend("--ft-rsid-result-breadcrumb-text-color","",I.colorOnSurfaceMedium),resultContentTextColor:n.extend("--ft-rsid-result-content-text-color","",I.colorOnSurface),resultHighlightBackgroundColor:n.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:n.extend("--ft-rsid-result-hover-background-color","",I.colorPrimary),resultHoverBorderColor:n.extend("--ft-rsid-result-hover-border-color","",I.colorPrimary)},ch=P`
|
|
1208
1208
|
.ft-search-in-doc--container {
|
|
1209
1209
|
display: flex;
|
|
1210
1210
|
flex-direction: column;
|
|
@@ -1212,11 +1212,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1212
1212
|
}
|
|
1213
1213
|
|
|
1214
1214
|
ft-search-input {
|
|
1215
|
-
${
|
|
1216
|
-
${
|
|
1217
|
-
${
|
|
1218
|
-
${
|
|
1219
|
-
${
|
|
1215
|
+
${L(ae.colorSurface,Ce.searchFieldBackgroundColor)};
|
|
1216
|
+
${L(ae.colorOutline,Ce.searchFieldBorderColor)};
|
|
1217
|
+
${L(ae.colorOnSurface,Ce.searchFieldTextColor)};
|
|
1218
|
+
${L(ae.borderRadius,Ce.searchFieldBorderRadius)};
|
|
1219
|
+
${L(ae.buttonColor,Ce.searchButtonColor)};
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
1222
1222
|
ft-search-results-number {
|
|
@@ -1224,41 +1224,41 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1224
1224
|
}
|
|
1225
1225
|
|
|
1226
1226
|
ft-search-results-number, ft-search-results::part(no-results-message) {
|
|
1227
|
-
color: ${
|
|
1227
|
+
color: ${Ce.resultsNumberColor};
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
1230
|
ft-search-load-more-button {
|
|
1231
1231
|
margin: auto;
|
|
1232
1232
|
}
|
|
1233
|
-
|
|
1233
|
+
`,uh=P`
|
|
1234
1234
|
ft-card {
|
|
1235
1235
|
margin-bottom: 8px;
|
|
1236
|
-
${
|
|
1237
|
-
${
|
|
1238
|
-
${
|
|
1239
|
-
${
|
|
1240
|
-
${
|
|
1241
|
-
${
|
|
1242
|
-
${
|
|
1236
|
+
${L(re.elevation04,"none")};
|
|
1237
|
+
${L(re.elevation02,"none")};
|
|
1238
|
+
${L(re.borderStyle,"solid")};
|
|
1239
|
+
${L(re.borderRadius,I.borderRadiusS)};
|
|
1240
|
+
${L(re.colorSurface,Ce.resultBackgroundColor)};
|
|
1241
|
+
${L(re.borderColor,Ce.resultBorderColor)};
|
|
1242
|
+
${L(re.borderRadius,Ce.resultBorderRadius)};
|
|
1243
1243
|
}
|
|
1244
1244
|
|
|
1245
1245
|
ft-search-result-title {
|
|
1246
|
-
color: ${
|
|
1247
|
-
${
|
|
1246
|
+
color: ${Ce.resultTitleTextColor};
|
|
1247
|
+
${L(bi.highlightBackgroundColor,Ce.resultHighlightBackgroundColor)};
|
|
1248
1248
|
}
|
|
1249
1249
|
|
|
1250
1250
|
.breadcrumb {
|
|
1251
|
-
color: ${
|
|
1251
|
+
color: ${Ce.resultBreadcrumbTextColor};
|
|
1252
1252
|
}
|
|
1253
1253
|
|
|
1254
1254
|
ft-search-result-abstract {
|
|
1255
|
-
color: ${
|
|
1256
|
-
${
|
|
1255
|
+
color: ${Ce.resultContentTextColor};
|
|
1256
|
+
${L(yi.highlightBackgroundColor,Ce.resultHighlightBackgroundColor)};
|
|
1257
1257
|
}
|
|
1258
1258
|
|
|
1259
1259
|
ft-card:hover {
|
|
1260
|
-
${
|
|
1261
|
-
${
|
|
1260
|
+
${L(re.hoverBorderColor,Ce.resultHoverBorderColor)};
|
|
1261
|
+
${L(G.color,Ce.resultHoverBackgroundColor)};
|
|
1262
1262
|
}
|
|
1263
1263
|
|
|
1264
1264
|
.result-container {
|
|
@@ -1271,11 +1271,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1271
1271
|
text-decoration: none;
|
|
1272
1272
|
color: inherit;
|
|
1273
1273
|
}
|
|
1274
|
-
`;
|
|
1275
|
-
<div id="container" part="container" class=${
|
|
1276
|
-
${this.clickable?
|
|
1274
|
+
`;dt();$();oe();var Ah;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ah||(Ah={}));var ob=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},cc=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},lc=Symbol("registerInterval");function nb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[lc]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[lc]):this.dispatchEvent(new cc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=lc,ob([de()],r.prototype,"stateManager",void 0),r}var Ni=class extends nb(Te){};oe();uc();var Ti=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};dt();var dc=ut.build("designedReaderSearchInDocument");$();B();oe();$();ci();wt();Nr();var Pi=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ke=class extends J{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return D`
|
|
1275
|
+
<div id="container" part="container" class=${yt(e)}>
|
|
1276
|
+
${this.clickable?D`
|
|
1277
1277
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
1278
|
-
`:
|
|
1278
|
+
`:z}
|
|
1279
1279
|
<div id="header" part="header">
|
|
1280
1280
|
<ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
|
|
1281
1281
|
<slot name="header"></slot>
|
|
@@ -1289,34 +1289,34 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1289
1289
|
</ft-typography>
|
|
1290
1290
|
</div>
|
|
1291
1291
|
</div>
|
|
1292
|
-
`}};
|
|
1293
|
-
<style> ${
|
|
1294
|
-
<a href="${
|
|
1292
|
+
`}};Ke.elementDefinitions={"ft-ripple":se,"ft-typography":me};Ke.styles=Nf;Pi([C()],Ke.prototype,"title",void 0);Pi([C({type:Boolean})],Ke.prototype,"clickable",void 0);Pi([C({type:Boolean})],Ke.prototype,"selected",void 0);Pi([C({type:Boolean})],Ke.prototype,"noHeader",void 0);j("ft-card")(Ke);var Zt=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Me=class t extends Ve(Ni){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(dc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var o;return D`
|
|
1293
|
+
<style> ${uh}</style>
|
|
1294
|
+
<a href="${_i(e)}" @click="${()=>this.onLinkClick(e,r)} }">
|
|
1295
1295
|
<ft-card clickable noheader>
|
|
1296
1296
|
<div class="result-container">
|
|
1297
|
-
${this.hideResultTitle?
|
|
1297
|
+
${this.hideResultTitle?z:D`
|
|
1298
1298
|
<ft-search-result-title></ft-search-result-title>`}
|
|
1299
|
-
${this.hideResultBreadcrumb?
|
|
1300
|
-
<ft-typography class="breadcrumb" variant="caption">${(
|
|
1299
|
+
${this.hideResultBreadcrumb?z:D`
|
|
1300
|
+
<ft-typography class="breadcrumb" variant="caption">${(o=e.topic)===null||o===void 0?void 0:o.breadcrumb.join(" > ")}</ft-typography>
|
|
1301
1301
|
`}
|
|
1302
|
-
${this.hideResultAbstract?
|
|
1302
|
+
${this.hideResultAbstract?z:D`
|
|
1303
1303
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1304
1304
|
`}
|
|
1305
1305
|
</div>
|
|
1306
1306
|
</ft-card>
|
|
1307
1307
|
</a>
|
|
1308
|
-
`}render(){return this.map?
|
|
1308
|
+
`}render(){return this.map?D`
|
|
1309
1309
|
<ft-search-context id="${this.uniqueId}"
|
|
1310
1310
|
contentLocale="${this.map.lang}"
|
|
1311
1311
|
query="${this.searchInDocumentQuery}"
|
|
1312
1312
|
.filters=${this.filters}
|
|
1313
1313
|
scope="ALL_TOPICS"
|
|
1314
1314
|
ignoreEmptyQuery
|
|
1315
|
-
@ft-search-results-change=${e=>{var r,
|
|
1315
|
+
@ft-search-results-change=${e=>{var r,o;this.userHasDoneManualAction&&(this.dispatchEvent(new Ti({mapId:this.map.id,mapTitle:this.map.title,metadata:(o=(r=this.map)===null||r===void 0?void 0:r.metadata)!==null&&o!==void 0?o:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
|
|
1316
1316
|
<div class="ft-search-in-doc--container">
|
|
1317
|
-
<ft-search-input placeholder=${
|
|
1317
|
+
<ft-search-input placeholder=${dc.messages.placeholder()}
|
|
1318
1318
|
@change="${e=>{var r;this.userHasDoneManualAction=!0,(r=this.stateManager)===null||r===void 0||r.setSearchInDocumentQuery(e.detail)}}"></ft-search-input>
|
|
1319
|
-
${this.hideResultsNumber?
|
|
1319
|
+
${this.hideResultsNumber?z:D`
|
|
1320
1320
|
<ft-search-results-number @ft-search-result-click=${e=>e.stopPropagation()}></ft-search-results-number>
|
|
1321
1321
|
`}
|
|
1322
1322
|
<ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
|
|
@@ -1328,7 +1328,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1328
1328
|
</slot>
|
|
1329
1329
|
</div>
|
|
1330
1330
|
</ft-search-context>
|
|
1331
|
-
`:
|
|
1331
|
+
`:z}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new oo(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Fh(),Uh)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Gh(),Kh)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(Qh(),Xh)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(_c(),em)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Pc(),rm)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(um(),cm)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(fm(),pm)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Me.elementDefinitions={"ft-card":Ke};Me.styles=ch;Zt([ne()],Me.prototype,"map",void 0);Zt([ne()],Me.prototype,"searchInDocumentQuery",void 0);Zt([be("ft-search-context")],Me.prototype,"searchContext",void 0);Zt([be("ft-search-results")],Me.prototype,"searchResults",void 0);Zt([C({type:Boolean})],Me.prototype,"hideResultTitle",void 0);Zt([C({type:Boolean})],Me.prototype,"hideResultBreadcrumb",void 0);Zt([C({type:Boolean})],Me.prototype,"hideResultAbstract",void 0);Zt([C({type:Boolean})],Me.prototype,"hideResultsNumber",void 0);j("ft-reader-search-in-document")(Me);})();
|
|
1332
1332
|
/*! Bundled license information:
|
|
1333
1333
|
|
|
1334
1334
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|