@fluid-topics/ft-reader-search-in-document 1.1.84 → 1.1.85
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.
- package/build/ft-reader-search-in-document.light.js +359 -358
- package/build/ft-reader-search-in-document.min.js +361 -360
- package/package.json +14 -14
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";(()=>{var Lh=Object.create;var xi=Object.defineProperty;var $h=Object.getOwnPropertyDescriptor;var kh=Object.getOwnPropertyNames;var Mh=Object.getPrototypeOf,Dh=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var Uh=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)xi(t,r,{get:e[r],enumerable:!0})},Bh=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kh(e))!Dh.call(t,i)&&i!==r&&xi(t,i,{get:()=>e[i],enumerable:!(n=$h(e,i))||n.enumerable});return t};var Fh=(t,e,r)=>(r=t!=null?Lh(Mh(t)):{},Bh(e||!t||!t.__esModule?xi(r,"default",{value:t,enumerable:!0}):r,t));var pc=p(()=>{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(O,S){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=S.prototype.attributeChangedCallback,B=new Set(S.observedAttributes||[]);y(S,B,w);let W={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:B};this._definitionsByTag.set(O,W),this._definitionsByClass.set(S,W);let be=r.call(n,O);be||(be=m(O),e.call(n,O,be)),this===window.customElements&&(s.set(S,W),W.standInClass=be);let Z=this._awaitingUpgrade.get(O);if(Z){this._awaitingUpgrade.delete(O);for(let v of Z)a.delete(v),x(v,W,!0)}let g=this._whenDefinedPromises.get(O);return g!==void 0&&(g.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){_.push(this),n.upgrade.apply(n,arguments),_.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(B=>w.resolve=B),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,S,w){let B=this._awaitingUpgrade.get(S);B||this._awaitingUpgrade.set(S,B=new Set),w?B.add(O):B.delete(O)}};let c;window.HTMLElement=function(){let S=c;if(S)return c=void 0,S;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 S=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,w),S},window.HTMLElement.prototype=t.prototype;let d=O=>O===document||O instanceof ShadowRoot,h=O=>{let S=O.getRootNode();if(!d(S)){let w=_[_.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),d(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},m=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let B=h(w)||window.customElements,W=B._getDefinition(O);return W?x(w,W):a.set(w,B),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!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)}},y=(O,S,w)=>{if(S.size===0||w===void 0)return;let B=O.prototype.setAttribute;B&&(O.prototype.setAttribute=function(Z,g){let v=Z.toLowerCase();if(S.has(v)){let R=this.getAttribute(v);B.call(this,v,g),w.call(this,v,R,g)}else B.call(this,v,g)});let W=O.prototype.removeAttribute;W&&(O.prototype.removeAttribute=function(Z){let g=Z.toLowerCase();if(S.has(g)){let v=this.getAttribute(g);W.call(this,g),w.call(this,g,v,null)}else W.call(this,g)});let be=O.prototype.toggleAttribute;be&&(O.prototype.toggleAttribute=function(Z,g){let v=Z.toLowerCase();if(S.has(v)){let R=this.getAttribute(v);be.call(this,v,g);let V=this.getAttribute(v);w.call(this,v,R,V)}else be.call(this,v,g)})},b=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(O,window.HTMLElement):b(S)},x=(O,S,w=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),i.set(O,S),c=O;try{new S.elementClass}catch{b(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(B=>{O.hasAttribute(B)&&S.attributeChangedCallback.call(O,B,null,O.getAttribute(B))}),w&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=E.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let _=[document],P=(O,S,w=void 0)=>{let B=(w?Object.getPrototypeOf(w):O.prototype)[S];O.prototype[S]=function(){_.push(this);let W=B.apply(w||this,arguments);return W!==void 0&&l.set(W,this),_.pop(),W}};P(ShadowRoot,"createElement",document),P(ShadowRoot,"importNode",document),P(Element,"insertAdjacentHTML");let k=(O,S)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...w,set(B){_.push(this),w.set.call(this,B),_.pop()}})};if(k(Element,"innerHTML"),k(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Z){let g=S.call(this,...Z);return O.set(g,this),g},w.forEach(Z=>{let g=window.ElementInternals.prototype,v=g[Z];g[Z]=function(...R){let V=O.get(this);if(i.get(V).formAssociated===!0)return v?.call(this,...R);throw new DOMException(`Failed to execute ${v} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class B extends Array{constructor(g){super(...g),this._elements=g}get value(){return this._elements.find(g=>g.checked===!0)?.value||""}}class W{constructor(g){let v=new Map;g.forEach((R,V)=>{let de=R.getAttribute("name"),q=v.get(de)||[];this[+V]=R,q.push(R),v.set(de,q)}),this.length=g.length,v.forEach((R,V)=>{R&&(R.length===1?this[V]=R[0]:this[V]=new B(R))})}namedItem(g){return this[g]}}let be=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Z=be.get.call(this,[]),g=[];for(let v of Z){let R=i.get(v);(!R||R.formAssociated===!0)&&g.push(v)}return new W(g)}})}}});var fc=p(()=>{"use strict";pc();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 Wo,zo,mc,hc,Ho,gc,vi,jo,Si=p(()=>{Wo=globalThis,zo=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mc=Symbol(),hc=new WeakMap,Ho=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==mc)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(zo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=hc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&hc.set(r,e))}return e}toString(){return this.cssText}},gc=t=>new Ho(typeof t=="string"?t:t+"",void 0,mc),vi=(t,e)=>{if(zo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Wo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},jo=zo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return gc(r)})(t):t});var Wh,Hh,zh,jh,Vh,Kh,Vo,yc,Gh,Zh,Xr,Jr,Ko,bc,Ft,Oi=p(()=>{Si();Si();({is:Wh,defineProperty:Hh,getOwnPropertyDescriptor:zh,getOwnPropertyNames:jh,getOwnPropertySymbols:Vh,getPrototypeOf:Kh}=Object),Vo=globalThis,yc=Vo.trustedTypes,Gh=yc?yc.emptyScript:"",Zh=Vo.reactiveElementPolyfillSupport,Xr=(t,e)=>t,Jr={toAttribute(t,e){switch(e){case Boolean:t=t?Gh: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}},Ko=(t,e)=>!Wh(t,e),bc={attribute:!0,type:String,converter:Jr,reflect:!1,hasChanged:Ko};Symbol.metadata??=Symbol("metadata"),Vo.litPropertyMetadata??=new WeakMap;Ft=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=bc){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&&Hh(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=zh(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)??bc}static _$Ei(){if(this.hasOwnProperty(Xr("elementProperties")))return;let e=Kh(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Xr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Xr("properties"))){let r=this.properties,n=[...jh(r),...Vh(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(jo(i))}else e!==void 0&&r.push(jo(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return vi(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Jr).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:Jr;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??Ko)(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){}};Ft.elementStyles=[],Ft.shadowRootOptions={mode:"open"},Ft[Xr("elementProperties")]=new Map,Ft[Xr("finalized")]=new Map,Zh?.({ReactiveElement:Ft}),(Vo.reactiveElementVersions??=[]).push("2.0.2")});function Tc(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return xc!==void 0?xc.createHTML(e):e}function jt(t,e,r=t,n){if(e===Le)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=eo(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=jt(t,i._$AS(t,e.values),i,n)),e}var Ei,Go,xc,wi,st,Ai,qh,zt,Zo,eo,wc,Ac,Ci,Qr,vc,Sc,Wt,Oc,Cc,Rc,Nc,_c,Pc,Le,ae,Ec,Ht,Ic,to,qo,ro,Vt,Yo,Xo,Jo,Qo,Lc,Yh,lt=p(()=>{Ei=globalThis,Go=Ei.trustedTypes,xc=Go?Go.createPolicy("lit-html",{createHTML:t=>t}):void 0,wi="$lit$",st=`lit$${(Math.random()+"").slice(9)}$`,Ai="?"+st,qh=`<${Ai}>`,zt=document,Zo=()=>zt.createComment(""),eo=t=>t===null||typeof t!="object"&&typeof t!="function",wc=Array.isArray,Ac=t=>wc(t)||typeof t?.[Symbol.iterator]=="function",Ci=`[
|
|
2
|
-
\f\r]`,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Oc=/'/g,Cc=/"/g,Rc=/^(?:script|style|textarea|title)$/i,Nc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),_c=Nc(1),Pc=Nc(2),Le=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),Ec=new WeakMap,Ht=zt.createTreeWalker(zt,129);Ic=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Qr;for(let l=0;l<r;l++){let c=t[l],d,h,m=-1,y=0;for(;y<c.length&&(s.lastIndex=y,h=s.exec(c),h!==null);)y=s.lastIndex,s===Qr?h[1]==="!--"?s=vc:h[1]!==void 0?s=Sc:h[2]!==void 0?(Rc.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Wt):h[3]!==void 0&&(s=Wt):s===Wt?h[0]===">"?(s=i??Qr,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Wt:h[3]==='"'?Cc:Oc):s===Cc||s===Oc?s=Wt:s===vc||s===Sc?s=Qr:(s=Wt,i=void 0);let b=s===Wt&&t[l+1].startsWith("/>")?" ":"";a+=s===Qr?c+qh:m>=0?(n.push(d),c.slice(0,m)+wi+c.slice(m)+st+b):c+st+(m===-2?l:b)}return[Tc(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},to=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,h]=Ic(e,r);if(this.el=t.createElement(d,n),Ht.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=Ht.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(wi)){let y=h[s++],b=i.getAttribute(m).split(st),x=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Yo:x[1]==="?"?Xo:x[1]==="@"?Jo:Vt}),i.removeAttribute(m)}else m.startsWith(st)&&(c.push({type:6,index:a}),i.removeAttribute(m));if(Rc.test(i.tagName)){let m=i.textContent.split(st),y=m.length-1;if(y>0){i.textContent=Go?Go.emptyScript:"";for(let b=0;b<y;b++)i.append(m[b],Zo()),Ht.nextNode(),c.push({type:2,index:++a});i.append(m[y],Zo())}}}else if(i.nodeType===8)if(i.data===Ai)c.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(st,m+1))!==-1;)c.push({type:7,index:a}),m+=st.length-1}a++}}static createElement(e,r){let n=zt.createElement("template");return n.innerHTML=e,n}};qo=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??zt).importNode(r,!0);Ht.currentNode=i;let a=Ht.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new ro(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new Qo(a,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Ht.nextNode(),s++)}return Ht.currentNode=zt,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++}},ro=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=ae,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=jt(this,e,r),eo(e)?e===ae||e==null||e===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):e!==this._$AH&&e!==Le&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ac(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!==ae&&eo(this._$AH)?this._$AA.nextSibling.data=e:this.$(zt.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=to.createElement(Tc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new qo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Ec.get(e.strings);return r===void 0&&Ec.set(e.strings,r=new to(e)),r}T(e){wc(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(Zo()),this.k(Zo()),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))}},Vt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=ae,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=ae}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=jt(this,e,r,0),s=!eo(e)||e!==this._$AH&&e!==Le,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=jt(this,l[n+c],r,c),d===Le&&(d=this._$AH[c]),s||=!eo(d)||d!==this._$AH[c],d===ae?e=ae:e!==ae&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Yo=class extends Vt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ae?void 0:e}},Xo=class extends Vt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ae)}},Jo=class extends Vt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=jt(this,e,r,0)??ae)===Le)return;let n=this._$AH,i=e===ae&&n!==ae||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ae&&(n===ae||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)}},Qo=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){jt(this,e)}},Lc={j:wi,P:st,A:Ai,C:1,M:Ic,L:qo,R:Ac,V:jt,D:ro,I:Vt,H:Xo,N:Jo,U:Yo,B:Qo},Yh=Ei.litHtmlPolyfillSupport;Yh?.(to,ro),(Ei.litHtmlVersions??=[]).push("3.1.0")});var en,oo,Ri,$c,fr,Kt,N,tn,no,Ni=p(()=>{en=globalThis,oo=en.ShadowRoot&&(en.ShadyCSS===void 0||en.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ri=Symbol(),$c=new WeakMap,fr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ri)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(oo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=$c.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&$c.set(r,e))}return e}toString(){return this.cssText}},Kt=t=>new fr(typeof t=="string"?t:t+"",void 0,Ri),N=(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 fr(r,t,Ri)},tn=(t,e)=>{if(oo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=en.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},no=oo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Kt(r)})(t):t});var Xh,Jh,Qh,em,tm,rm,on,kc,om,nm,io,rn,_i,Mc,Ye,Pi=p(()=>{Ni();Ni();({is:Xh,defineProperty:Jh,getOwnPropertyDescriptor:Qh,getOwnPropertyNames:em,getOwnPropertySymbols:tm,getPrototypeOf:rm}=Object),on=globalThis,kc=on.trustedTypes,om=kc?kc.emptyScript:"",nm=on.reactiveElementPolyfillSupport,io=(t,e)=>t,rn={toAttribute(t,e){switch(e){case Boolean:t=t?om: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}},_i=(t,e)=>!Xh(t,e),Mc={attribute:!0,type:String,converter:rn,reflect:!1,hasChanged:_i};Symbol.metadata??=Symbol("metadata"),on.litPropertyMetadata??=new WeakMap;Ye=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=Mc){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&&Jh(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Qh(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)??Mc}static _$Ei(){if(this.hasOwnProperty(io("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(io("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(io("properties"))){let r=this.properties,n=[...em(r),...tm(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(no(i))}else e!==void 0&&r.push(no(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 tn(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:rn).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:rn;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??_i)(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){}};Ye.elementStyles=[],Ye.shadowRootOptions={mode:"open"},Ye[io("elementProperties")]=new Map,Ye[io("finalized")]=new Map,nm?.({ReactiveElement:Ye}),(on.reactiveElementVersions??=[]).push("2.0.2")});function Gc(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Dc!==void 0?Dc.createHTML(e):e}function Yt(t,e,r=t,n){if(e===Ot)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=lo(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=Yt(t,i._$AS(t,e.values),i,n)),e}var Ii,nn,Dc,Li,ct,$i,im,qt,so,lo,zc,jc,Ti,ao,Uc,Bc,Gt,Fc,Wc,Vc,Kc,M,am,Ot,H,Hc,Zt,Zc,co,an,hr,Xt,sn,ln,cn,un,sm,lm,ki,Mi=p(()=>{Ii=globalThis,nn=Ii.trustedTypes,Dc=nn?nn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Li="$lit$",ct=`lit$${(Math.random()+"").slice(9)}$`,$i="?"+ct,im=`<${$i}>`,qt=document,so=()=>qt.createComment(""),lo=t=>t===null||typeof t!="object"&&typeof t!="function",zc=Array.isArray,jc=t=>zc(t)||typeof t?.[Symbol.iterator]=="function",Ti=`[
|
|
4
|
-
\f\r]`,
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Fc=/'/g,Wc=/"/g,Vc=/^(?:script|style|textarea|title)$/i,Kc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),M=Kc(1),am=Kc(2),Ot=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Hc=new WeakMap,Zt=qt.createTreeWalker(qt,129);Zc=(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,h,m=-1,y=0;for(;y<c.length&&(s.lastIndex=y,h=s.exec(c),h!==null);)y=s.lastIndex,s===ao?h[1]==="!--"?s=Uc:h[1]!==void 0?s=Bc:h[2]!==void 0?(Vc.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Gt):h[3]!==void 0&&(s=Gt):s===Gt?h[0]===">"?(s=i??ao,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Gt:h[3]==='"'?Wc:Fc):s===Wc||s===Fc?s=Gt:s===Uc||s===Bc?s=ao:(s=Gt,i=void 0);let b=s===Gt&&t[l+1].startsWith("/>")?" ":"";a+=s===ao?c+im:m>=0?(n.push(d),c.slice(0,m)+Li+c.slice(m)+ct+b):c+ct+(m===-2?l:b)}return[Gc(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},co=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,h]=Zc(e,r);if(this.el=t.createElement(d,n),Zt.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=Zt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Li)){let y=h[s++],b=i.getAttribute(m).split(ct),x=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?sn:x[1]==="?"?ln:x[1]==="@"?cn:Xt}),i.removeAttribute(m)}else m.startsWith(ct)&&(c.push({type:6,index:a}),i.removeAttribute(m));if(Vc.test(i.tagName)){let m=i.textContent.split(ct),y=m.length-1;if(y>0){i.textContent=nn?nn.emptyScript:"";for(let b=0;b<y;b++)i.append(m[b],so()),Zt.nextNode(),c.push({type:2,index:++a});i.append(m[y],so())}}}else if(i.nodeType===8)if(i.data===$i)c.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(ct,m+1))!==-1;)c.push({type:7,index:a}),m+=ct.length-1}a++}}static createElement(e,r){let n=qt.createElement("template");return n.innerHTML=e,n}};an=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??qt).importNode(r,!0);Zt.currentNode=i;let a=Zt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new hr(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new un(a,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Zt.nextNode(),s++)}return Zt.currentNode=qt,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++}},hr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=H,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=Yt(this,e,r),lo(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Ot&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):jc(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!==H&&lo(this._$AH)?this._$AA.nextSibling.data=e:this.$(qt.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=co.createElement(Gc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new an(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Hc.get(e.strings);return r===void 0&&Hc.set(e.strings,r=new co(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(so()),this.k(so()),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))}},Xt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=H,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=H}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Yt(this,e,r,0),s=!lo(e)||e!==this._$AH&&e!==Ot,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=Yt(this,l[n+c],r,c),d===Ot&&(d=this._$AH[c]),s||=!lo(d)||d!==this._$AH[c],d===H?e=H:e!==H&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},sn=class extends Xt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},ln=class extends Xt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},cn=class extends Xt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Yt(this,e,r,0)??H)===Ot)return;let n=this._$AH,i=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==H&&(n===H||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)}},un=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){Yt(this,e)}},sm={j:Li,P:ct,A:$i,C:1,M:Zc,L:an,R:jc,V:Yt,D:hr,I:Xt,H:ln,N:cn,U:sn,B:un},lm=Ii.litHtmlPolyfillSupport;lm?.(co,hr),(Ii.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 hr(e.insertBefore(so(),a),a,void 0,r??{})}return i._$AI(t),i}});var ut,cm,um,qc=p(()=>{Pi();Pi();Mi();Mi();ut=class extends Ye{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 Ot}};ut._$litElement$=!0,ut.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ut});cm=globalThis.litElementPolyfillSupport;cm?.({LitElement:ut});um={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var Gy,Yc=p(()=>{Gy=!1});var Di={};G(Di,{CSSResult:()=>fr,LitElement:()=>ut,ReactiveElement:()=>Ye,_$LE:()=>um,_$LH:()=>sm,adoptStyles:()=>tn,css:()=>N,defaultConverter:()=>rn,getCompatibleStyle:()=>no,html:()=>M,isServer:()=>Gy,noChange:()=>Ot,notEqual:()=>_i,nothing:()=>H,render:()=>ki,supportsAdoptingStyleSheets:()=>oo,svg:()=>am,unsafeCSS:()=>Kt});var U=p(()=>{Oi();lt();qc();Yc()});var Ui,Xc=p(()=>{Ui=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"?Jc(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,Jc,Bi=p(()=>{Oi();dm={attribute:!0,type:String,converter:Jr,reflect:!1,hasChanged:Ko},Jc=(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 le(t){return C({...t,state:!0,attribute:!1})}var Qc=p(()=>{Bi();});function mr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var eu=p(()=>{});var ze,gr=p(()=>{ze=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function me(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 ze(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 ze(r,n,{get(){return a(this)}})}}var tu=p(()=>{gr();});function fm(t){return(e,r)=>ze(e,r,{get(){return(this.renderRoot??(pm??=document.createDocumentFragment())).querySelectorAll(t)}})}var pm,ru=p(()=>{gr();});function hm(t){return(e,r)=>ze(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var ou=p(()=>{gr();});function mm(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ze(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}var nu=p(()=>{gr();});function Fi(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ze(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var iu=p(()=>{gr();});var Wi={};G(Wi,{customElement:()=>Ui,eventOptions:()=>mr,property:()=>C,query:()=>me,queryAll:()=>fm,queryAssignedElements:()=>mm,queryAssignedNodes:()=>Fi,queryAsync:()=>hm,standardProperty:()=>Jc,state:()=>le});var re=p(()=>{Xc();Bi();Qc();eu();tu();ru();ou();nu();iu()});var Ct,Et,Xe,uo=p(()=>{Ct={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Et=t=>(...e)=>({_$litDirective$:t,values:e}),Xe=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 gm,au,yr,wt,ym,su,lu,dn,cu=p(()=>{lt();({D:gm}=Lc),au=()=>document.createComment(""),yr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(au(),i),s=n.insertBefore(au(),i);r=new gm(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},wt=(t,e,r=t)=>(t._$AI(e,r),t),ym={},su=(t,e=ym)=>t._$AH=e,lu=t=>t._$AH,dn=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 uu,po,du=p(()=>{lt();uo();cu();uu=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},po=Et(class extends Xe{constructor(t){if(super(t),t.type!==Ct.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=lu(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,h,m=0,y=i.length-1,b=0,x=a.length-1;for(;m<=y&&b<=x;)if(i[m]===null)m++;else if(i[y]===null)y--;else if(l[m]===s[b])c[b]=wt(i[m],a[b]),m++,b++;else if(l[y]===s[x])c[x]=wt(i[y],a[x]),y--,x--;else if(l[m]===s[x])c[x]=wt(i[m],a[x]),yr(t,c[x+1],i[m]),m++,x--;else if(l[y]===s[b])c[b]=wt(i[y],a[b]),yr(t,i[m],i[y]),y--,b++;else if(d===void 0&&(d=uu(s,b,x),h=uu(l,m,y)),d.has(l[m]))if(d.has(l[y])){let E=h.get(s[b]),_=E!==void 0?i[E]:null;if(_===null){let P=yr(t,i[m]);wt(P,a[b]),c[b]=P}else c[b]=wt(_,a[b]),yr(t,i[m],_),i[E]=null;b++}else dn(i[y]),y--;else dn(i[m]),m++;for(;b<=x;){let E=yr(t,c[x+1]);wt(E,a[b]),c[b++]=E}for(;m<=y;){let E=i[m++];E!==null&&dn(E)}return this.dt=s,su(t,c),Le}})});var Hi={};G(Hi,{repeat:()=>po});var pn=p(()=>{du()});var dt,pu=p(()=>{lt();uo();dt=Et(class extends Xe{constructor(t){if(super(t),t.type!==Ct.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 Le}})});var zi={};G(zi,{classMap:()=>dt});var br=p(()=>{pu()});var fu,bm,xm,hu=p(()=>{lt();uo();fu="important",bm=" !"+fu,xm=Et(class extends Xe{constructor(t){if(super(t),t.type!==Ct.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(bm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?fu:""):r[n]=i}}return Le}})});var ji={};G(ji,{styleMap:()=>xm});var mu=p(()=>{hu()});var xr,Jt,gu=p(()=>{lt();uo();xr=class extends Xe{constructor(e){if(super(e),this.et=ae,e.type!==Ct.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ae||e==null)return this.vt=void 0,this.et=e;if(e===Le)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:[]}}};xr.directiveName="unsafeHTML",xr.resultType=1;Jt=Et(xr)});var Vi={};G(Vi,{UnsafeHTMLDirective:()=>xr,unsafeHTML:()=>Jt});var fo=p(()=>{gu()});var Ki={};G(Ki,{CancelablePromise:()=>vr,CanceledPromiseError:()=>At,cancelable:()=>Sr});var At,vr,Sr,fn=p(()=>{"use strict";At=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},vr=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new At("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new At("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Sr=t=>new vr((e,r)=>t.then(e).catch(r))});var Gi={};G(Gi,{CacheRegistry:()=>Je});var Je,Zi=p(()=>{"use strict";fn();Je=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 vr&&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=Sr(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 Yi={};G(Yi,{ClusteringHelper:()=>qi});var qi,Xi=p(()=>{"use strict";qi=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,h,m)=>m.findIndex(y=>y.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.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 Ji={};G(Ji,{Debouncer:()=>ye});var ye,hn=p(()=>{"use strict";ye=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 Qi={};G(Qi,{dateReviver:()=>Sm,deepEqual:()=>je,delay:()=>mn,eventPathContainsMatchingElement:()=>Cm,flatDeep:()=>bu,hasChanged:()=>ho,last:()=>wm,minmax:()=>Em,parseDate:()=>xu,waitFor:()=>yu,waitUntil:()=>vm});async function vm(t,e=10,r=2e4){await yu(async()=>await t()||void 0,e,r)}async function yu(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await mn(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function bu(t,e){return t.flatMap(r=>[r,...bu(e(r),e)])}function Sm(...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,n,i)=>r+n+":"+i),new Date(t)}function Om(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(!je(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(!je(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(!je(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function je(t,e){try{return Om(t,e)}catch{return!1}}function ho(t,e){return!je(t,e)}function Cm(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 Em(t,e,r){return Math.min(Math.max(t,e),r)}function wm(t){return t[t.length-1]}var mn,mo=p(()=>{"use strict";mn=t=>new Promise(e=>setTimeout(e,t))});var ea={};G(ea,{customElement:()=>z,isNumber:()=>vu,jsonProperty:()=>Oe,optionalNumberProperty:()=>Am});function Oe(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:ho,...e??{}})}function Am(t){return C({type:Object,converter:{fromAttribute:e=>{if(e!=null)return vu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function vu(t){return!isNaN(parseFloat(t))}var z,gn=p(()=>{"use strict";re();mo();z=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function I(t,e){return pt(`${t.name}: ${e}`)}var pt,o,Y=p(()=>{U();pt=t=>typeof t=="string"?Kt(t):t,o=class{static create(e,r,n,i){let a=l=>pt(l??i),s=N`var(${pt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>N`var(${pt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=N`var(${pt(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=>N`var(${pt(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):pt(a??e.lastResortDefaultValue()),i=N`var(${pt(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=>N`var(${pt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var u,ta,ra,oa,na,ia,aa,sa,la,ca,Su,ua,da,pa,fa,ha,ma,ga,ya,ba,xa,va,Sa,Oa,Ca,Ea,wa,go,Rm,Q=p(()=>{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"),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)")},ta={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")},ra={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")},oa={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")},na={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")},ia={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},aa={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},sa={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")},la={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")},ca={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")},Su={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ua={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},da={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")},pa={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")},fa={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")},ha={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")},ma={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")},ga={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")},ya={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ba={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},xa={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")},va={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")},Sa={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")},Oa={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")},Ca={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")},Ea={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")},wa={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")},go={display:ta,"title-1":ra,"title-2":oa,"title-3":na,"body-1-regular":ia,"body-1-medium":aa,"body-1-semibold":sa,"body-2-regular":la,"body-2-medium":ca,"body-2-medium-underline":Su,"body-2-semibold":ua,"label-1-medium":da,"label-1-semibold":pa,"label-1-bold":fa,"label-2-medium":ha,"label-2-semibold":ma,"label-2-bold":ga,"caption-1-medium":ya,"caption-1-semibold":ba,"caption-1-bold":xa,"caption-2-medium":va,"caption-2-semibold":Sa,"caption-2-bold":Oa,"caption-3-medium":Ca,"caption-3-semibold":Ea,"caption-3-bold":wa},Rm=["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 f,oe=p(()=>{Y();Q();f={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 T,Ou=p(()=>{Y();Q();oe();T={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","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.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","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.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","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.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","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.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 Nm,Cu=p(()=>{Y();Q();oe();Nm={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.extend("--ft-chip-large-border-radius","",u.borderRadiusPill),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.extend("--ft-chip-medium-border-radius","",u.borderRadiusPill),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.extend("--ft-chip-small-border-radius","",u.borderRadiusPill),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","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)}});var _m,Eu=p(()=>{Y();Q();oe();_m={focusOpacity:o.extend("--ft-link-focus-opacity","",u.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)}});var Pm,wu=p(()=>{Y();Q();oe();Pm={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","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)}});var Tm,Au=p(()=>{Y();Q();oe();Tm={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","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)}});var Im,Ru=p(()=>{Y();Q();oe();Im={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","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)}});var Lm,Nu=p(()=>{Y();Q();oe();Lm={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",u.spacing12),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","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)}});var $m,_u=p(()=>{Y();Q();oe();$m={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","",f.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","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.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 km,Pu=p(()=>{Y();Q();oe();km={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-drawer-shadow","",u.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.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","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.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","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",u.spacing4),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 Mm,Tu=p(()=>{Y();Q();oe();Mm={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","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.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","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",u.opacity40)}});var Dm,Iu=p(()=>{Y();Q();oe();Dm={backgroundColor:o.extend("--ft-text-area-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.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 Um,Lu=p(()=>{Y();Q();oe();Um={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","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",u.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.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","",f.backgroundGlobalOnSurface)}});var Bm,$u=p(()=>{Y();Q();oe();Bm={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","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.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 Fm,ku=p(()=>{Y();Q();oe();Fm={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.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 Wm,Mu=p(()=>{Y();Q();oe();Wm={backgroundColor:o.extend("--ft-popover-background-color","",f.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","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.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 Hm,Du=p(()=>{Y();Q();oe();Hm={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),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","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",u.opacity8),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",u.opacity0),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",u.opacity16),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.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","",f.borderActionFocusRing)}});var zm,Uu=p(()=>{Y();Q();oe();zm={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","",f.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","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",u.iconSize3)}});var jm,Bu=p(()=>{Y();Q();oe();jm={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","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.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","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.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","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.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","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",u.borderRadiusS)}});var Vm,Fu=p(()=>{Y();Q();Vm={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 Km,Wu=p(()=>{Y();Q();oe();Km={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","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)}});var Gm,Hu=p(()=>{Y();Q();oe();Gm={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.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","",f.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 Zm,zu=p(()=>{Y();Q();oe();Zm={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","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.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","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",u.spacing3)}});var qm,ju=p(()=>{Y();Q();oe();qm={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.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","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.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","",f.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 Ym,Vu=p(()=>{Y();Q();oe();Ym={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","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.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 Xm,Ku=p(()=>{Y();Q();oe();Xm={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","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",u.opacity80),shadow:o.extend("--ft-tooltip-shadow","",u.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",u.spacing05)}});var Gu=p(()=>{Q();oe();Ou();Cu();Eu();wu();Au();Ru();Nu();_u();Pu();Tu();Iu();Lu();$u();ku();Mu();Du();Uu();Bu();Fu();Wu();Hu();zu();ju();Vu();Ku()});function Jm(t){return`design-system--family-${t}`}function Qm(t){return`design-system--size-${t}`}var Aa,Ra,Zu=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Aa||(Aa={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(Ra||(Ra={}))});var K=p(()=>{Y();Gu();Zu()});var Na={};G(Na,{DesignSystemFamily:()=>Aa,DesignSystemSize:()=>Ra,FtCssVariableFactory:()=>o,badge:()=>Tm,banner:()=>Pm,breadcrumb:()=>Im,button:()=>T,chart:()=>Vm,checkbox:()=>Gm,chip:()=>Nm,collapsible:()=>zm,comboboxMultiSelect:()=>Fm,comboboxSingleSelect:()=>Bm,drawer:()=>km,floatingMenu:()=>Um,foundation:()=>u,link:()=>_m,modal:()=>$m,notice:()=>Km,notification:()=>Ym,pageHeader:()=>Lm,popover:()=>Wm,radio:()=>qm,resolveFamilyClass:()=>Jm,resolveSizeClass:()=>Qm,semantic:()=>f,setVariable:()=>I,switch_:()=>jm,tabs:()=>Hm,textArea:()=>Dm,textInput:()=>Mm,toggle:()=>Zm,tooltip:()=>Xm,typographies:()=>go,typographyBody1Medium:()=>aa,typographyBody1Regular:()=>ia,typographyBody1Semibold:()=>sa,typographyBody2Medium:()=>ca,typographyBody2MediumUnderline:()=>Su,typographyBody2Regular:()=>la,typographyBody2Semibold:()=>ua,typographyCaption1Bold:()=>xa,typographyCaption1Medium:()=>ya,typographyCaption1Semibold:()=>ba,typographyCaption2Bold:()=>Oa,typographyCaption2Medium:()=>va,typographyCaption2Semibold:()=>Sa,typographyCaption3Bold:()=>wa,typographyCaption3Medium:()=>Ca,typographyCaption3Semibold:()=>Ea,typographyDisplay:()=>ta,typographyLabel1Bold:()=>fa,typographyLabel1Medium:()=>da,typographyLabel1Semibold:()=>pa,typographyLabel2Bold:()=>ga,typographyLabel2Medium:()=>ha,typographyLabel2Semibold:()=>ma,typographyTitle1:()=>ra,typographyTitle2:()=>oa,typographyTitle3:()=>na,typographyVariants:()=>Rm});var yn=p(()=>{"use strict";K()});var _a={};G(_a,{designSystemVariables:()=>L});var L,Pa=p(()=>{"use strict";yn();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 $a={};G($a,{FtNotificationEvent:()=>Ta,PostResizeEvent:()=>La,PreResizeEvent:()=>Ia});var Ta,Ia,La,ka=p(()=>{"use strict";Ta=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ia=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},La=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function Ua(t,e,r){return Rt(t,yo(e,r))}function bn(t,e){return typeof t=="function"?t(e):t}function Or(t){return t.split("-")[0]}function Nt(t){return t.split("-")[1]}function Ba(t){return t==="x"?"y":"x"}function Fa(t){return t==="y"?"height":"width"}function xn(t){return["top","bottom"].includes(Or(t))?"y":"x"}function Wa(t){return Ba(xn(t))}function Xu(t,e,r){r===void 0&&(r=!1);let n=Nt(t),i=Wa(t),a=Fa(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ma(s)),[s,Ma(s)]}function Ju(t){return t.replace(/start|end/g,e=>tg[e])}function Ma(t){return t.replace(/left|right|bottom|top/g,e=>eg[e])}function rg(t){return{top:0,right:0,bottom:0,left:0,...t}}function Qu(t){return typeof t!="number"?rg(t):{top:t,right:t,bottom:t,left:t}}function Qt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var Yu,qu,Da,yo,Rt,bo,ft,eg,tg,vn=p(()=>{Yu=["top","right","bottom","left"],qu=["start","end"],Da=Yu.reduce((t,e)=>t.concat(e,e+"-"+qu[0],e+"-"+qu[1]),[]),yo=Math.min,Rt=Math.max,bo=Math.round,ft=t=>({x:t,y:t}),eg={left:"right",right:"left",bottom:"top",top:"bottom"},tg={start:"end",end:"start"}});function ed(t,e,r){let{reference:n,floating:i}=t,a=xn(e),s=Wa(e),l=Fa(s),c=Or(e),d=a==="y",h=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,b;switch(c){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:m};break;case"left":b={x:n.x-i.width,y:m};break;default:b={x:n.x,y:n.y}}switch(Nt(e)){case"start":b[s]-=y*(r&&d?-1:1);break;case"end":b[s]+=y*(r&&d?-1:1);break}return b}async function Ha(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:h="viewport",elementContext:m="floating",altBoundary:y=!1,padding:b=0}=bn(e,t),x=Qu(b),_=l[y?m==="floating"?"reference":"floating":m],P=Qt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(_)))==null||r?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:c})),k=m==="floating"?{...s.floating,x:n,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},w=Qt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:O,strategy:c}):k);return{top:(P.top-w.top+x.top)/S.y,bottom:(w.bottom-P.bottom+x.bottom)/S.y,left:(P.left-w.left+x.left)/S.x,right:(w.right-P.right+x.right)/S.x}}function og(t,e,r){return(t?[...r.filter(i=>Nt(i)===t),...r.filter(i=>Nt(i)!==t)]:r.filter(i=>Or(i)===i)).filter(i=>t?Nt(i)===t||(e?Ju(i)!==i:!1):!0)}var td,za,ja,Va=p(()=>{vn();vn();td=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:h,y:m}=ed(d,n,c),y=n,b={},x=0;for(let E=0;E<l.length;E++){let{name:_,fn:P}=l[E],{x:k,y:O,data:S,reset:w}=await P({x:h,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:b,rects:d,platform:s,elements:{reference:t,floating:e}});if(h=k??h,m=O??m,b={...b,[_]:{...b[_],...S}},w&&x<=50){x++,typeof w=="object"&&(w.placement&&(y=w.placement),w.rects&&(d=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:m}=ed(d,y,c)),E=-1;continue}}return{x:h,y:m,placement:y,strategy:i,middlewareData:b}};za=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:h=!1,alignment:m,allowedPlacements:y=Da,autoAlignment:b=!0,...x}=bn(t,e),E=m!==void 0||y===Da?og(m||null,b,y):y,_=await Ha(e,x),P=((r=s.autoPlacement)==null?void 0:r.index)||0,k=E[P];if(k==null)return{};let O=Xu(k,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==k)return{reset:{placement:E[0]}};let S=[_[Or(k)],_[O[0]],_[O[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:k,overflows:S}],B=E[P+1];if(B)return{data:{index:P+1,overflows:w},reset:{placement:B}};let W=w.map(g=>{let v=Nt(g.placement);return[g.placement,v&&h?g.overflows.slice(0,2).reduce((R,V)=>R+V,0):g.overflows[0],g.overflows]}).sort((g,v)=>g[1]-v[1]),Z=((i=W.filter(g=>g[2].slice(0,Nt(g[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||W[0][0];return Z!==l?{data:{index:P+1,overflows:w},reset:{placement:Z}}:{}}}},ja=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:_=>{let{x:P,y:k}=_;return{x:P,y:k}}},...c}=bn(t,e),d={x:r,y:n},h=await Ha(e,c),m=xn(Or(i)),y=Ba(m),b=d[y],x=d[m];if(a){let _=y==="y"?"top":"left",P=y==="y"?"bottom":"right",k=b+h[_],O=b-h[P];b=Ua(k,b,O)}if(s){let _=m==="y"?"top":"left",P=m==="y"?"bottom":"right",k=x+h[_],O=x-h[P];x=Ua(k,x,O)}let E=l.fn({...e,[y]:b,[m]:x});return{...E,data:{x:E.x-r,y:E.y-n}}}}}});function ht(t){return od(t)?(t.nodeName||"").toLowerCase():"#document"}function Ee(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function mt(t){var e;return(e=(od(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function od(t){return t instanceof Node||t instanceof Ee(t).Node}function Qe(t){return t instanceof Element||t instanceof Ee(t).Element}function Ve(t){return t instanceof HTMLElement||t instanceof Ee(t).HTMLElement}function rd(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ee(t).ShadowRoot}function Cr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=$e(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function nd(t){return["table","td","th"].includes(ht(t))}function On(t){let e=Cn(),r=$e(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 id(t){let e=er(t);for(;Ve(e)&&!xo(e);){if(On(e))return e;e=er(e)}return null}function Cn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xo(t){return["html","body","#document"].includes(ht(t))}function $e(t){return Ee(t).getComputedStyle(t)}function vo(t){return Qe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function er(t){if(ht(t)==="html")return t;let e=t.assignedSlot||t.parentNode||rd(t)&&t.host||mt(t);return rd(e)?e.host:e}function ad(t){let e=er(t);return xo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ve(e)&&Cr(e)?e:ad(e)}function Sn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ad(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Ee(i);return a?e.concat(s,s.visualViewport||[],Cr(i)?i:[],s.frameElement&&r?Sn(s.frameElement):[]):e.concat(i,Sn(i,[],r))}var sd=p(()=>{});function ud(t){let e=$e(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ve(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=bo(r)!==a||bo(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function dd(t){return Qe(t)?t:t.contextElement}function Er(t){let e=dd(t);if(!Ve(e))return ft(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=ud(e),s=(a?bo(r.width):r.width)/n,l=(a?bo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function pd(t){let e=Ee(t);return!Cn()||!e.visualViewport?ng:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ig(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ee(t)?!1:e}function So(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=dd(t),s=ft(1);e&&(n?Qe(n)&&(s=Er(n)):s=Er(t));let l=ig(a,r,n)?pd(a):ft(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,h=i.width/s.x,m=i.height/s.y;if(a){let y=Ee(a),b=n&&Qe(n)?Ee(n):n,x=y.frameElement;for(;x&&n&&b!==y;){let E=Er(x),_=x.getBoundingClientRect(),P=$e(x),k=_.left+(x.clientLeft+parseFloat(P.paddingLeft))*E.x,O=_.top+(x.clientTop+parseFloat(P.paddingTop))*E.y;c*=E.x,d*=E.y,h*=E.x,m*=E.y,c+=k,d+=O,x=Ee(x).frameElement}}return Qt({width:h,height:m,x:c,y:d})}function ag(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ve(r),a=mt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=ft(1),c=ft(0);if((i||!i&&n!=="fixed")&&((ht(r)!=="body"||Cr(a))&&(s=vo(r)),Ve(r))){let d=So(r);l=Er(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 sg(t){return Array.from(t.getClientRects())}function fd(t){return So(mt(t)).left+vo(t).scrollLeft}function lg(t){let e=mt(t),r=vo(t),n=t.ownerDocument.body,i=Rt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Rt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+fd(t),l=-r.scrollTop;return $e(n).direction==="rtl"&&(s+=Rt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function cg(t,e){let r=Ee(t),n=mt(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=Cn();(!d||d&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function ug(t,e){let r=So(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Ve(t)?Er(t):ft(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 ld(t,e,r){let n;if(e==="viewport")n=cg(t,r);else if(e==="document")n=lg(mt(t));else if(Qe(e))n=ug(e,r);else{let i=pd(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Qt(n)}function hd(t,e){let r=er(t);return r===e||!Qe(r)||xo(r)?!1:$e(r).position==="fixed"||hd(r,e)}function dg(t,e){let r=e.get(t);if(r)return r;let n=Sn(t,[],!1).filter(l=>Qe(l)&&ht(l)!=="body"),i=null,a=$e(t).position==="fixed",s=a?er(t):t;for(;Qe(s)&&!xo(s);){let l=$e(s),c=On(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Cr(s)&&!c&&hd(t,s))?n=n.filter(h=>h!==s):i=l,s=er(s)}return e.set(t,n),n}function pg(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?dg(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((d,h)=>{let m=ld(e,h,i);return d.top=Rt(m.top,d.top),d.right=yo(m.right,d.right),d.bottom=yo(m.bottom,d.bottom),d.left=Rt(m.left,d.left),d},ld(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function fg(t){return ud(t)}function hg(t,e,r){let n=Ve(e),i=mt(e),a=r==="fixed",s=So(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=ft(0);if(n||!n&&!a)if((ht(e)!=="body"||Cr(i))&&(l=vo(e)),n){let d=So(e,!0,a,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&(c.x=fd(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function cd(t,e){return!Ve(t)||$e(t).position==="fixed"?null:e?e(t):t.offsetParent}function md(t,e){let r=Ee(t);if(!Ve(t))return r;let n=cd(t,e);for(;n&&nd(n)&&$e(n).position==="static";)n=cd(n,e);return n&&(ht(n)==="html"||ht(n)==="body"&&$e(n).position==="static"&&!On(n))?r:n||id(t)||r}function gg(t){return $e(t).direction==="rtl"}var ng,mg,En,gd,yd=p(()=>{Va();Va();vn();sd();ng=ft(0);mg=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||md,a=this.getDimensions;return{reference:hg(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};En={convertOffsetParentRelativeRectToViewportRelativeRect:ag,getDocumentElement:mt,getClippingRect:pg,getOffsetParent:md,getElementRects:mg,getClientRects:sg,getDimensions:fg,getScale:Er,isElement:Qe,isRTL:gg},gd=(t,e,r)=>{let n=new Map,i={platform:En,...r},a={...i.platform,_c:n};return td(t,e,{...i,platform:a})}});function bd(t){return yg(t)}function Ka(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function yg(t){for(let e=t;e;e=Ka(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ka(t);e;e=Ka(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 xd=p(()=>{});var Za={};G(Za,{computeOffsetPosition:()=>Ga});async function Ga(t,e,r){return gd(t,e,{platform:{...En,getOffsetParent:n=>En.getOffsetParent(n,bd)},middleware:[ja({crossAxis:!0}),za({allowedPlacements:[r]})]})}var wn=p(()=>{"use strict";yd();xd()});var An,bg,Qv,vd,Sd=p(()=>{An=window,bg=An.ShadowRoot&&(An.ShadyCSS===void 0||An.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qv=Symbol(),vd=(t,e)=>{bg?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=An.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var qa={};G(qa,{ScopedRegistryLitElement:()=>Oo});var Oo,Rn=p(()=>{"use strict";U();Sd();Oo=class extends ut{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 vd(n,e.elementStyles),n}}});var Ya={};G(Ya,{FtLitElement:()=>X});var Nn,Ed,Od,Cd,wd,X,_n=p(()=>{"use strict";re();gn();hn();Rn();Nn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var 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},Od=Symbol("constructorPrototype"),Cd=Symbol("constructorName"),wd=Symbol("exportpartsDebouncer"),X=class extends Oo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ed]=new ye(5),this[Cd]=this.constructor.name,this[Od]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Cd]&&Object.setPrototypeOf(this,this[Od])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}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[wd].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=y=>y!=null&&y.trim().length>0,d=e.filter(c).map(y=>y.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=y.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=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(y=>d.map(b=>`${y}:${b}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Ed=wd;Nn([C()],X.prototype,"exportpartsPrefix",void 0);Nn([Oe([])],X.prototype,"exportpartsPrefixes",void 0);Nn([C()],X.prototype,"customStylesheet",void 0);Nn([le()],X.prototype,"useAdoptedStyleSheets",void 0)});var Ad={};var Xa=p(()=>{"use strict"});var tr,Rd=p(()=>{tr=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,h=>{r(d)&&(l++,n(h)),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,h,m=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;m();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(d,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,b=>c.push(b),i)}),c.push(d);c.forEach(y=>{n(y)}),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 Co,Nd=p(()=>{Rd();Co=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 tr(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 tr.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,h=(n>s.end?s.end:n)-s.start,m=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),e.value=m+y,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,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 h=d.index;if(s!==0)for(let m=1;m<s;m++)h+=d[m].length;c=this.wrapRangeInTextNode(c,h,h+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 m=1;m<s;m++)d+=c[m].length;let h=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,h,m=>n(c[s],m),(m,y)=>{e.lastIndex=y,i(m)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:d,end:h,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,d,h,y=>r(y,l,a.value.substring(d,h),c),y=>{n(y,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 h=new RegExp(this.createRegExp(d),`gm${l}`),m=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,b)=>this.opt.filter(b,d,n,m),y=>{m++,n++,this.opt.each(y)},()=>{m===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=tr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Ja(t){let e=new Co(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 _d=p(()=>{Nd()});var ts={};G(ts,{highlightHtml:()=>es,highlightHtmlColorCssVariable:()=>Pd,highlightHtmlStyles:()=>vg});function es(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new xg(t);i.unmark(Qa),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...Qa,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Qa,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var xg,Pd,vg,Qa,rs=p(()=>{"use strict";U();K();_d();xg=Ja,Pd=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),vg=N`
|
|
1
|
+
"use strict";(()=>{var gm=Object.create;var Na=Object.defineProperty;var ym=Object.getOwnPropertyDescriptor;var bm=Object.getOwnPropertyNames;var xm=Object.getPrototypeOf,vm=Object.prototype.hasOwnProperty;var h=(t,e)=>()=>(t&&(e=t(t=0)),e);var Sm=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),q=(t,e)=>{for(var r in e)Na(t,r,{get:e[r],enumerable:!0})},Om=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of bm(e))!vm.call(t,a)&&a!==r&&Na(t,a,{get:()=>e[a],enumerable:!(n=ym(e,a))||n.enumerable});return t};var Cm=(t,e,r)=>(r=t!=null?gm(xm(t)):{},Om(e||!t||!t.__esModule?Na(r,"default",{value:t,enumerable:!0}):r,t));var vl=h(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,s=new WeakMap,c=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(w,E){if(w=w.toLowerCase(),this._getDefinition(w)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${w}" has already been used with this registry`);if(this._definitionsByClass.get(E)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let A=E.prototype.attributeChangedCallback,z=new Set(E.observedAttributes||[]);v(E,z,A);let K={elementClass:E,connectedCallback:E.prototype.connectedCallback,disconnectedCallback:E.prototype.disconnectedCallback,adoptedCallback:E.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:E.formAssociated,formAssociatedCallback:E.prototype.formAssociatedCallback,formDisabledCallback:E.prototype.formDisabledCallback,formResetCallback:E.prototype.formResetCallback,formStateRestoreCallback:E.prototype.formStateRestoreCallback,observedAttributes:z};this._definitionsByTag.set(w,K),this._definitionsByClass.set(E,K);let Ee=r.call(n,w);Ee||(Ee=b(w),e.call(n,w,Ee)),this===window.customElements&&(c.set(E,K),K.standInClass=Ee);let X=this._awaitingUpgrade.get(w);if(X){this._awaitingUpgrade.delete(w);for(let C of X)s.delete(C),O(C,K,!0)}let x=this._whenDefinedPromises.get(w);return x!==void 0&&(x.resolve(E),this._whenDefinedPromises.delete(w)),E}upgrade(){_.push(this),n.upgrade.apply(n,arguments),_.pop()}get(w){return this._definitionsByTag.get(w)?.elementClass}_getDefinition(w){return this._definitionsByTag.get(w)}whenDefined(w){let E=this._getDefinition(w);if(E!==void 0)return Promise.resolve(E.elementClass);let A=this._whenDefinedPromises.get(w);return A===void 0&&(A={},A.promise=new Promise(z=>A.resolve=z),this._whenDefinedPromises.set(w,A)),A.promise}_upgradeWhenDefined(w,E,A){let z=this._awaitingUpgrade.get(E);z||this._awaitingUpgrade.set(E,z=new Set),A?z.add(w):z.delete(w)}};let d;window.HTMLElement=function(){let E=d;if(E)return d=void 0,E;let A=c.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return E=Reflect.construct(t,[],A.standInClass),Object.setPrototypeOf(E,this.constructor.prototype),a.set(E,A),E},window.HTMLElement.prototype=t.prototype;let u=w=>w===document||w instanceof ShadowRoot,y=w=>{let E=w.getRootNode();if(!u(E)){let A=_[_.length-1];if(A instanceof CustomElementRegistry)return A;E=A.getRootNode(),u(E)||(E=l.get(E)?.getRootNode()||document)}return E.customElements},b=w=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let z=y(A)||window.customElements,K=z._getDefinition(w);return K?O(A,K):s.set(A,z),A}connectedCallback(){let A=a.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,w,!0)}disconnectedCallback(){let A=a.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,w,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=a.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=a.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=a.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=a.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},v=(w,E,A)=>{if(E.size===0||A===void 0)return;let z=w.prototype.setAttribute;z&&(w.prototype.setAttribute=function(X,x){let C=X.toLowerCase();if(E.has(C)){let L=this.getAttribute(C);z.call(this,C,x),A.call(this,C,L,x)}else z.call(this,C,x)});let K=w.prototype.removeAttribute;K&&(w.prototype.removeAttribute=function(X){let x=X.toLowerCase();if(E.has(x)){let C=this.getAttribute(x);K.call(this,x),A.call(this,x,C,null)}else K.call(this,x)});let Ee=w.prototype.toggleAttribute;Ee&&(w.prototype.toggleAttribute=function(X,x){let C=X.toLowerCase();if(E.has(C)){let L=this.getAttribute(C);Ee.call(this,C,x);let j=this.getAttribute(C);A.call(this,C,L,j)}else Ee.call(this,C,x)})},S=w=>{let E=Object.getPrototypeOf(w);if(E!==window.HTMLElement)return E===t?Object.setPrototypeOf(w,window.HTMLElement):S(E)},O=(w,E,A=!1)=>{Object.setPrototypeOf(w,E.elementClass.prototype),a.set(w,E),d=w;try{new E.elementClass}catch{S(E.elementClass),new E.elementClass}E.attributeChangedCallback&&E.observedAttributes.forEach(z=>{w.hasAttribute(z)&&E.attributeChangedCallback.call(w,z,null,w.getAttribute(z))}),A&&E.connectedCallback&&w.isConnected&&E.connectedCallback.call(w)},R=Element.prototype.attachShadow;Element.prototype.attachShadow=function(w){let E=R.apply(this,arguments);return w.customElements&&(E.customElements=w.customElements),E};let _=[document],T=(w,E,A=void 0)=>{let z=(A?Object.getPrototypeOf(A):w.prototype)[E];w.prototype[E]=function(){_.push(this);let K=z.apply(A||this,arguments);return K!==void 0&&l.set(K,this),_.pop(),K}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let M=(w,E)=>{let A=Object.getOwnPropertyDescriptor(w.prototype,E);Object.defineProperty(w.prototype,E,{...A,set(z){_.push(this),A.set.call(this,z),_.pop()}})};if(M(Element,"innerHTML"),M(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let w=new WeakMap,E=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...X){let x=E.call(this,...X);return w.set(x,this),x},A.forEach(X=>{let x=window.ElementInternals.prototype,C=x[X];x[X]=function(...L){let j=w.get(this);if(a.get(j).formAssociated===!0)return C?.call(this,...L);throw new DOMException(`Failed to execute ${C} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class z extends Array{constructor(x){super(...x),this._elements=x}get value(){return this._elements.find(x=>x.checked===!0)?.value||""}}class K{constructor(x){let C=new Map;x.forEach((L,j)=>{let ye=L.getAttribute("name"),J=C.get(ye)||[];this[+j]=L,J.push(L),C.set(ye,J)}),this.length=x.length,C.forEach((L,j)=>{L&&(L.length===1?this[j]=L[0]:this[j]=new z(L))})}namedItem(x){return this[x]}}let Ee=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let X=Ee.get.call(this,[]),x=[];for(let C of X){let L=a.get(C);(!L||L.formAssociated===!0)&&x.push(C)}return new K(x)}})}}});var Sl=h(()=>{"use strict";vl();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(s){console.info(r,n,a,s)}}}});var jo,Yo,Cl,Ol,qo,El,Ra,Xo,Aa=h(()=>{jo=globalThis,Yo=jo.ShadowRoot&&(jo.ShadyCSS===void 0||jo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Cl=Symbol(),Ol=new WeakMap,qo=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Cl)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 n=r!==void 0&&r.length===1;n&&(e=Ol.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ol.set(r,e))}return e}toString(){return this.cssText}},El=t=>new qo(typeof t=="string"?t:t+"",void 0,Cl),Ra=(t,e)=>{if(Yo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=jo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},Xo=Yo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return El(r)})(t):t});var Em,wm,Nm,Rm,Am,Im,Jo,wl,Pm,Lm,no,ao,Qo,Nl,jt,Ia=h(()=>{Aa();Aa();({is:Em,defineProperty:wm,getOwnPropertyDescriptor:Nm,getOwnPropertyNames:Rm,getOwnPropertySymbols:Am,getPrototypeOf:Im}=Object),Jo=globalThis,wl=Jo.trustedTypes,Pm=wl?wl.emptyScript:"",Lm=Jo.reactiveElementPolyfillSupport,no=(t,e)=>t,ao={toAttribute(t,e){switch(e){case Boolean:t=t?Pm: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)=>!Em(t,e),Nl={attribute:!0,type:String,converter:ao,reflect:!1,hasChanged:Qo};Symbol.metadata??=Symbol("metadata"),Jo.litPropertyMetadata??=new WeakMap;jt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Nl){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&wm(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:s}=Nm(this.prototype,e)??{get(){return this[r]},set(c){this[r]=c}};return{get(){return a?.call(this)},set(c){let l=a?.call(this);s.call(this,c),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Nl}static _$Ei(){if(this.hasOwnProperty(no("elementProperties")))return;let e=Im(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=[...Rm(r),...Am(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(Xo(a))}else e!==void 0&&r.push(Xo(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 Ra(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),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:ao).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(a):this.setAttribute(a,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let s=n.getPropertyOptions(a),c=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:ao;this._$Em=a,this[a]=c.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,s){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Qo)(a?s: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[a,s]of this._$Ep)this[a]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,s]of n)s.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],s)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};jt.elementStyles=[],jt.shadowRootOptions={mode:"open"},jt[no("elementProperties")]=new Map,jt[no("finalized")]=new Map,Lm?.({ReactiveElement:jt}),(Jo.reactiveElementVersions??=[]).push("2.0.2")});function Bl(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rl!==void 0?Rl.createHTML(e):e}function Jt(t,e,r=t,n){if(e===Be)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,s=so(e)?void 0:e._$litDirective$;return a?.constructor!==s&&(a?._$AO?.(!1),s===void 0?a=void 0:(a=new s(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=Jt(t,a._$AS(t,e.values),a,n)),e}var La,en,Rl,_a,ut,Ta,_m,Xt,tn,so,Tl,kl,Pa,io,Al,Il,qt,Pl,Ll,Ul,$l,Dl,Ml,Be,fe,_l,Yt,Wl,co,rn,lo,Qt,on,nn,an,sn,Fl,Tm,ht=h(()=>{La=globalThis,en=La.trustedTypes,Rl=en?en.createPolicy("lit-html",{createHTML:t=>t}):void 0,_a="$lit$",ut=`lit$${(Math.random()+"").slice(9)}$`,Ta="?"+ut,_m=`<${Ta}>`,Xt=document,tn=()=>Xt.createComment(""),so=t=>t===null||typeof t!="object"&&typeof t!="function",Tl=Array.isArray,kl=t=>Tl(t)||typeof t?.[Symbol.iterator]=="function",Pa=`[
|
|
2
|
+
\f\r]`,io=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Al=/-->/g,Il=/>/g,qt=RegExp(`>|${Pa}(?:([^\\s"'>=/]+)(${Pa}*=${Pa}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Pl=/'/g,Ll=/"/g,Ul=/^(?:script|style|textarea|title)$/i,$l=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Dl=$l(1),Ml=$l(2),Be=Symbol.for("lit-noChange"),fe=Symbol.for("lit-nothing"),_l=new WeakMap,Yt=Xt.createTreeWalker(Xt,129);Wl=(t,e)=>{let r=t.length-1,n=[],a,s=e===2?"<svg>":"",c=io;for(let l=0;l<r;l++){let d=t[l],u,y,b=-1,v=0;for(;v<d.length&&(c.lastIndex=v,y=c.exec(d),y!==null);)v=c.lastIndex,c===io?y[1]==="!--"?c=Al:y[1]!==void 0?c=Il:y[2]!==void 0?(Ul.test(y[2])&&(a=RegExp("</"+y[2],"g")),c=qt):y[3]!==void 0&&(c=qt):c===qt?y[0]===">"?(c=a??io,b=-1):y[1]===void 0?b=-2:(b=c.lastIndex-y[2].length,u=y[1],c=y[3]===void 0?qt:y[3]==='"'?Ll:Pl):c===Ll||c===Pl?c=qt:c===Al||c===Il?c=io:(c=qt,a=void 0);let S=c===qt&&t[l+1].startsWith("/>")?" ":"";s+=c===io?d+_m:b>=0?(n.push(u),d.slice(0,b)+_a+d.slice(b)+ut+S):d+ut+(b===-2?l:S)}return[Bl(t,s+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},co=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let s=0,c=0,l=e.length-1,d=this.parts,[u,y]=Wl(e,r);if(this.el=t.createElement(u,n),Yt.currentNode=this.el.content,r===2){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(a=Yt.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let b of a.getAttributeNames())if(b.endsWith(_a)){let v=y[c++],S=a.getAttribute(b).split(ut),O=/([.?@])?(.*)/.exec(v);d.push({type:1,index:s,name:O[2],strings:S,ctor:O[1]==="."?on:O[1]==="?"?nn:O[1]==="@"?an:Qt}),a.removeAttribute(b)}else b.startsWith(ut)&&(d.push({type:6,index:s}),a.removeAttribute(b));if(Ul.test(a.tagName)){let b=a.textContent.split(ut),v=b.length-1;if(v>0){a.textContent=en?en.emptyScript:"";for(let S=0;S<v;S++)a.append(b[S],tn()),Yt.nextNode(),d.push({type:2,index:++s});a.append(b[v],tn())}}}else if(a.nodeType===8)if(a.data===Ta)d.push({type:2,index:s});else{let b=-1;for(;(b=a.data.indexOf(ut,b+1))!==-1;)d.push({type:7,index:s}),b+=ut.length-1}s++}}static createElement(e,r){let n=Xt.createElement("template");return n.innerHTML=e,n}};rn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Xt).importNode(r,!0);Yt.currentNode=a;let s=Yt.nextNode(),c=0,l=0,d=n[0];for(;d!==void 0;){if(c===d.index){let u;d.type===2?u=new lo(s,s.nextSibling,this,e):d.type===1?u=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(u=new sn(s,this,e)),this._$AV.push(u),d=n[++l]}c!==d?.index&&(s=Yt.nextNode(),c++)}return Yt.currentNode=Xt,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=fe,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Jt(this,e,r),so(e)?e===fe||e==null||e===""?(this._$AH!==fe&&this._$AR(),this._$AH=fe):e!==this._$AH&&e!==Be&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):kl(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!==fe&&so(this._$AH)?this._$AA.nextSibling.data=e:this.$(Xt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=co.createElement(Bl(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let s=new rn(a,this),c=s.u(this.options);s.p(r),this.$(c),this._$AH=s}}_$AC(e){let r=_l.get(e.strings);return r===void 0&&_l.set(e.strings,r=new co(e)),r}T(e){Tl(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let s of e)a===r.length?r.push(n=new t(this.k(tn()),this.k(tn()),this,this.options)):n=r[a],n._$AI(s),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,s){this.type=1,this._$AH=fe,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=fe}_$AI(e,r=this,n,a){let s=this.strings,c=!1;if(s===void 0)e=Jt(this,e,r,0),c=!so(e)||e!==this._$AH&&e!==Be,c&&(this._$AH=e);else{let l=e,d,u;for(e=s[0],d=0;d<s.length-1;d++)u=Jt(this,l[n+d],r,d),u===Be&&(u=this._$AH[d]),c||=!so(u)||u!==this._$AH[d],u===fe?e=fe:e!==fe&&(e+=(u??"")+s[d+1]),this._$AH[d]=u}c&&!a&&this.O(e)}O(e){e===fe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},on=class extends Qt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===fe?void 0:e}},nn=class extends Qt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==fe)}},an=class extends Qt{constructor(e,r,n,a,s){super(e,r,n,a,s),this.type=5}_$AI(e,r=this){if((e=Jt(this,e,r,0)??fe)===Be)return;let n=this._$AH,a=e===fe&&n!==fe||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==fe&&(n===fe||a);a&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},sn=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){Jt(this,e)}},Fl={j:_a,P:ut,A:Ta,C:1,M:Wl,L:rn,R:kl,V:Jt,D:lo,I:Qt,H:nn,N:an,U:on,B:sn},Tm=La.litHtmlPolyfillSupport;Tm?.(co,lo),(La.litHtmlVersions??=[]).push("3.1.0")});var cn,po,ka,zl,vr,mt,I,ln,fo,Ua=h(()=>{cn=globalThis,po=cn.ShadowRoot&&(cn.ShadyCSS===void 0||cn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ka=Symbol(),zl=new WeakMap,vr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ka)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(po&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=zl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&zl.set(r,e))}return e}toString(){return this.cssText}},mt=t=>new vr(typeof t=="string"?t:t+"",void 0,ka),I=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,a,s)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[s+1],t[0]);return new vr(r,t,ka)},ln=(t,e)=>{if(po)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=cn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},fo=po?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return mt(r)})(t):t});var km,Um,$m,Dm,Mm,Bm,pn,Hl,Wm,Fm,uo,dn,$a,Kl,rt,Da=h(()=>{Ua();Ua();({is:km,defineProperty:Um,getOwnPropertyDescriptor:$m,getOwnPropertyNames:Dm,getOwnPropertySymbols:Mm,getPrototypeOf:Bm}=Object),pn=globalThis,Hl=pn.trustedTypes,Wm=Hl?Hl.emptyScript:"",Fm=pn.reactiveElementPolyfillSupport,uo=(t,e)=>t,dn={toAttribute(t,e){switch(e){case Boolean:t=t?Wm: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}},$a=(t,e)=>!km(t,e),Kl={attribute:!0,type:String,converter:dn,reflect:!1,hasChanged:$a};Symbol.metadata??=Symbol("metadata"),pn.litPropertyMetadata??=new WeakMap;rt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Kl){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Um(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:s}=$m(this.prototype,e)??{get(){return this[r]},set(c){this[r]=c}};return{get(){return a?.call(this)},set(c){let l=a?.call(this);s.call(this,c),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Kl}static _$Ei(){if(this.hasOwnProperty(uo("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(uo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(uo("properties"))){let r=this.properties,n=[...Dm(r),...Mm(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(fo(a))}else e!==void 0&&r.push(fo(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),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:dn).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(a):this.setAttribute(a,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let s=n.getPropertyOptions(a),c=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:dn;this._$Em=a,this[a]=c.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,s){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??$a)(a?s: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[a,s]of this._$Ep)this[a]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,s]of n)s.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],s)}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){}};rt.elementStyles=[],rt.shadowRootOptions={mode:"open"},rt[uo("elementProperties")]=new Map,rt[uo("finalized")]=new Map,Fm?.({ReactiveElement:rt}),(pn.reactiveElementVersions??=[]).push("2.0.2")});function td(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Gl!==void 0?Gl.createHTML(e):e}function or(t,e,r=t,n){if(e===It)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,s=go(e)?void 0:e._$litDirective$;return a?.constructor!==s&&(a?._$AO?.(!1),s===void 0?a=void 0:(a=new s(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=or(t,a._$AS(t,e.values),a,n)),e}var Ba,fn,Gl,Wa,gt,Fa,zm,rr,mo,go,Xl,Jl,Ma,ho,Zl,Vl,er,jl,ql,Ql,ed,B,Hm,It,G,Yl,tr,rd,yo,un,Sr,nr,hn,mn,gn,yn,Km,Gm,za,Ha=h(()=>{Ba=globalThis,fn=Ba.trustedTypes,Gl=fn?fn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wa="$lit$",gt=`lit$${(Math.random()+"").slice(9)}$`,Fa="?"+gt,zm=`<${Fa}>`,rr=document,mo=()=>rr.createComment(""),go=t=>t===null||typeof t!="object"&&typeof t!="function",Xl=Array.isArray,Jl=t=>Xl(t)||typeof t?.[Symbol.iterator]=="function",Ma=`[
|
|
4
|
+
\f\r]`,ho=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zl=/-->/g,Vl=/>/g,er=RegExp(`>|${Ma}(?:([^\\s"'>=/]+)(${Ma}*=${Ma}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),jl=/'/g,ql=/"/g,Ql=/^(?:script|style|textarea|title)$/i,ed=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),B=ed(1),Hm=ed(2),It=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Yl=new WeakMap,tr=rr.createTreeWalker(rr,129);rd=(t,e)=>{let r=t.length-1,n=[],a,s=e===2?"<svg>":"",c=ho;for(let l=0;l<r;l++){let d=t[l],u,y,b=-1,v=0;for(;v<d.length&&(c.lastIndex=v,y=c.exec(d),y!==null);)v=c.lastIndex,c===ho?y[1]==="!--"?c=Zl:y[1]!==void 0?c=Vl:y[2]!==void 0?(Ql.test(y[2])&&(a=RegExp("</"+y[2],"g")),c=er):y[3]!==void 0&&(c=er):c===er?y[0]===">"?(c=a??ho,b=-1):y[1]===void 0?b=-2:(b=c.lastIndex-y[2].length,u=y[1],c=y[3]===void 0?er:y[3]==='"'?ql:jl):c===ql||c===jl?c=er:c===Zl||c===Vl?c=ho:(c=er,a=void 0);let S=c===er&&t[l+1].startsWith("/>")?" ":"";s+=c===ho?d+zm:b>=0?(n.push(u),d.slice(0,b)+Wa+d.slice(b)+gt+S):d+gt+(b===-2?l:S)}return[td(t,s+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},yo=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let s=0,c=0,l=e.length-1,d=this.parts,[u,y]=rd(e,r);if(this.el=t.createElement(u,n),tr.currentNode=this.el.content,r===2){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(a=tr.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let b of a.getAttributeNames())if(b.endsWith(Wa)){let v=y[c++],S=a.getAttribute(b).split(gt),O=/([.?@])?(.*)/.exec(v);d.push({type:1,index:s,name:O[2],strings:S,ctor:O[1]==="."?hn:O[1]==="?"?mn:O[1]==="@"?gn:nr}),a.removeAttribute(b)}else b.startsWith(gt)&&(d.push({type:6,index:s}),a.removeAttribute(b));if(Ql.test(a.tagName)){let b=a.textContent.split(gt),v=b.length-1;if(v>0){a.textContent=fn?fn.emptyScript:"";for(let S=0;S<v;S++)a.append(b[S],mo()),tr.nextNode(),d.push({type:2,index:++s});a.append(b[v],mo())}}}else if(a.nodeType===8)if(a.data===Fa)d.push({type:2,index:s});else{let b=-1;for(;(b=a.data.indexOf(gt,b+1))!==-1;)d.push({type:7,index:s}),b+=gt.length-1}s++}}static createElement(e,r){let n=rr.createElement("template");return n.innerHTML=e,n}};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:n}=this._$AD,a=(e?.creationScope??rr).importNode(r,!0);tr.currentNode=a;let s=tr.nextNode(),c=0,l=0,d=n[0];for(;d!==void 0;){if(c===d.index){let u;d.type===2?u=new Sr(s,s.nextSibling,this,e):d.type===1?u=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(u=new yn(s,this,e)),this._$AV.push(u),d=n[++l]}c!==d?.index&&(s=tr.nextNode(),c++)}return tr.currentNode=rr,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Sr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=or(this,e,r),go(e)?e===G||e==null||e===""?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==It&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Jl(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!==G&&go(this._$AH)?this._$AA.nextSibling.data=e:this.$(rr.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=yo.createElement(td(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let s=new un(a,this),c=s.u(this.options);s.p(r),this.$(c),this._$AH=s}}_$AC(e){let r=Yl.get(e.strings);return r===void 0&&Yl.set(e.strings,r=new yo(e)),r}T(e){Xl(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let s of e)a===r.length?r.push(n=new t(this.k(mo()),this.k(mo()),this,this.options)):n=r[a],n._$AI(s),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},nr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,s){this.type=1,this._$AH=G,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(e,r=this,n,a){let s=this.strings,c=!1;if(s===void 0)e=or(this,e,r,0),c=!go(e)||e!==this._$AH&&e!==It,c&&(this._$AH=e);else{let l=e,d,u;for(e=s[0],d=0;d<s.length-1;d++)u=or(this,l[n+d],r,d),u===It&&(u=this._$AH[d]),c||=!go(u)||u!==this._$AH[d],u===G?e=G:e!==G&&(e+=(u??"")+s[d+1]),this._$AH[d]=u}c&&!a&&this.O(e)}O(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},hn=class extends nr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===G?void 0:e}},mn=class extends nr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}},gn=class extends nr{constructor(e,r,n,a,s){super(e,r,n,a,s),this.type=5}_$AI(e,r=this){if((e=or(this,e,r,0)??G)===It)return;let n=this._$AH,a=e===G&&n!==G||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==G&&(n===G||a);a&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},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)}},Km={j:Wa,P:gt,A:Fa,C:1,M:rd,L:un,R:Jl,V:or,D:Sr,I:nr,H:mn,N:gn,U:hn,B:yn},Gm=Ba.litHtmlPolyfillSupport;Gm?.(yo,Sr),(Ba.litHtmlVersions??=[]).push("3.1.0");za=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let s=r?.renderBefore??null;n._$litPart$=a=new Sr(e.insertBefore(mo(),s),s,void 0,r??{})}return a._$AI(t),a}});var yt,Zm,Vm,od=h(()=>{Da();Da();Ha();Ha();yt=class extends rt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=za(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return It}};yt._$litElement$=!0,yt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:yt});Zm=globalThis.litElementPolyfillSupport;Zm?.({LitElement:yt});Vm={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var Lb,nd=h(()=>{Lb=!1});var Ka={};q(Ka,{CSSResult:()=>vr,LitElement:()=>yt,ReactiveElement:()=>rt,_$LE:()=>Vm,_$LH:()=>Km,adoptStyles:()=>ln,css:()=>I,defaultConverter:()=>dn,getCompatibleStyle:()=>fo,html:()=>B,isServer:()=>Lb,noChange:()=>It,notEqual:()=>$a,nothing:()=>G,render:()=>za,supportsAdoptingStyleSheets:()=>po,svg:()=>Hm,unsafeCSS:()=>mt});var F=h(()=>{Ia();ht();od();nd()});var Ga,ad=h(()=>{Ga=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function N(t){return(e,r)=>typeof r=="object"?id(t,e,r):((n,a,s)=>{let c=a.hasOwnProperty(s);return a.constructor.createProperty(s,c?{...n,wrapped:!0}:n),c?Object.getOwnPropertyDescriptor(a,s):void 0})(t,e,r)}var jm,id,Za=h(()=>{Ia();jm={attribute:!0,type:String,converter:ao,reflect:!1,hasChanged:Qo},id=(t=jm,e,r)=>{let{kind:n,metadata:a}=r,s=globalThis.litPropertyMetadata.get(a);if(s===void 0&&globalThis.litPropertyMetadata.set(a,s=new Map),s.set(r.name,t),n==="accessor"){let{name:c}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(c,d,t)},init(l){return l!==void 0&&this.C(c,void 0,t),l}}}if(n==="setter"){let{name:c}=r;return function(l){let d=this[c];e.call(this,l),this.requestUpdate(c,d,t)}}throw Error("Unsupported decorator location: "+n)}});function he(t){return N({...t,state:!0,attribute:!1})}var sd=h(()=>{Za();});function Or(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var cd=h(()=>{});var qe,Cr=h(()=>{qe=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function Se(t,e){return(r,n,a)=>{let s=c=>c.renderRoot?.querySelector(t)??null;if(e){let{get:c,set:l}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return qe(r,n,{get(){let d=c.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return qe(r,n,{get(){return s(this)}})}}var ld=h(()=>{Cr();});function Ym(t){return(e,r)=>qe(e,r,{get(){return(this.renderRoot??(qm??=document.createDocumentFragment())).querySelectorAll(t)}})}var qm,dd=h(()=>{Cr();});function Xm(t){return(e,r)=>qe(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var pd=h(()=>{Cr();});function Jm(t){return(e,r)=>{let{slot:n,selector:a}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return qe(e,r,{get(){let c=this.renderRoot?.querySelector(s),l=c?.assignedElements(t)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}var fd=h(()=>{Cr();});function Va(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return qe(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var ud=h(()=>{Cr();});var ja={};q(ja,{customElement:()=>Ga,eventOptions:()=>Or,property:()=>N,query:()=>Se,queryAll:()=>Ym,queryAssignedElements:()=>Jm,queryAssignedNodes:()=>Va,queryAsync:()=>Xm,standardProperty:()=>id,state:()=>he});var se=h(()=>{ad();Za();sd();cd();ld();dd();pd();fd();ud()});var Pt,Lt,ot,bo=h(()=>{Pt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Lt=t=>(...e)=>({_$litDirective$:t,values:e}),ot=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 Qm,hd,Er,_t,eg,md,gd,bn,yd=h(()=>{ht();({D:Qm}=Fl),hd=()=>document.createComment(""),Er=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(hd(),a),c=n.insertBefore(hd(),a);r=new Qm(s,c,t,t.options)}else{let s=r._$AB.nextSibling,c=r._$AM,l=c!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==c._$AU&&r._$AP(d)}if(s!==a||l){let d=r._$AA;for(;d!==s;){let u=d.nextSibling;n.insertBefore(d,a),d=u}}}return r},_t=(t,e,r=t)=>(t._$AI(e,r),t),eg={},md=(t,e=eg)=>t._$AH=e,gd=t=>t._$AH,bn=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 bd,xo,xd=h(()=>{ht();bo();yd();bd=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},xo=Lt(class extends ot{constructor(t){if(super(t),t.type!==Pt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],s=[],c=0;for(let l of t)a[c]=n?n(l,c):c,s[c]=r(l,c),c++;return{values:s,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let a=gd(t),{values:s,keys:c}=this.ht(e,r,n);if(!Array.isArray(a))return this.dt=c,s;let l=this.dt??=[],d=[],u,y,b=0,v=a.length-1,S=0,O=s.length-1;for(;b<=v&&S<=O;)if(a[b]===null)b++;else if(a[v]===null)v--;else if(l[b]===c[S])d[S]=_t(a[b],s[S]),b++,S++;else if(l[v]===c[O])d[O]=_t(a[v],s[O]),v--,O--;else if(l[b]===c[O])d[O]=_t(a[b],s[O]),Er(t,d[O+1],a[b]),b++,O--;else if(l[v]===c[S])d[S]=_t(a[v],s[S]),Er(t,a[b],a[v]),v--,S++;else if(u===void 0&&(u=bd(c,S,O),y=bd(l,b,v)),u.has(l[b]))if(u.has(l[v])){let R=y.get(c[S]),_=R!==void 0?a[R]:null;if(_===null){let T=Er(t,a[b]);_t(T,s[S]),d[S]=T}else d[S]=_t(_,s[S]),Er(t,a[b],_),a[R]=null;S++}else bn(a[v]),v--;else bn(a[b]),b++;for(;S<=O;){let R=Er(t,d[O+1]);_t(R,s[S]),d[S++]=R}for(;b<=v;){let R=a[b++];R!==null&&bn(R)}return this.dt=c,md(t,d),Be}})});var qa={};q(qa,{repeat:()=>xo});var xn=h(()=>{xd()});var bt,vd=h(()=>{ht();bo();bt=Lt(class extends ot{constructor(t){if(super(t),t.type!==Pt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let a=!!e[n];a===this.it.has(n)||this.st?.has(n)||(a?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Be}})});var Ya={};q(Ya,{classMap:()=>bt});var wr=h(()=>{vd()});var Sd,tg,rg,Od=h(()=>{ht();bo();Sd="important",tg=" !"+Sd,rg=Lt(class extends ot{constructor(t){if(super(t),t.type!==Pt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ut.add(n);let s=typeof a=="string"&&a.endsWith(tg);n.includes("-")||s?r.setProperty(n,s?a.slice(0,-11):a,s?Sd:""):r[n]=a}}return Be}})});var Xa={};q(Xa,{styleMap:()=>rg});var Cd=h(()=>{Od()});var Nr,ar,Ed=h(()=>{ht();bo();Nr=class extends ot{constructor(e){if(super(e),this.et=fe,e.type!==Pt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===fe||e==null)return this.vt=void 0,this.et=e;if(e===Be)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Nr.directiveName="unsafeHTML",Nr.resultType=1;ar=Lt(Nr)});var Ja={};q(Ja,{UnsafeHTMLDirective:()=>Nr,unsafeHTML:()=>ar});var vo=h(()=>{Ed()});var Qa={};q(Qa,{CancelablePromise:()=>Rr,CanceledPromiseError:()=>Tt,cancelable:()=>Ar});var Tt,Rr,Ar,vn=h(()=>{"use strict";Tt=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(a=>{this.isCanceled?n(new Tt("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new Tt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ar=t=>new Rr((e,r)=>t.then(e).catch(r))});var ei={};q(ei,{CacheRegistry:()=>nt});var nt,ti=h(()=>{"use strict";vn();nt=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 a=Ar(r());return this.content[e]=a,a.then(s=>(this.content[e]=s,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),s))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});var oi={};q(oi,{ClusteringHelper:()=>ri});var ri,ni=h(()=>{"use strict";ri=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e,r){var n,a;let s=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return r==null?t.flattenMetadata(s):t.flattenMetadata(s.find(c=>c.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=[],a=[];return e.hierarchicalValues.forEach(s=>{n.push(s.join(" > ")),s.length>2?a.push(`... > ${s[s.length-1]}`):a.push(s.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:a.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 a,s;let c=t.extractResultMetadata(this.selectedResult,e),l=(a=c?.label)!==null&&a!==void 0?a:(s=this.getMetadataDescriptor(e))===null||s===void 0?void 0:s.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:l,value:void 0,displayValue:n}).filter(u=>u.value!=c?.value).filter((u,y,b)=>b.findIndex(v=>v.value===u.value)===y).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,y)=>this.compareMetadata(u.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let s=this.getMetadataDescriptor(n),c=s?.sortRule||"NONE",l=s?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata(d,e))===null||u===void 0?void 0:u.value)==r}),s=[...t.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],c,l=-1;for(let d of n){let u=this.countMatchingMetadata(d,s);if(u>l&&(l=u,c=d,u===s.length))break}return c}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}}});var ai={};q(ai,{Debouncer:()=>Ce});var Ce,Sn=h(()=>{"use strict";Ce=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,s=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){a(l);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var ii={};q(ii,{dateReviver:()=>ng,deepEqual:()=>Ye,delay:()=>On,eventPathContainsMatchingElement:()=>ig,flatDeep:()=>Nd,hasChanged:()=>So,last:()=>cg,minmax:()=>sg,parseDate:()=>Rd,waitFor:()=>wd,waitUntil:()=>og});async function og(t,e=10,r=2e4){await wd(async()=>await t()||void 0,e,r)}async function wd(t,e=10,r=2e4){let n=await t(),a,s;for(a=s=performance.now();n==null&&(!r||s-a<r);)await On(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Nd(t,e){return t.flatMap(r=>[r,...Nd(e(r),e)])}function ng(...t){return function(e,r){return t.includes(e)?Rd(r):r}}function Rd(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,a)=>r+n+":"+a),new Date(t)}function ag(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ye(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(!Ye(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(a=Object.keys(t),r=a.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){var s=a[n];if(!Ye(t[s],e[s]))return!1}return!0}return t!==t&&e!==e}function Ye(t,e){try{return ag(t,e)}catch{return!1}}function So(t,e){return!Ye(t,e)}function ig(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(s=>a.matches(s)))return!0}}return!1}function sg(t,e,r){return Math.min(Math.max(t,e),r)}function cg(t){return t[t.length-1]}var On,Oo=h(()=>{"use strict";On=t=>new Promise(e=>setTimeout(e,t))});var si={};q(si,{customElement:()=>Z,isNumber:()=>Ad,jsonProperty:()=>Ae,optionalNumberProperty:()=>lg});function Ae(t,e){let r=()=>JSON.parse(JSON.stringify(t));return N({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 lg(t){return N({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ad(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Ad(t){return!isNaN(parseFloat(t))}var Z,Cn=h(()=>{"use strict";se();Oo();Z=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function k(t,e){return xt(`${t.name}: ${e}`)}var xt,o,Q=h(()=>{F();xt=t=>typeof t=="string"?mt(t):t,o=class{static create(e,r,n,a){let s=l=>xt(l??a),c=I`var(${xt(e)}, ${s(a)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=a,c.defaultCssValue=s,c.get=l=>I`var(${xt(e)}, ${s(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(e,r,n,a){let s=l=>n.get(l??a),c=I`var(${xt(e)}, ${s(a)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=s,c.get=l=>I`var(${xt(e)}, ${s(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(e,r){let n=s=>e.fallbackVariable?e.fallbackVariable.get(s??e.defaultValue):xt(s??e.lastResortDefaultValue()),a=I`var(${xt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=s=>I`var(${xt(e.name)}, ${n(s)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var f,ci,li,di,pi,fi,ui,hi,mi,gi,Id,yi,bi,xi,vi,Si,Oi,Ci,Ei,wi,Ni,Ri,Ai,Ii,Pi,Li,_i,Co,dg,oe=h(()=>{Q();f={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"),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)")},ci={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},li={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")},di={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},pi={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},fi={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ui={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")},hi={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")},mi={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},gi={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Id={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")},yi={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")},bi={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")},xi={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")},vi={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")},Si={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Oi={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ci={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")},Ei={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")},wi={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")},Ni={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")},Ri={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")},Ai={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ii={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},_i={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")},Co={display:ci,"title-1":li,"title-2":di,"title-3":pi,"body-1-regular":fi,"body-1-medium":ui,"body-1-semibold":hi,"body-2-regular":mi,"body-2-medium":gi,"body-2-medium-underline":Id,"body-2-semibold":yi,"label-1-medium":bi,"label-1-semibold":xi,"label-1-bold":vi,"label-2-medium":Si,"label-2-semibold":Oi,"label-2-bold":Ci,"caption-1-medium":Ei,"caption-1-semibold":wi,"caption-1-bold":Ni,"caption-2-medium":Ri,"caption-2-semibold":Ai,"caption-2-bold":Ii,"caption-3-medium":Pi,"caption-3-semibold":Li,"caption-3-bold":_i},dg=["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 m,ce=h(()=>{Q();oe();m={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",f.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",f.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",f.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",f.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",f.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",f.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",f.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",f.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",f.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",f.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",f.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",f.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",f.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",f.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",f.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",f.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",f.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",f.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",f.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",f.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",f.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",f.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",f.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",f.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",f.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",f.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",f.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",f.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",f.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",f.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",f.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",f.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",f.colorGray80)}});var pg,Pd=h(()=>{Q();oe();ce();pg={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",f.spacing4),largeGap:o.extend("--ft-button-large-gap","",f.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",f.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",f.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","",f.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",f.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",f.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",f.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","",f.spacing2),smallGap:o.extend("--ft-button-small-gap","",f.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",f.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",f.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","",f.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","",f.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",m.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",m.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",m.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",m.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",f.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",f.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",f.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",m.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",m.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",m.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",m.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",f.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",f.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",f.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",f.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",m.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",m.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",m.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",f.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",f.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",f.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",f.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",m.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",m.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",m.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",m.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",f.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",f.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",f.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",f.opacity40)}});var fg,Ld=h(()=>{Q();oe();ce();fg={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",f.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",f.spacing1),largeGap:o.extend("--ft-chip-large-gap","",f.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","",f.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",f.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",f.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",f.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","",f.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",f.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",f.spacing05),smallGap:o.extend("--ft-chip-small-gap","",f.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","",f.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",m.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",m.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",m.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",m.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",m.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",m.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",m.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",m.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",m.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",m.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",m.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",m.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",m.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",m.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",m.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",m.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",m.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",m.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",m.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",m.borderErrorSubtle)}});var ug,_d=h(()=>{Q();oe();ce();ug={focusOpacity:o.extend("--ft-link-focus-opacity","",f.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",m.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",m.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",m.contentInfoPrimary)}});var hg,Td=h(()=>{Q();oe();ce();hg={iconSize:o.extend("--ft-banner-icon-size","",f.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",f.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",f.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",f.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",f.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",f.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",f.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",f.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",m.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",m.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",m.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",m.borderInfoSubtle)}});var mg,kd=h(()=>{Q();oe();ce();mg={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",f.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",f.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",f.borderRadiusPill),color:o.extend("--ft-badge-color","",m.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",m.contentActionPrimary)}});var gg,Ud=h(()=>{Q();oe();ce();gg={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",f.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",f.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",m.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",m.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",m.contentGlobalSubtle)}});var yg,$d=h(()=>{Q();oe();ce();yg={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",f.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",f.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",f.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",f.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",f.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",f.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",f.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",m.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",m.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",m.contentGlobalSecondary)}});var bg,Dd=h(()=>{Q();oe();ce();bg={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","",f.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-modal-shadow","",f.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",f.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",m.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",f.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",f.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",f.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",m.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",m.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",m.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",m.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",f.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",f.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",f.spacing6),headerGap:o.extend("--ft-modal-header-gap","",f.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",f.borderRadiusM)}});var xg,Md=h(()=>{Q();oe();ce();xg={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-drawer-shadow","",f.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",m.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",f.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",f.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",f.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",m.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",m.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",m.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",m.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",f.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",f.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",m.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",m.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",m.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",f.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",f.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",f.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","",f.colorGray700)}});var vg,Bd=h(()=>{Q();oe();ce();vg={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",f.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",f.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",f.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",f.opacity40),offColor:o.extend("--ft-tabs-off-color","",m.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",m.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",m.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",f.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",f.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",f.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",f.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",f.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",f.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",f.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",f.opacity24),onColor:o.extend("--ft-tabs-on-color","",m.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",m.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",m.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",f.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",f.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",f.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",f.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",m.borderActionFocusRing)}});var Sg,Wd=h(()=>{Q();oe();ce();Sg={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",f.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",f.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",f.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",f.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",m.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",m.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",m.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",m.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","",m.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",m.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",m.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","",m.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",f.opacity40)}});var Og,Fd=h(()=>{Q();oe();ce();Og={backgroundColor:o.extend("--ft-text-area-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",m.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",m.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",m.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","",m.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",m.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",m.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",m.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","",f.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",f.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",f.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",f.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",f.borderRadiusM)}});var Cg,zd=h(()=>{Q();oe();ce();Cg={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",f.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",m.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",m.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",m.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",m.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",f.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",m.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",f.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",f.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",f.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",f.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",m.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",f.shadowElevation02)}});var Eg,Hd=h(()=>{Q();oe();ce();Eg={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",f.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",f.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",f.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",f.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",f.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",m.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",m.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",m.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",m.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","",m.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",m.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",m.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",m.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",m.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",m.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",f.opacity40)}});var wg,Kd=h(()=>{Q();oe();ce();wg={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",m.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",m.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",m.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",m.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",m.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",m.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",m.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",m.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",m.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",m.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","",f.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",f.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",f.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",f.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",f.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",f.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",f.borderRadiusM)}});var Ng,Gd=h(()=>{Q();oe();ce();Ng={backgroundColor:o.extend("--ft-popover-background-color","",m.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",f.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",f.spacing6),titleColor:o.extend("--ft-popover-title-color","",m.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",m.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",m.contentActionPrimary),gap:o.extend("--ft-popover-gap","",f.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",f.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",f.shadowElevation02)}});var Rg,Zd=h(()=>{Q();oe();ce();Rg={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",f.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",f.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",m.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",f.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",f.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",f.spacing3),color:o.extend("--ft-collapsible-color","",m.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",m.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",m.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",m.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",f.iconSize3)}});var Ag,Vd=h(()=>{Q();oe();ce();Ag={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",f.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",f.spacing1),groupGap:o.extend("--ft-switch-group-gap","",f.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",m.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",m.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",f.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",f.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",f.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",f.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",f.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",f.opacity40),offColor:o.extend("--ft-switch-off-color","",m.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",m.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",f.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",f.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",f.opacity40),onColor:o.extend("--ft-switch-on-color","",m.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",m.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",f.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",f.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",m.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",f.borderRadiusS)}});var Ig,jd=h(()=>{Q();oe();Ig={color1Light:o.extend("--ft-chart-1-light","for area color charts",f.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",f.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",f.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",f.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",f.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",f.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",f.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",f.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",f.colorRed40),color5Base:o.extend("--ft-chart-5-base","",f.colorRed60),color6Light:o.extend("--ft-chart-6-light","",f.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",f.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",f.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",f.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",f.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",f.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",f.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",f.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",f.colorGray50),color10Base:o.extend("--ft-chart-10-base","",f.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",f.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",f.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",f.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",f.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",f.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",f.colorBrand200)}});var Pg,qd=h(()=>{Q();oe();ce();Pg={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",f.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",f.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",f.borderRadiusS),gap:o.extend("--ft-notice-gap","",f.spacing2),iconSize:o.extend("--ft-notice-icon-size","",f.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",m.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",m.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",m.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",m.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",m.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",m.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",m.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",m.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",m.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",m.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",m.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",m.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",m.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",m.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",m.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",m.contentSuccessIconOnly)}});var Lg,Yd=h(()=>{Q();oe();ce();Lg={color:o.extend("--ft-checkbox-color","",m.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",m.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",m.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",m.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",f.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",f.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",f.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",f.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",f.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",f.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",f.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",f.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",f.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",m.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","",f.spacing3)}});var _g,Xd=h(()=>{Q();oe();ce();_g={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",f.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",f.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",f.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",f.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",m.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",m.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",m.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",f.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",f.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",f.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",m.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",m.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",m.contentActionPrimary),color:o.extend("--ft-toggle-color","",m.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",m.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",f.spacing3)}});var Tg,Jd=h(()=>{Q();oe();ce();Tg={color:o.extend("--ft-radio-color","",m.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",m.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",m.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",f.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",f.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",f.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",f.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",m.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",m.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",f.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",f.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",f.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",m.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","",f.spacing3)}});var kg,Qd=h(()=>{Q();oe();ce();kg={iconSize:o.extend("--ft-notification-icon-size","",f.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",f.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",f.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",f.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",m.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",m.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",m.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",m.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",m.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",m.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",m.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",m.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",m.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",m.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",m.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",m.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",m.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",m.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",m.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",m.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",f.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",f.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",f.spacing8)}});var Ug,ep=h(()=>{Q();oe();ce();Ug={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",f.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",f.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",f.borderRadiusS),color:o.extend("--ft-tooltip-color","",m.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",m.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",f.opacity80),shadow:o.extend("--ft-tooltip-shadow","",f.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",f.spacing05)}});var tp=h(()=>{oe();ce();Pd();Ld();_d();Td();kd();Ud();$d();Dd();Md();Bd();Wd();Fd();zd();Hd();Kd();Gd();Zd();Vd();jd();qd();Yd();Xd();Jd();Qd();ep()});function $g(t){return`design-system--family-${t}`}function Dg(t){return`design-system--size-${t}`}var Ti,ki,rp=h(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ti||(Ti={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(ki||(ki={}))});var Y=h(()=>{Q();tp();rp()});var Ui={};q(Ui,{DesignSystemFamily:()=>Ti,DesignSystemSize:()=>ki,FtCssVariableFactory:()=>o,badge:()=>mg,banner:()=>hg,breadcrumb:()=>gg,button:()=>pg,chart:()=>Ig,checkbox:()=>Lg,chip:()=>fg,collapsible:()=>Rg,comboboxMultiSelect:()=>wg,comboboxSingleSelect:()=>Eg,drawer:()=>xg,floatingMenu:()=>Cg,foundation:()=>f,link:()=>ug,modal:()=>bg,notice:()=>Pg,notification:()=>kg,pageHeader:()=>yg,popover:()=>Ng,radio:()=>Tg,resolveFamilyClass:()=>$g,resolveSizeClass:()=>Dg,semantic:()=>m,setVariable:()=>k,switch_:()=>Ag,tabs:()=>vg,textArea:()=>Og,textInput:()=>Sg,toggle:()=>_g,tooltip:()=>Ug,typographies:()=>Co,typographyBody1Medium:()=>ui,typographyBody1Regular:()=>fi,typographyBody1Semibold:()=>hi,typographyBody2Medium:()=>gi,typographyBody2MediumUnderline:()=>Id,typographyBody2Regular:()=>mi,typographyBody2Semibold:()=>yi,typographyCaption1Bold:()=>Ni,typographyCaption1Medium:()=>Ei,typographyCaption1Semibold:()=>wi,typographyCaption2Bold:()=>Ii,typographyCaption2Medium:()=>Ri,typographyCaption2Semibold:()=>Ai,typographyCaption3Bold:()=>_i,typographyCaption3Medium:()=>Pi,typographyCaption3Semibold:()=>Li,typographyDisplay:()=>ci,typographyLabel1Bold:()=>vi,typographyLabel1Medium:()=>bi,typographyLabel1Semibold:()=>xi,typographyLabel2Bold:()=>Ci,typographyLabel2Medium:()=>Si,typographyLabel2Semibold:()=>Oi,typographyTitle1:()=>li,typographyTitle2:()=>di,typographyTitle3:()=>pi,typographyVariants:()=>dg});var En=h(()=>{"use strict";Y()});var $i={};q($i,{designSystemVariables:()=>$});var $,Di=h(()=>{"use strict";En();$={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 Fi={};q(Fi,{FtNotificationEvent:()=>Mi,PostResizeEvent:()=>Wi,PreResizeEvent:()=>Bi});var Mi,Bi,Wi,zi=h(()=>{"use strict";Mi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Bi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Wi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function Gi(t,e,r){return kt(t,Eo(e,r))}function wn(t,e){return typeof t=="function"?t(e):t}function Ir(t){return t.split("-")[0]}function Ut(t){return t.split("-")[1]}function Zi(t){return t==="x"?"y":"x"}function Vi(t){return t==="y"?"height":"width"}function Nn(t){return["top","bottom"].includes(Ir(t))?"y":"x"}function ji(t){return Zi(Nn(t))}function ap(t,e,r){r===void 0&&(r=!1);let n=Ut(t),a=ji(t),s=Vi(a),c=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(c=Hi(c)),[c,Hi(c)]}function ip(t){return t.replace(/start|end/g,e=>Bg[e])}function Hi(t){return t.replace(/left|right|bottom|top/g,e=>Mg[e])}function Wg(t){return{top:0,right:0,bottom:0,left:0,...t}}function sp(t){return typeof t!="number"?Wg(t):{top:t,right:t,bottom:t,left:t}}function ir(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var np,op,Ki,Eo,kt,wo,vt,Mg,Bg,Rn=h(()=>{np=["top","right","bottom","left"],op=["start","end"],Ki=np.reduce((t,e)=>t.concat(e,e+"-"+op[0],e+"-"+op[1]),[]),Eo=Math.min,kt=Math.max,wo=Math.round,vt=t=>({x:t,y:t}),Mg={left:"right",right:"left",bottom:"top",top:"bottom"},Bg={start:"end",end:"start"}});function cp(t,e,r){let{reference:n,floating:a}=t,s=Nn(e),c=ji(e),l=Vi(c),d=Ir(e),u=s==="y",y=n.x+n.width/2-a.width/2,b=n.y+n.height/2-a.height/2,v=n[l]/2-a[l]/2,S;switch(d){case"top":S={x:y,y:n.y-a.height};break;case"bottom":S={x:y,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:b};break;case"left":S={x:n.x-a.width,y:b};break;default:S={x:n.x,y:n.y}}switch(Ut(e)){case"start":S[c]-=v*(r&&u?-1:1);break;case"end":S[c]+=v*(r&&u?-1:1);break}return S}async function qi(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:s,rects:c,elements:l,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:y="viewport",elementContext:b="floating",altBoundary:v=!1,padding:S=0}=wn(e,t),O=sp(S),_=l[v?b==="floating"?"reference":"floating":b],T=ir(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(_)))==null||r?_:_.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:y,strategy:d})),M=b==="floating"?{...c.floating,x:n,y:a}:c.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),E=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},A=ir(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:M,offsetParent:w,strategy:d}):M);return{top:(T.top-A.top+O.top)/E.y,bottom:(A.bottom-T.bottom+O.bottom)/E.y,left:(T.left-A.left+O.left)/E.x,right:(A.right-T.right+O.right)/E.x}}function Fg(t,e,r){return(t?[...r.filter(a=>Ut(a)===t),...r.filter(a=>Ut(a)!==t)]:r.filter(a=>Ir(a)===a)).filter(a=>t?Ut(a)===t||(e?ip(a)!==a:!1):!0)}var lp,Yi,Xi,Ji=h(()=>{Rn();Rn();lp=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:c}=r,l=s.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e)),u=await c.getElementRects({reference:t,floating:e,strategy:a}),{x:y,y:b}=cp(u,n,d),v=n,S={},O=0;for(let R=0;R<l.length;R++){let{name:_,fn:T}=l[R],{x:M,y:w,data:E,reset:A}=await T({x:y,y:b,initialPlacement:n,placement:v,strategy:a,middlewareData:S,rects:u,platform:c,elements:{reference:t,floating:e}});if(y=M??y,b=w??b,S={...S,[_]:{...S[_],...E}},A&&O<=50){O++,typeof A=="object"&&(A.placement&&(v=A.placement),A.rects&&(u=A.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:a}):A.rects),{x:y,y:b}=cp(u,v,d)),R=-1;continue}}return{x:y,y:b,placement:v,strategy:a,middlewareData:S}};Yi=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:s,middlewareData:c,placement:l,platform:d,elements:u}=e,{crossAxis:y=!1,alignment:b,allowedPlacements:v=Ki,autoAlignment:S=!0,...O}=wn(t,e),R=b!==void 0||v===Ki?Fg(b||null,S,v):v,_=await qi(e,O),T=((r=c.autoPlacement)==null?void 0:r.index)||0,M=R[T];if(M==null)return{};let w=ap(M,s,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==M)return{reset:{placement:R[0]}};let E=[_[Ir(M)],_[w[0]],_[w[1]]],A=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:M,overflows:E}],z=R[T+1];if(z)return{data:{index:T+1,overflows:A},reset:{placement:z}};let K=A.map(x=>{let C=Ut(x.placement);return[x.placement,C&&y?x.overflows.slice(0,2).reduce((L,j)=>L+j,0):x.overflows[0],x.overflows]}).sort((x,C)=>x[1]-C[1]),X=((a=K.filter(x=>x[2].slice(0,Ut(x[0])?2:3).every(C=>C<=0))[0])==null?void 0:a[0])||K[0][0];return X!==l?{data:{index:T+1,overflows:A},reset:{placement:X}}:{}}}},Xi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:_=>{let{x:T,y:M}=_;return{x:T,y:M}}},...d}=wn(t,e),u={x:r,y:n},y=await qi(e,d),b=Nn(Ir(a)),v=Zi(b),S=u[v],O=u[b];if(s){let _=v==="y"?"top":"left",T=v==="y"?"bottom":"right",M=S+y[_],w=S-y[T];S=Gi(M,S,w)}if(c){let _=b==="y"?"top":"left",T=b==="y"?"bottom":"right",M=O+y[_],w=O-y[T];O=Gi(M,O,w)}let R=l.fn({...e,[v]:S,[b]:O});return{...R,data:{x:R.x-r,y:R.y-n}}}}}});function St(t){return pp(t)?(t.nodeName||"").toLowerCase():"#document"}function Pe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ot(t){var e;return(e=(pp(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function pp(t){return t instanceof Node||t instanceof Pe(t).Node}function at(t){return t instanceof Element||t instanceof Pe(t).Element}function Xe(t){return t instanceof HTMLElement||t instanceof Pe(t).HTMLElement}function dp(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Pe(t).ShadowRoot}function Pr(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=We(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function fp(t){return["table","td","th"].includes(St(t))}function In(t){let e=Pn(),r=We(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 up(t){let e=sr(t);for(;Xe(e)&&!No(e);){if(In(e))return e;e=sr(e)}return null}function Pn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function No(t){return["html","body","#document"].includes(St(t))}function We(t){return Pe(t).getComputedStyle(t)}function Ro(t){return at(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function sr(t){if(St(t)==="html")return t;let e=t.assignedSlot||t.parentNode||dp(t)&&t.host||Ot(t);return dp(e)?e.host:e}function hp(t){let e=sr(t);return No(e)?t.ownerDocument?t.ownerDocument.body:t.body:Xe(e)&&Pr(e)?e:hp(e)}function An(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=hp(t),s=a===((n=t.ownerDocument)==null?void 0:n.body),c=Pe(a);return s?e.concat(c,c.visualViewport||[],Pr(a)?a:[],c.frameElement&&r?An(c.frameElement):[]):e.concat(a,An(a,[],r))}var mp=h(()=>{});function bp(t){let e=We(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Xe(t),s=a?t.offsetWidth:r,c=a?t.offsetHeight:n,l=wo(r)!==s||wo(n)!==c;return l&&(r=s,n=c),{width:r,height:n,$:l}}function xp(t){return at(t)?t:t.contextElement}function Lr(t){let e=xp(t);if(!Xe(e))return vt(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:s}=bp(e),c=(s?wo(r.width):r.width)/n,l=(s?wo(r.height):r.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}function vp(t){let e=Pe(t);return!Pn()||!e.visualViewport?zg:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Hg(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Pe(t)?!1:e}function Ao(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),s=xp(t),c=vt(1);e&&(n?at(n)&&(c=Lr(n)):c=Lr(t));let l=Hg(s,r,n)?vp(s):vt(0),d=(a.left+l.x)/c.x,u=(a.top+l.y)/c.y,y=a.width/c.x,b=a.height/c.y;if(s){let v=Pe(s),S=n&&at(n)?Pe(n):n,O=v.frameElement;for(;O&&n&&S!==v;){let R=Lr(O),_=O.getBoundingClientRect(),T=We(O),M=_.left+(O.clientLeft+parseFloat(T.paddingLeft))*R.x,w=_.top+(O.clientTop+parseFloat(T.paddingTop))*R.y;d*=R.x,u*=R.y,y*=R.x,b*=R.y,d+=M,u+=w,O=Pe(O).frameElement}}return ir({width:y,height:b,x:d,y:u})}function Kg(t){let{rect:e,offsetParent:r,strategy:n}=t,a=Xe(r),s=Ot(r);if(r===s)return e;let c={scrollLeft:0,scrollTop:0},l=vt(1),d=vt(0);if((a||!a&&n!=="fixed")&&((St(r)!=="body"||Pr(s))&&(c=Ro(r)),Xe(r))){let u=Ao(r);l=Lr(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-c.scrollLeft*l.x+d.x,y:e.y*l.y-c.scrollTop*l.y+d.y}}function Gg(t){return Array.from(t.getClientRects())}function Sp(t){return Ao(Ot(t)).left+Ro(t).scrollLeft}function Zg(t){let e=Ot(t),r=Ro(t),n=t.ownerDocument.body,a=kt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=kt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-r.scrollLeft+Sp(t),l=-r.scrollTop;return We(n).direction==="rtl"&&(c+=kt(e.clientWidth,n.clientWidth)-a),{width:a,height:s,x:c,y:l}}function Vg(t,e){let r=Pe(t),n=Ot(t),a=r.visualViewport,s=n.clientWidth,c=n.clientHeight,l=0,d=0;if(a){s=a.width,c=a.height;let u=Pn();(!u||u&&e==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:s,height:c,x:l,y:d}}function jg(t,e){let r=Ao(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,s=Xe(t)?Lr(t):vt(1),c=t.clientWidth*s.x,l=t.clientHeight*s.y,d=a*s.x,u=n*s.y;return{width:c,height:l,x:d,y:u}}function gp(t,e,r){let n;if(e==="viewport")n=Vg(t,r);else if(e==="document")n=Zg(Ot(t));else if(at(e))n=jg(e,r);else{let a=vp(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return ir(n)}function Op(t,e){let r=sr(t);return r===e||!at(r)||No(r)?!1:We(r).position==="fixed"||Op(r,e)}function qg(t,e){let r=e.get(t);if(r)return r;let n=An(t,[],!1).filter(l=>at(l)&&St(l)!=="body"),a=null,s=We(t).position==="fixed",c=s?sr(t):t;for(;at(c)&&!No(c);){let l=We(c),d=In(c);!d&&l.position==="fixed"&&(a=null),(s?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Pr(c)&&!d&&Op(t,c))?n=n.filter(y=>y!==c):a=l,c=sr(c)}return e.set(t,n),n}function Yg(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,c=[...r==="clippingAncestors"?qg(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((u,y)=>{let b=gp(e,y,a);return u.top=kt(b.top,u.top),u.right=Eo(b.right,u.right),u.bottom=Eo(b.bottom,u.bottom),u.left=kt(b.left,u.left),u},gp(e,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Xg(t){return bp(t)}function Jg(t,e,r){let n=Xe(e),a=Ot(e),s=r==="fixed",c=Ao(t,!0,s,e),l={scrollLeft:0,scrollTop:0},d=vt(0);if(n||!n&&!s)if((St(e)!=="body"||Pr(a))&&(l=Ro(e)),n){let u=Ao(e,!0,s,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else a&&(d.x=Sp(a));return{x:c.left+l.scrollLeft-d.x,y:c.top+l.scrollTop-d.y,width:c.width,height:c.height}}function yp(t,e){return!Xe(t)||We(t).position==="fixed"?null:e?e(t):t.offsetParent}function Cp(t,e){let r=Pe(t);if(!Xe(t))return r;let n=yp(t,e);for(;n&&fp(n)&&We(n).position==="static";)n=yp(n,e);return n&&(St(n)==="html"||St(n)==="body"&&We(n).position==="static"&&!In(n))?r:n||up(t)||r}function ey(t){return We(t).direction==="rtl"}var zg,Qg,Ln,Ep,wp=h(()=>{Ji();Ji();Rn();mp();zg=vt(0);Qg=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||Cp,s=this.getDimensions;return{reference:Jg(e,await a(r),n),floating:{x:0,y:0,...await s(r)}}};Ln={convertOffsetParentRelativeRectToViewportRelativeRect:Kg,getDocumentElement:Ot,getClippingRect:Yg,getOffsetParent:Cp,getElementRects:Qg,getClientRects:Gg,getDimensions:Xg,getScale:Lr,isElement:at,isRTL:ey},Ep=(t,e,r)=>{let n=new Map,a={platform:Ln,...r},s={...a.platform,_c:n};return lp(t,e,{...a,platform:s})}});function Np(t){return ty(t)}function Qi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ty(t){for(let e=t;e;e=Qi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Qi(t);e;e=Qi(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 Rp=h(()=>{});var ts={};q(ts,{computeOffsetPosition:()=>es});async function es(t,e,r){return Ep(t,e,{platform:{...Ln,getOffsetParent:n=>Ln.getOffsetParent(n,Np)},middleware:[Xi({crossAxis:!0}),Yi({allowedPlacements:[r]})]})}var _n=h(()=>{"use strict";wp();Rp()});var Tn,ry,DS,Ap,Ip=h(()=>{Tn=window,ry=Tn.ShadowRoot&&(Tn.ShadyCSS===void 0||Tn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,DS=Symbol(),Ap=(t,e)=>{ry?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),a=Tn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)})}});var rs={};q(rs,{ScopedRegistryLitElement:()=>Io});var Io,kn=h(()=>{"use strict";F();Ip();Io=class extends yt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,s])=>e.registry.define(a,s)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ap(n,e.elementStyles),n}}});var os={};q(os,{FtLitElement:()=>ee});var Un,_p,Pp,Lp,Tp,ee,$n=h(()=>{"use strict";se();Cn();Sn();kn();Un=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},Pp=Symbol("constructorPrototype"),Lp=Symbol("constructorName"),Tp=Symbol("exportpartsDebouncer"),ee=class extends Io{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[_p]=new Ce(5),this[Lp]=this.constructor.name,this[Pp]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lp]&&Object.setPrototypeOf(this,this[Pp])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}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[Tp].run(()=>{var a,s;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,s,c,l;let d=v=>v!=null&&v.trim().length>0,u=e.filter(d).map(v=>v.trim());if(u.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let v of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(s=(a=v.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],O=(l=(c=v.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(R=>R.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...O).filter(d).map(R=>R.trim()).forEach(R=>y.add(R))}if(y.size===0){this.removeAttribute("exportparts");return}let b=[...y.values()].flatMap(v=>u.map(S=>`${v}:${S}--${v}`));this.setAttribute("exportparts",[...this.part,...b].join(", "))}};_p=Tp;Un([N()],ee.prototype,"exportpartsPrefix",void 0);Un([Ae([])],ee.prototype,"exportpartsPrefixes",void 0);Un([N()],ee.prototype,"customStylesheet",void 0);Un([he()],ee.prototype,"useAdoptedStyleSheets",void 0)});var kp={};var ns=h(()=>{"use strict"});var cr,Up=h(()=>{cr=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let s=!1;return n.every(c=>a.call(e,c)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=r.filter(s=>s.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let s=e.contentWindow;if(a=s.document,!s||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let a=!1,s=null,c=()=>{if(!a){a=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",c),s=setTimeout(c,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let s=e.querySelectorAll("iframe"),c=s.length,l=0;s=Array.prototype.slice.call(s);let d=()=>{--c<=0&&a(l)};c||d(),s.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,y=>{r(u)&&(l++,n(y)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_PRECEDING;if(a&s)if(r!==null){let c=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(c&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let s=!1,c=!1;return a.forEach((l,d)=>{l.val===n&&(s=d,c=l.handled)}),this.compareNodeIframe(e,r,n)?(s===!1&&!c?a.push({val:n,handled:!0}):s!==!1&&!c&&(a[s].handled=!0),!0):(s===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(s=>{s.handled||this.getIframeContents(s.val,c=>{this.createInstanceOnIframe(c).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,s){let c=this.createIterator(r,e,a),l=[],d=[],u,y,b=()=>({prevNode:y,node:u}=this.getIteratorNode(c),u);for(;b();)this.iframes&&this.forEachIframe(r,v=>this.checkIframeFilter(u,y,v,l),v=>{this.createInstanceOnIframe(v).forEachNode(e,S=>d.push(S),a)}),d.push(u);d.forEach(v=>{n(v)}),this.iframes&&this.handleOpenIframes(l,e,n,a),s()}forEachNode(e,r,n,a=()=>{}){let s=this.getContexts(),c=s.length;c||a(),s.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--c<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}}});var Po,$p=h(()=>{Up();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",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in r)if(r.hasOwnProperty(s)){let c=r[s],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,a)=>{let s=a.charAt(n+1);return/[(|)\\]/.test(s)||s===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(s=>{n.every(c=>{if(c.indexOf(s)!==-1){if(a.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${r}`),`[${c}]`),a.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,s=typeof n=="string"?[]:n.limiters,c="";switch(s.forEach(l=>{c+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(r)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((a,s)=>a.start-s.start).forEach(a=>{let{start:s,end:c,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=s,a.length=c-s,r.push(a),n=c)}),r}callNoMatchOnInvalidRanges(e,r){let n,a,s=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-n>0?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:s}}checkWhitespaceRanges(e,r,n){let a,s=!0,c=n.length,l=r-c,d=parseInt(e.start,10)-l;return d=d>c?c:d,a=d+parseInt(e.length,10),a>c&&(a=c,this.log(`End range automatically set to the max value of ${c}`)),d<0||a-d<0||d>c||a>c?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:s}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return cr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",s=e.splitText(r),c=s.splitText(n-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=s.textContent,s.parentNode.replaceChild(l,s),c}wrapRangeInMappedTextNode(e,r,n,a,s){e.nodes.every((c,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(c.node))return!1;let u=r-c.start,y=(n>c.end?c.end:n)-c.start,b=e.value.substr(0,c.start),v=e.value.substr(y+c.start);if(c.node=this.wrapRangeInTextNode(c.node,u,y),e.value=b+v,e.nodes.forEach((S,O)=>{O>=l&&(e.nodes[O].start>0&&O!==l&&(e.nodes[O].start-=y),e.nodes[O].end-=y)}),n-=y,s(c.node.previousSibling,c.start),n>c.end)r=c.end;else return!1}return!0})}wrapMatches(e,r,n,a,s){let c=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[c]!=="";){if(!n(u[c],d))continue;let y=u.index;if(c!==0)for(let b=1;b<c;b++)y+=u[b].length;d=this.wrapRangeInTextNode(d,y,y+u[c].length),a(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,n,a,s){let c=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[c]!=="";){let u=d.index;if(c!==0)for(let b=1;b<c;b++)u+=d[b].length;let y=u+d[c].length;this.wrapRangeInMappedTextNode(l,u,y,b=>n(d[c],b),(b,v)=>{e.lastIndex=v,a(b)})}s()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(s=>{let c=s.value.length;e.forEach((l,d)=>{let{start:u,end:y,valid:b}=this.checkWhitespaceRanges(l,c,s.value);b&&this.wrapRangeInMappedTextNode(s,u,y,v=>r(v,l,s.value.substring(u,y),d),v=>{n(v,l)})}),a()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",s=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(c,l)=>this.opt.filter(l,c,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:s,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=u=>{let y=new RegExp(this.createRegExp(u),`gm${l}`),b=0;this.log(`Searching with expression "${y}"`),this[a](y,1,(v,S)=>this.opt.filter(S,u,n,b),v=>{b++,n++,this.opt.each(v)},()=>{b===0&&this.opt.noMatch(u),s[c-1]===u?this.opt.done(n):d(s[s.indexOf(u)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),c===0?this.opt.done(n):d(s[0])}markRanges(e,r){this.opt=r;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(s,c,l,d)=>this.opt.filter(s,c,l,d),(s,c)=>{n++,this.opt.each(s,c)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=cr.matches(n,r),s=this.matchesExclude(n);return!a||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function as(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 Dp=h(()=>{$p()});var cs={};q(cs,{highlightHtml:()=>ss,highlightHtmlColorCssVariable:()=>Mp,highlightHtmlStyles:()=>ny});function ss(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let a=new oy(t);a.unmark(is),e&&e.trim()&&(a.mark(e.replace(/"[^"]+"/g,""),{...is,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(c=>a.mark(c.replace(/"/g,""),{...is,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var oy,Mp,ny,is,ls=h(()=>{"use strict";F();Y();Dp();oy=as,Mp=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ny=I`
|
|
7
7
|
.highlight-html-match {
|
|
8
|
-
background: ${
|
|
8
|
+
background: ${Mp};
|
|
9
9
|
}
|
|
10
|
-
`,
|
|
10
|
+
`,is={className:"highlight-html-match"}});var ps={};q(ps,{noTextSelect:()=>Lo,safariEllipsisFix:()=>_o,wordWrap:()=>ds});var Lo,ds,_o,fs=h(()=>{"use strict";F();Lo=I`
|
|
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
|
+
`,ds=I`
|
|
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
|
+
`,_o=I`
|
|
32
32
|
.ft-safari-ellipsis-fix {
|
|
33
33
|
margin-right: 0;
|
|
34
34
|
|
|
@@ -39,7 +39,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
39
39
|
display: inline-block;
|
|
40
40
|
width: 0;
|
|
41
41
|
}
|
|
42
|
-
`});var Td={};var as=p(()=>{"use strict"});var ss={};G(ss,{ParametrizedLabelResolver:()=>Ao});var Ao,ls=p(()=>{"use strict";Ao=class{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 r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,d)=>this.formatValue(s,d))),a}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}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}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 Sg,ee,Og,Id=p(()=>{"use strict";mo();re();Sg=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ee=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:ho,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})}},Og=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Ro,cs=p(()=>{"use strict";Ro=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 rr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Pn=p(()=>{"use strict"});var Ld,$d,kd,Tn,_t,or,we,Md=p(()=>{"use strict";_n();Pn();Tn=Symbol("internalReduxEventsUnsubscribers"),_t=Symbol("internalStoresUnsubscribers"),or=Symbol("internalStores"),we=class extends X{constructor(){super(...arguments),this[Ld]=new Map,this[$d]=new Map,this[kd]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[or].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[or].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[or].get(e)}addStore(e,r){var n;r=(n=r??(rr(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[or].delete(r)}setupStore(e,r){this[or].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[or].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[_t].has(e.store):this[_t].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[_t].set(e,r.subscribe(()=>this.updateFromStores())),rr(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[Tn].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[_t].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Tn].forEach(e=>e()),this[Tn]=[]}unsubscribeFromStore(e){this[_t].has(e)&&this[_t].get(e)(),this[_t].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ld=_t,$d=or,kd=Tn;we.reduxProperties=new Map;we.reduxReactiveProperties=new Set;we.reduxEventListeners=new Map});function Be(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 gt(t){return!!t&&!!t[ie]}function Ke(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)===Pg}(t)||Array.isArray(t)||!!t[zd]||!!(!((e=t.constructor)===null||e===void 0)&&e[zd])||bs(t)||xs(t))}function nr(t,e,r){r===void 0&&(r=!1),Rr(t)===0?(r?Object.keys:Ar)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Rr(t){var e=t[ie];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:bs(t)?2:xs(t)?3:0}function wr(t,e){return Rr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Cg(t,e){return Rr(t)===2?t.get(e):t[e]}function jd(t,e,r){var n=Rr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Vd(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function bs(t){return Ng&&t instanceof Map}function xs(t){return _g&&t instanceof Set}function Pt(t){return t.o||t.t}function vs(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Zd(t);delete e[ie];for(var r=Ar(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 Ss(t,e){return e===void 0&&(e=!1),Os(t)||gt(t)||!Ke(t)||(Rr(t)>1&&(t.set=t.add=t.clear=t.delete=Eg),Object.freeze(t),e&&nr(t,function(r,n){return Ss(n,!0)},!0)),t}function Eg(){Be(2)}function Os(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function et(t){var e=ys[t];return e||Be(18,t),e}function wg(t,e){ys[t]||(ys[t]=e)}function hs(){return _o}function us(t,e){e&&(et("Patches"),t.u=[],t.s=[],t.v=e)}function In(t){ms(t),t.p.forEach(Ag),t.p=null}function ms(t){t===_o&&(_o=t.l)}function Dd(t){return _o={p:[],l:_o,h:t,m:!0,_:0}}function Ag(t){var e=t[ie];e.i===0||e.i===1?e.j():e.g=!0}function ds(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||et("ES5").S(e,t,n),n?(r[ie].P&&(In(e),Be(4)),Ke(t)&&(t=Ln(e,t),e.l||$n(e,t)),e.u&&et("Patches").M(r[ie].t,t,e.u,e.s)):t=Ln(e,r,[]),In(e),e.u&&e.v(e.u,e.s),t!==Gd?t:void 0}function Ln(t,e,r){if(Os(e))return e;var n=e[ie];if(!n)return nr(e,function(l,c){return Ud(t,n,e,l,c,r)},!0),e;if(n.A!==t)return e;if(!n.P)return $n(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=vs(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),nr(a,function(l,c){return Ud(t,n,i,l,c,r,s)}),$n(t,i,!1),r&&t.u&&et("Patches").N(n,r,t.u,t.s)}return n.o}function Ud(t,e,r,n,i,a,s){if(gt(i)){var l=Ln(t,i,a&&e&&e.i!==3&&!wr(e.R,n)?a.concat(n):void 0);if(jd(r,n,l),!gt(l))return;t.m=!1}else s&&r.add(i);if(Ke(i)&&!Os(i)){if(!t.h.D&&t._<1)return;Ln(t,i),e&&e.A.l||$n(t,i)}}function $n(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ss(e,r)}function ps(t,e){var r=t[ie];return(r?Pt(r):t)[e]}function Bd(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 Tt(t){t.P||(t.P=!0,t.l&&Tt(t.l))}function fs(t){t.o||(t.o=vs(t.t))}function gs(t,e,r){var n=bs(e)?et("MapSet").F(e,r):xs(e)?et("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:hs(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=Po;s&&(c=[l],d=No);var h=Proxy.revocable(c,d),m=h.revoke,y=h.proxy;return l.k=y,l.j=m,y}(e,r):et("ES5").J(e,r);return(r?r.A:hs()).p.push(n),n}function Rg(t){return gt(t)||Be(22,t),function e(r){if(!Ke(r))return r;var n,i=r[ie],a=Rr(r);if(i){if(!i.P&&(i.i<4||!et("ES5").K(i)))return i.t;i.I=!0,n=Fd(r,a),i.I=!1}else n=Fd(r,a);return nr(n,function(s,l){i&&Cg(i.t,s)===l||jd(n,s,e(l))}),a===3?new Set(n):n}(t)}function Fd(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return vs(t)}function Kd(){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[ie];return Po.get(d,s)},set:function(d){var h=this[ie];Po.set(h,s,d)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][ie];if(!c.P)switch(c.i){case 5:n(c)&&Tt(c);break;case 4:r(c)&&Tt(c)}}}function r(s){for(var l=s.t,c=s.k,d=Ar(c),h=d.length-1;h>=0;h--){var m=d[h];if(m!==ie){var y=l[m];if(y===void 0&&!wr(l,m))return!0;var b=c[m],x=b&&b[ie];if(x?x.t!==y:!Vd(b,y))return!0}}var E=!!l[ie];return d.length!==Ar(l).length+(E?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&&Be(3,JSON.stringify(Pt(s)))}var a={};wg("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(m,y){if(m){for(var b=Array(y.length),x=0;x<y.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var E=Zd(y);delete E[ie];for(var _=Ar(E),P=0;P<_.length;P++){var k=_[P];E[k]=t(k,m||!!E[k].enumerable)}return Object.create(Object.getPrototypeOf(y),E)}(c,s),h={i:c?5:4,A:l?l.A:hs(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,ie,{value:h,writable:!0}),d},S:function(s,l,c){c?gt(l)&&l[ie].A===s&&e(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var m=h[ie];if(m){var y=m.t,b=m.k,x=m.R,E=m.i;if(E===4)nr(b,function(S){S!==ie&&(y[S]!==void 0||wr(y,S)?x[S]||d(b[S]):(x[S]=!0,Tt(m)))}),nr(y,function(S){b[S]!==void 0||wr(b,S)||(x[S]=!1,Tt(m))});else if(E===5){if(n(m)&&(Tt(m),x.length=!0),b.length<y.length)for(var _=b.length;_<y.length;_++)x[_]=!1;else for(var P=y.length;P<b.length;P++)x[P]=!0;for(var k=Math.min(b.length,y.length),O=0;O<k;O++)b.hasOwnProperty(O)||(x[O]=!0),x[O]===void 0&&d(b[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Wd,_o,Cs,Ng,_g,Hd,Gd,zd,ie,Pg,Ar,Zd,ys,Po,No,Tg,ke,Ig,ES,wS,AS,RS,NS,_S,kn,Mn=p(()=>{Cs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ng=typeof Map<"u",_g=typeof Set<"u",Hd=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Gd=Cs?Symbol.for("immer-nothing"):((Wd={})["immer-nothing"]=!0,Wd),zd=Cs?Symbol.for("immer-draftable"):"__$immer_draftable",ie=Cs?Symbol.for("immer-state"):"__$immer_state",Pg=""+Object.prototype.constructor,Ar=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Zd=Object.getOwnPropertyDescriptors||function(t){var e={};return Ar(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ys={},Po={get:function(t,e){if(e===ie)return t;var r=Pt(t);if(!wr(r,e))return function(i,a,s){var l,c=Bd(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||!Ke(n)?n:n===ps(t.t,e)?(fs(t),t.o[e]=gs(t.A.h,n,t)):n},has:function(t,e){return e in Pt(t)},ownKeys:function(t){return Reflect.ownKeys(Pt(t))},set:function(t,e,r){var n=Bd(Pt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=ps(Pt(t),e),a=i?.[ie];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Vd(r,i)&&(r!==void 0||wr(t.t,e)))return!0;fs(t),Tt(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 ps(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,fs(t),Tt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Pt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Be(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Be(12)}},No={};nr(Po,function(t,e){No[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),No.deleteProperty=function(t,e){return No.set.call(this,t,e,void 0)},No.set=function(t,e,r){return Po.set.call(this,t[0],e,r,t[0])};Tg=function(){function t(r){var n=this;this.O=Hd,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(E){var _=this;E===void 0&&(E=l);for(var P=arguments.length,k=Array(P>1?P-1:0),O=1;O<P;O++)k[O-1]=arguments[O];return c.produce(E,function(S){var w;return(w=a).call.apply(w,[_,S].concat(k))})}}var d;if(typeof a!="function"&&Be(6),s!==void 0&&typeof s!="function"&&Be(7),Ke(i)){var h=Dd(n),m=gs(n,i,void 0),y=!0;try{d=a(m),y=!1}finally{y?In(h):ms(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(E){return us(h,s),ds(E,h)},function(E){throw In(h),E}):(us(h,s),ds(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===Gd&&(d=void 0),n.D&&Ss(d,!0),s){var b=[],x=[];et("Patches").M(i,d,b,x),s(b,x)}return d}Be(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var h=arguments.length,m=Array(h>1?h-1:0),y=1;y<h;y++)m[y-1]=arguments[y];return n.produceWithPatches(d,function(b){return i.apply(void 0,[b].concat(m))})};var s,l,c=n.produce(i,a,function(d,h){s=d,l=h});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){Ke(r)||Be(8),gt(r)&&(r=Rg(r));var n=Dd(this),i=gs(this,r,void 0);return i[ie].C=!0,ms(n),i},e.finishDraft=function(r,n){var i=r&&r[ie],a=i.A;return us(a,n),ds(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Hd&&Be(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=et("Patches").$;return gt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),ke=new Tg,Ig=ke.produce,ES=ke.produceWithPatches.bind(ke),wS=ke.setAutoFreeze.bind(ke),AS=ke.setUseProxies.bind(ke),RS=ke.applyPatches.bind(ke),NS=ke.createDraft.bind(ke),_S=ke.finishDraft.bind(ke),kn=Ig});function It(t){"@babel/helpers - typeof";return It=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},It(t)}var Es=p(()=>{});function ws(t,e){if(It(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(It(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var qd=p(()=>{Es()});function As(t){var e=ws(t,"string");return It(e)==="symbol"?e:String(e)}var Yd=p(()=>{Es();qd()});function Rs(t,e,r){return e=As(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xd=p(()=>{Yd()});function Jd(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 Dn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Jd(Object(r),!0).forEach(function(n){Rs(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jd(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var Qd=p(()=>{Xd()});function xe(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 Lg(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function _s(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(xe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(xe(1));return r(_s)(t,e)}if(typeof t!="function")throw new Error(xe(2));var i=t,a=e,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(xe(3));return a}function m(E){if(typeof E!="function")throw new Error(xe(4));if(c)throw new Error(xe(5));var _=!0;return d(),l.push(E),function(){if(_){if(c)throw new Error(xe(6));_=!1,d();var k=l.indexOf(E);l.splice(k,1),s=null}}}function y(E){if(!Lg(E))throw new Error(xe(7));if(typeof E.type>"u")throw new Error(xe(8));if(c)throw new Error(xe(9));try{c=!0,a=i(a,E)}finally{c=!1}for(var _=s=l,P=0;P<_.length;P++){var k=_[P];k()}return E}function b(E){if(typeof E!="function")throw new Error(xe(10));i=E,y({type:Un.REPLACE})}function x(){var E,_=m;return E={subscribe:function(k){if(typeof k!="object"||k===null)throw new Error(xe(11));function O(){k.next&&k.next(h())}O();var S=_(O);return{unsubscribe:S}}},E[ep]=function(){return this},E}return y({type:Un.INIT}),n={dispatch:y,subscribe:m,getState:h,replaceReducer:b},n[ep]=x,n}function $g(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Un.INIT});if(typeof n>"u")throw new Error(xe(12));if(typeof r(void 0,{type:Un.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(xe(13))})}function tp(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{$g(r)}catch(c){l=c}return function(d,h){if(d===void 0&&(d={}),l)throw l;if(0)var m;for(var y=!1,b={},x=0;x<a.length;x++){var E=a[x],_=r[E],P=d[E],k=_(P,h);if(typeof k>"u"){var O=h&&h.type;throw new Error(xe(14))}b[E]=k,y=y||k!==P}return y=y||a.length!==Object.keys(d).length,y?b:d}}function Nr(){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 rp(){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(xe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=Nr.apply(void 0,l)(i.dispatch),Dn(Dn({},i),{},{dispatch:a})}}}var ep,Ns,Un,Bn=p(()=>{Qd();ep=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ns=function(){return Math.random().toString(36).substring(7).split("").join(".")},Un={INIT:"@@redux/INIT"+Ns(),REPLACE:"@@redux/REPLACE"+Ns(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ns()}}});function op(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 np,Ps,ip=p(()=>{np=op();np.withExtraArgument=op;Ps=np});function zg(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 $s(t){return Ke(t)?kn(t,function(){}):t}function Kg(t){return typeof t=="boolean"}function Gg(){return function(e){return Zg(e)}}function Zg(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 jg;if(r&&(Kg(r)?l.push(Ps):l.push(Ps.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,h=d===void 0?void 0:d,m=r.enhancers,y=m===void 0?void 0:m,b;if(typeof i=="function")b=i;else if(zg(i))b=tp(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),!Is&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Is&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=rp.apply(void 0,x),_=Nr;c&&(_=Hg(Lt({trace:!Is},typeof c=="object"&&c)));var P=new Vg(E),k=P;Array.isArray(y)?k=_r([E],y):typeof y=="function"&&(k=y(P));var O=_.apply(void 0,k);return _s(b,h,O)}function $t(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 Lt(Lt({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 pp(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 qg(t){return typeof t=="function"}function Yg(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?pp(e):[e,r,n],a=i[0],s=i[1],l=i[2],c;if(qg(t))c=function(){return $s(t())};else{var d=$s(t);c=function(){return d}}function h(m,y){m===void 0&&(m=c());var b=_r([a[y.type]],s.filter(function(x){var E=x.matcher;return E(y)}).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(gt(x)){var _=x,P=E(_,y);return P===void 0?x:P}else{if(Ke(x))return kn(x,function(k){return E(k,y)});var P=E(x,y);if(P===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return x},m)}return h.getInitialState=c,h}function Xg(t,e){return t+"/"+e}function fp(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:$s(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var m=n[h],y=Xg(e,h),b,x;"reducer"in m?(b=m.reducer,x=m.prepare):b=m,a[h]=b,s[y]=b,l[h]=x?$t(y,x):$t(y)});function c(){var h=typeof t.extraReducers=="function"?pp(t.extraReducers):[t.extraReducers],m=h[0],y=m===void 0?{}:m,b=h[1],x=b===void 0?[]:b,E=h[2],_=E===void 0?void 0:E,P=Lt(Lt({},y),s);return Yg(r,function(k){for(var O in P)k.addCase(O,P[O]);for(var S=0,w=x;S<w.length;S++){var B=w[S];k.addMatcher(B.matcher,B.reducer)}_&&k.addDefaultCase(_)})}var d;return{name:e,reducer:function(h,m){return d||(d=c()),d(h,m)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}function ry(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function oy(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var up,kg,_r,Mg,Dg,Ug,ap,Bg,Fg,sp,Lt,Ts,Wg,Hg,GS,jg,Vg,Is,Jg,Qg,ey,Ls,lp,ty,XS,hp,mp,gp,JS,QS,eO,tO,ks,rO,oO,nO,cp,iO,ny,aO,yp=p(()=>{Mn();Bn();Bn();Bn();ip();Mn();Mn();up=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)}}(),kg=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(h){return c([d,h])}}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(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},_r=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Mg=Object.defineProperty,Dg=Object.defineProperties,Ug=Object.getOwnPropertyDescriptors,ap=Object.getOwnPropertySymbols,Bg=Object.prototype.hasOwnProperty,Fg=Object.prototype.propertyIsEnumerable,sp=function(t,e,r){return e in t?Mg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Lt=function(t,e){for(var r in e||(e={}))Bg.call(e,r)&&sp(t,r,e[r]);if(ap)for(var n=0,i=ap(e);n<i.length;n++){var r=i[n];Fg.call(e,r)&&sp(t,r,e[r])}return t},Ts=function(t,e){return Dg(t,Ug(e))},Wg=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())})},Hg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Nr:Nr.apply(null,arguments)},GS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};jg=function(t){up(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,_r([void 0],r[0].concat(this)))):new(e.bind.apply(e,_r([void 0],r.concat(this))))},e}(Array),Vg=function(t){up(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,_r([void 0],r[0].concat(this)))):new(e.bind.apply(e,_r([void 0],r.concat(this))))},e}(Array);Is=!0;Jg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Qg=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Jg[Math.random()*64|0];return e},ey=["name","message","stack","code"],Ls=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),lp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),ty=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=ey;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},XS=function(){function t(e,r,n){var i=$t(e+"/fulfilled",function(h,m,y,b){return{payload:h,meta:Ts(Lt({},b||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=$t(e+"/pending",function(h,m,y){return{payload:void 0,meta:Ts(Lt({},y||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=$t(e+"/rejected",function(h,m,y,b,x){return{payload:b,error:(n&&n.serializeError||ty)(h||"Rejected"),meta:Ts(Lt({},x||{}),{arg:y,requestId:m,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(m,y,b){var x=n?.idGenerator?n.idGenerator(h):Qg(),E=new c,_,P=!1;function k(S){_=S,E.abort()}var O=function(){return Wg(this,null,function(){var S,w,B,W,be,Z,g;return kg(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),W=(S=n?.condition)==null?void 0:S.call(n,h,{getState:y,extra:b}),oy(W)?[4,W]:[3,2];case 1:W=v.sent(),v.label=2;case 2:if(W===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,be=new Promise(function(R,V){return E.signal.addEventListener("abort",function(){return V({name:"AbortError",message:_||"Aborted"})})}),m(a(x,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:x,arg:h},{getState:y,extra:b}))),[4,Promise.race([be,Promise.resolve(r(h,{dispatch:m,getState:y,extra:b,requestId:x,signal:E.signal,abort:k,rejectWithValue:function(R,V){return new Ls(R,V)},fulfillWithValue:function(R,V){return new lp(R,V)}})).then(function(R){if(R instanceof Ls)throw R;return R instanceof lp?i(R.payload,x,h,R.meta):i(R,x,h)})])];case 3:return B=v.sent(),[3,5];case 4:return Z=v.sent(),B=Z instanceof Ls?s(null,x,h,Z.payload,Z.meta):s(Z,x,h),[3,5];case 5:return g=n&&!n.dispatchConditionRejection&&s.match(B)&&B.meta.condition,g||m(B),[2,B]}})})}();return Object.assign(O,{abort:k,requestId:x,arg:h,unwrap:function(){return O.then(ry)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();hp="listener",mp="completed",gp="cancelled",JS="task-"+gp,QS="task-"+mp,eO=hp+"-"+gp,tO=hp+"-"+mp,ks="listenerMiddleware",rO=$t(ks+"/add"),oO=$t(ks+"/removeAll"),nO=$t(ks+"/remove"),iO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(cp||(cp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},ny=function(t){return function(e){setTimeout(e,t)}},aO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ny(10);Kd()});function iy(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))rr(e)&&e.clear()}var yt,bp=p(()=>{"use strict";yp();Pn();cs();window.ftReduxStores||(window.ftReduxStores={});yt=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(rr(a))return a;if(i==null)return;let s=fp({...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 Ro,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 Ms={};G(Ms,{FtCommandQueue:()=>Ro,FtLitElementRedux:()=>we,FtReduxStore:()=>yt,clearAllStores:()=>iy,isFtReduxStore:()=>rr,redux:()=>ee,reduxEventListener:()=>Og,reduxReactive:()=>Sg});var Fn=p(()=>{"use strict";Id();cs();Md();bp();Pn()});var Ds={};G(Ds,{serializeRequest:()=>sy});function ay(t){return`"${t}"`}function sy(t,e){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,d=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+d)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let c=e.filters.map(d=>{let h=d.values.map(m=>m.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(m=>encodeURIComponent(ay(m))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Us=p(()=>{"use strict"});var Fs={};G(Fs,{toFtFormComponent:()=>Bs});function Bs(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Wn].form}constructor(...i){super(i),this[Wn]=this.attachInternals(),this[Wn].role=e}setFormValue(i){this[Wn].setFormValue(i)}}return r}var Wn,Ws=p(()=>{"use strict";Wn=Symbol("elementInternals")});var ir,Hn=p(()=>{"use strict";ir=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 xp=p(()=>{"use strict"});var Hs,zs,js,Vs,Ks,ly,$=p(()=>{"use strict";fc();U();re();pn();br();mu();fo();Zi();fn();Xi();hn();gn();Pa();ka();wn();yn();_n();Xa();mo();rs();is();as();ls();Fn();Rn();Us();Ws();Hn();Zi();fn();Xi();Hn();hn();gn();Pa();ka();wn();yn();_n();Xa();mo();rs();is();as();ls();Fn();Rn();xp();Us();Ws();K();Ks=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((js=(zs=(Hs=window.safari)===null||Hs===void 0?void 0:Hs.pushNotification)===null||zs===void 0?void 0:zs.toString())!==null&&js!==void 0?js:"")==="[object SafariRemoteNotification]",ly="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Vs=window.ftGlobals)!==null&&Vs!==void 0?Vs:{lit:Di,litDecorators:Wi,litRepeat:Hi,litClassMap:zi,litStyleMap:ji,litUnsafeHTML:Vi,wcUtils:{...Gi,...Ki,...Yi,...ir,...Ji,...ea,..._a,...$a,...Za,...Na,...Ya,...Ad,...Qi,...ts,...ns,...Td,...ss,...Ms,...qa,...Ds,...Fs,isSafari:Ks,isTouchScreen:ly}}});var vp,j,Sp,Op,Cp,Ep,wp,ar=p(()=>{"use strict";U();$();vp=o.extend("--ft-ripple-color","",L.colorContent),j={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")},Sp=o.extend("--ft-ripple-color","",L.colorPrimary),Op={color:Sp,backgroundColor:o.extend("--ft-ripple-background-color","",Sp)},Cp=o.extend("--ft-ripple-color","",L.colorSecondary),Ep={color:Cp,backgroundColor:o.extend("--ft-ripple-background-color","",Cp)},wp=N`
|
|
42
|
+
`});var Bp={};var us=h(()=>{"use strict"});var hs={};q(hs,{ParametrizedLabelResolver:()=>To});var To,ms=h(()=>{"use strict";To=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let s=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return r.forEach((c,l)=>s=s.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(d,u)=>this.formatValue(c,u))),s}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}}});var ay,ae,iy,Wp=h(()=>{"use strict";Oo();se();ay=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ae=t=>{let e=t??{};return(r,n)=>{var a;let s={hasChanged:So,attribute:!1,...e};N(s)(r,n);let c=r.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},iy=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var ko,gs=h(()=>{"use strict";ko=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 lr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Dn=h(()=>{"use strict"});var Fp,zp,Hp,Mn,$t,dr,Le,Kp=h(()=>{"use strict";$n();Dn();Mn=Symbol("internalReduxEventsUnsubscribers"),$t=Symbol("internalStoresUnsubscribers"),dr=Symbol("internalStores"),Le=class extends ee{constructor(){super(...arguments),this[Fp]=new Map,this[zp]=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[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??(lr(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 a=this.getStore(e.store);a&&(e.store?this[$t].has(e.store):this[$t].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[$t].set(e,r.subscribe(()=>this.updateFromStores())),lr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,s)=>{if(typeof this[s]=="function"&&(!a.store||r.name===a.store)){let c=l=>this[s](l);r.eventBus.addEventListener(a.eventName,c),this[Mn].push(()=>r.eventBus.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[$t].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Mn].forEach(e=>e()),this[Mn]=[]}unsubscribeFromStore(e){this[$t].has(e)&&this[$t].get(e)(),this[$t].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Fp=$t,zp=dr,Hp=Mn;Le.reduxProperties=new Map;Le.reduxReactiveProperties=new Set;Le.reduxEventListeners=new Map});function Ge(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var a,s;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ct(t){return!!t&&!!t[pe]}function Je(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===hy}(t)||Array.isArray(t)||!!t[Xp]||!!(!((e=t.constructor)===null||e===void 0)&&e[Xp])||ws(t)||Ns(t))}function pr(t,e,r){r===void 0&&(r=!1),kr(t)===0?(r?Object.keys:Tr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function kr(t){var e=t[pe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ws(t)?2:Ns(t)?3:0}function _r(t,e){return kr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function sy(t,e){return kr(t)===2?t.get(e):t[e]}function Jp(t,e,r){var n=kr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Qp(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ws(t){return fy&&t instanceof Map}function Ns(t){return uy&&t instanceof Set}function Dt(t){return t.o||t.t}function Rs(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=rf(t);delete e[pe];for(var r=Tr(e),n=0;n<r.length;n++){var a=r[n],s=e[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(e[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function As(t,e){return e===void 0&&(e=!1),Is(t)||Ct(t)||!Je(t)||(kr(t)>1&&(t.set=t.add=t.clear=t.delete=cy),Object.freeze(t),e&&pr(t,function(r,n){return As(n,!0)},!0)),t}function cy(){Ge(2)}function Is(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function it(t){var e=Es[t];return e||Ge(18,t),e}function ly(t,e){Es[t]||(Es[t]=e)}function Ss(){return $o}function ys(t,e){e&&(it("Patches"),t.u=[],t.s=[],t.v=e)}function Bn(t){Os(t),t.p.forEach(dy),t.p=null}function Os(t){t===$o&&($o=t.l)}function Gp(t){return $o={p:[],l:$o,h:t,m:!0,_:0}}function dy(t){var e=t[pe];e.i===0||e.i===1?e.j():e.g=!0}function bs(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||it("ES5").S(e,t,n),n?(r[pe].P&&(Bn(e),Ge(4)),Je(t)&&(t=Wn(e,t),e.l||Fn(e,t)),e.u&&it("Patches").M(r[pe].t,t,e.u,e.s)):t=Wn(e,r,[]),Bn(e),e.u&&e.v(e.u,e.s),t!==tf?t:void 0}function Wn(t,e,r){if(Is(e))return e;var n=e[pe];if(!n)return pr(e,function(l,d){return Zp(t,n,e,l,d,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 a=n.i===4||n.i===5?n.o=Rs(n.k):n.o,s=a,c=!1;n.i===3&&(s=new Set(a),a.clear(),c=!0),pr(s,function(l,d){return Zp(t,n,a,l,d,r,c)}),Fn(t,a,!1),r&&t.u&&it("Patches").N(n,r,t.u,t.s)}return n.o}function Zp(t,e,r,n,a,s,c){if(Ct(a)){var l=Wn(t,a,s&&e&&e.i!==3&&!_r(e.R,n)?s.concat(n):void 0);if(Jp(r,n,l),!Ct(l))return;t.m=!1}else c&&r.add(a);if(Je(a)&&!Is(a)){if(!t.h.D&&t._<1)return;Wn(t,a),e&&e.A.l||Fn(t,a)}}function Fn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&As(e,r)}function xs(t,e){var r=t[pe];return(r?Dt(r):t)[e]}function Vp(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 Mt(t){t.P||(t.P=!0,t.l&&Mt(t.l))}function vs(t){t.o||(t.o=Rs(t.t))}function Cs(t,e,r){var n=ws(e)?it("MapSet").F(e,r):Ns(e)?it("MapSet").T(e,r):t.O?function(a,s){var c=Array.isArray(a),l={i:c?1:0,A:s?s.A:Ss(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},d=l,u=Do;c&&(d=[l],u=Uo);var y=Proxy.revocable(d,u),b=y.revoke,v=y.proxy;return l.k=v,l.j=b,v}(e,r):it("ES5").J(e,r);return(r?r.A:Ss()).p.push(n),n}function py(t){return Ct(t)||Ge(22,t),function e(r){if(!Je(r))return r;var n,a=r[pe],s=kr(r);if(a){if(!a.P&&(a.i<4||!it("ES5").K(a)))return a.t;a.I=!0,n=jp(r,s),a.I=!1}else n=jp(r,s);return pr(n,function(c,l){a&&sy(a.t,c)===l||Jp(n,c,e(l))}),s===3?new Set(n):n}(t)}function jp(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Rs(t)}function ef(){function t(c,l){var d=s[c];return d?d.enumerable=l:s[c]=d={configurable:!0,enumerable:l,get:function(){var u=this[pe];return Do.get(u,c)},set:function(u){var y=this[pe];Do.set(y,c,u)}},d}function e(c){for(var l=c.length-1;l>=0;l--){var d=c[l][pe];if(!d.P)switch(d.i){case 5:n(d)&&Mt(d);break;case 4:r(d)&&Mt(d)}}}function r(c){for(var l=c.t,d=c.k,u=Tr(d),y=u.length-1;y>=0;y--){var b=u[y];if(b!==pe){var v=l[b];if(v===void 0&&!_r(l,b))return!0;var S=d[b],O=S&&S[pe];if(O?O.t!==v:!Qp(S,v))return!0}}var R=!!l[pe];return u.length!==Tr(l).length+(R?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(c){c.g&&Ge(3,JSON.stringify(Dt(c)))}var s={};ly("ES5",{J:function(c,l){var d=Array.isArray(c),u=function(b,v){if(b){for(var S=Array(v.length),O=0;O<v.length;O++)Object.defineProperty(S,""+O,t(O,!0));return S}var R=rf(v);delete R[pe];for(var _=Tr(R),T=0;T<_.length;T++){var M=_[T];R[M]=t(M,b||!!R[M].enumerable)}return Object.create(Object.getPrototypeOf(v),R)}(d,c),y={i:d?5:4,A:l?l.A:Ss(),P:!1,I:!1,R:{},l,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,pe,{value:y,writable:!0}),u},S:function(c,l,d){d?Ct(l)&&l[pe].A===c&&e(c.p):(c.u&&function u(y){if(y&&typeof y=="object"){var b=y[pe];if(b){var v=b.t,S=b.k,O=b.R,R=b.i;if(R===4)pr(S,function(E){E!==pe&&(v[E]!==void 0||_r(v,E)?O[E]||u(S[E]):(O[E]=!0,Mt(b)))}),pr(v,function(E){S[E]!==void 0||_r(S,E)||(O[E]=!1,Mt(b))});else if(R===5){if(n(b)&&(Mt(b),O.length=!0),S.length<v.length)for(var _=S.length;_<v.length;_++)O[_]=!1;else for(var T=v.length;T<S.length;T++)O[T]=!0;for(var M=Math.min(S.length,v.length),w=0;w<M;w++)S.hasOwnProperty(w)||(O[w]=!0),O[w]===void 0&&u(S[w])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?r(c):n(c)}})}var qp,$o,Ps,fy,uy,Yp,tf,Xp,pe,hy,Tr,rf,Es,Do,Uo,my,Fe,gy,cO,lO,dO,pO,fO,uO,zn,Hn=h(()=>{Ps=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",fy=typeof Map<"u",uy=typeof Set<"u",Yp=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",tf=Ps?Symbol.for("immer-nothing"):((qp={})["immer-nothing"]=!0,qp),Xp=Ps?Symbol.for("immer-draftable"):"__$immer_draftable",pe=Ps?Symbol.for("immer-state"):"__$immer_state",hy=""+Object.prototype.constructor,Tr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,rf=Object.getOwnPropertyDescriptors||function(t){var e={};return Tr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Es={},Do={get:function(t,e){if(e===pe)return t;var r=Dt(t);if(!_r(r,e))return function(a,s,c){var l,d=Vp(s,c);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!Je(n)?n:n===xs(t.t,e)?(vs(t),t.o[e]=Cs(t.A.h,n,t)):n},has:function(t,e){return e in Dt(t)},ownKeys:function(t){return Reflect.ownKeys(Dt(t))},set:function(t,e,r){var n=Vp(Dt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=xs(Dt(t),e),s=a?.[pe];if(s&&s.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Qp(r,a)&&(r!==void 0||_r(t.t,e)))return!0;vs(t),Mt(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 xs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,vs(t),Mt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Dt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Ge(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ge(12)}},Uo={};pr(Do,function(t,e){Uo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Uo.deleteProperty=function(t,e){return Uo.set.call(this,t,e,void 0)},Uo.set=function(t,e,r){return Do.set.call(this,t[0],e,r,t[0])};my=function(){function t(r){var n=this;this.O=Yp,this.D=!0,this.produce=function(a,s,c){if(typeof a=="function"&&typeof s!="function"){var l=s;s=a;var d=n;return function(R){var _=this;R===void 0&&(R=l);for(var T=arguments.length,M=Array(T>1?T-1:0),w=1;w<T;w++)M[w-1]=arguments[w];return d.produce(R,function(E){var A;return(A=s).call.apply(A,[_,E].concat(M))})}}var u;if(typeof s!="function"&&Ge(6),c!==void 0&&typeof c!="function"&&Ge(7),Je(a)){var y=Gp(n),b=Cs(n,a,void 0),v=!0;try{u=s(b),v=!1}finally{v?Bn(y):Os(y)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(R){return ys(y,c),bs(R,y)},function(R){throw Bn(y),R}):(ys(y,c),bs(u,y))}if(!a||typeof a!="object"){if((u=s(a))===void 0&&(u=a),u===tf&&(u=void 0),n.D&&As(u,!0),c){var S=[],O=[];it("Patches").M(a,u,S,O),c(S,O)}return u}Ge(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(u){for(var y=arguments.length,b=Array(y>1?y-1:0),v=1;v<y;v++)b[v-1]=arguments[v];return n.produceWithPatches(u,function(S){return a.apply(void 0,[S].concat(b))})};var c,l,d=n.produce(a,s,function(u,y){c=u,l=y});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,c,l]}):[d,c,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){Je(r)||Ge(8),Ct(r)&&(r=py(r));var n=Gp(this),a=Cs(this,r,void 0);return a[pe].C=!0,Os(n),a},e.finishDraft=function(r,n){var a=r&&r[pe],s=a.A;return ys(s,n),bs(void 0,s)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Yp&&Ge(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var s=n[a];if(s.path.length===0&&s.op==="replace"){r=s.value;break}}a>-1&&(n=n.slice(a+1));var c=it("Patches").$;return Ct(r)?c(r,n):this.produce(r,function(l){return c(l,n)})},t}(),Fe=new my,gy=Fe.produce,cO=Fe.produceWithPatches.bind(Fe),lO=Fe.setAutoFreeze.bind(Fe),dO=Fe.setUseProxies.bind(Fe),pO=Fe.applyPatches.bind(Fe),fO=Fe.createDraft.bind(Fe),uO=Fe.finishDraft.bind(Fe),zn=gy});function Bt(t){"@babel/helpers - typeof";return Bt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(t)}var Ls=h(()=>{});function _s(t,e){if(Bt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Bt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var of=h(()=>{Ls()});function Ts(t){var e=_s(t,"string");return Bt(e)==="symbol"?e:String(e)}var nf=h(()=>{Ls();of()});function ks(t,e,r){return e=Ts(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var af=h(()=>{nf()});function sf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Kn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sf(Object(r),!0).forEach(function(n){ks(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var cf=h(()=>{af()});function we(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 yy(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function $s(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(we(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(we(1));return r($s)(t,e)}if(typeof t!="function")throw new Error(we(2));var a=t,s=e,c=[],l=c,d=!1;function u(){l===c&&(l=c.slice())}function y(){if(d)throw new Error(we(3));return s}function b(R){if(typeof R!="function")throw new Error(we(4));if(d)throw new Error(we(5));var _=!0;return u(),l.push(R),function(){if(_){if(d)throw new Error(we(6));_=!1,u();var M=l.indexOf(R);l.splice(M,1),c=null}}}function v(R){if(!yy(R))throw new Error(we(7));if(typeof R.type>"u")throw new Error(we(8));if(d)throw new Error(we(9));try{d=!0,s=a(s,R)}finally{d=!1}for(var _=c=l,T=0;T<_.length;T++){var M=_[T];M()}return R}function S(R){if(typeof R!="function")throw new Error(we(10));a=R,v({type:Gn.REPLACE})}function O(){var R,_=b;return R={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(we(11));function w(){M.next&&M.next(y())}w();var E=_(w);return{unsubscribe:E}}},R[lf]=function(){return this},R}return v({type:Gn.INIT}),n={dispatch:v,subscribe:b,getState:y,replaceReducer:S},n[lf]=O,n}function by(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Gn.INIT});if(typeof n>"u")throw new Error(we(12));if(typeof r(void 0,{type:Gn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(we(13))})}function df(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var s=Object.keys(r),c,l;try{by(r)}catch(d){l=d}return function(u,y){if(u===void 0&&(u={}),l)throw l;if(0)var b;for(var v=!1,S={},O=0;O<s.length;O++){var R=s[O],_=r[R],T=u[R],M=_(T,y);if(typeof M>"u"){var w=y&&y.type;throw new Error(we(14))}S[R]=M,v=v||M!==T}return v=v||s.length!==Object.keys(u).length,v?S:u}}function Ur(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function pf(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),s=function(){throw new Error(we(15))},c={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},l=e.map(function(d){return d(c)});return s=Ur.apply(void 0,l)(a.dispatch),Kn(Kn({},a),{},{dispatch:s})}}}var lf,Us,Gn,Zn=h(()=>{cf();lf=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Us=function(){return Math.random().toString(36).substring(7).split("").join(".")},Gn={INIT:"@@redux/INIT"+Us(),REPLACE:"@@redux/REPLACE"+Us(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Us()}}});function ff(t){var e=function(n){var a=n.dispatch,s=n.getState;return function(c){return function(l){return typeof l=="function"?l(a,s,t):c(l)}}};return e}var uf,Ds,hf=h(()=>{uf=ff();uf.withExtraArgument=ff;Ds=uf});function Ry(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 Fs(t){return Je(t)?zn(t,function(){}):t}function Py(t){return typeof t=="boolean"}function Ly(){return function(e){return _y(e)}}function _y(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,s=t.serializableCheck,c=s===void 0?!0:s,l=new Ay;if(r&&(Py(r)?l.push(Ds):l.push(Ds.withExtraArgument(r.extraArgument))),0){if(a)var d;if(c)var u}return l}function vf(t){var e=Ly(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,s=r.middleware,c=s===void 0?e():s,l=r.devTools,d=l===void 0?!0:l,u=r.preloadedState,y=u===void 0?void 0:u,b=r.enhancers,v=b===void 0?void 0:b,S;if(typeof a=="function")S=a;else if(Ry(a))S=df(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var O=c;if(typeof O=="function"&&(O=O(e),!Bs&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Bs&&O.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=pf.apply(void 0,O),_=Ur;d&&(_=Ny(Wt({trace:!Bs},typeof d=="object"&&d)));var T=new Iy(R),M=T;Array.isArray(v)?M=$r([R],v):typeof v=="function"&&(M=v(T));var w=_.apply(void 0,M);return $s(S,y,w)}function Ft(t,e){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var s=e.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return Wt(Wt({type:t,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.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 Sf(t){var e={},r=[],n,a={addCase:function(s,c){var l=typeof s=="string"?s:s.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=c,a},addMatcher:function(s,c){return r.push({matcher:s,reducer:c}),a},addDefaultCase:function(s){return n=s,a}};return t(a),[e,r,n]}function Ty(t){return typeof t=="function"}function ky(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?Sf(e):[e,r,n],s=a[0],c=a[1],l=a[2],d;if(Ty(t))d=function(){return Fs(t())};else{var u=Fs(t);d=function(){return u}}function y(b,v){b===void 0&&(b=d());var S=$r([s[v.type]],c.filter(function(O){var R=O.matcher;return R(v)}).map(function(O){var R=O.reducer;return R}));return S.filter(function(O){return!!O}).length===0&&(S=[l]),S.reduce(function(O,R){if(R)if(Ct(O)){var _=O,T=R(_,v);return T===void 0?O:T}else{if(Je(O))return zn(O,function(M){return R(M,v)});var T=R(O,v);if(T===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return O},b)}return y.getInitialState=d,y}function Uy(t,e){return t+"/"+e}function Of(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:Fs(t.initialState),n=t.reducers||{},a=Object.keys(n),s={},c={},l={};a.forEach(function(y){var b=n[y],v=Uy(e,y),S,O;"reducer"in b?(S=b.reducer,O=b.prepare):S=b,s[y]=S,c[v]=S,l[y]=O?Ft(v,O):Ft(v)});function d(){var y=typeof t.extraReducers=="function"?Sf(t.extraReducers):[t.extraReducers],b=y[0],v=b===void 0?{}:b,S=y[1],O=S===void 0?[]:S,R=y[2],_=R===void 0?void 0:R,T=Wt(Wt({},v),c);return ky(r,function(M){for(var w in T)M.addCase(w,T[w]);for(var E=0,A=O;E<A.length;E++){var z=A[E];M.addMatcher(z.matcher,z.reducer)}_&&M.addDefaultCase(_)})}var u;return{name:e,reducer:function(y,b){return u||(u=d()),u(y,b)},actions:l,caseReducers:s,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}function Wy(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Fy(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var xf,xy,$r,vy,Sy,Oy,mf,Cy,Ey,gf,Wt,Ms,wy,Ny,LO,Ay,Iy,Bs,$y,Dy,My,Ws,yf,By,UO,Cf,Ef,wf,$O,DO,MO,BO,zs,WO,FO,zO,bf,HO,zy,KO,Nf=h(()=>{Hn();Zn();Zn();Zn();hf();Hn();Hn();xf=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])},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)}}(),xy=function(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(u){return function(y){return d([u,y])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(s=u[0]&2?a.return:u[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,u[1])).done)return s;switch(a=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){r.label=u[1];break}if(u[0]===6&&r.label<s[1]){r.label=s[1],s=u;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(u);break}s[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(y){u=[6,y],a=0}finally{n=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},$r=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},vy=Object.defineProperty,Sy=Object.defineProperties,Oy=Object.getOwnPropertyDescriptors,mf=Object.getOwnPropertySymbols,Cy=Object.prototype.hasOwnProperty,Ey=Object.prototype.propertyIsEnumerable,gf=function(t,e,r){return e in t?vy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Wt=function(t,e){for(var r in e||(e={}))Cy.call(e,r)&&gf(t,r,e[r]);if(mf)for(var n=0,a=mf(e);n<a.length;n++){var r=a[n];Ey.call(e,r)&&gf(t,r,e[r])}return t},Ms=function(t,e){return Sy(t,Oy(e))},wy=function(t,e,r){return new Promise(function(n,a){var s=function(d){try{l(r.next(d))}catch(u){a(u)}},c=function(d){try{l(r.throw(d))}catch(u){a(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(s,c)};l((r=r.apply(t,e)).next())})},Ny=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ur:Ur.apply(null,arguments)},LO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Ay=function(t){xf(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,$r([void 0],r[0].concat(this)))):new(e.bind.apply(e,$r([void 0],r.concat(this))))},e}(Array),Iy=function(t){xf(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,$r([void 0],r[0].concat(this)))):new(e.bind.apply(e,$r([void 0],r.concat(this))))},e}(Array);Bs=!0;$y="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Dy=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=$y[Math.random()*64|0];return e},My=["name","message","stack","code"],Ws=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),yf=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),By=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=My;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},UO=function(){function t(e,r,n){var a=Ft(e+"/fulfilled",function(y,b,v,S){return{payload:y,meta:Ms(Wt({},S||{}),{arg:v,requestId:b,requestStatus:"fulfilled"})}}),s=Ft(e+"/pending",function(y,b,v){return{payload:void 0,meta:Ms(Wt({},v||{}),{arg:b,requestId:y,requestStatus:"pending"})}}),c=Ft(e+"/rejected",function(y,b,v,S,O){return{payload:S,error:(n&&n.serializeError||By)(y||"Rejected"),meta:Ms(Wt({},O||{}),{arg:v,requestId:b,rejectedWithValue:!!S,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function u(y){return function(b,v,S){var O=n?.idGenerator?n.idGenerator(y):Dy(),R=new d,_,T=!1;function M(E){_=E,R.abort()}var w=function(){return wy(this,null,function(){var E,A,z,K,Ee,X,x;return xy(this,function(C){switch(C.label){case 0:return C.trys.push([0,4,,5]),K=(E=n?.condition)==null?void 0:E.call(n,y,{getState:v,extra:S}),Fy(K)?[4,K]:[3,2];case 1:K=C.sent(),C.label=2;case 2:if(K===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,Ee=new Promise(function(L,j){return R.signal.addEventListener("abort",function(){return j({name:"AbortError",message:_||"Aborted"})})}),b(s(O,y,(A=n?.getPendingMeta)==null?void 0:A.call(n,{requestId:O,arg:y},{getState:v,extra:S}))),[4,Promise.race([Ee,Promise.resolve(r(y,{dispatch:b,getState:v,extra:S,requestId:O,signal:R.signal,abort:M,rejectWithValue:function(L,j){return new Ws(L,j)},fulfillWithValue:function(L,j){return new yf(L,j)}})).then(function(L){if(L instanceof Ws)throw L;return L instanceof yf?a(L.payload,O,y,L.meta):a(L,O,y)})])];case 3:return z=C.sent(),[3,5];case 4:return X=C.sent(),z=X instanceof Ws?c(null,O,y,X.payload,X.meta):c(X,O,y),[3,5];case 5:return x=n&&!n.dispatchConditionRejection&&c.match(z)&&z.meta.condition,x||b(z),[2,z]}})})}();return Object.assign(w,{abort:M,requestId:O,arg:y,unwrap:function(){return w.then(Wy)}})}}return Object.assign(u,{pending:s,rejected:c,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();Cf="listener",Ef="completed",wf="cancelled",$O="task-"+wf,DO="task-"+Ef,MO=Cf+"-"+wf,BO=Cf+"-"+Ef,zs="listenerMiddleware",WO=Ft(zs+"/add"),FO=Ft(zs+"/removeAll"),zO=Ft(zs+"/remove"),HO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(bf||(bf=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},zy=function(t){return function(e){setTimeout(e,t)}},KO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:zy(10);ef()});function Hy(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))lr(e)&&e.clear()}var Et,Rf=h(()=>{"use strict";Nf();Dn();gs();window.ftReduxStores||(window.ftReduxStores={});Et=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(lr(s))return s;if(a==null)return;let c=Of({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=vf({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:c.reducer(d,u)});return window.ftReduxStores[a.name]=new t(c,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new ko,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,s)=>{let c=a,l=n[c];return l?(...d)=>{let u=l(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[c]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var Hs={};q(Hs,{FtCommandQueue:()=>ko,FtLitElementRedux:()=>Le,FtReduxStore:()=>Et,clearAllStores:()=>Hy,isFtReduxStore:()=>lr,redux:()=>ae,reduxEventListener:()=>iy,reduxReactive:()=>ay});var Vn=h(()=>{"use strict";Wp();gs();Kp();Rf();Dn()});var Ks={};q(Ks,{serializeRequest:()=>Gy});function Ky(t){return`"${t}"`}function Gy(t,e){var r,n,a,s;let c=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&c.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&c.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&c.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let d=e.periodFilter.period,u=d?`_${d.from}_${d.to}`:"";c.append("period",e.periodFilter.periodType.toLowerCase()+u)}if(((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&c.append("sort","last_update"),((s=e.filters)===null||s===void 0?void 0:s.length)>0){let d=e.filters.map(u=>{let y=u.values.map(b=>b.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(b=>encodeURIComponent(Ky(b))).join("_");return`${u.key}~${y}`}).join("*");c.append("filters",d)}return new URL(`${t.replace(/\/+$/,"")}/search?${c.toString()}`).href}var Gs=h(()=>{"use strict"});var Vs={};q(Vs,{toFtFormComponent:()=>Zs});function Zs(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[jn].form}constructor(...a){super(a),this[jn]=this.attachInternals(),this[jn].role=e}setFormValue(a){this[jn].setFormValue(a)}}return r}var jn,js=h(()=>{"use strict";jn=Symbol("elementInternals")});var fr,qn=h(()=>{"use strict";fr=class{static format(e,r,n,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var Af=h(()=>{"use strict"});var qs,Ys,Xs,Js,Qs,Zy,D=h(()=>{"use strict";Sl();F();se();xn();wr();Cd();vo();ti();vn();ni();Sn();Cn();Di();zi();_n();En();$n();ns();Oo();ls();fs();us();ms();Vn();kn();Gs();js();qn();ti();vn();ni();qn();Sn();Cn();Di();zi();_n();En();$n();ns();Oo();ls();fs();us();ms();Vn();kn();Af();Gs();js();Y();Qs=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Xs=(Ys=(qs=window.safari)===null||qs===void 0?void 0:qs.pushNotification)===null||Ys===void 0?void 0:Ys.toString())!==null&&Xs!==void 0?Xs:"")==="[object SafariRemoteNotification]",Zy="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Js=window.ftGlobals)!==null&&Js!==void 0?Js:{lit:Ka,litDecorators:ja,litRepeat:qa,litClassMap:Ya,litStyleMap:Xa,litUnsafeHTML:Ja,wcUtils:{...ei,...Qa,...oi,...fr,...ai,...si,...$i,...Fi,...ts,...Ui,...os,...kp,...ii,...cs,...ps,...Bp,...hs,...Hs,...rs,...Ks,...Vs,isSafari:Qs,isTouchScreen:Zy}}});var If,V,Pf,Lf,_f,Tf,kf,ur=h(()=>{"use strict";F();D();If=o.extend("--ft-ripple-color","",$.colorContent),V={color:If,backgroundColor:o.extend("--ft-ripple-background-color","",If),opacityContentOnSurfacePressed:o.external($.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external($.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external($.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external($.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Pf=o.extend("--ft-ripple-color","",$.colorPrimary),Lf={color:Pf,backgroundColor:o.extend("--ft-ripple-background-color","",Pf)},_f=o.extend("--ft-ripple-color","",$.colorSecondary),Tf={color:_f,backgroundColor:o.extend("--ft-ripple-background-color","",_f)},kf=I`
|
|
43
43
|
:host {
|
|
44
44
|
display: contents;
|
|
45
45
|
}
|
|
@@ -52,7 +52,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
52
52
|
|
|
53
53
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
54
54
|
overflow: hidden;
|
|
55
|
-
border-radius: ${
|
|
55
|
+
border-radius: ${V.borderRadius};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.ft-ripple .ft-ripple--background,
|
|
@@ -86,27 +86,27 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.ft-ripple .ft-ripple--background {
|
|
89
|
-
background-color: ${
|
|
89
|
+
background-color: ${V.backgroundColor};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.ft-ripple .ft-ripple--effect {
|
|
93
|
-
background-color: ${
|
|
93
|
+
background-color: ${V.color};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
97
|
-
background-color: ${
|
|
97
|
+
background-color: ${Tf.backgroundColor};
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
101
|
-
background-color: ${
|
|
101
|
+
background-color: ${Tf.color};
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
105
|
-
background-color: ${
|
|
105
|
+
background-color: ${Lf.backgroundColor};
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
109
|
-
background-color: ${
|
|
109
|
+
background-color: ${Lf.color};
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.ft-ripple .ft-ripple--background {
|
|
@@ -136,23 +136,23 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
139
|
-
opacity: ${
|
|
139
|
+
opacity: ${V.opacityContentOnSurfaceHover};
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
143
|
-
opacity: ${
|
|
143
|
+
opacity: ${V.opacityContentOnSurfaceSelected};
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
147
|
-
opacity: ${
|
|
147
|
+
opacity: ${V.opacityContentOnSurfaceFocused};
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
151
|
-
opacity: ${
|
|
151
|
+
opacity: ${V.opacityContentOnSurfacePressed};
|
|
152
152
|
transform: translate(-50%, -50%) scale(1);
|
|
153
153
|
}
|
|
154
|
-
`});function
|
|
155
|
-
.ft-typography--${
|
|
154
|
+
`});function $f(t){let e=Co[t];return I`
|
|
155
|
+
.ft-typography--${mt(t)} {
|
|
156
156
|
font-family: ${e.fontFamily};
|
|
157
157
|
font-size: ${e.fontSize};
|
|
158
158
|
font-weight: ${e.fontWeight};
|
|
@@ -160,63 +160,17 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
160
160
|
line-height: ${e.lineHeight};
|
|
161
161
|
text-transform: ${e.textCase};
|
|
162
162
|
}
|
|
163
|
-
`}var
|
|
163
|
+
`}var Df=h(()=>{"use strict";F();Y()});var Mf,wt,W,Dr,Mr,Br,Wr,Fr,zr,Hr,Kr,Gr,st,Bf,Wf,Ff,zf,Hf,Yn,Kf,Gf,Zf,Vf,jf,qf,Xn=h(()=>{"use strict";F();D();Y();Df();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Y();Mf=o.extend("--ft-typography-font-family","",$.titleFont),wt=o.extend("--ft-typography-font-family","",$.contentFont),W={fontFamily:wt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Dr={fontFamily:o.extend("--ft-typography-title-font-family","",Mf),fontSize:o.extend("--ft-typography-title-font-size","",W.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",W.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",W.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",W.textTransform,"inherit")},Mr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Mf),fontSize:o.extend("--ft-typography-title-dense-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",W.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",W.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",W.textTransform,"inherit")},Br={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",wt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",W.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",W.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",W.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",W.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",W.textTransform,"inherit")},Wr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",wt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",W.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",W.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",W.textTransform,"inherit")},Fr={fontFamily:o.extend("--ft-typography-body1-font-family","",wt),fontSize:o.extend("--ft-typography-body1-font-size","",W.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",W.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",W.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",W.textTransform,"inherit")},zr={fontFamily:o.extend("--ft-typography-body2-font-family","",wt),fontSize:o.extend("--ft-typography-body2-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",W.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",W.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",W.textTransform,"inherit")},Hr={fontFamily:o.extend("--ft-typography-caption-font-family","",wt),fontSize:o.extend("--ft-typography-caption-font-size","",W.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",W.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",W.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",W.textTransform,"inherit")},Kr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",wt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",W.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",W.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",W.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",W.textTransform,"inherit")},Gr={fontFamily:o.extend("--ft-typography-overline-font-family","",wt),fontSize:o.extend("--ft-typography-overline-font-size","",W.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",W.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",W.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",W.textTransform,"uppercase")},st={fontFamily:o.extend("--ft-typography-button-font-family","",wt),fontSize:o.extend("--ft-typography-button-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",W.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",W.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",W.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",W.textTransform,"uppercase")},Bf=I`
|
|
164
164
|
.ft-typography--title {
|
|
165
|
-
font-family: ${
|
|
166
|
-
font-size: ${
|
|
167
|
-
font-weight: ${
|
|
168
|
-
letter-spacing: ${
|
|
169
|
-
line-height: ${
|
|
170
|
-
text-transform: ${
|
|
171
|
-
}
|
|
172
|
-
`,Tp=N`
|
|
173
|
-
.ft-typography--title-dense {
|
|
174
|
-
font-family: ${Tr.fontFamily};
|
|
175
|
-
font-size: ${Tr.fontSize};
|
|
176
|
-
font-weight: ${Tr.fontWeight};
|
|
177
|
-
letter-spacing: ${Tr.letterSpacing};
|
|
178
|
-
line-height: ${Tr.lineHeight};
|
|
179
|
-
text-transform: ${Tr.textTransform};
|
|
180
|
-
}
|
|
181
|
-
`,Ip=N`
|
|
182
|
-
.ft-typography--subtitle1 {
|
|
183
|
-
font-family: ${Ir.fontFamily};
|
|
184
|
-
font-size: ${Ir.fontSize};
|
|
185
|
-
font-weight: ${Ir.fontWeight};
|
|
186
|
-
letter-spacing: ${Ir.letterSpacing};
|
|
187
|
-
line-height: ${Ir.lineHeight};
|
|
188
|
-
text-transform: ${Ir.textTransform};
|
|
189
|
-
}
|
|
190
|
-
`,Lp=N`
|
|
191
|
-
.ft-typography--subtitle2 {
|
|
192
|
-
font-family: ${Lr.fontFamily};
|
|
193
|
-
font-size: ${Lr.fontSize};
|
|
194
|
-
font-weight: ${Lr.fontWeight};
|
|
195
|
-
letter-spacing: ${Lr.letterSpacing};
|
|
196
|
-
line-height: ${Lr.lineHeight};
|
|
197
|
-
text-transform: ${Lr.textTransform};
|
|
165
|
+
font-family: ${Dr.fontFamily};
|
|
166
|
+
font-size: ${Dr.fontSize};
|
|
167
|
+
font-weight: ${Dr.fontWeight};
|
|
168
|
+
letter-spacing: ${Dr.letterSpacing};
|
|
169
|
+
line-height: ${Dr.lineHeight};
|
|
170
|
+
text-transform: ${Dr.textTransform};
|
|
198
171
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
.ft-typography--body1 {
|
|
202
|
-
font-family: ${$r.fontFamily};
|
|
203
|
-
font-size: ${$r.fontSize};
|
|
204
|
-
font-weight: ${$r.fontWeight};
|
|
205
|
-
letter-spacing: ${$r.letterSpacing};
|
|
206
|
-
line-height: ${$r.lineHeight};
|
|
207
|
-
text-transform: ${$r.textTransform};
|
|
208
|
-
}
|
|
209
|
-
`,zn=N`
|
|
210
|
-
.ft-typography--body2 {
|
|
211
|
-
font-family: ${kr.fontFamily};
|
|
212
|
-
font-size: ${kr.fontSize};
|
|
213
|
-
font-weight: ${kr.fontWeight};
|
|
214
|
-
letter-spacing: ${kr.letterSpacing};
|
|
215
|
-
line-height: ${kr.lineHeight};
|
|
216
|
-
text-transform: ${kr.textTransform};
|
|
217
|
-
}
|
|
218
|
-
`,kp=N`
|
|
219
|
-
.ft-typography--caption {
|
|
172
|
+
`,Wf=I`
|
|
173
|
+
.ft-typography--title-dense {
|
|
220
174
|
font-family: ${Mr.fontFamily};
|
|
221
175
|
font-size: ${Mr.fontSize};
|
|
222
176
|
font-weight: ${Mr.fontWeight};
|
|
@@ -224,38 +178,84 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
224
178
|
line-height: ${Mr.lineHeight};
|
|
225
179
|
text-transform: ${Mr.textTransform};
|
|
226
180
|
}
|
|
227
|
-
`,
|
|
228
|
-
.ft-typography--
|
|
229
|
-
font-family: ${
|
|
230
|
-
font-size: ${
|
|
231
|
-
font-weight: ${
|
|
232
|
-
letter-spacing: ${
|
|
233
|
-
line-height: ${
|
|
234
|
-
text-transform: ${
|
|
181
|
+
`,Ff=I`
|
|
182
|
+
.ft-typography--subtitle1 {
|
|
183
|
+
font-family: ${Br.fontFamily};
|
|
184
|
+
font-size: ${Br.fontSize};
|
|
185
|
+
font-weight: ${Br.fontWeight};
|
|
186
|
+
letter-spacing: ${Br.letterSpacing};
|
|
187
|
+
line-height: ${Br.lineHeight};
|
|
188
|
+
text-transform: ${Br.textTransform};
|
|
189
|
+
}
|
|
190
|
+
`,zf=I`
|
|
191
|
+
.ft-typography--subtitle2 {
|
|
192
|
+
font-family: ${Wr.fontFamily};
|
|
193
|
+
font-size: ${Wr.fontSize};
|
|
194
|
+
font-weight: ${Wr.fontWeight};
|
|
195
|
+
letter-spacing: ${Wr.letterSpacing};
|
|
196
|
+
line-height: ${Wr.lineHeight};
|
|
197
|
+
text-transform: ${Wr.textTransform};
|
|
235
198
|
}
|
|
236
|
-
|
|
199
|
+
|
|
200
|
+
`,Hf=I`
|
|
201
|
+
.ft-typography--body1 {
|
|
202
|
+
font-family: ${Fr.fontFamily};
|
|
203
|
+
font-size: ${Fr.fontSize};
|
|
204
|
+
font-weight: ${Fr.fontWeight};
|
|
205
|
+
letter-spacing: ${Fr.letterSpacing};
|
|
206
|
+
line-height: ${Fr.lineHeight};
|
|
207
|
+
text-transform: ${Fr.textTransform};
|
|
208
|
+
}
|
|
209
|
+
`,Yn=I`
|
|
210
|
+
.ft-typography--body2 {
|
|
211
|
+
font-family: ${zr.fontFamily};
|
|
212
|
+
font-size: ${zr.fontSize};
|
|
213
|
+
font-weight: ${zr.fontWeight};
|
|
214
|
+
letter-spacing: ${zr.letterSpacing};
|
|
215
|
+
line-height: ${zr.lineHeight};
|
|
216
|
+
text-transform: ${zr.textTransform};
|
|
217
|
+
}
|
|
218
|
+
`,Kf=I`
|
|
219
|
+
.ft-typography--caption {
|
|
220
|
+
font-family: ${Hr.fontFamily};
|
|
221
|
+
font-size: ${Hr.fontSize};
|
|
222
|
+
font-weight: ${Hr.fontWeight};
|
|
223
|
+
letter-spacing: ${Hr.letterSpacing};
|
|
224
|
+
line-height: ${Hr.lineHeight};
|
|
225
|
+
text-transform: ${Hr.textTransform};
|
|
226
|
+
}
|
|
227
|
+
`,Gf=I`
|
|
228
|
+
.ft-typography--breadcrumb {
|
|
229
|
+
font-family: ${Kr.fontFamily};
|
|
230
|
+
font-size: ${Kr.fontSize};
|
|
231
|
+
font-weight: ${Kr.fontWeight};
|
|
232
|
+
letter-spacing: ${Kr.letterSpacing};
|
|
233
|
+
line-height: ${Kr.lineHeight};
|
|
234
|
+
text-transform: ${Kr.textTransform};
|
|
235
|
+
}
|
|
236
|
+
`,Zf=I`
|
|
237
237
|
.ft-typography--overline {
|
|
238
|
-
font-family: ${
|
|
239
|
-
font-size: ${
|
|
240
|
-
font-weight: ${
|
|
241
|
-
letter-spacing: ${
|
|
242
|
-
line-height: ${
|
|
243
|
-
text-transform: ${
|
|
244
|
-
}
|
|
245
|
-
`,
|
|
238
|
+
font-family: ${Gr.fontFamily};
|
|
239
|
+
font-size: ${Gr.fontSize};
|
|
240
|
+
font-weight: ${Gr.fontWeight};
|
|
241
|
+
letter-spacing: ${Gr.letterSpacing};
|
|
242
|
+
line-height: ${Gr.lineHeight};
|
|
243
|
+
text-transform: ${Gr.textTransform};
|
|
244
|
+
}
|
|
245
|
+
`,Vf=I`
|
|
246
246
|
.ft-typography--button {
|
|
247
|
-
font-family: ${
|
|
248
|
-
font-size: ${
|
|
249
|
-
font-weight: ${
|
|
250
|
-
letter-spacing: ${
|
|
251
|
-
line-height: ${
|
|
252
|
-
text-transform: ${
|
|
253
|
-
}
|
|
254
|
-
`,
|
|
247
|
+
font-family: ${st.fontFamily};
|
|
248
|
+
font-size: ${st.fontSize};
|
|
249
|
+
font-weight: ${st.fontWeight};
|
|
250
|
+
letter-spacing: ${st.letterSpacing};
|
|
251
|
+
line-height: ${st.lineHeight};
|
|
252
|
+
text-transform: ${st.textTransform};
|
|
253
|
+
}
|
|
254
|
+
`,jf=I`
|
|
255
255
|
.ft-typography {
|
|
256
256
|
vertical-align: inherit;
|
|
257
257
|
}
|
|
258
|
-
`,
|
|
258
|
+
`,qf=[Object.keys(Co).map(t=>$f(t))]});var _e,Yf,Mo=h(()=>{"use strict";F();D();_e={color:o.extend("--ft-loader-color","",$.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Yf=I`
|
|
259
259
|
:host {
|
|
260
260
|
line-height: 0;
|
|
261
261
|
}
|
|
@@ -264,8 +264,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
264
264
|
display: inline-block;
|
|
265
265
|
position: relative;
|
|
266
266
|
|
|
267
|
-
width: ${
|
|
268
|
-
height: ${
|
|
267
|
+
width: ${_e.size};
|
|
268
|
+
height: ${_e.size};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.ft-loader div {
|
|
@@ -274,7 +274,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
274
274
|
width: 25%;
|
|
275
275
|
height: 25%;
|
|
276
276
|
border-radius: 50%;
|
|
277
|
-
background: ${
|
|
277
|
+
background: ${_e.color};
|
|
278
278
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -321,10 +321,10 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
321
321
|
transform: translate(0, 0);
|
|
322
322
|
}
|
|
323
323
|
100% {
|
|
324
|
-
transform: translate(calc(0.35 * ${
|
|
324
|
+
transform: translate(calc(0.35 * ${_e.size}), 0);
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
|
-
`});var
|
|
327
|
+
`});var Te,Xf,Bo=h(()=>{"use strict";F();D();Te={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Xf=I`
|
|
328
328
|
:host, i.ft-icon {
|
|
329
329
|
display: inline-flex;
|
|
330
330
|
align-items: center;
|
|
@@ -333,14 +333,14 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
:host {
|
|
336
|
-
width: ${
|
|
337
|
-
height: ${
|
|
336
|
+
width: ${Te.size};
|
|
337
|
+
height: ${Te.size};
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
i.ft-icon {
|
|
341
341
|
width: 100%;
|
|
342
342
|
height: 100%;
|
|
343
|
-
font-size: ${
|
|
343
|
+
font-size: ${Te.size};
|
|
344
344
|
line-height: 1;
|
|
345
345
|
font-weight: normal;
|
|
346
346
|
text-transform: none;
|
|
@@ -351,28 +351,28 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
351
351
|
text-rendering: auto;
|
|
352
352
|
-webkit-font-smoothing: antialiased;
|
|
353
353
|
-moz-osx-font-smoothing: grayscale;
|
|
354
|
-
vertical-align: ${
|
|
354
|
+
vertical-align: ${Te.verticalAlign};
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
i.ft-icon.ft-icon--fluid-topics {
|
|
358
|
-
font-family: ${
|
|
358
|
+
font-family: ${Te.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
359
359
|
|
|
360
360
|
/* Ugly fix because font is broken */
|
|
361
|
-
font-size: calc(0.75 * ${
|
|
362
|
-
line-height: ${
|
|
361
|
+
font-size: calc(0.75 * ${Te.size});
|
|
362
|
+
line-height: ${Te.size};
|
|
363
363
|
position: relative;
|
|
364
364
|
top: -4%;
|
|
365
365
|
justify-content: center;
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
.ft-icon--file-format {
|
|
369
|
-
font-family: ${
|
|
369
|
+
font-family: ${Te.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
.ft-icon--material {
|
|
373
|
-
font-family: ${
|
|
373
|
+
font-family: ${Te.materialFontFamily}, "Material Icons", sans-serif;
|
|
374
374
|
}
|
|
375
|
-
`});var
|
|
375
|
+
`});var Jf,me,Qf,ec,ct,eu,tc=h(()=>{"use strict";F();D();ur();Xn();Mo();Bo();Jf=o.extend("--ft-button-color","",$.colorPrimary),me={backgroundColor:o.extend("--ft-button-background-color","",$.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",$.borderRadiusL),color:Jf,fontSize:o.extend("--ft-button-font-size","",st.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Jf),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external($.colorOpacityDisabled,"Design system")},Qf=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",$.colorOnPrimary)),ec={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",$.colorPrimary)),color:Qf,rippleColor:o.extend("--ft-button-primary-ripple-color","",Qf)},ct={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",$.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},eu=[I`
|
|
376
376
|
:host {
|
|
377
377
|
display: inline-block;
|
|
378
378
|
max-width: 100%;
|
|
@@ -383,7 +383,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
383
383
|
box-shadow: 0px 0px 0px transparent;
|
|
384
384
|
border: 0px solid transparent;
|
|
385
385
|
text-shadow: 0px 0px 0px transparent;
|
|
386
|
-
font-size: ${
|
|
386
|
+
font-size: ${me.fontSize};
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
button:hover {
|
|
@@ -412,31 +412,31 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
412
412
|
border: none;
|
|
413
413
|
pointer-events: auto;
|
|
414
414
|
|
|
415
|
-
--ft-button-internal-line-height: max(calc(${
|
|
416
|
-
--ft-button-internal-color: ${
|
|
417
|
-
${
|
|
418
|
-
${
|
|
415
|
+
--ft-button-internal-line-height: max(calc(${me.fontSize} + 2px), ${me.iconSize});
|
|
416
|
+
--ft-button-internal-color: ${me.color};
|
|
417
|
+
${k(Te.size,me.iconSize)};
|
|
418
|
+
${k(V.color,me.rippleColor)};
|
|
419
419
|
|
|
420
|
-
border-radius: ${
|
|
421
|
-
padding: ${
|
|
422
|
-
background-color: ${
|
|
420
|
+
border-radius: ${me.borderRadius};
|
|
421
|
+
padding: ${me.verticalPadding} ${me.horizontalPadding};
|
|
422
|
+
background-color: ${me.backgroundColor};
|
|
423
423
|
color: var(--ft-button-internal-color);
|
|
424
424
|
-webkit-mask-image: radial-gradient(white, black);
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
.ft-button.ft-button--outlined {
|
|
428
428
|
border: 1px solid var(--ft-button-internal-color);
|
|
429
|
-
padding: calc(${
|
|
429
|
+
padding: calc(${me.verticalPadding} - 1px) calc(${me.horizontalPadding} - 1px);
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
.ft-button.ft-button--dense {
|
|
433
|
-
padding: ${
|
|
434
|
-
border-radius: ${
|
|
435
|
-
gap: ${
|
|
433
|
+
padding: ${ct.verticalPadding} ${ct.horizontalPadding};
|
|
434
|
+
border-radius: ${ct.borderRadius};
|
|
435
|
+
gap: ${ct.iconPadding};
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
439
|
-
padding: calc(${
|
|
439
|
+
padding: calc(${ct.verticalPadding} - 1px) calc(${ct.horizontalPadding} - 1px);
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
.ft-button:not([disabled]):hover {
|
|
@@ -444,22 +444,22 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
.ft-button--round {
|
|
447
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
447
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${me.verticalPadding});
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
.ft-button--round.ft-button--dense {
|
|
451
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
451
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ct.verticalPadding});
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
.ft-button[disabled] {
|
|
455
455
|
filter: grayscale(1);
|
|
456
|
-
opacity: ${
|
|
456
|
+
opacity: ${me.opacityDisabled};
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.ft-button.ft-button--primary {
|
|
460
|
-
background-color: ${
|
|
461
|
-
--ft-button-internal-color: ${
|
|
462
|
-
${
|
|
460
|
+
background-color: ${ec.backgroundColor};
|
|
461
|
+
--ft-button-internal-color: ${ec.color};
|
|
462
|
+
${k(V.color,ec.rippleColor)};
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
.ft-button:focus {
|
|
@@ -472,13 +472,13 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
472
472
|
white-space: nowrap;
|
|
473
473
|
text-overflow: ellipsis;
|
|
474
474
|
display: block;
|
|
475
|
-
margin: 0 ${
|
|
476
|
-
${
|
|
477
|
-
${
|
|
475
|
+
margin: 0 ${me.iconPadding};
|
|
476
|
+
${k(st.fontSize,"1em")};
|
|
477
|
+
${k(st.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
.ft-button--dense .ft-button--label {
|
|
481
|
-
margin: 0 ${
|
|
481
|
+
margin: 0 ${ct.iconPadding};
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
.ft-button--label[hidden] {
|
|
@@ -491,13 +491,13 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
.ft-button--label[hidden] + [part="icon"] {
|
|
494
|
-
margin: 0 calc(${
|
|
495
|
-
padding: 0 ${
|
|
494
|
+
margin: 0 calc(${me.horizontalPadding} * -1);
|
|
495
|
+
padding: 0 ${me.verticalPadding};
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
499
|
-
margin: 0 calc(${
|
|
500
|
-
padding: 0 ${
|
|
499
|
+
margin: 0 calc(${ct.horizontalPadding} * -1);
|
|
500
|
+
padding: 0 ${ct.verticalPadding};
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -505,29 +505,29 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
ft-loader {
|
|
508
|
-
${
|
|
509
|
-
${
|
|
508
|
+
${k(_e.size,me.iconSize)};
|
|
509
|
+
${k(_e.color,"var(--ft-button-internal-color)")};
|
|
510
510
|
}
|
|
511
|
-
`,
|
|
511
|
+
`,Lo]});var ke,le,rc=h(()=>{"use strict";F();se();wr();D();ur();ke=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},le=class extends ee{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Ce(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ce(10),this.moveRipple=e=>{var r,n;let{x:a,y:s}=this.getCoordinates(e),c=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(s!=null?s-c.y:c.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return B`
|
|
512
512
|
<style>
|
|
513
513
|
.ft-ripple .ft-ripple--effect {
|
|
514
514
|
left: ${this.originX}px;
|
|
515
515
|
top: ${this.originY}px;
|
|
516
516
|
}
|
|
517
517
|
</style>
|
|
518
|
-
<div class="${
|
|
518
|
+
<div class="${bt(e)}">
|
|
519
519
|
<div class="ft-ripple--background"></div>
|
|
520
520
|
<div class="ft-ripple--effect"></div>
|
|
521
521
|
</div>
|
|
522
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>
|
|
523
|
-
<${
|
|
522
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),s=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",n,c),e.addEventListener("touchstart",a,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",s,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",n,c),e.removeEventListener("touchstart",a,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",s,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,a,s;return r.x!=null?{x:a,y:s}=r:n.touches!=null&&(a=n.touches[0].clientX,s=n.touches[0].clientY),{x:a,y:s}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};le.elementDefinitions={};le.styles=kf;ke([N({type:Boolean})],le.prototype,"primary",void 0);ke([N({type:Boolean})],le.prototype,"secondary",void 0);ke([N({type:Boolean})],le.prototype,"unbounded",void 0);ke([N({type:Boolean})],le.prototype,"activated",void 0);ke([N({type:Boolean})],le.prototype,"selected",void 0);ke([N({type:Boolean})],le.prototype,"disabled",void 0);ke([he()],le.prototype,"hovered",void 0);ke([he()],le.prototype,"focused",void 0);ke([he()],le.prototype,"pressed",void 0);ke([he()],le.prototype,"rippling",void 0);ke([he()],le.prototype,"originX",void 0);ke([he()],le.prototype,"originY",void 0);ke([Se(".ft-ripple")],le.prototype,"ripple",void 0);ke([Se(".ft-ripple--effect")],le.prototype,"rippleEffect",void 0)});var tu=h(()=>{"use strict"});var Jn=h(()=>{"use strict";D();rc();rc();ur();tu();Z("ft-ripple")(le)});var ou,Vy,oc,ru,nu,nc,zE,au=h(()=>{ht();ou=Symbol.for(""),Vy=t=>{if(t?.r===ou)return t?._$litStatic$},oc=t=>({_$litStatic$:t,r:ou}),ru=new Map,nu=t=>(e,...r)=>{let n=r.length,a,s,c=[],l=[],d,u=0,y=!1;for(;u<n;){for(d=e[u];u<n&&(s=r[u],(a=Vy(s))!==void 0);)d+=a+e[++u],y=!0;u!==n&&l.push(s),c.push(d),u++}if(u===n&&c.push(e[n]),y){let b=c.join("$$lit$$");(e=ru.get(b))===void 0&&(c.raw=c,ru.set(b,e=c)),r=l}return t(e,...r)},nc=nu(Dl),zE=nu(Ml)});var iu=h(()=>{au()});var hr,Qn=h(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(hr||(hr={}))});var su,be,ac=h(()=>{"use strict";iu();se();D();Qn();Xn();su=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},be=class extends ee{constructor(){super(...arguments),this.variant=hr.body1}render(){return this.element?nc`
|
|
523
|
+
<${oc(this.element)}
|
|
524
524
|
part="text"
|
|
525
525
|
class="ft-typography ft-typography--${this.variant}">
|
|
526
526
|
<slot></slot>
|
|
527
|
-
</${
|
|
528
|
-
`:
|
|
527
|
+
</${oc(this.element)}>
|
|
528
|
+
`:nc`
|
|
529
529
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
530
|
-
`}};
|
|
530
|
+
`}};be.styles=[Bf,Wf,Ff,zf,Hf,Yn,Kf,Gf,Zf,Vf,jf,...qf];su([N()],be.prototype,"element",void 0);su([N()],be.prototype,"variant",void 0)});var Nt=h(()=>{"use strict";D();ac();ac();Xn();Qn();Z("ft-typography")(be)});var zt,cu,ic=h(()=>{"use strict";F();D();zt={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external($.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},cu=I`
|
|
531
531
|
.ft-tooltip--container {
|
|
532
532
|
display: block;
|
|
533
533
|
}
|
|
@@ -542,21 +542,21 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
542
542
|
box-sizing: border-box;
|
|
543
543
|
overflow: hidden;
|
|
544
544
|
width: max-content;
|
|
545
|
-
max-width: ${
|
|
545
|
+
max-width: ${zt.maxWidth};
|
|
546
546
|
text-align: center;
|
|
547
|
-
padding: ${
|
|
548
|
-
z-index: ${
|
|
547
|
+
padding: ${zt.distance};
|
|
548
|
+
z-index: ${zt.zIndex};
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
.ft-tooltip--content {
|
|
552
552
|
padding: 4px 8px;
|
|
553
|
-
border-radius: ${
|
|
554
|
-
background-color: ${
|
|
555
|
-
color: ${
|
|
553
|
+
border-radius: ${zt.borderRadiusS};
|
|
554
|
+
background-color: ${zt.backgroundColor};
|
|
555
|
+
color: ${zt.color};
|
|
556
556
|
position: relative;
|
|
557
557
|
word-break: break-word;
|
|
558
558
|
}
|
|
559
|
-
`});var
|
|
559
|
+
`});var Ue,ge,sc=h(()=>{"use strict";F();se();D();Nt();ic();_n();Ue=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},ge=class extends ee{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Ce,this.revealDebouncer=new Ce}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return B`
|
|
560
560
|
<div part="container"
|
|
561
561
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
562
562
|
@mouseenter=${this.onHover}
|
|
@@ -574,45 +574,46 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
574
574
|
</div>
|
|
575
575
|
</div>
|
|
576
576
|
</div>
|
|
577
|
-
`}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="",Ga(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))}};ue.elementDefinitions={"ft-typography":pe};ue.styles=Qp;_e([C()],ue.prototype,"text",void 0);_e([C({type:Boolean})],ue.prototype,"manual",void 0);_e([C({type:Boolean})],ue.prototype,"inline",void 0);_e([C({type:Number})],ue.prototype,"delay",void 0);_e([C()],ue.prototype,"position",void 0);_e([Fi()],ue.prototype,"slotNodes",void 0);_e([me(".ft-tooltip--container")],ue.prototype,"container",void 0);_e([me(".ft-tooltip")],ue.prototype,"tooltip",void 0);_e([me(".ft-tooltip--content")],ue.prototype,"tooltipContent",void 0);_e([le()],ue.prototype,"visible",void 0);_e([mr({passive:!0})],ue.prototype,"onTouch",null);_e([mr({passive:!0})],ue.prototype,"onHover",null);_e([mr({passive:!0})],ue.prototype,"onOut",null);_e([mr({passive:!0})],ue.prototype,"onClick",null)});var ef=p(()=>{"use strict"});var tl=p(()=>{"use strict";$();el();el();Qs();ef();z("ft-tooltip")(ue)});function tf(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=uy.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=rl.get(l))!==null&&n!==void 0?n:rl.get(e))!==null&&i!==void 0?i:rl.get(s))!==null&&a!==void 0?a:A.UNKNOWN}var Mt,A,rl,uy,DE,ol=p(()=>{"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.EYE="",t.SHARE="󨃱"})(Mt||(Mt={}));(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=""})(A||(A={}));rl=new Map([...["abw"].map(t=>[t,A.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,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.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,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.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,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.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,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]),uy=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"]]);DE={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"}});var Ge,nl=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ge||(Ge={}))});var Gn,Pe,il=p(()=>{"use strict";U();re();$();fo();ol();Io();nl();Gn=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},Pe=class extends X{constructor(){super(...arguments),this.resolvedIcon=H}render(){let e=this.variant&&Object.values(Ge).includes(this.variant)?this.variant:Ge.fluid_topics,r=e!==Ge.material||!!this.value;return M`
|
|
577
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",es(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};ge.elementDefinitions={"ft-typography":be};ge.styles=cu;Ue([N()],ge.prototype,"text",void 0);Ue([N({type:Boolean})],ge.prototype,"manual",void 0);Ue([N({type:Boolean})],ge.prototype,"inline",void 0);Ue([N({type:Number})],ge.prototype,"delay",void 0);Ue([N()],ge.prototype,"position",void 0);Ue([Va()],ge.prototype,"slotNodes",void 0);Ue([Se(".ft-tooltip--container")],ge.prototype,"container",void 0);Ue([Se(".ft-tooltip")],ge.prototype,"tooltip",void 0);Ue([Se(".ft-tooltip--content")],ge.prototype,"tooltipContent",void 0);Ue([he()],ge.prototype,"visible",void 0);Ue([Or({passive:!0})],ge.prototype,"onTouch",null);Ue([Or({passive:!0})],ge.prototype,"onHover",null);Ue([Or({passive:!0})],ge.prototype,"onOut",null);Ue([Or({passive:!0})],ge.prototype,"onClick",null)});var lu=h(()=>{"use strict"});var cc=h(()=>{"use strict";D();sc();sc();ic();lu();Z("ft-tooltip")(ge)});function du(t,e){var r,n,a,s;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[c,l]=(((r=jy.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(s=(a=(n=lc.get(l))!==null&&n!==void 0?n:lc.get(e))!==null&&a!==void 0?a:lc.get(c))!==null&&s!==void 0?s:P.UNKNOWN}var Ht,P,lc,jy,Sw,dc=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.EYE="",t.SHARE="󨃱"})(Ht||(Ht={}));(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=""})(P||(P={}));lc=new Map([...["abw"].map(t=>[t,P.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,P.AUDIO]),...["avi"].map(t=>[t,P.AVI]),...["chm","xhs"].map(t=>[t,P.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,P.CODE]),...["csv"].map(t=>[t,P.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,P.DITA]),...["epub"].map(t=>[t,P.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,P.EXCEL]),...["flac"].map(t=>[t,P.FLAC]),...["gif"].map(t=>[t,P.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,P.GZIP]),...["html","htm","xhtml"].map(t=>[t,P.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,P.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,P.JPEG]),...["json"].map(t=>[t,P.JSON]),...["m4a","m4p"].map(t=>[t,P.M4A]),...["mov","qt"].map(t=>[t,P.MOV]),...["mp3"].map(t=>[t,P.MP3]),...["mp4","m4v"].map(t=>[t,P.MP4]),...["ogg","oga"].map(t=>[t,P.OGG]),...["pdf","ps"].map(t=>[t,P.PDF]),...["png"].map(t=>[t,P.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,P.POWERPOINT]),...["rar"].map(t=>[t,P.RAR]),...["stp"].map(t=>[t,P.STP]),...["txt","rtf","md","mdown"].map(t=>[t,P.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,P.VIDEO]),...["wav"].map(t=>[t,P.WAV]),...["wma"].map(t=>[t,P.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,P.WORD]),...["xml","xsl","rdf"].map(t=>[t,P.XML]),...["yaml","yml","x-yaml"].map(t=>[t,P.YAML]),...["zip"].map(t=>[t,P.ZIP])]),jy=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"]]);Sw={[P.ABW]:"#91ABC6",[P.AUDIO]:"#1795E3",[P.AVI]:"#E63324",[P.CHM]:"#71C3EB",[P.CODE]:"#71C3EB",[P.CSV]:"#1F7345",[P.DITA]:"#71C3EB",[P.EPUB]:"#85B926",[P.EXCEL]:"#1F7345",[P.FLAC]:"#1795E3",[P.GIF]:"#59B031",[P.GZIP]:"#F8AB36",[P.HTML]:"#71C3EB",[P.IMAGE]:"#59B031",[P.JPEG]:"#59B031",[P.JSON]:"#71C3EB",[P.M4A]:"#1795E3",[P.MOV]:"#E63324",[P.MP3]:"#1795E3",[P.MP4]:"#E63324",[P.OGG]:"#1795E3",[P.PDF]:"#E44948",[P.PNG]:"#59B031",[P.POWERPOINT]:"#B54A2B",[P.RAR]:"#F8AB36",[P.STP]:"#3764B1",[P.TEXT]:"#3162AB",[P.UNKNOWN]:"#999999",[P.VIDEO]:"#E63324",[P.WAV]:"#1795E3",[P.WMA]:"#1795E3",[P.WORD]:"#3162AB",[P.XML]:"#71C3EB",[P.YAML]:"#71C3EB",[P.ZIP]:"#F8AB36"}});var Qe,pc=h(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Qe||(Qe={}))});var ea,$e,fc=h(()=>{"use strict";F();se();D();vo();dc();Bo();pc();ea=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},$e=class extends ee{constructor(){super(...arguments),this.resolvedIcon=G}render(){let e=this.variant&&Object.values(Qe).includes(this.variant)?this.variant:Qe.fluid_topics,r=e!==Qe.material||!!this.value;return B`
|
|
578
578
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
579
|
-
${
|
|
579
|
+
${ar(this.resolvedIcon)}
|
|
580
580
|
<slot ?hidden=${r}></slot>
|
|
581
581
|
</i>
|
|
582
|
-
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case
|
|
582
|
+
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Qe.file_format:this.resolvedIcon=(e=P[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Qe.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=(r=Ht[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};$e.elementDefinitions={};$e.styles=Xf;ea([N()],$e.prototype,"variant",void 0);ea([N()],$e.prototype,"value",void 0);ea([he()],$e.prototype,"resolvedIcon",void 0);ea([Se("slot")],$e.prototype,"slottedContent",void 0)});var uc=h(()=>{"use strict";D();fc();Bo();pc();fc();dc();Z("ft-icon")($e)});var mr,hc=h(()=>{"use strict";F();D();Mo();mr=class extends ee{render(){return B`
|
|
583
583
|
<div class="ft-loader">
|
|
584
584
|
<div></div>
|
|
585
585
|
<div></div>
|
|
586
586
|
<div></div>
|
|
587
587
|
<div></div>
|
|
588
588
|
</div>
|
|
589
|
-
`}};
|
|
589
|
+
`}};mr.styles=Yf});var pu=h(()=>{"use strict"});var fu=h(()=>{"use strict";D();hc();Mo();pu();hc();Z("ft-loader")(mr)});var ze,ve,mc=h(()=>{"use strict";D();Jn();cc();Nt();uc();fu();F();wr();se();ze=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},ve=class extends Zs(ee,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,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(){return this.addTooltipIfNeeded(B`
|
|
590
590
|
<button part="button"
|
|
591
|
-
class="${
|
|
591
|
+
class="${bt(this.buttonClasses)}"
|
|
592
592
|
aria-label="${this.getLabel()}"
|
|
593
593
|
?disabled=${this.isDisabled()}>
|
|
594
594
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
595
595
|
<ft-typography part="label"
|
|
596
596
|
variant=${this.typographyVariant}
|
|
597
597
|
element="span"
|
|
598
|
-
class="ft-button--label ${
|
|
598
|
+
class="ft-button--label ${Qs?"ft-safari-ellipsis-fix":""}"
|
|
599
599
|
?hidden=${!this.hasTextContent()}>
|
|
600
600
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
601
601
|
</ft-typography>
|
|
602
602
|
${this.resolveIcon()}
|
|
603
603
|
</button>
|
|
604
|
-
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
604
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?B`
|
|
605
605
|
<ft-tooltip part="tooltip"
|
|
606
606
|
text="${this.getLabel()}"
|
|
607
607
|
position="${this.tooltipPosition}">
|
|
608
608
|
${e}
|
|
609
609
|
</ft-tooltip>
|
|
610
|
-
`:e}resolveIcon(){return this.loading?
|
|
611
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
610
|
+
`:e}resolveIcon(){return this.loading?B`
|
|
611
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?B`
|
|
612
612
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
613
|
-
`:
|
|
613
|
+
`:B`
|
|
614
614
|
<slot part="icon" name="icon"></slot>
|
|
615
|
-
`}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}};he.elementDefinitions={"ft-ripple":ne,"ft-tooltip":ue,"ft-typography":pe,"ft-icon":Pe,"ft-loader":lr};Me([C({type:String,reflect:!0})],he.prototype,"role",void 0);Me([C()],he.prototype,"type",void 0);Me([C({type:Boolean})],he.prototype,"disabled",void 0);Me([C()],he.prototype,"label",void 0);Me([C()],he.prototype,"icon",void 0);Me([C()],he.prototype,"iconVariant",void 0);Me([C({type:Boolean})],he.prototype,"trailingIcon",void 0);Me([C({type:Boolean})],he.prototype,"loading",void 0);Me([C()],he.prototype,"tooltipPosition",void 0);Me([C({type:Boolean})],he.prototype,"hideTooltip",void 0);Me([C({type:Boolean})],he.prototype,"forceTooltip",void 0);Me([me(".ft-button")],he.prototype,"button",void 0);Me([me(".ft-button--label slot")],he.prototype,"slottedContent",void 0)});var Zn,De,cl=p(()=>{"use strict";re();$();Zs();ll();Zn=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},De=class extends he{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"}};De.styles=[wo,Vp];Zn([C({type:Boolean})],De.prototype,"primary",void 0);Zn([C({type:Boolean})],De.prototype,"outlined",void 0);Zn([C({type:Boolean})],De.prototype,"dense",void 0);Zn([C({type:Boolean})],De.prototype,"round",void 0)});var nf,ul=p(()=>{"use strict";U();$();ar();To();Io();K();K();nf=[N`
|
|
615
|
+
`}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}};ve.elementDefinitions={"ft-ripple":le,"ft-tooltip":ge,"ft-typography":be,"ft-icon":$e,"ft-loader":mr};ze([N({type:String,reflect:!0})],ve.prototype,"role",void 0);ze([N()],ve.prototype,"type",void 0);ze([N({type:Boolean})],ve.prototype,"disabled",void 0);ze([N()],ve.prototype,"label",void 0);ze([N()],ve.prototype,"icon",void 0);ze([N()],ve.prototype,"iconVariant",void 0);ze([N({type:Boolean})],ve.prototype,"trailingIcon",void 0);ze([N({type:Boolean})],ve.prototype,"loading",void 0);ze([N()],ve.prototype,"tooltipPosition",void 0);ze([N({type:Boolean})],ve.prototype,"hideTooltip",void 0);ze([N({type:Boolean})],ve.prototype,"forceTooltip",void 0);ze([Se(".ft-button")],ve.prototype,"button",void 0);ze([Se(".ft-button--label slot")],ve.prototype,"slottedContent",void 0)});var ta,He,gc=h(()=>{"use strict";se();D();tc();mc();ta=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},He=class extends ve{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};He.styles=[_o,eu];ta([N({type:Boolean})],He.prototype,"primary",void 0);ta([N({type:Boolean})],He.prototype,"outlined",void 0);ta([N({type:Boolean})],He.prototype,"dense",void 0);ta([N({type:Boolean})],He.prototype,"round",void 0)});var Kt,i,re=h(()=>{F();Kt=t=>typeof t=="string"?mt(t):t,i=class{static create(e,r,n,a){let s=l=>Kt(l??a),c=I`var(${Kt(e)}, ${s(a)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=a,c.defaultCssValue=s,c.get=l=>I`var(${Kt(e)}, ${s(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(e,r,n,a){let s=l=>n.get(l??a),c=I`var(${Kt(e)}, ${s(a)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=s,c.get=l=>I`var(${Kt(e)}, ${s(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(e,r){let n=s=>e.fallbackVariable?e.fallbackVariable.get(s??e.defaultValue):Kt(s??e.lastResortDefaultValue()),a=I`var(${Kt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=s=>I`var(${Kt(e.name)}, ${n(s)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var p,uN,hN,mN,gN,yN,bN,xN,vN,SN,ON,CN,EN,wN,NN,RN,AN,IN,PN,LN,_N,TN,kN,UN,$N,DN,MN,ne=h(()=>{re();p={colorWhite:i.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:i.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:i.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:i.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:i.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:i.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:i.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:i.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:i.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:i.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:i.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:i.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:i.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:i.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:i.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:i.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:i.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:i.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:i.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:i.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:i.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:i.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:i.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:i.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:i.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:i.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:i.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:i.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:i.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:i.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:i.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:i.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:i.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:i.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:i.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:i.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:i.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:i.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:i.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:i.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:i.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:i.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:i.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:i.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:i.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:i.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:i.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:i.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:i.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:i.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:i.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:i.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:i.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:i.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:i.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:i.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:i.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:i.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:i.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:i.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:i.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:i.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:i.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:i.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:i.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:i.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:i.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:i.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:i.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:i.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:i.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:i.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:i.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:i.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:i.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:i.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:i.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:i.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:i.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:i.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:i.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:i.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:i.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:i.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:i.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:i.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:i.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:i.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:i.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:i.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:i.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:i.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:i.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:i.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:i.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:i.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:i.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:i.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:i.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:i.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:i.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:i.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:i.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:i.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:i.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:i.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:i.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:i.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:i.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:i.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:i.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:i.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:i.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:i.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:i.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:i.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:i.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:i.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:i.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:i.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:i.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:i.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:i.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:i.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:i.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:i.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:i.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:i.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:i.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:i.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:i.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:i.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:i.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:i.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:i.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:i.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:i.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:i.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:i.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:i.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:i.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:i.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:i.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:i.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:i.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:i.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:i.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:i.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:i.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:i.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:i.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:i.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:i.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:i.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:i.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:i.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:i.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:i.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:i.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:i.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:i.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:i.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:i.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:i.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:i.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:i.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:i.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:i.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:i.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:i.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:i.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:i.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:i.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:i.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:i.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:i.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:i.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:i.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:i.create("--ft-opacity-0","","NUMBER","0"),opacity8:i.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:i.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:i.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:i.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:i.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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)")},uN={fontFamily:i.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:i.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:i.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:i.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:i.create("--ft-typography-display-textCase","","UNKNOWN","none")},hN={fontFamily:i.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:i.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:i.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:i.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:i.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},mN={fontFamily:i.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:i.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:i.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:i.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:i.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},gN={fontFamily:i.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:i.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:i.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:i.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:i.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:i.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},yN={fontFamily:i.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:i.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:i.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:i.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:i.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:i.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},bN={fontFamily:i.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:i.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:i.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:i.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:i.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:i.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},xN={fontFamily:i.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:i.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:i.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:i.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:i.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:i.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},vN={fontFamily:i.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:i.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:i.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:i.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:i.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:i.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},SN={fontFamily:i.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:i.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:i.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:i.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:i.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:i.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ON={fontFamily:i.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:i.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:i.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:i.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:i.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:i.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:i.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},CN={fontFamily:i.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:i.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:i.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:i.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:i.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:i.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},EN={fontFamily:i.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:i.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:i.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:i.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:i.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:i.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},wN={fontFamily:i.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:i.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:i.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:i.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:i.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:i.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},NN={fontFamily:i.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:i.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:i.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:i.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:i.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:i.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},RN={fontFamily:i.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:i.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:i.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:i.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:i.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:i.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},AN={fontFamily:i.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:i.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:i.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:i.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:i.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:i.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},IN={fontFamily:i.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:i.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:i.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:i.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:i.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:i.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},PN={fontFamily:i.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:i.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:i.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:i.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:i.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:i.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},LN={fontFamily:i.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:i.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:i.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:i.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:i.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:i.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},_N={fontFamily:i.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:i.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:i.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:i.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:i.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:i.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},TN={fontFamily:i.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:i.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:i.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:i.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:i.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:i.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},kN={fontFamily:i.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:i.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:i.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:i.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:i.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:i.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},UN={fontFamily:i.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:i.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:i.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:i.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:i.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:i.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},$N={fontFamily:i.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:i.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:i.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:i.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:i.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:i.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},DN={fontFamily:i.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:i.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:i.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:i.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:i.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:i.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},MN={fontFamily:i.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:i.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:i.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:i.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:i.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:i.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:i.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:i.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}});var g,de=h(()=>{re();ne();g={backgroundActionPrimary:i.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:i.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:i.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:i.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:i.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:i.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:i.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:i.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:i.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:i.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:i.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:i.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:i.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:i.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:i.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:i.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:i.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:i.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:i.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
616
|
+
Also for action icons.`,p.colorGray200),contentGlobalSubtle:i.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:i.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:i.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:i.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:i.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:i.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:i.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:i.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:i.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:i.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:i.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:i.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:i.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:i.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:i.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)}});var U,uu=h(()=>{re();ne();de();U={largeHeight:i.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:i.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:i.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:i.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:i.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:i.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:i.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:i.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:i.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:i.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:i.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:i.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:i.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:i.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:i.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:i.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:i.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:i.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:i.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:i.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:i.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:i.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:i.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:i.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:i.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:i.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:i.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:i.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:i.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:i.extend("--ft-button-primary-background-color","",g.backgroundActionPrimary),primaryColor:i.extend("--ft-button-primary-color","",g.contentGlobalOnColor),primaryIconColor:i.extend("--ft-button-primary-icon-color","",g.contentGlobalOnColor),primaryStateLayerColor:i.extend("--ft-button-primary-state-layer-color","",g.contentGlobalOnColor),primaryHoverStateLayerOpacity:i.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:i.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:i.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:i.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:i.extend("--ft-button-focus-focus-ring-color","",g.borderActionFocusRing),tertiaryBackgroundColor:i.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:i.extend("--ft-button-tertiary-color","",g.contentActionPrimary),tertiaryIconColor:i.extend("--ft-button-tertiary-icon-color","",g.contentActionPrimary),tertiaryStateLayerColor:i.extend("--ft-button-tertiary-state-layer-color","",g.contentActionPrimary),tertiaryHoverStateLayerOpacity:i.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:i.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:i.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:i.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:i.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:i.extend("--ft-button-secondary-color","",g.contentActionPrimary),secondaryIconColor:i.extend("--ft-button-secondary-icon-color","",g.contentActionPrimary),secondaryStateLayerColor:i.extend("--ft-button-secondary-state-layer-color","",g.contentActionPrimary),secondaryHoverStateLayerOpacity:i.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:i.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:i.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:i.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:i.extend("--ft-button-secondary-border-color","",g.borderActionPrimary),neutralBackgroundColor:i.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:i.extend("--ft-button-neutral-icon-color","",g.contentGlobalSecondary),neutralColor:i.extend("--ft-button-neutral-color","",g.contentGlobalSecondary),neutralStateLayerColor:i.extend("--ft-button-neutral-state-layer-color","",g.contentGlobalSecondary),neutralHoverStateLayerOpacity:i.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:i.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:i.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:i.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)}});var YN,hu=h(()=>{re();ne();de();YN={largeMinHeight:i.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:i.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:i.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:i.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:i.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:i.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:i.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:i.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:i.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:i.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:i.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:i.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:i.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:i.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:i.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:i.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:i.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:i.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:i.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:i.extend("--ft-chip-neutral-background-color","",g.backgroundGlobalOnSurface),neutralColor:i.extend("--ft-chip-neutral-color","",g.contentGlobalSecondary),neutralIconColor:i.extend("--ft-chip-neutral-icon-color","",g.contentGlobalSecondary),neutralBorderColor:i.extend("--ft-chip-neutral-border-color","",g.borderGlobalSubtle),infoBackgroundColor:i.extend("--ft-chip-info-background-color","",g.backgroundInfoSubtle),infoColor:i.extend("--ft-chip-info-color","",g.contentInfoPrimary),infoIconColor:i.extend("--ft-chip-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:i.extend("--ft-chip-info-border-color","",g.borderInfoSubtle),successBackgroundColor:i.extend("--ft-chip-success-background-color","",g.backgroundSuccessSubtle),successColor:i.extend("--ft-chip-success-color","",g.contentSuccessPrimary),successIconColor:i.extend("--ft-chip-success-icon-color","",g.contentSuccessIconOnly),successBorderColor:i.extend("--ft-chip-success-border-color","",g.borderSuccessSubtle),warningBackgroundColor:i.extend("--ft-chip-warning-background-color","",g.backgroundWarningSubtle),warningColor:i.extend("--ft-chip-warning-color","",g.contentWarningPrimary),warningIconColor:i.extend("--ft-chip-warning-icon-color","",g.contentWarningIconOnly),warningBorderColor:i.extend("--ft-chip-warning-border-color","",g.borderWarningSubtle),errorBackgroundColor:i.extend("--ft-chip-error-background-color","",g.backgroundErrorSubtle),errorColor:i.extend("--ft-chip-error-color","",g.contentErrorPrimary),errorIconColor:i.extend("--ft-chip-error-icon-color","",g.contentErrorIconOnly),errorBorderColor:i.extend("--ft-chip-error-border-color","",g.borderErrorSubtle)}});var tR,mu=h(()=>{re();ne();de();tR={focusOpacity:i.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:i.extend("--ft-link-focus-focus-ring-color","",g.borderActionFocusRing),brandColor:i.extend("--ft-link-brand-color","",g.contentActionPrimary),infoColor:i.extend("--ft-link-info-color","",g.contentInfoPrimary)}});var iR,gu=h(()=>{re();ne();de();iR={iconSize:i.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:i.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:i.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:i.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:i.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:i.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:i.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:i.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:i.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:i.extend("--ft-banner-info-background-color","",g.backgroundInfoSubtle),infoColor:i.extend("--ft-banner-info-color","",g.contentInfoPrimary),infoIconColor:i.extend("--ft-banner-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:i.extend("--ft-banner-info-border-color","",g.borderInfoSubtle)}});var pR,yu=h(()=>{re();ne();de();pR={horizontalPadding:i.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:i.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:i.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:i.extend("--ft-badge-color","",g.contentGlobalOnColor),backgroundColor:i.extend("--ft-badge-background-color","",g.contentActionPrimary)}});var gR,bu=h(()=>{re();ne();de();gR={horizontalGap:i.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:i.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:i.extend("--ft-breadcrumb-current-color","",g.contentGlobalPrimary),previousNonClickableColor:i.extend("--ft-breadcrumb-previous-non-clickable-color","",g.contentGlobalSecondary),iconColor:i.extend("--ft-breadcrumb-icon-color","",g.contentGlobalSubtle)}});var SR,xu=h(()=>{re();ne();de();SR={horizontalPadding:i.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:i.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:i.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:i.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:i.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:i.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:i.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:i.extend("--ft-page-header-bottom-border-color","",g.borderGlobalSubtle),titleColor:i.extend("--ft-page-header-title-color","",g.contentGlobalPrimary),subtitleColor:i.extend("--ft-page-header-subtitle-color","",g.contentGlobalSecondary)}});var NR,vu=h(()=>{re();ne();de();NR={smallContainerWidth:i.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:i.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:i.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:i.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:i.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:i.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:i.extend("--ft-modal-body-color","",g.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:i.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:i.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:i.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:i.extend("--ft-modal-header-background-color","",g.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ft-modal-header-border-color","",g.borderGlobalSubtle),headerColor:i.extend("--ft-modal-header-color","",g.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ft-modal-header-trailing-icon-color","",g.contentGlobalSecondary),headerVerticalPadding:i.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:i.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:i.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:i.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:i.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:i.extend("--ft-modal-border-radius","",p.borderRadiusM)}});var LR,Su=h(()=>{re();ne();de();LR={overlayOpacity:i.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:i.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:i.extend("--ft-drawer-body-color","",g.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:i.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:i.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:i.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:i.extend("--ft-drawer-header-background-color","",g.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ft-drawer-header-border-color","",g.borderGlobalSubtle),headerColor:i.extend("--ft-drawer-header-color","",g.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ft-drawer-header-trailing-icon-color","",g.contentGlobalSecondary),headerHeight:i.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:i.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:i.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:i.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:i.extend("--ft-drawer-buttons-bar-background-color","",g.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ft-drawer-buttons-bar-border-color","",g.borderGlobalSubtle),buttonsBarColor:i.extend("--ft-drawer-buttons-bar-color","",g.contentGlobalPrimary),buttonsBarHorizontalPadding:i.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:i.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:i.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:i.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:i.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:i.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:i.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:i.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:i.extend("--ft-drawer-overlay-background-color","",p.colorGray700)}});var $R,Ou=h(()=>{re();ne();de();$R={fieldHorizontalPadding:i.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:i.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:i.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:i.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:i.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:i.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:i.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:i.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:i.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:i.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:i.extend("--ft-text-input-content-value-color","",g.contentGlobalPrimary),trailingIconColor:i.extend("--ft-text-input-trailing-icon-color","",g.contentGlobalSubtle),labelColor:i.extend("--ft-text-input-label-color","",g.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-text-input-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-text-input-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:i.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ft-text-input-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-text-input-error-helper-text-color","",g.contentErrorPrimary),errorHelperIconColor:i.extend("--ft-text-input-error-helper-icon-color","",g.contentErrorIconOnly),warningBorderWidth:i.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:i.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-text-input-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:i.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)}});var FR,Cu=h(()=>{re();ne();de();FR={backgroundColor:i.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:i.extend("--ft-text-area-content-value-color","",g.contentGlobalPrimary),labelColor:i.extend("--ft-text-area-label-color","",g.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-text-area-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-text-area-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:i.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ft-text-area-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-text-area-error-helper-text-color","",g.contentErrorPrimary),errorHelperIconColor:i.extend("--ft-text-area-error-helper-icon-color","",g.contentErrorIconOnly),focusFocusRingColor:i.extend("--ft-text-area-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:i.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:i.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:i.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:i.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:i.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:i.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:i.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:i.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:i.extend("--ft-text-area-border-radius","",p.borderRadiusM)}});var ZR,Eu=h(()=>{re();ne();de();ZR={height:i.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:i.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:i.extend("--ft-floating-menu-off-icon-color","",g.contentGlobalPrimary),offColor:i.extend("--ft-floating-menu-off-color","",g.contentGlobalPrimary),onColor:i.extend("--ft-floating-menu-on-color","",g.contentActionPrimary),onStateLayerColor:i.extend("--ft-floating-menu-on-state-layer-color","",g.contentActionPrimary),gap:i.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:i.extend("--ft-floating-menu-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:i.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:i.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:i.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:i.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:i.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:i.extend("--ft-floating-menu-background-color","",g.backgroundGlobalOnSurface)}});var XR,wu=h(()=>{re();ne();de();XR={fieldHorizontalPadding:i.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:i.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:i.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:i.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:i.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:i.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:i.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:i.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:i.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:i.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:i.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:i.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:i.extend("--ft-combobox-single-select-label-color","",g.contentGlobalSubtle),contentValueColor:i.extend("--ft-combobox-single-select-content-value-color","",g.contentGlobalPrimary),trailingIconColor:i.extend("--ft-combobox-single-select-trailing-icon-color","",g.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-combobox-single-select-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-combobox-single-select-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:i.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ft-combobox-single-select-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-combobox-single-select-error-helper-text-color","",g.contentErrorPrimary),warningBorderWidth:i.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ft-combobox-single-select-warning-border-color","",g.borderWarningPrimary),warningHelperTextColor:i.extend("--ft-combobox-single-select-warning-helper-text-color","",g.contentWarningPrimary),warningHelperIconColor:i.extend("--ft-combobox-single-select-warning-helper-icon-color","",g.contentWarningIconOnly),focusOutlineWidth:i.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-combobox-single-select-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:i.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)}});var rA,Nu=h(()=>{re();ne();de();rA={backgroundColor:i.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:i.extend("--ft-combobox-multi-select-label-color","",g.contentGlobalSubtle),trailingIconColor:i.extend("--ft-combobox-multi-select-trailing-icon-color","",g.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-combobox-multi-select-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-combobox-multi-select-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:i.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:i.extend("--ft-combobox-multi-select-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-combobox-multi-select-error-helper-text-color","",g.contentErrorPrimary),errorHelperIcon:i.extend("--ft-combobox-multi-select-error-helper-icon","",g.contentErrorIconOnly),errorBorderWidth:i.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ft-combobox-multi-select-warning-border-color","",g.borderWarningPrimary),warningHelperTextColor:i.extend("--ft-combobox-multi-select-warning-helper-text-color","",g.contentWarningPrimary),warningHelperIconColor:i.extend("--ft-combobox-multi-select-warning-helper-icon-color","",g.contentWarningIconOnly),warningBorderWidth:i.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-combobox-multi-select-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:i.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:i.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:i.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:i.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:i.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:i.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:i.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:i.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:i.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:i.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:i.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:i.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:i.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)}});var sA,Ru=h(()=>{re();ne();de();sA={backgroundColor:i.extend("--ft-popover-background-color","",g.backgroundGlobalOnSurface),horizontalPadding:i.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:i.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:i.extend("--ft-popover-title-color","",g.contentGlobalPrimary),bodyColor:i.extend("--ft-popover-body-color","",g.contentGlobalSecondary),linkColor:i.extend("--ft-popover-link-color","",g.contentActionPrimary),gap:i.extend("--ft-popover-gap","",p.spacing3),borderRadius:i.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:i.extend("--ft-popover-shadow","",p.shadowElevation02)}});var fA,Au=h(()=>{re();ne();de();fA={topLeftBorderRadius:i.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:i.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:i.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:i.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:i.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:i.extend("--ft-tabs-vertical-gap","",p.spacing1),offHoverStateLayerOpacity:i.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:i.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:i.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:i.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:i.extend("--ft-tabs-off-color","",g.contentGlobalSubtle),offStateLayerColor:i.extend("--ft-tabs-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onDefaultStateLayerOpacity:i.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity0),onFocusStateLayerOpacity:i.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:i.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onColor:i.extend("--ft-tabs-on-color","",g.contentActionPrimary),onStateLayerColor:i.extend("--ft-tabs-on-state-layer-color","",g.contentActionPrimary),iconOnlyHorizontalPadding:i.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:i.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:i.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:i.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:i.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-tabs-focus-focus-ring-color","",g.borderActionFocusRing)}});var yA,Iu=h(()=>{re();ne();de();yA={hoverStateLayerOpacity:i.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:i.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:i.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:i.extend("--ft-collapsible-focus-focus-ring-color","",g.borderActionFocusRing),activeStateLayerOpacity:i.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:i.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:i.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:i.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:i.extend("--ft-collapsible-color","",g.contentGlobalPrimary),stateLayerColor:i.extend("--ft-collapsible-state-layer-color","",g.contentGlobalPrimary),backgroundColor:i.extend("--ft-collapsible-background-color","",g.backgroundGlobalOnSurface),borderColor:i.extend("--ft-collapsible-border-color","",g.borderGlobalSubtle),iconSize:i.extend("--ft-collapsible-icon-size","",p.iconSize3)}});var OA,Pu=h(()=>{re();ne();de();OA={groupHorizontalPadding:i.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:i.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:i.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:i.extend("--ft-switch-group-background-color","",g.backgroundGlobalSurface),groupBorderColor:i.extend("--ft-switch-group-border-color","",g.borderGlobalSubtle),groupBorderRadius:i.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:i.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:i.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:i.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:i.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:i.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:i.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:i.extend("--ft-switch-off-color","",g.contentGlobalSubtle),offStateLayerColor:i.extend("--ft-switch-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:i.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:i.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:i.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:i.extend("--ft-switch-on-color","",g.contentActionPrimary),onStateLayerColor:i.extend("--ft-switch-on-state-layer-color","",g.contentActionPrimary),iconHorizontalPadding:i.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:i.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:i.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-switch-focus-focus-ring-color","",g.borderActionFocusRing),optionBorderRadius:i.extend("--ft-switch-option-border-radius","",p.borderRadiusS)}});var NA,Lu=h(()=>{re();ne();NA={color1Light:i.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:i.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:i.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:i.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:i.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:i.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:i.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:i.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:i.extend("--ft-chart-5-light","",p.colorRed40),color5Base:i.extend("--ft-chart-5-base","",p.colorRed60),color6Light:i.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:i.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:i.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:i.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:i.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:i.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:i.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:i.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:i.extend("--ft-chart-10-light","",p.colorGray50),color10Base:i.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:i.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:i.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:i.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:i.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:i.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:i.extend("--ft-chart-monochrome-60","",p.colorBrand200)}});var LA,_u=h(()=>{re();ne();de();LA={borderWidth:i.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:i.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:i.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:i.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:i.extend("--ft-notice-gap","",p.spacing2),iconSize:i.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:i.extend("--ft-notice-info-background-color","",g.backgroundInfoSubtle),infoBorderColor:i.extend("--ft-notice-info-border-color","",g.borderInfoSubtle),infoColor:i.extend("--ft-notice-info-color","",g.contentInfoPrimary),infoIconColor:i.extend("--ft-notice-info-icon-color","",g.contentInfoIconOnly),warningBackgroundColor:i.extend("--ft-notice-warning-background-color","",g.backgroundWarningSubtle),warningBorderColor:i.extend("--ft-notice-warning-border-color","",g.borderWarningSubtle),warningColor:i.extend("--ft-notice-warning-color","",g.contentWarningPrimary),warningIconColor:i.extend("--ft-notice-warning-icon-color","",g.contentWarningIconOnly),errorBackgroundColor:i.extend("--ft-notice-error-background-color","",g.backgroundErrorSubtle),errorBorderColor:i.extend("--ft-notice-error-border-color","",g.borderErrorSubtle),errorColor:i.extend("--ft-notice-error-color","",g.contentErrorPrimary),errorIconColor:i.extend("--ft-notice-error-icon-color","",g.contentErrorIconOnly),successBackgroundColor:i.extend("--ft-notice-success-background-color","",g.backgroundSuccessSubtle),successBorderColor:i.extend("--ft-notice-success-border-color","",g.borderSuccessSubtle),successColor:i.extend("--ft-notice-success-color","",g.contentSuccessPrimary),successIconColor:i.extend("--ft-notice-success-icon-color","",g.contentSuccessIconOnly)}});var $A,Tu=h(()=>{re();ne();de();$A={color:i.extend("--ft-checkbox-color","",g.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ft-checkbox-checked-background-color","",g.contentActionPrimary),checkedStateLayerColor:i.extend("--ft-checkbox-checked-state-layer-color","",g.contentActionPrimary),checkedIconColor:i.extend("--ft-checkbox-checked-icon-color","",g.contentGlobalOnColor),checkedHoverStateLayerOpacity:i.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:i.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:i.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:i.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:i.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:i.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:i.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:i.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:i.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:i.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:i.extend("--ft-checkbox-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:i.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:i.extend("--ft-checkbox-gap","",p.spacing3)}});var FA,ku=h(()=>{re();ne();de();FA={offHoverStateLayerOpacity:i.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:i.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:i.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:i.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:i.extend("--ft-toggle-off-background-color","",g.contentGlobalSubtle),offIconColor:i.extend("--ft-toggle-off-icon-color","",g.contentGlobalSubtle),offStateLayerColor:i.extend("--ft-toggle-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:i.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:i.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:i.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:i.extend("--ft-toggle-on-background-color","",g.contentActionPrimary),onStateLayerColor:i.extend("--ft-toggle-on-state-layer-color","",g.contentActionPrimary),onIconColor:i.extend("--ft-toggle-on-icon-color","",g.contentActionPrimary),color:i.extend("--ft-toggle-color","",g.contentGlobalPrimary),focusFocusRingColor:i.extend("--ft-toggle-focus-focus-ring-color","",g.borderActionFocusRing),gap:i.extend("--ft-toggle-gap","",p.spacing3)}});var ZA,Uu=h(()=>{re();ne();de();ZA={color:i.extend("--ft-radio-color","",g.contentGlobalPrimary),selectedRadioColor:i.extend("--ft-radio-selected-radio-color","",g.contentActionPrimary),selectedStateLayerColor:i.extend("--ft-radio-selected-state-layer-color","",g.contentActionPrimary),selectedHoverStateLayerOpacity:i.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:i.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:i.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:i.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:i.extend("--ft-radio-unselected-state-layer-color","",g.borderInputPrimary),unselectedBorderColor:i.extend("--ft-radio-unselected-border-color","",g.borderInputPrimary),unselectedHoverStateLayerOpacity:i.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:i.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:i.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:i.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:i.extend("--ft-radio-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:i.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:i.extend("--ft-radio-gap","",p.spacing3)}});var XA,$u=h(()=>{re();ne();de();XA={iconSize:i.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:i.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:i.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:i.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:i.extend("--ft-notification-info-background-color","",g.backgroundInfoSubtle),infoColor:i.extend("--ft-notification-info-color","",g.contentInfoPrimary),infoIconColor:i.extend("--ft-notification-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:i.extend("--ft-notification-info-border-color","",g.borderInfoSubtle),successBackgroundColor:i.extend("--ft-notification-success-background-color","",g.backgroundSuccessSubtle),successColor:i.extend("--ft-notification-success-color","",g.contentSuccessPrimary),successIconColor:i.extend("--ft-notification-success-icon-color","",g.contentSuccessIconOnly),successBorderColor:i.extend("--ft-notification-success-border-color","",g.borderSuccessSubtle),warningBackgroundColor:i.extend("--ft-notification-warning-background-color","",g.backgroundWarningSubtle),warningColor:i.extend("--ft-notification-warning-color","",g.contentWarningPrimary),warningIconColor:i.extend("--ft-notification-warning-icon-color","",g.contentWarningIconOnly),warningBorderColor:i.extend("--ft-notification-warning-border-color","",g.borderWarningSubtle),errorBackgroundColor:i.extend("--ft-notification-error-background-color","",g.backgroundErrorSubtle),errorColor:i.extend("--ft-notification-error-color","",g.contentErrorPrimary),errorIconColor:i.extend("--ft-notification-error-icon-color","",g.contentErrorIconOnly),errorBorderColor:i.extend("--ft-notification-error-border-color","",g.borderErrorSubtle),borderRadius:i.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:i.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:i.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:i.extend("--ft-notification-trailing-gap","",p.spacing8)}});var r1,Du=h(()=>{re();ne();de();r1={horizontalPadding:i.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:i.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:i.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:i.extend("--ft-tooltip-color","",g.contentGlobalOnColor),backgroundColor:i.extend("--ft-tooltip-background-color","",g.contentGlobalPrimary),backgroundOpacity:i.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:i.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","256px"),gap:i.extend("--ft-tooltip-gap","",p.spacing05)}});var Mu=h(()=>{ne();de();uu();hu();mu();gu();yu();bu();xu();vu();Su();Ou();Cu();Eu();wu();Nu();Ru();Au();Iu();Pu();Lu();_u();Tu();ku();Uu();$u();Du()});var Bu,Wu,Fu=h(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Bu||(Bu={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(Wu||(Wu={}))});var yc=h(()=>{re();Mu();Fu()});var zu,bc=h(()=>{"use strict";F();D();ur();Mo();Bo();yc();yc();zu=[I`
|
|
616
617
|
:host {
|
|
617
618
|
display: inline-block;
|
|
618
619
|
max-width: 100%;
|
|
@@ -662,7 +663,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
662
663
|
}
|
|
663
664
|
|
|
664
665
|
.ft-button:focus-visible {
|
|
665
|
-
outline-color: ${
|
|
666
|
+
outline-color: ${U.focusFocusRingColor};
|
|
666
667
|
outline-style: solid;
|
|
667
668
|
}
|
|
668
669
|
|
|
@@ -691,150 +692,150 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
691
692
|
/** Primary styles **/
|
|
692
693
|
|
|
693
694
|
.ft-button--primary {
|
|
694
|
-
${
|
|
695
|
+
${k(_e.color,U.primaryIconColor)};
|
|
695
696
|
|
|
696
|
-
${
|
|
697
|
-
${
|
|
698
|
-
${
|
|
699
|
-
${
|
|
700
|
-
${
|
|
697
|
+
${k(V.color,U.primaryStateLayerColor)};
|
|
698
|
+
${k(V.opacityContentOnSurfaceHover,U.primaryHoverStateLayerOpacity)};
|
|
699
|
+
${k(V.opacityContentOnSurfaceFocused,U.primaryFocusStateLayerOpacity)};
|
|
700
|
+
${k(V.opacityContentOnSurfaceSelected,U.primaryActiveStateLayerOpacity)};
|
|
701
|
+
${k(V.opacityContentOnSurfacePressed,U.primaryActiveStateLayerOpacity)};
|
|
701
702
|
|
|
702
|
-
background-color: ${
|
|
703
|
-
color: ${
|
|
703
|
+
background-color: ${U.primaryBackgroundColor};
|
|
704
|
+
color: ${U.primaryColor};
|
|
704
705
|
border-style: none;
|
|
705
706
|
}
|
|
706
707
|
|
|
707
708
|
.ft-button--primary[disabled] {
|
|
708
|
-
opacity: ${
|
|
709
|
+
opacity: ${U.primaryDisabledComponentOpacity};
|
|
709
710
|
}
|
|
710
711
|
|
|
711
712
|
.ft-button--primary ft-icon {
|
|
712
|
-
color: ${
|
|
713
|
+
color: ${U.primaryIconColor};
|
|
713
714
|
}
|
|
714
715
|
|
|
715
716
|
/** Secondary styles **/
|
|
716
717
|
|
|
717
718
|
.ft-button--secondary {
|
|
718
|
-
${
|
|
719
|
+
${k(_e.color,U.secondaryIconColor)};
|
|
719
720
|
|
|
720
|
-
${
|
|
721
|
-
${
|
|
722
|
-
${
|
|
723
|
-
${
|
|
724
|
-
${
|
|
721
|
+
${k(V.color,U.secondaryStateLayerColor)};
|
|
722
|
+
${k(V.opacityContentOnSurfaceHover,U.secondaryHoverStateLayerOpacity)};
|
|
723
|
+
${k(V.opacityContentOnSurfaceFocused,U.secondaryFocusStateLayerOpacity)};
|
|
724
|
+
${k(V.opacityContentOnSurfaceSelected,U.secondaryActiveStateLayerOpacity)};
|
|
725
|
+
${k(V.opacityContentOnSurfacePressed,U.secondaryActiveStateLayerOpacity)};
|
|
725
726
|
|
|
726
|
-
background-color: ${
|
|
727
|
-
color: ${
|
|
728
|
-
border-color: ${
|
|
727
|
+
background-color: ${U.secondaryBackgroundColor};
|
|
728
|
+
color: ${U.secondaryColor};
|
|
729
|
+
border-color: ${U.secondaryBorderColor};
|
|
729
730
|
border-style: solid;
|
|
730
731
|
}
|
|
731
732
|
|
|
732
733
|
.ft-button--secondary[disabled] {
|
|
733
|
-
opacity: ${
|
|
734
|
+
opacity: ${U.secondaryDisabledComponentOpacity};
|
|
734
735
|
}
|
|
735
736
|
|
|
736
737
|
.ft-button--secondary ft-icon {
|
|
737
|
-
color: ${
|
|
738
|
+
color: ${U.secondaryIconColor};
|
|
738
739
|
}
|
|
739
740
|
|
|
740
741
|
/** Tertiary styles **/
|
|
741
742
|
|
|
742
743
|
.ft-button--tertiary {
|
|
743
|
-
${
|
|
744
|
+
${k(_e.color,U.tertiaryIconColor)};
|
|
744
745
|
|
|
745
|
-
${
|
|
746
|
-
${
|
|
747
|
-
${
|
|
748
|
-
${
|
|
749
|
-
${
|
|
746
|
+
${k(V.color,U.tertiaryStateLayerColor)};
|
|
747
|
+
${k(V.opacityContentOnSurfaceHover,U.tertiaryHoverStateLayerOpacity)};
|
|
748
|
+
${k(V.opacityContentOnSurfaceFocused,U.tertiaryFocusStateLayerOpacity)};
|
|
749
|
+
${k(V.opacityContentOnSurfaceSelected,U.tertiaryActiveStateLayerOpacity)};
|
|
750
|
+
${k(V.opacityContentOnSurfacePressed,U.tertiaryActiveStateLayerOpacity)};
|
|
750
751
|
|
|
751
|
-
background-color: ${
|
|
752
|
-
color: ${
|
|
752
|
+
background-color: ${U.tertiaryBackgroundColor};
|
|
753
|
+
color: ${U.tertiaryColor};
|
|
753
754
|
border-style: none;
|
|
754
755
|
}
|
|
755
756
|
|
|
756
757
|
.ft-button--tertiary[disabled] {
|
|
757
|
-
opacity: ${
|
|
758
|
+
opacity: ${U.tertiaryDisabledComponentOpacity};
|
|
758
759
|
}
|
|
759
760
|
|
|
760
761
|
.ft-button--tertiary ft-icon {
|
|
761
|
-
color: ${
|
|
762
|
+
color: ${U.tertiaryIconColor};
|
|
762
763
|
}
|
|
763
764
|
|
|
764
765
|
/** Neutral styles **/
|
|
765
766
|
|
|
766
767
|
.ft-button--neutral {
|
|
767
|
-
${
|
|
768
|
+
${k(_e.color,U.neutralIconColor)};
|
|
768
769
|
|
|
769
|
-
${
|
|
770
|
-
${
|
|
771
|
-
${
|
|
772
|
-
${
|
|
773
|
-
${
|
|
770
|
+
${k(V.backgroundColor,U.neutralStateLayerColor)};
|
|
771
|
+
${k(V.opacityContentOnSurfaceHover,U.neutralHoverStateLayerOpacity)};
|
|
772
|
+
${k(V.opacityContentOnSurfaceFocused,U.neutralFocusStateLayerOpacity)};
|
|
773
|
+
${k(V.opacityContentOnSurfaceSelected,U.neutralActiveStateLayerOpacity)};
|
|
774
|
+
${k(V.opacityContentOnSurfacePressed,U.neutralActiveStateLayerOpacity)};
|
|
774
775
|
|
|
775
|
-
background-color: ${
|
|
776
|
-
color: ${
|
|
776
|
+
background-color: ${U.neutralBackgroundColor};
|
|
777
|
+
color: ${U.neutralColor};
|
|
777
778
|
border-style: none;
|
|
778
779
|
}
|
|
779
780
|
|
|
780
781
|
.ft-button--neutral[disabled] {
|
|
781
|
-
opacity: ${
|
|
782
|
+
opacity: ${U.neutralDisabledComponentOpacity};
|
|
782
783
|
}
|
|
783
784
|
|
|
784
785
|
.ft-button--neutral ft-icon {
|
|
785
|
-
color: ${
|
|
786
|
+
color: ${U.neutralIconColor};
|
|
786
787
|
}
|
|
787
788
|
|
|
788
789
|
/** Large styles **/
|
|
789
790
|
|
|
790
791
|
.ft-button--large {
|
|
791
|
-
${
|
|
792
|
-
${
|
|
793
|
-
|
|
794
|
-
height: ${
|
|
795
|
-
padding: 0 ${
|
|
796
|
-
gap: ${
|
|
797
|
-
border-radius: ${
|
|
798
|
-
border-width: ${
|
|
792
|
+
${k(Te.size,U.largeIconSize)};
|
|
793
|
+
${k(_e.size,U.largeIconSize)};
|
|
794
|
+
|
|
795
|
+
height: ${U.largeHeight};
|
|
796
|
+
padding: 0 ${U.largeHorizontalPadding};
|
|
797
|
+
gap: ${U.largeGap};
|
|
798
|
+
border-radius: ${U.largeBorderRadius};
|
|
799
|
+
border-width: ${U.largeBorderWidth};
|
|
799
800
|
}
|
|
800
801
|
|
|
801
802
|
.ft-button--large:focus-visible {
|
|
802
|
-
outline-width: ${
|
|
803
|
-
outline-offset: ${
|
|
803
|
+
outline-width: ${U.largeFocusOutlineWidth};
|
|
804
|
+
outline-offset: ${U.largeFocusOutlineOffset};
|
|
804
805
|
}
|
|
805
806
|
|
|
806
807
|
.ft-button--large.ft-button--icon-only {
|
|
807
|
-
width: ${
|
|
808
|
+
width: ${U.largeIconOnlyWidth};
|
|
808
809
|
padding: unset;
|
|
809
810
|
}
|
|
810
811
|
|
|
811
812
|
/** Small styles **/
|
|
812
813
|
|
|
813
814
|
.ft-button--small {
|
|
814
|
-
${
|
|
815
|
-
${
|
|
816
|
-
|
|
817
|
-
height: ${
|
|
818
|
-
padding: 0 ${
|
|
819
|
-
gap: ${
|
|
820
|
-
border-radius: ${
|
|
821
|
-
border-width: ${
|
|
815
|
+
${k(Te.size,U.smallIconSize)};
|
|
816
|
+
${k(_e.size,U.smallIconSize)};
|
|
817
|
+
|
|
818
|
+
height: ${U.smallHeight};
|
|
819
|
+
padding: 0 ${U.smallHorizontalPadding};
|
|
820
|
+
gap: ${U.smallGap};
|
|
821
|
+
border-radius: ${U.smallBorderRadius};
|
|
822
|
+
border-width: ${U.smallBorderWidth};
|
|
822
823
|
}
|
|
823
824
|
|
|
824
825
|
.ft-button--small:focus-visible {
|
|
825
|
-
outline-width: ${
|
|
826
|
-
outline-offset: ${
|
|
826
|
+
outline-width: ${U.smallFocusOutlineWidth};
|
|
827
|
+
outline-offset: ${U.smallFocusOutlineOffset};
|
|
827
828
|
}
|
|
828
829
|
|
|
829
830
|
.ft-button--small.ft-button--icon-only {
|
|
830
|
-
width: ${
|
|
831
|
+
width: ${U.smallIconOnlyWidth};
|
|
831
832
|
padding: unset;
|
|
832
833
|
}
|
|
833
|
-
`,
|
|
834
|
+
`,Lo]});var Wo,lt,xc=h(()=>{"use strict";mc();se();Qn();D();bc();Wo=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},lt=class extends ve{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}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&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"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}}get typographyVariant(){return this.small?hr.caption1medium:hr.body2medium}};lt.styles=[_o,zu];Wo([N({type:Boolean})],lt.prototype,"primary",void 0);Wo([N({type:Boolean})],lt.prototype,"secondary",void 0);Wo([N({type:Boolean})],lt.prototype,"tertiary",void 0);Wo([N({type:Boolean})],lt.prototype,"neutral",void 0);Wo([N({type:Boolean})],lt.prototype,"small",void 0)});var Hu=h(()=>{"use strict"});var Ku=h(()=>{"use strict"});var ra=h(()=>{"use strict";D();gc();xc();gc();tc();Hu();xc();bc();Ku();Z("ft-button")(He);Z("ftds-button")(lt)});var ie,vc,Fo=h(()=>{"use strict";F();D();ra();cc();ie={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",$.borderRadiusS),desktopFiltersHeight:o.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:o.extend("--ft-search-input-background-color","",$.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",$.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",$.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",$.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",$.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",$.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",$.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",$.colorPrimary)},vc=I`
|
|
834
835
|
* {
|
|
835
836
|
box-sizing: border-box;
|
|
836
|
-
${
|
|
837
|
-
${
|
|
837
|
+
${k(me.color,ie.buttonColor)};
|
|
838
|
+
${k(me.rippleColor,ie.buttonRippleColor)};
|
|
838
839
|
}
|
|
839
840
|
|
|
840
841
|
.ft-search-input {
|
|
@@ -842,11 +843,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
842
843
|
display: flex;
|
|
843
844
|
flex-direction: row;
|
|
844
845
|
align-items: center;
|
|
845
|
-
height: ${
|
|
846
|
+
height: ${ie.height};
|
|
846
847
|
|
|
847
|
-
background: ${
|
|
848
|
-
border: 1px solid ${
|
|
849
|
-
border-radius: ${
|
|
848
|
+
background: ${ie.colorSurface};
|
|
849
|
+
border: 1px solid ${ie.colorOutline};
|
|
850
|
+
border-radius: ${ie.borderRadius};
|
|
850
851
|
}
|
|
851
852
|
|
|
852
853
|
.ft-search-input--input-container {
|
|
@@ -861,11 +862,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
861
862
|
width: 100%;
|
|
862
863
|
display: grid;
|
|
863
864
|
padding: 0 8px;
|
|
864
|
-
border-radius: ${
|
|
865
|
+
border-radius: ${ie.borderRadius};
|
|
865
866
|
}
|
|
866
867
|
|
|
867
868
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
868
|
-
outline: 2px solid ${
|
|
869
|
+
outline: 2px solid ${ie.focusOutlineColor};
|
|
869
870
|
}
|
|
870
871
|
|
|
871
872
|
.ft-search-input--input {
|
|
@@ -873,12 +874,12 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
873
874
|
width: 100%;
|
|
874
875
|
border: none;
|
|
875
876
|
background-color: transparent;
|
|
876
|
-
color: ${
|
|
877
|
+
color: ${ie.colorOnSurface};
|
|
877
878
|
outline: none;
|
|
878
879
|
}
|
|
879
880
|
|
|
880
881
|
.ft-search-input--input::placeholder {
|
|
881
|
-
color: ${
|
|
882
|
+
color: ${ie.colorOnSurfaceMedium};
|
|
882
883
|
}
|
|
883
884
|
|
|
884
885
|
.ft-search-input--actions {
|
|
@@ -888,13 +889,13 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
888
889
|
align-items: center;
|
|
889
890
|
height: 100%;
|
|
890
891
|
|
|
891
|
-
${
|
|
892
|
+
${k(zt.zIndex,`calc(${ie.floatingZIndex} + 1)`)};
|
|
892
893
|
}
|
|
893
894
|
|
|
894
895
|
.ft-search-input > ft-button,
|
|
895
896
|
.ft-search-input--actions ft-button {
|
|
896
897
|
flex-shrink: 0;
|
|
897
|
-
${
|
|
898
|
+
${k(me.backgroundColor,"transparent")};
|
|
898
899
|
}
|
|
899
900
|
|
|
900
901
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -912,17 +913,17 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
912
913
|
|
|
913
914
|
.ft-search-input--separator {
|
|
914
915
|
height: 20px;
|
|
915
|
-
border-right: 1px solid ${
|
|
916
|
+
border-right: 1px solid ${ie.colorOutline};
|
|
916
917
|
}
|
|
917
|
-
`});var
|
|
918
|
+
`});var oa,Sc,na=h(()=>{"use strict";F();D();oa={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Sc=I`
|
|
918
919
|
.kwicmatch {
|
|
919
920
|
font-weight: 700;
|
|
920
|
-
background-color: ${
|
|
921
|
+
background-color: ${oa.highlightBackgroundColor};
|
|
921
922
|
}
|
|
922
|
-
`});var
|
|
923
|
+
`});var aa,Oc,ia=h(()=>{"use strict";F();D();aa={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Oc=I`
|
|
923
924
|
.kwicmatch {
|
|
924
925
|
font-weight: 700;
|
|
925
|
-
background-color: ${
|
|
926
|
+
background-color: ${aa.highlightBackgroundColor};
|
|
926
927
|
}
|
|
927
928
|
|
|
928
929
|
a {
|
|
@@ -933,32 +934,32 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
933
934
|
a:focus {
|
|
934
935
|
outline: revert;
|
|
935
936
|
}
|
|
936
|
-
`});var
|
|
937
|
-
`});var
|
|
938
|
-
`});var
|
|
937
|
+
`});var Vu,Cc=h(()=>{"use strict";F();Vu=I`
|
|
938
|
+
`});var ju,Ec=h(()=>{"use strict";F();ju=I`
|
|
939
|
+
`});var qy,wc,Yy,H,et=h(()=>{"use strict";D();qy="ft-app-info",wc=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Yy={session:(t,e)=>{Ye(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>H.eventBus.dispatchEvent(new wc(e.payload)),0))}},H=Et.get({name:qy,reducers:Yy,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 gr,sa=h(()=>{"use strict";et();gr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=H.getState(),a=e??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let a=H.subscribe(()=>{n=t.get(e),n&&(a(),r(n))})}})}}});var dt,zo=h(()=>{"use strict";D();sa();dt=class{constructor(e=!0,r){var n;this.overrideApi=r;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new nt,this.cache=e?a.commonCache:new nt}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:gr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):gr.await()}clearCache(){this.cache.clearAll()}}});var qu,Xy,ca,Zr,Yu,Nc=h(()=>{"use strict";et();D();zo();Xy=Symbol("clearAfterUnitTest"),ca=class extends dt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[qu]=()=>{this.defaultMessages={},this.cache=new nt,this.listeners={}},this.currentUiLocale=H.getState().uiLocale,H.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=H.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Ye(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...n){var a,s,c;e=e.toLowerCase(),this.fetchContext(e);let l=(s=(a=this.cache.getNow(e))===null||a===void 0?void 0:a.messages)!==null&&s!==void 0?s:{};return new To((c=this.defaultMessages[e])!==null&&c!==void 0?c:{},l).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>On(0).then(()=>r()).catch(()=>null)))}};qu=Xy;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ca{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ca{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Zr=window.FluidTopicsI18nService,Yu=window.FluidTopicsCustomI18nService});var Ie,xe,Rc=h(()=>{"use strict";F();se();D();Ec();et();Nc();sa();Ie=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},xe=class extends ee{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>gr.get(),this.messageContexts=[],this.cache=new nt,this.cleanSessionDebouncer=new Ce}render(){return B`
|
|
939
940
|
<slot></slot>
|
|
940
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(
|
|
941
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(H.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&H.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&H.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&H.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&H.actions.noCustom(this.noCustom),e.has("editorMode")&&H.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&H.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&H.actions.session(this.session),e.has("availableUiLocales")&&H.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Zr.addContext(r)),e.has("openExternalDocumentInNewTab")&&H.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&H.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&H.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};xe.elementDefinitions={};xe.styles=ju;Ie([N()],xe.prototype,"baseUrl",void 0);Ie([N()],xe.prototype,"apiIntegrationIdentifier",void 0);Ie([N()],xe.prototype,"uiLocale",void 0);Ie([Ae(null)],xe.prototype,"availableUiLocales",void 0);Ie([Ae(null)],xe.prototype,"metadataConfiguration",void 0);Ie([N({type:Boolean})],xe.prototype,"editorMode",void 0);Ie([N({type:Boolean})],xe.prototype,"noCustom",void 0);Ie([N({type:Boolean})],xe.prototype,"openExternalDocumentInNewTab",void 0);Ie([N({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],xe.prototype,"noCustomComponent",void 0);Ie([N({type:Boolean})],xe.prototype,"withManualResources",void 0);Ie([N({type:Boolean})],xe.prototype,"navigatorOnline",void 0);Ie([N({type:Boolean})],xe.prototype,"forcedOffline",void 0);Ie([N({type:Object})],xe.prototype,"apiProvider",void 0);Ie([Ae([])],xe.prototype,"messageContexts",void 0);Ie([Ae(void 0)],xe.prototype,"session",void 0)});var Xu=h(()=>{"use strict";se();Vn();qn();et()});var la,Ac=h(()=>{"use strict";et();zo();la=class extends dt{async listMySearches(){let e=H.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var da,Ic=h(()=>{"use strict";et();zo();da=class extends dt{async listMyBookmarks(){let e=H.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Jy,pa,Pc,Ju,Lc=h(()=>{"use strict";D();Ac();Ic();et();Jy="ft-user-assets",pa=Et.get({name:Jy,initialState:{savedSearches:void 0,bookmarks:void 0}}),Pc=class{constructor(){this.currentSession=H.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new da,this.savedSearchesService=new la,H.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=H.getState();Ye((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(),pa.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),pa.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();pa.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;pa.actions.bookmarks(r)}}},Ju=new Pc});var _c,Qu=h(()=>{"use strict";et();_c=class{addCommand(e,r=!1){H.commands.add(e,r)}consumeCommand(e){return H.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new _c});var Tc,eh=h(()=>{"use strict";D();Tc=class{highlightHtml(e,r){ss(e,r)}};window.FluidTopicsHighlightHtmlService=new Tc});var kc,th=h(()=>{"use strict";D();et();kc=class{isDate(e){var r,n,a,s;return(s=(a=((n=(r=H.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1}format(e,r){var n,a,s;return fr.format(e,(n=r?.locale)!==null&&n!==void 0?n:H.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1)}};window.FluidTopicsDateService=new kc});var rh=h(()=>{"use strict";Ic();sa();Qu();Nc();zo();eh();Ac();th()});var oh=h(()=>{"use strict"});var Vr=h(()=>{"use strict";D();Rc();Xu();et();Lc();rh();Ec();oh();Rc();Z("ft-app-context")(xe)});function Ze(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Yu:Zr}i18n(a,s,...c){var l;if(typeof a=="string")return this.i18nService.resolveMessage(a,s,...c);let d=(l=a.args)!==null&&l!==void 0?l:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...d)}onI18nUpdate(a){var s,c;(s=this[Uc])===null||s===void 0||s.forEach((l,d)=>{var u;let y=this.getI18nAttributeValue(d);((u=y?.context)===null||u===void 0?void 0:u.toLowerCase())===a.toLowerCase()&&this.updateI18nAttributeMessage(d,y,l)}),(c=this[fa])===null||c===void 0||c.forEach((l,d)=>{l.context.toLowerCase()===a.toLowerCase()&&(this[d]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(a,s,c){this[a]={...s,message:this.i18n({context:s.context,key:s.key,...c})}}update(a){var s,c;super.update(a),(s=this[Uc])===null||s===void 0||s.forEach((l,d)=>{let u=this.getI18nAttributeValue(d);u?.context&&u.key&&(a.has(d)||l.argsProvider!=null)&&(a.has(d)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(d,u,l))}),(c=this[fa])===null||c===void 0||c.forEach((l,d)=>{l.argsProvider!=null&&(this[d]=this.i18n(l))})}getI18nAttributeValue(a){return this[a]}connectedCallback(){var a,s,c,l;super.connectedCallback(),new Set([...(s=(a=this[fa])===null||a===void 0?void 0:a.values())!==null&&s!==void 0?s:[],...[...(l=(c=this[Uc])===null||c===void 0?void 0:c.keys())!==null&&l!==void 0?l:[]].map(d=>this.getI18nAttributeValue(d))].map(d=>d?.context)).forEach(d=>d&&this.addI18nMessages(d))}addI18nMessages(a,s){a=a.toLowerCase(),this[Ho].has(a)||this[Ho].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,s??{}),this.onI18nUpdate(a)}addI18nContext(a,s){this.addI18nMessages(typeof a=="string"?a:a.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[Ho].forEach(a=>a()),this[Ho].clear()}}return e=Ho,Qy([N({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Qy,Uc,fa,Ho,nh,ua,ha=h(()=>{"use strict";D();Vr();se();Qy=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},Uc=Symbol("i18nAttributes"),fa=Symbol("i18nProperties"),Ho=Symbol("i18nUnsubs");nh=class extends Ze(ee){},ua=class extends Ze(Le){}});var Ko,tt,$c=h(()=>{"use strict";F();se();D();Cc();ha();Vr();Ko=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},tt=class extends ua{constructor(){super(),this.editorMode=!1,this.addStore(H)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":G:B`
|
|
941
942
|
<span class="ft-i18n">
|
|
942
943
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
943
944
|
</span>
|
|
944
|
-
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};qe.elementDefinitions={};qe.styles=uf;Do([ee()],qe.prototype,"editorMode",void 0);Do([C()],qe.prototype,"context",void 0);Do([C()],qe.prototype,"key",void 0);Do([Oe([])],qe.prototype,"args",void 0);Do([C()],qe.prototype,"defaultMessage",void 0)});var it,Of=p(()=>{"use strict";Fr();it=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>Br.resolveMessage(this.name,n,...i)})}}});var Cf=p(()=>{"use strict";si()});var Ef=p(()=>{"use strict"});var at=p(()=>{"use strict";$();Nl();Of();si();Cf();ml();Ef();Nl();z("ft-i18n")(qe)});var Rf=Uh(Af=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(g){return g&&a.indexOf(Object.prototype.toString.call(g))>-1};function l(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(g))throw new TypeError("Invalid character in header field name");return g.toLowerCase()}function c(g){return typeof g!="string"&&(g=String(g)),g}function d(g){var v={next:function(){var R=g.shift();return{done:R===void 0,value:R}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function h(g){this.map={},g instanceof h?g.forEach(function(v,R){this.append(R,v)},this):Array.isArray(g)?g.forEach(function(v){this.append(v[0],v[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(v){this.append(v,g[v])},this)}h.prototype.append=function(g,v){g=l(g),v=c(v);var R=this.map[g];this.map[g]=R?R+", "+v:v},h.prototype.delete=function(g){delete this.map[l(g)]},h.prototype.get=function(g){return g=l(g),this.has(g)?this.map[g]:null},h.prototype.has=function(g){return this.map.hasOwnProperty(l(g))},h.prototype.set=function(g,v){this.map[l(g)]=c(v)},h.prototype.forEach=function(g,v){for(var R in this.map)this.map.hasOwnProperty(R)&&g.call(v,this.map[R],R,this)},h.prototype.keys=function(){var g=[];return this.forEach(function(v,R){g.push(R)}),d(g)},h.prototype.values=function(){var g=[];return this.forEach(function(v){g.push(v)}),d(g)},h.prototype.entries=function(){var g=[];return this.forEach(function(v,R){g.push([R,v])}),d(g)},n.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(g){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}function y(g){return new Promise(function(v,R){g.onload=function(){v(g.result)},g.onerror=function(){R(g.error)}})}function b(g){var v=new FileReader,R=y(v);return v.readAsArrayBuffer(g),R}function x(g){var v=new FileReader,R=y(v);return v.readAsText(g),R}function E(g){for(var v=new Uint8Array(g),R=new Array(v.length),V=0;V<v.length;V++)R[V]=String.fromCharCode(v[V]);return R.join("")}function _(g){if(g.slice)return g.slice(0);var v=new Uint8Array(g.byteLength);return v.set(new Uint8Array(g)),v.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(g){this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&i(g)?(this._bodyArrayBuffer=_(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||s(g))?this._bodyArrayBuffer=_(g):this._bodyText=g=Object.prototype.toString.call(g):this._bodyText="",this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var g=m(this);if(g)return g;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(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(E(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function O(g){var v=g.toUpperCase();return k.indexOf(v)>-1?v:g}function S(g,v){v=v||{};var R=v.body;if(g instanceof S){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,v.headers||(this.headers=new h(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!R&&g._bodyInit!=null&&(R=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new h(v.headers)),this.method=O(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(R)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})};function w(g){var v=new FormData;return g.trim().split("&").forEach(function(R){if(R){var V=R.split("="),de=V.shift().replace(/\+/g," "),q=V.join("=").replace(/\+/g," ");v.append(decodeURIComponent(de),decodeURIComponent(q))}}),v}function B(g){var v=new h,R=g.replace(/\r?\n[\t ]+/g," ");return R.split(/\r?\n/).forEach(function(V){var de=V.split(":"),q=de.shift().trim();if(q){var Fo=de.join(":").trim();v.append(q,Fo)}}),v}P.call(S.prototype);function W(g,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new h(v.headers),this.url=v.url||"",this._initBody(g)}P.call(W.prototype),W.prototype.clone=function(){return new W(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},W.error=function(){var g=new W(null,{status:0,statusText:""});return g.type="error",g};var be=[301,302,303,307,308];W.redirect=function(g,v){if(be.indexOf(v)===-1)throw new RangeError("Invalid status code");return new W(null,{status:v,headers:{location:g}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,R){this.message=v,this.name=R;var V=Error(v);this.stack=V.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Z(g,v){return new Promise(function(R,V){var de=new S(g,v);if(de.signal&&de.signal.aborted)return V(new r.DOMException("Aborted","AbortError"));var q=new XMLHttpRequest;function Fo(){q.abort()}q.onload=function(){var Yr={status:q.status,statusText:q.statusText,headers:B(q.getAllResponseHeaders()||"")};Yr.url="responseURL"in q?q.responseURL:Yr.headers.get("X-Request-URL");var bi="response"in q?q.response:q.responseText;R(new W(bi,Yr))},q.onerror=function(){V(new TypeError("Network request failed"))},q.ontimeout=function(){V(new TypeError("Network request failed"))},q.onabort=function(){V(new r.DOMException("Aborted","AbortError"))},q.open(de.method,de.url,!0),de.credentials==="include"?q.withCredentials=!0:de.credentials==="omit"&&(q.withCredentials=!1),"responseType"in q&&n.blob&&(q.responseType="blob"),de.headers.forEach(function(Yr,bi){q.setRequestHeader(bi,Yr)}),de.signal&&(de.signal.addEventListener("abort",Fo),q.onreadystatechange=function(){q.readyState===4&&de.signal.removeEventListener("abort",Fo)}),q.send(typeof de._bodyInit>"u"?null:de._bodyInit)})}return Z.polyfill=!0,t.fetch||(t.fetch=Z,t.Headers=h,t.Request=S,t.Response=W),r.Headers=h,r.Request=S,r.Response=W,r.fetch=Z,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Af)});var Nf=p(()=>{});var _f,Pf,Tf,If,Lf,$f,kf,Mf,Df,Uf,Bf,Wr,Ff,ci,Wf,Hr,zr,ge,Tl=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(_f||(_f={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Pf||(Pf={}));(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"})(Tf||(Tf={}));(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"})(If||(If={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Lf||(Lf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})($f||($f={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(kf||(kf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Mf||(Mf={}));(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"})(Df||(Df={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Uf||(Uf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Bf||(Bf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Wr||(Wr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ff||(Ff={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ci||(ci={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Wf||(Wf={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Hr||(Hr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(zr||(zr={}));(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"})(ge||(ge={}))});var Hf,zf=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Hf||(Hf={}))});var lN,jf=p(()=>{Tl();lN={[ge.PERSONAL_BOOK_SHARE_USER]:[ge.PERSONAL_BOOK_USER],[ge.HTML_EXPORT_USER]:[ge.PERSONAL_BOOK_USER],[ge.PDF_EXPORT_USER]:[ge.PERSONAL_BOOK_USER],[ge.KHUB_ADMIN]:[ge.CONTENT_PUBLISHER],[ge.ADMIN]:[ge.KHUB_ADMIN,ge.USERS_ADMIN,ge.PORTAL_ADMIN],[ge.DEVELOPER]:[ge.BETA_USER,ge.DEBUG_USER]}});var Vf=p(()=>{});var pN,Il=p(()=>{pN=Fh(Rf(),1);Nf();Tl();zf();jf();Vf()});var Kf,Gf=p(()=>{lt();Kf=t=>t??ae});var Zf=p(()=>{Gf()});function qf(t){var e,r,n,i,a;return((i=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.openMode)===ci.EXTERNAL}function ui(t){var e,r,n,i,a;if(qf(t))return(i=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case Hr.MAP:return t.map.readerUrl;case Hr.DOCUMENT:return t.document.viewerUrl;case Hr.TOPIC:return t.topic.readerUrl}return""}function Yf(t,e){return Kf(e&&qf(t)?"_blank":void 0)}var jr,Ll=p(()=>{"use strict";Il();Zf();jr=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var by,kl,Ml=p(()=>{"use strict";U();by={},kl=N`
|
|
945
|
-
`});var
|
|
945
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};tt.elementDefinitions={};tt.styles=Vu;Ko([ae()],tt.prototype,"editorMode",void 0);Ko([N()],tt.prototype,"context",void 0);Ko([N()],tt.prototype,"key",void 0);Ko([Ae([])],tt.prototype,"args",void 0);Ko([N()],tt.prototype,"defaultMessage",void 0)});var pt,ah=h(()=>{"use strict";Vr();pt=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,n)=>{let a=n;return s=>({context:this.name,key:a,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...a)=>Zr.resolveMessage(this.name,n,...a)})}}});var ih=h(()=>{"use strict";ha()});var sh=h(()=>{"use strict"});var ft=h(()=>{"use strict";D();$c();ah();ha();ih();Cc();sh();$c();Z("ft-i18n")(tt)});var dh=Sm(lh=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function a(x){return x&&DataView.prototype.isPrototypeOf(x)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(x){return x&&s.indexOf(Object.prototype.toString.call(x))>-1};function l(x){if(typeof x!="string"&&(x=String(x)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(x))throw new TypeError("Invalid character in header field name");return x.toLowerCase()}function d(x){return typeof x!="string"&&(x=String(x)),x}function u(x){var C={next:function(){var L=x.shift();return{done:L===void 0,value:L}}};return n.iterable&&(C[Symbol.iterator]=function(){return C}),C}function y(x){this.map={},x instanceof y?x.forEach(function(C,L){this.append(L,C)},this):Array.isArray(x)?x.forEach(function(C){this.append(C[0],C[1])},this):x&&Object.getOwnPropertyNames(x).forEach(function(C){this.append(C,x[C])},this)}y.prototype.append=function(x,C){x=l(x),C=d(C);var L=this.map[x];this.map[x]=L?L+", "+C:C},y.prototype.delete=function(x){delete this.map[l(x)]},y.prototype.get=function(x){return x=l(x),this.has(x)?this.map[x]:null},y.prototype.has=function(x){return this.map.hasOwnProperty(l(x))},y.prototype.set=function(x,C){this.map[l(x)]=d(C)},y.prototype.forEach=function(x,C){for(var L in this.map)this.map.hasOwnProperty(L)&&x.call(C,this.map[L],L,this)},y.prototype.keys=function(){var x=[];return this.forEach(function(C,L){x.push(L)}),u(x)},y.prototype.values=function(){var x=[];return this.forEach(function(C){x.push(C)}),u(x)},y.prototype.entries=function(){var x=[];return this.forEach(function(C,L){x.push([L,C])}),u(x)},n.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function b(x){if(x.bodyUsed)return Promise.reject(new TypeError("Already read"));x.bodyUsed=!0}function v(x){return new Promise(function(C,L){x.onload=function(){C(x.result)},x.onerror=function(){L(x.error)}})}function S(x){var C=new FileReader,L=v(C);return C.readAsArrayBuffer(x),L}function O(x){var C=new FileReader,L=v(C);return C.readAsText(x),L}function R(x){for(var C=new Uint8Array(x),L=new Array(C.length),j=0;j<C.length;j++)L[j]=String.fromCharCode(C[j]);return L.join("")}function _(x){if(x.slice)return x.slice(0);var C=new Uint8Array(x.byteLength);return C.set(new Uint8Array(x)),C.buffer}function T(){return this.bodyUsed=!1,this._initBody=function(x){this._bodyInit=x,x?typeof x=="string"?this._bodyText=x:n.blob&&Blob.prototype.isPrototypeOf(x)?this._bodyBlob=x:n.formData&&FormData.prototype.isPrototypeOf(x)?this._bodyFormData=x:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(x)?this._bodyText=x.toString():n.arrayBuffer&&n.blob&&a(x)?(this._bodyArrayBuffer=_(x.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(x)||c(x))?this._bodyArrayBuffer=_(x):this._bodyText=x=Object.prototype.toString.call(x):this._bodyText="",this.headers.get("content-type")||(typeof x=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(x)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var x=b(this);if(x)return x;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(){return this._bodyArrayBuffer?b(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(S)}),this.text=function(){var x=b(this);if(x)return x;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(R(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(A)}),this.json=function(){return this.text().then(JSON.parse)},this}var M=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(x){var C=x.toUpperCase();return M.indexOf(C)>-1?C:x}function E(x,C){C=C||{};var L=C.body;if(x instanceof E){if(x.bodyUsed)throw new TypeError("Already read");this.url=x.url,this.credentials=x.credentials,C.headers||(this.headers=new y(x.headers)),this.method=x.method,this.mode=x.mode,this.signal=x.signal,!L&&x._bodyInit!=null&&(L=x._bodyInit,x.bodyUsed=!0)}else this.url=String(x);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new y(C.headers)),this.method=w(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&L)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(L)}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function A(x){var C=new FormData;return x.trim().split("&").forEach(function(L){if(L){var j=L.split("="),ye=j.shift().replace(/\+/g," "),J=j.join("=").replace(/\+/g," ");C.append(decodeURIComponent(ye),decodeURIComponent(J))}}),C}function z(x){var C=new y,L=x.replace(/\r?\n[\t ]+/g," ");return L.split(/\r?\n/).forEach(function(j){var ye=j.split(":"),J=ye.shift().trim();if(J){var Vo=ye.join(":").trim();C.append(J,Vo)}}),C}T.call(E.prototype);function K(x,C){C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in C?C.statusText:"OK",this.headers=new y(C.headers),this.url=C.url||"",this._initBody(x)}T.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},K.error=function(){var x=new K(null,{status:0,statusText:""});return x.type="error",x};var Ee=[301,302,303,307,308];K.redirect=function(x,C){if(Ee.indexOf(C)===-1)throw new RangeError("Invalid status code");return new K(null,{status:C,headers:{location:x}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,L){this.message=C,this.name=L;var j=Error(C);this.stack=j.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function X(x,C){return new Promise(function(L,j){var ye=new E(x,C);if(ye.signal&&ye.signal.aborted)return j(new r.DOMException("Aborted","AbortError"));var J=new XMLHttpRequest;function Vo(){J.abort()}J.onload=function(){var oo={status:J.status,statusText:J.statusText,headers:z(J.getAllResponseHeaders()||"")};oo.url="responseURL"in J?J.responseURL:oo.headers.get("X-Request-URL");var wa="response"in J?J.response:J.responseText;L(new K(wa,oo))},J.onerror=function(){j(new TypeError("Network request failed"))},J.ontimeout=function(){j(new TypeError("Network request failed"))},J.onabort=function(){j(new r.DOMException("Aborted","AbortError"))},J.open(ye.method,ye.url,!0),ye.credentials==="include"?J.withCredentials=!0:ye.credentials==="omit"&&(J.withCredentials=!1),"responseType"in J&&n.blob&&(J.responseType="blob"),ye.headers.forEach(function(oo,wa){J.setRequestHeader(wa,oo)}),ye.signal&&(ye.signal.addEventListener("abort",Vo),J.onreadystatechange=function(){J.readyState===4&&ye.signal.removeEventListener("abort",Vo)}),J.send(typeof ye._bodyInit>"u"?null:ye._bodyInit)})}return X.polyfill=!0,t.fetch||(t.fetch=X,t.Headers=y,t.Request=E,t.Response=K),r.Headers=y,r.Request=E,r.Response=K,r.fetch=X,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:lh)});var ph=h(()=>{});var fh,uh,hh,mh,gh,yh,bh,xh,vh,Sh,Oh,jr,Ch,ga,Eh,qr,Yr,Oe,Bc=h(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(fh||(fh={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(uh||(uh={}));(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"})(hh||(hh={}));(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"})(mh||(mh={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(gh||(gh={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(yh||(yh={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(bh||(bh={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(xh||(xh={}));(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"})(vh||(vh={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Sh||(Sh={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Oh||(Oh={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(jr||(jr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ch||(Ch={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ga||(ga={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Eh||(Eh={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(qr||(qr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Yr||(Yr={}));(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"})(Oe||(Oe={}))});var wh,Nh=h(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(wh||(wh={}))});var xL,Rh=h(()=>{Bc();xL={[Oe.PERSONAL_BOOK_SHARE_USER]:[Oe.PERSONAL_BOOK_USER],[Oe.HTML_EXPORT_USER]:[Oe.PERSONAL_BOOK_USER],[Oe.PDF_EXPORT_USER]:[Oe.PERSONAL_BOOK_USER],[Oe.KHUB_ADMIN]:[Oe.CONTENT_PUBLISHER],[Oe.ADMIN]:[Oe.KHUB_ADMIN,Oe.USERS_ADMIN,Oe.PORTAL_ADMIN],[Oe.DEVELOPER]:[Oe.BETA_USER,Oe.DEBUG_USER]}});var Ah=h(()=>{});var CL,Wc=h(()=>{CL=Cm(dh(),1);ph();Bc();Nh();Rh();Ah()});var Ih,Ph=h(()=>{ht();Ih=t=>t??fe});var Lh=h(()=>{Ph()});function _h(t){var e,r,n,a,s;return((a=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&a!==void 0?a:(s=t.document)===null||s===void 0?void 0:s.openMode)===ga.EXTERNAL}function ya(t){var e,r,n,a,s;if(_h(t))return(a=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(s=t.document)===null||s===void 0?void 0:s.originUrl;switch(t.type){case qr.MAP:return t.map.readerUrl;case qr.DOCUMENT:return t.document.viewerUrl;case qr.TOPIC:return t.topic.readerUrl}return""}function Th(t,e){return Ih(e&&_h(t)?"_blank":void 0)}var Xr,Fc=h(()=>{"use strict";Wc();Lh();Xr=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var rb,Hc,Kc=h(()=>{"use strict";F();rb={},Hc=I`
|
|
946
|
+
`});var kh=h(()=>{"use strict"});var ob,Uh,$h=h(()=>{"use strict";D();ob={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.filters=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},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}},Uh=t=>Et.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:ob})});var va,Dh=h(()=>{"use strict";Vr();va=class extends dt{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0)}}});var Mh,Go,Jr,Gc=h(()=>{"use strict";D();$h();Wc();Dh();Mh=t=>t.request.virtualField===jr.TITLE_ONLY&&t.request.scope===Yr.DOCUMENTS,Go=class t extends Event{constructor(){super(t.eventName)}};Go.eventName="search-context-clear-all-filters";Jr=class t{static build(e,r){return new t(Uh(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Ce(10),this.searchDebouncer=new Ce(100),this.suggestDebouncer=new Ce(300),this.service=r??new va}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 a=s=>r.some(c=>c.lang==s);a(e)||(e=a(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.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(jr.TITLE_ONLY),this.store.actions.setRequestScope(Yr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(jr.EVERYWHERE),this.store.actions.setRequestScope(Yr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Mh(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Go)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let n=this.facetIds.filter(a=>a!=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(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,r){let n=this.store.getState().request.filters,a={key:e,values:r,negative:!1},s=[...n.filter(c=>c.key!==e),a];this.setFilters(s)}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}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}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=Ar(this.service.launchSearch(n));let a=await this.cancelableSearch;if(a.paging.currentPage<=1)this.store.actions.setResults(a.results),this.store.actions.setFacets(a.facets),this.store.actions.setSpellcheck(a.spellcheck);else{let s=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(a.results);this.store.actions.setResults(s)}this.store.actions.setPaging(a.paging)}}catch(n){!(n instanceof Tt)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,a={input:r.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=Ar(this.service.launchSuggest(a));let s=await this.cancelableSuggest;this.store.actions.setSuggestResults(s.suggestions)}catch(r){!(r instanceof Tt)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}}});function ab(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Zc]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Zc]):this.dispatchEvent(new Vc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Zc,nb([he()],r.prototype,"stateManager",void 0),r}var nb,Vc,Zc,De,Gt=h(()=>{"use strict";D();se();kh();Gc();nb=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},Vc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Zc=Symbol("registerInterval");De=class extends ab(Le){}});var Re,Sa,Oa,Ca,ue,jc=h(()=>{"use strict";F();se();D();Kc();Gt();Vr();Lc();Re=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},Sa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Oa=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Ca=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},ue=class extends Le{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Jr.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 B`
|
|
946
947
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
947
|
-
`}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("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter),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
|
|
948
|
+
`}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("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter),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 Oa(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Ca(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Sa(e))}reloadSavedSearches(){Ju.clearMySearches()}clear(){this.stateManager.clear()}};ue.elementDefinitions={};ue.styles=Hc;Re([ae({store:H.name})],ue.prototype,"session",void 0);Re([N()],ue.prototype,"query",void 0);Re([N()],ue.prototype,"contentLocale",void 0);Re([N({type:Number})],ue.prototype,"pageSize",void 0);Re([N({type:Boolean})],ue.prototype,"searchInDocumentTitlesOnly",void 0);Re([N()],ue.prototype,"periodFilter",void 0);Re([N()],ue.prototype,"scope",void 0);Re([N()],ue.prototype,"virtualField",void 0);Re([N({type:Boolean})],ue.prototype,"ignoreEmptyQuery",void 0);Re([ae({store:H.name})],ue.prototype,"openExternalDocumentInNewTab",void 0);Re([Ae([])],ue.prototype,"filters",void 0);Re([Ae([])],ue.prototype,"sort",void 0);Re([ae({store:"search"})],ue.prototype,"request",void 0);Re([ae({store:"search"})],ue.prototype,"paging",void 0);Re([ae({store:"search",selector:t=>t.spellcheck})],ue.prototype,"autocorrect",void 0);Re([N({attribute:!1})],ue.prototype,"searchServiceProvider",void 0)});var Bh=h(()=>{"use strict"});var Wh={};q(Wh,{ClearAllFiltersEvent:()=>Go,FtSearchContext:()=>ue,FtSearchContextCssVariables:()=>rb,FtSearchStateManager:()=>Jr,LoadErrorEvent:()=>Sa,SearchRequestChangeEvent:()=>Oa,SearchResultsChangeEvent:()=>Ca,searchInDocumentTitlesOnlySelector:()=>Mh,styles:()=>Hc});var Fh=h(()=>{"use strict";D();jc();Kc();Bh();jc();Gc();Z("ft-search-context")(ue)});var Zo,zh=h(()=>{"use strict";ft();Zo=pt.build("designedSearchInput")});var Hh,Kh=h(()=>{"use strict";F();Fo();Hh=I`
|
|
948
949
|
* {
|
|
949
950
|
box-sizing: border-box;
|
|
950
951
|
}
|
|
951
952
|
|
|
952
953
|
.ft-search-input-suggestion {
|
|
953
954
|
position: absolute;
|
|
954
|
-
z-index: ${
|
|
955
|
+
z-index: ${ie.floatingZIndex};
|
|
955
956
|
top: calc(100% + 2px);
|
|
956
957
|
left: -1px;
|
|
957
958
|
right: -1px;
|
|
958
|
-
background: ${
|
|
959
|
-
border: 1px solid ${
|
|
960
|
-
border-radius: 0 0 ${
|
|
961
|
-
box-shadow: ${
|
|
959
|
+
background: ${ie.colorSurface};
|
|
960
|
+
border: 1px solid ${ie.colorOutline};
|
|
961
|
+
border-radius: 0 0 ${ie.borderRadius} ${ie.borderRadius};
|
|
962
|
+
box-shadow: ${ie.elevation02};
|
|
962
963
|
}
|
|
963
964
|
|
|
964
965
|
.ft-search-input-suggestion--suggestion {
|
|
@@ -969,7 +970,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
969
970
|
padding: 8px;
|
|
970
971
|
gap: 8px;
|
|
971
972
|
cursor: pointer;
|
|
972
|
-
color: ${
|
|
973
|
+
color: ${ie.colorOnSurface};
|
|
973
974
|
min-height: 44px;
|
|
974
975
|
}
|
|
975
976
|
|
|
@@ -986,11 +987,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
986
987
|
flex-grow: 1;
|
|
987
988
|
flex-shrink: 1;
|
|
988
989
|
}
|
|
989
|
-
`});var
|
|
990
|
+
`});var Gh,qc,yr,Zh=h(()=>{"use strict";D();F();se();Kh();xn();uc();Jn();Nt();Gt();Gh=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},qc=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},yr=class extends De{render(){return B`
|
|
990
991
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
991
992
|
part="container"
|
|
992
993
|
@keydown=${e=>this.onSuggestKeyDown(e)}>
|
|
993
|
-
${
|
|
994
|
+
${xo(this.suggestResults||[],e=>e.value,e=>B`
|
|
994
995
|
<a href="#"
|
|
995
996
|
part="suggestion"
|
|
996
997
|
class="ft-search-input-suggestion--suggestion"
|
|
@@ -1002,33 +1003,33 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1002
1003
|
</a>
|
|
1003
1004
|
`)}
|
|
1004
1005
|
</div>
|
|
1005
|
-
`}onSuggestKeyDown(e){var r,n,
|
|
1006
|
+
`}onSuggestKeyDown(e){var r,n,a,s,c,l;switch(e.key){case"ArrowUp":(a=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(c=(s=this.getFocusedSuggestionElement())===null||s===void 0?void 0:s.nextElementSibling)!==null&&c!==void 0?c: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 qc(r))}getIcon(e){let r=e.type==="DOCUMENT"?Qe.file_format:Qe.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Ht.BOOK:Ht.ARTICLE;break;case"DOCUMENT":n=du(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Ht.TOPICS;break}return B`
|
|
1006
1007
|
<ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
1007
|
-
`}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()}};
|
|
1008
|
-
<div class="${
|
|
1008
|
+
`}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()}};yr.elementDefinitions={"ft-ripple":le,"ft-typography":be,"ft-icon":$e};yr.styles=[ds,Hh];Gh([ae()],yr.prototype,"suggestResults",void 0);yr=Gh([Ga("ft-search-input-suggestion")],yr)});var Qr,Ke,Yc=h(()=>{"use strict";F();D();Fo();Gt();ft();zh();se();wr();Zh();ra();Nt();Qr=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},Ke=class extends Ze(De){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Zo)}render(){var e,r;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return B`
|
|
1009
|
+
<div class="${bt(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
|
|
1009
1010
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
1010
1011
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
1011
1012
|
<input class="ft-search-input--input ft-typography--body2"
|
|
1012
1013
|
part="input"
|
|
1013
1014
|
type="search"
|
|
1014
|
-
placeholder="${
|
|
1015
|
+
placeholder="${Zo.messages.placeholder()}"
|
|
1015
1016
|
.value="${this.liveQuery}"
|
|
1016
|
-
@input=${
|
|
1017
|
-
@keydown=${
|
|
1018
|
-
@keyup=${
|
|
1017
|
+
@input=${a=>this.onInput(a)}
|
|
1018
|
+
@keydown=${a=>this.onSearchBarKeyDown(a)}
|
|
1019
|
+
@keyup=${a=>this.onSearchBarKeyUp(a)}>
|
|
1019
1020
|
</div>
|
|
1020
1021
|
<ft-search-input-suggestion exportpartsPrefix="suggestion"
|
|
1021
1022
|
@suggestion-selected=${this.onSuggestionSelected}
|
|
1022
1023
|
></ft-search-input-suggestion>
|
|
1023
1024
|
</div>
|
|
1024
1025
|
<div class="ft-search-input--actions" part="actions">
|
|
1025
|
-
${this.liveQuery?
|
|
1026
|
+
${this.liveQuery?B`
|
|
1026
1027
|
<ft-button id="clear-button"
|
|
1027
1028
|
class="ft-search-input--clear-query"
|
|
1028
1029
|
part="clear-query"
|
|
1029
1030
|
icon="close"
|
|
1030
1031
|
round dense
|
|
1031
|
-
label="${
|
|
1032
|
+
label="${Zo.messages.clearButton()}"
|
|
1032
1033
|
@click=${()=>this.liveQuery=""}
|
|
1033
1034
|
></ft-button>
|
|
1034
1035
|
<div class="ft-search-input--separator"></div>
|
|
@@ -1037,72 +1038,72 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1037
1038
|
part="launch-search-in-input"
|
|
1038
1039
|
icon="search"
|
|
1039
1040
|
round dense
|
|
1040
|
-
label="${
|
|
1041
|
+
label="${Zo.messages.searchButton()}"
|
|
1041
1042
|
@click=${()=>this.launchSearch(this.liveQuery)}
|
|
1042
1043
|
></ft-button>
|
|
1043
1044
|
</div>
|
|
1044
1045
|
</div>
|
|
1045
|
-
`}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"))}onSuggestionSelected(e){this.launchSearch(e.detail)}};
|
|
1046
|
-
`});var
|
|
1046
|
+
`}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"))}onSuggestionSelected(e){this.launchSearch(e.detail)}};Ke.elementDefinitions={"ft-search-input-suggestion":yr,"ft-button":He};Ke.styles=[Yn,vc];Qr([ae()],Ke.prototype,"request",void 0);Qr([ae()],Ke.prototype,"liveQuery",void 0);Qr([ae()],Ke.prototype,"suggestResults",void 0);Qr([he()],Ke.prototype,"forceCloseSuggestion",void 0);Qr([Se(".ft-search-input--input")],Ke.prototype,"input",void 0);Qr([Se("ft-search-input-suggestion")],Ke.prototype,"suggestion",void 0)});var Vh=h(()=>{"use strict"});var jh={};q(jh,{FtSearchInput:()=>Ke,FtSearchInputCssVariables:()=>ie,styles:()=>vc});var qh=h(()=>{"use strict";D();Yc();Fo();Vh();Yc();Z("ft-search-input")(Ke)});var ib,Xc,Jc=h(()=>{"use strict";F();ib={},Xc=I`
|
|
1047
|
+
`});var Qc,Yh=h(()=>{"use strict";ft();Qc=pt.fromGwt("designedActionBlockAriaLabels")});var Xh,Rt,el=h(()=>{"use strict";F();D();Jc();ra();Gt();ft();Yh();Xh=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},Rt=class extends Ze(De){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Qc)}render(){return this.isLastPage?G:B`
|
|
1047
1048
|
<ft-button @click="${this.loadMore}">
|
|
1048
|
-
${
|
|
1049
|
+
${Qc.messages.searchPageLoadMore()}
|
|
1049
1050
|
</ft-button>
|
|
1050
|
-
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};
|
|
1051
|
-
<ft-typography variant="body1" part="text">${
|
|
1052
|
-
`:
|
|
1051
|
+
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Rt.elementDefinitions={"ft-button":He};Rt.styles=Xc;Xh([ae({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);Xh([ae({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 Jh=h(()=>{"use strict"});var Qh={};q(Qh,{FtSearchLoadMoreButton:()=>Rt,FtSearchLoadMoreButtonCssVariables:()=>ib,styles:()=>Xc});var em=h(()=>{"use strict";D();el();Jc();Jh();el();Z("ft-search-load-more-button")(Rt)});function sb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(a){this.resultStateManager=a}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[rl]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[rl]):this.dispatchEvent(new ol)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=rl,tl([N({attribute:!1})],r.prototype,"cluster",void 0),tl([N({attribute:!1})],r.prototype,"result",void 0),tl([N({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var tl,ol,rl,eo,nl=h(()=>{"use strict";Gt();se();tl=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},ol=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},rl=Symbol("registerInterval");eo=class extends sb(De){}});var br,al=h(()=>{"use strict";F();nl();na();vo();Nt();br=class extends eo{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?B`
|
|
1052
|
+
<ft-typography variant="body1" part="text">${ar(e)}</ft-typography>
|
|
1053
|
+
`:B`
|
|
1053
1054
|
<style>
|
|
1054
1055
|
:host {
|
|
1055
1056
|
display: none !important;
|
|
1056
1057
|
}
|
|
1057
1058
|
</style>
|
|
1058
|
-
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}};
|
|
1059
|
-
<a href="${this.result?
|
|
1060
|
-
<ft-typography variant="title" part="text">${
|
|
1059
|
+
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}};br.elementDefinitions={"ft-typography":be};br.styles=Sc});var tm=h(()=>{"use strict"});var rm={};q(rm,{FtSearchResultAbstract:()=>br,FtSearchResultAbstractCssVariables:()=>oa,styles:()=>Sc});var il=h(()=>{"use strict";D();al();na();tm();al();Z("ft-search-result-abstract")(br)});var xr,sl=h(()=>{"use strict";F();nl();ia();Nt();vo();Fc();xr=class extends eo{render(){var e;return this.result?B`
|
|
1060
|
+
<a href="${this.result?ya(this.result):""}" @click=${this.onResultClick} target="${Th(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}">
|
|
1061
|
+
<ft-typography variant="title" part="text">${ar(this.selectTitle(this.result))}</ft-typography>
|
|
1061
1062
|
</a>
|
|
1062
|
-
`:
|
|
1063
|
+
`:G}onResultClick(){this.dispatchEvent(new Xr(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""}};xr.elementDefinitions={"ft-typography":be};xr.styles=Oc});var om=h(()=>{"use strict"});var nm={};q(nm,{FtSearchResultTitle:()=>xr,FtSearchResultTitleCssVariables:()=>aa,styles:()=>Oc});var cl=h(()=>{"use strict";D();sl();ia();om();sl();Z("ft-search-result-title")(xr)});var cb,ll,dl=h(()=>{"use strict";F();cb={},ll=I`
|
|
1063
1064
|
[part="no-results-message"] {
|
|
1064
1065
|
text-align: center;
|
|
1065
1066
|
padding: 12px;
|
|
1066
1067
|
}
|
|
1067
|
-
`});var
|
|
1068
|
+
`});var am,pl=h(()=>{"use strict";F();am=I`
|
|
1068
1069
|
a {
|
|
1069
1070
|
color: inherit;
|
|
1070
1071
|
text-decoration: inherit;
|
|
1071
1072
|
}
|
|
1072
|
-
`});var
|
|
1073
|
+
`});var Ea,im=h(()=>{"use strict";Ea=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 ul,fl,At,hl=h(()=>{"use strict";F();se();D();pl();im();ul=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},fl=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},At=class extends ee{constructor(){super(...arguments),this.index=0,this.stateManager=new Ea(e=>this.onResultSelected(e))}render(){return B`
|
|
1073
1074
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
1074
|
-
`}onResultSelected(e){this.result=e,this.dispatchEvent(new
|
|
1075
|
+
`}onResultSelected(e){this.result=e,this.dispatchEvent(new fl(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()}};At.elementDefinitions={};At.styles=am;ul([N({attribute:!1})],At.prototype,"cluster",void 0);ul([he()],At.prototype,"result",void 0);ul([N()],At.prototype,"index",void 0)});var sm=h(()=>{"use strict"});var cm=h(()=>{"use strict";D();hl();pl();sm();hl();Z("ft-search-result-context")(At)});var to,lm,ml=h(()=>{"use strict";ft();to=pt.build("searchResultsNumber"),lm={results:"{0} results","results[\\=1]":"1 result"}});var ro,je,gl=h(()=>{"use strict";F();xn();se();D();dl();Gt();cm();cl();il();ft();ml();ro=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},je=class extends Ze(De){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>B`
|
|
1075
1076
|
<ft-search-result-title></ft-search-result-title>
|
|
1076
1077
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1077
|
-
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(
|
|
1078
|
-
<ft-typography part="no-results-message" variant="body1">${
|
|
1079
|
-
`;let e=this.buildClusters();return
|
|
1078
|
+
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(to)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return B`
|
|
1079
|
+
<ft-typography part="no-results-message" variant="body1">${to.messages.results(0)}</ft-typography>
|
|
1080
|
+
`;let e=this.buildClusters();return xo(e,r=>r.id,(r,n)=>{var a;return B`
|
|
1080
1081
|
<ft-search-result-context .cluster=${r} index="${n}"
|
|
1081
|
-
@ft-search-result-cluster-change="${
|
|
1082
|
-
${this.renderResult((
|
|
1082
|
+
@ft-search-result-cluster-change="${s=>this.onClusterChange(r.id,s.detail)}">
|
|
1083
|
+
${this.renderResult((a=this.selectedResultByCluster[r.id])!==null&&a!==void 0?a:r.entries[0],n)}
|
|
1083
1084
|
</ft-search-result-context>
|
|
1084
|
-
`})}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))}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(
|
|
1085
|
+
`})}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))}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.request&&this.request.paging.page===1?n.slice(0,this.request.paging.perPage):n}clusterId(e){var r,n,a,s,c;return(s=(n=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.tocId)!==null&&s!==void 0?s:(c=e.document)===null||c===void 0?void 0:c.documentId}};je.styles=ll;ro([N({type:String,attribute:"cluster-policy"})],je.prototype,"clusterPolicy",void 0);ro([N({type:Boolean})],je.prototype,"displayNoResultsMessage",void 0);ro([N({attribute:!1})],je.prototype,"renderResult",void 0);ro([Ae([])],je.prototype,"clusterSortCriterion",void 0);ro([ae()],je.prototype,"request",void 0);ro([ae()],je.prototype,"results",void 0)});var dm=h(()=>{"use strict"});var pm={};q(pm,{FtSearchResults:()=>je,FtSearchResultsCssVariables:()=>cb,styles:()=>ll});var fm=h(()=>{"use strict";D();gl();dl();dm();gl();Z("ft-search-results")(je)});var lb,yl,bl=h(()=>{"use strict";F();lb={},yl=I`
|
|
1085
1086
|
|
|
1086
|
-
`});var
|
|
1087
|
+
`});var db,Zt,xl=h(()=>{"use strict";F();D();bl();Gt();ft();ml();Nt();db=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},Zt=class extends Ze(De){constructor(){super(),this.addI18nContext(to,lm)}render(){return this.paging==null?G:B`
|
|
1087
1088
|
<ft-typography variant="body1">
|
|
1088
|
-
${
|
|
1089
|
+
${to.messages.results(this.paging.totalClustersCount)}
|
|
1089
1090
|
</ft-typography>
|
|
1090
|
-
`}};
|
|
1091
|
+
`}};Zt.elementDefinitions={"ft-typography":be};Zt.styles=yl;db([ae()],Zt.prototype,"paging",void 0)});var um=h(()=>{"use strict"});var hm={};q(hm,{FtSearchResultsNumber:()=>Zt,FtSearchResultsNumberCssVariables:()=>lb,styles:()=>yl});var mm=h(()=>{"use strict";D();xl();bl();um();xl();Z("ft-search-results-number")(Zt)});D();F();D();F();D();F();D();ur();var te={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",$.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",$.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",$.colorPrimary),outlineStyle:o.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.extend("--ft-card-outline-color","",$.colorPrimary),selectedOutlineStyle:o.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.extend("--ft-card-selected-outline-color","",$.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",$.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",$.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",$.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",$.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",$.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",$.elevation04)},Uf=I`
|
|
1091
1092
|
:host {
|
|
1092
1093
|
display: block;
|
|
1093
1094
|
}
|
|
1094
1095
|
|
|
1095
1096
|
#container {
|
|
1096
|
-
padding: ${
|
|
1097
|
-
outline-style: ${
|
|
1098
|
-
outline-width: ${
|
|
1099
|
-
outline-color: ${
|
|
1100
|
-
border-color: ${
|
|
1101
|
-
border-style: ${
|
|
1097
|
+
padding: ${te.padding};
|
|
1098
|
+
outline-style: ${te.outlineStyle};
|
|
1099
|
+
outline-width: ${te.outlineWidth};
|
|
1100
|
+
outline-color: ${te.outlineColor};
|
|
1101
|
+
border-color: ${te.borderColor};
|
|
1102
|
+
border-style: ${te.borderStyle};
|
|
1102
1103
|
border-width: 1px;
|
|
1103
|
-
border-radius: ${
|
|
1104
|
-
${
|
|
1105
|
-
box-shadow: ${
|
|
1104
|
+
border-radius: ${te.borderRadius};
|
|
1105
|
+
${k(V.borderRadius,te.borderRadius)};
|
|
1106
|
+
box-shadow: ${te.elevation02};
|
|
1106
1107
|
position: relative;
|
|
1107
1108
|
width: 100%;
|
|
1108
1109
|
height: 100%;
|
|
@@ -1114,7 +1115,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1114
1115
|
grid-template-rows: max-content minmax(0, 1fr);
|
|
1115
1116
|
grid-gap: 8px;
|
|
1116
1117
|
box-sizing: border-box;
|
|
1117
|
-
background-color: ${
|
|
1118
|
+
background-color: ${te.colorSurface};
|
|
1118
1119
|
transition: box-shadow 0.2s linear, color 0.2s linear;
|
|
1119
1120
|
}
|
|
1120
1121
|
|
|
@@ -1127,12 +1128,12 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1127
1128
|
}
|
|
1128
1129
|
|
|
1129
1130
|
#container.selected {
|
|
1130
|
-
outline-style: ${
|
|
1131
|
-
outline-width: ${
|
|
1132
|
-
outline-color: ${
|
|
1133
|
-
border-radius: ${
|
|
1134
|
-
${
|
|
1135
|
-
box-shadow: ${
|
|
1131
|
+
outline-style: ${te.selectedOutlineStyle};
|
|
1132
|
+
outline-width: ${te.selectedOutlineWidth};
|
|
1133
|
+
outline-color: ${te.selectedOutlineColor};
|
|
1134
|
+
border-radius: ${te.selectedBorderRadius};
|
|
1135
|
+
${k(V.borderRadius,te.selectedBorderRadius)};
|
|
1136
|
+
box-shadow: ${te.elevation04};
|
|
1136
1137
|
}
|
|
1137
1138
|
|
|
1138
1139
|
#container.clickable {
|
|
@@ -1140,8 +1141,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1140
1141
|
}
|
|
1141
1142
|
|
|
1142
1143
|
#container.clickable:hover {
|
|
1143
|
-
box-shadow: ${
|
|
1144
|
-
border-color: ${
|
|
1144
|
+
box-shadow: ${te.elevation04};
|
|
1145
|
+
border-color: ${te.hoverBorderColor};
|
|
1145
1146
|
}
|
|
1146
1147
|
|
|
1147
1148
|
#header {
|
|
@@ -1152,20 +1153,20 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1152
1153
|
text-overflow: ellipsis;
|
|
1153
1154
|
overflow: hidden;
|
|
1154
1155
|
word-break: break-word;
|
|
1155
|
-
color: ${
|
|
1156
|
+
color: ${te.colorOnSurfaceHigh};
|
|
1156
1157
|
}
|
|
1157
1158
|
|
|
1158
1159
|
#content {
|
|
1159
1160
|
word-break: break-word;
|
|
1160
1161
|
min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
|
|
1161
1162
|
grid-area: content;
|
|
1162
|
-
color: ${
|
|
1163
|
+
color: ${te.colorOnSurfaceMedium};
|
|
1163
1164
|
}
|
|
1164
1165
|
|
|
1165
1166
|
#action {
|
|
1166
1167
|
grid-area: actions;
|
|
1167
1168
|
}
|
|
1168
|
-
|
|
1169
|
+
`;Fo();na();ur();ia();var Ne={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",$.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",$.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",$.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",$.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",$.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",$.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",$.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",$.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",$.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",$.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",$.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",$.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",$.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",$.colorPrimary)},Gu=I`
|
|
1169
1170
|
.ft-search-in-doc--container {
|
|
1170
1171
|
display: flex;
|
|
1171
1172
|
flex-direction: column;
|
|
@@ -1173,11 +1174,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1173
1174
|
}
|
|
1174
1175
|
|
|
1175
1176
|
ft-search-input {
|
|
1176
|
-
${
|
|
1177
|
-
${
|
|
1178
|
-
${
|
|
1179
|
-
${
|
|
1180
|
-
${
|
|
1177
|
+
${k(ie.colorSurface,Ne.searchFieldBackgroundColor)};
|
|
1178
|
+
${k(ie.colorOutline,Ne.searchFieldBorderColor)};
|
|
1179
|
+
${k(ie.colorOnSurface,Ne.searchFieldTextColor)};
|
|
1180
|
+
${k(ie.borderRadius,Ne.searchFieldBorderRadius)};
|
|
1181
|
+
${k(ie.buttonColor,Ne.searchButtonColor)};
|
|
1181
1182
|
}
|
|
1182
1183
|
|
|
1183
1184
|
ft-search-results-number {
|
|
@@ -1185,41 +1186,41 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1185
1186
|
}
|
|
1186
1187
|
|
|
1187
1188
|
ft-search-results-number, ft-search-results::part(no-results-message) {
|
|
1188
|
-
color: ${
|
|
1189
|
+
color: ${Ne.resultsNumberColor};
|
|
1189
1190
|
}
|
|
1190
1191
|
|
|
1191
1192
|
ft-search-load-more-button {
|
|
1192
1193
|
margin: auto;
|
|
1193
1194
|
}
|
|
1194
|
-
`,
|
|
1195
|
+
`,Zu=I`
|
|
1195
1196
|
ft-card {
|
|
1196
1197
|
margin-bottom: 8px;
|
|
1197
|
-
${
|
|
1198
|
-
${
|
|
1199
|
-
${
|
|
1200
|
-
${
|
|
1201
|
-
${
|
|
1202
|
-
${
|
|
1203
|
-
${
|
|
1198
|
+
${k(te.elevation04,"none")};
|
|
1199
|
+
${k(te.elevation02,"none")};
|
|
1200
|
+
${k(te.borderStyle,"solid")};
|
|
1201
|
+
${k(te.borderRadius,$.borderRadiusS)};
|
|
1202
|
+
${k(te.colorSurface,Ne.resultBackgroundColor)};
|
|
1203
|
+
${k(te.borderColor,Ne.resultBorderColor)};
|
|
1204
|
+
${k(te.borderRadius,Ne.resultBorderRadius)};
|
|
1204
1205
|
}
|
|
1205
1206
|
|
|
1206
1207
|
ft-search-result-title {
|
|
1207
|
-
color: ${
|
|
1208
|
-
${
|
|
1208
|
+
color: ${Ne.resultTitleTextColor};
|
|
1209
|
+
${k(aa.highlightBackgroundColor,Ne.resultHighlightBackgroundColor)};
|
|
1209
1210
|
}
|
|
1210
1211
|
|
|
1211
1212
|
.breadcrumb {
|
|
1212
|
-
color: ${
|
|
1213
|
+
color: ${Ne.resultBreadcrumbTextColor};
|
|
1213
1214
|
}
|
|
1214
1215
|
|
|
1215
1216
|
ft-search-result-abstract {
|
|
1216
|
-
color: ${
|
|
1217
|
-
${
|
|
1217
|
+
color: ${Ne.resultContentTextColor};
|
|
1218
|
+
${k(oa.highlightBackgroundColor,Ne.resultHighlightBackgroundColor)};
|
|
1218
1219
|
}
|
|
1219
1220
|
|
|
1220
1221
|
ft-card:hover {
|
|
1221
|
-
${
|
|
1222
|
-
${
|
|
1222
|
+
${k(te.hoverBorderColor,Ne.resultHoverBorderColor)};
|
|
1223
|
+
${k(V.color,Ne.resultHoverBackgroundColor)};
|
|
1223
1224
|
}
|
|
1224
1225
|
|
|
1225
1226
|
.result-container {
|
|
@@ -1232,11 +1233,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1232
1233
|
text-decoration: none;
|
|
1233
1234
|
color: inherit;
|
|
1234
1235
|
}
|
|
1235
|
-
`;
|
|
1236
|
-
<div id="container" part="container" class=${
|
|
1237
|
-
${this.clickable?
|
|
1236
|
+
`;ft();D();se();var ch;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(ch||(ch={}));var eb=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},Mc=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Dc=Symbol("registerInterval");function tb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[Dc]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Dc]):this.dispatchEvent(new Mc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Dc,eb([he()],r.prototype,"stateManager",void 0),r}var ma=class extends tb(Le){};se();Fc();var ba=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};ft();var zc=pt.build("designedReaderSearchInDocument");D();F();se();D();Jn();Nt();wr();var xa=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},Ve=class extends ee{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return B`
|
|
1237
|
+
<div id="container" part="container" class=${bt(e)}>
|
|
1238
|
+
${this.clickable?B`
|
|
1238
1239
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
1239
|
-
`:
|
|
1240
|
+
`:G}
|
|
1240
1241
|
<div id="header" part="header">
|
|
1241
1242
|
<ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
|
|
1242
1243
|
<slot name="header"></slot>
|
|
@@ -1250,23 +1251,23 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1250
1251
|
</ft-typography>
|
|
1251
1252
|
</div>
|
|
1252
1253
|
</div>
|
|
1253
|
-
`}};
|
|
1254
|
-
<style> ${
|
|
1255
|
-
<a href="${
|
|
1254
|
+
`}};Ve.elementDefinitions={"ft-ripple":le,"ft-typography":be};Ve.styles=Uf;xa([N()],Ve.prototype,"title",void 0);xa([N({type:Boolean})],Ve.prototype,"clickable",void 0);xa([N({type:Boolean})],Ve.prototype,"selected",void 0);xa([N({type:Boolean})],Ve.prototype,"noHeader",void 0);Z("ft-card")(Ve);var Vt=function(t,e,r,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(a<3?c(s):a>3?c(e,r,s):c(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s},Me=class t extends Ze(ma){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(zc)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(e,r){var n;return B`
|
|
1255
|
+
<style> ${Zu}</style>
|
|
1256
|
+
<a href="${ya(e)}" @click="${()=>this.onLinkClick(e,r)} }">
|
|
1256
1257
|
<ft-card clickable noheader>
|
|
1257
1258
|
<div class="result-container">
|
|
1258
|
-
${this.hideResultTitle?
|
|
1259
|
+
${this.hideResultTitle?G:B`
|
|
1259
1260
|
<ft-search-result-title></ft-search-result-title>`}
|
|
1260
|
-
${this.hideResultBreadcrumb?
|
|
1261
|
+
${this.hideResultBreadcrumb?G:B`
|
|
1261
1262
|
<ft-typography class="breadcrumb" variant="caption">${(n=e.topic)===null||n===void 0?void 0:n.breadcrumb.join(" > ")}</ft-typography>
|
|
1262
1263
|
`}
|
|
1263
|
-
${this.hideResultAbstract?
|
|
1264
|
+
${this.hideResultAbstract?G:B`
|
|
1264
1265
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1265
1266
|
`}
|
|
1266
1267
|
</div>
|
|
1267
1268
|
</ft-card>
|
|
1268
1269
|
</a>
|
|
1269
|
-
`}render(){return this.map?
|
|
1270
|
+
`}render(){return this.map?B`
|
|
1270
1271
|
<ft-search-context id="${this.uniqueId}"
|
|
1271
1272
|
contentLocale="${this.map.lang}"
|
|
1272
1273
|
query="${this.searchInDocumentQuery}"
|
|
@@ -1274,11 +1275,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1274
1275
|
scope="ALL_TOPICS"
|
|
1275
1276
|
ignoreEmptyQuery
|
|
1276
1277
|
@ft-search-request-change=${e=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentQuery(e.detail.query)}}
|
|
1277
|
-
@ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new
|
|
1278
|
+
@ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new ba({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(r=this.map)===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
|
|
1278
1279
|
<div class="ft-search-in-doc--container">
|
|
1279
|
-
<ft-search-input placeholder=${
|
|
1280
|
+
<ft-search-input placeholder=${zc.messages.placeholder()}
|
|
1280
1281
|
@change="${()=>this.userHasDoneManualAction=!0}"></ft-search-input>
|
|
1281
|
-
${this.hideResultsNumber?
|
|
1282
|
+
${this.hideResultsNumber?G:B`
|
|
1282
1283
|
<ft-search-results-number @ft-search-result-click=${e=>e.stopPropagation()}></ft-search-results-number>
|
|
1283
1284
|
`}
|
|
1284
1285
|
<ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
|
|
@@ -1290,7 +1291,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1290
1291
|
</slot>
|
|
1291
1292
|
</div>
|
|
1292
1293
|
</ft-search-context>
|
|
1293
|
-
`:
|
|
1294
|
+
`:G}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 Xr(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Fh(),Wh)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(qh(),jh)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(em(),Qh)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(il(),rm)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(cl(),nm)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(fm(),pm)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(mm(),hm)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Me.elementDefinitions={"ft-card":Ve};Me.styles=Gu;Vt([ae()],Me.prototype,"map",void 0);Vt([ae()],Me.prototype,"searchInDocumentQuery",void 0);Vt([Se("ft-search-context")],Me.prototype,"searchContext",void 0);Vt([Se("ft-search-results")],Me.prototype,"searchResults",void 0);Vt([N({type:Boolean})],Me.prototype,"hideResultTitle",void 0);Vt([N({type:Boolean})],Me.prototype,"hideResultBreadcrumb",void 0);Vt([N({type:Boolean})],Me.prototype,"hideResultAbstract",void 0);Vt([N({type:Boolean})],Me.prototype,"hideResultsNumber",void 0);Z("ft-reader-search-in-document")(Me);})();
|
|
1294
1295
|
/*! Bundled license information:
|
|
1295
1296
|
|
|
1296
1297
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|