@fluid-topics/ft-search-selected-facets 1.1.101 → 1.1.102

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.
@@ -2,8 +2,8 @@
2
2
  \f\r]`,qr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Es=/-->/g,ws=/>/g,Vt=RegExp(`>|${Bi}(?:([^\\s"'>=/]+)(${Bi}*=${Bi}*(?:[^
3
3
  \f\r"'\`<>=]|("|')|))|$)`,"g"),As=/'/g,Rs=/"/g,Ps=/^(?:script|style|textarea|title)$/i,$s=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Ls=$s(1),Is=$s(2),ke=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),Ns=new WeakMap,jt=Kt.createTreeWalker(Kt,129);function ks(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Cs!==void 0?Cs.createHTML(e):e}var Ds=(t,e)=>{let r=t.length-1,o=[],n,a=e===2?"<svg>":"",s=qr;for(let l=0;l<r;l++){let c=t[l],p,f,h=-1,g=0;for(;g<c.length&&(s.lastIndex=g,f=s.exec(c),f!==null);)g=s.lastIndex,s===qr?f[1]==="!--"?s=Es:f[1]!==void 0?s=ws:f[2]!==void 0?(Ps.test(f[2])&&(n=RegExp("</"+f[2],"g")),s=Vt):f[3]!==void 0&&(s=Vt):s===Vt?f[0]===">"?(s=n??qr,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,p=f[1],s=f[3]===void 0?Vt:f[3]==='"'?Rs:As):s===Rs||s===As?s=Vt:s===Es||s===ws?s=qr:(s=Vt,n=void 0);let b=s===Vt&&t[l+1].startsWith("/>")?" ":"";a+=s===qr?c+Xd:h>=0?(o.push(p),c.slice(0,h)+zi+c.slice(h)+ct+b):c+ct+(h===-2?l:b)}return[ks(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},Xr=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[p,f]=Ds(e,r);if(this.el=t.createElement(p,o),jt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=jt.nextNode())!==null&&c.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(zi)){let g=f[s++],b=n.getAttribute(h).split(ct),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Uo:x[1]==="?"?Bo:x[1]==="@"?Fo:Zt}),n.removeAttribute(h)}else h.startsWith(ct)&&(c.push({type:6,index:a}),n.removeAttribute(h));if(Ps.test(n.tagName)){let h=n.textContent.split(ct),g=h.length-1;if(g>0){n.textContent=ko?ko.emptyScript:"";for(let b=0;b<g;b++)n.append(h[b],Do()),jt.nextNode(),c.push({type:2,index:++a});n.append(h[g],Do())}}}else if(n.nodeType===8)if(n.data===Wi)c.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(ct,h+1))!==-1;)c.push({type:7,index:a}),h+=ct.length-1}a++}}static createElement(e,r){let o=Kt.createElement("template");return o.innerHTML=e,o}};function Gt(t,e,r=t,o){if(e===ke)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,a=Yr(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=n:r._$Cl=n),n!==void 0&&(e=Gt(t,n._$AS(t,e.values),n,o)),e}var Mo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,n=(e?.creationScope??Kt).importNode(r,!0);jt.currentNode=n;let a=jt.nextNode(),s=0,l=0,c=o[0];for(;c!==void 0;){if(s===c.index){let p;c.type===2?p=new Jr(a,a.nextSibling,this,e):c.type===1?p=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(p=new zo(a,this,e)),this._$AV.push(p),c=o[++l]}s!==c?.index&&(a=jt.nextNode(),s++)}return jt.currentNode=Kt,n}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Jr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=n,this._$Cv=n?.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=Gt(this,e,r),Yr(e)?e===ae||e==null||e===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):e!==this._$AH&&e!==ke&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ts(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&&Yr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Kt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Xr.createElement(ks(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Mo(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Ns.get(e.strings);return r===void 0&&Ns.set(e.strings,r=new Xr(e)),r}T(e){_s(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let a of e)n===r.length?r.push(o=new t(this.k(Do()),this.k(Do()),this,this.options)):o=r[n],o._$AI(a),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Zt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,a){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ae}_$AI(e,r=this,o,n){let a=this.strings,s=!1;if(a===void 0)e=Gt(this,e,r,0),s=!Yr(e)||e!==this._$AH&&e!==ke,s&&(this._$AH=e);else{let l=e,c,p;for(e=a[0],c=0;c<a.length-1;c++)p=Gt(this,l[o+c],r,c),p===ke&&(p=this._$AH[c]),s||=!Yr(p)||p!==this._$AH[c],p===ae?e=ae:e!==ae&&(e+=(p??"")+a[c+1]),this._$AH[c]=p}s&&!n&&this.O(e)}O(e){e===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Uo=class extends Zt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ae?void 0:e}},Bo=class extends Zt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ae)}},Fo=class extends Zt{constructor(e,r,o,n,a){super(e,r,o,n,a),this.type=5}_$AI(e,r=this){if((e=Gt(this,e,r,0)??ae)===ke)return;let o=this._$AH,n=e===ae&&o!==ae||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==ae&&(o===ae||n);n&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},zo=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Gt(this,e)}},Ms={j:zi,P:ct,A:Wi,C:1,M:Ds,L:Mo,R:Ts,V:Gt,D:Jr,I:Zt,H:Bo,N:Fo,U:Uo,B:zo},Jd=Fi.litHtmlPolyfillSupport;Jd?.(Xr,Jr),(Fi.litHtmlVersions??=[]).push("3.1.0");var Wo=globalThis,Qr=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hi=Symbol(),Us=new WeakMap,fr=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Hi)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(Qr&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Us.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Us.set(r,e))}return e}toString(){return this.cssText}},dt=t=>new fr(typeof t=="string"?t:t+"",void 0,Hi),N=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,n,a)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[a+1],t[0]);return new fr(r,t,Hi)},Ho=(t,e)=>{if(Qr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),n=Wo.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)}},eo=Qr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return dt(r)})(t):t;var{is:Qd,defineProperty:ep,getOwnPropertyDescriptor:tp,getOwnPropertyNames:rp,getOwnPropertySymbols:op,getPrototypeOf:ip}=Object,jo=globalThis,Bs=jo.trustedTypes,np=Bs?Bs.emptyScript:"",ap=jo.reactiveElementPolyfillSupport,to=(t,e)=>t,Vo={toAttribute(t,e){switch(e){case Boolean:t=t?np: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}},Vi=(t,e)=>!Qd(t,e),Fs={attribute:!0,type:String,converter:Vo,reflect:!1,hasChanged:Vi};Symbol.metadata??=Symbol("metadata"),jo.litPropertyMetadata??=new WeakMap;var et=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Fs){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),n=this.getPropertyDescriptor(e,o,r);n!==void 0&&ep(this.prototype,e,n)}}static getPropertyDescriptor(e,r,o){let{get:n,set:a}=tp(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Fs}static _$Ei(){if(this.hasOwnProperty(to("elementProperties")))return;let e=ip(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(to("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(to("properties"))){let r=this.properties,o=[...rp(r),...op(r)];for(let n of o)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,n]of r)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let n=this._$Eu(r,o);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let n of o)r.unshift(eo(n))}else e!==void 0&&r.push(eo(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ho(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r){let o=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,o);if(n!==void 0&&o.reflect===!0){let a=(o.converter?.toAttribute!==void 0?o.converter:Vo).toAttribute(r,o.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){let o=this.constructor,n=o._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=o.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Vo;this._$Em=n,this[n]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,o,n=!1,a){if(e!==void 0){if(o??=this.constructor.getPropertyOptions(e),!(o.hasChanged??Vi)(n?a:this[e],r))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,o){this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,a]of o)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$ET()}catch(o){throw e=!1,this._$ET(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[to("elementProperties")]=new Map,et[to("finalized")]=new Map,ap?.({ReactiveElement:et}),(jo.reactiveElementVersions??=[]).push("2.0.2");var Ki=globalThis,Ko=Ki.trustedTypes,zs=Ko?Ko.createPolicy("lit-html",{createHTML:t=>t}):void 0,Gi="$lit$",pt=`lit$${(Math.random()+"").slice(9)}$`,Zi="?"+pt,sp=`<${Zi}>`,Xt=document,oo=()=>Xt.createComment(""),io=t=>t===null||typeof t!="object"&&typeof t!="function",Gs=Array.isArray,Zs=t=>Gs(t)||typeof t?.[Symbol.iterator]=="function",ji=`[
4
4
  \f\r]`,ro=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ws=/-->/g,Hs=/>/g,qt=RegExp(`>|${ji}(?:([^\\s"'>=/]+)(${ji}*=${ji}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Vs=/'/g,js=/"/g,qs=/^(?:script|style|textarea|title)$/i,Ys=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),_=Ys(1),lp=Ys(2),wt=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Ks=new WeakMap,Yt=Xt.createTreeWalker(Xt,129);function Xs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return zs!==void 0?zs.createHTML(e):e}var Js=(t,e)=>{let r=t.length-1,o=[],n,a=e===2?"<svg>":"",s=ro;for(let l=0;l<r;l++){let c=t[l],p,f,h=-1,g=0;for(;g<c.length&&(s.lastIndex=g,f=s.exec(c),f!==null);)g=s.lastIndex,s===ro?f[1]==="!--"?s=Ws:f[1]!==void 0?s=Hs:f[2]!==void 0?(qs.test(f[2])&&(n=RegExp("</"+f[2],"g")),s=qt):f[3]!==void 0&&(s=qt):s===qt?f[0]===">"?(s=n??ro,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,p=f[1],s=f[3]===void 0?qt:f[3]==='"'?js:Vs):s===js||s===Vs?s=qt:s===Ws||s===Hs?s=ro:(s=qt,n=void 0);let b=s===qt&&t[l+1].startsWith("/>")?" ":"";a+=s===ro?c+sp:h>=0?(o.push(p),c.slice(0,h)+Gi+c.slice(h)+pt+b):c+pt+(h===-2?l:b)}return[Xs(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},no=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[p,f]=Js(e,r);if(this.el=t.createElement(p,o),Yt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=Yt.nextNode())!==null&&c.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Gi)){let g=f[s++],b=n.getAttribute(h).split(pt),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Zo:x[1]==="?"?qo:x[1]==="@"?Yo:Qt}),n.removeAttribute(h)}else h.startsWith(pt)&&(c.push({type:6,index:a}),n.removeAttribute(h));if(qs.test(n.tagName)){let h=n.textContent.split(pt),g=h.length-1;if(g>0){n.textContent=Ko?Ko.emptyScript:"";for(let b=0;b<g;b++)n.append(h[b],oo()),Yt.nextNode(),c.push({type:2,index:++a});n.append(h[g],oo())}}}else if(n.nodeType===8)if(n.data===Zi)c.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(pt,h+1))!==-1;)c.push({type:7,index:a}),h+=pt.length-1}a++}}static createElement(e,r){let o=Xt.createElement("template");return o.innerHTML=e,o}};function Jt(t,e,r=t,o){if(e===wt)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,a=io(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=n:r._$Cl=n),n!==void 0&&(e=Jt(t,n._$AS(t,e.values),n,o)),e}var Go=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,n=(e?.creationScope??Xt).importNode(r,!0);Yt.currentNode=n;let a=Yt.nextNode(),s=0,l=0,c=o[0];for(;c!==void 0;){if(s===c.index){let p;c.type===2?p=new ur(a,a.nextSibling,this,e):c.type===1?p=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(p=new Xo(a,this,e)),this._$AV.push(p),c=o[++l]}s!==c?.index&&(a=Yt.nextNode(),s++)}return Yt.currentNode=Xt,n}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},ur=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=n,this._$Cv=n?.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),io(e)?e===B||e==null||e===""?(this._$AH!==B&&this._$AR(),this._$AH=B):e!==this._$AH&&e!==wt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Zs(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!==B&&io(this._$AH)?this._$AA.nextSibling.data=e:this.$(Xt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=no.createElement(Xs(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Go(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Ks.get(e.strings);return r===void 0&&Ks.set(e.strings,r=new no(e)),r}T(e){Gs(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let a of e)n===r.length?r.push(o=new t(this.k(oo()),this.k(oo()),this,this.options)):o=r[n],o._$AI(a),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,a){this.type=1,this._$AH=B,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=B}_$AI(e,r=this,o,n){let a=this.strings,s=!1;if(a===void 0)e=Jt(this,e,r,0),s=!io(e)||e!==this._$AH&&e!==wt,s&&(this._$AH=e);else{let l=e,c,p;for(e=a[0],c=0;c<a.length-1;c++)p=Jt(this,l[o+c],r,c),p===wt&&(p=this._$AH[c]),s||=!io(p)||p!==this._$AH[c],p===B?e=B:e!==B&&(e+=(p??"")+a[c+1]),this._$AH[c]=p}s&&!n&&this.O(e)}O(e){e===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Zo=class extends Qt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===B?void 0:e}},qo=class extends Qt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==B)}},Yo=class extends Qt{constructor(e,r,o,n,a){super(e,r,o,n,a),this.type=5}_$AI(e,r=this){if((e=Jt(this,e,r,0)??B)===wt)return;let o=this._$AH,n=e===B&&o!==B||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==B&&(o===B||n);n&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Xo=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Jt(this,e)}},cp={j:Gi,P:pt,A:Zi,C:1,M:Js,L:Go,R:Zs,V:Jt,D:ur,I:Qt,H:qo,N:Yo,U:Zo,B:Xo},dp=Ki.litHtmlPolyfillSupport;dp?.(no,ur),(Ki.litHtmlVersions??=[]).push("3.1.0");var qi=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let a=r?.renderBefore??null;o._$litPart$=n=new ur(e.insertBefore(oo(),a),a,void 0,r??{})}return n._$AI(t),n};var ft=class extends et{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=qi(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return wt}};ft._$litElement$=!0,ft.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ft});var pp=globalThis.litElementPolyfillSupport;pp?.({LitElement:ft});var fp={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Wu=!1;var en={};J(en,{customElement:()=>up,eventOptions:()=>hr,property:()=>y,query:()=>W,queryAll:()=>Xi,queryAssignedElements:()=>Ji,queryAssignedNodes:()=>Qi,queryAsync:()=>yp,standardProperty:()=>Qs,state:()=>K});var up=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var hp={attribute:!0,type:String,converter:Zr,reflect:!1,hasChanged:Io},Qs=(t=hp,e,r)=>{let{kind:o,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),a.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(o==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+o)};function y(t){return(e,r)=>typeof r=="object"?Qs(t,e,r):((o,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,s?{...o,wrapped:!0}:o),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function K(t){return y({...t,state:!0,attribute:!1})}function hr(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var Ge=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function W(t,e){return(r,o,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof o=="object"?r:n??(()=>{let c=Symbol();return{get(){return this[c]},set(p){this[c]=p}}})();return Ge(r,o,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Ge(r,o,{get(){return a(this)}})}}var mp;function Xi(t){return(e,r)=>Ge(e,r,{get(){return(this.renderRoot??(mp??=document.createDocumentFragment())).querySelectorAll(t)}})}function yp(t){return(e,r)=>Ge(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Ji(t){return(e,r)=>{let{slot:o,selector:n}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Ge(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(c=>c.matches(n))}})}}function Qi(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return Ge(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var tn={};J(tn,{repeat:()=>yr});var At={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Rt=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:gp}=Ms;var el=()=>document.createComment(""),mr=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore(el(),n),s=o.insertBefore(el(),n);r=new gp(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!==n||l){let c=r._$AA;for(;c!==a;){let p=c.nextSibling;o.insertBefore(c,n),c=p}}}return r},Nt=(t,e,r=t)=>(t._$AI(e,r),t),bp={},tl=(t,e=bp)=>t._$AH=e,rl=t=>t._$AH,Jo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var ol=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},yr=Rt(class extends tt{constructor(t){if(super(t),t.type!==At.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let n=[],a=[],s=0;for(let l of t)n[s]=o?o(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,o]){let n=rl(t),{values:a,keys:s}=this.ht(e,r,o);if(!Array.isArray(n))return this.dt=s,a;let l=this.dt??=[],c=[],p,f,h=0,g=n.length-1,b=0,x=a.length-1;for(;h<=g&&b<=x;)if(n[h]===null)h++;else if(n[g]===null)g--;else if(l[h]===s[b])c[b]=Nt(n[h],a[b]),h++,b++;else if(l[g]===s[x])c[x]=Nt(n[g],a[x]),g--,x--;else if(l[h]===s[x])c[x]=Nt(n[h],a[x]),mr(t,c[x+1],n[h]),h++,x--;else if(l[g]===s[b])c[b]=Nt(n[g],a[b]),mr(t,n[h],n[g]),g--,b++;else if(p===void 0&&(p=ol(s,b,x),f=ol(l,h,g)),p.has(l[h]))if(p.has(l[g])){let C=f.get(s[b]),$=C!==void 0?n[C]:null;if($===null){let L=mr(t,n[h]);Nt(L,a[b]),c[b]=L}else c[b]=Nt($,a[b]),mr(t,n[h],$),n[C]=null;b++}else Jo(n[g]),g--;else Jo(n[h]),h++;for(;b<=x;){let C=mr(t,c[x+1]);Nt(C,a[b]),c[b++]=C}for(;h<=g;){let C=n[h++];C!==null&&Jo(C)}return this.dt=s,tl(t,c),ke}});var rn={};J(rn,{classMap:()=>Ee});var Ee=Rt(class extends tt{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in e)e[o]&&!this.st?.has(o)&&this.it.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.it)o in e||(r.remove(o),this.it.delete(o));for(let o in e){let n=!!e[o];n===this.it.has(o)||this.st?.has(o)||(n?(r.add(o),this.it.add(o)):(r.remove(o),this.it.delete(o)))}return ke}});var on={};J(on,{styleMap:()=>vp});var il="important",xp=" !"+il,vp=Rt(class extends tt{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let o of this.ut)e[o]==null&&(this.ut.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let n=e[o];if(n!=null){this.ut.add(o);let a=typeof n=="string"&&n.endsWith(xp);o.includes("-")||a?r.setProperty(o,a?n.slice(0,-11):n,a?il:""):r[o]=n}}return ke}});var an={};J(an,{UnsafeHTMLDirective:()=>gr,unsafeHTML:()=>nn});var gr=class extends tt{constructor(e){if(super(e),this.et=ae,e.type!==At.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===ke)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:[]}}};gr.directiveName="unsafeHTML",gr.resultType=1;var nn=Rt(gr);var ln={};J(ln,{CacheRegistry:()=>rt});var sn={};J(sn,{CancelablePromise:()=>br,CanceledPromiseError:()=>_t,cancelable:()=>xr});var _t=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},br=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new _t("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new _t("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},xr=t=>new br((e,r)=>t.then(e).catch(r));var rt=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof br&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,o){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let n=xr(r());return this.content[e]=n,n.then(a=>(this.content[e]=a,o!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),o)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var dn={};J(dn,{ClusteringHelper:()=>cn});var cn=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static extractResultMetadata(e,r){var o,n;let a=((n=(o=e?.map)!==null&&o!==void 0?o:e?.document)!==null&&n!==void 0?n:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(o=>t.flattenMetadata(o)).filter(o=>o!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let o=[],n=[];return e.hierarchicalValues.forEach(a=>{o.push(a.join(" > ")),a.length>2?n.push(`... > ${a[a.length-1]}`):n.push(a.join(" > "))}),{key:e.key,label:e.label,value:o.join(", "),displayValue:n.join(", ")}}else{let o=e.values.join(", ");return{key:e.key,label:e.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(e,r,o="No value"){var n,a;let s=t.extractResultMetadata(this.selectedResult,e),l=(n=s?.label)!==null&&n!==void 0?n:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(p=>t.extractResultMetadata(p,e)).map(p=>p??{key:e,label:l,value:void 0,displayValue:o}).filter(p=>p.value!=s?.value).filter((p,f,h)=>h.findIndex(g=>g.value===p.value)===f).map(p=>({result:this.findBestResultForMetadataValue(e,p.value),metadata:p})).sort((p,f)=>this.compareMetadata(p.metadata.value,f.metadata.value,e,r))}compareMetadata(e,r,o,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(o),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,n,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(c=>{var p;return((p=t.extractResultMetadata(c,e))===null||p===void 0?void 0:p.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of o){let p=this.countMatchingMetadata(c,a);if(p>l&&(l=p,s=c,p===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(o=>r.some(n=>n.key===o.key&&n.value===o.value)).length}};var pn={};J(pn,{Debouncer:()=>oe});var oe=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var hn={};J(hn,{customElement:()=>F,isNumber:()=>sl,jsonProperty:()=>be,optionalNumberProperty:()=>Ap});var un={};J(un,{dateReviver:()=>Op,deepEqual:()=>De,delay:()=>Qo,eventPathContainsMatchingElement:()=>Ep,flatDeep:()=>ut,hasChanged:()=>ao,last:()=>wp,minmax:()=>fn,parseDate:()=>al,waitFor:()=>nl,waitUntil:()=>Sp});var Qo=t=>new Promise(e=>setTimeout(e,t));async function Sp(t,e=10,r=2e4){await nl(async()=>await t()||void 0,e,r)}async function nl(t,e=10,r=2e4){let o=await t(),n,a;for(n=a=performance.now();o==null&&(!r||a-n<r);)await Qo(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function ut(t,e){return t.flatMap(r=>[r,...ut(e(r),e)])}function Op(...t){return function(e,r){return t.includes(e)?al(r):r}}function al(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,n)=>r+o+":"+n),new Date(t)}function Cp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,o,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!De(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!De(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(n=Object.keys(t),r=n.length,r!==Object.keys(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=r;o--!==0;){var a=n[o];if(!De(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function De(t,e){try{return Cp(t,e)}catch{return!1}}function ao(t,e){return!De(t,e)}function Ep(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let n of o){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function fn(t,e,r){return Math.min(Math.max(t,e),r)}function wp(t){return t[t.length-1]}var F=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function be(t,e){let r=()=>JSON.parse(JSON.stringify(t));return y({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:ao,...e??{}})}function Ap(t){return y({type:Object,converter:{fromAttribute:e=>{if(e!=null)return sl(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function sl(t){return!isNaN(parseFloat(t))}var Hn={};J(Hn,{designSystemVariables:()=>P});var Wn={};J(Wn,{DesignSystemFamily:()=>mt,DesignSystemSize:()=>he,FtCssVariableFactory:()=>i,badge:()=>Tp,banner:()=>_p,breadcrumb:()=>Pp,button:()=>w,chart:()=>Vp,checkbox:()=>Kp,chip:()=>H,collapsible:()=>Wp,comboboxMultiSelect:()=>Fp,comboboxSingleSelect:()=>Bp,drawer:()=>Ip,floatingMenu:()=>Up,foundation:()=>d,link:()=>Np,modal:()=>Lp,notice:()=>jp,notification:()=>qp,pageHeader:()=>$p,popover:()=>zp,radio:()=>Zp,resolveFamilyClass:()=>Fn,resolveSizeClass:()=>zn,semantic:()=>u,setVariable:()=>T,switch_:()=>Hp,tabs:()=>kp,textArea:()=>Mp,textInput:()=>Dp,toggle:()=>Gp,tooltip:()=>Yp,typographies:()=>so,typographyBody1Medium:()=>vn,typographyBody1Regular:()=>xn,typographyBody1Semibold:()=>Sn,typographyBody2Medium:()=>Cn,typographyBody2MediumUnderline:()=>ll,typographyBody2Regular:()=>On,typographyBody2Semibold:()=>En,typographyCaption1Bold:()=>Ln,typographyCaption1Medium:()=>Pn,typographyCaption1Semibold:()=>$n,typographyCaption2Bold:()=>Dn,typographyCaption2Medium:()=>In,typographyCaption2Semibold:()=>kn,typographyCaption3Bold:()=>Bn,typographyCaption3Medium:()=>Mn,typographyCaption3Semibold:()=>Un,typographyDisplay:()=>mn,typographyLabel1Bold:()=>Rn,typographyLabel1Medium:()=>wn,typographyLabel1Semibold:()=>An,typographyLabel2Bold:()=>Tn,typographyLabel2Medium:()=>Nn,typographyLabel2Semibold:()=>_n,typographyTitle1:()=>yn,typographyTitle2:()=>gn,typographyTitle3:()=>bn,typographyVariants:()=>Rp});var ht=t=>typeof t=="string"?dt(t):t,i=class{static create(e,r,o,n){let a=l=>ht(l??n),s=N`var(${ht(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>N`var(${ht(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,o,n){let a=l=>o.get(l??n),s=N`var(${ht(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>N`var(${ht(e)}, ${a(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>n??o.lastResortDefaultValue(),s}static external(e,r){let o=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ht(a??e.lastResortDefaultValue()),n=N`var(${ht(e.name)}, ${o(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=o,n.get=a=>N`var(${ht(e.name)}, ${o(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function T(t,e){return ht(`${t.name}: ${e}`)}var d={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)")},mn={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")},yn={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")},gn={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")},bn={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")},xn={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")},vn={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")},Sn={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")},On={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")},Cn={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")},ll={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")},En={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")},wn={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")},An={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")},Rn={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")},Nn={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")},_n={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")},Tn={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")},$n={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")},Ln={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")},In={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")},Dn={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")},Mn={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")},Un={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")},Bn={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")},so={display:mn,"title-1":yn,"title-2":gn,"title-3":bn,"body-1-regular":xn,"body-1-medium":vn,"body-1-semibold":Sn,"body-2-regular":On,"body-2-medium":Cn,"body-2-medium-underline":ll,"body-2-semibold":En,"label-1-medium":wn,"label-1-semibold":An,"label-1-bold":Rn,"label-2-medium":Nn,"label-2-semibold":_n,"label-2-bold":Tn,"caption-1-medium":Pn,"caption-1-semibold":$n,"caption-1-bold":Ln,"caption-2-medium":In,"caption-2-semibold":kn,"caption-2-bold":Dn,"caption-3-medium":Mn,"caption-3-semibold":Un,"caption-3-bold":Bn},Rp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:i.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:i.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:i.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:i.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:i.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:i.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:i.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:i.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:i.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:i.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:i.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:i.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:i.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:i.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:i.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:i.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:i.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:i.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:i.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:i.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:i.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:i.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:i.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:i.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:i.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:i.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:i.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:i.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:i.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:i.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:i.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:i.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:i.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var w={largeHeight:i.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:i.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:i.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:i.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:i.extend("--ft-button-large-icon-size","",d.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","",d.spacing3),mediumGap:i.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:i.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:i.extend("--ft-button-medium-icon-size","",d.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","",d.spacing2),smallGap:i.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:i.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:i.extend("--ft-button-small-icon-size","",d.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","",d.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","",d.borderRadiusPill),primaryBackgroundColor:i.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:i.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:i.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:i.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:i.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:i.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:i.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:i.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:i.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:i.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:i.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:i.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:i.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:i.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:i.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:i.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:i.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:i.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:i.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:i.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:i.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:i.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:i.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:i.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:i.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:i.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:i.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:i.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:i.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:i.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:i.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:i.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:i.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:i.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var H={largeMinHeight:i.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:i.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:i.extend("--ft-chip-large-gap","",d.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.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:i.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:i.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:i.extend("--ft-chip-medium-gap","",d.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.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:i.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:i.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:i.extend("--ft-chip-small-gap","",d.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.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:i.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:i.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:i.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:i.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:i.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:i.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:i.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Np={focusOpacity:i.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:i.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:i.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:i.extend("--ft-link-info-color","",u.contentInfoPrimary)};var _p={iconSize:i.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:i.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:i.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:i.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:i.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:i.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:i.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:i.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:i.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:i.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Tp={horizontalPadding:i.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:i.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:i.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:i.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:i.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Pp={horizontalGap:i.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:i.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:i.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:i.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:i.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var $p={horizontalPadding:i.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:i.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:i.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:i.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:i.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:i.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:i.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:i.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:i.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:i.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Lp={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","",d.colorGray700),overlayOpacity:i.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:i.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:i.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:i.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:i.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:i.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:i.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:i.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:i.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:i.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:i.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:i.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:i.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:i.extend("--ft-modal-border-radius","",d.borderRadiusM)};var Ip={overlayOpacity:i.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:i.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:i.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:i.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:i.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:i.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:i.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:i.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:i.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:i.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:i.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:i.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:i.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:i.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:i.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:i.extend("--ft-drawer-buttons-bar-gap","",d.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","",d.colorGray700)};var kp={offBorderBottomWidth:i.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:i.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:i.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:i.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:i.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:i.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:i.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:i.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:i.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:i.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:i.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:i.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:i.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:i.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:i.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:i.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:i.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:i.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:i.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:i.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:i.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:i.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:i.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:i.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Dp={fieldHorizontalPadding:i.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:i.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:i.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:i.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:i.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:i.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:i.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:i.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:i.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:i.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:i.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:i.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:i.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ft-text-input-error-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var Mp={backgroundColor:i.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:i.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:i.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:i.extend("--ft-text-area-focus-focus-ring-color","",u.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","",d.opacity40),fieldHorizontalLeftPadding:i.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:i.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:i.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:i.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:i.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:i.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:i.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:i.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var Up={height:i.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:i.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:i.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:i.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:i.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:i.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:i.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:i.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:i.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:i.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:i.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:i.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:i.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var Bp={fieldHorizontalPadding:i.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:i.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:i.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:i.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:i.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:i.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:i.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:i.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:i.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:i.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:i.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:i.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:i.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:i.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:i.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-combobox-single-select-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:i.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:i.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var Fp={backgroundColor:i.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:i.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:i.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:i.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:i.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:i.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:i.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:i.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.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","",d.opacity40),helperHorizontalPadding:i.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:i.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:i.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:i.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:i.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:i.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:i.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:i.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:i.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:i.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:i.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:i.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var zp={backgroundColor:i.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:i.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:i.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:i.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:i.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:i.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:i.extend("--ft-popover-gap","",d.spacing3),borderRadius:i.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:i.extend("--ft-popover-shadow","",d.shadowElevation02)};var Wp={hoverStateLayerOpacity:i.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:i.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:i.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:i.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:i.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:i.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:i.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:i.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:i.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:i.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:i.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:i.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:i.extend("--ft-collapsible-icon-size","",d.iconSize3)};var Hp={groupHorizontalPadding:i.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:i.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:i.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:i.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:i.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:i.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:i.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:i.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:i.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:i.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:i.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:i.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:i.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:i.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:i.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:i.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:i.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:i.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:i.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:i.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:i.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var Vp={color1Light:i.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:i.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:i.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:i.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:i.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:i.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:i.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:i.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:i.extend("--ft-chart-5-light","",d.colorRed40),color5Base:i.extend("--ft-chart-5-base","",d.colorRed60),color6Light:i.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:i.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:i.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:i.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:i.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:i.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:i.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:i.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:i.extend("--ft-chart-10-light","",d.colorGray50),color10Base:i.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:i.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:i.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:i.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:i.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:i.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:i.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var jp={borderWidth:i.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:i.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:i.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:i.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:i.extend("--ft-notice-gap","",d.spacing2),iconSize:i.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:i.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:i.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:i.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:i.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:i.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:i.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:i.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:i.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:i.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:i.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:i.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:i.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var Kp={color:i.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:i.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:i.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:i.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:i.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:i.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:i.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:i.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:i.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:i.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:i.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:i.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:i.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:i.extend("--ft-checkbox-focus-focus-ring-color","",u.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","",d.spacing3)};var Gp={offHoverStateLayerOpacity:i.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:i.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:i.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:i.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:i.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:i.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:i.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:i.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:i.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:i.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:i.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:i.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:i.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:i.extend("--ft-toggle-gap","",d.spacing3)};var Zp={color:i.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:i.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:i.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:i.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:i.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:i.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:i.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:i.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:i.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:i.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:i.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:i.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:i.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:i.extend("--ft-radio-focus-focus-ring-color","",u.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","",d.spacing3)};var qp={iconSize:i.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:i.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:i.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:i.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:i.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:i.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:i.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:i.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:i.extend("--ft-notification-trailing-gap","",d.spacing8)};var Yp={horizontalPadding:i.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:i.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:i.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:i.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:i.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:i.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:i.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","256px"),gap:i.extend("--ft-tooltip-gap","",d.spacing05)};var mt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(mt||(mt={}));var he;(function(t){t.large="large",t.medium="medium",t.small="small"})(he||(he={}));function Fn(t){return`ftds--family-${t}`}function zn(t){return`ftds--size-${t}`}var P={colorPrimary:i.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:i.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:i.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:i.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:i.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:i.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:i.create("--ft-color-error","","COLOR","#B00020"),colorOutline:i.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:i.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:i.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:i.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:i.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:i.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:i.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:i.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:i.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:i.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:i.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:i.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:i.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:i.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:i.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:i.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:i.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:i.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:i.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:i.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:i.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:i.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:i.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:i.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:i.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:i.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:i.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:i.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:i.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:i.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:i.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:i.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:i.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:i.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:i.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:i.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:i.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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: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"),titleFont:i.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:i.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:i.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:i.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Gn={};J(Gn,{FtNotificationEvent:()=>Vn,PostResizeEvent:()=>Kn,PreResizeEvent:()=>jn});var Vn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},jn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Kn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var na={};J(na,{computeOffsetPosition:()=>ia});var dl=["top","right","bottom","left"],cl=["start","end"],qn=dl.reduce((t,e)=>t.concat(e,e+"-"+cl[0],e+"-"+cl[1]),[]),lo=Math.min,Tt=Math.max,co=Math.round;var yt=t=>({x:t,y:t}),Xp={left:"right",right:"left",bottom:"top",top:"bottom"},Jp={start:"end",end:"start"};function Yn(t,e,r){return Tt(t,lo(e,r))}function ei(t,e){return typeof t=="function"?t(e):t}function vr(t){return t.split("-")[0]}function Pt(t){return t.split("-")[1]}function Xn(t){return t==="x"?"y":"x"}function Jn(t){return t==="y"?"height":"width"}function ti(t){return["top","bottom"].includes(vr(t))?"y":"x"}function Qn(t){return Xn(ti(t))}function pl(t,e,r){r===void 0&&(r=!1);let o=Pt(t),n=Qn(t),a=Jn(n),s=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Zn(s)),[s,Zn(s)]}function fl(t){return t.replace(/start|end/g,e=>Jp[e])}function Zn(t){return t.replace(/left|right|bottom|top/g,e=>Xp[e])}function Qp(t){return{top:0,right:0,bottom:0,left:0,...t}}function ul(t){return typeof t!="number"?Qp(t):{top:t,right:t,bottom:t,left:t}}function er(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function hl(t,e,r){let{reference:o,floating:n}=t,a=ti(e),s=Qn(e),l=Jn(s),c=vr(e),p=a==="y",f=o.x+o.width/2-n.width/2,h=o.y+o.height/2-n.height/2,g=o[l]/2-n[l]/2,b;switch(c){case"top":b={x:f,y:o.y-n.height};break;case"bottom":b={x:f,y:o.y+o.height};break;case"right":b={x:o.x+o.width,y:h};break;case"left":b={x:o.x-n.width,y:h};break;default:b={x:o.x,y:o.y}}switch(Pt(e)){case"start":b[s]-=g*(r&&p?-1:1);break;case"end":b[s]+=g*(r&&p?-1:1);break}return b}var ml=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:f,y:h}=hl(p,o,c),g=o,b={},x=0;for(let C=0;C<l.length;C++){let{name:$,fn:L}=l[C],{x:I,y:O,data:S,reset:E}=await L({x:f,y:h,initialPlacement:o,placement:g,strategy:n,middlewareData:b,rects:p,platform:s,elements:{reference:t,floating:e}});if(f=I??f,h=O??h,b={...b,[$]:{...b[$],...S}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):E.rects),{x:f,y:h}=hl(p,g,c)),C=-1;continue}}return{x:f,y:h,placement:g,strategy:n,middlewareData:b}};async function ea(t,e){var r;e===void 0&&(e={});let{x:o,y:n,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:b=0}=ei(e,t),x=ul(b),$=l[g?h==="floating"?"reference":"floating":h],L=er(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:p,rootBoundary:f,strategy:c})),I=h==="floating"?{...s.floating,x:o,y:n}: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},E=er(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:O,strategy:c}):I);return{top:(L.top-E.top+x.top)/S.y,bottom:(E.bottom-L.bottom+x.bottom)/S.y,left:(L.left-E.left+x.left)/S.x,right:(E.right-L.right+x.right)/S.x}}function ef(t,e,r){return(t?[...r.filter(n=>Pt(n)===t),...r.filter(n=>Pt(n)!==t)]:r.filter(n=>vr(n)===n)).filter(n=>t?Pt(n)===t||(e?fl(n)!==n:!1):!0)}var ta=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,n;let{rects:a,middlewareData:s,placement:l,platform:c,elements:p}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:g=qn,autoAlignment:b=!0,...x}=ei(t,e),C=h!==void 0||g===qn?ef(h||null,b,g):g,$=await ea(e,x),L=((r=s.autoPlacement)==null?void 0:r.index)||0,I=C[L];if(I==null)return{};let O=pl(I,a,await(c.isRTL==null?void 0:c.isRTL(p.floating)));if(l!==I)return{reset:{placement:C[0]}};let S=[$[vr(I)],$[O[0]],$[O[1]]],E=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:I,overflows:S}],U=C[L+1];if(U)return{data:{index:L+1,overflows:E},reset:{placement:U}};let z=E.map(m=>{let v=Pt(m.placement);return[m.placement,v&&f?m.overflows.slice(0,2).reduce((R,j)=>R+j,0):m.overflows[0],m.overflows]}).sort((m,v)=>m[1]-v[1]),Z=((n=z.filter(m=>m[2].slice(0,Pt(m[0])?2:3).every(v=>v<=0))[0])==null?void 0:n[0])||z[0][0];return Z!==l?{data:{index:L+1,overflows:E},reset:{placement:Z}}:{}}}};var ra=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:$=>{let{x:L,y:I}=$;return{x:L,y:I}}},...c}=ei(t,e),p={x:r,y:o},f=await ea(e,c),h=ti(vr(n)),g=Xn(h),b=p[g],x=p[h];if(a){let $=g==="y"?"top":"left",L=g==="y"?"bottom":"right",I=b+f[$],O=b-f[L];b=Yn(I,b,O)}if(s){let $=h==="y"?"top":"left",L=h==="y"?"bottom":"right",I=x+f[$],O=x-f[L];x=Yn(I,x,O)}let C=l.fn({...e,[g]:b,[h]:x});return{...C,data:{x:C.x-r,y:C.y-o}}}}};function gt(t){return gl(t)?(t.nodeName||"").toLowerCase():"#document"}function Ne(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function bt(t){var e;return(e=(gl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function gl(t){return t instanceof Node||t instanceof Ne(t).Node}function ot(t){return t instanceof Element||t instanceof Ne(t).Element}function Ze(t){return t instanceof HTMLElement||t instanceof Ne(t).HTMLElement}function yl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ne(t).ShadowRoot}function Sr(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=Me(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!["inline","contents"].includes(n)}function bl(t){return["table","td","th"].includes(gt(t))}function oi(t){let e=ii(),r=Me(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function xl(t){let e=tr(t);for(;Ze(e)&&!po(e);){if(oi(e))return e;e=tr(e)}return null}function ii(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function po(t){return["html","body","#document"].includes(gt(t))}function Me(t){return Ne(t).getComputedStyle(t)}function fo(t){return ot(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tr(t){if(gt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||yl(t)&&t.host||bt(t);return yl(e)?e.host:e}function vl(t){let e=tr(t);return po(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ze(e)&&Sr(e)?e:vl(e)}function ri(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=vl(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=Ne(n);return a?e.concat(s,s.visualViewport||[],Sr(n)?n:[],s.frameElement&&r?ri(s.frameElement):[]):e.concat(n,ri(n,[],r))}function Cl(t){let e=Me(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=Ze(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=co(r)!==a||co(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function El(t){return ot(t)?t:t.contextElement}function Or(t){let e=El(t);if(!Ze(e))return yt(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:a}=Cl(e),s=(a?co(r.width):r.width)/o,l=(a?co(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var tf=yt(0);function wl(t){let e=Ne(t);return!ii()||!e.visualViewport?tf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function rf(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ne(t)?!1:e}function uo(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=El(t),s=yt(1);e&&(o?ot(o)&&(s=Or(o)):s=Or(t));let l=rf(a,r,o)?wl(a):yt(0),c=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,f=n.width/s.x,h=n.height/s.y;if(a){let g=Ne(a),b=o&&ot(o)?Ne(o):o,x=g.frameElement;for(;x&&o&&b!==g;){let C=Or(x),$=x.getBoundingClientRect(),L=Me(x),I=$.left+(x.clientLeft+parseFloat(L.paddingLeft))*C.x,O=$.top+(x.clientTop+parseFloat(L.paddingTop))*C.y;c*=C.x,p*=C.y,f*=C.x,h*=C.y,c+=I,p+=O,x=Ne(x).frameElement}}return er({width:f,height:h,x:c,y:p})}function of(t){let{rect:e,offsetParent:r,strategy:o}=t,n=Ze(r),a=bt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=yt(1),c=yt(0);if((n||!n&&o!=="fixed")&&((gt(r)!=="body"||Sr(a))&&(s=fo(r)),Ze(r))){let p=uo(r);l=Or(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function nf(t){return Array.from(t.getClientRects())}function Al(t){return uo(bt(t)).left+fo(t).scrollLeft}function af(t){let e=bt(t),r=fo(t),o=t.ownerDocument.body,n=Tt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=Tt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+Al(t),l=-r.scrollTop;return Me(o).direction==="rtl"&&(s+=Tt(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:s,y:l}}function sf(t,e){let r=Ne(t),o=bt(t),n=r.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,c=0;if(n){a=n.width,s=n.height;let p=ii();(!p||p&&e==="fixed")&&(l=n.offsetLeft,c=n.offsetTop)}return{width:a,height:s,x:l,y:c}}function lf(t,e){let r=uo(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,a=Ze(t)?Or(t):yt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=n*a.x,p=o*a.y;return{width:s,height:l,x:c,y:p}}function Sl(t,e,r){let o;if(e==="viewport")o=sf(t,r);else if(e==="document")o=af(bt(t));else if(ot(e))o=lf(e,r);else{let n=wl(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return er(o)}function Rl(t,e){let r=tr(t);return r===e||!ot(r)||po(r)?!1:Me(r).position==="fixed"||Rl(r,e)}function cf(t,e){let r=e.get(t);if(r)return r;let o=ri(t,[],!1).filter(l=>ot(l)&&gt(l)!=="body"),n=null,a=Me(t).position==="fixed",s=a?tr(t):t;for(;ot(s)&&!po(s);){let l=Me(s),c=oi(s);!c&&l.position==="fixed"&&(n=null),(a?!c&&!n:!c&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Sr(s)&&!c&&Rl(t,s))?o=o.filter(f=>f!==s):n=l,s=tr(s)}return e.set(t,o),o}function df(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,s=[...r==="clippingAncestors"?cf(e,this._c):[].concat(r),o],l=s[0],c=s.reduce((p,f)=>{let h=Sl(e,f,n);return p.top=Tt(h.top,p.top),p.right=lo(h.right,p.right),p.bottom=lo(h.bottom,p.bottom),p.left=Tt(h.left,p.left),p},Sl(e,l,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function pf(t){return Cl(t)}function ff(t,e,r){let o=Ze(e),n=bt(e),a=r==="fixed",s=uo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=yt(0);if(o||!o&&!a)if((gt(e)!=="body"||Sr(n))&&(l=fo(e)),o){let p=uo(e,!0,a,e);c.x=p.x+e.clientLeft,c.y=p.y+e.clientTop}else n&&(c.x=Al(n));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Ol(t,e){return!Ze(t)||Me(t).position==="fixed"?null:e?e(t):t.offsetParent}function Nl(t,e){let r=Ne(t);if(!Ze(t))return r;let o=Ol(t,e);for(;o&&bl(o)&&Me(o).position==="static";)o=Ol(o,e);return o&&(gt(o)==="html"||gt(o)==="body"&&Me(o).position==="static"&&!oi(o))?r:o||xl(t)||r}var uf=async function(t){let{reference:e,floating:r,strategy:o}=t,n=this.getOffsetParent||Nl,a=this.getDimensions;return{reference:ff(e,await n(r),o),floating:{x:0,y:0,...await a(r)}}};function hf(t){return Me(t).direction==="rtl"}var ni={convertOffsetParentRelativeRectToViewportRelativeRect:of,getDocumentElement:bt,getClippingRect:df,getOffsetParent:Nl,getElementRects:uf,getClientRects:nf,getDimensions:pf,getScale:Or,isElement:ot,isRTL:hf};var _l=(t,e,r)=>{let o=new Map,n={platform:ni,...r},a={...n.platform,_c:o};return ml(t,e,{...n,platform:a})};function Tl(t){return mf(t)}function oa(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function mf(t){for(let e=t;e;e=oa(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=oa(t);e;e=oa(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}async function ia(t,e,r){return _l(t,e,{platform:{...ni,getOffsetParent:o=>ni.getOffsetParent(o,Tl)},middleware:[ra({crossAxis:!0}),ta({allowedPlacements:[r]})]})}var la={};J(la,{FtdsBase:()=>mo,toFtdsBase:()=>li});var sa={};J(sa,{FtLitElement:()=>M});var aa={};J(aa,{ScopedRegistryLitElement:()=>ho});var ai=window,yf=ai.ShadowRoot&&(ai.ShadyCSS===void 0||ai.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Zg=Symbol();var Pl=(t,e)=>{yf?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let o=document.createElement("style"),n=ai.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)})};var ho=class extends ft{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Pl(o,e.elementStyles),o}};var si=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},kl,$l=Symbol("constructorPrototype"),Ll=Symbol("constructorName"),Dl=Symbol("exportpartsDebouncer"),Il=Symbol("dynamicDependenciesLoaded"),M=class extends ho{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[kl]=new oe(5),this[Ll]=this.constructor.name,this[$l]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ll]&&Object.setPrototypeOf(this,this[$l])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Il]||(e[Il]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,o,n;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[Dl].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,o,n,a,s,l;let c=g=>g!=null&&g.trim().length>0,p=e.filter(c).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let g of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let b=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(c).map(C=>C.trim()).forEach(C=>f.add(C))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(g=>p.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};kl=Dl;si([y()],M.prototype,"exportpartsPrefix",void 0);si([be([])],M.prototype,"exportpartsPrefixes",void 0);si([y()],M.prototype,"customStylesheet",void 0);si([K()],M.prototype,"useAdoptedStyleSheets",void 0);var Ml=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};function li(t){class e extends t{constructor(){super(...arguments),this.size=he.medium,this.family=mt.neutral}getDesignSystemBaseClasses(){return{[Fn(this.family)]:!0,[zn(this.size)]:!0}}}return Ml([y()],e.prototype,"size",void 0),Ml([y()],e.prototype,"family",void 0),e}var mo=class extends li(M){};var Ul={};var pa={};J(pa,{highlightHtml:()=>da,highlightHtmlColorCssVariable:()=>Bl,highlightHtmlStyles:()=>bf});var rr=class t{constructor(e,r=!0,o=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=n}static matches(e,r){let o=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return o.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let n=r.filter(a=>a.contains(o)).length>0;r.indexOf(o)===-1&&!n&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{o()}n&&r(n)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,n=>{o++,this.waitForIframes(n.querySelector("html"),()=>{--o||r()})},n=>{n||r()})}forEachIframe(e,r,o,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&n(l)};s||c(),a.forEach(p=>{t.matches(p,this.exclude)?c():this.onIframeReady(p,f=>{r(p)&&(l++,o(f)),c()},c)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let n=e.compareDocumentPosition(o),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,n){let a=!1,s=!1;return n.forEach((l,c)=>{l.val===o&&(a=c,s=l.handled)}),this.compareNodeIframe(e,r,o)?(a===!1&&!s?n.push({val:o,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,n)})})}iterateThroughNodes(e,r,o,n,a){let s=this.createIterator(r,e,n),l=[],c=[],p,f,h=()=>({prevNode:f,node:p}=this.getIteratorNode(s),p);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(p,f,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>c.push(b),n)}),c.push(p);c.forEach(g=>{o(g)}),this.iframes&&this.handleOpenIframes(l,e,o,n),a()}forEachNode(e,r,o,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,c):c()})}};var yo=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 rr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${o}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,n)=>{let a=n.charAt(o+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{o.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,n=typeof o=="string"?o:o.value,a=typeof o=="string"?[]:o.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,n)=>n.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,o);l&&(n.start=a,n.length=s-a,r.push(n),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,n,a=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),n=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-o>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:n,valid:a}}checkWhitespaceRanges(e,r,o){let n,a=!0,s=o.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,n=c+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||n-c<0||c>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(c,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:n,valid:a}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{o.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return rr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(o-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,o,n,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!n(s.node))return!1;let p=r-s.start,f=(o>s.end?s.end:o)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,f),e.value=h+g,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=f),e.nodes[x].end-=f)}),o-=f,a(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let p;for(;(p=e.exec(c.textContent))!==null&&p[s]!=="";){if(!o(p[s],c))continue;let f=p.index;if(s!==0)for(let h=1;h<s;h++)f+=p[h].length;c=this.wrapRangeInTextNode(c,f,f+p[s].length),n(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let p=c.index;if(s!==0)for(let h=1;h<s;h++)p+=c[h].length;let f=p+c[s].length;this.wrapRangeInMappedTextNode(l,p,f,h=>o(c[s],h),(h,g)=>{e.lastIndex=g,n(h)})}a()})}wrapRangeFromIndex(e,r,o,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:p,end:f,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,p,f,g=>r(g,l,a.value.substring(p,f),c),g=>{o(g,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,n="wrapMatches",a=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),a,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=p=>{let f=new RegExp(this.createRegExp(p),`gm${l}`),h=0;this.log(`Searching with expression "${f}"`),this[n](f,1,(g,b)=>this.opt.filter(b,p,o,h),g=>{h++,o++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(o):c(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(o):c(a[0])}markRanges(e,r){this.opt=r;let o=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{o++,this.opt.each(a,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let n=rr.matches(o,r),a=this.matchesExclude(o);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ca(t){let e=new yo(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var gf=ca,Bl=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),bf=N`
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Vs=/'/g,js=/"/g,qs=/^(?:script|style|textarea|title)$/i,Ys=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),_=Ys(1),lp=Ys(2),wt=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Ks=new WeakMap,Yt=Xt.createTreeWalker(Xt,129);function Xs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return zs!==void 0?zs.createHTML(e):e}var Js=(t,e)=>{let r=t.length-1,o=[],n,a=e===2?"<svg>":"",s=ro;for(let l=0;l<r;l++){let c=t[l],p,f,h=-1,g=0;for(;g<c.length&&(s.lastIndex=g,f=s.exec(c),f!==null);)g=s.lastIndex,s===ro?f[1]==="!--"?s=Ws:f[1]!==void 0?s=Hs:f[2]!==void 0?(qs.test(f[2])&&(n=RegExp("</"+f[2],"g")),s=qt):f[3]!==void 0&&(s=qt):s===qt?f[0]===">"?(s=n??ro,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,p=f[1],s=f[3]===void 0?qt:f[3]==='"'?js:Vs):s===js||s===Vs?s=qt:s===Ws||s===Hs?s=ro:(s=qt,n=void 0);let b=s===qt&&t[l+1].startsWith("/>")?" ":"";a+=s===ro?c+sp:h>=0?(o.push(p),c.slice(0,h)+Gi+c.slice(h)+pt+b):c+pt+(h===-2?l:b)}return[Xs(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},no=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[p,f]=Js(e,r);if(this.el=t.createElement(p,o),Yt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=Yt.nextNode())!==null&&c.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Gi)){let g=f[s++],b=n.getAttribute(h).split(pt),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Zo:x[1]==="?"?qo:x[1]==="@"?Yo:Qt}),n.removeAttribute(h)}else h.startsWith(pt)&&(c.push({type:6,index:a}),n.removeAttribute(h));if(qs.test(n.tagName)){let h=n.textContent.split(pt),g=h.length-1;if(g>0){n.textContent=Ko?Ko.emptyScript:"";for(let b=0;b<g;b++)n.append(h[b],oo()),Yt.nextNode(),c.push({type:2,index:++a});n.append(h[g],oo())}}}else if(n.nodeType===8)if(n.data===Zi)c.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(pt,h+1))!==-1;)c.push({type:7,index:a}),h+=pt.length-1}a++}}static createElement(e,r){let o=Xt.createElement("template");return o.innerHTML=e,o}};function Jt(t,e,r=t,o){if(e===wt)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,a=io(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=n:r._$Cl=n),n!==void 0&&(e=Jt(t,n._$AS(t,e.values),n,o)),e}var Go=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,n=(e?.creationScope??Xt).importNode(r,!0);Yt.currentNode=n;let a=Yt.nextNode(),s=0,l=0,c=o[0];for(;c!==void 0;){if(s===c.index){let p;c.type===2?p=new ur(a,a.nextSibling,this,e):c.type===1?p=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(p=new Xo(a,this,e)),this._$AV.push(p),c=o[++l]}s!==c?.index&&(a=Yt.nextNode(),s++)}return Yt.currentNode=Xt,n}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},ur=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=n,this._$Cv=n?.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),io(e)?e===B||e==null||e===""?(this._$AH!==B&&this._$AR(),this._$AH=B):e!==this._$AH&&e!==wt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Zs(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!==B&&io(this._$AH)?this._$AA.nextSibling.data=e:this.$(Xt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=no.createElement(Xs(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Go(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Ks.get(e.strings);return r===void 0&&Ks.set(e.strings,r=new no(e)),r}T(e){Gs(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let a of e)n===r.length?r.push(o=new t(this.k(oo()),this.k(oo()),this,this.options)):o=r[n],o._$AI(a),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,a){this.type=1,this._$AH=B,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=B}_$AI(e,r=this,o,n){let a=this.strings,s=!1;if(a===void 0)e=Jt(this,e,r,0),s=!io(e)||e!==this._$AH&&e!==wt,s&&(this._$AH=e);else{let l=e,c,p;for(e=a[0],c=0;c<a.length-1;c++)p=Jt(this,l[o+c],r,c),p===wt&&(p=this._$AH[c]),s||=!io(p)||p!==this._$AH[c],p===B?e=B:e!==B&&(e+=(p??"")+a[c+1]),this._$AH[c]=p}s&&!n&&this.O(e)}O(e){e===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Zo=class extends Qt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===B?void 0:e}},qo=class extends Qt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==B)}},Yo=class extends Qt{constructor(e,r,o,n,a){super(e,r,o,n,a),this.type=5}_$AI(e,r=this){if((e=Jt(this,e,r,0)??B)===wt)return;let o=this._$AH,n=e===B&&o!==B||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==B&&(o===B||n);n&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Xo=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Jt(this,e)}},cp={j:Gi,P:pt,A:Zi,C:1,M:Js,L:Go,R:Zs,V:Jt,D:ur,I:Qt,H:qo,N:Yo,U:Zo,B:Xo},dp=Ki.litHtmlPolyfillSupport;dp?.(no,ur),(Ki.litHtmlVersions??=[]).push("3.1.0");var qi=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let a=r?.renderBefore??null;o._$litPart$=n=new ur(e.insertBefore(oo(),a),a,void 0,r??{})}return n._$AI(t),n};var ft=class extends et{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=qi(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return wt}};ft._$litElement$=!0,ft.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ft});var pp=globalThis.litElementPolyfillSupport;pp?.({LitElement:ft});var fp={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Wu=!1;var en={};J(en,{customElement:()=>up,eventOptions:()=>hr,property:()=>y,query:()=>W,queryAll:()=>Xi,queryAssignedElements:()=>Ji,queryAssignedNodes:()=>Qi,queryAsync:()=>yp,standardProperty:()=>Qs,state:()=>K});var up=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var hp={attribute:!0,type:String,converter:Zr,reflect:!1,hasChanged:Io},Qs=(t=hp,e,r)=>{let{kind:o,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),a.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(o==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+o)};function y(t){return(e,r)=>typeof r=="object"?Qs(t,e,r):((o,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,s?{...o,wrapped:!0}:o),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function K(t){return y({...t,state:!0,attribute:!1})}function hr(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var Ge=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function W(t,e){return(r,o,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof o=="object"?r:n??(()=>{let c=Symbol();return{get(){return this[c]},set(p){this[c]=p}}})();return Ge(r,o,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Ge(r,o,{get(){return a(this)}})}}var mp;function Xi(t){return(e,r)=>Ge(e,r,{get(){return(this.renderRoot??(mp??=document.createDocumentFragment())).querySelectorAll(t)}})}function yp(t){return(e,r)=>Ge(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Ji(t){return(e,r)=>{let{slot:o,selector:n}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Ge(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(c=>c.matches(n))}})}}function Qi(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return Ge(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var tn={};J(tn,{repeat:()=>yr});var At={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Rt=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:gp}=Ms;var el=()=>document.createComment(""),mr=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore(el(),n),s=o.insertBefore(el(),n);r=new gp(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!==n||l){let c=r._$AA;for(;c!==a;){let p=c.nextSibling;o.insertBefore(c,n),c=p}}}return r},Nt=(t,e,r=t)=>(t._$AI(e,r),t),bp={},tl=(t,e=bp)=>t._$AH=e,rl=t=>t._$AH,Jo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var ol=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},yr=Rt(class extends tt{constructor(t){if(super(t),t.type!==At.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let n=[],a=[],s=0;for(let l of t)n[s]=o?o(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,o]){let n=rl(t),{values:a,keys:s}=this.ht(e,r,o);if(!Array.isArray(n))return this.dt=s,a;let l=this.dt??=[],c=[],p,f,h=0,g=n.length-1,b=0,x=a.length-1;for(;h<=g&&b<=x;)if(n[h]===null)h++;else if(n[g]===null)g--;else if(l[h]===s[b])c[b]=Nt(n[h],a[b]),h++,b++;else if(l[g]===s[x])c[x]=Nt(n[g],a[x]),g--,x--;else if(l[h]===s[x])c[x]=Nt(n[h],a[x]),mr(t,c[x+1],n[h]),h++,x--;else if(l[g]===s[b])c[b]=Nt(n[g],a[b]),mr(t,n[h],n[g]),g--,b++;else if(p===void 0&&(p=ol(s,b,x),f=ol(l,h,g)),p.has(l[h]))if(p.has(l[g])){let C=f.get(s[b]),$=C!==void 0?n[C]:null;if($===null){let L=mr(t,n[h]);Nt(L,a[b]),c[b]=L}else c[b]=Nt($,a[b]),mr(t,n[h],$),n[C]=null;b++}else Jo(n[g]),g--;else Jo(n[h]),h++;for(;b<=x;){let C=mr(t,c[x+1]);Nt(C,a[b]),c[b++]=C}for(;h<=g;){let C=n[h++];C!==null&&Jo(C)}return this.dt=s,tl(t,c),ke}});var rn={};J(rn,{classMap:()=>Ee});var Ee=Rt(class extends tt{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in e)e[o]&&!this.st?.has(o)&&this.it.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.it)o in e||(r.remove(o),this.it.delete(o));for(let o in e){let n=!!e[o];n===this.it.has(o)||this.st?.has(o)||(n?(r.add(o),this.it.add(o)):(r.remove(o),this.it.delete(o)))}return ke}});var on={};J(on,{styleMap:()=>vp});var il="important",xp=" !"+il,vp=Rt(class extends tt{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let o of this.ut)e[o]==null&&(this.ut.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let n=e[o];if(n!=null){this.ut.add(o);let a=typeof n=="string"&&n.endsWith(xp);o.includes("-")||a?r.setProperty(o,a?n.slice(0,-11):n,a?il:""):r[o]=n}}return ke}});var an={};J(an,{UnsafeHTMLDirective:()=>gr,unsafeHTML:()=>nn});var gr=class extends tt{constructor(e){if(super(e),this.et=ae,e.type!==At.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===ke)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:[]}}};gr.directiveName="unsafeHTML",gr.resultType=1;var nn=Rt(gr);var ln={};J(ln,{CacheRegistry:()=>rt});var sn={};J(sn,{CancelablePromise:()=>br,CanceledPromiseError:()=>_t,cancelable:()=>xr});var _t=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},br=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new _t("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new _t("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},xr=t=>new br((e,r)=>t.then(e).catch(r));var rt=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof br&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,o){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let n=xr(r());return this.content[e]=n,n.then(a=>(this.content[e]=a,o!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),o)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var dn={};J(dn,{ClusteringHelper:()=>cn});var cn=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static extractResultMetadata(e,r){var o,n;let a=((n=(o=e?.map)!==null&&o!==void 0?o:e?.document)!==null&&n!==void 0?n:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(o=>t.flattenMetadata(o)).filter(o=>o!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let o=[],n=[];return e.hierarchicalValues.forEach(a=>{o.push(a.join(" > ")),a.length>2?n.push(`... > ${a[a.length-1]}`):n.push(a.join(" > "))}),{key:e.key,label:e.label,value:o.join(", "),displayValue:n.join(", ")}}else{let o=e.values.join(", ");return{key:e.key,label:e.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(e,r,o="No value"){var n,a;let s=t.extractResultMetadata(this.selectedResult,e),l=(n=s?.label)!==null&&n!==void 0?n:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(p=>t.extractResultMetadata(p,e)).map(p=>p??{key:e,label:l,value:void 0,displayValue:o}).filter(p=>p.value!=s?.value).filter((p,f,h)=>h.findIndex(g=>g.value===p.value)===f).map(p=>({result:this.findBestResultForMetadataValue(e,p.value),metadata:p})).sort((p,f)=>this.compareMetadata(p.metadata.value,f.metadata.value,e,r))}compareMetadata(e,r,o,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(o),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,n,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(c=>{var p;return((p=t.extractResultMetadata(c,e))===null||p===void 0?void 0:p.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of o){let p=this.countMatchingMetadata(c,a);if(p>l&&(l=p,s=c,p===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(o=>r.some(n=>n.key===o.key&&n.value===o.value)).length}};var pn={};J(pn,{Debouncer:()=>oe});var oe=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var hn={};J(hn,{customElement:()=>F,isNumber:()=>sl,jsonProperty:()=>he,optionalNumberProperty:()=>Ap});var un={};J(un,{dateReviver:()=>Op,deepEqual:()=>De,delay:()=>Qo,eventPathContainsMatchingElement:()=>Ep,flatDeep:()=>ut,hasChanged:()=>ao,last:()=>wp,minmax:()=>fn,parseDate:()=>al,waitFor:()=>nl,waitUntil:()=>Sp});var Qo=t=>new Promise(e=>setTimeout(e,t));async function Sp(t,e=10,r=2e4){await nl(async()=>await t()||void 0,e,r)}async function nl(t,e=10,r=2e4){let o=await t(),n,a;for(n=a=performance.now();o==null&&(!r||a-n<r);)await Qo(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function ut(t,e){return t.flatMap(r=>[r,...ut(e(r),e)])}function Op(...t){return function(e,r){return t.includes(e)?al(r):r}}function al(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,n)=>r+o+":"+n),new Date(t)}function Cp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,o,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!De(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!De(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(n=Object.keys(t),r=n.length,r!==Object.keys(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=r;o--!==0;){var a=n[o];if(!De(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function De(t,e){try{return Cp(t,e)}catch{return!1}}function ao(t,e){return!De(t,e)}function Ep(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let n of o){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function fn(t,e,r){return Math.min(Math.max(t,e),r)}function wp(t){return t[t.length-1]}var F=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function he(t,e){let r=()=>JSON.parse(JSON.stringify(t));return y({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:ao,...e??{}})}function Ap(t){return y({type:Object,converter:{fromAttribute:e=>{if(e!=null)return sl(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function sl(t){return!isNaN(parseFloat(t))}var Hn={};J(Hn,{designSystemVariables:()=>P});var Wn={};J(Wn,{DesignSystemFamily:()=>mt,DesignSystemSize:()=>me,FtCssVariableFactory:()=>i,badge:()=>Tp,banner:()=>_p,breadcrumb:()=>Pp,button:()=>w,chart:()=>Vp,checkbox:()=>Kp,chip:()=>H,collapsible:()=>Wp,comboboxMultiSelect:()=>Fp,comboboxSingleSelect:()=>Bp,drawer:()=>Ip,floatingMenu:()=>Up,foundation:()=>d,link:()=>Np,modal:()=>Lp,notice:()=>jp,notification:()=>qp,pageHeader:()=>$p,popover:()=>zp,radio:()=>Zp,resolveFamilyClass:()=>Fn,resolveSizeClass:()=>zn,semantic:()=>u,setVariable:()=>T,switch_:()=>Hp,tabs:()=>kp,textArea:()=>Mp,textInput:()=>Dp,toggle:()=>Gp,tooltip:()=>Yp,typographies:()=>so,typographyBody1Medium:()=>vn,typographyBody1Regular:()=>xn,typographyBody1Semibold:()=>Sn,typographyBody2Medium:()=>Cn,typographyBody2MediumUnderline:()=>ll,typographyBody2Regular:()=>On,typographyBody2Semibold:()=>En,typographyCaption1Bold:()=>Ln,typographyCaption1Medium:()=>Pn,typographyCaption1Semibold:()=>$n,typographyCaption2Bold:()=>Dn,typographyCaption2Medium:()=>In,typographyCaption2Semibold:()=>kn,typographyCaption3Bold:()=>Bn,typographyCaption3Medium:()=>Mn,typographyCaption3Semibold:()=>Un,typographyDisplay:()=>mn,typographyLabel1Bold:()=>Rn,typographyLabel1Medium:()=>wn,typographyLabel1Semibold:()=>An,typographyLabel2Bold:()=>Tn,typographyLabel2Medium:()=>Nn,typographyLabel2Semibold:()=>_n,typographyTitle1:()=>yn,typographyTitle2:()=>gn,typographyTitle3:()=>bn,typographyVariants:()=>Rp});var ht=t=>typeof t=="string"?dt(t):t,i=class{static create(e,r,o,n){let a=l=>ht(l??n),s=N`var(${ht(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>N`var(${ht(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,o,n){let a=l=>o.get(l??n),s=N`var(${ht(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>N`var(${ht(e)}, ${a(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>n??o.lastResortDefaultValue(),s}static external(e,r){let o=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ht(a??e.lastResortDefaultValue()),n=N`var(${ht(e.name)}, ${o(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=o,n.get=a=>N`var(${ht(e.name)}, ${o(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function T(t,e){return ht(`${t.name}: ${e}`)}var d={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)")},mn={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")},yn={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")},gn={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")},bn={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")},xn={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")},vn={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")},Sn={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")},On={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")},Cn={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")},ll={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")},En={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")},wn={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")},An={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")},Rn={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")},Nn={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")},_n={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")},Tn={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")},$n={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")},Ln={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")},In={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")},Dn={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")},Mn={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")},Un={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")},Bn={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")},so={display:mn,"title-1":yn,"title-2":gn,"title-3":bn,"body-1-regular":xn,"body-1-medium":vn,"body-1-semibold":Sn,"body-2-regular":On,"body-2-medium":Cn,"body-2-medium-underline":ll,"body-2-semibold":En,"label-1-medium":wn,"label-1-semibold":An,"label-1-bold":Rn,"label-2-medium":Nn,"label-2-semibold":_n,"label-2-bold":Tn,"caption-1-medium":Pn,"caption-1-semibold":$n,"caption-1-bold":Ln,"caption-2-medium":In,"caption-2-semibold":kn,"caption-2-bold":Dn,"caption-3-medium":Mn,"caption-3-semibold":Un,"caption-3-bold":Bn},Rp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:i.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:i.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:i.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:i.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:i.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:i.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:i.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:i.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:i.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:i.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:i.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:i.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:i.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:i.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:i.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:i.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:i.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:i.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:i.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:i.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:i.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:i.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:i.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:i.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:i.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:i.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:i.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:i.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:i.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:i.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:i.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:i.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:i.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var w={largeHeight:i.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:i.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:i.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:i.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:i.extend("--ft-button-large-icon-size","",d.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","",d.spacing3),mediumGap:i.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:i.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:i.extend("--ft-button-medium-icon-size","",d.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","",d.spacing2),smallGap:i.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:i.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:i.extend("--ft-button-small-icon-size","",d.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","",d.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","",d.borderRadiusPill),primaryBackgroundColor:i.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:i.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:i.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:i.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:i.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:i.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:i.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:i.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:i.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:i.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:i.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:i.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:i.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:i.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:i.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:i.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:i.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:i.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:i.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:i.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:i.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:i.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:i.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:i.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:i.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:i.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:i.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:i.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:i.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:i.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:i.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:i.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:i.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:i.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var H={largeMinHeight:i.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:i.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:i.extend("--ft-chip-large-gap","",d.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.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:i.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:i.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:i.extend("--ft-chip-medium-gap","",d.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.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:i.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:i.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:i.extend("--ft-chip-small-gap","",d.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.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:i.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:i.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:i.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:i.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:i.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:i.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:i.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Np={focusOpacity:i.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:i.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:i.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:i.extend("--ft-link-info-color","",u.contentInfoPrimary)};var _p={iconSize:i.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:i.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:i.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:i.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:i.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:i.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:i.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:i.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:i.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:i.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Tp={horizontalPadding:i.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:i.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:i.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:i.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:i.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Pp={horizontalGap:i.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:i.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:i.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:i.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:i.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var $p={horizontalPadding:i.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:i.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:i.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:i.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:i.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:i.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:i.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:i.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:i.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:i.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Lp={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","",d.colorGray700),overlayOpacity:i.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:i.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:i.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:i.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:i.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:i.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:i.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:i.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:i.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:i.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:i.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:i.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:i.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:i.extend("--ft-modal-border-radius","",d.borderRadiusM)};var Ip={overlayOpacity:i.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:i.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:i.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:i.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:i.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:i.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:i.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:i.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:i.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:i.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:i.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:i.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:i.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:i.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:i.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:i.extend("--ft-drawer-buttons-bar-gap","",d.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","",d.colorGray700)};var kp={offBorderBottomWidth:i.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:i.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:i.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:i.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:i.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:i.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:i.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:i.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:i.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:i.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:i.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:i.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:i.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:i.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:i.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:i.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:i.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:i.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:i.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:i.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:i.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:i.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:i.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:i.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Dp={fieldHorizontalPadding:i.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:i.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:i.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:i.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:i.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:i.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:i.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:i.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:i.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:i.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:i.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:i.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:i.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ft-text-input-error-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var Mp={backgroundColor:i.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:i.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:i.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:i.extend("--ft-text-area-focus-focus-ring-color","",u.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","",d.opacity40),fieldHorizontalLeftPadding:i.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:i.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:i.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:i.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:i.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:i.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:i.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:i.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var Up={height:i.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:i.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:i.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:i.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:i.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:i.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:i.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:i.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:i.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:i.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:i.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:i.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:i.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var Bp={fieldHorizontalPadding:i.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:i.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:i.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:i.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:i.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:i.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:i.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:i.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:i.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:i.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:i.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:i.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:i.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:i.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:i.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-combobox-single-select-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:i.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:i.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var Fp={backgroundColor:i.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:i.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:i.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:i.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:i.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:i.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:i.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:i.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.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","",d.opacity40),helperHorizontalPadding:i.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:i.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:i.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:i.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:i.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:i.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:i.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:i.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:i.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:i.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:i.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:i.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var zp={backgroundColor:i.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:i.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:i.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:i.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:i.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:i.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:i.extend("--ft-popover-gap","",d.spacing3),borderRadius:i.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:i.extend("--ft-popover-shadow","",d.shadowElevation02)};var Wp={hoverStateLayerOpacity:i.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:i.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:i.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:i.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:i.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:i.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:i.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:i.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:i.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:i.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:i.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:i.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:i.extend("--ft-collapsible-icon-size","",d.iconSize3)};var Hp={groupHorizontalPadding:i.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:i.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:i.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:i.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:i.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:i.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:i.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:i.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:i.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:i.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:i.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:i.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:i.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:i.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:i.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:i.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:i.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:i.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:i.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:i.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:i.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var Vp={color1Light:i.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:i.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:i.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:i.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:i.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:i.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:i.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:i.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:i.extend("--ft-chart-5-light","",d.colorRed40),color5Base:i.extend("--ft-chart-5-base","",d.colorRed60),color6Light:i.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:i.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:i.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:i.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:i.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:i.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:i.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:i.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:i.extend("--ft-chart-10-light","",d.colorGray50),color10Base:i.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:i.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:i.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:i.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:i.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:i.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:i.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var jp={borderWidth:i.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:i.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:i.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:i.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:i.extend("--ft-notice-gap","",d.spacing2),iconSize:i.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:i.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:i.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:i.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:i.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:i.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:i.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:i.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:i.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:i.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:i.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:i.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:i.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var Kp={color:i.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:i.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:i.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:i.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:i.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:i.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:i.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:i.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:i.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:i.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:i.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:i.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:i.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:i.extend("--ft-checkbox-focus-focus-ring-color","",u.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","",d.spacing3)};var Gp={offHoverStateLayerOpacity:i.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:i.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:i.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:i.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:i.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:i.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:i.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:i.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:i.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:i.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:i.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:i.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:i.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:i.extend("--ft-toggle-gap","",d.spacing3)};var Zp={color:i.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:i.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:i.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:i.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:i.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:i.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:i.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:i.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:i.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:i.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:i.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:i.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:i.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:i.extend("--ft-radio-focus-focus-ring-color","",u.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","",d.spacing3)};var qp={iconSize:i.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:i.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:i.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:i.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:i.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:i.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:i.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:i.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:i.extend("--ft-notification-trailing-gap","",d.spacing8)};var Yp={horizontalPadding:i.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:i.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:i.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:i.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:i.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:i.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:i.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","256px"),gap:i.extend("--ft-tooltip-gap","",d.spacing05)};var mt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(mt||(mt={}));var me;(function(t){t.large="large",t.medium="medium",t.small="small"})(me||(me={}));function Fn(t){return`ftds--family-${t}`}function zn(t){return`ftds--size-${t}`}var P={colorPrimary:i.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:i.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:i.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:i.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:i.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:i.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:i.create("--ft-color-error","","COLOR","#B00020"),colorOutline:i.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:i.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:i.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:i.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:i.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:i.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:i.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:i.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:i.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:i.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:i.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:i.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:i.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:i.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:i.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:i.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:i.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:i.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:i.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:i.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:i.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:i.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:i.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:i.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:i.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:i.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:i.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:i.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:i.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:i.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:i.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:i.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:i.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:i.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:i.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:i.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:i.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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: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"),titleFont:i.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:i.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:i.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:i.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Gn={};J(Gn,{FtNotificationEvent:()=>Vn,PostResizeEvent:()=>Kn,PreResizeEvent:()=>jn});var Vn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},jn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Kn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var na={};J(na,{computeOffsetPosition:()=>ia});var dl=["top","right","bottom","left"],cl=["start","end"],qn=dl.reduce((t,e)=>t.concat(e,e+"-"+cl[0],e+"-"+cl[1]),[]),lo=Math.min,Tt=Math.max,co=Math.round;var yt=t=>({x:t,y:t}),Xp={left:"right",right:"left",bottom:"top",top:"bottom"},Jp={start:"end",end:"start"};function Yn(t,e,r){return Tt(t,lo(e,r))}function ei(t,e){return typeof t=="function"?t(e):t}function vr(t){return t.split("-")[0]}function Pt(t){return t.split("-")[1]}function Xn(t){return t==="x"?"y":"x"}function Jn(t){return t==="y"?"height":"width"}function ti(t){return["top","bottom"].includes(vr(t))?"y":"x"}function Qn(t){return Xn(ti(t))}function pl(t,e,r){r===void 0&&(r=!1);let o=Pt(t),n=Qn(t),a=Jn(n),s=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Zn(s)),[s,Zn(s)]}function fl(t){return t.replace(/start|end/g,e=>Jp[e])}function Zn(t){return t.replace(/left|right|bottom|top/g,e=>Xp[e])}function Qp(t){return{top:0,right:0,bottom:0,left:0,...t}}function ul(t){return typeof t!="number"?Qp(t):{top:t,right:t,bottom:t,left:t}}function er(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function hl(t,e,r){let{reference:o,floating:n}=t,a=ti(e),s=Qn(e),l=Jn(s),c=vr(e),p=a==="y",f=o.x+o.width/2-n.width/2,h=o.y+o.height/2-n.height/2,g=o[l]/2-n[l]/2,b;switch(c){case"top":b={x:f,y:o.y-n.height};break;case"bottom":b={x:f,y:o.y+o.height};break;case"right":b={x:o.x+o.width,y:h};break;case"left":b={x:o.x-n.width,y:h};break;default:b={x:o.x,y:o.y}}switch(Pt(e)){case"start":b[s]-=g*(r&&p?-1:1);break;case"end":b[s]+=g*(r&&p?-1:1);break}return b}var ml=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:f,y:h}=hl(p,o,c),g=o,b={},x=0;for(let C=0;C<l.length;C++){let{name:$,fn:L}=l[C],{x:I,y:O,data:S,reset:E}=await L({x:f,y:h,initialPlacement:o,placement:g,strategy:n,middlewareData:b,rects:p,platform:s,elements:{reference:t,floating:e}});if(f=I??f,h=O??h,b={...b,[$]:{...b[$],...S}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):E.rects),{x:f,y:h}=hl(p,g,c)),C=-1;continue}}return{x:f,y:h,placement:g,strategy:n,middlewareData:b}};async function ea(t,e){var r;e===void 0&&(e={});let{x:o,y:n,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:b=0}=ei(e,t),x=ul(b),$=l[g?h==="floating"?"reference":"floating":h],L=er(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:p,rootBoundary:f,strategy:c})),I=h==="floating"?{...s.floating,x:o,y:n}: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},E=er(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:O,strategy:c}):I);return{top:(L.top-E.top+x.top)/S.y,bottom:(E.bottom-L.bottom+x.bottom)/S.y,left:(L.left-E.left+x.left)/S.x,right:(E.right-L.right+x.right)/S.x}}function ef(t,e,r){return(t?[...r.filter(n=>Pt(n)===t),...r.filter(n=>Pt(n)!==t)]:r.filter(n=>vr(n)===n)).filter(n=>t?Pt(n)===t||(e?fl(n)!==n:!1):!0)}var ta=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,n;let{rects:a,middlewareData:s,placement:l,platform:c,elements:p}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:g=qn,autoAlignment:b=!0,...x}=ei(t,e),C=h!==void 0||g===qn?ef(h||null,b,g):g,$=await ea(e,x),L=((r=s.autoPlacement)==null?void 0:r.index)||0,I=C[L];if(I==null)return{};let O=pl(I,a,await(c.isRTL==null?void 0:c.isRTL(p.floating)));if(l!==I)return{reset:{placement:C[0]}};let S=[$[vr(I)],$[O[0]],$[O[1]]],E=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:I,overflows:S}],U=C[L+1];if(U)return{data:{index:L+1,overflows:E},reset:{placement:U}};let z=E.map(m=>{let v=Pt(m.placement);return[m.placement,v&&f?m.overflows.slice(0,2).reduce((R,j)=>R+j,0):m.overflows[0],m.overflows]}).sort((m,v)=>m[1]-v[1]),Z=((n=z.filter(m=>m[2].slice(0,Pt(m[0])?2:3).every(v=>v<=0))[0])==null?void 0:n[0])||z[0][0];return Z!==l?{data:{index:L+1,overflows:E},reset:{placement:Z}}:{}}}};var ra=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:$=>{let{x:L,y:I}=$;return{x:L,y:I}}},...c}=ei(t,e),p={x:r,y:o},f=await ea(e,c),h=ti(vr(n)),g=Xn(h),b=p[g],x=p[h];if(a){let $=g==="y"?"top":"left",L=g==="y"?"bottom":"right",I=b+f[$],O=b-f[L];b=Yn(I,b,O)}if(s){let $=h==="y"?"top":"left",L=h==="y"?"bottom":"right",I=x+f[$],O=x-f[L];x=Yn(I,x,O)}let C=l.fn({...e,[g]:b,[h]:x});return{...C,data:{x:C.x-r,y:C.y-o}}}}};function gt(t){return gl(t)?(t.nodeName||"").toLowerCase():"#document"}function Ne(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function bt(t){var e;return(e=(gl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function gl(t){return t instanceof Node||t instanceof Ne(t).Node}function ot(t){return t instanceof Element||t instanceof Ne(t).Element}function Ze(t){return t instanceof HTMLElement||t instanceof Ne(t).HTMLElement}function yl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ne(t).ShadowRoot}function Sr(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=Me(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!["inline","contents"].includes(n)}function bl(t){return["table","td","th"].includes(gt(t))}function oi(t){let e=ii(),r=Me(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function xl(t){let e=tr(t);for(;Ze(e)&&!po(e);){if(oi(e))return e;e=tr(e)}return null}function ii(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function po(t){return["html","body","#document"].includes(gt(t))}function Me(t){return Ne(t).getComputedStyle(t)}function fo(t){return ot(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tr(t){if(gt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||yl(t)&&t.host||bt(t);return yl(e)?e.host:e}function vl(t){let e=tr(t);return po(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ze(e)&&Sr(e)?e:vl(e)}function ri(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=vl(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=Ne(n);return a?e.concat(s,s.visualViewport||[],Sr(n)?n:[],s.frameElement&&r?ri(s.frameElement):[]):e.concat(n,ri(n,[],r))}function Cl(t){let e=Me(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=Ze(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=co(r)!==a||co(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function El(t){return ot(t)?t:t.contextElement}function Or(t){let e=El(t);if(!Ze(e))return yt(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:a}=Cl(e),s=(a?co(r.width):r.width)/o,l=(a?co(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var tf=yt(0);function wl(t){let e=Ne(t);return!ii()||!e.visualViewport?tf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function rf(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ne(t)?!1:e}function uo(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=El(t),s=yt(1);e&&(o?ot(o)&&(s=Or(o)):s=Or(t));let l=rf(a,r,o)?wl(a):yt(0),c=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,f=n.width/s.x,h=n.height/s.y;if(a){let g=Ne(a),b=o&&ot(o)?Ne(o):o,x=g.frameElement;for(;x&&o&&b!==g;){let C=Or(x),$=x.getBoundingClientRect(),L=Me(x),I=$.left+(x.clientLeft+parseFloat(L.paddingLeft))*C.x,O=$.top+(x.clientTop+parseFloat(L.paddingTop))*C.y;c*=C.x,p*=C.y,f*=C.x,h*=C.y,c+=I,p+=O,x=Ne(x).frameElement}}return er({width:f,height:h,x:c,y:p})}function of(t){let{rect:e,offsetParent:r,strategy:o}=t,n=Ze(r),a=bt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=yt(1),c=yt(0);if((n||!n&&o!=="fixed")&&((gt(r)!=="body"||Sr(a))&&(s=fo(r)),Ze(r))){let p=uo(r);l=Or(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function nf(t){return Array.from(t.getClientRects())}function Al(t){return uo(bt(t)).left+fo(t).scrollLeft}function af(t){let e=bt(t),r=fo(t),o=t.ownerDocument.body,n=Tt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=Tt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+Al(t),l=-r.scrollTop;return Me(o).direction==="rtl"&&(s+=Tt(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:s,y:l}}function sf(t,e){let r=Ne(t),o=bt(t),n=r.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,c=0;if(n){a=n.width,s=n.height;let p=ii();(!p||p&&e==="fixed")&&(l=n.offsetLeft,c=n.offsetTop)}return{width:a,height:s,x:l,y:c}}function lf(t,e){let r=uo(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,a=Ze(t)?Or(t):yt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=n*a.x,p=o*a.y;return{width:s,height:l,x:c,y:p}}function Sl(t,e,r){let o;if(e==="viewport")o=sf(t,r);else if(e==="document")o=af(bt(t));else if(ot(e))o=lf(e,r);else{let n=wl(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return er(o)}function Rl(t,e){let r=tr(t);return r===e||!ot(r)||po(r)?!1:Me(r).position==="fixed"||Rl(r,e)}function cf(t,e){let r=e.get(t);if(r)return r;let o=ri(t,[],!1).filter(l=>ot(l)&&gt(l)!=="body"),n=null,a=Me(t).position==="fixed",s=a?tr(t):t;for(;ot(s)&&!po(s);){let l=Me(s),c=oi(s);!c&&l.position==="fixed"&&(n=null),(a?!c&&!n:!c&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Sr(s)&&!c&&Rl(t,s))?o=o.filter(f=>f!==s):n=l,s=tr(s)}return e.set(t,o),o}function df(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,s=[...r==="clippingAncestors"?cf(e,this._c):[].concat(r),o],l=s[0],c=s.reduce((p,f)=>{let h=Sl(e,f,n);return p.top=Tt(h.top,p.top),p.right=lo(h.right,p.right),p.bottom=lo(h.bottom,p.bottom),p.left=Tt(h.left,p.left),p},Sl(e,l,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function pf(t){return Cl(t)}function ff(t,e,r){let o=Ze(e),n=bt(e),a=r==="fixed",s=uo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=yt(0);if(o||!o&&!a)if((gt(e)!=="body"||Sr(n))&&(l=fo(e)),o){let p=uo(e,!0,a,e);c.x=p.x+e.clientLeft,c.y=p.y+e.clientTop}else n&&(c.x=Al(n));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Ol(t,e){return!Ze(t)||Me(t).position==="fixed"?null:e?e(t):t.offsetParent}function Nl(t,e){let r=Ne(t);if(!Ze(t))return r;let o=Ol(t,e);for(;o&&bl(o)&&Me(o).position==="static";)o=Ol(o,e);return o&&(gt(o)==="html"||gt(o)==="body"&&Me(o).position==="static"&&!oi(o))?r:o||xl(t)||r}var uf=async function(t){let{reference:e,floating:r,strategy:o}=t,n=this.getOffsetParent||Nl,a=this.getDimensions;return{reference:ff(e,await n(r),o),floating:{x:0,y:0,...await a(r)}}};function hf(t){return Me(t).direction==="rtl"}var ni={convertOffsetParentRelativeRectToViewportRelativeRect:of,getDocumentElement:bt,getClippingRect:df,getOffsetParent:Nl,getElementRects:uf,getClientRects:nf,getDimensions:pf,getScale:Or,isElement:ot,isRTL:hf};var _l=(t,e,r)=>{let o=new Map,n={platform:ni,...r},a={...n.platform,_c:o};return ml(t,e,{...n,platform:a})};function Tl(t){return mf(t)}function oa(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function mf(t){for(let e=t;e;e=oa(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=oa(t);e;e=oa(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}async function ia(t,e,r){return _l(t,e,{platform:{...ni,getOffsetParent:o=>ni.getOffsetParent(o,Tl)},middleware:[ra({crossAxis:!0}),ta({allowedPlacements:[r]})]})}var la={};J(la,{FtdsBase:()=>mo,toFtdsBase:()=>li});var sa={};J(sa,{FtLitElement:()=>M});var aa={};J(aa,{ScopedRegistryLitElement:()=>ho});var ai=window,yf=ai.ShadowRoot&&(ai.ShadyCSS===void 0||ai.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Zg=Symbol();var Pl=(t,e)=>{yf?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let o=document.createElement("style"),n=ai.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)})};var ho=class extends ft{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Pl(o,e.elementStyles),o}};var si=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},kl,$l=Symbol("constructorPrototype"),Ll=Symbol("constructorName"),Dl=Symbol("exportpartsDebouncer"),Il=Symbol("dynamicDependenciesLoaded"),M=class extends ho{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[kl]=new oe(5),this[Ll]=this.constructor.name,this[$l]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ll]&&Object.setPrototypeOf(this,this[$l])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Il]||(e[Il]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,o,n;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[Dl].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,o,n,a,s,l;let c=g=>g!=null&&g.trim().length>0,p=e.filter(c).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let g of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let b=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(c).map(C=>C.trim()).forEach(C=>f.add(C))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(g=>p.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};kl=Dl;si([y()],M.prototype,"exportpartsPrefix",void 0);si([he([])],M.prototype,"exportpartsPrefixes",void 0);si([y()],M.prototype,"customStylesheet",void 0);si([K()],M.prototype,"useAdoptedStyleSheets",void 0);var Ml=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};function li(t){class e extends t{constructor(){super(...arguments),this.size=me.medium,this.family=mt.neutral}getDesignSystemBaseClasses(){return{[Fn(this.family)]:!0,[zn(this.size)]:!0}}}return Ml([y()],e.prototype,"size",void 0),Ml([y()],e.prototype,"family",void 0),e}var mo=class extends li(M){};var Ul={};var pa={};J(pa,{highlightHtml:()=>da,highlightHtmlColorCssVariable:()=>Bl,highlightHtmlStyles:()=>bf});var rr=class t{constructor(e,r=!0,o=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=n}static matches(e,r){let o=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return o.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let n=r.filter(a=>a.contains(o)).length>0;r.indexOf(o)===-1&&!n&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{o()}n&&r(n)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,n=>{o++,this.waitForIframes(n.querySelector("html"),()=>{--o||r()})},n=>{n||r()})}forEachIframe(e,r,o,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&n(l)};s||c(),a.forEach(p=>{t.matches(p,this.exclude)?c():this.onIframeReady(p,f=>{r(p)&&(l++,o(f)),c()},c)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let n=e.compareDocumentPosition(o),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,n){let a=!1,s=!1;return n.forEach((l,c)=>{l.val===o&&(a=c,s=l.handled)}),this.compareNodeIframe(e,r,o)?(a===!1&&!s?n.push({val:o,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,n)})})}iterateThroughNodes(e,r,o,n,a){let s=this.createIterator(r,e,n),l=[],c=[],p,f,h=()=>({prevNode:f,node:p}=this.getIteratorNode(s),p);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(p,f,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>c.push(b),n)}),c.push(p);c.forEach(g=>{o(g)}),this.iframes&&this.handleOpenIframes(l,e,o,n),a()}forEachNode(e,r,o,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,c):c()})}};var yo=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 rr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${o}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,n)=>{let a=n.charAt(o+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{o.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,n=typeof o=="string"?o:o.value,a=typeof o=="string"?[]:o.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,n)=>n.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,o);l&&(n.start=a,n.length=s-a,r.push(n),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,n,a=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),n=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-o>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:n,valid:a}}checkWhitespaceRanges(e,r,o){let n,a=!0,s=o.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,n=c+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||n-c<0||c>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(c,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:n,valid:a}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{o.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return rr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(o-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,o,n,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!n(s.node))return!1;let p=r-s.start,f=(o>s.end?s.end:o)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,f),e.value=h+g,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=f),e.nodes[x].end-=f)}),o-=f,a(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let p;for(;(p=e.exec(c.textContent))!==null&&p[s]!=="";){if(!o(p[s],c))continue;let f=p.index;if(s!==0)for(let h=1;h<s;h++)f+=p[h].length;c=this.wrapRangeInTextNode(c,f,f+p[s].length),n(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let p=c.index;if(s!==0)for(let h=1;h<s;h++)p+=c[h].length;let f=p+c[s].length;this.wrapRangeInMappedTextNode(l,p,f,h=>o(c[s],h),(h,g)=>{e.lastIndex=g,n(h)})}a()})}wrapRangeFromIndex(e,r,o,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:p,end:f,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,p,f,g=>r(g,l,a.value.substring(p,f),c),g=>{o(g,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,n="wrapMatches",a=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),a,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=p=>{let f=new RegExp(this.createRegExp(p),`gm${l}`),h=0;this.log(`Searching with expression "${f}"`),this[n](f,1,(g,b)=>this.opt.filter(b,p,o,h),g=>{h++,o++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(o):c(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(o):c(a[0])}markRanges(e,r){this.opt=r;let o=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{o++,this.opt.each(a,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let n=rr.matches(o,r),a=this.matchesExclude(o);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ca(t){let e=new yo(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var gf=ca,Bl=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),bf=N`
7
7
  .highlight-html-match {
8
8
  background: ${Bl};
9
9
  }
@@ -56,10 +56,10 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-conte
56
56
  .ft-search-selected-facets--container > * {
57
57
  min-width: 0;
58
58
  }
59
- `;var fu={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}},vc=t=>vt.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:fu});var nv=Wd(Oc(),1);var Cc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Cc||(Cc={}));var Ec;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ec||(Ec={}));var wc;(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"})(wc||(wc={}));var Ac;(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"})(Ac||(Ac={}));var Rc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Rc||(Rc={}));var Nc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Nc||(Nc={}));var _c;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(_c||(_c={}));var Tc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Tc||(Tc={}));var bi;(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"})(bi||(bi={}));var Pc;(function(t){t.ASC="ASC",t.DESC="DESC"})(Pc||(Pc={}));var $c;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})($c||($c={}));var _r;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(_r||(_r={}));var Lc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Lc||(Lc={}));var Ic;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ic||(Ic={}));var kc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(kc||(kc={}));var Dc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Dc||(Dc={}));var Tr;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Tr||(Tr={}));var me;(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"})(me||(me={}));var Mc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Mc||(Mc={}));var tv={[me.PERSONAL_BOOK_SHARE_USER]:[me.PERSONAL_BOOK_USER],[me.HTML_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.PDF_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.KHUB_ADMIN]:[me.CONTENT_PUBLISHER],[me.ADMIN]:[me.KHUB_ADMIN,me.USERS_ADMIN,me.PORTAL_ADMIN],[me.DEVELOPER]:[me.BETA_USER,me.DEBUG_USER]};var Uc=N`
59
+ `;var fu={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}},vc=t=>vt.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:fu});var nv=Wd(Oc(),1);var Cc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Cc||(Cc={}));var Ec;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ec||(Ec={}));var wc;(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"})(wc||(wc={}));var Ac;(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"})(Ac||(Ac={}));var Rc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Rc||(Rc={}));var Nc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Nc||(Nc={}));var _c;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(_c||(_c={}));var Tc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Tc||(Tc={}));var bi;(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"})(bi||(bi={}));var Pc;(function(t){t.ASC="ASC",t.DESC="DESC"})(Pc||(Pc={}));var $c;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})($c||($c={}));var _r;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(_r||(_r={}));var Lc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Lc||(Lc={}));var Ic;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ic||(Ic={}));var kc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(kc||(kc={}));var Dc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Dc||(Dc={}));var Tr;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Tr||(Tr={}));var ye;(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"})(ye||(ye={}));var Mc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Mc||(Mc={}));var tv={[ye.PERSONAL_BOOK_SHARE_USER]:[ye.PERSONAL_BOOK_USER],[ye.HTML_EXPORT_USER]:[ye.PERSONAL_BOOK_USER],[ye.PDF_EXPORT_USER]:[ye.PERSONAL_BOOK_USER],[ye.KHUB_ADMIN]:[ye.CONTENT_PUBLISHER],[ye.ADMIN]:[ye.KHUB_ADMIN,ye.USERS_ADMIN,ye.PORTAL_ADMIN],[ye.DEVELOPER]:[ye.BETA_USER,ye.DEBUG_USER]};var Uc=N`
60
60
  `;var uu="ft-app-info",Qa=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},hu={session:(t,e)=>{De(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.eventBus.dispatchEvent(new Qa(e.payload)),0))}},D=vt.get({name:uu,reducers:hu,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 lr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=D.getState(),n=e??o;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let n=D.subscribe(()=>{o=t.get(e),o&&(n(),r(o))})}})}};var nt=class{constructor(e=!0,r){var o;this.overrideApi=r;let n=this.constructor;n.commonCache=(o=n.commonCache)!==null&&o!==void 0?o:new rt,this.cache=e?n.commonCache:new rt}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:lr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):lr.await()}clearCache(){this.cache.clearAll()}};var Bc,mu=Symbol("clearAfterUnitTest"),xi=class extends nt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Bc]=()=>{this.defaultMessages={},this.cache=new rt,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=D.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var o;if(e=e.toLowerCase(),Object.keys(r).length>0){let n={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};De(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...o){var n,a,s;e=e.toLowerCase(),this.fetchContext(e);let l=(a=(n=this.cache.getNow(e))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new bo((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},l).resolve(r,...o)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.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=>Qo(0).then(()=>r()).catch(()=>null)))}};Bc=mu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends xi{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends xi{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Pr=window.FluidTopicsI18nService,Fc=window.FluidTopicsCustomI18nService;var we=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},se=class extends M{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=()=>lr.get(),this.messageContexts=[],this.cache=new rt,this.cleanSessionDebouncer=new oe}render(){return _`
61
61
  <slot></slot>
62
- `}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Pr.addContext(r)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.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())}};se.elementDefinitions={};se.styles=Uc;we([y()],se.prototype,"baseUrl",void 0);we([y()],se.prototype,"apiIntegrationIdentifier",void 0);we([y()],se.prototype,"uiLocale",void 0);we([be(null)],se.prototype,"availableUiLocales",void 0);we([be(null)],se.prototype,"metadataConfiguration",void 0);we([y({type:Boolean})],se.prototype,"editorMode",void 0);we([y({type:Boolean})],se.prototype,"noCustom",void 0);we([y({type:Boolean})],se.prototype,"openExternalDocumentInNewTab",void 0);we([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],se.prototype,"noCustomComponent",void 0);we([y({type:Boolean})],se.prototype,"withManualResources",void 0);we([y({type:Boolean})],se.prototype,"navigatorOnline",void 0);we([y({type:Boolean})],se.prototype,"forcedOffline",void 0);we([y({type:Object})],se.prototype,"apiProvider",void 0);we([be([])],se.prototype,"messageContexts",void 0);we([be(void 0)],se.prototype,"session",void 0);var vi=class extends nt{async listMySearches(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Si=class extends nt{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var yu="ft-user-assets",Oi=vt.get({name:yu,initialState:{savedSearches:void 0,bookmarks:void 0}}),es=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Si,this.savedSearchesService=new vi,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=D.getState();De((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(),Oi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Oi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Oi.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;Oi.actions.bookmarks(r)}}},zc=new es;var ts=class{addCommand(e,r=!1){D.commands.add(e,r)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ts;var rs=class{highlightHtml(e,r,o){da(e,r,o)}};window.FluidTopicsHighlightHtmlService=new rs;var os=class{isDate(e){var r,o,n,a;return(a=(n=((o=(r=D.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var o,n,a;return Nr.format(e,(o=r?.locale)!==null&&o!==void 0?o:D.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new os;F("ft-app-context")(se);var Ci=class extends nt{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0)}};var Eo=t=>t.request.virtualField===_r.TITLE_ONLY&&t.request.scope===Tr.DOCUMENTS,Ei=class t extends Event{constructor(){super(t.eventName)}};Ei.eventName="search-context-clear-all-filters";var Co=class t{static build(e,r){return new t(vc(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new oe(10),this.searchDebouncer=new oe(100),this.suggestDebouncer=new oe(300),this.service=r??new Ci}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(e!=o){if(r){let n=a=>r.some(s=>s.lang==a);n(e)||(e=n(o)?o:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(o=>o.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(o=>{this.facetIds.includes(o.key)||(this.facetIds=[...this.facetIds,o.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(_r.TITLE_ONLY),this.store.actions.setRequestScope(Tr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(_r.EVERYWHERE),this.store.actions.setRequestScope(Tr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Eo(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Ei)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let o=this.facetIds.filter(n=>n!=e);r&&o.push(r),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let o=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(o)}setFilter(e,r){let o=this.store.getState().request.filters,n={key:e,values:r,negative:!1},a=[...o.filter(s=>s.key!==e),n];this.setFilters(a)}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 o=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&o.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=xr(this.service.launchSearch(o));let n=await this.cancelableSearch;if(n.paging.currentPage<=1)this.store.actions.setResults(n.results),this.store.actions.setFacets(n.facets),this.store.actions.setSpellcheck(n.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(n.results);this.store.actions.setResults(a)}this.store.actions.setPaging(n.paging)}}catch(o){!(o instanceof _t)&&this.errorHandler&&this.errorHandler(o)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),o=r.request,n={input:r.liveQuery,filters:o.filters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=xr(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof _t)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var gu=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ns=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},is=Symbol("registerInterval");function bu(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[is]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[is]):this.dispatchEvent(new ns)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=is,gu([K()],r.prototype,"stateManager",void 0),r}var Ut=class extends bu(We){};var Wc=i.extend("--ft-ripple-color","",P.colorContent),V={color:Wc,backgroundColor:i.extend("--ft-ripple-background-color","",Wc),opacityContentOnSurfacePressed:i.external(P.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.external(P.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.external(P.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.external(P.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.create("--ft-ripple-border-radius","","SIZE","0px")},Hc=i.extend("--ft-ripple-color","",P.colorPrimary),Vc={color:Hc,backgroundColor:i.extend("--ft-ripple-background-color","",Hc)},jc=i.extend("--ft-ripple-color","",P.colorSecondary),Kc={color:jc,backgroundColor:i.extend("--ft-ripple-background-color","",jc)},Gc=N`
62
+ `}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Pr.addContext(r)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.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())}};se.elementDefinitions={};se.styles=Uc;we([y()],se.prototype,"baseUrl",void 0);we([y()],se.prototype,"apiIntegrationIdentifier",void 0);we([y()],se.prototype,"uiLocale",void 0);we([he(null)],se.prototype,"availableUiLocales",void 0);we([he(null)],se.prototype,"metadataConfiguration",void 0);we([y({type:Boolean})],se.prototype,"editorMode",void 0);we([y({type:Boolean})],se.prototype,"noCustom",void 0);we([y({type:Boolean})],se.prototype,"openExternalDocumentInNewTab",void 0);we([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],se.prototype,"noCustomComponent",void 0);we([y({type:Boolean})],se.prototype,"withManualResources",void 0);we([y({type:Boolean})],se.prototype,"navigatorOnline",void 0);we([y({type:Boolean})],se.prototype,"forcedOffline",void 0);we([y({type:Object})],se.prototype,"apiProvider",void 0);we([he([])],se.prototype,"messageContexts",void 0);we([he(void 0)],se.prototype,"session",void 0);var vi=class extends nt{async listMySearches(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Si=class extends nt{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var yu="ft-user-assets",Oi=vt.get({name:yu,initialState:{savedSearches:void 0,bookmarks:void 0}}),es=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Si,this.savedSearchesService=new vi,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=D.getState();De((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(),Oi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Oi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Oi.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;Oi.actions.bookmarks(r)}}},zc=new es;var ts=class{addCommand(e,r=!1){D.commands.add(e,r)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ts;var rs=class{highlightHtml(e,r,o){da(e,r,o)}};window.FluidTopicsHighlightHtmlService=new rs;var os=class{isDate(e){var r,o,n,a;return(a=(n=((o=(r=D.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var o,n,a;return Nr.format(e,(o=r?.locale)!==null&&o!==void 0?o:D.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new os;F("ft-app-context")(se);var Ci=class extends nt{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0)}};var Eo=t=>t.request.virtualField===_r.TITLE_ONLY&&t.request.scope===Tr.DOCUMENTS,Ei=class t extends Event{constructor(){super(t.eventName)}};Ei.eventName="search-context-clear-all-filters";var Co=class t{static build(e,r){return new t(vc(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new oe(10),this.searchDebouncer=new oe(100),this.suggestDebouncer=new oe(300),this.service=r??new Ci}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(e!=o){if(r){let n=a=>r.some(s=>s.lang==a);n(e)||(e=n(o)?o:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(o=>o.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(o=>{this.facetIds.includes(o.key)||(this.facetIds=[...this.facetIds,o.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(_r.TITLE_ONLY),this.store.actions.setRequestScope(Tr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(_r.EVERYWHERE),this.store.actions.setRequestScope(Tr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Eo(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Ei)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let o=this.facetIds.filter(n=>n!=e);r&&o.push(r),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let o=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(o)}setFilter(e,r){let o=this.store.getState().request.filters,n={key:e,values:r,negative:!1},a=[...o.filter(s=>s.key!==e),n];this.setFilters(a)}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 o=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&o.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=xr(this.service.launchSearch(o));let n=await this.cancelableSearch;if(n.paging.currentPage<=1)this.store.actions.setResults(n.results),this.store.actions.setFacets(n.facets),this.store.actions.setSpellcheck(n.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(n.results);this.store.actions.setResults(a)}this.store.actions.setPaging(n.paging)}}catch(o){!(o instanceof _t)&&this.errorHandler&&this.errorHandler(o)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),o=r.request,n={input:r.liveQuery,filters:o.filters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=xr(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof _t)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var gu=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ns=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},is=Symbol("registerInterval");function bu(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[is]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[is]):this.dispatchEvent(new ns)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=is,gu([K()],r.prototype,"stateManager",void 0),r}var Ut=class extends bu(We){};var Wc=i.extend("--ft-ripple-color","",P.colorContent),V={color:Wc,backgroundColor:i.extend("--ft-ripple-background-color","",Wc),opacityContentOnSurfacePressed:i.external(P.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.external(P.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.external(P.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.external(P.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.create("--ft-ripple-border-radius","","SIZE","0px")},Hc=i.extend("--ft-ripple-color","",P.colorPrimary),Vc={color:Hc,backgroundColor:i.extend("--ft-ripple-background-color","",Hc)},jc=i.extend("--ft-ripple-color","",P.colorSecondary),Kc={color:jc,backgroundColor:i.extend("--ft-ripple-background-color","",jc)},Gc=N`
63
63
  :host {
64
64
  display: contents;
65
65
  }
@@ -342,12 +342,12 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-conte
342
342
  .ft-icon--material {
343
343
  font-family: ${de.materialFontFamily}, "Material Icons", sans-serif;
344
344
  }
345
- `;var je;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(je||(je={}));var Ai=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ye=class extends M{constructor(){super(...arguments),this.resolvedIcon=B}render(){let e=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,r=e!==je.material||!!this.value;return _`
345
+ `;var je;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(je||(je={}));var Ai=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ge=class extends M{constructor(){super(...arguments),this.resolvedIcon=B}render(){let e=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,r=e!==je.material||!!this.value;return _`
346
346
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
347
347
  ${nn(this.resolvedIcon)}
348
348
  <slot ?hidden=${r}></slot>
349
349
  </i>
350
- `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let o=this.value||this.textContent;switch(this.variant){case je.file_format:this.resolvedIcon=(e=A[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case je.material:this.resolvedIcon=this.value||B;break;default:this.resolvedIcon=(r=Fr[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ye.elementDefinitions={};ye.styles=pd;Ai([y()],ye.prototype,"variant",void 0);Ai([y()],ye.prototype,"value",void 0);Ai([K()],ye.prototype,"resolvedIcon",void 0);Ai([W("slot")],ye.prototype,"slottedContent",void 0);F("ft-icon")(ye);var Ae={color:i.extend("--ft-loader-color","",P.colorPrimary),size:i.create("--ft-loader-size","","SIZE","80px")},fd=N`
350
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let o=this.value||this.textContent;switch(this.variant){case je.file_format:this.resolvedIcon=(e=A[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case je.material:this.resolvedIcon=this.value||B;break;default:this.resolvedIcon=(r=Fr[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ge.elementDefinitions={};ge.styles=pd;Ai([y()],ge.prototype,"variant",void 0);Ai([y()],ge.prototype,"value",void 0);Ai([K()],ge.prototype,"resolvedIcon",void 0);Ai([W("slot")],ge.prototype,"slottedContent",void 0);F("ft-icon")(ge);var Ae={color:i.extend("--ft-loader-color","",P.colorPrimary),size:i.create("--ft-loader-size","","SIZE","80px")},fd=N`
351
351
  :host {
352
352
  line-height: 0;
353
353
  }
@@ -632,7 +632,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-conte
632
632
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
633
633
  `:_`
634
634
  <slot part="icon" name="icon"></slot>
635
- `}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}};pe.elementDefinitions={"ft-ripple":Y,"ft-tooltip":te,"ft-typography":Q,"ft-icon":ye,"ft-loader":cr};Be([y({type:String,reflect:!0})],pe.prototype,"role",void 0);Be([y()],pe.prototype,"type",void 0);Be([y({type:Boolean})],pe.prototype,"disabled",void 0);Be([y()],pe.prototype,"label",void 0);Be([y()],pe.prototype,"icon",void 0);Be([y()],pe.prototype,"iconVariant",void 0);Be([y({type:Boolean})],pe.prototype,"trailingIcon",void 0);Be([y({type:Boolean})],pe.prototype,"loading",void 0);Be([y()],pe.prototype,"tooltipPosition",void 0);Be([y({type:Boolean})],pe.prototype,"hideTooltip",void 0);Be([y({type:Boolean})],pe.prototype,"forceTooltip",void 0);Be([W(".ft-button")],pe.prototype,"button",void 0);Be([W(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);var Ri=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ve=class extends pe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ve.styles=[go,md];Ri([y({type:Boolean})],ve.prototype,"primary",void 0);Ri([y({type:Boolean})],ve.prototype,"outlined",void 0);Ri([y({type:Boolean})],ve.prototype,"dense",void 0);Ri([y({type:Boolean})],ve.prototype,"round",void 0);var gd=[N`
635
+ `}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}};pe.elementDefinitions={"ft-ripple":Y,"ft-tooltip":te,"ft-typography":Q,"ft-icon":ge,"ft-loader":cr};Be([y({type:String,reflect:!0})],pe.prototype,"role",void 0);Be([y()],pe.prototype,"type",void 0);Be([y({type:Boolean})],pe.prototype,"disabled",void 0);Be([y()],pe.prototype,"label",void 0);Be([y()],pe.prototype,"icon",void 0);Be([y()],pe.prototype,"iconVariant",void 0);Be([y({type:Boolean})],pe.prototype,"trailingIcon",void 0);Be([y({type:Boolean})],pe.prototype,"loading",void 0);Be([y()],pe.prototype,"tooltipPosition",void 0);Be([y({type:Boolean})],pe.prototype,"hideTooltip",void 0);Be([y({type:Boolean})],pe.prototype,"forceTooltip",void 0);Be([W(".ft-button")],pe.prototype,"button",void 0);Be([W(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);var Ri=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ve=class extends pe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ve.styles=[go,md];Ri([y({type:Boolean})],ve.prototype,"primary",void 0);Ri([y({type:Boolean})],ve.prototype,"outlined",void 0);Ri([y({type:Boolean})],ve.prototype,"dense",void 0);Ri([y({type:Boolean})],ve.prototype,"round",void 0);var gd=[N`
636
636
  :host {
637
637
  display: inline-block;
638
638
  max-width: 100%;
@@ -876,7 +876,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-conte
876
876
  .ftds--size-small.ft-button--icon-only {
877
877
  width: ${w.smallIconOnlyWidth};
878
878
  }
879
- `,or];var Ni=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ye=class extends li(pe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=mt.brand,this.iconVariant=je.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case he.large:return Ve.body2medium;case he.medium:return Ve.caption1medium;case he.small:return Ve.caption2medium}}};Ye.styles=[go,gd];Ni([y({type:Boolean})],Ye.prototype,"primary",void 0);Ni([y({type:Boolean})],Ye.prototype,"secondary",void 0);Ni([y({type:Boolean})],Ye.prototype,"tertiary",void 0);Ni([y({type:Boolean})],Ye.prototype,"round",void 0);F("ft-button")(ve);F("ftds-button")(Ye);var bd=i.extend("--ft-chip-color","",P.colorOnSurface),Ke={backgroundColor:i.extend("--ft-chip-background-color","",P.colorSurface),color:bd,fontSize:i.extend("--ft-chip-font-size","",xe.fontSize),iconSize:i.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:i.create("--ft-chip-border-radius","","SIZE",""),rippleColor:i.extend("--ft-chip-ripple-color","",bd),horizontalPadding:i.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:i.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:i.external(P.colorOutline,"Design system"),opacityDisabled:i.external(P.colorOpacityDisabled,"Design system")},xd=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",P.colorOnPrimary)),cs={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",P.colorPrimary)),color:xd,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",xd)},vd={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Sd=[or,N`
879
+ `,or];var Ni=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ye=class extends li(pe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=mt.brand,this.iconVariant=je.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case me.large:return Ve.body2medium;case me.medium:return Ve.caption1medium;case me.small:return Ve.caption2medium}}};Ye.styles=[go,gd];Ni([y({type:Boolean})],Ye.prototype,"primary",void 0);Ni([y({type:Boolean})],Ye.prototype,"secondary",void 0);Ni([y({type:Boolean})],Ye.prototype,"tertiary",void 0);Ni([y({type:Boolean})],Ye.prototype,"round",void 0);F("ft-button")(ve);F("ftds-button")(Ye);var bd=i.extend("--ft-chip-color","",P.colorOnSurface),Ke={backgroundColor:i.extend("--ft-chip-background-color","",P.colorSurface),color:bd,fontSize:i.extend("--ft-chip-font-size","",xe.fontSize),iconSize:i.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:i.create("--ft-chip-border-radius","","SIZE",""),rippleColor:i.extend("--ft-chip-ripple-color","",bd),horizontalPadding:i.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:i.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:i.external(P.colorOutline,"Design system"),opacityDisabled:i.external(P.colorOpacityDisabled,"Design system")},xd=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",P.colorOnPrimary)),cs={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",P.colorPrimary)),color:xd,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",xd)},vd={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Sd=[or,N`
880
880
  :host {
881
881
  display: inline-block;
882
882
  max-width: 100%;
@@ -1039,7 +1039,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-conte
1039
1039
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1040
1040
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1041
1041
  </div>
1042
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new _i))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new _i))}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};le.elementDefinitions={"ft-ripple":Y,"ft-typography":Q,"ft-icon":ye,"ft-button":ve};le.styles=Sd;Fe([y({type:Boolean})],le.prototype,"highlighted",void 0);Fe([y({type:Boolean})],le.prototype,"removable",void 0);Fe([y({type:Boolean})],le.prototype,"disabled",void 0);Fe([y({type:Boolean})],le.prototype,"clickable",void 0);Fe([y({type:Boolean})],le.prototype,"iconClickable",void 0);Fe([y({type:Boolean})],le.prototype,"dense",void 0);Fe([y({type:Boolean})],le.prototype,"multiLine",void 0);Fe([y()],le.prototype,"label",void 0);Fe([y()],le.prototype,"iconLabel",void 0);Fe([y()],le.prototype,"icon",void 0);Fe([y()],le.prototype,"iconVariant",void 0);Fe([y({type:Boolean})],le.prototype,"trailingIcon",void 0);Fe([W("ft-typography slot")],le.prototype,"slottedContent",void 0);var Od=[N`
1042
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new _i))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new _i))}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};le.elementDefinitions={"ft-ripple":Y,"ft-typography":Q,"ft-icon":ge,"ft-button":ve};le.styles=Sd;Fe([y({type:Boolean})],le.prototype,"highlighted",void 0);Fe([y({type:Boolean})],le.prototype,"removable",void 0);Fe([y({type:Boolean})],le.prototype,"disabled",void 0);Fe([y({type:Boolean})],le.prototype,"clickable",void 0);Fe([y({type:Boolean})],le.prototype,"iconClickable",void 0);Fe([y({type:Boolean})],le.prototype,"dense",void 0);Fe([y({type:Boolean})],le.prototype,"multiLine",void 0);Fe([y()],le.prototype,"label",void 0);Fe([y()],le.prototype,"iconLabel",void 0);Fe([y()],le.prototype,"icon",void 0);Fe([y()],le.prototype,"iconVariant",void 0);Fe([y({type:Boolean})],le.prototype,"trailingIcon",void 0);Fe([W("ft-typography slot")],le.prototype,"slottedContent",void 0);var Od=[N`
1043
1043
  :host {
1044
1044
  display: inline-block;
1045
1045
  max-width: 100%;
@@ -1169,15 +1169,15 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-conte
1169
1169
  size=${this.resolveButtonSize()}
1170
1170
  part="icon-button"
1171
1171
  ></ftds-button>
1172
- `:B}resolveButtonSize(){switch(this.size){case he.large:return he.medium;case he.medium:case he.small:return he.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new ds)}typographyVariant(){switch(this.size){case he.large:return Ve.body2medium;case he.medium:return Ve.caption1medium;case he.small:return Ve.caption2medium}}};Xe.elementDefinitions={"ft-typography":Q,"ft-icon":ye,"ftds-button":Ye};Xe.styles=Od;wo([y({type:Boolean})],Xe.prototype,"removable",void 0);wo([y()],Xe.prototype,"removeButtonLabel",void 0);wo([y()],Xe.prototype,"label",void 0);wo([y()],Xe.prototype,"icon",void 0);wo([W("ft-typography slot")],Xe.prototype,"slottedContent",void 0);F("ft-chip")(le);F("ftds-chip")(Xe);var Cd=N`
1172
+ `:B}resolveButtonSize(){switch(this.size){case me.large:return me.medium;case me.medium:case me.small:return me.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new ds)}typographyVariant(){switch(this.size){case me.large:return Ve.body2medium;case me.medium:return Ve.caption1medium;case me.small:return Ve.caption2medium}}};Xe.elementDefinitions={"ft-typography":Q,"ft-icon":ge,"ftds-button":Ye};Xe.styles=Od;wo([y({type:Boolean})],Xe.prototype,"removable",void 0);wo([y()],Xe.prototype,"removeButtonLabel",void 0);wo([y()],Xe.prototype,"label",void 0);wo([y()],Xe.prototype,"icon",void 0);wo([W("ft-typography slot")],Xe.prototype,"slottedContent",void 0);F("ft-chip")(le);F("ftds-chip")(Xe);var Cd=N`
1173
1173
  `;var vu=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ps=Symbol("i18nAttributes"),Ti=Symbol("i18nProperties"),Ao=Symbol("i18nUnsubs");function Bt(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Fc:Pr}i18n(n,a,...s){var l;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...s);let c=(l=n.args)!==null&&l!==void 0?l:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...c)}onI18nUpdate(n){var a,s;(a=this[ps])===null||a===void 0||a.forEach((l,c)=>{var p;let f=this.getI18nAttributeValue(c);((p=f?.context)===null||p===void 0?void 0:p.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(c,f,l)}),(s=this[Ti])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===n.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,s){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(n){var a,s;super.update(n),(a=this[ps])===null||a===void 0||a.forEach((l,c)=>{let p=this.getI18nAttributeValue(c);p?.context&&p.key&&(n.has(c)||l.argsProvider!=null)&&(n.has(c)&&this.addI18nContext(p.context),this.updateI18nAttributeMessage(c,p,l))}),(s=this[Ti])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,s,l;super.connectedCallback(),new Set([...(a=(n=this[Ti])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[ps])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(c=>this.getI18nAttributeValue(c))].map(c=>c?.context)).forEach(c=>c&&this.addI18nMessages(c))}addI18nMessages(n,a){n=n.toLowerCase(),this[Ao].has(n)||this[Ao].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{}),this.onI18nUpdate(n)}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Ao].forEach(n=>n()),this[Ao].clear()}}return e=Ao,vu([y({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Ed=class extends Bt(M){},Pi=class extends Bt(We){};var Ro=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Je=class extends Pi{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":B:_`
1174
1174
  <span class="ft-i18n">
1175
1175
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1176
1176
  </span>
1177
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Je.elementDefinitions={};Je.styles=Cd;Ro([fe()],Je.prototype,"editorMode",void 0);Ro([y()],Je.prototype,"context",void 0);Ro([y()],Je.prototype,"key",void 0);Ro([be([])],Je.prototype,"args",void 0);Ro([y()],Je.prototype,"defaultMessage",void 0);var Wr=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,o)=>{let n=o;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,o)=>(...n)=>Pr.resolveMessage(this.name,o,...n)})}};F("ft-i18n")(Je);var wd=N`
1177
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Je.elementDefinitions={};Je.styles=Cd;Ro([fe()],Je.prototype,"editorMode",void 0);Ro([y()],Je.prototype,"context",void 0);Ro([y()],Je.prototype,"key",void 0);Ro([he([])],Je.prototype,"args",void 0);Ro([y()],Je.prototype,"defaultMessage",void 0);var Wr=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,o)=>{let n=o;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,o)=>(...n)=>Pr.resolveMessage(this.name,o,...n)})}};F("ft-i18n")(Je);var wd=N`
1178
1178
  `;var Ce=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},fs=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},us=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},hs=class extends CustomEvent{constructor(e,r,o){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:o}})}},ie=class extends We{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Co.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(D)}render(){return _`
1179
1179
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1180
- `}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 us(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new hs(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 fs(e))}reloadSavedSearches(){zc.clearMySearches()}clear(){this.stateManager.clear()}};ie.elementDefinitions={};ie.styles=wd;Ce([fe({store:D.name})],ie.prototype,"session",void 0);Ce([y()],ie.prototype,"query",void 0);Ce([y()],ie.prototype,"contentLocale",void 0);Ce([y({type:Number})],ie.prototype,"pageSize",void 0);Ce([y({type:Boolean})],ie.prototype,"searchInDocumentTitlesOnly",void 0);Ce([y()],ie.prototype,"periodFilter",void 0);Ce([y()],ie.prototype,"scope",void 0);Ce([y()],ie.prototype,"virtualField",void 0);Ce([y({type:Boolean})],ie.prototype,"ignoreEmptyQuery",void 0);Ce([fe({store:D.name})],ie.prototype,"openExternalDocumentInNewTab",void 0);Ce([be([])],ie.prototype,"filters",void 0);Ce([be([])],ie.prototype,"sort",void 0);Ce([fe({store:"search"})],ie.prototype,"request",void 0);Ce([fe({store:"search"})],ie.prototype,"paging",void 0);Ce([fe({store:"search",selector:t=>t.spellcheck})],ie.prototype,"autocorrect",void 0);Ce([y({attribute:!1})],ie.prototype,"searchServiceProvider",void 0);F("ft-search-context")(ie);var Ad=N`
1180
+ `}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&&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 us(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new hs(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 fs(e))}reloadSavedSearches(){zc.clearMySearches()}clear(){this.stateManager.clear()}};ie.elementDefinitions={};ie.styles=wd;Ce([fe({store:D.name})],ie.prototype,"session",void 0);Ce([y()],ie.prototype,"query",void 0);Ce([y()],ie.prototype,"contentLocale",void 0);Ce([y({type:Number})],ie.prototype,"pageSize",void 0);Ce([y({type:Boolean})],ie.prototype,"searchInDocumentTitlesOnly",void 0);Ce([he(null)],ie.prototype,"periodFilter",void 0);Ce([y()],ie.prototype,"scope",void 0);Ce([y()],ie.prototype,"virtualField",void 0);Ce([y({type:Boolean})],ie.prototype,"ignoreEmptyQuery",void 0);Ce([fe({store:D.name})],ie.prototype,"openExternalDocumentInNewTab",void 0);Ce([he([])],ie.prototype,"filters",void 0);Ce([he([])],ie.prototype,"sort",void 0);Ce([fe({store:"search"})],ie.prototype,"request",void 0);Ce([fe({store:"search"})],ie.prototype,"paging",void 0);Ce([fe({store:"search",selector:t=>t.spellcheck})],ie.prototype,"autocorrect",void 0);Ce([y({attribute:!1})],ie.prototype,"searchServiceProvider",void 0);F("ft-search-context")(ie);var Ad=N`
1181
1181
  `;var Ot={textColor:i.extend("--ft-checkbox-text-color","",P.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",k.fontSize),colorPrimary:i.external(P.colorPrimary,"Design system"),colorOnPrimary:i.external(P.colorOnPrimary,"Design system"),borderColor:i.extend("--ft-checkbox-border-color","",P.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.external(P.colorOnSurfaceDisabled,"Design system")},Rd=N`
1182
1182
  * {
1183
1183
  box-sizing: border-box;
@@ -1541,7 +1541,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-conte
1541
1541
  @change=${r=>this.optionsChanged(r,e)}>
1542
1542
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1543
1543
  </ft-radio>
1544
- `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};ce.elementDefinitions={"ft-button":ve,"ft-ripple":Y,"ft-typography":Q,"ft-checkbox":Pe,"ft-icon":ye,"ft-radio":ue};ce.styles=Td;Re([y({type:String})],ce.prototype,"filterId",void 0);Re([y({type:Object})],ce.prototype,"parent",void 0);Re([y({type:Array})],ce.prototype,"options",void 0);Re([y({type:Boolean})],ce.prototype,"multivalued",void 0);Re([y({type:Boolean})],ce.prototype,"disabled",void 0);Re([y({type:Boolean})],ce.prototype,"hideSelectedOptions",void 0);Re([y({type:Boolean})],ce.prototype,"displayCount",void 0);Re([y({type:Boolean})],ce.prototype,"preventNavigation",void 0);Re([y({type:String})],ce.prototype,"filter",void 0);Re([y({type:String})],ce.prototype,"moreValuesButtonLabel",void 0);Re([y({type:String})],ce.prototype,"noValuesLabel",void 0);Re([y({type:Number})],ce.prototype,"displayedValuesLimit",void 0);Re([W(".ft-filter-level--container")],ce.prototype,"container",void 0);Re([K()],ce.prototype,"radios",void 0);Re([K()],ce.prototype,"displayedPages",void 0);var Ft={buttonsColor:i.extend("--ft-snap-scroll-buttons-color","",P.colorPrimary),buttonsZIndex:i.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:i.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:i.external(P.colorSurface,"Design system")},Pd=N`
1544
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};ce.elementDefinitions={"ft-button":ve,"ft-ripple":Y,"ft-typography":Q,"ft-checkbox":Pe,"ft-icon":ge,"ft-radio":ue};ce.styles=Td;Re([y({type:String})],ce.prototype,"filterId",void 0);Re([y({type:Object})],ce.prototype,"parent",void 0);Re([y({type:Array})],ce.prototype,"options",void 0);Re([y({type:Boolean})],ce.prototype,"multivalued",void 0);Re([y({type:Boolean})],ce.prototype,"disabled",void 0);Re([y({type:Boolean})],ce.prototype,"hideSelectedOptions",void 0);Re([y({type:Boolean})],ce.prototype,"displayCount",void 0);Re([y({type:Boolean})],ce.prototype,"preventNavigation",void 0);Re([y({type:String})],ce.prototype,"filter",void 0);Re([y({type:String})],ce.prototype,"moreValuesButtonLabel",void 0);Re([y({type:String})],ce.prototype,"noValuesLabel",void 0);Re([y({type:Number})],ce.prototype,"displayedValuesLimit",void 0);Re([W(".ft-filter-level--container")],ce.prototype,"container",void 0);Re([K()],ce.prototype,"radios",void 0);Re([K()],ce.prototype,"displayedPages",void 0);var Ft={buttonsColor:i.extend("--ft-snap-scroll-buttons-color","",P.colorPrimary),buttonsZIndex:i.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:i.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:i.external(P.colorSurface,"Design system")},Pd=N`
1545
1545
  .ft-snap-scroll {
1546
1546
  box-sizing: border-box;
1547
1547
  position: relative;
@@ -1666,7 +1666,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-conte
1666
1666
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1667
1667
  background-color: ${Ft.colorSurface};
1668
1668
  }
1669
- `;var lt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ms=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},ge=class extends M{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new oe(200),this.updateScrollDebouncer=new oe(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let o=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>o)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=Ee({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":sr}),r=this.controls&&this.withScroll;return _`
1669
+ `;var lt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ms=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},be=class extends M{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new oe(200),this.updateScrollDebouncer=new oe(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let o=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>o)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=Ee({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":sr}),r=this.controls&&this.withScroll;return _`
1670
1670
  <div part="container" class="${e}">
1671
1671
  <ft-button
1672
1672
  class="ft-snap-scroll--previous"
@@ -1690,7 +1690,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-conte
1690
1690
  @click=${this.next}
1691
1691
  ></ft-button>
1692
1692
  </div>
1693
- `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new ms(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,o;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(o=this.contentSlot)===null||o===void 0||o.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(o=>o))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};ge.elementDefinitions={"ft-button":ve};ge.styles=Pd;lt([y({type:Boolean})],ge.prototype,"horizontal",void 0);lt([y({type:Boolean})],ge.prototype,"hideScrollbar",void 0);lt([y({type:Boolean})],ge.prototype,"controls",void 0);lt([y({type:Boolean})],ge.prototype,"limitSize",void 0);lt([K()],ge.prototype,"elements",void 0);lt([K()],ge.prototype,"currentElement",void 0);lt([K()],ge.prototype,"withScroll",void 0);lt([K()],ge.prototype,"startReached",void 0);lt([K()],ge.prototype,"endReached",void 0);lt([W(".ft-snap-scroll--content")],ge.prototype,"contentSlot",void 0);F("ft-snap-scroll")(ge);var Le={colorOutline:i.external(P.colorOutline,"Design system"),colorOnSurface:i.external(P.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(P.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(P.colorPrimary,"Design system"),colorSurface:i.external(P.colorSurface,"Design system"),transitionDuration:i.external(P.transitionDuration,"Design system"),transitionTimingFunction:i.external(P.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",P.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",k.fontSize,"16px")},$d=[wi,fa,N`
1693
+ `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new ms(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,o;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(o=this.contentSlot)===null||o===void 0||o.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(o=>o))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};be.elementDefinitions={"ft-button":ve};be.styles=Pd;lt([y({type:Boolean})],be.prototype,"horizontal",void 0);lt([y({type:Boolean})],be.prototype,"hideScrollbar",void 0);lt([y({type:Boolean})],be.prototype,"controls",void 0);lt([y({type:Boolean})],be.prototype,"limitSize",void 0);lt([K()],be.prototype,"elements",void 0);lt([K()],be.prototype,"currentElement",void 0);lt([K()],be.prototype,"withScroll",void 0);lt([K()],be.prototype,"startReached",void 0);lt([K()],be.prototype,"endReached",void 0);lt([W(".ft-snap-scroll--content")],be.prototype,"contentSlot",void 0);F("ft-snap-scroll")(be);var Le={colorOutline:i.external(P.colorOutline,"Design system"),colorOnSurface:i.external(P.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(P.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(P.colorPrimary,"Design system"),colorSurface:i.external(P.colorSurface,"Design system"),transitionDuration:i.external(P.transitionDuration,"Design system"),transitionTimingFunction:i.external(P.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",P.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",k.fontSize,"16px")},$d=[wi,fa,N`
1694
1694
  :host {
1695
1695
  display: flex;
1696
1696
  max-height: 100%;
@@ -1882,9 +1882,9 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:i.extend("--ft-conte
1882
1882
  .exportpartsPrefixes=${["values","available-values"]}
1883
1883
  noValuesLabel="${this.noValuesLabel}"
1884
1884
  ></ft-filter-level>
1885
- `}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let o=this.flatOptions.find(a=>a.value===e.detail.value);o.selected=!o.selected;let n=a=>{var s;a!==o&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=o.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;De(this.lastDispatchedValues,e)||(this.dispatchEvent(new ys(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};G.elementDefinitions={"ft-button":ve,"ft-filter-level":ce,"ft-snap-scroll":ge,"ft-typography":Q};G.styles=$d;re([y({type:String})],G.prototype,"id",void 0);re([y({type:String})],G.prototype,"label",void 0);re([y({type:String})],G.prototype,"filterPlaceHolder",void 0);re([y({type:String})],G.prototype,"clearButtonLabel",void 0);re([y({type:String})],G.prototype,"moreValuesButtonLabel",void 0);re([y({type:String})],G.prototype,"noValuesLabel",void 0);re([be([])],G.prototype,"options",void 0);re([y({type:Boolean})],G.prototype,"multivalued",void 0);re([y({type:Boolean})],G.prototype,"disabled",void 0);re([y({type:Boolean})],G.prototype,"raiseSelectedOptions",void 0);re([y({type:Boolean})],G.prototype,"displayCount",void 0);re([y({type:Number})],G.prototype,"displayedValuesLimit",void 0);re([y({type:Boolean})],G.prototype,"hideClearButton",void 0);re([W(".ft-filter--slot")],G.prototype,"slotElement",void 0);re([W(".ft-filter--container")],G.prototype,"container",void 0);re([W(".ft-filter--values")],G.prototype,"valuesContainer",void 0);re([W(".ft-filter--levels")],G.prototype,"levelsContainer",void 0);re([K()],G.prototype,"lastLevelHasHiddenvalues",void 0);re([W(".ft-filter--filter input")],G.prototype,"filterInput",void 0);re([Xi(".ft-filter--levels ft-filter-level")],G.prototype,"levels",void 0);re([K()],G.prototype,"withScroll",void 0);re([K()],G.prototype,"filter",void 0);re([K()],G.prototype,"slideIn",void 0);re([K()],G.prototype,"slideOut",void 0);var jr=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qe=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return _`
1885
+ `}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let o=this.flatOptions.find(a=>a.value===e.detail.value);o.selected=!o.selected;let n=a=>{var s;a!==o&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=o.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;De(this.lastDispatchedValues,e)||(this.dispatchEvent(new ys(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};G.elementDefinitions={"ft-button":ve,"ft-filter-level":ce,"ft-snap-scroll":be,"ft-typography":Q};G.styles=$d;re([y({type:String})],G.prototype,"id",void 0);re([y({type:String})],G.prototype,"label",void 0);re([y({type:String})],G.prototype,"filterPlaceHolder",void 0);re([y({type:String})],G.prototype,"clearButtonLabel",void 0);re([y({type:String})],G.prototype,"moreValuesButtonLabel",void 0);re([y({type:String})],G.prototype,"noValuesLabel",void 0);re([he([])],G.prototype,"options",void 0);re([y({type:Boolean})],G.prototype,"multivalued",void 0);re([y({type:Boolean})],G.prototype,"disabled",void 0);re([y({type:Boolean})],G.prototype,"raiseSelectedOptions",void 0);re([y({type:Boolean})],G.prototype,"displayCount",void 0);re([y({type:Number})],G.prototype,"displayedValuesLimit",void 0);re([y({type:Boolean})],G.prototype,"hideClearButton",void 0);re([W(".ft-filter--slot")],G.prototype,"slotElement",void 0);re([W(".ft-filter--container")],G.prototype,"container",void 0);re([W(".ft-filter--values")],G.prototype,"valuesContainer",void 0);re([W(".ft-filter--levels")],G.prototype,"levelsContainer",void 0);re([K()],G.prototype,"lastLevelHasHiddenvalues",void 0);re([W(".ft-filter--filter input")],G.prototype,"filterInput",void 0);re([Xi(".ft-filter--levels ft-filter-level")],G.prototype,"levels",void 0);re([K()],G.prototype,"withScroll",void 0);re([K()],G.prototype,"filter",void 0);re([K()],G.prototype,"slideIn",void 0);re([K()],G.prototype,"slideOut",void 0);var jr=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qe=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return _`
1886
1886
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1887
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qe.elementDefinitions={};jr([y({type:String})],Qe.prototype,"label",void 0);jr([y({type:Object,converter:t=>t})],Qe.prototype,"value",void 0);jr([y({type:Boolean,reflect:!0})],Qe.prototype,"selected",void 0);jr([y({type:Object})],Qe.prototype,"subOptions",void 0);jr([be({})],Qe.prototype,"renderOption",void 0);jr([W(".ft-filter-option--slot")],Qe.prototype,"slotElement",void 0);F("ft-filter")(G);F("ft-filter-option")(Qe);var zt=Wr.build("designedSearchType"),Ii={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Ld=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Wt=class extends Bt(Ut){constructor(){super(),this.addI18nContext(zt,Ii)}render(){return _`
1887
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qe.elementDefinitions={};jr([y({type:String})],Qe.prototype,"label",void 0);jr([y({type:Object,converter:t=>t})],Qe.prototype,"value",void 0);jr([y({type:Boolean,reflect:!0})],Qe.prototype,"selected",void 0);jr([y({type:Object})],Qe.prototype,"subOptions",void 0);jr([he({})],Qe.prototype,"renderOption",void 0);jr([W(".ft-filter-option--slot")],Qe.prototype,"slotElement",void 0);F("ft-filter")(G);F("ft-filter-option")(Qe);var zt=Wr.build("designedSearchType"),Ii={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Ld=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Wt=class extends Bt(Ut){constructor(){super(),this.addI18nContext(zt,Ii)}render(){return _`
1888
1888
  <ft-filter
1889
1889
  label=${zt.messages.label()}
1890
1890
  .options=${[{label:zt.messages.documentTitlesOnly(),value:e=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(e)},selected:this.searchInDocumentTitlesOnly}]}