@fluid-topics/ft-search-bar 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -8
- package/build/ft-search-bar.d.ts +3 -4
- package/build/ft-search-bar.js +8 -14
- package/build/ft-search-bar.light.js +548 -531
- package/build/ft-search-bar.min.js +435 -418
- package/build/managers/DesktopSearchBarManager.js +4 -2
- package/build/managers/MobileSearchBarManager.js +8 -3
- package/build/managers/SuggestManager.d.ts +1 -1
- package/build/managers/SuggestManager.js +15 -23
- package/package.json +16 -16
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?Z.substr(1,Z.length):Z}).forEach(function(Z){var re=Z.split(":"),j=re.shift().trim();if(j){var ft=re.join(":").trim();try{O.append(j,ft)}catch(ao){console.warn("Response "+ao.message)}}}),O}P.call(R.prototype);function oe(y,O){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=O.statusText===void 0?"":""+O.statusText,this.headers=new u(O.headers),this.url=O.url||"",this._initBody(y)}P.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},oe.error=function(){var y=new oe(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var ne=[301,302,303,307,308];oe.redirect=function(y,O){if(ne.indexOf(O)===-1)throw new RangeError("Invalid status code");return new oe(null,{status:O,headers:{location:y}})},t.DOMException=i.DOMException;try{new t.DOMException}catch{t.DOMException=function(O,B){this.message=O,this.name=B;var Z=Error(O);this.stack=Z.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function M(y,O){return new Promise(function(B,Z){var re=new R(y,O);if(re.signal&&re.signal.aborted)return Z(new t.DOMException("Aborted","AbortError"));var j=new XMLHttpRequest;function ft(){j.abort()}j.onload=function(){var Le={statusText:j.statusText,headers:te(j.getAllResponseHeaders()||"")};re.url.indexOf("file://")===0&&(j.status<200||j.status>599)?Le.status=200:Le.status=j.status,Le.url="responseURL"in j?j.responseURL:Le.headers.get("X-Request-URL");var nr="response"in j?j.response:j.responseText;setTimeout(function(){B(new oe(nr,Le))},0)},j.onerror=function(){setTimeout(function(){Z(new TypeError("Network request failed"))},0)},j.ontimeout=function(){setTimeout(function(){Z(new TypeError("Network request timed out"))},0)},j.onabort=function(){setTimeout(function(){Z(new t.DOMException("Aborted","AbortError"))},0)};function ao(Le){try{return Le===""&&i.location.href?i.location.href:Le}catch{return Le}}if(j.open(re.method,ao(re.url),!0),re.credentials==="include"?j.withCredentials=!0:re.credentials==="omit"&&(j.withCredentials=!1),"responseType"in j&&(n.blob?j.responseType="blob":n.arrayBuffer&&(j.responseType="arraybuffer")),O&&typeof O.headers=="object"&&!(O.headers instanceof u||i.Headers&&O.headers instanceof i.Headers)){var Ps=[];Object.getOwnPropertyNames(O.headers).forEach(function(Le){Ps.push(d(Le)),j.setRequestHeader(Le,p(O.headers[Le]))}),re.headers.forEach(function(Le,nr){Ps.indexOf(nr)===-1&&j.setRequestHeader(nr,Le)})}else re.headers.forEach(function(Le,nr){j.setRequestHeader(nr,Le)});re.signal&&(re.signal.addEventListener("abort",ft),j.onreadystatechange=function(){j.readyState===4&&re.signal.removeEventListener("abort",ft)}),j.send(typeof re._bodyInit>"u"?null:re._bodyInit)})}return M.polyfill=!0,i.fetch||(i.fetch=M,i.Headers=u,i.Request=R,i.Response=oe),t.Headers=u,t.Request=R,t.Response=oe,t.fetch=M,t}({})})(Bi);Bi.fetch.ponyfill=!0;delete Bi.fetch.polyfill;var Zr=Ti.fetch?Ti:Bi;er=Zr.fetch;er.default=Zr.fetch;er.fetch=Zr.fetch;er.Headers=Zr.Headers;er.Request=Zr.Request;er.Response=Zr.Response;Pc.exports=er});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(C,E){if(C=C.toLowerCase(),this._getDefinition(C)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${C}" has already been used with this registry`);if(this._definitionsByClass.get(E)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=E.prototype.attributeChangedCallback,W=new Set(E.observedAttributes||[]);g(E,W,R);let te={elementClass:E,connectedCallback:E.prototype.connectedCallback,disconnectedCallback:E.prototype.disconnectedCallback,adoptedCallback:E.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:E.formAssociated,formAssociatedCallback:E.prototype.formAssociatedCallback,formDisabledCallback:E.prototype.formDisabledCallback,formResetCallback:E.prototype.formResetCallback,formStateRestoreCallback:E.prototype.formStateRestoreCallback,observedAttributes:W};this._definitionsByTag.set(C,te),this._definitionsByClass.set(E,te);let oe=t.call(i,C);oe||(oe=u(C),e.call(i,C,oe)),this===window.customElements&&(s.set(E,te),te.standInClass=oe);let ne=this._awaitingUpgrade.get(C);if(ne){this._awaitingUpgrade.delete(C);for(let y of ne)a.delete(y),S(y,te,!0)}let M=this._whenDefinedPromises.get(C);return M!==void 0&&(M.resolve(E),this._whenDefinedPromises.delete(C)),E}upgrade(){I.push(this),i.upgrade.apply(i,arguments),I.pop()}get(C){return this._definitionsByTag.get(C)?.elementClass}_getDefinition(C){return this._definitionsByTag.get(C)}whenDefined(C){let E=this._getDefinition(C);if(E!==void 0)return Promise.resolve(E.elementClass);let R=this._whenDefinedPromises.get(C);return R===void 0&&(R={},R.promise=new Promise(W=>R.resolve=W),this._whenDefinedPromises.set(C,R)),R.promise}_upgradeWhenDefined(C,E,R){let W=this._awaitingUpgrade.get(E);W||this._awaitingUpgrade.set(E,W=new Set),R?W.add(C):W.delete(C)}};let d;window.HTMLElement=function(){let E=d;if(E)return d=void 0,E;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return E=Reflect.construct(r,[],R.standInClass),Object.setPrototypeOf(E,this.constructor.prototype),n.set(E,R),E},window.HTMLElement.prototype=r.prototype;let p=C=>C===document||C instanceof ShadowRoot,h=C=>{let E=C.getRootNode();if(!p(E)){let R=I[I.length-1];if(R instanceof CustomElementRegistry)return R;E=R.getRootNode(),p(E)||(E=l.get(E)?.getRootNode()||document)}return E.customElements},u=C=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let W=h(R)||window.customElements,te=W._getDefinition(C);return te?S(R,te):a.set(R,W),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(C,E,R)=>{if(E.size===0||R===void 0)return;let W=C.prototype.setAttribute;W&&(C.prototype.setAttribute=function(ne,M){let y=ne.toLowerCase();if(E.has(y)){let O=this.getAttribute(y);W.call(this,y,M),R.call(this,y,O,M)}else W.call(this,y,M)});let te=C.prototype.removeAttribute;te&&(C.prototype.removeAttribute=function(ne){let M=ne.toLowerCase();if(E.has(M)){let y=this.getAttribute(M);te.call(this,M),R.call(this,M,y,null)}else te.call(this,M)});let oe=C.prototype.toggleAttribute;oe&&(C.prototype.toggleAttribute=function(ne,M){let y=ne.toLowerCase();if(E.has(y)){let O=this.getAttribute(y);oe.call(this,y,M);let B=this.getAttribute(y);R.call(this,y,O,B)}else oe.call(this,y,M)})},x=C=>{let E=Object.getPrototypeOf(C);if(E!==window.HTMLElement)return E===r?Object.setPrototypeOf(C,window.HTMLElement):x(E)},S=(C,E,R=!1)=>{Object.setPrototypeOf(C,E.elementClass.prototype),n.set(C,E),d=C;try{new E.elementClass}catch{x(E.elementClass),new E.elementClass}E.attributeChangedCallback&&E.observedAttributes.forEach(W=>{C.hasAttribute(W)&&E.attributeChangedCallback.call(C,W,null,C.getAttribute(W))}),R&&E.connectedCallback&&C.isConnected&&E.connectedCallback.call(C)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(C){let E=A.apply(this,arguments);return C.customElements&&(E.customElements=C.customElements),E};let I=[document],k=(C,E,R=void 0)=>{let W=(R?Object.getPrototypeOf(R):C.prototype)[E];C.prototype[E]=function(){I.push(this);let te=W.apply(R||this,arguments);return te!==void 0&&l.set(te,this),I.pop(),te}};k(ShadowRoot,"createElement",document),k(ShadowRoot,"importNode",document),k(Element,"insertAdjacentHTML");let P=(C,E)=>{let R=Object.getOwnPropertyDescriptor(C.prototype,E);Object.defineProperty(C.prototype,E,{...R,set(W){I.push(this),R.set.call(this,W),I.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let C=new WeakMap,E=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ne){let M=E.call(this,...ne);return C.set(M,this),M},R.forEach(ne=>{let M=window.ElementInternals.prototype,y=M[ne];M[ne]=function(...O){let B=C.get(this);if(n.get(B).formAssociated===!0)return y?.call(this,...O);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class W extends Array{constructor(M){super(...M),this._elements=M}get value(){return this._elements.find(M=>M.checked===!0)?.value||""}}class te{constructor(M){let y=new Map;M.forEach((O,B)=>{let Z=O.getAttribute("name"),re=y.get(Z)||[];this[+B]=O,re.push(O),y.set(Z,re)}),this.length=M.length,y.forEach((O,B)=>{O&&(O.length===1?this[B]=O[0]:this[B]=new W(O))})}namedItem(M){return this[M]}}let oe=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ne=oe.get.call(this,[]),M=[];for(let y of ne){let O=n.get(y);(!O||O.formAssociated===!0)&&M.push(y)}return new te(M)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,i,n)=>{if(i!==null)try{e.bind(window.customElements)(t,i,n)}catch(a){console.info(t,i,n,a)}}}var dn={};se(dn,{CSSResult:()=>kr,LitElement:()=>kt,ReactiveElement:()=>ut,_$LE:()=>Dp,_$LH:()=>Tp,adoptStyles:()=>li,css:()=>N,defaultConverter:()=>ci,getCompatibleStyle:()=>yo,html:()=>w,isServer:()=>bh,noChange:()=>Wt,notEqual:()=>on,nothing:()=>U,render:()=>cn,supportsAdoptingStyleSheets:()=>ho,svg:()=>Ip,unsafeCSS:()=>Nt});var Zo=globalThis,Yo=Zo.ShadowRoot&&(Zo.ShadyCSS===void 0||Zo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ts=Symbol(),Is=new WeakMap,qo=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==Ts)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(Yo&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=Is.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Is.set(t,e))}return e}toString(){return this.cssText}},Bs=r=>new qo(typeof r=="string"?r:r+"",void 0,Ts);var Xi=(r,e)=>{if(Yo)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=Zo.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},Xo=Yo?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return Bs(t)})(r):r;var{is:yp,defineProperty:mp,getOwnPropertyDescriptor:gp,getOwnPropertyNames:bp,getOwnPropertySymbols:vp,getPrototypeOf:xp}=Object,Jo=globalThis,Fs=Jo.trustedTypes,Sp=Fs?Fs.emptyScript:"",Op=Jo.reactiveElementPolyfillSupport,so=(r,e)=>r,lo={toAttribute(r,e){switch(e){case Boolean:r=r?Sp:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},Qo=(r,e)=>!yp(r,e),Ds={attribute:!0,type:String,converter:lo,reflect:!1,hasChanged:Qo};Symbol.metadata??=Symbol("metadata"),Jo.litPropertyMetadata??=new WeakMap;var ar=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Ds){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&mp(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=gp(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ds}static _$Ei(){if(this.hasOwnProperty(so("elementProperties")))return;let e=xp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(so("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(so("properties"))){let t=this.properties,i=[...bp(t),...vp(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(Xo(n))}else e!==void 0&&t.push(Xo(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$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,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Xi(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,t,i){this._$AK(e,i)}_$EO(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:lo).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:lo;this._$Em=n,this[n]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,i,n=!1,a){if(e!==void 0){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??Qo)(n?a:this[e],t))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$ET()}catch(i){throw e=!1,this._$ET(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.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(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};ar.elementStyles=[],ar.shadowRootOptions={mode:"open"},ar[so("elementProperties")]=new Map,ar[so("finalized")]=new Map,Op?.({ReactiveElement:ar}),(Jo.reactiveElementVersions??=[]).push("2.0.2");var Qi=globalThis,ei=Qi.trustedTypes,Ms=ei?ei.createPolicy("lit-html",{createHTML:r=>r}):void 0,en="$lit$",$t=`lit$${(Math.random()+"").slice(9)}$`,tn="?"+$t,Cp=`<${tn}>`,cr=document,ti=()=>cr.createComment(""),po=r=>r===null||typeof r!="object"&&typeof r!="function",js=Array.isArray,Gs=r=>js(r)||typeof r?.[Symbol.iterator]=="function",Ji=`[
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ws=/'/g,Hs=/"/g,Ks=/^(?:script|style|textarea|title)$/i,Zs=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),qs=Zs(1),Ys=Zs(2),Ze=Symbol.for("lit-noChange"),ve=Symbol.for("lit-nothing"),Vs=new WeakMap,lr=cr.createTreeWalker(cr,129);function Xs(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ms!==void 0?Ms.createHTML(e):e}var Js=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":"",s=co;for(let l=0;l<t;l++){let d=r[l],p,h,u=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===co?h[1]==="!--"?s=Us:h[1]!==void 0?s=zs:h[2]!==void 0?(Ks.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=sr):h[3]!==void 0&&(s=sr):s===sr?h[0]===">"?(s=n??co,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?sr:h[3]==='"'?Hs:Ws):s===Hs||s===Ws?s=sr:s===Us||s===zs?s=co:(s=sr,n=void 0);let x=s===sr&&r[l+1].startsWith("/>")?" ":"";a+=s===co?d+Cp:u>=0?(i.push(p),d.slice(0,u)+en+d.slice(u)+$t+x):d+$t+(u===-2?l:x)}return[Xs(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),i]},fo=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=Js(e,t);if(this.el=r.createElement(p,i),lr.currentNode=this.el.content,t===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=lr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith(en)){let g=h[s++],x=n.getAttribute(u).split($t),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?oi:S[1]==="?"?ii:S[1]==="@"?ni:pr}),n.removeAttribute(u)}else u.startsWith($t)&&(d.push({type:6,index:a}),n.removeAttribute(u));if(Ks.test(n.tagName)){let u=n.textContent.split($t),g=u.length-1;if(g>0){n.textContent=ei?ei.emptyScript:"";for(let x=0;x<g;x++)n.append(u[x],ti()),lr.nextNode(),d.push({type:2,index:++a});n.append(u[g],ti())}}}else if(n.nodeType===8)if(n.data===tn)d.push({type:2,index:a});else{let u=-1;for(;(u=n.data.indexOf($t,u+1))!==-1;)d.push({type:7,index:a}),u+=$t.length-1}a++}}static createElement(e,t){let i=cr.createElement("template");return i.innerHTML=e,i}};function dr(r,e,t=r,i){if(e===Ze)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=po(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=dr(r,n._$AS(r,e.values),n,i)),e}var ri=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??cr).importNode(t,!0);lr.currentNode=n;let a=lr.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new uo(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new ai(a,this,e)),this._$AV.push(p),d=i[++l]}s!==d?.index&&(a=lr.nextNode(),s++)}return lr.currentNode=cr,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},uo=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=ve,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=dr(this,e,t),po(e)?e===ve||e==null||e===""?(this._$AH!==ve&&this._$AR(),this._$AH=ve):e!==this._$AH&&e!==Ze&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Gs(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!==ve&&po(this._$AH)?this._$AA.nextSibling.data=e:this.$(cr.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=fo.createElement(Xs(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new ri(n,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=Vs.get(e.strings);return t===void 0&&Vs.set(e.strings,t=new fo(e)),t}T(e){js(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.k(ti()),this.k(ti()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},pr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=ve,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=ve}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=dr(this,e,t,0),s=!po(e)||e!==this._$AH&&e!==Ze,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=dr(this,l[i+d],t,d),p===Ze&&(p=this._$AH[d]),s||=!po(p)||p!==this._$AH[d],p===ve?e=ve:e!==ve&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!n&&this.O(e)}O(e){e===ve?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},oi=class extends pr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ve?void 0:e}},ii=class extends pr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ve)}},ni=class extends pr{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=dr(this,e,t,0)??ve)===Ze)return;let i=this._$AH,n=e===ve&&i!==ve||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==ve&&(i===ve||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ai=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){dr(this,e)}},Qs={j:en,P:$t,A:tn,C:1,M:Js,L:ri,R:Gs,V:dr,D:uo,I:pr,H:ii,N:ni,U:oi,B:ai},Ep=Qi.litHtmlPolyfillSupport;Ep?.(fo,uo),(Qi.litHtmlVersions??=[]).push("3.1.0");var si=globalThis,ho=si.ShadowRoot&&(si.ShadyCSS===void 0||si.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,rn=Symbol(),el=new WeakMap,kr=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==rn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(ho&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=el.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&el.set(t,e))}return e}toString(){return this.cssText}},Nt=r=>new kr(typeof r=="string"?r:r+"",void 0,rn),N=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+r[a+1],r[0]);return new kr(t,r,rn)},li=(r,e)=>{if(ho)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=si.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},yo=ho?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return Nt(t)})(r):r;var{is:wp,defineProperty:Ap,getOwnPropertyDescriptor:Rp,getOwnPropertyNames:$p,getOwnPropertySymbols:Np,getPrototypeOf:Lp}=Object,di=globalThis,tl=di.trustedTypes,kp=tl?tl.emptyScript:"",_p=di.reactiveElementPolyfillSupport,mo=(r,e)=>r,ci={toAttribute(r,e){switch(e){case Boolean:r=r?kp:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},on=(r,e)=>!wp(r,e),rl={attribute:!0,type:String,converter:ci,reflect:!1,hasChanged:on};Symbol.metadata??=Symbol("metadata"),di.litPropertyMetadata??=new WeakMap;var ut=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=rl){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&Ap(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=Rp(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??rl}static _$Ei(){if(this.hasOwnProperty(mo("elementProperties")))return;let e=Lp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(mo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(mo("properties"))){let t=this.properties,i=[...$p(t),...Np(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(yo(n))}else e!==void 0&&t.push(yo(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$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,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return li(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,t,i){this._$AK(e,i)}_$EO(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:ci).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ci;this._$Em=n,this[n]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,i,n=!1,a){if(e!==void 0){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??on)(n?a:this[e],t))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$ET()}catch(i){throw e=!1,this._$ET(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.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(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};ut.elementStyles=[],ut.shadowRootOptions={mode:"open"},ut[mo("elementProperties")]=new Map,ut[mo("finalized")]=new Map,_p?.({ReactiveElement:ut}),(di.reactiveElementVersions??=[]).push("2.0.2");var an=globalThis,pi=an.trustedTypes,ol=pi?pi.createPolicy("lit-html",{createHTML:r=>r}):void 0,sn="$lit$",Lt=`lit$${(Math.random()+"").slice(9)}$`,ln="?"+Lt,Pp=`<${ln}>`,hr=document,bo=()=>hr.createComment(""),vo=r=>r===null||typeof r!="object"&&typeof r!="function",cl=Array.isArray,dl=r=>cl(r)||typeof r?.[Symbol.iterator]=="function",nn=`[
|
|
5
|
-
\f\r]`,
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),al=/'/g,sl=/"/g,pl=/^(?:script|style|textarea|title)$/i,fl=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),w=fl(1),Ip=fl(2),Wt=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),ll=new WeakMap,ur=hr.createTreeWalker(hr,129);function ul(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return ol!==void 0?ol.createHTML(e):e}var hl=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":"",s=go;for(let l=0;l<t;l++){let d=r[l],p,h,u=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===go?h[1]==="!--"?s=il:h[1]!==void 0?s=nl:h[2]!==void 0?(pl.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=fr):h[3]!==void 0&&(s=fr):s===fr?h[0]===">"?(s=n??go,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?fr:h[3]==='"'?sl:al):s===sl||s===al?s=fr:s===il||s===nl?s=go:(s=fr,n=void 0);let x=s===fr&&r[l+1].startsWith("/>")?" ":"";a+=s===go?d+Pp:u>=0?(i.push(p),d.slice(0,u)+sn+d.slice(u)+Lt+x):d+Lt+(u===-2?l:x)}return[ul(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),i]},xo=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=hl(e,t);if(this.el=r.createElement(p,i),ur.currentNode=this.el.content,t===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=ur.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith(sn)){let g=h[s++],x=n.getAttribute(u).split(Lt),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?ui:S[1]==="?"?hi:S[1]==="@"?yi:mr}),n.removeAttribute(u)}else u.startsWith(Lt)&&(d.push({type:6,index:a}),n.removeAttribute(u));if(pl.test(n.tagName)){let u=n.textContent.split(Lt),g=u.length-1;if(g>0){n.textContent=pi?pi.emptyScript:"";for(let x=0;x<g;x++)n.append(u[x],bo()),ur.nextNode(),d.push({type:2,index:++a});n.append(u[g],bo())}}}else if(n.nodeType===8)if(n.data===ln)d.push({type:2,index:a});else{let u=-1;for(;(u=n.data.indexOf(Lt,u+1))!==-1;)d.push({type:7,index:a}),u+=Lt.length-1}a++}}static createElement(e,t){let i=hr.createElement("template");return i.innerHTML=e,i}};function yr(r,e,t=r,i){if(e===Wt)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=vo(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=yr(r,n._$AS(r,e.values),n,i)),e}var fi=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??hr).importNode(t,!0);ur.currentNode=n;let a=ur.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new _r(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new mi(a,this,e)),this._$AV.push(p),d=i[++l]}s!==d?.index&&(a=ur.nextNode(),s++)}return ur.currentNode=hr,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},_r=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=yr(this,e,t),vo(e)?e===U||e==null||e===""?(this._$AH!==U&&this._$AR(),this._$AH=U):e!==this._$AH&&e!==Wt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):dl(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!==U&&vo(this._$AH)?this._$AA.nextSibling.data=e:this.$(hr.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=xo.createElement(ul(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new fi(n,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=ll.get(e.strings);return t===void 0&&ll.set(e.strings,t=new xo(e)),t}T(e){cl(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.k(bo()),this.k(bo()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},mr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=U,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=U}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=yr(this,e,t,0),s=!vo(e)||e!==this._$AH&&e!==Wt,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=yr(this,l[i+d],t,d),p===Wt&&(p=this._$AH[d]),s||=!vo(p)||p!==this._$AH[d],p===U?e=U:e!==U&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!n&&this.O(e)}O(e){e===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ui=class extends mr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===U?void 0:e}},hi=class extends mr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==U)}},yi=class extends mr{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=yr(this,e,t,0)??U)===Wt)return;let i=this._$AH,n=e===U&&i!==U||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==U&&(i===U||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},mi=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){yr(this,e)}},Tp={j:sn,P:Lt,A:ln,C:1,M:hl,L:fi,R:dl,V:yr,D:_r,I:mr,H:hi,N:yi,U:ui,B:mi},Bp=an.litHtmlPolyfillSupport;Bp?.(xo,_r),(an.litHtmlVersions??=[]).push("3.1.0");var cn=(r,e,t)=>{let i=t?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=t?.renderBefore??null;i._$litPart$=n=new _r(e.insertBefore(bo(),a),a,void 0,t??{})}return n._$AI(r),n};var kt=class extends ut{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=cn(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Wt}};kt._$litElement$=!0,kt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:kt});var Fp=globalThis.litElementPolyfillSupport;Fp?.({LitElement:kt});var Dp={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var bh=!1;var hn={};se(hn,{customElement:()=>Mp,eventOptions:()=>Pr,property:()=>m,query:()=>F,queryAll:()=>pn,queryAssignedElements:()=>fn,queryAssignedNodes:()=>un,queryAsync:()=>Wp,standardProperty:()=>yl,state:()=>z});var Mp=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var Up={attribute:!0,type:String,converter:lo,reflect:!1,hasChanged:Qo},yl=(r=Up,e,t)=>{let{kind:i,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),a.set(t.name,r),i==="accessor"){let{name:s}=t;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r),l}}}if(i==="setter"){let{name:s}=t;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+i)};function m(r){return(e,t)=>typeof t=="object"?yl(r,e,t):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,s?{...i,wrapped:!0}:i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(r,e,t)}function z(r){return m({...r,state:!0,attribute:!1})}function Pr(r){return(e,t)=>{let i=typeof e=="function"?e:e[t];Object.assign(i,r)}}var at=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t);function F(r,e){return(t,i,n)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof i=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return at(t,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return at(t,i,{get(){return a(this)}})}}var zp;function pn(r){return(e,t)=>at(e,t,{get(){return(this.renderRoot??(zp??=document.createDocumentFragment())).querySelectorAll(r)}})}function Wp(r){return(e,t)=>at(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function fn(r){return(e,t)=>{let{slot:i,selector:n}=r??{},a="slot"+(i?`[name=${i}]`:":not([name])");return at(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}function un(r){return(e,t)=>{let{slot:i}=r??{},n="slot"+(i?`[name=${i}]`:":not([name])");return at(e,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(r)??[]}})}}var yn={};se(yn,{repeat:()=>Re});var Ht={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Vt=r=>(...e)=>({_$litDirective$:r,values:e}),ht=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:Hp}=Qs;var ml=()=>document.createComment(""),Ir=(r,e,t)=>{let i=r._$AA.parentNode,n=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=i.insertBefore(ml(),n),s=i.insertBefore(ml(),n);t=new Hp(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let d;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(d=r._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let p=d.nextSibling;i.insertBefore(d,n),d=p}}}return t},jt=(r,e,t=r)=>(r._$AI(e,t),r),Vp={},gl=(r,e=Vp)=>r._$AH=e,bl=r=>r._$AH,gi=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let i=e.nextSibling;e.remove(),e=i}};var vl=(r,e,t)=>{let i=new Map;for(let n=e;n<=t;n++)i.set(r[n],n);return i},Re=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of r)n[s]=i?i(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:n}}render(r,e,t){return this.ht(r,e,t).values}update(r,[e,t,i]){let n=bl(r),{values:a,keys:s}=this.ht(e,t,i);if(!Array.isArray(n))return this.dt=s,a;let l=this.dt??=[],d=[],p,h,u=0,g=n.length-1,x=0,S=a.length-1;for(;u<=g&&x<=S;)if(n[u]===null)u++;else if(n[g]===null)g--;else if(l[u]===s[x])d[x]=jt(n[u],a[x]),u++,x++;else if(l[g]===s[S])d[S]=jt(n[g],a[S]),g--,S--;else if(l[u]===s[S])d[S]=jt(n[u],a[S]),Ir(r,d[S+1],n[u]),u++,S--;else if(l[g]===s[x])d[x]=jt(n[g],a[x]),Ir(r,n[u],n[g]),g--,x++;else if(p===void 0&&(p=vl(s,x,S),h=vl(l,u,g)),p.has(l[u]))if(p.has(l[g])){let A=h.get(s[x]),I=A!==void 0?n[A]:null;if(I===null){let k=Ir(r,n[u]);jt(k,a[x]),d[x]=k}else d[x]=jt(I,a[x]),Ir(r,n[u],I),n[A]=null;x++}else gi(n[g]),g--;else gi(n[u]),u++;for(;x<=S;){let A=Ir(r,d[S+1]);jt(A,a[x]),d[x++]=A}for(;u<=g;){let A=n[u++];A!==null&&gi(A)}return this.dt=s,gl(r,d),Ze}});var mn={};se(mn,{classMap:()=>pe});var pe=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.st?.has(i)&&this.it.add(i);return this.render(e)}let t=r.element.classList;for(let i of this.it)i in e||(t.remove(i),this.it.delete(i));for(let i in e){let n=!!e[i];n===this.it.has(i)||this.st?.has(i)||(n?(t.add(i),this.it.add(i)):(t.remove(i),this.it.delete(i)))}return Ze}});var gn={};se(gn,{styleMap:()=>Gp});var xl="important",jp=" !"+xl,Gp=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.ATTRIBUTE||r.name!=="style"||r.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[e]){let{style:t}=r.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let i of this.ut)e[i]==null&&(this.ut.delete(i),i.includes("-")?t.removeProperty(i):t[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ut.add(i);let a=typeof n=="string"&&n.endsWith(jp);i.includes("-")||a?t.setProperty(i,a?n.slice(0,-11):n,a?xl:""):t[i]=n}}return Ze}});var vn={};se(vn,{UnsafeHTMLDirective:()=>Tr,unsafeHTML:()=>bn});var Tr=class extends ht{constructor(e){if(super(e),this.et=ve,e.type!==Ht.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ve||e==null)return this.vt=void 0,this.et=e;if(e===Ze)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 t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Tr.directiveName="unsafeHTML",Tr.resultType=1;var bn=Vt(Tr);var On={};se(On,{CacheRegistry:()=>yt});var Sn={};se(Sn,{CancelablePromise:()=>Br,CanceledPromiseError:()=>So,cancelable:()=>xn});var So=class extends Error{constructor(e,t,i){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=i}},Br=class extends Promise{constructor(e){super((t,i)=>e(n=>{this.isCanceled?i(new So("Promise has been canceled",n)):t(n)},n=>{this.isCanceled?i(new So("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},xn=r=>new Br((e,t)=>r.then(e).catch(t));var yt=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(){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,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,i){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let n=xn(t());return this.content[e]=n,n.then(a=>(this.content[e]=a,i!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),i)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var En={};se(En,{ClusteringHelper:()=>Cn});var Cn=class r{constructor(e,t,i,n){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e,t){var i,n;let a=((n=(i=e?.map)!==null&&i!==void 0?i:e?.document)!==null&&n!==void 0?n:e?.topic).metadata;return t==null?r.flattenMetadata(a):r.flattenMetadata(a.find(s=>s.key===t))}static flattenMetadata(e){if(Array.isArray(e))return e.map(i=>r.flattenMetadata(i)).filter(i=>i!=null);let t=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!t))if(t){let i=[],n=[];return e.hierarchicalValues.forEach(a=>{i.push(a.join(" > ")),a.length>2?n.push(`... > ${a[a.length-1]}`):n.push(a.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:n.join(", ")}}else{let i=e.values.join(", ");return{key:e.key,label:e.label,value:i,displayValue:i}}}computeClustersItemsForMetadata(e,t,i="No value"){var n,a;let s=r.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=>r.extractResultMetadata(p,e)).map(p=>p??{key:e,label:l,value:void 0,displayValue:i}).filter(p=>p.value!=s?.value).filter((p,h,u)=>u.findIndex(g=>g.value===p.value)===h).map(p=>({result:this.findBestResultForMetadataValue(e,p.value),metadata:p})).sort((p,h)=>this.compareMetadata(p.metadata.value,h.metadata.value,e,t))}compareMetadata(e,t,i,n){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(t,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let i=this.allResults.filter(d=>{var p;return((p=r.extractResultMetadata(d,e))===null||p===void 0?void 0:p.value)==t}),a=[...r.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata(e).filter(i=>t.some(n=>n.key===i.key&&n.value===i.value)).length}};var wn={};se(wn,{Debouncer:()=>le});var le=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,i)=>{this.resolvePromise=t,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var $n={};se($n,{customElement:()=>H,isNumber:()=>Ol,jsonProperty:()=>ke,optionalNumberProperty:()=>Jp});var Rn={};se(Rn,{dateReviver:()=>Zp,deepEqual:()=>Te,delay:()=>bi,eventPathContainsMatchingElement:()=>Yp,flatDeep:()=>qe,hasChanged:()=>Oo,last:()=>Xp,minmax:()=>An,parseDate:()=>Sl,unslotText:()=>Fr,waitFor:()=>vi,waitUntil:()=>Kp});var bi=r=>new Promise(e=>setTimeout(e,r));async function Kp(r,e=10,t=2e4){await vi(async()=>await r()||void 0,e,t)}async function vi(r,e=10,t=2e4){let i=await r(),n,a;for(n=a=performance.now();i==null&&(!t||a-n<t);)await bi(e),i=await r(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function qe(r,e){return r.flatMap(t=>[t,...qe(e(t),e)])}function Zp(...r){return function(e,t){return r.includes(e)?Sl(t):t}}function Sl(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,i,n)=>t+i+":"+n),new Date(r)}function qp(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var t,i,n;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(i=t;i--!==0;)if(!Te(r[i],e[i]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;for(i of r.entries())if(!Te(i[1],e.get(i[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(n=Object.keys(r),t=n.length,t!==Object.keys(e).length)return!1;for(i=t;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=t;i--!==0;){var a=n[i];if(!Te(r[a],e[a]))return!1}return!0}return r!==r&&e!==e}function Te(r,e){try{return qp(r,e)}catch{return!1}}function Oo(r,e){return!Te(r,e)}function Yp(r,e,t=window.document.body){if(e.length>0){let i=r.composedPath();for(let n of i){if(n===t)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function An(r,e,t){return Math.min(Math.max(r,e),t)}function Xp(r){return r[r.length-1]}function Fr(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>Fr(e)).join(""):r?.textContent||""}var H=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function ke(r,e){let t=()=>JSON.parse(JSON.stringify(r));return m({type:Object,converter:{fromAttribute:i=>{if(i==null)return t();try{return JSON.parse(i)}catch{return t()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Oo,...e??{}})}function Jp(r){return m({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ol(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function Ol(r){return!isNaN(parseFloat(r))}var oa={};se(oa,{designSystemVariables:()=>$});var ra={};se(ra,{DesignSystemFamily:()=>Pt,DesignSystemSize:()=>$e,FtCssVariableFactory:()=>o,badge:()=>of,banner:()=>rf,button:()=>b,chart:()=>xf,checkbox:()=>Cf,chip:()=>Y,chipChoice:()=>ef,collapsible:()=>bf,comboboxMultiSelect:()=>mf,comboboxSingleSelect:()=>yf,drawer:()=>df,floatingMenu:()=>hf,foundation:()=>c,link:()=>tf,modal:()=>cf,notice:()=>Of,notification:()=>Af,pageDesigner:()=>Sf,pageFooter:()=>sf,pageHeader:()=>af,pageLayout:()=>lf,popover:()=>gf,radio:()=>wf,resolveFamilyClass:()=>ea,resolveSizeClass:()=>ta,semantic:()=>f,setVariable:()=>v,switch_:()=>vf,tabs:()=>pf,textArea:()=>uf,textInput:()=>ff,titleBreadcrumb:()=>nf,toggle:()=>Ef,tooltip:()=>Rf,typographies:()=>Co,typographyBody1Medium:()=>In,typographyBody1Regular:()=>Pn,typographyBody1Semibold:()=>Tn,typographyBody2Medium:()=>Fn,typographyBody2MediumUnderline:()=>Cl,typographyBody2Regular:()=>Bn,typographyBody2Semibold:()=>Dn,typographyCaption1Bold:()=>Kn,typographyCaption1Medium:()=>jn,typographyCaption1Semibold:()=>Gn,typographyCaption2Bold:()=>Yn,typographyCaption2Medium:()=>Zn,typographyCaption2Semibold:()=>qn,typographyCaption3Bold:()=>Qn,typographyCaption3Medium:()=>Xn,typographyCaption3Semibold:()=>Jn,typographyDisplay:()=>Nn,typographyLabel1Bold:()=>zn,typographyLabel1Medium:()=>Mn,typographyLabel1Semibold:()=>Un,typographyLabel2Bold:()=>Vn,typographyLabel2Medium:()=>Wn,typographyLabel2Semibold:()=>Hn,typographyTitle1:()=>Ln,typographyTitle2:()=>kn,typographyTitle3:()=>_n,typographyVariants:()=>Qp});var _t=r=>typeof r=="string"?Nt(r):r,o=class{static create(e,t,i,n){let a=l=>_t(l??n),s=N`var(${_t(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>N`var(${_t(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,t,i,n){let a=l=>i.get(l??n),s=N`var(${_t(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>N`var(${_t(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,t){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):_t(a??e.lastResortDefaultValue()),n=N`var(${_t(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=t,n.defaultCssValue=i,n.get=a=>N`var(${_t(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function v(r,e){return _t(`${r.name}: ${e}`)}var c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Nn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ln={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},kn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},_n={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Pn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},In={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Tn={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Fn={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Cl={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Dn={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Mn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Un={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},zn={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Wn={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Hn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Vn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},jn={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Gn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Zn={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},qn={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Co={display:Nn,"title-1":Ln,"title-2":kn,"title-3":_n,"body-1-regular":Pn,"body-1-medium":In,"body-1-semibold":Tn,"body-2-regular":Bn,"body-2-medium":Fn,"body-2-medium-underline":Cl,"body-2-semibold":Dn,"label-1-medium":Mn,"label-1-semibold":Un,"label-1-bold":zn,"label-2-medium":Wn,"label-2-semibold":Hn,"label-2-bold":Vn,"caption-1-medium":jn,"caption-1-semibold":Gn,"caption-1-bold":Kn,"caption-2-medium":Zn,"caption-2-semibold":qn,"caption-2-bold":Yn,"caption-3-medium":Xn,"caption-3-semibold":Jn,"caption-3-bold":Qn},Qp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var ef={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var Y={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var tf={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var rf={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var of={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var nf={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",f.contentGlobalSubtle)};var af={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var sf={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var lf={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var cf={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var df={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var pf={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var ff={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var uf={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var hf={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var yf={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var mf={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var gf={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var bf={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var vf={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var xf={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Sf={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Of={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var Cf={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",c.spacing3)};var Ef={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var wf={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)};var Af={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var Rf={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var Pt;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Pt||(Pt={}));var $e;(function(r){r.large="large",r.medium="medium",r.small="small"})($e||($e={}));function ea(r){return`ftds--family-${r}`}function ta(r){return`ftds--size-${r}`}var $={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var sa={};se(sa,{FtNotificationEvent:()=>ia,PostResizeEvent:()=>aa,PreResizeEvent:()=>na});var ia=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},na=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},aa=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Sa={};se(Sa,{computeFlipOffsetPosition:()=>Zf,computeOffsetPosition:()=>_o});var wl=["top","right","bottom","left"],El=["start","end"],la=wl.reduce((r,e)=>r.concat(e,e+"-"+El[0],e+"-"+El[1]),[]),Ao=Math.min,Gt=Math.max,Ro=Math.round;var It=r=>({x:r,y:r}),$f={left:"right",right:"left",bottom:"top",top:"bottom"},Nf={start:"end",end:"start"};function ca(r,e,t){return Gt(r,Ao(e,t))}function Dr(r,e){return typeof r=="function"?r(e):r}function mt(r){return r.split("-")[0]}function gt(r){return r.split("-")[1]}function da(r){return r==="x"?"y":"x"}function pa(r){return r==="y"?"height":"width"}function $o(r){return["top","bottom"].includes(mt(r))?"y":"x"}function fa(r){return da($o(r))}function ua(r,e,t){t===void 0&&(t=!1);let i=gt(r),n=fa(r),a=pa(n),s=n==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=wo(s)),[s,wo(s)]}function Al(r){let e=wo(r);return[Eo(r),e,Eo(e)]}function Eo(r){return r.replace(/start|end/g,e=>Nf[e])}function Lf(r,e,t){let i=["left","right"],n=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(r){case"top":case"bottom":return t?e?n:i:e?i:n;case"left":case"right":return e?a:s;default:return[]}}function Rl(r,e,t,i){let n=gt(r),a=Lf(mt(r),t==="start",i);return n&&(a=a.map(s=>s+"-"+n),e&&(a=a.concat(a.map(Eo)))),a}function wo(r){return r.replace(/left|right|bottom|top/g,e=>$f[e])}function kf(r){return{top:0,right:0,bottom:0,left:0,...r}}function $l(r){return typeof r!="number"?kf(r):{top:r,right:r,bottom:r,left:r}}function gr(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function Nl(r,e,t){let{reference:i,floating:n}=r,a=$o(e),s=fa(e),l=pa(s),d=mt(e),p=a==="y",h=i.x+i.width/2-n.width/2,u=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2,x;switch(d){case"top":x={x:h,y:i.y-n.height};break;case"bottom":x={x:h,y:i.y+i.height};break;case"right":x={x:i.x+i.width,y:u};break;case"left":x={x:i.x-n.width,y:u};break;default:x={x:i.x,y:i.y}}switch(gt(e)){case"start":x[s]-=g*(t&&p?-1:1);break;case"end":x[s]+=g*(t&&p?-1:1);break}return x}var Ll=async(r,e,t)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:r,floating:e,strategy:n}),{x:h,y:u}=Nl(p,i,d),g=i,x={},S=0;for(let A=0;A<l.length;A++){let{name:I,fn:k}=l[A],{x:P,y:C,data:E,reset:R}=await k({x:h,y:u,initialPlacement:i,placement:g,strategy:n,middlewareData:x,rects:p,platform:s,elements:{reference:r,floating:e}});if(h=P??h,u=C??u,x={...x,[I]:{...x[I],...E}},R&&S<=50){S++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(p=R.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:n}):R.rects),{x:h,y:u}=Nl(p,g,d)),A=-1;continue}}return{x:h,y:u,placement:g,strategy:n,middlewareData:x}};async function xi(r,e){var t;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=r,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:g=!1,padding:x=0}=Dr(e,r),S=$l(x),I=l[g?u==="floating"?"reference":"floating":u],k=gr(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(I)))==null||t?I:I.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),P=u==="floating"?{...s.floating,x:i,y:n}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),E=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},R=gr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:C,strategy:d}):P);return{top:(k.top-R.top+S.top)/E.y,bottom:(R.bottom-k.bottom+S.bottom)/E.y,left:(k.left-R.left+S.left)/E.x,right:(R.right-k.right+S.right)/E.x}}function _f(r,e,t){return(r?[...t.filter(n=>gt(n)===r),...t.filter(n=>gt(n)!==r)]:t.filter(n=>mt(n)===n)).filter(n=>r?gt(n)===r||(e?Eo(n)!==n:!1):!0)}var ha=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:g=la,autoAlignment:x=!0,...S}=Dr(r,e),A=u!==void 0||g===la?_f(u||null,x,g):g,I=await xi(e,S),k=((t=s.autoPlacement)==null?void 0:t.index)||0,P=A[k];if(P==null)return{};let C=ua(P,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==P)return{reset:{placement:A[0]}};let E=[I[mt(P)],I[C[0]],I[C[1]]],R=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:P,overflows:E}],W=A[k+1];if(W)return{data:{index:k+1,overflows:R},reset:{placement:W}};let te=R.map(M=>{let y=gt(M.placement);return[M.placement,y&&h?M.overflows.slice(0,2).reduce((O,B)=>O+B,0):M.overflows[0],M.overflows]}).sort((M,y)=>M[1]-y[1]),ne=((n=te.filter(M=>M[2].slice(0,gt(M[0])?2:3).every(y=>y<=0))[0])==null?void 0:n[0])||te[0][0];return ne!==l?{data:{index:k+1,overflows:R},reset:{placement:ne}}:{}}}},ya=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(e){var t,i;let{placement:n,middlewareData:a,rects:s,initialPlacement:l,platform:d,elements:p}=e,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:g,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:A=!0,...I}=Dr(r,e);if((t=a.arrow)!=null&&t.alignmentOffset)return{};let k=mt(n),P=mt(l)===l,C=await(d.isRTL==null?void 0:d.isRTL(p.floating)),E=g||(P||!A?[wo(l)]:Al(l));!g&&S!=="none"&&E.push(...Rl(l,A,S,C));let R=[l,...E],W=await xi(e,I),te=[],oe=((i=a.flip)==null?void 0:i.overflows)||[];if(h&&te.push(W[k]),u){let O=ua(n,s,C);te.push(W[O[0]],W[O[1]])}if(oe=[...oe,{placement:n,overflows:te}],!te.every(O=>O<=0)){var ne,M;let O=(((ne=a.flip)==null?void 0:ne.index)||0)+1,B=R[O];if(B)return{data:{index:O,overflows:oe},reset:{placement:B}};let Z=(M=oe.filter(re=>re.overflows[0]<=0).sort((re,j)=>re.overflows[1]-j.overflows[1])[0])==null?void 0:M.placement;if(!Z)switch(x){case"bestFit":{var y;let re=(y=oe.map(j=>[j.placement,j.overflows.filter(ft=>ft>0).reduce((ft,ao)=>ft+ao,0)]).sort((j,ft)=>j[1]-ft[1])[0])==null?void 0:y[0];re&&(Z=re);break}case"initialPlacement":Z=l;break}if(n!==Z)return{reset:{placement:Z}}}return{}}}};async function Pf(r,e){let{placement:t,platform:i,elements:n}=r,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=mt(t),l=gt(t),d=$o(t)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,u=Dr(e,r),{mainAxis:g,crossAxis:x,alignmentAxis:S}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&typeof S=="number"&&(x=l==="end"?S*-1:S),d?{x:x*h,y:g*p}:{x:g*p,y:x*h}}var ma=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var t,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Pf(e,r);return s===((t=l.offset)==null?void 0:t.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},ga=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:I=>{let{x:k,y:P}=I;return{x:k,y:P}}},...d}=Dr(r,e),p={x:t,y:i},h=await xi(e,d),u=$o(mt(n)),g=da(u),x=p[g],S=p[u];if(a){let I=g==="y"?"top":"left",k=g==="y"?"bottom":"right",P=x+h[I],C=x-h[k];x=ca(P,x,C)}if(s){let I=u==="y"?"top":"left",k=u==="y"?"bottom":"right",P=S+h[I],C=S-h[k];S=ca(P,S,C)}let A=l.fn({...e,[g]:x,[u]:S});return{...A,data:{x:A.x-t,y:A.y-i}}}}};function Tt(r){return _l(r)?(r.nodeName||"").toLowerCase():"#document"}function We(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Bt(r){var e;return(e=(_l(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function _l(r){return r instanceof Node||r instanceof We(r).Node}function bt(r){return r instanceof Element||r instanceof We(r).Element}function st(r){return r instanceof HTMLElement||r instanceof We(r).HTMLElement}function kl(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof We(r).ShadowRoot}function Mr(r){let{overflow:e,overflowX:t,overflowY:i,display:n}=Ye(r);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(n)}function Pl(r){return["table","td","th"].includes(Tt(r))}function Oi(r){let e=Ci(),t=Ye(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Il(r){let e=br(r);for(;st(e)&&!No(e);){if(Oi(e))return e;e=br(e)}return null}function Ci(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function No(r){return["html","body","#document"].includes(Tt(r))}function Ye(r){return We(r).getComputedStyle(r)}function Lo(r){return bt(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function br(r){if(Tt(r)==="html")return r;let e=r.assignedSlot||r.parentNode||kl(r)&&r.host||Bt(r);return kl(e)?e.host:e}function Tl(r){let e=br(r);return No(e)?r.ownerDocument?r.ownerDocument.body:r.body:st(e)&&Mr(e)?e:Tl(e)}function Si(r,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);let n=Tl(r),a=n===((i=r.ownerDocument)==null?void 0:i.body),s=We(n);return a?e.concat(s,s.visualViewport||[],Mr(n)?n:[],s.frameElement&&t?Si(s.frameElement):[]):e.concat(n,Si(n,[],t))}function Dl(r){let e=Ye(r),t=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=st(r),a=n?r.offsetWidth:t,s=n?r.offsetHeight:i,l=Ro(t)!==a||Ro(i)!==s;return l&&(t=a,i=s),{width:t,height:i,$:l}}function Ml(r){return bt(r)?r:r.contextElement}function Ur(r){let e=Ml(r);if(!st(e))return It(1);let t=e.getBoundingClientRect(),{width:i,height:n,$:a}=Dl(e),s=(a?Ro(t.width):t.width)/i,l=(a?Ro(t.height):t.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var If=It(0);function Ul(r){let e=We(r);return!Ci()||!e.visualViewport?If:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Tf(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==We(r)?!1:e}function ko(r,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);let n=r.getBoundingClientRect(),a=Ml(r),s=It(1);e&&(i?bt(i)&&(s=Ur(i)):s=Ur(r));let l=Tf(a,t,i)?Ul(a):It(0),d=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,h=n.width/s.x,u=n.height/s.y;if(a){let g=We(a),x=i&&bt(i)?We(i):i,S=g.frameElement;for(;S&&i&&x!==g;){let A=Ur(S),I=S.getBoundingClientRect(),k=Ye(S),P=I.left+(S.clientLeft+parseFloat(k.paddingLeft))*A.x,C=I.top+(S.clientTop+parseFloat(k.paddingTop))*A.y;d*=A.x,p*=A.y,h*=A.x,u*=A.y,d+=P,p+=C,S=We(S).frameElement}}return gr({width:h,height:u,x:d,y:p})}function Bf(r){let{rect:e,offsetParent:t,strategy:i}=r,n=st(t),a=Bt(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=It(1),d=It(0);if((n||!n&&i!=="fixed")&&((Tt(t)!=="body"||Mr(a))&&(s=Lo(t)),st(t))){let p=ko(t);l=Ur(t),d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Ff(r){return Array.from(r.getClientRects())}function zl(r){return ko(Bt(r)).left+Lo(r).scrollLeft}function Df(r){let e=Bt(r),t=Lo(r),i=r.ownerDocument.body,n=Gt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Gt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-t.scrollLeft+zl(r),l=-t.scrollTop;return Ye(i).direction==="rtl"&&(s+=Gt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Mf(r,e){let t=We(r),i=Bt(r),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let p=Ci();(!p||p&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function Uf(r,e){let t=ko(r,!0,e==="fixed"),i=t.top+r.clientTop,n=t.left+r.clientLeft,a=st(r)?Ur(r):It(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,d=n*a.x,p=i*a.y;return{width:s,height:l,x:d,y:p}}function Bl(r,e,t){let i;if(e==="viewport")i=Mf(r,t);else if(e==="document")i=Df(Bt(r));else if(bt(e))i=Uf(e,t);else{let n=Ul(r);i={...e,x:e.x-n.x,y:e.y-n.y}}return gr(i)}function Wl(r,e){let t=br(r);return t===e||!bt(t)||No(t)?!1:Ye(t).position==="fixed"||Wl(t,e)}function zf(r,e){let t=e.get(r);if(t)return t;let i=Si(r,[],!1).filter(l=>bt(l)&&Tt(l)!=="body"),n=null,a=Ye(r).position==="fixed",s=a?br(r):r;for(;bt(s)&&!No(s);){let l=Ye(s),d=Oi(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Mr(s)&&!d&&Wl(r,s))?i=i.filter(h=>h!==s):n=l,s=br(s)}return e.set(r,i),i}function Wf(r){let{element:e,boundary:t,rootBoundary:i,strategy:n}=r,s=[...t==="clippingAncestors"?zf(e,this._c):[].concat(t),i],l=s[0],d=s.reduce((p,h)=>{let u=Bl(e,h,n);return p.top=Gt(u.top,p.top),p.right=Ao(u.right,p.right),p.bottom=Ao(u.bottom,p.bottom),p.left=Gt(u.left,p.left),p},Bl(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Hf(r){return Dl(r)}function Vf(r,e,t){let i=st(e),n=Bt(e),a=t==="fixed",s=ko(r,!0,a,e),l={scrollLeft:0,scrollTop:0},d=It(0);if(i||!i&&!a)if((Tt(e)!=="body"||Mr(n))&&(l=Lo(e)),i){let p=ko(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else n&&(d.x=zl(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Fl(r,e){return!st(r)||Ye(r).position==="fixed"?null:e?e(r):r.offsetParent}function Hl(r,e){let t=We(r);if(!st(r))return t;let i=Fl(r,e);for(;i&&Pl(i)&&Ye(i).position==="static";)i=Fl(i,e);return i&&(Tt(i)==="html"||Tt(i)==="body"&&Ye(i).position==="static"&&!Oi(i))?t:i||Il(r)||t}var jf=async function(r){let{reference:e,floating:t,strategy:i}=r,n=this.getOffsetParent||Hl,a=this.getDimensions;return{reference:Vf(e,await n(t),i),floating:{x:0,y:0,...await a(t)}}};function Gf(r){return Ye(r).direction==="rtl"}var zr={convertOffsetParentRelativeRectToViewportRelativeRect:Bf,getDocumentElement:Bt,getClippingRect:Wf,getOffsetParent:Hl,getElementRects:jf,getClientRects:Ff,getDimensions:Hf,getScale:Ur,isElement:bt,isRTL:Gf};var ba=(r,e,t)=>{let i=new Map,n={platform:zr,...t},a={...n.platform,_c:i};return Ll(r,e,{...n,platform:a})};function xa(r){return Kf(r)}function va(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function Kf(r){for(let e=r;e;e=va(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=va(r);e;e=va(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function _o(r,e,t){return ba(r,e,{platform:{...zr,getOffsetParent:i=>zr.getOffsetParent(i,xa)},middleware:[ga({crossAxis:!0}),ha({allowedPlacements:[t]})]})}async function Zf(r,e,t,i,n){return ba(r,e,{placement:t,strategy:n,platform:{...zr,getOffsetParent:a=>zr.getOffsetParent(a,xa)},middleware:[ma(4),ya({fallbackPlacements:i})]})}var Ea={};se(Ea,{FtdsBase:()=>Io,toFtdsBase:()=>Ai});var Ca={};se(Ca,{FtLitElement:()=>D});var Oa={};se(Oa,{ScopedRegistryLitElement:()=>Po});var Ei=window,qf=Ei.ShadowRoot&&(Ei.ShadyCSS===void 0||Ei.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Db=Symbol();var Vl=(r,e)=>{qf?r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let i=document.createElement("style"),n=Ei.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)})};var Po=class extends kt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let t={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(t);return Vl(i,e.elementStyles),i}};var wi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Zl,jl=Symbol("constructorPrototype"),Gl=Symbol("constructorName"),ql=Symbol("exportpartsDebouncer"),Kl=Symbol("dynamicDependenciesLoaded"),D=class extends Po{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Zl]=new le(5),this[Gl]=this.constructor.name,this[jl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Gl]&&Object.setPrototypeOf(this,this[jl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[Kl]||(e[Kl]=!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 t,i,n;if(((i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&i!==void 0&&i)&&this[ql].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,i,n,a,s,l;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let x=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(A=>A.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...x,...S).filter(d).map(A=>A.trim()).forEach(A=>h.add(A))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(g=>p.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Zl=ql;wi([m()],D.prototype,"exportpartsPrefix",void 0);wi([ke([])],D.prototype,"exportpartsPrefixes",void 0);wi([m()],D.prototype,"customStylesheet",void 0);wi([z()],D.prototype,"useAdoptedStyleSheets",void 0);var Yl=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};function Ai(r){class e extends r{constructor(){super(...arguments),this.size=$e.medium,this.family=Pt.neutral}getDesignSystemBaseClasses(){return{[ea(this.family)]:!0,[ta(this.size)]:!0}}}return Yl([m()],e.prototype,"size",void 0),Yl([m()],e.prototype,"family",void 0),e}var Io=class extends Ai(D){};var Xl={};var Ra={};se(Ra,{highlightHtml:()=>Aa,highlightHtmlColorCssVariable:()=>Jl,highlightHtmlStyles:()=>Xf});var vr=class r{constructor(e,t=!0,i=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=i,this.iframesTimeout=n}static matches(e,t){let i=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=t.filter(a=>a.contains(i)).length>0;t.indexOf(i)===-1&&!n&&t.push(i)}),t}getIframeContents(e,t,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&t(n)}isIframeBlank(e){let t="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&i!==t&&i}observeIframeLoad(e,t,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,i):this.getIframeContents(e,t,i):this.observeIframeLoad(e,t,i)}catch{i()}}waitForIframes(e,t){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||t()})},n=>{n||t()})}forEachIframe(e,t,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(p=>{r.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{t(p)&&(l++,i(h)),d()},d)})}createIterator(e,t,i){return document.createNodeIterator(e,t,i,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){let s=t.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),i;return t===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:t,node:i}}checkIframeFilter(e,t,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,t,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,t,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,i,n)})})}iterateThroughNodes(e,t,i,n,a){let s=this.createIterator(t,e,n),l=[],d=[],p,h,u=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;u();)this.iframes&&this.forEachIframe(t,g=>this.checkIframeFilter(p,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),n)}),d.push(p);d.forEach(g=>{i(g)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,t,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var To=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new vr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[t]=="function"&&i[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&t.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",i=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):i.trim()&&t.indexOf(i)===-1&&t.push(i)}),{keywords:t.sort((i,n)=>n.length-i.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,t.push(n),i=s)}),t}callNoMatchOnInvalidRanges(e,t){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,t,i){let n,a=!0,s=i.length,l=t-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let t="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:i})})}matchesExclude(e){return vr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(i-t),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,t,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!n(s.node))return!1;let p=t-s.start,h=(i>s.end?s.end:i)-s.start,u=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=u+g,e.nodes.forEach((x,S)=>{S>=l&&(e.nodes[S].start>0&&S!==l&&(e.nodes[S].start-=h),e.nodes[S].end-=h)}),i-=h,a(s.node.previousSibling,s.start),i>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!i(p[s],d))continue;let h=p.index;if(s!==0)for(let u=1;u<s;u++)h+=p[u].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let u=1;u<s;u++)p+=d[u].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,h,u=>i(d[s],u),(u,g)=>{e.lastIndex=g,n(u)})}a()})}wrapRangeFromIndex(e,t,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,p,h,g=>t(g,l,a.value.substring(p,h),d),g=>{i(g,l)})}),n()})}unwrapMatches(e){let t=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,t){this.opt=t;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(g,x)=>this.opt.filter(x,p,i,u),g=>{u++,i++,this.opt.each(g)},()=>{u===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(i):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,t){this.opt=t;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=vr.matches(i,t),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function wa(r){let e=new To(r);return this.mark=(t,i)=>(e.mark(t,i),this),this.markRegExp=(t,i)=>(e.markRegExp(t,i),this),this.markRanges=(t,i)=>(e.markRanges(t,i),this),this.unmark=t=>(e.unmark(t),this),this}var Yf=wa,Jl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Xf=N`
|
|
1
|
+
"use strict";(()=>{var dp=Object.create;var Qi=Object.defineProperty;var pp=Object.getOwnPropertyDescriptor;var fp=Object.getOwnPropertyNames;var up=Object.getPrototypeOf,hp=Object.prototype.hasOwnProperty;var yp=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),se=(r,e)=>{for(var t in e)Qi(r,t,{get:e[t],enumerable:!0})},mp=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of fp(e))!hp.call(r,n)&&n!==t&&Qi(r,n,{get:()=>e[n],enumerable:!(i=pp(e,n))||i.enumerable});return r};var gp=(r,e,t)=>(t=r!=null?dp(up(r)):{},mp(e||!r||!r.__esModule?Qi(t,"default",{value:r,enumerable:!0}):t,r));var Bc=yp((er,Tc)=>{var Di=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Mi=function(){function r(){this.fetch=!1,this.DOMException=Di.DOMException}return r.prototype=Di,new r}();(function(r){var e=function(t){var i=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function d(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function p(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var O={next:function(){var F=m.shift();return{done:F===void 0,value:F}}};return n.iterable&&(O[Symbol.iterator]=function(){return O}),O}function u(m){this.map={},m instanceof u?m.forEach(function(O,F){this.append(F,O)},this):Array.isArray(m)?m.forEach(function(O){if(O.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+O.length);this.append(O[0],O[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(O){this.append(O,m[O])},this)}u.prototype.append=function(m,O){m=d(m),O=p(O);var F=this.map[m];this.map[m]=F?F+", "+O:O},u.prototype.delete=function(m){delete this.map[d(m)]},u.prototype.get=function(m){return m=d(m),this.has(m)?this.map[m]:null},u.prototype.has=function(m){return this.map.hasOwnProperty(d(m))},u.prototype.set=function(m,O){this.map[d(m)]=p(O)},u.prototype.forEach=function(m,O){for(var F in this.map)this.map.hasOwnProperty(F)&&m.call(O,this.map[F],F,this)},u.prototype.keys=function(){var m=[];return this.forEach(function(O,F){m.push(F)}),h(m)},u.prototype.values=function(){var m=[];return this.forEach(function(O){m.push(O)}),h(m)},u.prototype.entries=function(){var m=[];return this.forEach(function(O,F){m.push([F,O])}),h(m)},n.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function g(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function x(m){return new Promise(function(O,F){m.onload=function(){O(m.result)},m.onerror=function(){F(m.error)}})}function S(m){var O=new FileReader,F=x(O);return O.readAsArrayBuffer(m),F}function E(m){var O=new FileReader,F=x(O),q=/charset=([A-Za-z0-9_-]+)/.exec(m.type),ie=q?q[1]:"utf-8";return O.readAsText(m,ie),F}function k(m){for(var O=new Uint8Array(m),F=new Array(O.length),q=0;q<O.length;q++)F[q]=String.fromCharCode(O[q]);return F.join("")}function P(m){if(m.slice)return m.slice(0);var O=new Uint8Array(m.byteLength);return O.set(new Uint8Array(m)),O.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:n.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:n.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():n.arrayBuffer&&n.blob&&a(m)?(this._bodyArrayBuffer=P(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||l(m))?this._bodyArrayBuffer=P(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=g(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(k(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(B)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function C(m){var O=m.toUpperCase();return A.indexOf(O)>-1?O:m}function R(m,O){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');O=O||{};var F=O.body;if(m instanceof R){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,O.headers||(this.headers=new u(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!F&&m._bodyInit!=null&&(F=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=O.credentials||this.credentials||"same-origin",(O.headers||!this.headers)&&(this.headers=new u(O.headers)),this.method=C(O.method||this.method||"GET"),this.mode=O.mode||this.mode||null,this.signal=O.signal||this.signal||function(){if("AbortController"in i){var Z=new AbortController;return Z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&F)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(F),(this.method==="GET"||this.method==="HEAD")&&(O.cache==="no-store"||O.cache==="no-cache")){var q=/([?&])_=[^&]*/;if(q.test(this.url))this.url=this.url.replace(q,"$1_="+new Date().getTime());else{var ie=/\?/;this.url+=(ie.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function B(m){var O=new FormData;return m.trim().split("&").forEach(function(F){if(F){var q=F.split("="),ie=q.shift().replace(/\+/g," "),Z=q.join("=").replace(/\+/g," ");O.append(decodeURIComponent(ie),decodeURIComponent(Z))}}),O}function j(m){var O=new u,F=m.replace(/\r?\n[\t ]+/g," ");return F.split("\r").map(function(q){return q.indexOf(`
|
|
2
|
+
`)===0?q.substr(1,q.length):q}).forEach(function(q){var ie=q.split(":"),Z=ie.shift().trim();if(Z){var ft=ie.join(":").trim();try{O.append(Z,ft)}catch(so){console.warn("Response "+so.message)}}}),O}I.call(R.prototype);function oe(m,O){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=O.statusText===void 0?"":""+O.statusText,this.headers=new u(O.headers),this.url=O.url||"",this._initBody(m)}I.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},oe.error=function(){var m=new oe(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var ee=[301,302,303,307,308];oe.redirect=function(m,O){if(ee.indexOf(O)===-1)throw new RangeError("Invalid status code");return new oe(null,{status:O,headers:{location:m}})},t.DOMException=i.DOMException;try{new t.DOMException}catch{t.DOMException=function(O,F){this.message=O,this.name=F;var q=Error(O);this.stack=q.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function U(m,O){return new Promise(function(F,q){var ie=new R(m,O);if(ie.signal&&ie.signal.aborted)return q(new t.DOMException("Aborted","AbortError"));var Z=new XMLHttpRequest;function ft(){Z.abort()}Z.onload=function(){var Ne={statusText:Z.statusText,headers:j(Z.getAllResponseHeaders()||"")};ie.url.indexOf("file://")===0&&(Z.status<200||Z.status>599)?Ne.status=200:Ne.status=Z.status,Ne.url="responseURL"in Z?Z.responseURL:Ne.headers.get("X-Request-URL");var nr="response"in Z?Z.response:Z.responseText;setTimeout(function(){F(new oe(nr,Ne))},0)},Z.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},Z.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},Z.onabort=function(){setTimeout(function(){q(new t.DOMException("Aborted","AbortError"))},0)};function so(Ne){try{return Ne===""&&i.location.href?i.location.href:Ne}catch{return Ne}}if(Z.open(ie.method,so(ie.url),!0),ie.credentials==="include"?Z.withCredentials=!0:ie.credentials==="omit"&&(Z.withCredentials=!1),"responseType"in Z&&(n.blob?Z.responseType="blob":n.arrayBuffer&&(Z.responseType="arraybuffer")),O&&typeof O.headers=="object"&&!(O.headers instanceof u||i.Headers&&O.headers instanceof i.Headers)){var Is=[];Object.getOwnPropertyNames(O.headers).forEach(function(Ne){Is.push(d(Ne)),Z.setRequestHeader(Ne,p(O.headers[Ne]))}),ie.headers.forEach(function(Ne,nr){Is.indexOf(nr)===-1&&Z.setRequestHeader(nr,Ne)})}else ie.headers.forEach(function(Ne,nr){Z.setRequestHeader(nr,Ne)});ie.signal&&(ie.signal.addEventListener("abort",ft),Z.onreadystatechange=function(){Z.readyState===4&&ie.signal.removeEventListener("abort",ft)}),Z.send(typeof ie._bodyInit>"u"?null:ie._bodyInit)})}return U.polyfill=!0,i.fetch||(i.fetch=U,i.Headers=u,i.Request=R,i.Response=oe),t.Headers=u,t.Request=R,t.Response=oe,t.fetch=U,t}({})})(Mi);Mi.fetch.ponyfill=!0;delete Mi.fetch.polyfill;var Yr=Di.fetch?Di:Mi;er=Yr.fetch;er.default=Yr.fetch;er.fetch=Yr.fetch;er.Headers=Yr.Headers;er.Request=Yr.Request;er.Response=Yr.Response;Tc.exports=er});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,C){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" has already been used with this registry`);if(this._definitionsByClass.get(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=C.prototype.attributeChangedCallback,B=new Set(C.observedAttributes||[]);g(C,B,R);let j={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:B};this._definitionsByTag.set(A,j),this._definitionsByClass.set(C,j);let oe=t.call(i,A);oe||(oe=u(A),e.call(i,A,oe)),this===window.customElements&&(s.set(C,j),j.standInClass=oe);let ee=this._awaitingUpgrade.get(A);if(ee){this._awaitingUpgrade.delete(A);for(let m of ee)a.delete(m),S(m,j,!0)}let U=this._whenDefinedPromises.get(A);return U!==void 0&&(U.resolve(C),this._whenDefinedPromises.delete(A)),C}upgrade(){k.push(this),i.upgrade.apply(i,arguments),k.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let C=this._getDefinition(A);if(C!==void 0)return Promise.resolve(C.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(B=>R.resolve=B),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,C,R){let B=this._awaitingUpgrade.get(C);B||this._awaitingUpgrade.set(C,B=new Set),R?B.add(A):B.delete(A)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(r,[],R.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),n.set(C,R),C},window.HTMLElement.prototype=r.prototype;let p=A=>A===document||A instanceof ShadowRoot,h=A=>{let C=A.getRootNode();if(!p(C)){let R=k[k.length-1];if(R instanceof CustomElementRegistry)return R;C=R.getRootNode(),p(C)||(C=l.get(C)?.getRootNode()||document)}return C.customElements},u=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let B=h(R)||window.customElements,j=B._getDefinition(A);return j?S(R,j):a.set(R,B),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(A,C,R)=>{if(C.size===0||R===void 0)return;let B=A.prototype.setAttribute;B&&(A.prototype.setAttribute=function(ee,U){let m=ee.toLowerCase();if(C.has(m)){let O=this.getAttribute(m);B.call(this,m,U),R.call(this,m,O,U)}else B.call(this,m,U)});let j=A.prototype.removeAttribute;j&&(A.prototype.removeAttribute=function(ee){let U=ee.toLowerCase();if(C.has(U)){let m=this.getAttribute(U);j.call(this,U),R.call(this,U,m,null)}else j.call(this,U)});let oe=A.prototype.toggleAttribute;oe&&(A.prototype.toggleAttribute=function(ee,U){let m=ee.toLowerCase();if(C.has(m)){let O=this.getAttribute(m);oe.call(this,m,U);let F=this.getAttribute(m);R.call(this,m,O,F)}else oe.call(this,m,U)})},x=A=>{let C=Object.getPrototypeOf(A);if(C!==window.HTMLElement)return C===r?Object.setPrototypeOf(A,window.HTMLElement):x(C)},S=(A,C,R=!1)=>{Object.setPrototypeOf(A,C.elementClass.prototype),n.set(A,C),d=A;try{new C.elementClass}catch{x(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(B=>{A.hasAttribute(B)&&C.attributeChangedCallback.call(A,B,null,A.getAttribute(B))}),R&&C.connectedCallback&&A.isConnected&&C.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let C=E.apply(this,arguments);return A.customElements&&(C.customElements=A.customElements),C};let k=[document],P=(A,C,R=void 0)=>{let B=(R?Object.getPrototypeOf(R):A.prototype)[C];A.prototype[C]=function(){k.push(this);let j=B.apply(R||this,arguments);return j!==void 0&&l.set(j,this),k.pop(),j}};P(ShadowRoot,"createElement",document),P(ShadowRoot,"importNode",document),P(Element,"insertAdjacentHTML");let I=(A,C)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,C);Object.defineProperty(A.prototype,C,{...R,set(B){k.push(this),R.set.call(this,B),k.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,C=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ee){let U=C.call(this,...ee);return A.set(U,this),U},R.forEach(ee=>{let U=window.ElementInternals.prototype,m=U[ee];U[ee]=function(...O){let F=A.get(this);if(n.get(F).formAssociated===!0)return m?.call(this,...O);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class B extends Array{constructor(U){super(...U),this._elements=U}get value(){return this._elements.find(U=>U.checked===!0)?.value||""}}class j{constructor(U){let m=new Map;U.forEach((O,F)=>{let q=O.getAttribute("name"),ie=m.get(q)||[];this[+F]=O,ie.push(O),m.set(q,ie)}),this.length=U.length,m.forEach((O,F)=>{O&&(O.length===1?this[F]=O[0]:this[F]=new B(O))})}namedItem(U){return this[U]}}let oe=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ee=oe.get.call(this,[]),U=[];for(let m of ee){let O=n.get(m);(!O||O.formAssociated===!0)&&U.push(m)}return new j(U)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,i,n)=>{if(i!==null)try{e.bind(window.customElements)(t,i,n)}catch(a){console.info(t,i,n,a)}}}var un={};se(un,{CSSResult:()=>Pr,LitElement:()=>_t,ReactiveElement:()=>ut,_$LE:()=>zp,_$LH:()=>Dp,adoptStyles:()=>pi,css:()=>L,defaultConverter:()=>fi,getCompatibleStyle:()=>mo,html:()=>w,isServer:()=>xh,noChange:()=>Wt,notEqual:()=>sn,nothing:()=>z,render:()=>fn,supportsAdoptingStyleSheets:()=>yo,svg:()=>Fp,unsafeCSS:()=>Lt});var Xo=globalThis,Qo=Xo.ShadowRoot&&(Xo.ShadyCSS===void 0||Xo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Bs=Symbol(),Ts=new WeakMap,Jo=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==Bs)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(Qo&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=Ts.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Ts.set(t,e))}return e}toString(){return this.cssText}},Fs=r=>new Jo(typeof r=="string"?r:r+"",void 0,Bs);var en=(r,e)=>{if(Qo)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=Xo.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},ei=Qo?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return Fs(t)})(r):r;var{is:bp,defineProperty:vp,getOwnPropertyDescriptor:xp,getOwnPropertyNames:Sp,getOwnPropertySymbols:Op,getPrototypeOf:Cp}=Object,ti=globalThis,Ds=ti.trustedTypes,Ep=Ds?Ds.emptyScript:"",wp=ti.reactiveElementPolyfillSupport,lo=(r,e)=>r,co={toAttribute(r,e){switch(e){case Boolean:r=r?Ep:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},ri=(r,e)=>!bp(r,e),Ms={attribute:!0,type:String,converter:co,reflect:!1,hasChanged:ri};Symbol.metadata??=Symbol("metadata"),ti.litPropertyMetadata??=new WeakMap;var ar=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Ms){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&vp(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=xp(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ms}static _$Ei(){if(this.hasOwnProperty(lo("elementProperties")))return;let e=Cp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(lo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(lo("properties"))){let t=this.properties,i=[...Sp(t),...Op(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(ei(n))}else e!==void 0&&t.push(ei(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$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,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return en(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,t,i){this._$AK(e,i)}_$EO(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:co).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:co;this._$Em=n,this[n]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,i,n=!1,a){if(e!==void 0){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??ri)(n?a:this[e],t))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$ET()}catch(i){throw e=!1,this._$ET(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.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(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};ar.elementStyles=[],ar.shadowRootOptions={mode:"open"},ar[lo("elementProperties")]=new Map,ar[lo("finalized")]=new Map,wp?.({ReactiveElement:ar}),(ti.reactiveElementVersions??=[]).push("2.0.2");var rn=globalThis,oi=rn.trustedTypes,Us=oi?oi.createPolicy("lit-html",{createHTML:r=>r}):void 0,on="$lit$",$t=`lit$${(Math.random()+"").slice(9)}$`,nn="?"+$t,Ap=`<${nn}>`,cr=document,ii=()=>cr.createComment(""),fo=r=>r===null||typeof r!="object"&&typeof r!="function",Gs=Array.isArray,Ks=r=>Gs(r)||typeof r?.[Symbol.iterator]=="function",tn=`[
|
|
3
|
+
\f\r]`,po=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,zs=/-->/g,Ws=/>/g,sr=RegExp(`>|${tn}(?:([^\\s"'>=/]+)(${tn}*=${tn}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Hs=/'/g,Vs=/"/g,Zs=/^(?:script|style|textarea|title)$/i,qs=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),Ys=qs(1),Xs=qs(2),Ze=Symbol.for("lit-noChange"),Se=Symbol.for("lit-nothing"),js=new WeakMap,lr=cr.createTreeWalker(cr,129);function Js(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Us!==void 0?Us.createHTML(e):e}var Qs=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":"",s=po;for(let l=0;l<t;l++){let d=r[l],p,h,u=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===po?h[1]==="!--"?s=zs:h[1]!==void 0?s=Ws:h[2]!==void 0?(Zs.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=sr):h[3]!==void 0&&(s=sr):s===sr?h[0]===">"?(s=n??po,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?sr:h[3]==='"'?Vs:Hs):s===Vs||s===Hs?s=sr:s===zs||s===Ws?s=po:(s=sr,n=void 0);let x=s===sr&&r[l+1].startsWith("/>")?" ":"";a+=s===po?d+Ap:u>=0?(i.push(p),d.slice(0,u)+on+d.slice(u)+$t+x):d+$t+(u===-2?l:x)}return[Js(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),i]},uo=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=Qs(e,t);if(this.el=r.createElement(p,i),lr.currentNode=this.el.content,t===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=lr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith(on)){let g=h[s++],x=n.getAttribute(u).split($t),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?ai:S[1]==="?"?si:S[1]==="@"?li:pr}),n.removeAttribute(u)}else u.startsWith($t)&&(d.push({type:6,index:a}),n.removeAttribute(u));if(Zs.test(n.tagName)){let u=n.textContent.split($t),g=u.length-1;if(g>0){n.textContent=oi?oi.emptyScript:"";for(let x=0;x<g;x++)n.append(u[x],ii()),lr.nextNode(),d.push({type:2,index:++a});n.append(u[g],ii())}}}else if(n.nodeType===8)if(n.data===nn)d.push({type:2,index:a});else{let u=-1;for(;(u=n.data.indexOf($t,u+1))!==-1;)d.push({type:7,index:a}),u+=$t.length-1}a++}}static createElement(e,t){let i=cr.createElement("template");return i.innerHTML=e,i}};function dr(r,e,t=r,i){if(e===Ze)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=fo(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=dr(r,n._$AS(r,e.values),n,i)),e}var ni=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??cr).importNode(t,!0);lr.currentNode=n;let a=lr.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new ho(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new ci(a,this,e)),this._$AV.push(p),d=i[++l]}s!==d?.index&&(a=lr.nextNode(),s++)}return lr.currentNode=cr,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},ho=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=Se,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=dr(this,e,t),fo(e)?e===Se||e==null||e===""?(this._$AH!==Se&&this._$AR(),this._$AH=Se):e!==this._$AH&&e!==Ze&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ks(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!==Se&&fo(this._$AH)?this._$AA.nextSibling.data=e:this.$(cr.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=uo.createElement(Js(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new ni(n,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=js.get(e.strings);return t===void 0&&js.set(e.strings,t=new uo(e)),t}T(e){Gs(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.k(ii()),this.k(ii()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},pr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=Se,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Se}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=dr(this,e,t,0),s=!fo(e)||e!==this._$AH&&e!==Ze,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=dr(this,l[i+d],t,d),p===Ze&&(p=this._$AH[d]),s||=!fo(p)||p!==this._$AH[d],p===Se?e=Se:e!==Se&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!n&&this.O(e)}O(e){e===Se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ai=class extends pr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Se?void 0:e}},si=class extends pr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Se)}},li=class extends pr{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=dr(this,e,t,0)??Se)===Ze)return;let i=this._$AH,n=e===Se&&i!==Se||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Se&&(i===Se||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ci=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){dr(this,e)}},el={j:on,P:$t,A:nn,C:1,M:Qs,L:ni,R:Ks,V:dr,D:ho,I:pr,H:si,N:li,U:ai,B:ci},Rp=rn.litHtmlPolyfillSupport;Rp?.(uo,ho),(rn.litHtmlVersions??=[]).push("3.1.0");var di=globalThis,yo=di.ShadowRoot&&(di.ShadyCSS===void 0||di.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,an=Symbol(),tl=new WeakMap,Pr=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==an)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(yo&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=tl.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&tl.set(t,e))}return e}toString(){return this.cssText}},Lt=r=>new Pr(typeof r=="string"?r:r+"",void 0,an),L=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+r[a+1],r[0]);return new Pr(t,r,an)},pi=(r,e)=>{if(yo)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=di.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},mo=yo?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return Lt(t)})(r):r;var{is:$p,defineProperty:Lp,getOwnPropertyDescriptor:Np,getOwnPropertyNames:_p,getOwnPropertySymbols:kp,getPrototypeOf:Pp}=Object,ui=globalThis,rl=ui.trustedTypes,Ip=rl?rl.emptyScript:"",Tp=ui.reactiveElementPolyfillSupport,go=(r,e)=>r,fi={toAttribute(r,e){switch(e){case Boolean:r=r?Ip:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},sn=(r,e)=>!$p(r,e),ol={attribute:!0,type:String,converter:fi,reflect:!1,hasChanged:sn};Symbol.metadata??=Symbol("metadata"),ui.litPropertyMetadata??=new WeakMap;var ut=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=ol){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&Lp(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=Np(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ol}static _$Ei(){if(this.hasOwnProperty(go("elementProperties")))return;let e=Pp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(go("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(go("properties"))){let t=this.properties,i=[..._p(t),...kp(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(mo(n))}else e!==void 0&&t.push(mo(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$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,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return pi(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,t,i){this._$AK(e,i)}_$EO(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:fi).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:fi;this._$Em=n,this[n]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,i,n=!1,a){if(e!==void 0){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??sn)(n?a:this[e],t))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$ET()}catch(i){throw e=!1,this._$ET(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.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(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};ut.elementStyles=[],ut.shadowRootOptions={mode:"open"},ut[go("elementProperties")]=new Map,ut[go("finalized")]=new Map,Tp?.({ReactiveElement:ut}),(ui.reactiveElementVersions??=[]).push("2.0.2");var cn=globalThis,hi=cn.trustedTypes,il=hi?hi.createPolicy("lit-html",{createHTML:r=>r}):void 0,dn="$lit$",Nt=`lit$${(Math.random()+"").slice(9)}$`,pn="?"+Nt,Bp=`<${pn}>`,hr=document,vo=()=>hr.createComment(""),xo=r=>r===null||typeof r!="object"&&typeof r!="function",dl=Array.isArray,pl=r=>dl(r)||typeof r?.[Symbol.iterator]=="function",ln=`[
|
|
5
|
+
\f\r]`,bo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,nl=/-->/g,al=/>/g,fr=RegExp(`>|${ln}(?:([^\\s"'>=/]+)(${ln}*=${ln}*(?:[^
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),sl=/'/g,ll=/"/g,fl=/^(?:script|style|textarea|title)$/i,ul=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),w=ul(1),Fp=ul(2),Wt=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),cl=new WeakMap,ur=hr.createTreeWalker(hr,129);function hl(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return il!==void 0?il.createHTML(e):e}var yl=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":"",s=bo;for(let l=0;l<t;l++){let d=r[l],p,h,u=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===bo?h[1]==="!--"?s=nl:h[1]!==void 0?s=al:h[2]!==void 0?(fl.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=fr):h[3]!==void 0&&(s=fr):s===fr?h[0]===">"?(s=n??bo,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?fr:h[3]==='"'?ll:sl):s===ll||s===sl?s=fr:s===nl||s===al?s=bo:(s=fr,n=void 0);let x=s===fr&&r[l+1].startsWith("/>")?" ":"";a+=s===bo?d+Bp:u>=0?(i.push(p),d.slice(0,u)+dn+d.slice(u)+Nt+x):d+Nt+(u===-2?l:x)}return[hl(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),i]},So=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=yl(e,t);if(this.el=r.createElement(p,i),ur.currentNode=this.el.content,t===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=ur.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith(dn)){let g=h[s++],x=n.getAttribute(u).split(Nt),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?mi:S[1]==="?"?gi:S[1]==="@"?bi:mr}),n.removeAttribute(u)}else u.startsWith(Nt)&&(d.push({type:6,index:a}),n.removeAttribute(u));if(fl.test(n.tagName)){let u=n.textContent.split(Nt),g=u.length-1;if(g>0){n.textContent=hi?hi.emptyScript:"";for(let x=0;x<g;x++)n.append(u[x],vo()),ur.nextNode(),d.push({type:2,index:++a});n.append(u[g],vo())}}}else if(n.nodeType===8)if(n.data===pn)d.push({type:2,index:a});else{let u=-1;for(;(u=n.data.indexOf(Nt,u+1))!==-1;)d.push({type:7,index:a}),u+=Nt.length-1}a++}}static createElement(e,t){let i=hr.createElement("template");return i.innerHTML=e,i}};function yr(r,e,t=r,i){if(e===Wt)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=xo(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=yr(r,n._$AS(r,e.values),n,i)),e}var yi=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??hr).importNode(t,!0);ur.currentNode=n;let a=ur.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Ir(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new vi(a,this,e)),this._$AV.push(p),d=i[++l]}s!==d?.index&&(a=ur.nextNode(),s++)}return ur.currentNode=hr,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},Ir=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=yr(this,e,t),xo(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==Wt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):pl(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==z&&xo(this._$AH)?this._$AA.nextSibling.data=e:this.$(hr.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=So.createElement(hl(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new yi(n,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=cl.get(e.strings);return t===void 0&&cl.set(e.strings,t=new So(e)),t}T(e){dl(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.k(vo()),this.k(vo()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},mr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=z}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=yr(this,e,t,0),s=!xo(e)||e!==this._$AH&&e!==Wt,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=yr(this,l[i+d],t,d),p===Wt&&(p=this._$AH[d]),s||=!xo(p)||p!==this._$AH[d],p===z?e=z:e!==z&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!n&&this.O(e)}O(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},mi=class extends mr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===z?void 0:e}},gi=class extends mr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},bi=class extends mr{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=yr(this,e,t,0)??z)===Wt)return;let i=this._$AH,n=e===z&&i!==z||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==z&&(i===z||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},vi=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){yr(this,e)}},Dp={j:dn,P:Nt,A:pn,C:1,M:yl,L:yi,R:pl,V:yr,D:Ir,I:mr,H:gi,N:bi,U:mi,B:vi},Mp=cn.litHtmlPolyfillSupport;Mp?.(So,Ir),(cn.litHtmlVersions??=[]).push("3.1.0");var fn=(r,e,t)=>{let i=t?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=t?.renderBefore??null;i._$litPart$=n=new Ir(e.insertBefore(vo(),a),a,void 0,t??{})}return n._$AI(r),n};var _t=class extends ut{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=fn(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Wt}};_t._$litElement$=!0,_t.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:_t});var Up=globalThis.litElementPolyfillSupport;Up?.({LitElement:_t});var zp={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var xh=!1;var gn={};se(gn,{customElement:()=>Wp,eventOptions:()=>Tr,property:()=>y,query:()=>D,queryAll:()=>hn,queryAssignedElements:()=>yn,queryAssignedNodes:()=>mn,queryAsync:()=>jp,standardProperty:()=>ml,state:()=>W});var Wp=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var Hp={attribute:!0,type:String,converter:co,reflect:!1,hasChanged:ri},ml=(r=Hp,e,t)=>{let{kind:i,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),a.set(t.name,r),i==="accessor"){let{name:s}=t;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r),l}}}if(i==="setter"){let{name:s}=t;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+i)};function y(r){return(e,t)=>typeof t=="object"?ml(r,e,t):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,s?{...i,wrapped:!0}:i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(r,e,t)}function W(r){return y({...r,state:!0,attribute:!1})}function Tr(r){return(e,t)=>{let i=typeof e=="function"?e:e[t];Object.assign(i,r)}}var at=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t);function D(r,e){return(t,i,n)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof i=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return at(t,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return at(t,i,{get(){return a(this)}})}}var Vp;function hn(r){return(e,t)=>at(e,t,{get(){return(this.renderRoot??(Vp??=document.createDocumentFragment())).querySelectorAll(r)}})}function jp(r){return(e,t)=>at(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function yn(r){return(e,t)=>{let{slot:i,selector:n}=r??{},a="slot"+(i?`[name=${i}]`:":not([name])");return at(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}function mn(r){return(e,t)=>{let{slot:i}=r??{},n="slot"+(i?`[name=${i}]`:":not([name])");return at(e,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(r)??[]}})}}var bn={};se(bn,{repeat:()=>Re});var Ht={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Vt=r=>(...e)=>({_$litDirective$:r,values:e}),ht=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:Gp}=el;var gl=()=>document.createComment(""),Br=(r,e,t)=>{let i=r._$AA.parentNode,n=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=i.insertBefore(gl(),n),s=i.insertBefore(gl(),n);t=new Gp(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let d;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(d=r._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let p=d.nextSibling;i.insertBefore(d,n),d=p}}}return t},jt=(r,e,t=r)=>(r._$AI(e,t),r),Kp={},bl=(r,e=Kp)=>r._$AH=e,vl=r=>r._$AH,xi=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let i=e.nextSibling;e.remove(),e=i}};var xl=(r,e,t)=>{let i=new Map;for(let n=e;n<=t;n++)i.set(r[n],n);return i},Re=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of r)n[s]=i?i(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:n}}render(r,e,t){return this.ht(r,e,t).values}update(r,[e,t,i]){let n=vl(r),{values:a,keys:s}=this.ht(e,t,i);if(!Array.isArray(n))return this.dt=s,a;let l=this.dt??=[],d=[],p,h,u=0,g=n.length-1,x=0,S=a.length-1;for(;u<=g&&x<=S;)if(n[u]===null)u++;else if(n[g]===null)g--;else if(l[u]===s[x])d[x]=jt(n[u],a[x]),u++,x++;else if(l[g]===s[S])d[S]=jt(n[g],a[S]),g--,S--;else if(l[u]===s[S])d[S]=jt(n[u],a[S]),Br(r,d[S+1],n[u]),u++,S--;else if(l[g]===s[x])d[x]=jt(n[g],a[x]),Br(r,n[u],n[g]),g--,x++;else if(p===void 0&&(p=xl(s,x,S),h=xl(l,u,g)),p.has(l[u]))if(p.has(l[g])){let E=h.get(s[x]),k=E!==void 0?n[E]:null;if(k===null){let P=Br(r,n[u]);jt(P,a[x]),d[x]=P}else d[x]=jt(k,a[x]),Br(r,n[u],k),n[E]=null;x++}else xi(n[g]),g--;else xi(n[u]),u++;for(;x<=S;){let E=Br(r,d[S+1]);jt(E,a[x]),d[x++]=E}for(;u<=g;){let E=n[u++];E!==null&&xi(E)}return this.dt=s,bl(r,d),Ze}});var vn={};se(vn,{classMap:()=>pe});var pe=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.st?.has(i)&&this.it.add(i);return this.render(e)}let t=r.element.classList;for(let i of this.it)i in e||(t.remove(i),this.it.delete(i));for(let i in e){let n=!!e[i];n===this.it.has(i)||this.st?.has(i)||(n?(t.add(i),this.it.add(i)):(t.remove(i),this.it.delete(i)))}return Ze}});var xn={};se(xn,{styleMap:()=>qp});var Sl="important",Zp=" !"+Sl,qp=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.ATTRIBUTE||r.name!=="style"||r.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[e]){let{style:t}=r.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let i of this.ut)e[i]==null&&(this.ut.delete(i),i.includes("-")?t.removeProperty(i):t[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ut.add(i);let a=typeof n=="string"&&n.endsWith(Zp);i.includes("-")||a?t.setProperty(i,a?n.slice(0,-11):n,a?Sl:""):t[i]=n}}return Ze}});var On={};se(On,{UnsafeHTMLDirective:()=>Fr,unsafeHTML:()=>Sn});var Fr=class extends ht{constructor(e){if(super(e),this.et=Se,e.type!==Ht.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Se||e==null)return this.vt=void 0,this.et=e;if(e===Ze)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 t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Fr.directiveName="unsafeHTML",Fr.resultType=1;var Sn=Vt(Fr);var Ln={};se(Ln,{CacheRegistry:()=>yt,ClearCacheEvent:()=>Co});var En={};se(En,{CancelablePromise:()=>Dr,CanceledPromiseError:()=>Oo,cancelable:()=>Cn});var Oo=class extends Error{constructor(e,t,i){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=i}},Dr=class extends Promise{constructor(e){super((t,i)=>e(n=>{this.isCanceled?i(new Oo("Promise has been canceled",n)):t(n)},n=>{this.isCanceled?i(new Oo("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Cn=r=>new Dr((e,t)=>r.then(e).catch(t));var $n={};se($n,{FtNotificationEvent:()=>wn,PostResizeEvent:()=>Rn,PreResizeEvent:()=>An,WithEventBus:()=>gr,withEventBus:()=>Ol});var wn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},An=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Rn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ol(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(t,i,n){this.eventBus.addEventListener(t,i,n)}dispatchEvent(t){return this.eventBus.dispatchEvent(t)}removeEventListener(t,i,n){this.eventBus.removeEventListener(t,i,n)}}}var gr=class extends Ol(Object){};var Co=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},yt=class extends gr{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(e=!0){let t=[];for(let i in this.content)this.clear(i,!1)!=null&&t.push(i);e&&t.length>0&&this.dispatchEvent(new Co(t))}clear(e,t=!0){if(!this.finalContent.has(e))return this.forceClear(e),t&&this.dispatchEvent(new Co([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Dr&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,i){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let n=Cn(t());return this.content[e]=n,n.then(a=>(this.content[e]=a,i!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),i)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var _n={};se(_n,{ClusteringHelper:()=>Nn});var Nn=class r{constructor(e,t,i,n){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e,t){var i,n;let a=((n=(i=e?.map)!==null&&i!==void 0?i:e?.document)!==null&&n!==void 0?n:e?.topic).metadata;return t==null?r.flattenMetadata(a):r.flattenMetadata(a.find(s=>s.key===t))}static flattenMetadata(e){if(Array.isArray(e))return e.map(i=>r.flattenMetadata(i)).filter(i=>i!=null);let t=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!t))if(t){let i=[],n=[];return e.hierarchicalValues.forEach(a=>{i.push(a.join(" > ")),a.length>2?n.push(`... > ${a[a.length-1]}`):n.push(a.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:n.join(", ")}}else{let i=e.values.join(", ");return{key:e.key,label:e.label,value:i,displayValue:i}}}computeClustersItemsForMetadata(e,t,i="No value"){var n,a;let s=r.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=>r.extractResultMetadata(p,e)).map(p=>p??{key:e,label:l,value:void 0,displayValue:i}).filter(p=>p.value!=s?.value).filter((p,h,u)=>u.findIndex(g=>g.value===p.value)===h).map(p=>({result:this.findBestResultForMetadataValue(e,p.value),metadata:p})).sort((p,h)=>this.compareMetadata(p.metadata.value,h.metadata.value,e,t))}compareMetadata(e,t,i,n){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(t,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let i=this.allResults.filter(d=>{var p;return((p=r.extractResultMetadata(d,e))===null||p===void 0?void 0:p.value)==t}),a=[...r.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata(e).filter(i=>t.some(n=>n.key===i.key&&n.value===i.value)).length}};var kn={};se(kn,{Debouncer:()=>ce});var ce=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,i)=>{this.resolvePromise=t,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var In={};se(In,{customElement:()=>H,isNumber:()=>El,jsonProperty:()=>_e,optionalNumberProperty:()=>tf});var Pn={};se(Pn,{dateReviver:()=>Xp,deepEqual:()=>Fe,delay:()=>Si,eventPathContainsMatchingElement:()=>Qp,flatDeep:()=>qe,hasChanged:()=>Eo,last:()=>ef,minmax:()=>wo,parseDate:()=>Cl,unslotText:()=>Mr,waitFor:()=>Oi,waitUntil:()=>Yp});var Si=r=>new Promise(e=>setTimeout(e,r));async function Yp(r,e=10,t=2e4){await Oi(async()=>await r()||void 0,e,t)}async function Oi(r,e=10,t=2e4){let i=await r(),n,a;for(n=a=performance.now();i==null&&(!t||a-n<t);)await Si(e),i=await r(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function qe(r,e){return r.flatMap(t=>[t,...qe(e(t),e)])}function Xp(...r){return function(e,t){return r.includes(e)?Cl(t):t}}function Cl(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,i,n)=>t+i+":"+n),new Date(r)}function Jp(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var t,i,n;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(i=t;i--!==0;)if(!Fe(r[i],e[i]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;for(i of r.entries())if(!Fe(i[1],e.get(i[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(n=Object.keys(r),t=n.length,t!==Object.keys(e).length)return!1;for(i=t;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=t;i--!==0;){var a=n[i];if(!Fe(r[a],e[a]))return!1}return!0}return r!==r&&e!==e}function Fe(r,e){try{return Jp(r,e)}catch{return!1}}function Eo(r,e){return!Fe(r,e)}function Qp(r,e,t=window.document.body){if(e.length>0){let i=r.composedPath();for(let n of i){if(n===t)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function wo(r,e,t){return Math.min(Math.max(r,e),t)}function ef(r){return r[r.length-1]}function Mr(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>Mr(e)).join(""):r?.textContent||""}var H=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function _e(r,e){let t=()=>JSON.parse(JSON.stringify(r));return y({type:Object,converter:{fromAttribute:i=>{if(i==null)return t();try{return JSON.parse(i)}catch{return t()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Eo,...e??{}})}function tf(r){return y({type:Object,converter:{fromAttribute:e=>{if(e!=null)return El(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function El(r){return!isNaN(parseFloat(r))}var ca={};se(ca,{designSystemVariables:()=>$});var la={};se(la,{DesignSystemFamily:()=>Pt,DesignSystemSize:()=>$e,FtCssVariableFactory:()=>o,badge:()=>sf,banner:()=>af,button:()=>b,chart:()=>Cf,checkbox:()=>Af,chip:()=>X,chipChoice:()=>of,collapsible:()=>Sf,comboboxMultiSelect:()=>vf,comboboxSingleSelect:()=>bf,drawer:()=>uf,floatingMenu:()=>gf,foundation:()=>c,link:()=>nf,modal:()=>ff,notice:()=>wf,notification:()=>Lf,pageDesigner:()=>Ef,pageFooter:()=>df,pageHeader:()=>cf,pageLayout:()=>pf,popover:()=>xf,radio:()=>$f,resolveFamilyClass:()=>aa,resolveSizeClass:()=>sa,semantic:()=>f,setVariable:()=>v,switch_:()=>Of,tabs:()=>hf,textArea:()=>mf,textInput:()=>yf,titleBreadcrumb:()=>lf,toggle:()=>Rf,tooltip:()=>Nf,typographies:()=>Ao,typographyBody1Medium:()=>Un,typographyBody1Regular:()=>Mn,typographyBody1Semibold:()=>zn,typographyBody2Medium:()=>Hn,typographyBody2MediumUnderline:()=>wl,typographyBody2Regular:()=>Wn,typographyBody2Semibold:()=>Vn,typographyCaption1Bold:()=>Qn,typographyCaption1Medium:()=>Xn,typographyCaption1Semibold:()=>Jn,typographyCaption2Bold:()=>ra,typographyCaption2Medium:()=>ea,typographyCaption2Semibold:()=>ta,typographyCaption3Bold:()=>na,typographyCaption3Medium:()=>oa,typographyCaption3Semibold:()=>ia,typographyDisplay:()=>Tn,typographyLabel1Bold:()=>Kn,typographyLabel1Medium:()=>jn,typographyLabel1Semibold:()=>Gn,typographyLabel2Bold:()=>Yn,typographyLabel2Medium:()=>Zn,typographyLabel2Semibold:()=>qn,typographyTitle1:()=>Bn,typographyTitle2:()=>Fn,typographyTitle3:()=>Dn,typographyVariants:()=>rf});var kt=r=>typeof r=="string"?Lt(r):r,o=class{static create(e,t,i,n){let a=l=>kt(l??n),s=L`var(${kt(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>L`var(${kt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,t,i,n){let a=l=>i.get(l??n),s=L`var(${kt(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>L`var(${kt(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,t){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):kt(a??e.lastResortDefaultValue()),n=L`var(${kt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=t,n.defaultCssValue=i,n.get=a=>L`var(${kt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function v(r,e){return kt(`${r.name}: ${e}`)}var c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Tn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Bn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Fn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Dn={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Mn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Un={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},zn={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Wn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Hn={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},wl={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Vn={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},jn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Gn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Zn={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},qn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ea={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ta={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ra={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},oa={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ia={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},na={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ao={display:Tn,"title-1":Bn,"title-2":Fn,"title-3":Dn,"body-1-regular":Mn,"body-1-medium":Un,"body-1-semibold":zn,"body-2-regular":Wn,"body-2-medium":Hn,"body-2-medium-underline":wl,"body-2-semibold":Vn,"label-1-medium":jn,"label-1-semibold":Gn,"label-1-bold":Kn,"label-2-medium":Zn,"label-2-semibold":qn,"label-2-bold":Yn,"caption-1-medium":Xn,"caption-1-semibold":Jn,"caption-1-bold":Qn,"caption-2-medium":ea,"caption-2-semibold":ta,"caption-2-bold":ra,"caption-3-medium":oa,"caption-3-semibold":ia,"caption-3-bold":na},rf=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var of={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var X={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var nf={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var af={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var sf={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var lf={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",f.contentGlobalSubtle)};var cf={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var df={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var pf={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var ff={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var uf={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var hf={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var yf={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var mf={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var gf={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var bf={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var vf={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var xf={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var Sf={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Of={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Cf={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Ef={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var wf={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var Af={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",c.spacing3)};var Rf={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var $f={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)};var Lf={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var Nf={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var Pt;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Pt||(Pt={}));var $e;(function(r){r.large="large",r.medium="medium",r.small="small"})($e||($e={}));function aa(r){return`ftds--family-${r}`}function sa(r){return`ftds--size-${r}`}var $={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ca={};se(Ca,{computeFlipOffsetPosition:()=>Xf,computeOffsetPosition:()=>To});var Rl=["top","right","bottom","left"],Al=["start","end"],da=Rl.reduce((r,e)=>r.concat(e,e+"-"+Al[0],e+"-"+Al[1]),[]),Lo=Math.min,Gt=Math.max,No=Math.round;var It=r=>({x:r,y:r}),_f={left:"right",right:"left",bottom:"top",top:"bottom"},kf={start:"end",end:"start"};function pa(r,e,t){return Gt(r,Lo(e,t))}function Ur(r,e){return typeof r=="function"?r(e):r}function mt(r){return r.split("-")[0]}function gt(r){return r.split("-")[1]}function fa(r){return r==="x"?"y":"x"}function ua(r){return r==="y"?"height":"width"}function _o(r){return["top","bottom"].includes(mt(r))?"y":"x"}function ha(r){return fa(_o(r))}function ya(r,e,t){t===void 0&&(t=!1);let i=gt(r),n=ha(r),a=ua(n),s=n==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=$o(s)),[s,$o(s)]}function $l(r){let e=$o(r);return[Ro(r),e,Ro(e)]}function Ro(r){return r.replace(/start|end/g,e=>kf[e])}function Pf(r,e,t){let i=["left","right"],n=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(r){case"top":case"bottom":return t?e?n:i:e?i:n;case"left":case"right":return e?a:s;default:return[]}}function Ll(r,e,t,i){let n=gt(r),a=Pf(mt(r),t==="start",i);return n&&(a=a.map(s=>s+"-"+n),e&&(a=a.concat(a.map(Ro)))),a}function $o(r){return r.replace(/left|right|bottom|top/g,e=>_f[e])}function If(r){return{top:0,right:0,bottom:0,left:0,...r}}function Nl(r){return typeof r!="number"?If(r):{top:r,right:r,bottom:r,left:r}}function br(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function _l(r,e,t){let{reference:i,floating:n}=r,a=_o(e),s=ha(e),l=ua(s),d=mt(e),p=a==="y",h=i.x+i.width/2-n.width/2,u=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2,x;switch(d){case"top":x={x:h,y:i.y-n.height};break;case"bottom":x={x:h,y:i.y+i.height};break;case"right":x={x:i.x+i.width,y:u};break;case"left":x={x:i.x-n.width,y:u};break;default:x={x:i.x,y:i.y}}switch(gt(e)){case"start":x[s]-=g*(t&&p?-1:1);break;case"end":x[s]+=g*(t&&p?-1:1);break}return x}var kl=async(r,e,t)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:r,floating:e,strategy:n}),{x:h,y:u}=_l(p,i,d),g=i,x={},S=0;for(let E=0;E<l.length;E++){let{name:k,fn:P}=l[E],{x:I,y:A,data:C,reset:R}=await P({x:h,y:u,initialPlacement:i,placement:g,strategy:n,middlewareData:x,rects:p,platform:s,elements:{reference:r,floating:e}});if(h=I??h,u=A??u,x={...x,[k]:{...x[k],...C}},R&&S<=50){S++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(p=R.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:n}):R.rects),{x:h,y:u}=_l(p,g,d)),E=-1;continue}}return{x:h,y:u,placement:g,strategy:n,middlewareData:x}};async function Ci(r,e){var t;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=r,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:g=!1,padding:x=0}=Ur(e,r),S=Nl(x),k=l[g?u==="floating"?"reference":"floating":u],P=br(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(k)))==null||t?k:k.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),I=u==="floating"?{...s.floating,x:i,y:n}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),C=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},R=br(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:A,strategy:d}):I);return{top:(P.top-R.top+S.top)/C.y,bottom:(R.bottom-P.bottom+S.bottom)/C.y,left:(P.left-R.left+S.left)/C.x,right:(R.right-P.right+S.right)/C.x}}function Tf(r,e,t){return(r?[...t.filter(n=>gt(n)===r),...t.filter(n=>gt(n)!==r)]:t.filter(n=>mt(n)===n)).filter(n=>r?gt(n)===r||(e?Ro(n)!==n:!1):!0)}var ma=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:g=da,autoAlignment:x=!0,...S}=Ur(r,e),E=u!==void 0||g===da?Tf(u||null,x,g):g,k=await Ci(e,S),P=((t=s.autoPlacement)==null?void 0:t.index)||0,I=E[P];if(I==null)return{};let A=ya(I,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==I)return{reset:{placement:E[0]}};let C=[k[mt(I)],k[A[0]],k[A[1]]],R=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:I,overflows:C}],B=E[P+1];if(B)return{data:{index:P+1,overflows:R},reset:{placement:B}};let j=R.map(U=>{let m=gt(U.placement);return[U.placement,m&&h?U.overflows.slice(0,2).reduce((O,F)=>O+F,0):U.overflows[0],U.overflows]}).sort((U,m)=>U[1]-m[1]),ee=((n=j.filter(U=>U[2].slice(0,gt(U[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||j[0][0];return ee!==l?{data:{index:P+1,overflows:R},reset:{placement:ee}}:{}}}},ga=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(e){var t,i;let{placement:n,middlewareData:a,rects:s,initialPlacement:l,platform:d,elements:p}=e,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:g,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:E=!0,...k}=Ur(r,e);if((t=a.arrow)!=null&&t.alignmentOffset)return{};let P=mt(n),I=mt(l)===l,A=await(d.isRTL==null?void 0:d.isRTL(p.floating)),C=g||(I||!E?[$o(l)]:$l(l));!g&&S!=="none"&&C.push(...Ll(l,E,S,A));let R=[l,...C],B=await Ci(e,k),j=[],oe=((i=a.flip)==null?void 0:i.overflows)||[];if(h&&j.push(B[P]),u){let O=ya(n,s,A);j.push(B[O[0]],B[O[1]])}if(oe=[...oe,{placement:n,overflows:j}],!j.every(O=>O<=0)){var ee,U;let O=(((ee=a.flip)==null?void 0:ee.index)||0)+1,F=R[O];if(F)return{data:{index:O,overflows:oe},reset:{placement:F}};let q=(U=oe.filter(ie=>ie.overflows[0]<=0).sort((ie,Z)=>ie.overflows[1]-Z.overflows[1])[0])==null?void 0:U.placement;if(!q)switch(x){case"bestFit":{var m;let ie=(m=oe.map(Z=>[Z.placement,Z.overflows.filter(ft=>ft>0).reduce((ft,so)=>ft+so,0)]).sort((Z,ft)=>Z[1]-ft[1])[0])==null?void 0:m[0];ie&&(q=ie);break}case"initialPlacement":q=l;break}if(n!==q)return{reset:{placement:q}}}return{}}}};async function Bf(r,e){let{placement:t,platform:i,elements:n}=r,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=mt(t),l=gt(t),d=_o(t)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,u=Ur(e,r),{mainAxis:g,crossAxis:x,alignmentAxis:S}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&typeof S=="number"&&(x=l==="end"?S*-1:S),d?{x:x*h,y:g*p}:{x:g*p,y:x*h}}var ba=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var t,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Bf(e,r);return s===((t=l.offset)==null?void 0:t.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},va=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:k=>{let{x:P,y:I}=k;return{x:P,y:I}}},...d}=Ur(r,e),p={x:t,y:i},h=await Ci(e,d),u=_o(mt(n)),g=fa(u),x=p[g],S=p[u];if(a){let k=g==="y"?"top":"left",P=g==="y"?"bottom":"right",I=x+h[k],A=x-h[P];x=pa(I,x,A)}if(s){let k=u==="y"?"top":"left",P=u==="y"?"bottom":"right",I=S+h[k],A=S-h[P];S=pa(I,S,A)}let E=l.fn({...e,[g]:x,[u]:S});return{...E,data:{x:E.x-t,y:E.y-i}}}}};function Tt(r){return Il(r)?(r.nodeName||"").toLowerCase():"#document"}function He(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Bt(r){var e;return(e=(Il(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Il(r){return r instanceof Node||r instanceof He(r).Node}function bt(r){return r instanceof Element||r instanceof He(r).Element}function st(r){return r instanceof HTMLElement||r instanceof He(r).HTMLElement}function Pl(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof He(r).ShadowRoot}function zr(r){let{overflow:e,overflowX:t,overflowY:i,display:n}=Ye(r);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(n)}function Tl(r){return["table","td","th"].includes(Tt(r))}function wi(r){let e=Ai(),t=Ye(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Bl(r){let e=vr(r);for(;st(e)&&!ko(e);){if(wi(e))return e;e=vr(e)}return null}function Ai(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ko(r){return["html","body","#document"].includes(Tt(r))}function Ye(r){return He(r).getComputedStyle(r)}function Po(r){return bt(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function vr(r){if(Tt(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Pl(r)&&r.host||Bt(r);return Pl(e)?e.host:e}function Fl(r){let e=vr(r);return ko(e)?r.ownerDocument?r.ownerDocument.body:r.body:st(e)&&zr(e)?e:Fl(e)}function Ei(r,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);let n=Fl(r),a=n===((i=r.ownerDocument)==null?void 0:i.body),s=He(n);return a?e.concat(s,s.visualViewport||[],zr(n)?n:[],s.frameElement&&t?Ei(s.frameElement):[]):e.concat(n,Ei(n,[],t))}function Ul(r){let e=Ye(r),t=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=st(r),a=n?r.offsetWidth:t,s=n?r.offsetHeight:i,l=No(t)!==a||No(i)!==s;return l&&(t=a,i=s),{width:t,height:i,$:l}}function zl(r){return bt(r)?r:r.contextElement}function Wr(r){let e=zl(r);if(!st(e))return It(1);let t=e.getBoundingClientRect(),{width:i,height:n,$:a}=Ul(e),s=(a?No(t.width):t.width)/i,l=(a?No(t.height):t.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Ff=It(0);function Wl(r){let e=He(r);return!Ai()||!e.visualViewport?Ff:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Df(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==He(r)?!1:e}function Io(r,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);let n=r.getBoundingClientRect(),a=zl(r),s=It(1);e&&(i?bt(i)&&(s=Wr(i)):s=Wr(r));let l=Df(a,t,i)?Wl(a):It(0),d=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,h=n.width/s.x,u=n.height/s.y;if(a){let g=He(a),x=i&&bt(i)?He(i):i,S=g.frameElement;for(;S&&i&&x!==g;){let E=Wr(S),k=S.getBoundingClientRect(),P=Ye(S),I=k.left+(S.clientLeft+parseFloat(P.paddingLeft))*E.x,A=k.top+(S.clientTop+parseFloat(P.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,u*=E.y,d+=I,p+=A,S=He(S).frameElement}}return br({width:h,height:u,x:d,y:p})}function Mf(r){let{rect:e,offsetParent:t,strategy:i}=r,n=st(t),a=Bt(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=It(1),d=It(0);if((n||!n&&i!=="fixed")&&((Tt(t)!=="body"||zr(a))&&(s=Po(t)),st(t))){let p=Io(t);l=Wr(t),d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Uf(r){return Array.from(r.getClientRects())}function Hl(r){return Io(Bt(r)).left+Po(r).scrollLeft}function zf(r){let e=Bt(r),t=Po(r),i=r.ownerDocument.body,n=Gt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Gt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-t.scrollLeft+Hl(r),l=-t.scrollTop;return Ye(i).direction==="rtl"&&(s+=Gt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Wf(r,e){let t=He(r),i=Bt(r),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let p=Ai();(!p||p&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function Hf(r,e){let t=Io(r,!0,e==="fixed"),i=t.top+r.clientTop,n=t.left+r.clientLeft,a=st(r)?Wr(r):It(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,d=n*a.x,p=i*a.y;return{width:s,height:l,x:d,y:p}}function Dl(r,e,t){let i;if(e==="viewport")i=Wf(r,t);else if(e==="document")i=zf(Bt(r));else if(bt(e))i=Hf(e,t);else{let n=Wl(r);i={...e,x:e.x-n.x,y:e.y-n.y}}return br(i)}function Vl(r,e){let t=vr(r);return t===e||!bt(t)||ko(t)?!1:Ye(t).position==="fixed"||Vl(t,e)}function Vf(r,e){let t=e.get(r);if(t)return t;let i=Ei(r,[],!1).filter(l=>bt(l)&&Tt(l)!=="body"),n=null,a=Ye(r).position==="fixed",s=a?vr(r):r;for(;bt(s)&&!ko(s);){let l=Ye(s),d=wi(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||zr(s)&&!d&&Vl(r,s))?i=i.filter(h=>h!==s):n=l,s=vr(s)}return e.set(r,i),i}function jf(r){let{element:e,boundary:t,rootBoundary:i,strategy:n}=r,s=[...t==="clippingAncestors"?Vf(e,this._c):[].concat(t),i],l=s[0],d=s.reduce((p,h)=>{let u=Dl(e,h,n);return p.top=Gt(u.top,p.top),p.right=Lo(u.right,p.right),p.bottom=Lo(u.bottom,p.bottom),p.left=Gt(u.left,p.left),p},Dl(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Gf(r){return Ul(r)}function Kf(r,e,t){let i=st(e),n=Bt(e),a=t==="fixed",s=Io(r,!0,a,e),l={scrollLeft:0,scrollTop:0},d=It(0);if(i||!i&&!a)if((Tt(e)!=="body"||zr(n))&&(l=Po(e)),i){let p=Io(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else n&&(d.x=Hl(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Ml(r,e){return!st(r)||Ye(r).position==="fixed"?null:e?e(r):r.offsetParent}function jl(r,e){let t=He(r);if(!st(r))return t;let i=Ml(r,e);for(;i&&Tl(i)&&Ye(i).position==="static";)i=Ml(i,e);return i&&(Tt(i)==="html"||Tt(i)==="body"&&Ye(i).position==="static"&&!wi(i))?t:i||Bl(r)||t}var Zf=async function(r){let{reference:e,floating:t,strategy:i}=r,n=this.getOffsetParent||jl,a=this.getDimensions;return{reference:Kf(e,await n(t),i),floating:{x:0,y:0,...await a(t)}}};function qf(r){return Ye(r).direction==="rtl"}var Hr={convertOffsetParentRelativeRectToViewportRelativeRect:Mf,getDocumentElement:Bt,getClippingRect:jf,getOffsetParent:jl,getElementRects:Zf,getClientRects:Uf,getDimensions:Gf,getScale:Wr,isElement:bt,isRTL:qf};var xa=(r,e,t)=>{let i=new Map,n={platform:Hr,...t},a={...n.platform,_c:i};return kl(r,e,{...n,platform:a})};function Oa(r){return Yf(r)}function Sa(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function Yf(r){for(let e=r;e;e=Sa(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Sa(r);e;e=Sa(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function To(r,e,t){return xa(r,e,{platform:{...Hr,getOffsetParent:i=>Hr.getOffsetParent(i,Oa)},middleware:[va({crossAxis:!0}),ma({allowedPlacements:[t]})]})}async function Xf(r,e,t,i,n){return xa(r,e,{placement:t,strategy:n,platform:{...Hr,getOffsetParent:a=>Hr.getOffsetParent(a,Oa)},middleware:[ba(4),ga({fallbackPlacements:i})]})}var Aa={};se(Aa,{FtdsBase:()=>Fo,toFtdsBase:()=>Li});var wa={};se(wa,{FtLitElement:()=>M});var Ea={};se(Ea,{ScopedRegistryLitElement:()=>Bo});var Ri=window,Jf=Ri.ShadowRoot&&(Ri.ShadyCSS===void 0||Ri.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wb=Symbol();var Gl=(r,e)=>{Jf?r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let i=document.createElement("style"),n=Ri.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)})};var Bo=class extends _t{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let t={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(t);return Gl(i,e.elementStyles),i}};var $i=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Yl,Kl=Symbol("constructorPrototype"),Zl=Symbol("constructorName"),Xl=Symbol("exportpartsDebouncer"),ql=Symbol("dynamicDependenciesLoaded"),M=class extends Bo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Yl]=new ce(5),this[Zl]=this.constructor.name,this[Kl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zl]&&Object.setPrototypeOf(this,this[Kl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[ql]||(e[ql]=!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 t,i,n;if(((i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&i!==void 0&&i)&&this[Xl].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,i,n,a,s,l;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let x=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...x,...S).filter(d).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(g=>p.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Yl=Xl;$i([y()],M.prototype,"exportpartsPrefix",void 0);$i([_e([])],M.prototype,"exportpartsPrefixes",void 0);$i([y()],M.prototype,"customStylesheet",void 0);$i([W()],M.prototype,"useAdoptedStyleSheets",void 0);var Jl=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};function Li(r){class e extends r{constructor(){super(...arguments),this.size=$e.medium,this.family=Pt.neutral}getDesignSystemBaseClasses(){return{[aa(this.family)]:!0,[sa(this.size)]:!0}}}return Jl([y()],e.prototype,"size",void 0),Jl([y()],e.prototype,"family",void 0),e}var Fo=class extends Li(M){};var Ql={};var La={};se(La,{highlightHtml:()=>$a,highlightHtmlColorCssVariable:()=>ec,highlightHtmlStyles:()=>eu});var xr=class r{constructor(e,t=!0,i=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=i,this.iframesTimeout=n}static matches(e,t){let i=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=t.filter(a=>a.contains(i)).length>0;t.indexOf(i)===-1&&!n&&t.push(i)}),t}getIframeContents(e,t,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&t(n)}isIframeBlank(e){let t="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&i!==t&&i}observeIframeLoad(e,t,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,i):this.getIframeContents(e,t,i):this.observeIframeLoad(e,t,i)}catch{i()}}waitForIframes(e,t){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||t()})},n=>{n||t()})}forEachIframe(e,t,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(p=>{r.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{t(p)&&(l++,i(h)),d()},d)})}createIterator(e,t,i){return document.createNodeIterator(e,t,i,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){let s=t.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),i;return t===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:t,node:i}}checkIframeFilter(e,t,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,t,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,t,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,i,n)})})}iterateThroughNodes(e,t,i,n,a){let s=this.createIterator(t,e,n),l=[],d=[],p,h,u=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;u();)this.iframes&&this.forEachIframe(t,g=>this.checkIframeFilter(p,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),n)}),d.push(p);d.forEach(g=>{i(g)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,t,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var Do=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new xr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[t]=="function"&&i[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&t.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",i=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):i.trim()&&t.indexOf(i)===-1&&t.push(i)}),{keywords:t.sort((i,n)=>n.length-i.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,t.push(n),i=s)}),t}callNoMatchOnInvalidRanges(e,t){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,t,i){let n,a=!0,s=i.length,l=t-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let t="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:i})})}matchesExclude(e){return xr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(i-t),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,t,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!n(s.node))return!1;let p=t-s.start,h=(i>s.end?s.end:i)-s.start,u=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=u+g,e.nodes.forEach((x,S)=>{S>=l&&(e.nodes[S].start>0&&S!==l&&(e.nodes[S].start-=h),e.nodes[S].end-=h)}),i-=h,a(s.node.previousSibling,s.start),i>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!i(p[s],d))continue;let h=p.index;if(s!==0)for(let u=1;u<s;u++)h+=p[u].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let u=1;u<s;u++)p+=d[u].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,h,u=>i(d[s],u),(u,g)=>{e.lastIndex=g,n(u)})}a()})}wrapRangeFromIndex(e,t,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,p,h,g=>t(g,l,a.value.substring(p,h),d),g=>{i(g,l)})}),n()})}unwrapMatches(e){let t=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,t){this.opt=t;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(g,x)=>this.opt.filter(x,p,i,u),g=>{u++,i++,this.opt.each(g)},()=>{u===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(i):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,t){this.opt=t;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=xr.matches(i,t),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ra(r){let e=new Do(r);return this.mark=(t,i)=>(e.mark(t,i),this),this.markRegExp=(t,i)=>(e.markRegExp(t,i),this),this.markRanges=(t,i)=>(e.markRanges(t,i),this),this.unmark=t=>(e.unmark(t),this),this}var Qf=Ra,ec=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),eu=L`
|
|
8
8
|
.highlight-html-match {
|
|
9
|
-
background: ${
|
|
9
|
+
background: ${ec};
|
|
10
10
|
}
|
|
11
|
-
`;function
|
|
11
|
+
`;function $a(r,e,t){var i,n;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Qf(r);if(s.unmark(),e&&e.trim()){let l={className:(i=t?.className)!==null&&i!==void 0?i:"highlight-html-match"};t?.attributes!=null&&(l.each=p=>{for(let h in t.attributes)p.setAttribute(h,t.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var _a={};se(_a,{noTextInputDefaultClearButton:()=>Uo,noTextSelect:()=>Sr,safariEllipsisFix:()=>Mo,wordWrap:()=>Na});var Sr=L`
|
|
12
12
|
.ft-no-text-select {
|
|
13
13
|
-webkit-touch-callout: none;
|
|
14
14
|
-webkit-user-select: none;
|
|
@@ -17,7 +17,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
17
17
|
-ms-user-select: none;
|
|
18
18
|
user-select: none;
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
`,Na=L`
|
|
21
21
|
.ft-word-wrap {
|
|
22
22
|
white-space: normal;
|
|
23
23
|
word-wrap: break-word;
|
|
@@ -29,7 +29,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
29
29
|
-webkit-hyphens: auto;
|
|
30
30
|
hyphens: auto
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,Mo=L`
|
|
33
33
|
.ft-safari-ellipsis-fix {
|
|
34
34
|
margin-right: 0;
|
|
35
35
|
|
|
@@ -40,14 +40,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
40
40
|
display: inline-block;
|
|
41
41
|
width: 0;
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,Uo=L`
|
|
44
44
|
input::-webkit-search-cancel-button,
|
|
45
45
|
input::-webkit-search-decoration,
|
|
46
46
|
input::-webkit-search-results-button,
|
|
47
47
|
input::-webkit-search-results-decoration {
|
|
48
48
|
display: none;
|
|
49
49
|
}
|
|
50
|
-
`;var Ql={};var La={};se(La,{ParametrizedLabelResolver:()=>Kt});var Kt=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var i,n;e=this.resolvePluralKey(e,t);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(i,s))),e}resolvePluralKey(e,t){for(let i of t)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let i=n=>t?.includes("date")?e.toLocaleDateString(n):t?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var rs={};se(rs,{FtCommandQueue:()=>Do,FtLitElementRedux:()=>Wr,FtReduxStore:()=>Er,clearAllStores:()=>Bu,isFtReduxStore:()=>Sr,redux:()=>ec,reduxEventListener:()=>Qf,reduxReactive:()=>Jf});var Jf=()=>(r,e)=>{var t;let i=r.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(t=i.reduxReactiveProperties)===null||t===void 0||t.add(e)},ec=r=>{let e=r??{};return(t,i)=>{var n;let a={hasChanged:Oo,attribute:!1,...e};m(a)(t,i);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},Qf=r=>(e,t)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(t,r)};var Do=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(i=>i.type===e);return t&&(this.queue=this.queue.filter(i=>i!==t)),t}};function Sr(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var tc,rc,oc,Ri=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),Or=Symbol("internalStores"),Wr=class extends D{constructor(){super(...arguments),this[tc]=new Map,this[rc]=new Map,this[oc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[Or].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Or].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Or].get(e)}addStore(e,t){var i;t=(i=t??(Sr(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(t),this.setupStore(t,e)}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[Or].delete(t)}setupStore(e,t){this[Or].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Or].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let i=this.constructor.getPropertyOptions(t);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:t)){let n=this.getStore(e.store);n&&(e.store?this[Zt].has(e.store):this[Zt].size>0)&&(this[t]=e.selector(n.getState(),this))}})}subscribeToStore(e,t){var i;this[Zt].set(e,t.subscribe(()=>this.updateFromStores())),Sr(t)&&t.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||t.name===n.store)){let s=l=>this[a](l);t.eventBus.addEventListener(n.eventName,s),this[Ri].push(()=>t.eventBus.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Zt].forEach((e,t)=>this.unsubscribeFromStore(t)),this[Ri].forEach(e=>e()),this[Ri]=[]}unsubscribeFromStore(e){this[Zt].has(e)&&this[Zt].get(e)(),this[Zt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};tc=Zt,rc=Or,oc=Ri;Wr.reduxProperties=new Map;Wr.reduxReactiveProperties=new Set;Wr.reduxEventListeners=new Map;function rt(r){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ft(r){return!!r&&!!r[fe]}function lt(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var i=Object.getPrototypeOf(t);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===su}(r)||Array.isArray(r)||!!r[dc]||!!(!((e=r.constructor)===null||e===void 0)&&e[dc])||Ma(r)||Ua(r))}function Cr(r,e,t){t===void 0&&(t=!1),jr(r)===0?(t?Object.keys:Vr)(r).forEach(function(i){t&&typeof i=="symbol"||e(i,r[i],r)}):r.forEach(function(i,n){return e(n,i,r)})}function jr(r){var e=r[fe];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:Ma(r)?2:Ua(r)?3:0}function Hr(r,e){return jr(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function eu(r,e){return jr(r)===2?r.get(e):r[e]}function pc(r,e,t){var i=jr(r);i===2?r.set(e,t):i===3?r.add(t):r[e]=t}function fc(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function Ma(r){return nu&&r instanceof Map}function Ua(r){return au&&r instanceof Set}function qt(r){return r.o||r.t}function za(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=yc(r);delete e[fe];for(var t=Vr(e),i=0;i<t.length;i++){var n=t[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[n]})}return Object.create(Object.getPrototypeOf(r),e)}function Wa(r,e){return e===void 0&&(e=!1),Ha(r)||Ft(r)||!lt(r)||(jr(r)>1&&(r.set=r.add=r.clear=r.delete=tu),Object.freeze(r),e&&Cr(r,function(t,i){return Wa(i,!0)},!0)),r}function tu(){rt(2)}function Ha(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function vt(r){var e=Da[r];return e||rt(18,r),e}function ru(r,e){Da[r]||(Da[r]=e)}function Ta(){return Uo}function ka(r,e){e&&(vt("Patches"),r.u=[],r.s=[],r.v=e)}function $i(r){Ba(r),r.p.forEach(ou),r.p=null}function Ba(r){r===Uo&&(Uo=r.l)}function ic(r){return Uo={p:[],l:Uo,h:r,m:!0,_:0}}function ou(r){var e=r[fe];e.i===0||e.i===1?e.j():e.g=!0}function _a(r,e){e._=e.p.length;var t=e.p[0],i=r!==void 0&&r!==t;return e.h.O||vt("ES5").S(e,r,i),i?(t[fe].P&&($i(e),rt(4)),lt(r)&&(r=Ni(e,r),e.l||Li(e,r)),e.u&&vt("Patches").M(t[fe].t,r,e.u,e.s)):r=Ni(e,t,[]),$i(e),e.u&&e.v(e.u,e.s),r!==hc?r:void 0}function Ni(r,e,t){if(Ha(e))return e;var i=e[fe];if(!i)return Cr(e,function(l,d){return nc(r,i,e,l,d,t)},!0),e;if(i.A!==r)return e;if(!i.P)return Li(r,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=za(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Cr(a,function(l,d){return nc(r,i,n,l,d,t,s)}),Li(r,n,!1),t&&r.u&&vt("Patches").N(i,t,r.u,r.s)}return i.o}function nc(r,e,t,i,n,a,s){if(Ft(n)){var l=Ni(r,n,a&&e&&e.i!==3&&!Hr(e.R,i)?a.concat(i):void 0);if(pc(t,i,l),!Ft(l))return;r.m=!1}else s&&t.add(n);if(lt(n)&&!Ha(n)){if(!r.h.D&&r._<1)return;Ni(r,n),e&&e.A.l||Li(r,n)}}function Li(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&Wa(e,t)}function Pa(r,e){var t=r[fe];return(t?qt(t):r)[e]}function ac(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}}function Yt(r){r.P||(r.P=!0,r.l&&Yt(r.l))}function Ia(r){r.o||(r.o=za(r.t))}function Fa(r,e,t){var i=Ma(e)?vt("MapSet").F(e,t):Ua(e)?vt("MapSet").T(e,t):r.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Ta(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,p=zo;s&&(d=[l],p=Mo);var h=Proxy.revocable(d,p),u=h.revoke,g=h.proxy;return l.k=g,l.j=u,g}(e,t):vt("ES5").J(e,t);return(t?t.A:Ta()).p.push(i),i}function iu(r){return Ft(r)||rt(22,r),function e(t){if(!lt(t))return t;var i,n=t[fe],a=jr(t);if(n){if(!n.P&&(n.i<4||!vt("ES5").K(n)))return n.t;n.I=!0,i=sc(t,a),n.I=!1}else i=sc(t,a);return Cr(i,function(s,l){n&&eu(n.t,s)===l||pc(i,s,e(l))}),a===3?new Set(i):i}(r)}function sc(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return za(r)}function uc(){function r(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[fe];return zo.get(p,s)},set:function(p){var h=this[fe];zo.set(h,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][fe];if(!d.P)switch(d.i){case 5:i(d)&&Yt(d);break;case 4:t(d)&&Yt(d)}}}function t(s){for(var l=s.t,d=s.k,p=Vr(d),h=p.length-1;h>=0;h--){var u=p[h];if(u!==fe){var g=l[u];if(g===void 0&&!Hr(l,u))return!0;var x=d[u],S=x&&x[fe];if(S?S.t!==g:!fc(x,g))return!0}}var A=!!l[fe];return p.length!==Vr(l).length+(A?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&rt(3,JSON.stringify(qt(s)))}var a={};ru("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(u,g){if(u){for(var x=Array(g.length),S=0;S<g.length;S++)Object.defineProperty(x,""+S,r(S,!0));return x}var A=yc(g);delete A[fe];for(var I=Vr(A),k=0;k<I.length;k++){var P=I[k];A[P]=r(P,u||!!A[P].enumerable)}return Object.create(Object.getPrototypeOf(g),A)}(d,s),h={i:d?5:4,A:l?l.A:Ta(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,fe,{value:h,writable:!0}),p},S:function(s,l,d){d?Ft(l)&&l[fe].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var u=h[fe];if(u){var g=u.t,x=u.k,S=u.R,A=u.i;if(A===4)Cr(x,function(E){E!==fe&&(g[E]!==void 0||Hr(g,E)?S[E]||p(x[E]):(S[E]=!0,Yt(u)))}),Cr(g,function(E){x[E]!==void 0||Hr(x,E)||(S[E]=!1,Yt(u))});else if(A===5){if(i(u)&&(Yt(u),S.length=!0),x.length<g.length)for(var I=x.length;I<g.length;I++)S[I]=!1;else for(var k=g.length;k<x.length;k++)S[k]=!0;for(var P=Math.min(x.length,g.length),C=0;C<P;C++)x.hasOwnProperty(C)||(S[C]=!0),S[C]===void 0&&p(x[C])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):i(s)}})}var lc,Uo,Va=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",nu=typeof Map<"u",au=typeof Set<"u",cc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hc=Va?Symbol.for("immer-nothing"):((lc={})["immer-nothing"]=!0,lc),dc=Va?Symbol.for("immer-draftable"):"__$immer_draftable",fe=Va?Symbol.for("immer-state"):"__$immer_state";var su=""+Object.prototype.constructor,Vr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,yc=Object.getOwnPropertyDescriptors||function(r){var e={};return Vr(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},Da={},zo={get:function(r,e){if(e===fe)return r;var t=qt(r);if(!Hr(t,e))return function(n,a,s){var l,d=ac(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(r,t,e);var i=t[e];return r.I||!lt(i)?i:i===Pa(r.t,e)?(Ia(r),r.o[e]=Fa(r.A.h,i,r)):i},has:function(r,e){return e in qt(r)},ownKeys:function(r){return Reflect.ownKeys(qt(r))},set:function(r,e,t){var i=ac(qt(r),e);if(i?.set)return i.set.call(r.k,t),!0;if(!r.P){var n=Pa(qt(r),e),a=n?.[fe];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(fc(t,n)&&(t!==void 0||Hr(r.t,e)))return!0;Ia(r),Yt(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return Pa(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Ia(r),Yt(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=qt(r),i=Reflect.getOwnPropertyDescriptor(t,e);return i&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:i.enumerable,value:t[e]}},defineProperty:function(){rt(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){rt(12)}},Mo={};Cr(zo,function(r,e){Mo[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Mo.deleteProperty=function(r,e){return Mo.set.call(this,r,e,void 0)},Mo.set=function(r,e,t){return zo.set.call(this,r[0],e,t,r[0])};var lu=function(){function r(t){var i=this;this.O=cc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(A){var I=this;A===void 0&&(A=l);for(var k=arguments.length,P=Array(k>1?k-1:0),C=1;C<k;C++)P[C-1]=arguments[C];return d.produce(A,function(E){var R;return(R=a).call.apply(R,[I,E].concat(P))})}}var p;if(typeof a!="function"&&rt(6),s!==void 0&&typeof s!="function"&&rt(7),lt(n)){var h=ic(i),u=Fa(i,n,void 0),g=!0;try{p=a(u),g=!1}finally{g?$i(h):Ba(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(A){return ka(h,s),_a(A,h)},function(A){throw $i(h),A}):(ka(h,s),_a(p,h))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===hc&&(p=void 0),i.D&&Wa(p,!0),s){var x=[],S=[];vt("Patches").M(n,p,x,S),s(x,S)}return p}rt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var h=arguments.length,u=Array(h>1?h-1:0),g=1;g<h;g++)u[g-1]=arguments[g];return i.produceWithPatches(p,function(x){return n.apply(void 0,[x].concat(u))})};var s,l,d=i.produce(n,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){lt(t)||rt(8),Ft(t)&&(t=iu(t));var i=ic(this),n=Fa(this,t,void 0);return n[fe].C=!0,Ba(i),n},e.finishDraft=function(t,i){var n=t&&t[fe],a=n.A;return ka(a,i),_a(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!cc&&rt(20),this.O=t},e.applyPatches=function(t,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(i=i.slice(n+1));var s=vt("Patches").$;return Ft(t)?s(t,i):this.produce(t,function(l){return s(l,i)})},r}(),Xe=new lu,cu=Xe.produce,fv=Xe.produceWithPatches.bind(Xe),uv=Xe.setAutoFreeze.bind(Xe),hv=Xe.setUseProxies.bind(Xe),yv=Xe.applyPatches.bind(Xe),mv=Xe.createDraft.bind(Xe),gv=Xe.finishDraft.bind(Xe),ki=cu;function Xt(r){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xt(r)}function ja(r,e){if(Xt(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(Xt(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Ga(r){var e=ja(r,"string");return Xt(e)==="symbol"?e:String(e)}function Ka(r,e,t){return e=Ga(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function mc(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function _i(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?mc(Object(t),!0).forEach(function(i){Ka(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):mc(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}function Ie(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var gc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Za=function(){return Math.random().toString(36).substring(7).split("").join(".")},Pi={INIT:"@@redux/INIT"+Za(),REPLACE:"@@redux/REPLACE"+Za(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Za()}};function du(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function qa(r,e,t){var i;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(Ie(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(Ie(1));return t(qa)(r,e)}if(typeof r!="function")throw new Error(Ie(2));var n=r,a=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Ie(3));return a}function u(A){if(typeof A!="function")throw new Error(Ie(4));if(d)throw new Error(Ie(5));var I=!0;return p(),l.push(A),function(){if(I){if(d)throw new Error(Ie(6));I=!1,p();var P=l.indexOf(A);l.splice(P,1),s=null}}}function g(A){if(!du(A))throw new Error(Ie(7));if(typeof A.type>"u")throw new Error(Ie(8));if(d)throw new Error(Ie(9));try{d=!0,a=n(a,A)}finally{d=!1}for(var I=s=l,k=0;k<I.length;k++){var P=I[k];P()}return A}function x(A){if(typeof A!="function")throw new Error(Ie(10));n=A,g({type:Pi.REPLACE})}function S(){var A,I=u;return A={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(Ie(11));function C(){P.next&&P.next(h())}C();var E=I(C);return{unsubscribe:E}}},A[gc]=function(){return this},A}return g({type:Pi.INIT}),i={dispatch:g,subscribe:u,getState:h,replaceReducer:x},i[gc]=S,i}function pu(r){Object.keys(r).forEach(function(e){var t=r[e],i=t(void 0,{type:Pi.INIT});if(typeof i>"u")throw new Error(Ie(12));if(typeof t(void 0,{type:Pi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ie(13))})}function bc(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++){var n=e[i];typeof r[n]=="function"&&(t[n]=r[n])}var a=Object.keys(t),s,l;try{pu(t)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var u;for(var g=!1,x={},S=0;S<a.length;S++){var A=a[S],I=t[A],k=p[A],P=I(k,h);if(typeof P>"u"){var C=h&&h.type;throw new Error(Ie(14))}x[A]=P,g=g||P!==k}return g=g||a.length!==Object.keys(p).length,g?x:p}}function Gr(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function vc(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Ie(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=Gr.apply(void 0,l)(n.dispatch),_i(_i({},n),{},{dispatch:a})}}}function xc(r){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,r):s(l)}}};return e}var Sc=xc();Sc.withExtraArgument=xc;var Ya=Sc;var Ac=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),fu=function(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(a=p[0]&2?n.return:p[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,p[1])).done)return a;switch(n=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return t.label++,{value:p[1],done:!1};case 5:t.label++,n=p[1],p=[0];continue;case 7:p=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){t=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){t.label=p[1];break}if(p[0]===6&&t.label<a[1]){t.label=a[1],a=p;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(p);break}a[2]&&t.ops.pop(),t.trys.pop();continue}p=e.call(r,t)}catch(h){p=[6,h],n=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Kr=function(r,e){for(var t=0,i=e.length,n=r.length;t<i;t++,n++)r[n]=e[t];return r},uu=Object.defineProperty,hu=Object.defineProperties,yu=Object.getOwnPropertyDescriptors,Oc=Object.getOwnPropertySymbols,mu=Object.prototype.hasOwnProperty,gu=Object.prototype.propertyIsEnumerable,Cc=function(r,e,t){return e in r?uu(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},Jt=function(r,e){for(var t in e||(e={}))mu.call(e,t)&&Cc(r,t,e[t]);if(Oc)for(var i=0,n=Oc(e);i<n.length;i++){var t=n[i];gu.call(e,t)&&Cc(r,t,e[t])}return r},Xa=function(r,e){return hu(r,yu(e))},bu=function(r,e,t){return new Promise(function(i,n){var a=function(d){try{l(t.next(d))}catch(p){n(p)}},s=function(d){try{l(t.throw(d))}catch(p){n(p)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((t=t.apply(r,e)).next())})};var vu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Gr:Gr.apply(null,arguments)},Tv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function xu(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var Su=function(r){Ac(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,Kr([void 0],t[0].concat(this)))):new(e.bind.apply(e,Kr([void 0],t.concat(this))))},e}(Array),Ou=function(r){Ac(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,Kr([void 0],t[0].concat(this)))):new(e.bind.apply(e,Kr([void 0],t.concat(this))))},e}(Array);function es(r){return lt(r)?ki(r,function(){}):r}function Cu(r){return typeof r=="boolean"}function Eu(){return function(e){return wu(e)}}function wu(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,i=r.immutableCheck,n=i===void 0?!0:i,a=r.serializableCheck,s=a===void 0?!0:a,l=new Su;if(t&&(Cu(t)?l.push(Ya):l.push(Ya.withExtraArgument(t.extraArgument))),0){if(n)var d;if(s)var p}return l}var Ja=!0;function Rc(r){var e=Eu(),t=r||{},i=t.reducer,n=i===void 0?void 0:i,a=t.middleware,s=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,p=t.preloadedState,h=p===void 0?void 0:p,u=t.enhancers,g=u===void 0?void 0:u,x;if(typeof n=="function")x=n;else if(xu(n))x=bc(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=s;if(typeof S=="function"&&(S=S(e),!Ja&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ja&&S.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=vc.apply(void 0,S),I=Gr;d&&(I=vu(Jt({trace:!Ja},typeof d=="object"&&d)));var k=new Ou(A),P=k;Array.isArray(g)?P=Kr([A],g):typeof g=="function"&&(P=g(k));var C=I.apply(void 0,P);return qa(x,h,C)}function Qt(r,e){function t(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return Jt(Jt({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:i[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(i){return i.type===r},t}function $c(r){var e={},t=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return r(n),[e,t,i]}function Au(r){return typeof r=="function"}function Ru(r,e,t,i){t===void 0&&(t=[]);var n=typeof e=="function"?$c(e):[e,t,i],a=n[0],s=n[1],l=n[2],d;if(Au(r))d=function(){return es(r())};else{var p=es(r);d=function(){return p}}function h(u,g){u===void 0&&(u=d());var x=Kr([a[g.type]],s.filter(function(S){var A=S.matcher;return A(g)}).map(function(S){var A=S.reducer;return A}));return x.filter(function(S){return!!S}).length===0&&(x=[l]),x.reduce(function(S,A){if(A)if(Ft(S)){var I=S,k=A(I,g);return k===void 0?S:k}else{if(lt(S))return ki(S,function(P){return A(P,g)});var k=A(S,g);if(k===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return k}return S},u)}return h.getInitialState=d,h}function $u(r,e){return r+"/"+e}function Nc(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:es(r.initialState),i=r.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var u=i[h],g=$u(e,h),x,S;"reducer"in u?(x=u.reducer,S=u.prepare):x=u,a[h]=x,s[g]=x,l[h]=S?Qt(g,S):Qt(g)});function d(){var h=typeof r.extraReducers=="function"?$c(r.extraReducers):[r.extraReducers],u=h[0],g=u===void 0?{}:u,x=h[1],S=x===void 0?[]:x,A=h[2],I=A===void 0?void 0:A,k=Jt(Jt({},g),s);return Ru(t,function(P){for(var C in k)P.addCase(C,k[C]);for(var E=0,R=S;E<R.length;E++){var W=R[E];P.addMatcher(W.matcher,W.reducer)}I&&P.addDefaultCase(I)})}var p;return{name:e,reducer:function(h,u){return p||(p=d()),p(h,u)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var Nu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Lu=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=Nu[Math.random()*64|0];return e},ku=["name","message","stack","code"],Qa=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Ec=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),_u=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,i=ku;t<i.length;t++){var n=i[t];typeof r[n]=="string"&&(e[n]=r[n])}return e}return{message:String(r)}},Mv=function(){function r(e,t,i){var n=Qt(e+"/fulfilled",function(h,u,g,x){return{payload:h,meta:Xa(Jt({},x||{}),{arg:g,requestId:u,requestStatus:"fulfilled"})}}),a=Qt(e+"/pending",function(h,u,g){return{payload:void 0,meta:Xa(Jt({},g||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Qt(e+"/rejected",function(h,u,g,x,S){return{payload:x,error:(i&&i.serializeError||_u)(h||"Rejected"),meta:Xa(Jt({},S||{}),{arg:g,requestId:u,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(u,g,x){var S=i?.idGenerator?i.idGenerator(h):Lu(),A=new d,I,k=!1;function P(E){I=E,A.abort()}var C=function(){return bu(this,null,function(){var E,R,W,te,oe,ne,M;return fu(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),te=(E=i?.condition)==null?void 0:E.call(i,h,{getState:g,extra:x}),Iu(te)?[4,te]:[3,2];case 1:te=y.sent(),y.label=2;case 2:if(te===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return k=!0,oe=new Promise(function(O,B){return A.signal.addEventListener("abort",function(){return B({name:"AbortError",message:I||"Aborted"})})}),u(a(S,h,(R=i?.getPendingMeta)==null?void 0:R.call(i,{requestId:S,arg:h},{getState:g,extra:x}))),[4,Promise.race([oe,Promise.resolve(t(h,{dispatch:u,getState:g,extra:x,requestId:S,signal:A.signal,abort:P,rejectWithValue:function(O,B){return new Qa(O,B)},fulfillWithValue:function(O,B){return new Ec(O,B)}})).then(function(O){if(O instanceof Qa)throw O;return O instanceof Ec?n(O.payload,S,h,O.meta):n(O,S,h)})])];case 3:return W=y.sent(),[3,5];case 4:return ne=y.sent(),W=ne instanceof Qa?s(null,S,h,ne.payload,ne.meta):s(ne,S,h),[3,5];case 5:return M=i&&!i.dispatchConditionRejection&&s.match(W)&&W.meta.condition,M||u(W),[2,W]}})})}();return Object.assign(C,{abort:P,requestId:S,arg:h,unwrap:function(){return C.then(Pu)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return r.withTypes=function(){return r},r}();function Pu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function Iu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Lc="listener",kc="completed",_c="cancelled",Uv="task-"+_c,zv="task-"+kc,Wv=Lc+"-"+_c,Hv=Lc+"-"+kc;var ts="listenerMiddleware";var Vv=Qt(ts+"/add"),jv=Qt(ts+"/removeAll"),Gv=Qt(ts+"/remove");var wc,Kv=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(wc||(wc=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},Tu=function(r){return function(e){setTimeout(e,r)}},Zv=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Tu(10);uc();window.ftReduxStores||(window.ftReduxStores={});var Er=class r{static get(e){var t;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Sr(a))return a;if(n==null)return;let s=Nc({...n,reducers:(t=n.reducers)!==null&&t!==void 0?t:{}}),l=Rc({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[n.name]=new r(s,l)}constructor(e,t){this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Do,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...d)=>{let p=l(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Bu(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))Sr(e)&&e.clear()}var ns={};se(ns,{scrollHelper:()=>Fu});var os,Ii=new Map,is=class{lock(e,t){if(t){let i=Ii.get(t);if(i==null||i===e)return Ii.set(t,e),t}}release(e,t){t&&Ii.get(t)===e&&Ii.delete(t)}findFirstScrollableParent(e){let t,i=n=>{var a;n.stopPropagation();let s,l;for(let d of n.composedPath()){let p=d,h=this.elementCanScroll(p);if(h&&p.clientHeight&&p.clientHeight<p.scrollHeight){s=p;break}else h&&l==null&&(l=p)}t=(a=s??l)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",i),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",i),t}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){let i=0;for(;t&&t.offsetParent!==e.offsetParent;)i+=t.offsetTop,t=t.offsetParent;return i+t.offsetTop-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=An(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;i.scrollTo({behavior:t?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(os=window.FluidTopicsScrollHelper)!==null&&os!==void 0?os:new is;var Fu=window.FluidTopicsScrollHelper;var as={};se(as,{shadowQuerySelector:()=>Du,shadowQuerySelectorAll:()=>Mu});function Du(r,e,...t){var i;let n=r.querySelector(e);for(let a of t)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function Mu(r,e,...t){let i=[...r.querySelectorAll(e)];for(let n of t)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var ss={};se(ss,{SearchPlaceConverter:()=>qr,SearchPlaceQueryParams:()=>de,isSearchPlaceQueryParams:()=>td,serializeRequest:()=>Hu});var Uu=hp(Ic(),1);var Tc;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Tc||(Tc={}));var Bc;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Bc||(Bc={}));var Fc;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(Fc||(Fc={}));var Dc;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(Dc||(Dc={}));var Mc;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Mc||(Mc={}));var Uc;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Uc||(Uc={}));var zc;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(zc||(zc={}));var Wc;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(Wc||(Wc={}));var Hc;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(Hc||(Hc={}));var Vc;(function(r){r.ASC="ASC",r.DESC="DESC"})(Vc||(Vc={}));var jc;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(jc||(jc={}));var Gc;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Gc||(Gc={}));var Jc=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Kc;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Kc||(Kc={}));var Zc;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Zc||(Zc={}));var qc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(qc||(qc={}));var Wo;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Wo||(Wo={}));var Qc=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Yc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Yc||(Yc={}));var Xc;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(Xc||(Xc={}));var Ne;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(Ne||(Ne={}));var ed;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(ed||(ed={}));var px={[Ne.PERSONAL_BOOK_SHARE_USER]:[Ne.PERSONAL_BOOK_USER],[Ne.HTML_EXPORT_USER]:[Ne.PERSONAL_BOOK_USER],[Ne.PDF_EXPORT_USER]:[Ne.PERSONAL_BOOK_USER],[Ne.KHUB_ADMIN]:[Ne.CONTENT_PUBLISHER],[Ne.ADMIN]:[Ne.KHUB_ADMIN,Ne.USERS_ADMIN,Ne.PORTAL_ADMIN],[Ne.DEVELOPER]:[Ne.BETA_USER,Ne.DEBUG_USER]};function zu(r){return`"${r}"`}function Wu(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Hu(r,e){return new qr(r,{}).serialize(e)}var de;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort"})(de||(de={}));var Vu=new Set(Object.values(de));function td(r){return Vu.has(r)}var qr=class{constructor(e,t){this.baseUrl=e,this.predefinedSorts=t,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,t="/search"){let i=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${t}?${i}`).href}toURLSearchParams(e){var t,i,n,a,s,l,d,p,h,u;let g=new URLSearchParams({[de.LOCALE]:(t=e.contentLocale)!==null&&t!==void 0?t:"all"});((i=e.query)===null||i===void 0?void 0:i.length)>0&&g.append(de.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&g.append(de.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&g.append(de.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((n=e.sort)===null||n===void 0?void 0:n.length)>0&&e.sort[0].key==="ft:lastEdition"&&g.append(de.SORT,"last_update");let x=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(k=>k.valueFilter))!==null&&s!==void 0?s:[];if(x.length>0){let k=x.map(P=>{var C,E;let R=((E=(C=P.valueFilter)===null||C===void 0?void 0:C.values)!==null&&E!==void 0?E:[]).map(W=>this.escapeFilters(W)).map(W=>encodeURIComponent(zu(W))).join("_");return`${P.key}~${R}`}).join("*");g.append(de.VALUE_FILTERS,k)}let S=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(k=>k.dateFilter))!==null&&d!==void 0?d:[];if(S.length>0){let k=S.map(P=>{var C;return`${P.key}~${(C=P.dateFilter)===null||C===void 0?void 0:C.type.toLowerCase()}`}).join("*");g.append(de.DATE_FILTERS,k)}let A=(h=(p=e.metadataFilters)===null||p===void 0?void 0:p.filter(k=>k.rangeFilter))!==null&&h!==void 0?h:[];if(A.length>0){let k=A.map(P=>{var C,E;return`${P.key}~${(C=P.rangeFilter)===null||C===void 0?void 0:C.from}_${(E=P.rangeFilter)===null||E===void 0?void 0:E.to}`}).join("*");g.append(de.RANGE_FILTERS,k)}let I=(u=e.otherQueryParams)!==null&&u!==void 0?u:{};for(let k in I)g.append(k,I[k]);return g}parse(e){var t;let i=e.split("?"),n=this.fromURLSearchParams(new URLSearchParams(i.slice(1).join("?"))),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:n.scope}}fromURLSearchParams(e){var t,i,n,a,s,l,d,p;let h=((t=e.get(de.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),u=((i=e.get(de.SORT))!==null&&i!==void 0?i:"DEFAULT").toUpperCase(),g=(n=e.get(de.SCOPE))!==null&&n!==void 0?n:"default",x={};for(let S of e.keys())td(S)||(x[S]=e.get(S));return{contentLocale:e.get(de.LOCALE)==="all"?void 0:(a=e.get(de.LOCALE))!==null&&a!==void 0?a:void 0,query:decodeURIComponent((s=e.get(de.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[g])!==null&&l!==void 0?l:"DEFAULT",virtualField:Jc(h)?h:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[u])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:x}}parseCompatFilters(e){var t,i,n,a,s,l;let d=[];return e.has(de.FILTERS)&&(d=this.parseValueFilters((t=e.get(de.FILTERS))!==null&&t!==void 0?t:"")),(i=e.has(de.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(de.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(de.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(de.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(de.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(Wu).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:Wo[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(t,i);return e}superEscapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replace(n,t);return e}parseLegacyPeriodFilter(e){if(Qc(e))return[{key:"ft:lastEdition",dateFilter:{type:Wo[e]}}];if(e.startsWith("CUSTOM_")){let[t,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}};var cs={};se(cs,{toFtFormComponent:()=>ls});var Fi=Symbol("elementInternals");function ls(r,e){class t extends r{static get formAssociated(){return!0}get form(){return this[Fi].form}constructor(...n){super(n),this[Fi]=this.attachInternals(),this[Fi].role=e}setFormValue(n){this[Fi].setFormValue(n)}}return t}var ds={};se(ds,{DateFormatter:()=>Yr});var Yr=class{static format(e,t,i,n){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(i,n)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}};var ps,fs,us,hs,wr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((us=(fs=(ps=window.safari)===null||ps===void 0?void 0:ps.pushNotification)===null||fs===void 0?void 0:fs.toString())!==null&&us!==void 0?us:"")==="[object SafariRemoteNotification]",ys="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(hs=window.ftGlobals)!==null&&hs!==void 0?hs:{lit:dn,litDecorators:hn,litRepeat:yn,litClassMap:mn,litStyleMap:gn,litUnsafeHTML:vn,wcUtils:{...On,...Sn,...En,...ds,...wn,...$n,...oa,...sa,...Sa,...ra,...Ea,...Ca,...Xl,...Rn,...Ra,...Na,...Ql,...La,...rs,...Oa,...ns,...as,...ss,...cs,isSafari:wr,isTouchScreen:ys,setVariable:v}};var ot;(function(r){r.S="S",r.M="M",r.L="L",r.XL="XL",r.XXL="XXL"})(ot||(ot={}));var rd=N`
|
|
50
|
+
`;var tc={};var ka={};se(ka,{ParametrizedLabelResolver:()=>Kt});var Kt=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var i,n;e=this.resolvePluralKey(e,t);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(i,s))),e}resolvePluralKey(e,t){for(let i of t)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let i=n=>t?.includes("date")?e.toLocaleDateString(n):t?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var is={};se(is,{FtCommandQueue:()=>zo,FtLitElementRedux:()=>Vr,FtReduxStore:()=>wr,clearAllStores:()=>Mu,isFtReduxStore:()=>Or,redux:()=>rc,reduxEventListener:()=>ru,reduxReactive:()=>tu});var tu=()=>(r,e)=>{var t;let i=r.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(t=i.reduxReactiveProperties)===null||t===void 0||t.add(e)},rc=r=>{let e=r??{};return(t,i)=>{var n;let a={hasChanged:Eo,attribute:!1,...e};y(a)(t,i);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},ru=r=>(e,t)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(t,r)};var zo=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(i=>i.type===e);return t&&(this.queue=this.queue.filter(i=>i!==t)),t}};function Or(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var oc,ic,nc,Ni=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),Cr=Symbol("internalStores"),Vr=class extends M{constructor(){super(...arguments),this[oc]=new Map,this[ic]=new Map,this[nc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[Cr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Cr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Cr].get(e)}addStore(e,t){var i;t=(i=t??(Or(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(t),this.setupStore(t,e)}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[Cr].delete(t)}setupStore(e,t){this[Cr].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Cr].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let i=this.constructor.getPropertyOptions(t);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:t)){let n=this.getStore(e.store);n&&(e.store?this[Zt].has(e.store):this[Zt].size>0)&&(this[t]=e.selector(n.getState(),this))}})}subscribeToStore(e,t){var i;this[Zt].set(e,t.subscribe(()=>this.updateFromStores())),Or(t)&&t.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||t.name===n.store)){let s=l=>this[a](l);t.addEventListener(n.eventName,s),this[Ni].push(()=>t.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Zt].forEach((e,t)=>this.unsubscribeFromStore(t)),this[Ni].forEach(e=>e()),this[Ni]=[]}unsubscribeFromStore(e){this[Zt].has(e)&&this[Zt].get(e)(),this[Zt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};oc=Zt,ic=Cr,nc=Ni;Vr.reduxProperties=new Map;Vr.reduxReactiveProperties=new Set;Vr.reduxEventListeners=new Map;function rt(r){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ft(r){return!!r&&!!r[fe]}function lt(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var i=Object.getPrototypeOf(t);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===du}(r)||Array.isArray(r)||!!r[fc]||!!(!((e=r.constructor)===null||e===void 0)&&e[fc])||za(r)||Wa(r))}function Er(r,e,t){t===void 0&&(t=!1),Kr(r)===0?(t?Object.keys:Gr)(r).forEach(function(i){t&&typeof i=="symbol"||e(i,r[i],r)}):r.forEach(function(i,n){return e(n,i,r)})}function Kr(r){var e=r[fe];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:za(r)?2:Wa(r)?3:0}function jr(r,e){return Kr(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function ou(r,e){return Kr(r)===2?r.get(e):r[e]}function uc(r,e,t){var i=Kr(r);i===2?r.set(e,t):i===3?r.add(t):r[e]=t}function hc(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function za(r){return lu&&r instanceof Map}function Wa(r){return cu&&r instanceof Set}function qt(r){return r.o||r.t}function Ha(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=gc(r);delete e[fe];for(var t=Gr(e),i=0;i<t.length;i++){var n=t[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[n]})}return Object.create(Object.getPrototypeOf(r),e)}function Va(r,e){return e===void 0&&(e=!1),ja(r)||Ft(r)||!lt(r)||(Kr(r)>1&&(r.set=r.add=r.clear=r.delete=iu),Object.freeze(r),e&&Er(r,function(t,i){return Va(i,!0)},!0)),r}function iu(){rt(2)}function ja(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function vt(r){var e=Ua[r];return e||rt(18,r),e}function nu(r,e){Ua[r]||(Ua[r]=e)}function Fa(){return Ho}function Pa(r,e){e&&(vt("Patches"),r.u=[],r.s=[],r.v=e)}function _i(r){Da(r),r.p.forEach(au),r.p=null}function Da(r){r===Ho&&(Ho=r.l)}function ac(r){return Ho={p:[],l:Ho,h:r,m:!0,_:0}}function au(r){var e=r[fe];e.i===0||e.i===1?e.j():e.g=!0}function Ia(r,e){e._=e.p.length;var t=e.p[0],i=r!==void 0&&r!==t;return e.h.O||vt("ES5").S(e,r,i),i?(t[fe].P&&(_i(e),rt(4)),lt(r)&&(r=ki(e,r),e.l||Pi(e,r)),e.u&&vt("Patches").M(t[fe].t,r,e.u,e.s)):r=ki(e,t,[]),_i(e),e.u&&e.v(e.u,e.s),r!==mc?r:void 0}function ki(r,e,t){if(ja(e))return e;var i=e[fe];if(!i)return Er(e,function(l,d){return sc(r,i,e,l,d,t)},!0),e;if(i.A!==r)return e;if(!i.P)return Pi(r,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Ha(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Er(a,function(l,d){return sc(r,i,n,l,d,t,s)}),Pi(r,n,!1),t&&r.u&&vt("Patches").N(i,t,r.u,r.s)}return i.o}function sc(r,e,t,i,n,a,s){if(Ft(n)){var l=ki(r,n,a&&e&&e.i!==3&&!jr(e.R,i)?a.concat(i):void 0);if(uc(t,i,l),!Ft(l))return;r.m=!1}else s&&t.add(n);if(lt(n)&&!ja(n)){if(!r.h.D&&r._<1)return;ki(r,n),e&&e.A.l||Pi(r,n)}}function Pi(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&Va(e,t)}function Ta(r,e){var t=r[fe];return(t?qt(t):r)[e]}function lc(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}}function Yt(r){r.P||(r.P=!0,r.l&&Yt(r.l))}function Ba(r){r.o||(r.o=Ha(r.t))}function Ma(r,e,t){var i=za(e)?vt("MapSet").F(e,t):Wa(e)?vt("MapSet").T(e,t):r.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Fa(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,p=Vo;s&&(d=[l],p=Wo);var h=Proxy.revocable(d,p),u=h.revoke,g=h.proxy;return l.k=g,l.j=u,g}(e,t):vt("ES5").J(e,t);return(t?t.A:Fa()).p.push(i),i}function su(r){return Ft(r)||rt(22,r),function e(t){if(!lt(t))return t;var i,n=t[fe],a=Kr(t);if(n){if(!n.P&&(n.i<4||!vt("ES5").K(n)))return n.t;n.I=!0,i=cc(t,a),n.I=!1}else i=cc(t,a);return Er(i,function(s,l){n&&ou(n.t,s)===l||uc(i,s,e(l))}),a===3?new Set(i):i}(r)}function cc(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return Ha(r)}function yc(){function r(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[fe];return Vo.get(p,s)},set:function(p){var h=this[fe];Vo.set(h,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][fe];if(!d.P)switch(d.i){case 5:i(d)&&Yt(d);break;case 4:t(d)&&Yt(d)}}}function t(s){for(var l=s.t,d=s.k,p=Gr(d),h=p.length-1;h>=0;h--){var u=p[h];if(u!==fe){var g=l[u];if(g===void 0&&!jr(l,u))return!0;var x=d[u],S=x&&x[fe];if(S?S.t!==g:!hc(x,g))return!0}}var E=!!l[fe];return p.length!==Gr(l).length+(E?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&rt(3,JSON.stringify(qt(s)))}var a={};nu("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(u,g){if(u){for(var x=Array(g.length),S=0;S<g.length;S++)Object.defineProperty(x,""+S,r(S,!0));return x}var E=gc(g);delete E[fe];for(var k=Gr(E),P=0;P<k.length;P++){var I=k[P];E[I]=r(I,u||!!E[I].enumerable)}return Object.create(Object.getPrototypeOf(g),E)}(d,s),h={i:d?5:4,A:l?l.A:Fa(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,fe,{value:h,writable:!0}),p},S:function(s,l,d){d?Ft(l)&&l[fe].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var u=h[fe];if(u){var g=u.t,x=u.k,S=u.R,E=u.i;if(E===4)Er(x,function(C){C!==fe&&(g[C]!==void 0||jr(g,C)?S[C]||p(x[C]):(S[C]=!0,Yt(u)))}),Er(g,function(C){x[C]!==void 0||jr(x,C)||(S[C]=!1,Yt(u))});else if(E===5){if(i(u)&&(Yt(u),S.length=!0),x.length<g.length)for(var k=x.length;k<g.length;k++)S[k]=!1;else for(var P=g.length;P<x.length;P++)S[P]=!0;for(var I=Math.min(x.length,g.length),A=0;A<I;A++)x.hasOwnProperty(A)||(S[A]=!0),S[A]===void 0&&p(x[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):i(s)}})}var dc,Ho,Ga=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",lu=typeof Map<"u",cu=typeof Set<"u",pc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",mc=Ga?Symbol.for("immer-nothing"):((dc={})["immer-nothing"]=!0,dc),fc=Ga?Symbol.for("immer-draftable"):"__$immer_draftable",fe=Ga?Symbol.for("immer-state"):"__$immer_state";var du=""+Object.prototype.constructor,Gr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,gc=Object.getOwnPropertyDescriptors||function(r){var e={};return Gr(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},Ua={},Vo={get:function(r,e){if(e===fe)return r;var t=qt(r);if(!jr(t,e))return function(n,a,s){var l,d=lc(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(r,t,e);var i=t[e];return r.I||!lt(i)?i:i===Ta(r.t,e)?(Ba(r),r.o[e]=Ma(r.A.h,i,r)):i},has:function(r,e){return e in qt(r)},ownKeys:function(r){return Reflect.ownKeys(qt(r))},set:function(r,e,t){var i=lc(qt(r),e);if(i?.set)return i.set.call(r.k,t),!0;if(!r.P){var n=Ta(qt(r),e),a=n?.[fe];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(hc(t,n)&&(t!==void 0||jr(r.t,e)))return!0;Ba(r),Yt(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return Ta(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Ba(r),Yt(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=qt(r),i=Reflect.getOwnPropertyDescriptor(t,e);return i&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:i.enumerable,value:t[e]}},defineProperty:function(){rt(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){rt(12)}},Wo={};Er(Vo,function(r,e){Wo[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Wo.deleteProperty=function(r,e){return Wo.set.call(this,r,e,void 0)},Wo.set=function(r,e,t){return Vo.set.call(this,r[0],e,t,r[0])};var pu=function(){function r(t){var i=this;this.O=pc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(E){var k=this;E===void 0&&(E=l);for(var P=arguments.length,I=Array(P>1?P-1:0),A=1;A<P;A++)I[A-1]=arguments[A];return d.produce(E,function(C){var R;return(R=a).call.apply(R,[k,C].concat(I))})}}var p;if(typeof a!="function"&&rt(6),s!==void 0&&typeof s!="function"&&rt(7),lt(n)){var h=ac(i),u=Ma(i,n,void 0),g=!0;try{p=a(u),g=!1}finally{g?_i(h):Da(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(E){return Pa(h,s),Ia(E,h)},function(E){throw _i(h),E}):(Pa(h,s),Ia(p,h))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===mc&&(p=void 0),i.D&&Va(p,!0),s){var x=[],S=[];vt("Patches").M(n,p,x,S),s(x,S)}return p}rt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var h=arguments.length,u=Array(h>1?h-1:0),g=1;g<h;g++)u[g-1]=arguments[g];return i.produceWithPatches(p,function(x){return n.apply(void 0,[x].concat(u))})};var s,l,d=i.produce(n,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){lt(t)||rt(8),Ft(t)&&(t=su(t));var i=ac(this),n=Ma(this,t,void 0);return n[fe].C=!0,Da(i),n},e.finishDraft=function(t,i){var n=t&&t[fe],a=n.A;return Pa(a,i),Ia(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!pc&&rt(20),this.O=t},e.applyPatches=function(t,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(i=i.slice(n+1));var s=vt("Patches").$;return Ft(t)?s(t,i):this.produce(t,function(l){return s(l,i)})},r}(),Xe=new pu,fu=Xe.produce,mv=Xe.produceWithPatches.bind(Xe),gv=Xe.setAutoFreeze.bind(Xe),bv=Xe.setUseProxies.bind(Xe),vv=Xe.applyPatches.bind(Xe),xv=Xe.createDraft.bind(Xe),Sv=Xe.finishDraft.bind(Xe),Ii=fu;function Xt(r){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xt(r)}function Ka(r,e){if(Xt(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(Xt(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Za(r){var e=Ka(r,"string");return Xt(e)==="symbol"?e:String(e)}function qa(r,e,t){return e=Za(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function bc(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function Ti(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?bc(Object(t),!0).forEach(function(i){qa(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):bc(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}function Ie(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var vc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ya=function(){return Math.random().toString(36).substring(7).split("").join(".")},Bi={INIT:"@@redux/INIT"+Ya(),REPLACE:"@@redux/REPLACE"+Ya(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ya()}};function uu(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function Xa(r,e,t){var i;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(Ie(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(Ie(1));return t(Xa)(r,e)}if(typeof r!="function")throw new Error(Ie(2));var n=r,a=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Ie(3));return a}function u(E){if(typeof E!="function")throw new Error(Ie(4));if(d)throw new Error(Ie(5));var k=!0;return p(),l.push(E),function(){if(k){if(d)throw new Error(Ie(6));k=!1,p();var I=l.indexOf(E);l.splice(I,1),s=null}}}function g(E){if(!uu(E))throw new Error(Ie(7));if(typeof E.type>"u")throw new Error(Ie(8));if(d)throw new Error(Ie(9));try{d=!0,a=n(a,E)}finally{d=!1}for(var k=s=l,P=0;P<k.length;P++){var I=k[P];I()}return E}function x(E){if(typeof E!="function")throw new Error(Ie(10));n=E,g({type:Bi.REPLACE})}function S(){var E,k=u;return E={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Ie(11));function A(){I.next&&I.next(h())}A();var C=k(A);return{unsubscribe:C}}},E[vc]=function(){return this},E}return g({type:Bi.INIT}),i={dispatch:g,subscribe:u,getState:h,replaceReducer:x},i[vc]=S,i}function hu(r){Object.keys(r).forEach(function(e){var t=r[e],i=t(void 0,{type:Bi.INIT});if(typeof i>"u")throw new Error(Ie(12));if(typeof t(void 0,{type:Bi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ie(13))})}function xc(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++){var n=e[i];typeof r[n]=="function"&&(t[n]=r[n])}var a=Object.keys(t),s,l;try{hu(t)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var u;for(var g=!1,x={},S=0;S<a.length;S++){var E=a[S],k=t[E],P=p[E],I=k(P,h);if(typeof I>"u"){var A=h&&h.type;throw new Error(Ie(14))}x[E]=I,g=g||I!==P}return g=g||a.length!==Object.keys(p).length,g?x:p}}function Zr(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Sc(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Ie(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=Zr.apply(void 0,l)(n.dispatch),Ti(Ti({},n),{},{dispatch:a})}}}function Oc(r){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,r):s(l)}}};return e}var Cc=Oc();Cc.withExtraArgument=Oc;var Ja=Cc;var $c=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),yu=function(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(a=p[0]&2?n.return:p[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,p[1])).done)return a;switch(n=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return t.label++,{value:p[1],done:!1};case 5:t.label++,n=p[1],p=[0];continue;case 7:p=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){t=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){t.label=p[1];break}if(p[0]===6&&t.label<a[1]){t.label=a[1],a=p;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(p);break}a[2]&&t.ops.pop(),t.trys.pop();continue}p=e.call(r,t)}catch(h){p=[6,h],n=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},qr=function(r,e){for(var t=0,i=e.length,n=r.length;t<i;t++,n++)r[n]=e[t];return r},mu=Object.defineProperty,gu=Object.defineProperties,bu=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertySymbols,vu=Object.prototype.hasOwnProperty,xu=Object.prototype.propertyIsEnumerable,wc=function(r,e,t){return e in r?mu(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},Jt=function(r,e){for(var t in e||(e={}))vu.call(e,t)&&wc(r,t,e[t]);if(Ec)for(var i=0,n=Ec(e);i<n.length;i++){var t=n[i];xu.call(e,t)&&wc(r,t,e[t])}return r},Qa=function(r,e){return gu(r,bu(e))},Su=function(r,e,t){return new Promise(function(i,n){var a=function(d){try{l(t.next(d))}catch(p){n(p)}},s=function(d){try{l(t.throw(d))}catch(p){n(p)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((t=t.apply(r,e)).next())})};var Ou=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Zr:Zr.apply(null,arguments)},Mv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Cu(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var Eu=function(r){$c(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,qr([void 0],t[0].concat(this)))):new(e.bind.apply(e,qr([void 0],t.concat(this))))},e}(Array),wu=function(r){$c(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,qr([void 0],t[0].concat(this)))):new(e.bind.apply(e,qr([void 0],t.concat(this))))},e}(Array);function rs(r){return lt(r)?Ii(r,function(){}):r}function Au(r){return typeof r=="boolean"}function Ru(){return function(e){return $u(e)}}function $u(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,i=r.immutableCheck,n=i===void 0?!0:i,a=r.serializableCheck,s=a===void 0?!0:a,l=new Eu;if(t&&(Au(t)?l.push(Ja):l.push(Ja.withExtraArgument(t.extraArgument))),0){if(n)var d;if(s)var p}return l}var es=!0;function Lc(r){var e=Ru(),t=r||{},i=t.reducer,n=i===void 0?void 0:i,a=t.middleware,s=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,p=t.preloadedState,h=p===void 0?void 0:p,u=t.enhancers,g=u===void 0?void 0:u,x;if(typeof n=="function")x=n;else if(Cu(n))x=xc(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=s;if(typeof S=="function"&&(S=S(e),!es&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!es&&S.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Sc.apply(void 0,S),k=Zr;d&&(k=Ou(Jt({trace:!es},typeof d=="object"&&d)));var P=new wu(E),I=P;Array.isArray(g)?I=qr([E],g):typeof g=="function"&&(I=g(P));var A=k.apply(void 0,I);return Xa(x,h,A)}function Qt(r,e){function t(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return Jt(Jt({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:i[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(i){return i.type===r},t}function Nc(r){var e={},t=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return r(n),[e,t,i]}function Lu(r){return typeof r=="function"}function Nu(r,e,t,i){t===void 0&&(t=[]);var n=typeof e=="function"?Nc(e):[e,t,i],a=n[0],s=n[1],l=n[2],d;if(Lu(r))d=function(){return rs(r())};else{var p=rs(r);d=function(){return p}}function h(u,g){u===void 0&&(u=d());var x=qr([a[g.type]],s.filter(function(S){var E=S.matcher;return E(g)}).map(function(S){var E=S.reducer;return E}));return x.filter(function(S){return!!S}).length===0&&(x=[l]),x.reduce(function(S,E){if(E)if(Ft(S)){var k=S,P=E(k,g);return P===void 0?S:P}else{if(lt(S))return Ii(S,function(I){return E(I,g)});var P=E(S,g);if(P===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return S},u)}return h.getInitialState=d,h}function _u(r,e){return r+"/"+e}function _c(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:rs(r.initialState),i=r.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var u=i[h],g=_u(e,h),x,S;"reducer"in u?(x=u.reducer,S=u.prepare):x=u,a[h]=x,s[g]=x,l[h]=S?Qt(g,S):Qt(g)});function d(){var h=typeof r.extraReducers=="function"?Nc(r.extraReducers):[r.extraReducers],u=h[0],g=u===void 0?{}:u,x=h[1],S=x===void 0?[]:x,E=h[2],k=E===void 0?void 0:E,P=Jt(Jt({},g),s);return Nu(t,function(I){for(var A in P)I.addCase(A,P[A]);for(var C=0,R=S;C<R.length;C++){var B=R[C];I.addMatcher(B.matcher,B.reducer)}k&&I.addDefaultCase(k)})}var p;return{name:e,reducer:function(h,u){return p||(p=d()),p(h,u)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var ku="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Pu=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=ku[Math.random()*64|0];return e},Iu=["name","message","stack","code"],ts=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Ac=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Tu=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,i=Iu;t<i.length;t++){var n=i[t];typeof r[n]=="string"&&(e[n]=r[n])}return e}return{message:String(r)}},Hv=function(){function r(e,t,i){var n=Qt(e+"/fulfilled",function(h,u,g,x){return{payload:h,meta:Qa(Jt({},x||{}),{arg:g,requestId:u,requestStatus:"fulfilled"})}}),a=Qt(e+"/pending",function(h,u,g){return{payload:void 0,meta:Qa(Jt({},g||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Qt(e+"/rejected",function(h,u,g,x,S){return{payload:x,error:(i&&i.serializeError||Tu)(h||"Rejected"),meta:Qa(Jt({},S||{}),{arg:g,requestId:u,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(u,g,x){var S=i?.idGenerator?i.idGenerator(h):Pu(),E=new d,k,P=!1;function I(C){k=C,E.abort()}var A=function(){return Su(this,null,function(){var C,R,B,j,oe,ee,U;return yu(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),j=(C=i?.condition)==null?void 0:C.call(i,h,{getState:g,extra:x}),Fu(j)?[4,j]:[3,2];case 1:j=m.sent(),m.label=2;case 2:if(j===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,oe=new Promise(function(O,F){return E.signal.addEventListener("abort",function(){return F({name:"AbortError",message:k||"Aborted"})})}),u(a(S,h,(R=i?.getPendingMeta)==null?void 0:R.call(i,{requestId:S,arg:h},{getState:g,extra:x}))),[4,Promise.race([oe,Promise.resolve(t(h,{dispatch:u,getState:g,extra:x,requestId:S,signal:E.signal,abort:I,rejectWithValue:function(O,F){return new ts(O,F)},fulfillWithValue:function(O,F){return new Ac(O,F)}})).then(function(O){if(O instanceof ts)throw O;return O instanceof Ac?n(O.payload,S,h,O.meta):n(O,S,h)})])];case 3:return B=m.sent(),[3,5];case 4:return ee=m.sent(),B=ee instanceof ts?s(null,S,h,ee.payload,ee.meta):s(ee,S,h),[3,5];case 5:return U=i&&!i.dispatchConditionRejection&&s.match(B)&&B.meta.condition,U||u(B),[2,B]}})})}();return Object.assign(A,{abort:I,requestId:S,arg:h,unwrap:function(){return A.then(Bu)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return r.withTypes=function(){return r},r}();function Bu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function Fu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var kc="listener",Pc="completed",Ic="cancelled",Vv="task-"+Ic,jv="task-"+Pc,Gv=kc+"-"+Ic,Kv=kc+"-"+Pc;var os="listenerMiddleware";var Zv=Qt(os+"/add"),qv=Qt(os+"/removeAll"),Yv=Qt(os+"/remove");var Rc,Xv=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Rc||(Rc=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},Du=function(r){return function(e){setTimeout(e,r)}},Jv=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Du(10);yc();window.ftReduxStores||(window.ftReduxStores={});var wr=class r extends gr{static get(e){var t;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Or(a))return a;if(n==null)return;let s=_c({...n,reducers:(t=n.reducers)!==null&&t!==void 0?t:{}}),l=Lc({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[n.name]=new r(s,l)}constructor(e,t){super(),this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.commands=new zo,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...d)=>{let p=l(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Mu(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))Or(e)&&e.clear()}var ss={};se(ss,{scrollHelper:()=>Uu});var ns,Fi=new Map,as=class{lock(e,t){if(t){let i=Fi.get(t);if(i==null||i===e)return Fi.set(t,e),t}}release(e,t){t&&Fi.get(t)===e&&Fi.delete(t)}findFirstScrollableParent(e){let t,i=n=>{var a;n.stopPropagation();let s,l;for(let d of n.composedPath()){let p=d,h=this.elementCanScroll(p);if(h&&p.clientHeight&&p.clientHeight<p.scrollHeight){s=p;break}else h&&l==null&&(l=p)}t=(a=s??l)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",i),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",i),t}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){let i=0;for(;t&&t.offsetParent!==e.offsetParent;)i+=t.offsetTop,t=t.offsetParent;return i+t.offsetTop-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=wo(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;i.scrollTo({behavior:t?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(ns=window.FluidTopicsScrollHelper)!==null&&ns!==void 0?ns:new as;var Uu=window.FluidTopicsScrollHelper;var ls={};se(ls,{shadowQuerySelector:()=>zu,shadowQuerySelectorAll:()=>Wu});function zu(r,e,...t){var i;let n=r.querySelector(e);for(let a of t)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function Wu(r,e,...t){let i=[...r.querySelectorAll(e)];for(let n of t)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var cs={};se(cs,{SearchPlaceConverter:()=>Ar,SearchPlaceQueryParams:()=>le,isSearchPlaceQueryParams:()=>id,serializeRequest:()=>ju});var Hu=gp(Bc(),1);var Fc;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Fc||(Fc={}));var Dc;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Dc||(Dc={}));var Mc;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(Mc||(Mc={}));var Uc;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(Uc||(Uc={}));var zc;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(zc||(zc={}));var Wc;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Wc||(Wc={}));var Hc;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(Hc||(Hc={}));var Vc;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(Vc||(Vc={}));var jc;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(jc||(jc={}));var Gc;(function(r){r.ASC="ASC",r.DESC="DESC"})(Gc||(Gc={}));var Kc;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Kc||(Kc={}));var Zc;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Zc||(Zc={}));var ed=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var qc;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(qc||(qc={}));var Yc;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Yc||(Yc={}));var Xc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Xc||(Xc={}));var jo;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(jo||(jo={}));var td=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Jc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Jc||(Jc={}));var Qc;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(Qc||(Qc={}));var Le;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(Le||(Le={}));var rd;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(rd||(rd={}));var mx={[Le.PERSONAL_BOOK_SHARE_USER]:[Le.PERSONAL_BOOK_USER],[Le.HTML_EXPORT_USER]:[Le.PERSONAL_BOOK_USER],[Le.PDF_EXPORT_USER]:[Le.PERSONAL_BOOK_USER],[Le.KHUB_ADMIN]:[Le.CONTENT_PUBLISHER],[Le.ADMIN]:[Le.KHUB_ADMIN,Le.USERS_ADMIN,Le.PORTAL_ADMIN],[Le.DEVELOPER]:[Le.BETA_USER,Le.DEBUG_USER]};function Vu(r){return`"${r}"`}function od(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function ju(r,e){return new Ar(r).serialize(e)}var le;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(le||(le={}));var Gu=new Set(Object.values(le));function id(r){return Gu.has(r)}var Ar=class{constructor(e,t={},i=20,n=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=t,this.defaultPerPage=i,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,t){return this.serializeToCurrentPageIfPossible(e,t??"/search")}serializeToCurrentPageIfPossible(e,t){let i=this.toURLSearchParams(e).toString(),n=t==null||t.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${t}`);return a.search=i,a.toString()}toURLSearchParams(e,t=!1){var i,n,a,s,l,d,p,h,u,g,x,S;let E=new URLSearchParams;e.contentLocale?(!t||e.contentLocale!==this.defaultContentLocale)&&E.append(le.LOCALE,e.contentLocale):E.append(le.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&E.append(le.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&E.append(le.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(le.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((n=e.sort)===null||n===void 0?void 0:n.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(le.SORT,"last_update");let k=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(C=>C.valueFilter))!==null&&s!==void 0?s:[];if(k.length>0){let C=k.map(R=>{var B,j;let oe=((j=(B=R.valueFilter)===null||B===void 0?void 0:B.values)!==null&&j!==void 0?j:[]).map(ee=>this.escapeFilters(ee)).map(ee=>encodeURIComponent(Vu(od(ee)))).join("_");return`${R.key}~${oe}`}).join("*");E.append(le.VALUE_FILTERS,C)}let P=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(C=>C.dateFilter))!==null&&d!==void 0?d:[];if(P.length>0){let C=P.map(R=>{var B;return`${R.key}~${(B=R.dateFilter)===null||B===void 0?void 0:B.type.toLowerCase()}`}).join("*");E.append(le.DATE_FILTERS,C)}let I=(h=(p=e.metadataFilters)===null||p===void 0?void 0:p.filter(C=>C.rangeFilter))!==null&&h!==void 0?h:[];if(I.length>0){let C=I.map(R=>{var B,j;return`${R.key}~${(B=R.rangeFilter)===null||B===void 0?void 0:B.from}_${(j=R.rangeFilter)===null||j===void 0?void 0:j.to}`}).join("*");E.append(le.RANGE_FILTERS,C)}let A=(u=e.otherQueryParams)!==null&&u!==void 0?u:{};for(let C in A)E.append(C,A[C]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((S=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&S!==void 0?S:this.defaultPerPage)!=this.defaultPerPage&&E.append(le.PER_PAGE,String(e.paging.perPage)),E}parse(e){var t;let i=e.split("?"),n=this.fromURLSearchParams(new URLSearchParams(i.slice(1).join("?"))),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:n.scope}}fromURLSearchParams(e){var t,i,n,a,s,l,d,p;let h=e.get(le.LOCALE)==="all"?void 0:e.get(le.LOCALE),u=((t=e.get(le.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),g=((i=e.get(le.SORT))!==null&&i!==void 0?i:"DEFAULT").toUpperCase(),x=(n=e.get(le.SCOPE))!==null&&n!==void 0?n:"default",S=+((a=e.get(le.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E={};for(let k of e.keys())id(k)||(E[k]=e.get(k));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(le.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[x])!==null&&l!==void 0?l:"DEFAULT",virtualField:ed(u)?u:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[g])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:wo(1,isNaN(S)?this.defaultPerPage:S,40)},otherQueryParams:E}}parseCompatFilters(e){var t,i,n,a,s,l;let d=[];return e.has(le.FILTERS)&&(d=this.parseValueFilters((t=e.get(le.FILTERS))!==null&&t!==void 0?t:"")),(i=e.has(le.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(le.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(le.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(le.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(le.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(od).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:jo[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(t,i);return e}superEscapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replace(n,t);return e}parseLegacyPeriodFilter(e){if(td(e))return[{key:"ft:lastEdition",dateFilter:{type:jo[e]}}];if(e.startsWith("CUSTOM_")){let[t,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}};var ps={};se(ps,{toFtFormComponent:()=>ds});var Ui=Symbol("elementInternals");function ds(r,e){class t extends r{static get formAssociated(){return!0}get form(){return this[Ui].form}constructor(...n){super(n),this[Ui]=this.attachInternals(),this[Ui].role=e}setFormValue(n){this[Ui].setFormValue(n)}}return t}var fs={};se(fs,{DateFormatter:()=>Xr});var Xr=class{static format(e,t,i,n){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(i,n)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}};var us,hs,ys,ms,Rr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ys=(hs=(us=window.safari)===null||us===void 0?void 0:us.pushNotification)===null||hs===void 0?void 0:hs.toString())!==null&&ys!==void 0?ys:"")==="[object SafariRemoteNotification]",gs="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ms=window.ftGlobals)!==null&&ms!==void 0?ms:{lit:un,litDecorators:gn,litRepeat:bn,litClassMap:vn,litStyleMap:xn,litUnsafeHTML:On,wcUtils:{...Ln,...En,..._n,...fs,...kn,...In,...ca,...$n,...Ca,...la,...Aa,...wa,...Ql,...Pn,...La,..._a,...tc,...ka,...is,...Ea,...ss,...ls,...cs,...ps,isSafari:Rr,isTouchScreen:gs,setVariable:v}};var ot;(function(r){r.S="S",r.M="M",r.L="L",r.XL="XL",r.XXL="XXL"})(ot||(ot={}));var nd=L`
|
|
51
51
|
.ft-size-watcher--pixel {
|
|
52
52
|
width: 0;
|
|
53
53
|
height: 0;
|
|
@@ -66,12 +66,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
66
66
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
67
67
|
width: 100%;
|
|
68
68
|
}
|
|
69
|
-
`;var
|
|
69
|
+
`;var Go=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},bs=class extends CustomEvent{constructor(e,t){super("change",{detail:{size:e,category:t}})}},Je=class extends M{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=ot.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ce}render(){return w`
|
|
70
70
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
71
71
|
<div class="ft-size-watcher--watcher"></div>
|
|
72
72
|
</div>
|
|
73
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=ot.S:this.size<976?this.category=ot.M:this.size<1024?this.category=ot.L:this.size<1440?this.category=ot.XL:this.category=ot.XXL,this.dispatchEvent(new
|
|
74
|
-
.ft-typography--${
|
|
73
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=ot.S:this.size<976?this.category=ot.M:this.size<1024?this.category=ot.L:this.size<1440?this.category=ot.XL:this.category=ot.XXL,this.dispatchEvent(new bs(this.size,this.category)))},this.debounceTimeout)}};Je.elementDefinitions={};Je.styles=nd;Go([y({type:Number})],Je.prototype,"debounceTimeout",void 0);Go([y({type:Boolean})],Je.prototype,"local",void 0);Go([y({type:Number,reflect:!0})],Je.prototype,"size",void 0);Go([y({type:String,reflect:!0})],Je.prototype,"category",void 0);Go([D(".ft-size-watcher--watcher")],Je.prototype,"watcher",void 0);H("ft-size-watcher")(Je);var sd=Symbol.for(""),Ku=r=>{if(r?.r===sd)return r?._$litStatic$},vs=r=>({_$litStatic$:r,r:sd});var ad=new Map,ld=r=>(e,...t)=>{let i=t.length,n,a,s=[],l=[],d,p=0,h=!1;for(;p<i;){for(d=e[p];p<i&&(a=t[p],(n=Ku(a))!==void 0);)d+=n+e[++p],h=!0;p!==i&&l.push(a),s.push(d),p++}if(p===i&&s.push(e[i]),h){let u=s.join("$$lit$$");(e=ad.get(u))===void 0&&(s.raw=s,ad.set(u,e=s)),t=l}return r(e,...t)},xs=ld(Ys),b0=ld(Xs);var it;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button",r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(it||(it={}));function cd(r){let e=Ao[r];return L`
|
|
74
|
+
.ft-typography--${Lt(r)} {
|
|
75
75
|
font-family: ${e.fontFamily};
|
|
76
76
|
font-size: ${e.fontSize};
|
|
77
77
|
font-weight: ${e.fontWeight};
|
|
@@ -79,17 +79,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
79
79
|
line-height: ${e.lineHeight};
|
|
80
80
|
text-transform: ${e.textCase};
|
|
81
81
|
}
|
|
82
|
-
`}var
|
|
82
|
+
`}var dd=o.extend("--ft-typography-font-family","",$.titleFont),Mt=o.extend("--ft-typography-font-family","",$.contentFont),T={fontFamily:Mt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Jr={fontFamily:o.extend("--ft-typography-title-font-family","",dd),fontSize:o.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},Qr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",dd),fontSize:o.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},eo={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Mt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Mt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},Dt={fontFamily:o.extend("--ft-typography-body1-font-family","",Mt),fontSize:o.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},ke={fontFamily:o.extend("--ft-typography-body2-font-family","",Mt),fontSize:o.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},ct={fontFamily:o.extend("--ft-typography-caption-font-family","",Mt),fontSize:o.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},ro={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Mt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},oo={fontFamily:o.extend("--ft-typography-overline-font-family","",Mt),fontSize:o.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},xt={fontFamily:o.extend("--ft-typography-button-font-family","",Mt),fontSize:o.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},pd=L`
|
|
83
83
|
.ft-typography--title {
|
|
84
|
-
font-family: ${Xr.fontFamily};
|
|
85
|
-
font-size: ${Xr.fontSize};
|
|
86
|
-
font-weight: ${Xr.fontWeight};
|
|
87
|
-
letter-spacing: ${Xr.letterSpacing};
|
|
88
|
-
line-height: ${Xr.lineHeight};
|
|
89
|
-
text-transform: ${Xr.textTransform};
|
|
90
|
-
}
|
|
91
|
-
`,cd=N`
|
|
92
|
-
.ft-typography--title-dense {
|
|
93
84
|
font-family: ${Jr.fontFamily};
|
|
94
85
|
font-size: ${Jr.fontSize};
|
|
95
86
|
font-weight: ${Jr.fontWeight};
|
|
@@ -97,8 +88,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
97
88
|
line-height: ${Jr.lineHeight};
|
|
98
89
|
text-transform: ${Jr.textTransform};
|
|
99
90
|
}
|
|
100
|
-
`,
|
|
101
|
-
.ft-typography--
|
|
91
|
+
`,fd=L`
|
|
92
|
+
.ft-typography--title-dense {
|
|
102
93
|
font-family: ${Qr.fontFamily};
|
|
103
94
|
font-size: ${Qr.fontSize};
|
|
104
95
|
font-weight: ${Qr.fontWeight};
|
|
@@ -106,8 +97,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
106
97
|
line-height: ${Qr.lineHeight};
|
|
107
98
|
text-transform: ${Qr.textTransform};
|
|
108
99
|
}
|
|
109
|
-
`,
|
|
110
|
-
.ft-typography--
|
|
100
|
+
`,ud=L`
|
|
101
|
+
.ft-typography--subtitle1 {
|
|
111
102
|
font-family: ${eo.fontFamily};
|
|
112
103
|
font-size: ${eo.fontSize};
|
|
113
104
|
font-weight: ${eo.fontWeight};
|
|
@@ -115,8 +106,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
115
106
|
line-height: ${eo.lineHeight};
|
|
116
107
|
text-transform: ${eo.textTransform};
|
|
117
108
|
}
|
|
109
|
+
`,hd=L`
|
|
110
|
+
.ft-typography--subtitle2 {
|
|
111
|
+
font-family: ${to.fontFamily};
|
|
112
|
+
font-size: ${to.fontSize};
|
|
113
|
+
font-weight: ${to.fontWeight};
|
|
114
|
+
letter-spacing: ${to.letterSpacing};
|
|
115
|
+
line-height: ${to.lineHeight};
|
|
116
|
+
text-transform: ${to.textTransform};
|
|
117
|
+
}
|
|
118
118
|
|
|
119
|
-
`,
|
|
119
|
+
`,yd=L`
|
|
120
120
|
.ft-typography--body1 {
|
|
121
121
|
font-family: ${Dt.fontFamily};
|
|
122
122
|
font-size: ${Dt.fontSize};
|
|
@@ -125,16 +125,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
125
125
|
line-height: ${Dt.lineHeight};
|
|
126
126
|
text-transform: ${Dt.textTransform};
|
|
127
127
|
}
|
|
128
|
-
`,
|
|
128
|
+
`,io=L`
|
|
129
129
|
.ft-typography--body2 {
|
|
130
|
-
font-family: ${
|
|
131
|
-
font-size: ${
|
|
132
|
-
font-weight: ${
|
|
133
|
-
letter-spacing: ${
|
|
134
|
-
line-height: ${
|
|
135
|
-
text-transform: ${
|
|
136
|
-
}
|
|
137
|
-
`,tr=
|
|
130
|
+
font-family: ${ke.fontFamily};
|
|
131
|
+
font-size: ${ke.fontSize};
|
|
132
|
+
font-weight: ${ke.fontWeight};
|
|
133
|
+
letter-spacing: ${ke.letterSpacing};
|
|
134
|
+
line-height: ${ke.lineHeight};
|
|
135
|
+
text-transform: ${ke.textTransform};
|
|
136
|
+
}
|
|
137
|
+
`,tr=L`
|
|
138
138
|
.ft-typography--caption {
|
|
139
139
|
font-family: ${ct.fontFamily};
|
|
140
140
|
font-size: ${ct.fontSize};
|
|
@@ -143,17 +143,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
143
143
|
line-height: ${ct.lineHeight};
|
|
144
144
|
text-transform: ${ct.textTransform};
|
|
145
145
|
}
|
|
146
|
-
`,
|
|
146
|
+
`,md=L`
|
|
147
147
|
.ft-typography--breadcrumb {
|
|
148
|
-
font-family: ${to.fontFamily};
|
|
149
|
-
font-size: ${to.fontSize};
|
|
150
|
-
font-weight: ${to.fontWeight};
|
|
151
|
-
letter-spacing: ${to.letterSpacing};
|
|
152
|
-
line-height: ${to.lineHeight};
|
|
153
|
-
text-transform: ${to.textTransform};
|
|
154
|
-
}
|
|
155
|
-
`,hd=N`
|
|
156
|
-
.ft-typography--overline {
|
|
157
148
|
font-family: ${ro.fontFamily};
|
|
158
149
|
font-size: ${ro.fontSize};
|
|
159
150
|
font-weight: ${ro.fontWeight};
|
|
@@ -161,7 +152,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
161
152
|
line-height: ${ro.lineHeight};
|
|
162
153
|
text-transform: ${ro.textTransform};
|
|
163
154
|
}
|
|
164
|
-
`,
|
|
155
|
+
`,gd=L`
|
|
156
|
+
.ft-typography--overline {
|
|
157
|
+
font-family: ${oo.fontFamily};
|
|
158
|
+
font-size: ${oo.fontSize};
|
|
159
|
+
font-weight: ${oo.fontWeight};
|
|
160
|
+
letter-spacing: ${oo.letterSpacing};
|
|
161
|
+
line-height: ${oo.lineHeight};
|
|
162
|
+
text-transform: ${oo.textTransform};
|
|
163
|
+
}
|
|
164
|
+
`,bd=L`
|
|
165
165
|
.ft-typography--button {
|
|
166
166
|
font-family: ${xt.fontFamily};
|
|
167
167
|
font-size: ${xt.fontSize};
|
|
@@ -170,19 +170,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
170
170
|
line-height: ${xt.lineHeight};
|
|
171
171
|
text-transform: ${xt.textTransform};
|
|
172
172
|
}
|
|
173
|
-
`,
|
|
173
|
+
`,vd=L`
|
|
174
174
|
.ft-typography {
|
|
175
175
|
vertical-align: inherit;
|
|
176
176
|
}
|
|
177
|
-
`,
|
|
178
|
-
<${
|
|
177
|
+
`,xd=[Object.keys(Ao).map(r=>cd(r))];var Sd=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ae=class extends M{constructor(){super(...arguments),this.variant=it.body1}render(){return this.element?xs`
|
|
178
|
+
<${vs(this.element)}
|
|
179
179
|
part="text"
|
|
180
180
|
class="ft-typography ft-typography--${this.variant}">
|
|
181
181
|
<slot></slot>
|
|
182
|
-
</${
|
|
183
|
-
`:
|
|
182
|
+
</${vs(this.element)}>
|
|
183
|
+
`:xs`
|
|
184
184
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
185
|
-
`}};ae.styles=[
|
|
185
|
+
`}};ae.styles=[pd,fd,ud,hd,yd,io,tr,md,gd,bd,vd,...xd];Sd([y()],ae.prototype,"element",void 0);Sd([y()],ae.prototype,"variant",void 0);H("ft-typography")(ae);function zi(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Od(r){return zi(r).split("|").pop()}function Cd(r){return zi(r).split("|").join(" > ")}function Ed(r,e){return{label:r.label,selected:!e&&r.selected,subOptions:r.childNodes.map(t=>Ed(t,r.selected)),value:r.value}}function wd(r){return qe(r.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]}).filter(e=>e.selected).map(e=>e.label)}function Ss(r){return{id:r.key,label:r.label,multivalued:r.multiSelectionable,options:r.rootNodes.map(e=>Ed(e,!1))}}function Ad(r){return qe(r.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Rd=o.extend("--ft-ripple-color","",$.colorContent),N={color:Rd,backgroundColor:o.extend("--ft-ripple-background-color","",Rd),opacityContentOnSurfacePressed:o.external($.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external($.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external($.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external($.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},$d=o.extend("--ft-ripple-color","",$.colorPrimary),Ld={color:$d,backgroundColor:o.extend("--ft-ripple-background-color","",$d)},Nd=o.extend("--ft-ripple-color","",$.colorSecondary),_d={color:Nd,backgroundColor:o.extend("--ft-ripple-background-color","",Nd)},kd=L`
|
|
186
186
|
:host {
|
|
187
187
|
display: contents;
|
|
188
188
|
}
|
|
@@ -195,7 +195,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
195
195
|
|
|
196
196
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
197
197
|
overflow: hidden;
|
|
198
|
-
border-radius: ${
|
|
198
|
+
border-radius: ${N.borderRadius};
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
.ft-ripple .ft-ripple--background,
|
|
@@ -229,27 +229,27 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.ft-ripple .ft-ripple--background {
|
|
232
|
-
background-color: ${
|
|
232
|
+
background-color: ${N.backgroundColor};
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
.ft-ripple .ft-ripple--effect {
|
|
236
|
-
background-color: ${
|
|
236
|
+
background-color: ${N.color};
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
240
|
-
background-color: ${
|
|
240
|
+
background-color: ${_d.backgroundColor};
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
244
|
-
background-color: ${
|
|
244
|
+
background-color: ${_d.color};
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
248
|
-
background-color: ${
|
|
248
|
+
background-color: ${Ld.backgroundColor};
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
252
|
-
background-color: ${
|
|
252
|
+
background-color: ${Ld.color};
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
.ft-ripple .ft-ripple--background {
|
|
@@ -279,22 +279,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
282
|
-
opacity: ${
|
|
282
|
+
opacity: ${N.opacityContentOnSurfaceHover};
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
286
|
-
opacity: ${
|
|
286
|
+
opacity: ${N.opacityContentOnSurfaceSelected};
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
290
|
-
opacity: ${
|
|
290
|
+
opacity: ${N.opacityContentOnSurfaceFocused};
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
294
|
-
opacity: ${
|
|
294
|
+
opacity: ${N.opacityContentOnSurfacePressed};
|
|
295
295
|
transform: translate(-50%, -50%) scale(1);
|
|
296
296
|
}
|
|
297
|
-
`;var ue={color:o.extend("--ft-loader-color","",$.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},
|
|
297
|
+
`;var ue={color:o.extend("--ft-loader-color","",$.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Pd=L`
|
|
298
298
|
:host {
|
|
299
299
|
line-height: 0;
|
|
300
300
|
}
|
|
@@ -363,7 +363,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
363
363
|
transform: translate(calc(0.35 * ${ue.size}), 0);
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
`;var
|
|
366
|
+
`;var be={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Id=L`
|
|
367
367
|
:host, i.ft-icon {
|
|
368
368
|
display: inline-flex;
|
|
369
369
|
align-items: center;
|
|
@@ -372,14 +372,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
:host {
|
|
375
|
-
width: ${
|
|
376
|
-
height: ${
|
|
375
|
+
width: ${be.size};
|
|
376
|
+
height: ${be.size};
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
i.ft-icon {
|
|
380
380
|
width: 100%;
|
|
381
381
|
height: 100%;
|
|
382
|
-
font-size: ${
|
|
382
|
+
font-size: ${be.size};
|
|
383
383
|
line-height: 1;
|
|
384
384
|
font-weight: normal;
|
|
385
385
|
text-transform: none;
|
|
@@ -390,53 +390,54 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
390
390
|
text-rendering: auto;
|
|
391
391
|
-webkit-font-smoothing: antialiased;
|
|
392
392
|
-moz-osx-font-smoothing: grayscale;
|
|
393
|
-
vertical-align: ${
|
|
393
|
+
vertical-align: ${be.verticalAlign};
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
i.ft-icon.ft-icon--fluid-topics {
|
|
397
|
-
font-family: ${
|
|
397
|
+
font-family: ${be.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
398
398
|
|
|
399
399
|
/* Ugly fix because font is broken */
|
|
400
|
-
font-size: calc(0.75 * ${
|
|
401
|
-
line-height: ${
|
|
400
|
+
font-size: calc(0.75 * ${be.size});
|
|
401
|
+
line-height: ${be.size};
|
|
402
402
|
position: relative;
|
|
403
403
|
top: -4%;
|
|
404
404
|
justify-content: center;
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
.ft-icon--file-format {
|
|
408
|
-
font-family: ${
|
|
408
|
+
font-family: ${be.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.ft-icon--material {
|
|
412
|
-
font-family: ${
|
|
412
|
+
font-family: ${be.materialFontFamily}, "Material Icons", sans-serif;
|
|
413
413
|
}
|
|
414
|
-
`;var
|
|
414
|
+
`;var Td=o.extend("--ft-button-color","",$.colorPrimary),te={backgroundColor:o.extend("--ft-button-background-color","",$.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",$.borderRadiusL),color:Td,fontSize:o.extend("--ft-button-font-size","",xt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Td),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external($.colorOpacityDisabled,"Design system")},Bd=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",$.colorOnPrimary)),Os={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",$.colorPrimary)),color:Bd,rippleColor:o.extend("--ft-button-primary-ripple-color","",Bd)},St={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",$.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},Fd=[L`
|
|
415
415
|
:host {
|
|
416
416
|
display: inline-block;
|
|
417
417
|
max-width: 100%;
|
|
418
418
|
pointer-events: none;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
button {
|
|
421
|
+
.ft-button {
|
|
422
422
|
box-shadow: 0px 0px 0px transparent;
|
|
423
423
|
border: 0px solid transparent;
|
|
424
424
|
text-shadow: 0px 0px 0px transparent;
|
|
425
|
-
font-size: ${
|
|
425
|
+
font-size: ${te.fontSize};
|
|
426
|
+
text-decoration: none;
|
|
426
427
|
}
|
|
427
428
|
|
|
428
|
-
button:hover {
|
|
429
|
+
.ft-button:hover {
|
|
429
430
|
box-shadow: 0px 0px 0px transparent;
|
|
430
431
|
border: 0px solid transparent;
|
|
431
432
|
text-shadow: 0px 0px 0px transparent;
|
|
432
433
|
}
|
|
433
434
|
|
|
434
|
-
button:active {
|
|
435
|
+
.ft-button:active {
|
|
435
436
|
outline: none;
|
|
436
437
|
border: none;
|
|
437
438
|
}
|
|
438
439
|
|
|
439
|
-
button:focus {
|
|
440
|
+
.ft-button:focus {
|
|
440
441
|
outline: 0;
|
|
441
442
|
}
|
|
442
443
|
|
|
@@ -451,21 +452,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
451
452
|
border: none;
|
|
452
453
|
pointer-events: auto;
|
|
453
454
|
|
|
454
|
-
--ft-button-internal-line-height: max(calc(${
|
|
455
|
-
--ft-button-internal-color: ${
|
|
456
|
-
${v(
|
|
457
|
-
${v(
|
|
455
|
+
--ft-button-internal-line-height: max(calc(${te.fontSize} + 2px), ${te.iconSize});
|
|
456
|
+
--ft-button-internal-color: ${te.color};
|
|
457
|
+
${v(be.size,te.iconSize)};
|
|
458
|
+
${v(N.color,te.rippleColor)};
|
|
458
459
|
|
|
459
|
-
border-radius: ${
|
|
460
|
-
padding: ${
|
|
461
|
-
background-color: ${
|
|
460
|
+
border-radius: ${te.borderRadius};
|
|
461
|
+
padding: ${te.verticalPadding} ${te.horizontalPadding};
|
|
462
|
+
background-color: ${te.backgroundColor};
|
|
462
463
|
color: var(--ft-button-internal-color);
|
|
463
464
|
-webkit-mask-image: radial-gradient(white, black);
|
|
464
465
|
}
|
|
465
466
|
|
|
466
467
|
.ft-button.ft-button--outlined {
|
|
467
468
|
border: 1px solid var(--ft-button-internal-color);
|
|
468
|
-
padding: calc(${
|
|
469
|
+
padding: calc(${te.verticalPadding} - 1px) calc(${te.horizontalPadding} - 1px);
|
|
469
470
|
}
|
|
470
471
|
|
|
471
472
|
.ft-button.ft-button--dense {
|
|
@@ -483,7 +484,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
483
484
|
}
|
|
484
485
|
|
|
485
486
|
.ft-button--round {
|
|
486
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
487
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${te.verticalPadding});
|
|
487
488
|
}
|
|
488
489
|
|
|
489
490
|
.ft-button--round.ft-button--dense {
|
|
@@ -492,13 +493,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
492
493
|
|
|
493
494
|
.ft-button[disabled] {
|
|
494
495
|
filter: grayscale(1);
|
|
495
|
-
opacity: ${
|
|
496
|
+
opacity: ${te.opacityDisabled};
|
|
496
497
|
}
|
|
497
498
|
|
|
498
499
|
.ft-button.ft-button--primary {
|
|
499
|
-
background-color: ${
|
|
500
|
-
--ft-button-internal-color: ${
|
|
501
|
-
${v(
|
|
500
|
+
background-color: ${Os.backgroundColor};
|
|
501
|
+
--ft-button-internal-color: ${Os.color};
|
|
502
|
+
${v(N.color,Os.rippleColor)};
|
|
502
503
|
}
|
|
503
504
|
|
|
504
505
|
.ft-button:focus {
|
|
@@ -511,7 +512,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
511
512
|
white-space: nowrap;
|
|
512
513
|
text-overflow: ellipsis;
|
|
513
514
|
display: block;
|
|
514
|
-
margin: 0 ${
|
|
515
|
+
margin: 0 ${te.iconPadding};
|
|
515
516
|
${v(xt.fontSize,"1em")};
|
|
516
517
|
${v(xt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
517
518
|
}
|
|
@@ -530,8 +531,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
530
531
|
}
|
|
531
532
|
|
|
532
533
|
.ft-button--label[hidden] + [part="icon"] {
|
|
533
|
-
margin: 0 calc(${
|
|
534
|
-
padding: 0 ${
|
|
534
|
+
margin: 0 calc(${te.horizontalPadding} * -1);
|
|
535
|
+
padding: 0 ${te.verticalPadding};
|
|
535
536
|
}
|
|
536
537
|
|
|
537
538
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
@@ -544,10 +545,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
544
545
|
}
|
|
545
546
|
|
|
546
547
|
ft-loader {
|
|
547
|
-
${v(ue.size,
|
|
548
|
+
${v(ue.size,te.iconSize)};
|
|
548
549
|
${v(ue.color,"var(--ft-button-internal-color)")};
|
|
549
550
|
}
|
|
550
|
-
`,
|
|
551
|
+
`,Sr];var Ve=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},J=class extends M{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ce(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ce(10),this.moveRipple=e=>{var t,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(t=this.ripple)===null||t===void 0?void 0:t.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return w`
|
|
551
552
|
<style>
|
|
552
553
|
.ft-ripple .ft-ripple--effect {
|
|
553
554
|
left: ${this.originX}px;
|
|
@@ -558,7 +559,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
558
559
|
<div class="ft-ripple--background"></div>
|
|
559
560
|
<div class="ft-ripple--effect"></div>
|
|
560
561
|
</div>
|
|
561
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var t,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,t;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((t=this.target)!==null&&t!==void 0?t:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let t=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},i=t("mouseup","contextmenu"),n=t("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&t("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let t=e,i=e,n,a;return t.x!=null?{x:n,y:a}=t:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};
|
|
562
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var t,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,t;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((t=this.target)!==null&&t!==void 0?t:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let t=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},i=t("mouseup","contextmenu"),n=t("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&t("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let t=e,i=e,n,a;return t.x!=null?{x:n,y:a}=t:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};J.elementDefinitions={};J.styles=kd;Ve([y({type:Boolean})],J.prototype,"primary",void 0);Ve([y({type:Boolean})],J.prototype,"secondary",void 0);Ve([y({type:Boolean})],J.prototype,"unbounded",void 0);Ve([y({type:Boolean})],J.prototype,"activated",void 0);Ve([y({type:Boolean})],J.prototype,"selected",void 0);Ve([y({type:Boolean})],J.prototype,"disabled",void 0);Ve([W()],J.prototype,"hovered",void 0);Ve([W()],J.prototype,"focused",void 0);Ve([W()],J.prototype,"pressed",void 0);Ve([W()],J.prototype,"rippling",void 0);Ve([W()],J.prototype,"originX",void 0);Ve([W()],J.prototype,"originY",void 0);Ve([D(".ft-ripple")],J.prototype,"ripple",void 0);Ve([D(".ft-ripple--effect")],J.prototype,"rippleEffect",void 0);H("ft-ripple")(J);var rr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external($.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Dd=L`
|
|
562
563
|
.ft-tooltip--container {
|
|
563
564
|
display: block;
|
|
564
565
|
}
|
|
@@ -587,7 +588,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
587
588
|
position: relative;
|
|
588
589
|
word-break: break-word;
|
|
589
590
|
}
|
|
590
|
-
`;var
|
|
591
|
+
`;var je=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},he=class extends M{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ce,this.revealDebouncer=new ce}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return w`
|
|
591
592
|
<div part="container"
|
|
592
593
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
593
594
|
@mouseenter=${this.onHover}
|
|
@@ -605,32 +606,43 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
605
606
|
</div>
|
|
606
607
|
</div>
|
|
607
608
|
</div>
|
|
608
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(t=>e.has(t))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(t=>t.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",_o(this.slottedElement,this.tooltip,this.position).then(({x:e,y:t})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${t}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,t){return Math.max(e,Math.min(0,-t))}};he.elementDefinitions={"ft-typography":ae};he.styles=Td;Ve([m()],he.prototype,"text",void 0);Ve([m({type:Boolean})],he.prototype,"manual",void 0);Ve([m({type:Boolean})],he.prototype,"inline",void 0);Ve([m({type:Number})],he.prototype,"delay",void 0);Ve([m()],he.prototype,"position",void 0);Ve([un()],he.prototype,"slotNodes",void 0);Ve([F(".ft-tooltip--container")],he.prototype,"container",void 0);Ve([F(".ft-tooltip")],he.prototype,"tooltip",void 0);Ve([F(".ft-tooltip--content")],he.prototype,"tooltipContent",void 0);Ve([z()],he.prototype,"visible",void 0);Ve([Pr({passive:!0})],he.prototype,"onTouch",null);Ve([Pr({passive:!0})],he.prototype,"onHover",null);Ve([Pr({passive:!0})],he.prototype,"onOut",null);Ve([Pr({passive:!0})],he.prototype,"onClick",null);H("ft-tooltip")(he);var Ot;(function(r){r.ADD_TO_PBK="",r.ALERT="",r.ADD_ALERT="",r.BACK_TO_SEARCH="",r.ADD_BOOKMARK="",r.BOOKMARK="",r.BOOKS="",r.MENU="",r.DOWNLOAD="",r.EDIT="",r.FEEDBACK="",r.HOME="",r.MODIFY_PBK="",r.SCHEDULED="",r.SEARCH="",r.EXPORT="",r.TOC="",r.WRITE_UGC="",r.TRASH="",r.USER="",r.EXTLINK="",r.CALENDAR="",r.OFFLINE="",r.BOOK="",r.DOWNLOAD_PLAIN="",r.CHECK="",r.STAR_PLAIN="",r.TOPICS="",r.DISC="",r.CIRCLE="",r.SHARED="",r.SORT_UNSORTED="",r.SORT_UP="",r.SORT_DOWN="",r.WORKING="",r.CLOSE="",r.ZOOM_OUT="",r.ZOOM_IN="",r.ZOOM_REALSIZE="",r.ZOOM_FULLSCREEN="",r.ADMIN_RESTRICTED="",r.ADMIN="",r.ADMIN_KHUB="",r.ADMIN_THEME="",r.ADMIN_USERS="",r.WARNING="",r.CONTEXT="",r.SEARCH_HOME="",r.STEPS="",r.ICON_EXPAND="",r.ICON_COLLAPSE="",r.INFO="",r.MINUS_PLAIN="",r.PLUS_PLAIN="",r.FACET_HAS_DESCENDANT="",r.TRIANGLE_BOTTOM="",r.TRIANGLE_LEFT="",r.TRIANGLE_RIGHT="",r.TRIANGLE_TOP="",r.THIN_ARROW="",r.SIGN_IN="",r.LOGOUT="",r.TRANSLATE="",r.CLOSE_PLAIN="",r.CHECK_PLAIN="",r.ARTICLE="",r.COLUMNS="",r.ANALYTICS="",r.COLLECTIONS="",r.ARROW_DOWN="",r.ARROW_LEFT="",r.ARROW_RIGHT="",r.ARROW_UP="",r.SEARCH_IN_PUBLICATION="",r.COPY_TO_CLIPBOARD="",r.SHARED_PBK="",r.ATTACHMENTS="",r.STRIPE_ARROW_LEFT="",r.STRIPE_ARROW_RIGHT="",r.FILTERS="",r.DOT="",r.MINUS="",r.PLUS="",r.MAILS_AND_NOTIFICATIONS="",r.SAVE="",r.LOCKER="",r.ADMIN_INTEGRATION="",r.SYNC="",r.TAG="",r.BOOK_PLAIN="",r.UPLOAD="",r.ONLINE="",r.TAG_PLAIN="",r.ACCOUNT_SETTINGS="",r.PRINT="",r.DEFAULT_ROLES="",r.SHORTCUT_MENU="",r.RELATIVES_PLAIN="",r.RELATIVES="",r.PAUSE="",r.PLAY="",r.ADMIN_PORTAL="",r.STAR="",r.THUMBS_DOWN="",r.THUMBS_DOWN_PLAIN="",r.THUMBS_UP="",r.THUMBS_UP_PLAIN="",r.FEEDBACK_PLAIN="",r.RATE_PLAIN="",r.RATE="",r.OFFLINE_SETTINGS="",r.MY_COLLECTIONS="",r.THIN_ARROW_LEFT="",r.THIN_ARROW_RIGHT="",r.RESET="",r.MY_LIBRARY="",r.UNSTRUCTURED_DOC="",r.CONTEXTUAL="",r.THIN_ARROW_UP="",r.ARROW_RIGHT_TO_LINE="",r.DESKTOP="",r.TABLET_LANDSCAPE="",r.TABLET_PORTRAIT="",r.MOBILE_LANDSCAPE="",r.MOBILE_PORTRAIT="",r.DIAGRAM_SUNBURST="",r.DIAGRAM_SANKEY="",r.COMMENT_QUESTION="",r.COMMENT_QUESTION_PLAIN="",r.MESSAGE_BOT="",r.CHART_SIMPLE="",r.BARS_PROGRESS="",r.BOOK_OPEN_GEAR="",r.BOOK_OPEN_GEAR_SLASH="",r.LINE_CHART="",r.STACKED_CHART="",r.CHART_BAR_STACKED="",r.CHART_BAR_GROUPED="",r.EYE_SLASH="",r.X_MARK="",r.EXPAND_WIDE="",r.PIP="",r.PIP_WIDE="",r.LIFE_RING="",r.GLOBE="",r.PIGGY_BANK="",r.EXTLINK_LIGHT="",r.CLONE="",r.CLONE_LINK_SIMPLE="",r.CHART_BAR_NORMALIZED="",r.CONSUMER="",r.OCTAGON_XMARK="",r.HOURGLASS_HALF="",r.CLOCK="",r.CLOCK_THREE="",r.CALENDAR_DAY="",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="",r.WAND_MAGIC_SPARKLES="",r.PAPER_PLANE="",r.CIRCLE_STOP="",r.ARROW_ROTATE_RIGHT="",r.ARROWS_ROTATE="",r.ALIGN_RIGHT="",r.FORMAT_CLEAR="",r.ALIGN_CENTER="",r.ALIGN_LEFT="",r.PALETTE="",r.BOLD="",r.ITALIC="",r.UNDERLINE="",r.STRIKETHROUGH="",r.LINK_SIMPLE_SLASH="",r.LINK_SIMPLE="",r.ROUTE="",r.CIRCLE_USER_SLASH="",r.CIRCLE_USER_CHECK="",r.LIST_MAGNIFYING_GLASS="",r.MEDAL="",r.THUMBS_UP_THUMBS_DOWN_SOLID="",r.ARROW_TURN_DOWN_RIGHT="",r.FLASK="",r.LOCK_KEYHOLE_OPEN_SOLID="",r.HOURGLASS_END="",r.CIRCLE_QUESTION="",r.EYE="",r.SHARE="󨃱"})(Ot||(Ot={}));var _;(function(r){r.UNKNOWN="",r.ABW="",r.AUDIO="",r.AVI="",r.CHM="",r.CODE="",r.CSV="",r.DITA="",r.EPUB="",r.EXCEL="",r.FLAC="",r.GIF="",r.GZIP="",r.HTML="",r.IMAGE="",r.JPEG="",r.JSON="",r.M4A="",r.MOV="",r.MP3="",r.MP4="",r.OGG="",r.PDF="",r.PNG="",r.POWERPOINT="",r.RAR="",r.STP="",r.TEXT="",r.VIDEO="",r.WAV="",r.WMA="",r.WORD="",r.XML="",r.YAML="",r.ZIP=""})(_||(_={}));var Ss=new Map([...["abw"].map(r=>[r,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(r=>[r,_.AUDIO]),...["avi"].map(r=>[r,_.AVI]),...["chm","xhs"].map(r=>[r,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(r=>[r,_.CODE]),...["csv"].map(r=>[r,_.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,_.DITA]),...["epub"].map(r=>[r,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,_.EXCEL]),...["flac"].map(r=>[r,_.FLAC]),...["gif"].map(r=>[r,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,_.GZIP]),...["html","htm","xhtml"].map(r=>[r,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(r=>[r,_.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,_.JPEG]),...["json"].map(r=>[r,_.JSON]),...["m4a","m4p"].map(r=>[r,_.M4A]),...["mov","qt"].map(r=>[r,_.MOV]),...["mp3"].map(r=>[r,_.MP3]),...["mp4","m4v"].map(r=>[r,_.MP4]),...["ogg","oga"].map(r=>[r,_.OGG]),...["pdf","ps"].map(r=>[r,_.PDF]),...["png"].map(r=>[r,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,_.POWERPOINT]),...["rar"].map(r=>[r,_.RAR]),...["stp"].map(r=>[r,_.STP]),...["txt","rtf","md","mdown"].map(r=>[r,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(r=>[r,_.VIDEO]),...["wav"].map(r=>[r,_.WAV]),...["wma"].map(r=>[r,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,_.WORD]),...["xml","xsl","rdf"].map(r=>[r,_.XML]),...["yaml","yml","x-yaml"].map(r=>[r,_.YAML]),...["zip"].map(r=>[r,_.ZIP])]),Gu=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Bd(r,e){var t,i,n,a;r=(r??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((t=Gu.get(r))!==null&&t!==void 0?t:r)+"/").split("/");return(a=(n=(i=Ss.get(l))!==null&&i!==void 0?i:Ss.get(e))!==null&&n!==void 0?n:Ss.get(s))!==null&&a!==void 0?a:_.UNKNOWN}var eO={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"};var Be;(function(r){r.fluid_topics="fluid-topics",r.file_format="file-format",r.material="material"})(Be||(Be={}));var Mi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ye=class extends D{constructor(){super(...arguments),this.resolvedIcon=U}render(){let e=this.variant&&Object.values(Be).includes(this.variant)?this.variant:Be.fluid_topics,t=e!==Be.material||!!this.value;return w`
|
|
609
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(t=>e.has(t))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(t=>t.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",To(this.slottedElement,this.tooltip,this.position).then(({x:e,y:t})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${t}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,t){return Math.max(e,Math.min(0,-t))}};he.elementDefinitions={"ft-typography":ae};he.styles=Dd;je([y()],he.prototype,"text",void 0);je([y({type:Boolean})],he.prototype,"manual",void 0);je([y({type:Boolean})],he.prototype,"inline",void 0);je([y({type:Number})],he.prototype,"delay",void 0);je([y()],he.prototype,"position",void 0);je([mn()],he.prototype,"slotNodes",void 0);je([D(".ft-tooltip--container")],he.prototype,"container",void 0);je([D(".ft-tooltip")],he.prototype,"tooltip",void 0);je([D(".ft-tooltip--content")],he.prototype,"tooltipContent",void 0);je([W()],he.prototype,"visible",void 0);je([Tr({passive:!0})],he.prototype,"onTouch",null);je([Tr({passive:!0})],he.prototype,"onHover",null);je([Tr({passive:!0})],he.prototype,"onOut",null);je([Tr({passive:!0})],he.prototype,"onClick",null);H("ft-tooltip")(he);var Ot;(function(r){r.ADD_TO_PBK="",r.ALERT="",r.ADD_ALERT="",r.BACK_TO_SEARCH="",r.ADD_BOOKMARK="",r.BOOKMARK="",r.BOOKS="",r.MENU="",r.DOWNLOAD="",r.EDIT="",r.FEEDBACK="",r.HOME="",r.MODIFY_PBK="",r.SCHEDULED="",r.SEARCH="",r.EXPORT="",r.TOC="",r.WRITE_UGC="",r.TRASH="",r.USER="",r.EXTLINK="",r.CALENDAR="",r.OFFLINE="",r.BOOK="",r.DOWNLOAD_PLAIN="",r.CHECK="",r.STAR_PLAIN="",r.TOPICS="",r.DISC="",r.CIRCLE="",r.SHARED="",r.SORT_UNSORTED="",r.SORT_UP="",r.SORT_DOWN="",r.WORKING="",r.CLOSE="",r.ZOOM_OUT="",r.ZOOM_IN="",r.ZOOM_REALSIZE="",r.ZOOM_FULLSCREEN="",r.ADMIN_RESTRICTED="",r.ADMIN="",r.ADMIN_KHUB="",r.ADMIN_THEME="",r.ADMIN_USERS="",r.WARNING="",r.CONTEXT="",r.SEARCH_HOME="",r.STEPS="",r.ICON_EXPAND="",r.ICON_COLLAPSE="",r.INFO="",r.MINUS_PLAIN="",r.PLUS_PLAIN="",r.FACET_HAS_DESCENDANT="",r.TRIANGLE_BOTTOM="",r.TRIANGLE_LEFT="",r.TRIANGLE_RIGHT="",r.TRIANGLE_TOP="",r.THIN_ARROW="",r.SIGN_IN="",r.LOGOUT="",r.TRANSLATE="",r.CLOSE_PLAIN="",r.CHECK_PLAIN="",r.ARTICLE="",r.COLUMNS="",r.ANALYTICS="",r.COLLECTIONS="",r.ARROW_DOWN="",r.ARROW_LEFT="",r.ARROW_RIGHT="",r.ARROW_UP="",r.SEARCH_IN_PUBLICATION="",r.COPY_TO_CLIPBOARD="",r.SHARED_PBK="",r.ATTACHMENTS="",r.STRIPE_ARROW_LEFT="",r.STRIPE_ARROW_RIGHT="",r.FILTERS="",r.DOT="",r.MINUS="",r.PLUS="",r.MAILS_AND_NOTIFICATIONS="",r.SAVE="",r.LOCKER="",r.ADMIN_INTEGRATION="",r.SYNC="",r.TAG="",r.BOOK_PLAIN="",r.UPLOAD="",r.ONLINE="",r.TAG_PLAIN="",r.ACCOUNT_SETTINGS="",r.PRINT="",r.DEFAULT_ROLES="",r.SHORTCUT_MENU="",r.RELATIVES_PLAIN="",r.RELATIVES="",r.PAUSE="",r.PLAY="",r.ADMIN_PORTAL="",r.STAR="",r.THUMBS_DOWN="",r.THUMBS_DOWN_PLAIN="",r.THUMBS_UP="",r.THUMBS_UP_PLAIN="",r.FEEDBACK_PLAIN="",r.RATE_PLAIN="",r.RATE="",r.OFFLINE_SETTINGS="",r.MY_COLLECTIONS="",r.THIN_ARROW_LEFT="",r.THIN_ARROW_RIGHT="",r.RESET="",r.MY_LIBRARY="",r.UNSTRUCTURED_DOC="",r.CONTEXTUAL="",r.THIN_ARROW_UP="",r.ARROW_RIGHT_TO_LINE="",r.DESKTOP="",r.TABLET_LANDSCAPE="",r.TABLET_PORTRAIT="",r.MOBILE_LANDSCAPE="",r.MOBILE_PORTRAIT="",r.DIAGRAM_SUNBURST="",r.DIAGRAM_SANKEY="",r.COMMENT_QUESTION="",r.COMMENT_QUESTION_PLAIN="",r.MESSAGE_BOT="",r.CHART_SIMPLE="",r.BARS_PROGRESS="",r.BOOK_OPEN_GEAR="",r.BOOK_OPEN_GEAR_SLASH="",r.LINE_CHART="",r.STACKED_CHART="",r.CHART_BAR_STACKED="",r.CHART_BAR_GROUPED="",r.EYE_SLASH="",r.X_MARK="",r.EXPAND_WIDE="",r.PIP="",r.PIP_WIDE="",r.LIFE_RING="",r.GLOBE="",r.PIGGY_BANK="",r.EXTLINK_LIGHT="",r.CLONE="",r.CLONE_LINK_SIMPLE="",r.CHART_BAR_NORMALIZED="",r.CONSUMER="",r.OCTAGON_XMARK="",r.HOURGLASS_HALF="",r.CLOCK="",r.CLOCK_THREE="",r.CALENDAR_DAY="",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="",r.WAND_MAGIC_SPARKLES="",r.PAPER_PLANE="",r.CIRCLE_STOP="",r.ARROW_ROTATE_RIGHT="",r.ARROWS_ROTATE="",r.ALIGN_RIGHT="",r.FORMAT_CLEAR="",r.ALIGN_CENTER="",r.ALIGN_LEFT="",r.PALETTE="",r.BOLD="",r.ITALIC="",r.UNDERLINE="",r.STRIKETHROUGH="",r.LINK_SIMPLE_SLASH="",r.LINK_SIMPLE="",r.ROUTE="",r.CIRCLE_USER_SLASH="",r.CIRCLE_USER_CHECK="",r.LIST_MAGNIFYING_GLASS="",r.MEDAL="",r.THUMBS_UP_THUMBS_DOWN_SOLID="",r.ARROW_TURN_DOWN_RIGHT="",r.FLASK="",r.LOCK_KEYHOLE_OPEN_SOLID="",r.HOURGLASS_END="",r.CIRCLE_QUESTION="",r.EYE="",r.SHARE="󨃱"})(Ot||(Ot={}));var _;(function(r){r.UNKNOWN="",r.ABW="",r.AUDIO="",r.AVI="",r.CHM="",r.CODE="",r.CSV="",r.DITA="",r.EPUB="",r.EXCEL="",r.FLAC="",r.GIF="",r.GZIP="",r.HTML="",r.IMAGE="",r.JPEG="",r.JSON="",r.M4A="",r.MOV="",r.MP3="",r.MP4="",r.OGG="",r.PDF="",r.PNG="",r.POWERPOINT="",r.RAR="",r.STP="",r.TEXT="",r.VIDEO="",r.WAV="",r.WMA="",r.WORD="",r.XML="",r.YAML="",r.ZIP=""})(_||(_={}));var Cs=new Map([...["abw"].map(r=>[r,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(r=>[r,_.AUDIO]),...["avi"].map(r=>[r,_.AVI]),...["chm","xhs"].map(r=>[r,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(r=>[r,_.CODE]),...["csv"].map(r=>[r,_.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,_.DITA]),...["epub"].map(r=>[r,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,_.EXCEL]),...["flac"].map(r=>[r,_.FLAC]),...["gif"].map(r=>[r,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,_.GZIP]),...["html","htm","xhtml"].map(r=>[r,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(r=>[r,_.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,_.JPEG]),...["json"].map(r=>[r,_.JSON]),...["m4a","m4p"].map(r=>[r,_.M4A]),...["mov","qt"].map(r=>[r,_.MOV]),...["mp3"].map(r=>[r,_.MP3]),...["mp4","m4v"].map(r=>[r,_.MP4]),...["ogg","oga"].map(r=>[r,_.OGG]),...["pdf","ps"].map(r=>[r,_.PDF]),...["png"].map(r=>[r,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,_.POWERPOINT]),...["rar"].map(r=>[r,_.RAR]),...["stp"].map(r=>[r,_.STP]),...["txt","rtf","md","mdown"].map(r=>[r,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(r=>[r,_.VIDEO]),...["wav"].map(r=>[r,_.WAV]),...["wma"].map(r=>[r,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,_.WORD]),...["xml","xsl","rdf"].map(r=>[r,_.XML]),...["yaml","yml","x-yaml"].map(r=>[r,_.YAML]),...["zip"].map(r=>[r,_.ZIP])]),Zu=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Md(r,e){var t,i,n,a;r=(r??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((t=Zu.get(r))!==null&&t!==void 0?t:r)+"/").split("/");return(a=(n=(i=Cs.get(l))!==null&&i!==void 0?i:Cs.get(e))!==null&&n!==void 0?n:Cs.get(s))!==null&&a!==void 0?a:_.UNKNOWN}var aO={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"};var De;(function(r){r.fluid_topics="fluid-topics",r.file_format="file-format",r.material="material"})(De||(De={}));var Wi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ye=class extends M{constructor(){super(...arguments),this.resolvedIcon=z}render(){let e=this.variant&&Object.values(De).includes(this.variant)?this.variant:De.fluid_topics,t=e!==De.material||!!this.value;return w`
|
|
609
610
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
610
|
-
${
|
|
611
|
+
${Sn(this.resolvedIcon)}
|
|
611
612
|
<slot ?hidden=${t}></slot>
|
|
612
613
|
</i>
|
|
613
|
-
`}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}update(e){super.update(e),["value","variant"].some(t=>e.has(t))&&this.resolveIcon()}resolveIcon(){var e,t;let i=this.value||this.textContent;switch(this.variant){case
|
|
614
|
+
`}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}update(e){super.update(e),["value","variant"].some(t=>e.has(t))&&this.resolveIcon()}resolveIcon(){var e,t;let i=this.value||this.textContent;switch(this.variant){case De.file_format:this.resolvedIcon=(e=_[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case De.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(t=Ot[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ye.elementDefinitions={};ye.styles=Id;Wi([y()],ye.prototype,"variant",void 0);Wi([y()],ye.prototype,"value",void 0);Wi([W()],ye.prototype,"resolvedIcon",void 0);Wi([D("slot")],ye.prototype,"slottedContent",void 0);H("ft-icon")(ye);var $r=class extends M{render(){return w`
|
|
614
615
|
<div class="ft-loader">
|
|
615
616
|
<div></div>
|
|
616
617
|
<div></div>
|
|
617
618
|
<div></div>
|
|
618
619
|
<div></div>
|
|
619
620
|
</div>
|
|
620
|
-
`}}
|
|
621
|
+
`}};$r.styles=Pd;H("ft-loader")($r);var Te=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ge=class extends ds(M,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var t;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((t=this.form)===null||t===void 0||t.requestSubmit())})}render(){var e,t,i;let n=w`
|
|
622
|
+
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
623
|
+
<ft-typography part="label"
|
|
624
|
+
variant=${this.typographyVariant}
|
|
625
|
+
element="span"
|
|
626
|
+
class="ft-button--label ${Rr?"ft-safari-ellipsis-fix":""}"
|
|
627
|
+
?hidden=${!this.hasTextContent()}>
|
|
628
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
629
|
+
</ft-typography>
|
|
630
|
+
${this.resolveIcon()}
|
|
631
|
+
`,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?w`
|
|
632
|
+
<a href="${a}"
|
|
633
|
+
target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
|
|
634
|
+
part="button"
|
|
635
|
+
class="${pe(this.buttonClasses)}"
|
|
636
|
+
aria-label="${(t=this.ariaLabel)!==null&&t!==void 0?t:this.getLabel()}"
|
|
637
|
+
?disabled=${this.isDisabled()}>
|
|
638
|
+
${n}
|
|
639
|
+
</a>
|
|
640
|
+
`:w`
|
|
621
641
|
<button part="button"
|
|
622
642
|
class="${pe(this.buttonClasses)}"
|
|
623
|
-
aria-label="${(
|
|
643
|
+
aria-label="${(i=this.ariaLabel)!==null&&i!==void 0?i:this.getLabel()}"
|
|
624
644
|
?disabled=${this.isDisabled()}>
|
|
625
|
-
|
|
626
|
-
<ft-typography part="label"
|
|
627
|
-
variant=${this.typographyVariant}
|
|
628
|
-
element="span"
|
|
629
|
-
class="ft-button--label ${wr?"ft-safari-ellipsis-fix":""}"
|
|
630
|
-
?hidden=${!this.hasTextContent()}>
|
|
631
|
-
<slot @slotchange=${this.onSlotchange}></slot>
|
|
632
|
-
</ft-typography>
|
|
633
|
-
${this.resolveIcon()}
|
|
645
|
+
${n}
|
|
634
646
|
</button>
|
|
635
647
|
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?w`
|
|
636
648
|
<ft-tooltip part="tooltip"
|
|
@@ -643,7 +655,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
643
655
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
644
656
|
`:w`
|
|
645
657
|
<slot part="icon" name="icon"></slot>
|
|
646
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return
|
|
658
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return Mr(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ge.elementDefinitions={"ft-ripple":J,"ft-tooltip":he,"ft-typography":ae,"ft-icon":ye,"ft-loader":$r};Te([y()],ge.prototype,"href",void 0);Te([y()],ge.prototype,"target",void 0);Te([y({type:String,reflect:!0})],ge.prototype,"role",void 0);Te([y()],ge.prototype,"type",void 0);Te([y({type:Boolean})],ge.prototype,"disabled",void 0);Te([y()],ge.prototype,"label",void 0);Te([y()],ge.prototype,"icon",void 0);Te([y()],ge.prototype,"iconVariant",void 0);Te([y({type:Boolean})],ge.prototype,"trailingIcon",void 0);Te([y({type:Boolean})],ge.prototype,"loading",void 0);Te([y({attribute:"aria-label"})],ge.prototype,"ariaLabel",void 0);Te([y()],ge.prototype,"tooltipPosition",void 0);Te([y({type:Boolean})],ge.prototype,"hideTooltip",void 0);Te([y({type:Boolean})],ge.prototype,"forceTooltip",void 0);Te([D(".ft-button")],ge.prototype,"button",void 0);Te([D(".ft-button--label slot")],ge.prototype,"slottedContent",void 0);var Hi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},we=class extends ge{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};we.styles=[Mo,Fd];Hi([y({type:Boolean})],we.prototype,"primary",void 0);Hi([y({type:Boolean})],we.prototype,"outlined",void 0);Hi([y({type:Boolean})],we.prototype,"dense",void 0);Hi([y({type:Boolean})],we.prototype,"round",void 0);var Ud=[L`
|
|
647
659
|
:host {
|
|
648
660
|
display: inline-block;
|
|
649
661
|
max-width: 100%;
|
|
@@ -652,22 +664,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
652
664
|
|
|
653
665
|
/** Remove default button styles **/
|
|
654
666
|
|
|
655
|
-
button {
|
|
667
|
+
.ft-button {
|
|
656
668
|
box-shadow: 0 0 0 transparent;
|
|
657
669
|
border: 0 solid transparent;
|
|
658
670
|
text-shadow: 0 0 0 transparent;
|
|
671
|
+
text-decoration: none;
|
|
659
672
|
}
|
|
660
673
|
|
|
661
|
-
button:hover {
|
|
674
|
+
.ft-button:hover {
|
|
662
675
|
box-shadow: 0 0 0 transparent;
|
|
663
676
|
text-shadow: 0 0 0 transparent;
|
|
664
677
|
}
|
|
665
678
|
|
|
666
|
-
button:active {
|
|
679
|
+
.ft-button:active {
|
|
667
680
|
outline: none;
|
|
668
681
|
}
|
|
669
682
|
|
|
670
|
-
button:focus {
|
|
683
|
+
.ft-button:focus {
|
|
671
684
|
outline: 0;
|
|
672
685
|
}
|
|
673
686
|
|
|
@@ -729,11 +742,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
729
742
|
.ftds--family-brand.ft-button--primary {
|
|
730
743
|
${v(ue.color,b.primaryBrandIconColor)};
|
|
731
744
|
|
|
732
|
-
${v(
|
|
733
|
-
${v(
|
|
734
|
-
${v(
|
|
735
|
-
${v(
|
|
736
|
-
${v(
|
|
745
|
+
${v(N.color,b.primaryBrandStateLayerColor)};
|
|
746
|
+
${v(N.opacityContentOnSurfaceHover,b.primaryBrandHoverStateLayerOpacity)};
|
|
747
|
+
${v(N.opacityContentOnSurfaceFocused,b.primaryBrandFocusStateLayerOpacity)};
|
|
748
|
+
${v(N.opacityContentOnSurfaceSelected,b.primaryBrandActiveStateLayerOpacity)};
|
|
749
|
+
${v(N.opacityContentOnSurfacePressed,b.primaryBrandActiveStateLayerOpacity)};
|
|
737
750
|
|
|
738
751
|
background-color: ${b.primaryBrandBackgroundColor};
|
|
739
752
|
color: ${b.primaryBrandColor};
|
|
@@ -753,11 +766,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
753
766
|
.ftds--family-brand.ft-button--secondary {
|
|
754
767
|
${v(ue.color,b.secondaryBrandIconColor)};
|
|
755
768
|
|
|
756
|
-
${v(
|
|
757
|
-
${v(
|
|
758
|
-
${v(
|
|
759
|
-
${v(
|
|
760
|
-
${v(
|
|
769
|
+
${v(N.color,b.secondaryBrandStateLayerColor)};
|
|
770
|
+
${v(N.opacityContentOnSurfaceHover,b.secondaryBrandHoverStateLayerOpacity)};
|
|
771
|
+
${v(N.opacityContentOnSurfaceFocused,b.secondaryBrandFocusStateLayerOpacity)};
|
|
772
|
+
${v(N.opacityContentOnSurfaceSelected,b.secondaryBrandActiveStateLayerOpacity)};
|
|
773
|
+
${v(N.opacityContentOnSurfacePressed,b.secondaryBrandActiveStateLayerOpacity)};
|
|
761
774
|
|
|
762
775
|
background-color: ${b.secondaryBrandBackgroundColor};
|
|
763
776
|
color: ${b.secondaryBrandColor};
|
|
@@ -778,11 +791,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
778
791
|
.ftds--family-brand.ft-button--tertiary {
|
|
779
792
|
${v(ue.color,b.tertiaryBrandIconColor)};
|
|
780
793
|
|
|
781
|
-
${v(
|
|
782
|
-
${v(
|
|
783
|
-
${v(
|
|
784
|
-
${v(
|
|
785
|
-
${v(
|
|
794
|
+
${v(N.color,b.tertiaryBrandStateLayerColor)};
|
|
795
|
+
${v(N.opacityContentOnSurfaceHover,b.tertiaryBrandHoverStateLayerOpacity)};
|
|
796
|
+
${v(N.opacityContentOnSurfaceFocused,b.tertiaryBrandFocusStateLayerOpacity)};
|
|
797
|
+
${v(N.opacityContentOnSurfaceSelected,b.tertiaryBrandActiveStateLayerOpacity)};
|
|
798
|
+
${v(N.opacityContentOnSurfacePressed,b.tertiaryBrandActiveStateLayerOpacity)};
|
|
786
799
|
|
|
787
800
|
background-color: ${b.tertiaryBrandBackgroundColor};
|
|
788
801
|
color: ${b.tertiaryBrandColor};
|
|
@@ -802,11 +815,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
802
815
|
.ftds--family-neutral.ft-button--secondary {
|
|
803
816
|
${v(ue.color,b.secondaryNeutralIconColor)};
|
|
804
817
|
|
|
805
|
-
${v(
|
|
806
|
-
${v(
|
|
807
|
-
${v(
|
|
808
|
-
${v(
|
|
809
|
-
${v(
|
|
818
|
+
${v(N.backgroundColor,b.secondaryNeutralStateLayerColor)};
|
|
819
|
+
${v(N.opacityContentOnSurfaceHover,b.secondaryNeutralHoverStateLayerOpacity)};
|
|
820
|
+
${v(N.opacityContentOnSurfaceFocused,b.secondaryNeutralFocusStateLayerOpacity)};
|
|
821
|
+
${v(N.opacityContentOnSurfaceSelected,b.secondaryNeutralActiveStateLayerOpacity)};
|
|
822
|
+
${v(N.opacityContentOnSurfacePressed,b.secondaryNeutralActiveStateLayerOpacity)};
|
|
810
823
|
|
|
811
824
|
background-color: ${b.secondaryNeutralBackgroundColor};
|
|
812
825
|
color: ${b.secondaryNeutralColor};
|
|
@@ -827,11 +840,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
827
840
|
.ftds--family-neutral.ft-button--tertiary {
|
|
828
841
|
${v(ue.color,b.tertiaryNeutralIconColor)};
|
|
829
842
|
|
|
830
|
-
${v(
|
|
831
|
-
${v(
|
|
832
|
-
${v(
|
|
833
|
-
${v(
|
|
834
|
-
${v(
|
|
843
|
+
${v(N.backgroundColor,b.tertiaryNeutralStateLayerColor)};
|
|
844
|
+
${v(N.opacityContentOnSurfaceHover,b.tertiaryNeutralHoverStateLayerOpacity)};
|
|
845
|
+
${v(N.opacityContentOnSurfaceFocused,b.tertiaryNeutralFocusStateLayerOpacity)};
|
|
846
|
+
${v(N.opacityContentOnSurfaceSelected,b.tertiaryNeutralActiveStateLayerOpacity)};
|
|
847
|
+
${v(N.opacityContentOnSurfacePressed,b.tertiaryNeutralActiveStateLayerOpacity)};
|
|
835
848
|
|
|
836
849
|
background-color: ${b.tertiaryNeutralBackgroundColor};
|
|
837
850
|
color: ${b.tertiaryNeutralColor};
|
|
@@ -851,11 +864,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
851
864
|
.ftds--family-info.ft-button--secondary {
|
|
852
865
|
${v(ue.color,b.secondaryInfoIconColor)};
|
|
853
866
|
|
|
854
|
-
${v(
|
|
855
|
-
${v(
|
|
856
|
-
${v(
|
|
857
|
-
${v(
|
|
858
|
-
${v(
|
|
867
|
+
${v(N.backgroundColor,b.secondaryInfoStateLayerColor)};
|
|
868
|
+
${v(N.opacityContentOnSurfaceHover,b.secondaryInfoHoverStateLayerOpacity)};
|
|
869
|
+
${v(N.opacityContentOnSurfaceFocused,b.secondaryInfoFocusStateLayerOpacity)};
|
|
870
|
+
${v(N.opacityContentOnSurfaceSelected,b.secondaryInfoActiveStateLayerOpacity)};
|
|
871
|
+
${v(N.opacityContentOnSurfacePressed,b.secondaryInfoActiveStateLayerOpacity)};
|
|
859
872
|
|
|
860
873
|
background-color: ${b.secondaryInfoBackgroundColor};
|
|
861
874
|
color: ${b.secondaryInfoColor};
|
|
@@ -876,11 +889,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
876
889
|
.ftds--family-info.ft-button--tertiary {
|
|
877
890
|
${v(ue.color,b.tertiaryInfoIconColor)};
|
|
878
891
|
|
|
879
|
-
${v(
|
|
880
|
-
${v(
|
|
881
|
-
${v(
|
|
882
|
-
${v(
|
|
883
|
-
${v(
|
|
892
|
+
${v(N.backgroundColor,b.tertiaryInfoStateLayerColor)};
|
|
893
|
+
${v(N.opacityContentOnSurfaceHover,b.tertiaryInfoHoverStateLayerOpacity)};
|
|
894
|
+
${v(N.opacityContentOnSurfaceFocused,b.tertiaryInfoFocusStateLayerOpacity)};
|
|
895
|
+
${v(N.opacityContentOnSurfaceSelected,b.tertiaryInfoActiveStateLayerOpacity)};
|
|
896
|
+
${v(N.opacityContentOnSurfacePressed,b.tertiaryInfoActiveStateLayerOpacity)};
|
|
884
897
|
|
|
885
898
|
background-color: ${b.tertiaryInfoBackgroundColor};
|
|
886
899
|
color: ${b.tertiaryInfoColor};
|
|
@@ -900,11 +913,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
900
913
|
.ftds--family-success.ft-button--secondary {
|
|
901
914
|
${v(ue.color,b.secondarySuccessIconColor)};
|
|
902
915
|
|
|
903
|
-
${v(
|
|
904
|
-
${v(
|
|
905
|
-
${v(
|
|
906
|
-
${v(
|
|
907
|
-
${v(
|
|
916
|
+
${v(N.backgroundColor,b.secondarySuccessStateLayerColor)};
|
|
917
|
+
${v(N.opacityContentOnSurfaceHover,b.secondarySuccessHoverStateLayerOpacity)};
|
|
918
|
+
${v(N.opacityContentOnSurfaceFocused,b.secondarySuccessFocusStateLayerOpacity)};
|
|
919
|
+
${v(N.opacityContentOnSurfaceSelected,b.secondarySuccessActiveStateLayerOpacity)};
|
|
920
|
+
${v(N.opacityContentOnSurfacePressed,b.secondarySuccessActiveStateLayerOpacity)};
|
|
908
921
|
|
|
909
922
|
background-color: ${b.secondarySuccessBackgroundColor};
|
|
910
923
|
color: ${b.secondarySuccessColor};
|
|
@@ -925,11 +938,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
925
938
|
.ftds--family-success.ft-button--tertiary {
|
|
926
939
|
${v(ue.color,b.tertiarySuccessIconColor)};
|
|
927
940
|
|
|
928
|
-
${v(
|
|
929
|
-
${v(
|
|
930
|
-
${v(
|
|
931
|
-
${v(
|
|
932
|
-
${v(
|
|
941
|
+
${v(N.backgroundColor,b.tertiarySuccessStateLayerColor)};
|
|
942
|
+
${v(N.opacityContentOnSurfaceHover,b.tertiarySuccessHoverStateLayerOpacity)};
|
|
943
|
+
${v(N.opacityContentOnSurfaceFocused,b.tertiarySuccessFocusStateLayerOpacity)};
|
|
944
|
+
${v(N.opacityContentOnSurfaceSelected,b.tertiarySuccessActiveStateLayerOpacity)};
|
|
945
|
+
${v(N.opacityContentOnSurfacePressed,b.tertiarySuccessActiveStateLayerOpacity)};
|
|
933
946
|
|
|
934
947
|
background-color: ${b.tertiarySuccessBackgroundColor};
|
|
935
948
|
color: ${b.tertiarySuccessColor};
|
|
@@ -949,11 +962,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
949
962
|
.ftds--family-warning.ft-button--secondary {
|
|
950
963
|
${v(ue.color,b.secondaryWarningIconColor)};
|
|
951
964
|
|
|
952
|
-
${v(
|
|
953
|
-
${v(
|
|
954
|
-
${v(
|
|
955
|
-
${v(
|
|
956
|
-
${v(
|
|
965
|
+
${v(N.backgroundColor,b.secondaryWarningStateLayerColor)};
|
|
966
|
+
${v(N.opacityContentOnSurfaceHover,b.secondaryWarningHoverStateLayerOpacity)};
|
|
967
|
+
${v(N.opacityContentOnSurfaceFocused,b.secondaryWarningFocusStateLayerOpacity)};
|
|
968
|
+
${v(N.opacityContentOnSurfaceSelected,b.secondaryWarningActiveStateLayerOpacity)};
|
|
969
|
+
${v(N.opacityContentOnSurfacePressed,b.secondaryWarningActiveStateLayerOpacity)};
|
|
957
970
|
|
|
958
971
|
background-color: ${b.secondaryWarningBackgroundColor};
|
|
959
972
|
color: ${b.secondaryWarningColor};
|
|
@@ -974,11 +987,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
974
987
|
.ftds--family-warning.ft-button--tertiary {
|
|
975
988
|
${v(ue.color,b.tertiaryWarningIconColor)};
|
|
976
989
|
|
|
977
|
-
${v(
|
|
978
|
-
${v(
|
|
979
|
-
${v(
|
|
980
|
-
${v(
|
|
981
|
-
${v(
|
|
990
|
+
${v(N.backgroundColor,b.tertiaryWarningStateLayerColor)};
|
|
991
|
+
${v(N.opacityContentOnSurfaceHover,b.tertiaryWarningHoverStateLayerOpacity)};
|
|
992
|
+
${v(N.opacityContentOnSurfaceFocused,b.tertiaryWarningFocusStateLayerOpacity)};
|
|
993
|
+
${v(N.opacityContentOnSurfaceSelected,b.tertiaryWarningActiveStateLayerOpacity)};
|
|
994
|
+
${v(N.opacityContentOnSurfacePressed,b.tertiaryWarningActiveStateLayerOpacity)};
|
|
982
995
|
|
|
983
996
|
background-color: ${b.tertiaryWarningBackgroundColor};
|
|
984
997
|
color: ${b.tertiaryWarningColor};
|
|
@@ -998,11 +1011,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
998
1011
|
.ftds--family-error.ft-button--secondary {
|
|
999
1012
|
${v(ue.color,b.secondaryErrorIconColor)};
|
|
1000
1013
|
|
|
1001
|
-
${v(
|
|
1002
|
-
${v(
|
|
1003
|
-
${v(
|
|
1004
|
-
${v(
|
|
1005
|
-
${v(
|
|
1014
|
+
${v(N.backgroundColor,b.secondaryErrorStateLayerColor)};
|
|
1015
|
+
${v(N.opacityContentOnSurfaceHover,b.secondaryErrorHoverStateLayerOpacity)};
|
|
1016
|
+
${v(N.opacityContentOnSurfaceFocused,b.secondaryErrorFocusStateLayerOpacity)};
|
|
1017
|
+
${v(N.opacityContentOnSurfaceSelected,b.secondaryErrorActiveStateLayerOpacity)};
|
|
1018
|
+
${v(N.opacityContentOnSurfacePressed,b.secondaryErrorActiveStateLayerOpacity)};
|
|
1006
1019
|
|
|
1007
1020
|
background-color: ${b.secondaryErrorBackgroundColor};
|
|
1008
1021
|
color: ${b.secondaryErrorColor};
|
|
@@ -1023,11 +1036,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1023
1036
|
.ftds--family-error.ft-button--tertiary {
|
|
1024
1037
|
${v(ue.color,b.tertiaryErrorIconColor)};
|
|
1025
1038
|
|
|
1026
|
-
${v(
|
|
1027
|
-
${v(
|
|
1028
|
-
${v(
|
|
1029
|
-
${v(
|
|
1030
|
-
${v(
|
|
1039
|
+
${v(N.backgroundColor,b.tertiaryErrorStateLayerColor)};
|
|
1040
|
+
${v(N.opacityContentOnSurfaceHover,b.tertiaryErrorHoverStateLayerOpacity)};
|
|
1041
|
+
${v(N.opacityContentOnSurfaceFocused,b.tertiaryErrorFocusStateLayerOpacity)};
|
|
1042
|
+
${v(N.opacityContentOnSurfaceSelected,b.tertiaryErrorActiveStateLayerOpacity)};
|
|
1043
|
+
${v(N.opacityContentOnSurfacePressed,b.tertiaryErrorActiveStateLayerOpacity)};
|
|
1031
1044
|
|
|
1032
1045
|
background-color: ${b.tertiaryErrorBackgroundColor};
|
|
1033
1046
|
color: ${b.tertiaryErrorColor};
|
|
@@ -1045,7 +1058,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1045
1058
|
/** Large styles **/
|
|
1046
1059
|
|
|
1047
1060
|
.ftds--size-large {
|
|
1048
|
-
${v(
|
|
1061
|
+
${v(be.size,b.largeIconSize)};
|
|
1049
1062
|
${v(ue.size,b.largeIconSize)};
|
|
1050
1063
|
|
|
1051
1064
|
height: ${b.largeHeight};
|
|
@@ -1067,7 +1080,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1067
1080
|
/** Small styles **/
|
|
1068
1081
|
|
|
1069
1082
|
.ftds--size-medium {
|
|
1070
|
-
${v(
|
|
1083
|
+
${v(be.size,b.mediumIconSize)};
|
|
1071
1084
|
${v(ue.size,b.mediumIconSize)};
|
|
1072
1085
|
|
|
1073
1086
|
height: ${b.mediumHeight};
|
|
@@ -1090,7 +1103,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1090
1103
|
/** Small styles **/
|
|
1091
1104
|
|
|
1092
1105
|
.ftds--size-small {
|
|
1093
|
-
${v(
|
|
1106
|
+
${v(be.size,b.smallIconSize)};
|
|
1094
1107
|
${v(ue.size,b.smallIconSize)};
|
|
1095
1108
|
|
|
1096
1109
|
height: ${b.smallHeight};
|
|
@@ -1108,7 +1121,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1108
1121
|
.ftds--size-small.ft-button--icon-only {
|
|
1109
1122
|
width: ${b.smallIconOnlyWidth};
|
|
1110
1123
|
}
|
|
1111
|
-
`,
|
|
1124
|
+
`,Sr];var Vi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},dt=class extends Li(ge){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Pt.brand,this.iconVariant=De.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 $e.large:return it.body2medium;case $e.medium:return it.caption1medium;case $e.small:return it.caption2medium}}};dt.styles=[Mo,Ud];Vi([y({type:Boolean})],dt.prototype,"primary",void 0);Vi([y({type:Boolean})],dt.prototype,"secondary",void 0);Vi([y({type:Boolean})],dt.prototype,"tertiary",void 0);Vi([y({type:Boolean})],dt.prototype,"round",void 0);H("ft-button")(we);H("ftds-button")(dt);var Ut={textColor:o.extend("--ft-checkbox-text-color","",$.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",T.fontSize),colorPrimary:o.external($.colorPrimary,"Design system"),colorOnPrimary:o.external($.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-checkbox-border-color","",$.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external($.colorOnSurfaceDisabled,"Design system")},zd=L`
|
|
1112
1125
|
* {
|
|
1113
1126
|
box-sizing: border-box;
|
|
1114
1127
|
}
|
|
@@ -1186,7 +1199,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1186
1199
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1187
1200
|
opacity: 1;
|
|
1188
1201
|
}
|
|
1189
|
-
`;var
|
|
1202
|
+
`;var Lr=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Me=class extends M{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return w`
|
|
1190
1203
|
<label class="${pe(e)}" for="checkbox-input">
|
|
1191
1204
|
<div class="ft-checkbox--box-container">
|
|
1192
1205
|
<ft-ripple
|
|
@@ -1213,14 +1226,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1213
1226
|
<slot></slot>
|
|
1214
1227
|
</ft-typography>
|
|
1215
1228
|
</label>
|
|
1216
|
-
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}click(){this.input.click()}};
|
|
1229
|
+
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}click(){this.input.click()}};Me.elementDefinitions={"ft-ripple":J,"ft-typography":ae};Me.styles=zd;Lr([y()],Me.prototype,"name",void 0);Lr([y({type:Boolean,reflect:!0})],Me.prototype,"checked",void 0);Lr([y({type:Boolean})],Me.prototype,"indeterminate",void 0);Lr([y({type:Boolean})],Me.prototype,"disabled",void 0);Lr([D(".ft-checkbox")],Me.prototype,"container",void 0);Lr([D("ft-ripple")],Me.prototype,"ripple",void 0);Lr([D("input")],Me.prototype,"input",void 0);H("ft-checkbox")(Me);var Nr={textColor:o.extend("--ft-radio-text-color","",$.colorOnSurfaceHigh),colorPrimary:o.external($.colorPrimary,"Design system"),colorOnPrimary:o.external($.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",$.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external($.colorOnSurfaceDisabled,"Design system")},Wd=L`
|
|
1217
1230
|
* {
|
|
1218
1231
|
box-sizing: border-box;
|
|
1219
1232
|
}
|
|
1220
1233
|
|
|
1221
1234
|
.ft-radio {
|
|
1222
1235
|
box-sizing: border-box;
|
|
1223
|
-
color: ${
|
|
1236
|
+
color: ${Nr.textColor};
|
|
1224
1237
|
|
|
1225
1238
|
display: inline-flex;
|
|
1226
1239
|
align-items: center;
|
|
@@ -1228,7 +1241,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1228
1241
|
}
|
|
1229
1242
|
|
|
1230
1243
|
.ft-radio--disabled {
|
|
1231
|
-
color: ${
|
|
1244
|
+
color: ${Nr.colorOnSurfaceDisabled};
|
|
1232
1245
|
}
|
|
1233
1246
|
|
|
1234
1247
|
input {
|
|
@@ -1251,7 +1264,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1251
1264
|
}
|
|
1252
1265
|
|
|
1253
1266
|
.ft-radio--box {
|
|
1254
|
-
border: 2px solid ${
|
|
1267
|
+
border: 2px solid ${Nr.borderColor};
|
|
1255
1268
|
border-radius: 50%;
|
|
1256
1269
|
|
|
1257
1270
|
display: flex;
|
|
@@ -1264,7 +1277,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1264
1277
|
|
|
1265
1278
|
.ft-radio--box:after {
|
|
1266
1279
|
content: " ";
|
|
1267
|
-
background-color: ${
|
|
1280
|
+
background-color: ${Nr.colorPrimary};
|
|
1268
1281
|
|
|
1269
1282
|
border-radius: 50%;
|
|
1270
1283
|
|
|
@@ -1276,7 +1289,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1276
1289
|
}
|
|
1277
1290
|
|
|
1278
1291
|
.ft-radio--checked .ft-radio--box {
|
|
1279
|
-
border-color: ${
|
|
1292
|
+
border-color: ${Nr.colorPrimary};
|
|
1280
1293
|
}
|
|
1281
1294
|
|
|
1282
1295
|
|
|
@@ -1285,12 +1298,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1285
1298
|
}
|
|
1286
1299
|
|
|
1287
1300
|
.ft-radio--disabled .ft-radio--box {
|
|
1288
|
-
border-color: ${
|
|
1301
|
+
border-color: ${Nr.colorOnSurfaceDisabled};
|
|
1289
1302
|
background-color: transparent;
|
|
1290
1303
|
}
|
|
1291
1304
|
|
|
1292
1305
|
.ft-radio--disabled .ft-radio--box:after {
|
|
1293
|
-
background-color: ${
|
|
1306
|
+
background-color: ${Nr.colorOnSurfaceDisabled};
|
|
1294
1307
|
}
|
|
1295
1308
|
|
|
1296
1309
|
.ft-radio:has(:focus-visible) {
|
|
@@ -1301,7 +1314,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1301
1314
|
.ft-radio ft-typography {
|
|
1302
1315
|
padding-right: 2px;
|
|
1303
1316
|
}
|
|
1304
|
-
`;var zt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},
|
|
1317
|
+
`;var zt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ji=class extends CustomEvent{constructor(e,t){super("change",{detail:{value:e,checked:t},bubbles:!0,composed:!0})}},Ae=class extends M{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return w`
|
|
1305
1318
|
<div class="${pe(e)}">
|
|
1306
1319
|
<div class="ft-radio--box-container">
|
|
1307
1320
|
<ft-ripple
|
|
@@ -1326,7 +1339,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1326
1339
|
</ft-typography>
|
|
1327
1340
|
</label>
|
|
1328
1341
|
</div>
|
|
1329
|
-
`}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new
|
|
1342
|
+
`}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new ji(this.value,this.checked))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new ji(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};Ae.elementDefinitions={"ft-ripple":J,"ft-typography":ae};Ae.styles=Wd;zt([y()],Ae.prototype,"value",void 0);zt([y()],Ae.prototype,"name",void 0);zt([y({type:Boolean,reflect:!0})],Ae.prototype,"checked",void 0);zt([y({attribute:"aria-checked",reflect:!0})],Ae.prototype,"ariaChecked",void 0);zt([y({type:Boolean})],Ae.prototype,"disabled",void 0);zt([y({reflect:!0,attribute:"role"})],Ae.prototype,"role",void 0);zt([D(".ft-radio")],Ae.prototype,"container",void 0);zt([D("ft-ripple")],Ae.prototype,"ripple",void 0);zt([D("input")],Ae.prototype,"input",void 0);var Hd=L`
|
|
1330
1343
|
:host {
|
|
1331
1344
|
display: block;
|
|
1332
1345
|
}
|
|
@@ -1334,12 +1347,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1334
1347
|
:host(:focus-visible) {
|
|
1335
1348
|
outline: none;
|
|
1336
1349
|
}
|
|
1337
|
-
`;var
|
|
1350
|
+
`;var no=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ge=class extends M{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}get radioButtons(){var e,t;return(t=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio")?[i]:[...i.querySelectorAll("ft-radio")]))!==null&&t!==void 0?t:[]}render(){return w`
|
|
1338
1351
|
<slot @slotchange=${this.onSlotChange}
|
|
1339
1352
|
@change=${this.onChange}
|
|
1340
1353
|
@keydown=${this.onKeyDown}
|
|
1341
1354
|
></slot>
|
|
1342
|
-
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(t=>t.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(t=>t.checked=e.detail.value===t.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let t=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{t=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{t=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}t&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(t=>t.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ge.elementDefinitions={};Ge.styles=
|
|
1355
|
+
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(t=>t.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(t=>t.checked=e.detail.value===t.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let t=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{t=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{t=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}t&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(t=>t.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ge.elementDefinitions={};Ge.styles=Hd;no([y()],Ge.prototype,"name",void 0);no([y({reflect:!0,attribute:"role"})],Ge.prototype,"role",void 0);no([y({reflect:!0})],Ge.prototype,"tabIndex",void 0);no([y({reflect:!0,attribute:"aria-labelledby"})],Ge.prototype,"ariaLabelledBy",void 0);no([yn()],Ge.prototype,"assignedElements",void 0);no([W()],Ge.prototype,"currentSelectedIndex",void 0);H("ft-radio")(Ae);H("ft-radio-group")(Ge);var Gi={borderRadiusM:o.external($.borderRadiusM,"Design system"),colorOutline:o.external($.colorOutline,"Design system"),colorOnSurface:o.external($.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external($.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external($.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external($.colorPrimary,"Design system"),colorOnPrimary:o.external($.colorOnPrimary,"Design system"),fontFamily:o.external(ke.fontFamily,"Body2 typography"),fontSize:o.external(ke.fontSize,"Body2 typography"),fontWeight:o.external(ke.fontWeight,"Body2 typography"),letterSpacing:o.external(ke.letterSpacing,"Body2 typography"),lineHeight:o.external(ke.lineHeight,"Body2 typography"),textTransform:o.external(ke.textTransform,"Body2 typography")},Vd=L`
|
|
1343
1356
|
.ft-filter-level--container {
|
|
1344
1357
|
display: flex;
|
|
1345
1358
|
flex-direction: column;
|
|
@@ -1353,14 +1366,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1353
1366
|
flex-shrink: 0;
|
|
1354
1367
|
text-decoration: none;
|
|
1355
1368
|
position: relative;
|
|
1356
|
-
border-radius: ${
|
|
1369
|
+
border-radius: ${Gi.borderRadiusM};
|
|
1357
1370
|
overflow: hidden;
|
|
1358
1371
|
display: flex;
|
|
1359
1372
|
align-items: center;
|
|
1360
1373
|
padding: 4px 4px;
|
|
1361
1374
|
gap: 4px;
|
|
1362
1375
|
cursor: pointer;
|
|
1363
|
-
color: ${
|
|
1376
|
+
color: ${Gi.colorOnSurface};
|
|
1364
1377
|
}
|
|
1365
1378
|
|
|
1366
1379
|
.ft-filter-level--go-back:focus {
|
|
@@ -1389,7 +1402,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1389
1402
|
}
|
|
1390
1403
|
|
|
1391
1404
|
ft-button {
|
|
1392
|
-
${v(
|
|
1405
|
+
${v(te.color,Gi.colorOnSurface)};
|
|
1393
1406
|
}
|
|
1394
1407
|
|
|
1395
1408
|
ft-radio, ft-checkbox {
|
|
@@ -1403,9 +1416,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1403
1416
|
|
|
1404
1417
|
.ft-filter-level--no-values {
|
|
1405
1418
|
margin: 10px 0;
|
|
1406
|
-
color: ${
|
|
1419
|
+
color: ${Gi.colorOnSurfaceMedium};
|
|
1407
1420
|
}
|
|
1408
|
-
`;var
|
|
1421
|
+
`;var Ue=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Oe=class extends M{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,t;return(t=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&t!==void 0?t:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let t=e.slice(0,this.limit);return w`
|
|
1409
1422
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1410
1423
|
${this.parent==null?null:w`
|
|
1411
1424
|
<div tabindex="0"
|
|
@@ -1425,11 +1438,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1425
1438
|
<ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
|
|
1426
1439
|
${this.noValuesLabel}
|
|
1427
1440
|
</ft-typography>
|
|
1428
|
-
`:
|
|
1441
|
+
`:z}
|
|
1429
1442
|
${Re(t,i=>i.value,i=>{var n;return w`
|
|
1430
1443
|
<div class="ft-filter-level--option" part="options" tabindex="-1">
|
|
1431
1444
|
${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
|
|
1432
|
-
${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?
|
|
1445
|
+
${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?z:w`
|
|
1433
1446
|
<ft-button icon="thin_arrow_right"
|
|
1434
1447
|
part="controls navigate-hierarchy"
|
|
1435
1448
|
aria-label="Expand node"
|
|
@@ -1448,7 +1461,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1448
1461
|
@click=${this.displayMore}>
|
|
1449
1462
|
${this.moreValuesButtonLabel}
|
|
1450
1463
|
</ft-button>
|
|
1451
|
-
`:
|
|
1464
|
+
`:z}
|
|
1452
1465
|
</div>
|
|
1453
1466
|
`}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(e){var t;return w`
|
|
1454
1467
|
<ft-checkbox name="${this.filterId}"
|
|
@@ -1471,7 +1484,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1471
1484
|
@change=${t=>this.optionsChanged(t,e)}>
|
|
1472
1485
|
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1473
1486
|
</ft-radio>
|
|
1474
|
-
`}onRadioKeyDown(e,t){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,t))}optionsChanged(e,t){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:t}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};
|
|
1487
|
+
`}onRadioKeyDown(e,t){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,t))}optionsChanged(e,t){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:t}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};Oe.elementDefinitions={"ft-button":we,"ft-ripple":J,"ft-typography":ae,"ft-checkbox":Me,"ft-icon":ye,"ft-radio":Ae};Oe.styles=Vd;Ue([y({type:String})],Oe.prototype,"filterId",void 0);Ue([y({type:Object})],Oe.prototype,"parent",void 0);Ue([y({type:Array})],Oe.prototype,"options",void 0);Ue([y({type:Boolean})],Oe.prototype,"multivalued",void 0);Ue([y({type:Boolean})],Oe.prototype,"disabled",void 0);Ue([y({type:Boolean})],Oe.prototype,"hideSelectedOptions",void 0);Ue([y({type:Boolean})],Oe.prototype,"displayCount",void 0);Ue([y({type:Boolean})],Oe.prototype,"preventNavigation",void 0);Ue([y({type:String})],Oe.prototype,"filter",void 0);Ue([y({type:String})],Oe.prototype,"moreValuesButtonLabel",void 0);Ue([y({type:String})],Oe.prototype,"noValuesLabel",void 0);Ue([y({type:Number})],Oe.prototype,"displayedValuesLimit",void 0);Ue([D(".ft-filter-level--container")],Oe.prototype,"container",void 0);Ue([W()],Oe.prototype,"radios",void 0);Ue([W()],Oe.prototype,"displayedPages",void 0);var ze={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",$.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external($.colorSurface,"Design system")},jd=L`
|
|
1475
1488
|
.ft-snap-scroll {
|
|
1476
1489
|
box-sizing: border-box;
|
|
1477
1490
|
position: relative;
|
|
@@ -1506,7 +1519,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1506
1519
|
flex-wrap: nowrap;
|
|
1507
1520
|
align-items: flex-start;
|
|
1508
1521
|
justify-content: flex-start;
|
|
1509
|
-
gap: ${
|
|
1522
|
+
gap: ${ze.gap};
|
|
1510
1523
|
}
|
|
1511
1524
|
|
|
1512
1525
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1549,11 +1562,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1549
1562
|
.ft-snap-scroll--next {
|
|
1550
1563
|
position: absolute;
|
|
1551
1564
|
display: flex;
|
|
1552
|
-
z-index: ${
|
|
1565
|
+
z-index: ${ze.buttonsZIndex};
|
|
1553
1566
|
opacity: 1;
|
|
1554
1567
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1555
|
-
${v(
|
|
1556
|
-
${v(
|
|
1568
|
+
${v(te.backgroundColor,"transparent")};
|
|
1569
|
+
${v(te.color,ze.buttonsColor)};
|
|
1557
1570
|
}
|
|
1558
1571
|
|
|
1559
1572
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1566,37 +1579,37 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1566
1579
|
top: 0;
|
|
1567
1580
|
left: -1px;
|
|
1568
1581
|
bottom: 0;
|
|
1569
|
-
background: linear-gradient(to right, ${
|
|
1582
|
+
background: linear-gradient(to right, ${ze.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1570
1583
|
}
|
|
1571
1584
|
|
|
1572
1585
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1573
1586
|
top: -1px;
|
|
1574
1587
|
left: 0;
|
|
1575
1588
|
right: 0;
|
|
1576
|
-
background: linear-gradient(to bottom, ${
|
|
1589
|
+
background: linear-gradient(to bottom, ${ze.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1577
1590
|
}
|
|
1578
1591
|
|
|
1579
1592
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1580
1593
|
top: 0;
|
|
1581
1594
|
right: -1px;
|
|
1582
1595
|
bottom: 0;
|
|
1583
|
-
background: linear-gradient(to left, ${
|
|
1596
|
+
background: linear-gradient(to left, ${ze.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1584
1597
|
}
|
|
1585
1598
|
|
|
1586
1599
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1587
1600
|
left: 0;
|
|
1588
1601
|
right: 0;
|
|
1589
1602
|
bottom: -1px;
|
|
1590
|
-
background: linear-gradient(to top, ${
|
|
1603
|
+
background: linear-gradient(to top, ${ze.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1591
1604
|
}
|
|
1592
1605
|
|
|
1593
1606
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1594
1607
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1595
1608
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1596
1609
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1597
|
-
background-color: ${
|
|
1610
|
+
background-color: ${ze.colorSurface};
|
|
1598
1611
|
}
|
|
1599
|
-
`;var Ct=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},
|
|
1612
|
+
`;var Ct=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Es=class extends CustomEvent{constructor(e,t){super("current-element-change",{detail:{index:e,element:t}})}},Ee=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 ce(200),this.updateScrollDebouncer=new ce(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let t=this.elements[e];if(t){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(t[this.offsetAttribute]<n||t[this.offsetAttribute]+t[this.sizeAttribute]>i)&&this.scrollToElement(t)}}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=pe({"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":Rr}),t=this.controls&&this.withScroll;return w`
|
|
1600
1613
|
<div part="container" class="${e}">
|
|
1601
1614
|
<ft-button
|
|
1602
1615
|
class="ft-snap-scroll--previous"
|
|
@@ -1620,7 +1633,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1620
1633
|
@click=${this.next}
|
|
1621
1634
|
></ft-button>
|
|
1622
1635
|
</div>
|
|
1623
|
-
`}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
|
|
1636
|
+
`}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 Es(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var t;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,(t=this.listenedContainer)===null||t===void 0||t.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let t=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<t&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var t,i;e&&(this.horizontal?(t=this.contentSlot)===null||t===void 0||t.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,t;this.elements=(t=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&t!==void 0?t:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let t=0;t<this.elements.length;t++)(e<0||this.getDistanceFromStart(this.elements[t])<this.getDistanceFromStart(this.elements[e]))&&(e=t);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 t=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-t)}};Ee.elementDefinitions={"ft-button":we};Ee.styles=jd;Ct([y({type:Boolean})],Ee.prototype,"horizontal",void 0);Ct([y({type:Boolean})],Ee.prototype,"hideScrollbar",void 0);Ct([y({type:Boolean})],Ee.prototype,"controls",void 0);Ct([y({type:Boolean})],Ee.prototype,"limitSize",void 0);Ct([W()],Ee.prototype,"elements",void 0);Ct([W()],Ee.prototype,"currentElement",void 0);Ct([W()],Ee.prototype,"withScroll",void 0);Ct([W()],Ee.prototype,"startReached",void 0);Ct([W()],Ee.prototype,"endReached",void 0);Ct([D(".ft-snap-scroll--content")],Ee.prototype,"contentSlot",void 0);H("ft-snap-scroll")(Ee);var Ke={colorOutline:o.external($.colorOutline,"Design system"),colorOnSurface:o.external($.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external($.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external($.colorPrimary,"Design system"),colorSurface:o.external($.colorSurface,"Design system"),transitionDuration:o.external($.transitionDuration,"Design system"),transitionTimingFunction:o.external($.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",$.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",T.fontSize,"16px")},Gd=[tr,Uo,L`
|
|
1624
1637
|
:host {
|
|
1625
1638
|
display: flex;
|
|
1626
1639
|
max-height: 100%;
|
|
@@ -1648,7 +1661,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1648
1661
|
.ft-filter--header ft-button {
|
|
1649
1662
|
flex-shrink: 0;
|
|
1650
1663
|
margin-left: auto;
|
|
1651
|
-
${v(
|
|
1664
|
+
${v(te.iconSize,"18px")};
|
|
1652
1665
|
}
|
|
1653
1666
|
|
|
1654
1667
|
.filter-label {
|
|
@@ -1737,7 +1750,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1737
1750
|
slot:not([name]) {
|
|
1738
1751
|
display: none;
|
|
1739
1752
|
}
|
|
1740
|
-
`];var me=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},
|
|
1753
|
+
`];var me=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ws=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ne=class extends M{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new ce(300),this.changeDebouncer=new ce(10),this.lastDispatchedValues=[]}get flatOptions(){return qe(this.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]})}get childrenFilteredFlatOptions(){return qe(this.options,e=>{var t;return e.selected?[]:(t=e.subOptions)!==null&&t!==void 0?t:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),t=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return w`
|
|
1741
1754
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1742
1755
|
part="container">
|
|
1743
1756
|
${!this.label&&!e?null:w`
|
|
@@ -1814,21 +1827,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1814
1827
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1815
1828
|
noValuesLabel="${this.noValuesLabel}"
|
|
1816
1829
|
></ft-filter-level>
|
|
1817
|
-
`}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 t;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(t=i.subOptions)===null||t===void 0||t.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(t=>t.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;
|
|
1830
|
+
`}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 t;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(t=i.subOptions)===null||t===void 0||t.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(t=>t.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;Fe(this.lastDispatchedValues,e)||(this.dispatchEvent(new ws(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(t=>t),this.optionsChanged()}onFilterChange(){var e,t;this.filter=(t=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&t!==void 0?t:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};ne.elementDefinitions={"ft-button":we,"ft-filter-level":Oe,"ft-snap-scroll":Ee,"ft-typography":ae};ne.styles=Gd;me([y({type:String})],ne.prototype,"id",void 0);me([y({type:String})],ne.prototype,"label",void 0);me([y({type:String})],ne.prototype,"filterPlaceHolder",void 0);me([y({type:String})],ne.prototype,"clearButtonLabel",void 0);me([y({type:String})],ne.prototype,"moreValuesButtonLabel",void 0);me([y({type:String})],ne.prototype,"noValuesLabel",void 0);me([_e([])],ne.prototype,"options",void 0);me([y({type:Boolean})],ne.prototype,"multivalued",void 0);me([y({type:Boolean})],ne.prototype,"disabled",void 0);me([y({type:Boolean})],ne.prototype,"raiseSelectedOptions",void 0);me([y({type:Boolean})],ne.prototype,"displayCount",void 0);me([y({type:Number})],ne.prototype,"displayedValuesLimit",void 0);me([y({type:Boolean})],ne.prototype,"hideClearButton",void 0);me([D(".ft-filter--slot")],ne.prototype,"slotElement",void 0);me([D(".ft-filter--container")],ne.prototype,"container",void 0);me([D(".ft-filter--values")],ne.prototype,"valuesContainer",void 0);me([D(".ft-filter--levels")],ne.prototype,"levelsContainer",void 0);me([W()],ne.prototype,"lastLevelHasHiddenvalues",void 0);me([D(".ft-filter--filter input")],ne.prototype,"filterInput",void 0);me([hn(".ft-filter--levels ft-filter-level")],ne.prototype,"levels",void 0);me([W()],ne.prototype,"withScroll",void 0);me([W()],ne.prototype,"filter",void 0);me([W()],ne.prototype,"slideIn",void 0);me([W()],ne.prototype,"slideOut",void 0);var ao=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Qe=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return w`
|
|
1818
1831
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1819
|
-
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(t=>t)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qe.elementDefinitions={};
|
|
1832
|
+
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(t=>t)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qe.elementDefinitions={};ao([y({type:String})],Qe.prototype,"label",void 0);ao([y({type:Object,converter:r=>r})],Qe.prototype,"value",void 0);ao([y({type:Boolean,reflect:!0})],Qe.prototype,"selected",void 0);ao([y({type:Object})],Qe.prototype,"subOptions",void 0);ao([_e({})],Qe.prototype,"renderOption",void 0);ao([D(".ft-filter-option--slot")],Qe.prototype,"slotElement",void 0);H("ft-filter")(ne);H("ft-filter-option")(Qe);var Kd=L`
|
|
1820
1833
|
.ft-accordion {
|
|
1821
1834
|
box-sizing: border-box;
|
|
1822
1835
|
}
|
|
1823
|
-
`;var
|
|
1836
|
+
`;var Zd=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Et=class extends M{constructor(){super(...arguments),this.multi=!1}render(){return w`
|
|
1824
1837
|
<div class="ft-accordion">
|
|
1825
1838
|
<slot @activated=${this.onChange}></slot>
|
|
1826
1839
|
</div>
|
|
1827
|
-
`}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(t=>t.active=t===e.target)}};Et.elementDefinitions={};Et.styles=
|
|
1840
|
+
`}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(t=>t.active=t===e.target)}};Et.elementDefinitions={};Et.styles=Kd;Zd([y({type:Boolean})],Et.prototype,"multi",void 0);Zd([D("slot")],Et.prototype,"content",void 0);var _r={horizontalSpacing:o.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:o.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:o.external($.colorOutline,"Design system"),backgroundColor:o.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},qd=L`
|
|
1828
1841
|
.ft-accordion-item {
|
|
1829
1842
|
display: flex;
|
|
1830
1843
|
flex-direction: column;
|
|
1831
|
-
background-color: ${
|
|
1844
|
+
background-color: ${_r.backgroundColor};
|
|
1832
1845
|
}
|
|
1833
1846
|
|
|
1834
1847
|
.ft-accordion-item--toggle {
|
|
@@ -1838,8 +1851,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1838
1851
|
display: flex;
|
|
1839
1852
|
align-items: center;
|
|
1840
1853
|
cursor: pointer;
|
|
1841
|
-
padding: ${
|
|
1842
|
-
gap: calc(${
|
|
1854
|
+
padding: ${_r.verticalSpacing} ${_r.horizontalSpacing};
|
|
1855
|
+
gap: calc(${_r.horizontalSpacing} / 2);
|
|
1843
1856
|
outline: none;
|
|
1844
1857
|
}
|
|
1845
1858
|
|
|
@@ -1864,13 +1877,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1864
1877
|
.ft-accordion-item--active .ft-accordion-item--content {
|
|
1865
1878
|
height: initial;
|
|
1866
1879
|
overflow: visible;
|
|
1867
|
-
padding: ${
|
|
1880
|
+
padding: ${_r.verticalSpacing} ${_r.horizontalSpacing};
|
|
1868
1881
|
}
|
|
1869
1882
|
|
|
1870
1883
|
.ft-accordion-item--separator {
|
|
1871
|
-
border-bottom: 1px solid ${
|
|
1884
|
+
border-bottom: 1px solid ${_r.colorOutline};
|
|
1872
1885
|
}
|
|
1873
|
-
`;var
|
|
1886
|
+
`;var Ki=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},nt=class extends M{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return w`
|
|
1874
1887
|
<div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
|
|
1875
1888
|
<div class="ft-accordion-item--toggle"
|
|
1876
1889
|
part="toggle"
|
|
@@ -1900,7 +1913,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1900
1913
|
</div>
|
|
1901
1914
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
1902
1915
|
</div>
|
|
1903
|
-
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};nt.elementDefinitions={"ft-ripple":
|
|
1916
|
+
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};nt.elementDefinitions={"ft-ripple":J,"ft-typography":ae,"ft-icon":ye};nt.styles=qd;Ki([y()],nt.prototype,"icon",void 0);Ki([y()],nt.prototype,"iconVariant",void 0);Ki([y()],nt.prototype,"label",void 0);Ki([y({type:Boolean,reflect:!0})],nt.prototype,"active",void 0);H("ft-accordion")(Et);H("ft-accordion-item")(nt);var Yd=o.extend("--ft-chip-color","",$.colorOnSurface),We={backgroundColor:o.extend("--ft-chip-background-color","",$.colorSurface),color:Yd,fontSize:o.extend("--ft-chip-font-size","",ke.fontSize),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",Yd),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",$.colorOutline),opacityDisabled:o.external($.colorOpacityDisabled,"Design system")},Xd=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",$.colorOnPrimary)),As={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",$.colorPrimary)),color:Xd,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",Xd)},Jd={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Qd=[Sr,L`
|
|
1904
1917
|
:host {
|
|
1905
1918
|
display: inline-block;
|
|
1906
1919
|
max-width: 100%;
|
|
@@ -1916,20 +1929,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1916
1929
|
box-sizing: border-box;
|
|
1917
1930
|
pointer-events: auto;
|
|
1918
1931
|
|
|
1919
|
-
--ft-chip-internal-font-size: ${
|
|
1932
|
+
--ft-chip-internal-font-size: ${We.fontSize};
|
|
1920
1933
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1921
|
-
${v(
|
|
1922
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1923
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1934
|
+
${v(be.size,We.iconSize)};
|
|
1935
|
+
--ft-chip-internal-vertical-padding: ${We.verticalPadding};
|
|
1936
|
+
--ft-chip-internal-horizontal-padding: ${We.horizontalPadding};
|
|
1924
1937
|
--ft-chip-internal-icon-padding: 3px;
|
|
1925
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
1938
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${We.iconSize});
|
|
1926
1939
|
|
|
1927
|
-
border: 1px solid ${
|
|
1928
|
-
color: ${
|
|
1929
|
-
${v(
|
|
1930
|
-
border-radius: var(${
|
|
1940
|
+
border: 1px solid ${We.borderColor};
|
|
1941
|
+
color: ${We.color};
|
|
1942
|
+
${v(N.color,We.rippleColor)};
|
|
1943
|
+
border-radius: var(${Lt(We.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
1931
1944
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
1932
|
-
background-color: ${
|
|
1945
|
+
background-color: ${We.backgroundColor};
|
|
1933
1946
|
line-height: var(--ft-chip-internal-content-height);
|
|
1934
1947
|
}
|
|
1935
1948
|
|
|
@@ -1939,8 +1952,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1939
1952
|
|
|
1940
1953
|
.ft-chip--dense {
|
|
1941
1954
|
--ft-chip-internal-icon-padding: 3px;
|
|
1942
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1943
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1955
|
+
--ft-chip-internal-vertical-padding: ${Jd.verticalPadding};
|
|
1956
|
+
--ft-chip-internal-horizontal-padding: ${Jd.horizontalPadding};
|
|
1944
1957
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1945
1958
|
}
|
|
1946
1959
|
|
|
@@ -1952,15 +1965,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1952
1965
|
cursor: default;
|
|
1953
1966
|
pointer-events: none;
|
|
1954
1967
|
filter: grayscale(1);
|
|
1955
|
-
opacity: ${
|
|
1968
|
+
opacity: ${We.opacityDisabled};
|
|
1956
1969
|
}
|
|
1957
1970
|
|
|
1958
1971
|
.ft-chip--highlighted {
|
|
1959
1972
|
border: none;
|
|
1960
1973
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
1961
|
-
background-color: ${
|
|
1962
|
-
${v(
|
|
1963
|
-
color: ${
|
|
1974
|
+
background-color: ${As.backgroundColor};
|
|
1975
|
+
${v(N.color,As.rippleColor)};
|
|
1976
|
+
color: ${As.color};
|
|
1964
1977
|
}
|
|
1965
1978
|
|
|
1966
1979
|
.ft-chip--clickable {
|
|
@@ -1991,9 +2004,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1991
2004
|
}
|
|
1992
2005
|
|
|
1993
2006
|
.ft-chip--icon-button {
|
|
1994
|
-
${v(
|
|
1995
|
-
${v(
|
|
1996
|
-
${v(
|
|
2007
|
+
${v(te.iconSize,We.iconSize)};
|
|
2008
|
+
${v(te.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
2009
|
+
${v(te.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1997
2010
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
1998
2011
|
}
|
|
1999
2012
|
|
|
@@ -2001,8 +2014,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2001
2014
|
vertical-align: bottom;
|
|
2002
2015
|
display: block;
|
|
2003
2016
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
2004
|
-
${v(
|
|
2005
|
-
${v(
|
|
2017
|
+
${v(ke.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
2018
|
+
${v(ke.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
2006
2019
|
}
|
|
2007
2020
|
|
|
2008
2021
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -2038,7 +2051,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2038
2051
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
2039
2052
|
order: -1;
|
|
2040
2053
|
}
|
|
2041
|
-
`];var et=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},
|
|
2054
|
+
`];var et=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Zi=class extends CustomEvent{constructor(){super("icon-click")}},Ce=class extends M{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Rr};return w`
|
|
2042
2055
|
<div class="${pe(e)}"
|
|
2043
2056
|
aria-label="${this.getLabel()}"
|
|
2044
2057
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -2064,7 +2077,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2064
2077
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
2065
2078
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
2066
2079
|
</div>
|
|
2067
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new
|
|
2080
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Zi))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Zi))}getLabel(){return this.label||this.textContent}get textContent(){return Mr(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Ce.elementDefinitions={"ft-ripple":J,"ft-typography":ae,"ft-icon":ye,"ft-button":we};Ce.styles=Qd;et([y({type:Boolean})],Ce.prototype,"highlighted",void 0);et([y({type:Boolean})],Ce.prototype,"removable",void 0);et([y({type:Boolean})],Ce.prototype,"disabled",void 0);et([y({type:Boolean})],Ce.prototype,"clickable",void 0);et([y({type:Boolean})],Ce.prototype,"iconClickable",void 0);et([y({type:Boolean})],Ce.prototype,"dense",void 0);et([y({type:Boolean})],Ce.prototype,"multiLine",void 0);et([y()],Ce.prototype,"label",void 0);et([y()],Ce.prototype,"iconLabel",void 0);et([y()],Ce.prototype,"icon",void 0);et([y()],Ce.prototype,"iconVariant",void 0);et([y({type:Boolean})],Ce.prototype,"trailingIcon",void 0);et([D("ft-typography slot")],Ce.prototype,"slottedContent",void 0);var ep=[L`
|
|
2068
2081
|
:host {
|
|
2069
2082
|
display: inline-block;
|
|
2070
2083
|
max-width: 100%;
|
|
@@ -2082,95 +2095,95 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2082
2095
|
|
|
2083
2096
|
/* MEDIUM VARIANT */
|
|
2084
2097
|
.ftds--size-medium {
|
|
2085
|
-
min-height: ${
|
|
2086
|
-
padding: 0 ${
|
|
2087
|
-
border-radius: ${
|
|
2088
|
-
border-width: ${
|
|
2098
|
+
min-height: ${X.mediumMinHeight};
|
|
2099
|
+
padding: 0 ${X.mediumHorizontalPadding};
|
|
2100
|
+
border-radius: ${X.mediumBorderRadius};
|
|
2101
|
+
border-width: ${X.mediumBorderWidth};
|
|
2089
2102
|
border-style: solid;
|
|
2090
|
-
gap: ${
|
|
2091
|
-
${v(
|
|
2103
|
+
gap: ${X.mediumGap};
|
|
2104
|
+
${v(be.size,X.mediumIconSize)}
|
|
2092
2105
|
}
|
|
2093
2106
|
|
|
2094
2107
|
.ftds--size-medium.ftds-chip--removable {
|
|
2095
|
-
padding-right: ${
|
|
2108
|
+
padding-right: ${X.mediumButtonRightPadding};
|
|
2096
2109
|
}
|
|
2097
2110
|
|
|
2098
2111
|
|
|
2099
2112
|
/* LARGE VARIANT */
|
|
2100
2113
|
.ftds--size-large {
|
|
2101
|
-
min-height: ${
|
|
2102
|
-
padding: 0 ${
|
|
2103
|
-
border-radius: ${
|
|
2104
|
-
border-width: ${
|
|
2114
|
+
min-height: ${X.largeMinHeight};
|
|
2115
|
+
padding: 0 ${X.largeHorizontalPadding};
|
|
2116
|
+
border-radius: ${X.largeBorderRadius};
|
|
2117
|
+
border-width: ${X.largeBorderWidth};
|
|
2105
2118
|
border-style: solid;
|
|
2106
|
-
gap: ${
|
|
2107
|
-
${v(
|
|
2119
|
+
gap: ${X.largeGap};
|
|
2120
|
+
${v(be.size,X.largeIconSize)}
|
|
2108
2121
|
}
|
|
2109
2122
|
|
|
2110
2123
|
.ftds--size-large.ftds-chip--removable {
|
|
2111
|
-
padding-right: ${
|
|
2124
|
+
padding-right: ${X.largeButtonRightPadding};
|
|
2112
2125
|
}
|
|
2113
2126
|
|
|
2114
2127
|
|
|
2115
2128
|
/* NEUTRAL COLORS */
|
|
2116
2129
|
.ftds--family-neutral {
|
|
2117
|
-
background-color: ${
|
|
2118
|
-
border-color: ${
|
|
2119
|
-
color: ${
|
|
2130
|
+
background-color: ${X.neutralBackgroundColor};
|
|
2131
|
+
border-color: ${X.neutralBorderColor};
|
|
2132
|
+
color: ${X.neutralColor};
|
|
2120
2133
|
}
|
|
2121
2134
|
|
|
2122
2135
|
.ftds--family-neutral .ftds-chip--icon-container {
|
|
2123
|
-
color: ${
|
|
2136
|
+
color: ${X.neutralIconColor};
|
|
2124
2137
|
}
|
|
2125
2138
|
|
|
2126
2139
|
|
|
2127
2140
|
/* INFO COLORS */
|
|
2128
2141
|
.ftds--family-info {
|
|
2129
|
-
background-color: ${
|
|
2130
|
-
border-color: ${
|
|
2131
|
-
color: ${
|
|
2142
|
+
background-color: ${X.infoBackgroundColor};
|
|
2143
|
+
border-color: ${X.infoBorderColor};
|
|
2144
|
+
color: ${X.infoColor};
|
|
2132
2145
|
}
|
|
2133
2146
|
|
|
2134
2147
|
.ftds--family-info .ftds-chip--icon-container {
|
|
2135
|
-
color: ${
|
|
2148
|
+
color: ${X.infoIconColor};
|
|
2136
2149
|
}
|
|
2137
2150
|
|
|
2138
2151
|
|
|
2139
2152
|
/* SUCCESS COLORS */
|
|
2140
2153
|
.ftds--family-success {
|
|
2141
|
-
background-color: ${
|
|
2142
|
-
border-color: ${
|
|
2143
|
-
color: ${
|
|
2154
|
+
background-color: ${X.successBackgroundColor};
|
|
2155
|
+
border-color: ${X.successBorderColor};
|
|
2156
|
+
color: ${X.successColor};
|
|
2144
2157
|
}
|
|
2145
2158
|
|
|
2146
2159
|
.ftds--family-success .ftds-chip--icon-container {
|
|
2147
|
-
color: ${
|
|
2160
|
+
color: ${X.successIconColor};
|
|
2148
2161
|
}
|
|
2149
2162
|
|
|
2150
2163
|
|
|
2151
2164
|
/* WARNING COLORS */
|
|
2152
2165
|
.ftds--family-warning {
|
|
2153
|
-
background-color: ${
|
|
2154
|
-
border-color: ${
|
|
2155
|
-
color: ${
|
|
2166
|
+
background-color: ${X.warningBackgroundColor};
|
|
2167
|
+
border-color: ${X.warningBorderColor};
|
|
2168
|
+
color: ${X.warningColor};
|
|
2156
2169
|
}
|
|
2157
2170
|
|
|
2158
2171
|
.ftds--family-warning .ftds-chip--icon-container {
|
|
2159
|
-
color: ${
|
|
2172
|
+
color: ${X.warningIconColor};
|
|
2160
2173
|
}
|
|
2161
2174
|
|
|
2162
2175
|
|
|
2163
2176
|
/* ERROR COLORS */
|
|
2164
2177
|
.ftds--family-error {
|
|
2165
|
-
background-color: ${
|
|
2166
|
-
border-color: ${
|
|
2167
|
-
color: ${
|
|
2178
|
+
background-color: ${X.errorBackgroundColor};
|
|
2179
|
+
border-color: ${X.errorBorderColor};
|
|
2180
|
+
color: ${X.errorColor};
|
|
2168
2181
|
}
|
|
2169
2182
|
|
|
2170
2183
|
.ftds--family-error .ftds-chip--icon-container {
|
|
2171
|
-
color: ${
|
|
2184
|
+
color: ${X.errorIconColor};
|
|
2172
2185
|
}
|
|
2173
|
-
`];var
|
|
2186
|
+
`];var Ko=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Rs=class extends CustomEvent{constructor(){super("remove")}},pt=class extends Fo{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return w`
|
|
2174
2187
|
<div class="${pe(e)}"
|
|
2175
2188
|
aria-label="${this.getLabel()}"
|
|
2176
2189
|
part="chip">
|
|
@@ -2182,9 +2195,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2182
2195
|
</div>
|
|
2183
2196
|
`}renderIcon(){return this.icon?w`
|
|
2184
2197
|
<div class="ftds-chip--icon-container" part="icon-container">
|
|
2185
|
-
<ft-icon .variant=${
|
|
2198
|
+
<ft-icon .variant=${De.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
|
|
2186
2199
|
</div>
|
|
2187
|
-
`:
|
|
2200
|
+
`:z}renderRemoveButton(){return this.removable?w`
|
|
2188
2201
|
<ftds-button round
|
|
2189
2202
|
class="ftds-chip--remove-button"
|
|
2190
2203
|
@click=${this.dispatchRemoveEvent}
|
|
@@ -2194,25 +2207,25 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2194
2207
|
size=${this.resolveButtonSize()}
|
|
2195
2208
|
part="icon-button"
|
|
2196
2209
|
></ftds-button>
|
|
2197
|
-
`:
|
|
2210
|
+
`:z}resolveButtonSize(){switch(this.size){case $e.large:return $e.medium;case $e.medium:case $e.small:return $e.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Rs)}typographyVariant(){switch(this.size){case $e.large:return it.body2medium;case $e.medium:return it.caption1medium;case $e.small:return it.caption2medium}}};pt.elementDefinitions={"ft-typography":ae,"ft-icon":ye,"ftds-button":dt};pt.styles=ep;Ko([y({type:Boolean})],pt.prototype,"removable",void 0);Ko([y()],pt.prototype,"removeButtonLabel",void 0);Ko([y()],pt.prototype,"label",void 0);Ko([y()],pt.prototype,"icon",void 0);Ko([D("ft-typography slot")],pt.prototype,"slottedContent",void 0);H("ft-chip")(Ce);H("ftds-chip")(pt);var Y={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",$.colorOutline),textColor:o.extend("--ft-input-label-text-color","",$.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",$.colorOnSurfaceDisabled),colorSurface:o.external($.colorSurface,"Design system"),borderRadiusS:o.external($.borderRadiusS,"Design system"),colorError:o.external($.colorError,"Design system")},tp=L`
|
|
2198
2211
|
.ft-input-label {
|
|
2199
2212
|
position: absolute;
|
|
2200
2213
|
inset: 0;
|
|
2201
2214
|
display: flex;
|
|
2202
|
-
background-color: ${
|
|
2203
|
-
border-radius: ${
|
|
2215
|
+
background-color: ${Y.colorSurface};
|
|
2216
|
+
border-radius: ${Y.borderRadiusS} ${Y.borderRadiusS} 0 0;
|
|
2204
2217
|
}
|
|
2205
2218
|
|
|
2206
2219
|
.ft-input-label--outlined {
|
|
2207
|
-
border-radius: ${
|
|
2220
|
+
border-radius: ${Y.borderRadiusS};
|
|
2208
2221
|
}
|
|
2209
2222
|
|
|
2210
2223
|
.ft-input-label {
|
|
2211
|
-
border-color: ${
|
|
2224
|
+
border-color: ${Y.borderColor};
|
|
2212
2225
|
}
|
|
2213
2226
|
|
|
2214
2227
|
.ft-input-label.ft-input-label--in-error {
|
|
2215
|
-
border-color: ${
|
|
2228
|
+
border-color: ${Y.colorError}
|
|
2216
2229
|
}
|
|
2217
2230
|
|
|
2218
2231
|
.ft-input-label:before,
|
|
@@ -2225,7 +2238,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2225
2238
|
}
|
|
2226
2239
|
|
|
2227
2240
|
.ft-input-label:before {
|
|
2228
|
-
width: calc(${
|
|
2241
|
+
width: calc(${Y.horizontalSpacing} - 4px);
|
|
2229
2242
|
flex-shrink: 0;
|
|
2230
2243
|
}
|
|
2231
2244
|
|
|
@@ -2241,20 +2254,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2241
2254
|
border-bottom-width: 1px;
|
|
2242
2255
|
border-bottom-style: solid;
|
|
2243
2256
|
border-color: inherit;
|
|
2244
|
-
color: ${
|
|
2257
|
+
color: ${Y.textColor};
|
|
2245
2258
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
2246
|
-
max-width: calc(${
|
|
2259
|
+
max-width: calc(${Y.labelMaxWidth} - 2 * (${Y.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
2247
2260
|
text-overflow: ellipsis;
|
|
2248
|
-
${v(ct.fontSize,
|
|
2249
|
-
${v(ct.lineHeight,
|
|
2261
|
+
${v(ct.fontSize,Y.fontSize)};
|
|
2262
|
+
${v(ct.lineHeight,Y.fontSize)};
|
|
2250
2263
|
}
|
|
2251
2264
|
|
|
2252
2265
|
.ft-input-label--in-error .ft-input-label--text {
|
|
2253
|
-
color: ${
|
|
2266
|
+
color: ${Y.colorError}
|
|
2254
2267
|
}
|
|
2255
2268
|
|
|
2256
2269
|
.ft-input-label--disabled .ft-input-label--text {
|
|
2257
|
-
color: ${
|
|
2270
|
+
color: ${Y.disabledTextColor};
|
|
2258
2271
|
}
|
|
2259
2272
|
|
|
2260
2273
|
.ft-input-label--hidden-text {
|
|
@@ -2271,19 +2284,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2271
2284
|
overflow: hidden;
|
|
2272
2285
|
white-space: nowrap;
|
|
2273
2286
|
text-overflow: ellipsis;
|
|
2274
|
-
padding: ${
|
|
2275
|
-
margin: calc(${
|
|
2287
|
+
padding: ${Y.verticalSpacing} 4px;
|
|
2288
|
+
margin: calc(${Y.verticalSpacing} * -1) 0;
|
|
2276
2289
|
max-width: 100%;
|
|
2277
2290
|
box-sizing: border-box;
|
|
2278
2291
|
}
|
|
2279
2292
|
|
|
2280
2293
|
.ft-input-label--raised .ft-input-label--text {
|
|
2281
|
-
${v(ct.fontSize,
|
|
2282
|
-
${v(ct.lineHeight,
|
|
2294
|
+
${v(ct.fontSize,Y.raisedFontSize)};
|
|
2295
|
+
${v(ct.lineHeight,Y.raisedFontSize)};
|
|
2283
2296
|
}
|
|
2284
2297
|
|
|
2285
2298
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
2286
|
-
top: ${
|
|
2299
|
+
top: ${Y.verticalSpacing};
|
|
2287
2300
|
}
|
|
2288
2301
|
|
|
2289
2302
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -2296,27 +2309,27 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2296
2309
|
.ft-input-label--outlined:before {
|
|
2297
2310
|
border-left-width: 1px;
|
|
2298
2311
|
border-left-style: solid;
|
|
2299
|
-
border-radius: ${
|
|
2312
|
+
border-radius: ${Y.borderRadiusS} 0 0 ${Y.borderRadiusS};
|
|
2300
2313
|
}
|
|
2301
2314
|
|
|
2302
2315
|
.ft-input-label--outlined:after {
|
|
2303
2316
|
border-right-width: 1px;
|
|
2304
2317
|
border-right-style: solid;
|
|
2305
|
-
border-radius: 0 ${
|
|
2318
|
+
border-radius: 0 ${Y.borderRadiusS} ${Y.borderRadiusS} 0;
|
|
2306
2319
|
}
|
|
2307
2320
|
|
|
2308
2321
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
2309
2322
|
padding: 2px 4px;
|
|
2310
|
-
z-index: ${
|
|
2311
|
-
background-color: ${
|
|
2312
|
-
border-radius: ${
|
|
2323
|
+
z-index: ${Y.raisedZIndex};
|
|
2324
|
+
background-color: ${Y.colorSurface};
|
|
2325
|
+
border-radius: ${Y.borderRadiusS};
|
|
2313
2326
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
2314
2327
|
}
|
|
2315
2328
|
|
|
2316
2329
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
2317
2330
|
border-top: none;
|
|
2318
2331
|
}
|
|
2319
|
-
`;var
|
|
2332
|
+
`;var Zo=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},tt=class extends M{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return w`
|
|
2320
2333
|
<div class="${pe(e)}">
|
|
2321
2334
|
${this.text?w`
|
|
2322
2335
|
<div class="ft-input-label--text ft-typography--caption">
|
|
@@ -2325,7 +2338,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2325
2338
|
</div>
|
|
2326
2339
|
`:null}
|
|
2327
2340
|
</div>
|
|
2328
|
-
`}};tt.elementDefinitions={};tt.styles=[tr,
|
|
2341
|
+
`}};tt.elementDefinitions={};tt.styles=[tr,tp];Zo([y({type:String})],tt.prototype,"text",void 0);Zo([y({type:Boolean})],tt.prototype,"raised",void 0);Zo([y({type:Boolean})],tt.prototype,"outlined",void 0);Zo([y({type:Boolean})],tt.prototype,"disabled",void 0);Zo([y({type:Boolean})],tt.prototype,"error",void 0);H("ft-input-label")(tt);var re={labelSize:o.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:o.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:o.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:o.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:o.extend("--ft-select-selected-option-color","",$.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",$.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",$.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:o.external($.colorSurface,"Design system"),colorOnSurfaceDisabled:o.external($.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external($.colorPrimary,"Design system"),borderRadiusS:o.external($.borderRadiusS,"Design system"),elevation02:o.external($.elevation02,"Design system"),colorError:o.external($.colorError,"Design system")},rp=L`
|
|
2329
2342
|
*:focus {
|
|
2330
2343
|
outline: none;
|
|
2331
2344
|
}
|
|
@@ -2339,7 +2352,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2339
2352
|
.ft-select--main-panel {
|
|
2340
2353
|
position: relative;
|
|
2341
2354
|
display: flex;
|
|
2342
|
-
height: calc(4 * ${
|
|
2355
|
+
height: calc(4 * ${re.verticalSpacing} + ${re.labelSize} + ${re.selectedOptionSize});
|
|
2343
2356
|
}
|
|
2344
2357
|
|
|
2345
2358
|
.ft-select--input-panel {
|
|
@@ -2348,17 +2361,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2348
2361
|
display: flex;
|
|
2349
2362
|
align-items: center;
|
|
2350
2363
|
overflow: hidden;
|
|
2351
|
-
padding-left: ${
|
|
2352
|
-
padding-right: ${
|
|
2364
|
+
padding-left: ${re.horizontalSpacing};
|
|
2365
|
+
padding-right: ${re.horizontalSpacing};
|
|
2353
2366
|
gap: 8px;
|
|
2354
|
-
color: ${
|
|
2355
|
-
${v(
|
|
2367
|
+
color: ${re.selectedOptionColor};
|
|
2368
|
+
${v(N.color,re.selectedOptionColor)};
|
|
2356
2369
|
}
|
|
2357
2370
|
|
|
2358
2371
|
.ft-select--input-panel,
|
|
2359
2372
|
.ft-select--option {
|
|
2360
|
-
${v(
|
|
2361
|
-
${v(
|
|
2373
|
+
${v(N.opacityContentOnSurfaceHover,"0.08")};
|
|
2374
|
+
${v(N.opacityContentOnSurfacePressed,"0.04")};
|
|
2362
2375
|
}
|
|
2363
2376
|
|
|
2364
2377
|
.ft-select--input-panel > *:not(ft-ripple),
|
|
@@ -2368,7 +2381,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2368
2381
|
|
|
2369
2382
|
.ft-select--disabled .ft-select--input-panel,
|
|
2370
2383
|
.ft-select--disabled .ft-select--option {
|
|
2371
|
-
color: ${
|
|
2384
|
+
color: ${re.colorOnSurfaceDisabled};
|
|
2372
2385
|
}
|
|
2373
2386
|
|
|
2374
2387
|
.ft-select:not(.ft-select--disabled) .ft-select--input-panel,
|
|
@@ -2377,20 +2390,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2377
2390
|
}
|
|
2378
2391
|
|
|
2379
2392
|
ft-input-label {
|
|
2380
|
-
${v(
|
|
2381
|
-
${v(
|
|
2382
|
-
${v(
|
|
2383
|
-
${v(
|
|
2384
|
-
${v(
|
|
2393
|
+
${v(Y.fontSize,re.selectedOptionSize)};
|
|
2394
|
+
${v(Y.raisedFontSize,re.labelSize)};
|
|
2395
|
+
${v(Y.verticalSpacing,re.verticalSpacing)};
|
|
2396
|
+
${v(Y.horizontalSpacing,re.horizontalSpacing)};
|
|
2397
|
+
${v(Y.labelMaxWidth,`calc(100% - ${be.size} - 8px)`)};
|
|
2385
2398
|
}
|
|
2386
2399
|
|
|
2387
2400
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
2388
|
-
color: ${
|
|
2401
|
+
color: ${re.colorPrimary};
|
|
2389
2402
|
}
|
|
2390
2403
|
|
|
2391
2404
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
2392
|
-
${v(
|
|
2393
|
-
${v(
|
|
2405
|
+
${v(Y.borderColor,re.colorPrimary)};
|
|
2406
|
+
${v(Y.textColor,re.colorPrimary)};
|
|
2394
2407
|
}
|
|
2395
2408
|
|
|
2396
2409
|
.ft-select--selected-option {
|
|
@@ -2400,12 +2413,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2400
2413
|
overflow: hidden;
|
|
2401
2414
|
white-space: nowrap;
|
|
2402
2415
|
text-overflow: ellipsis;
|
|
2403
|
-
${v(Dt.fontSize,
|
|
2404
|
-
${v(Dt.lineHeight,
|
|
2416
|
+
${v(Dt.fontSize,re.selectedOptionSize)};
|
|
2417
|
+
${v(Dt.lineHeight,re.selectedOptionSize)};
|
|
2405
2418
|
}
|
|
2406
2419
|
|
|
2407
2420
|
.ft-select--in-error .ft-select--selected-option {
|
|
2408
|
-
color: ${
|
|
2421
|
+
color: ${re.colorError};
|
|
2409
2422
|
}
|
|
2410
2423
|
|
|
2411
2424
|
ft-icon {
|
|
@@ -2417,26 +2430,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2417
2430
|
}
|
|
2418
2431
|
|
|
2419
2432
|
.ft-select--filled .ft-select--input-panel {
|
|
2420
|
-
border-radius: ${
|
|
2433
|
+
border-radius: ${re.borderRadiusS} ${re.borderRadiusS} 0 0;
|
|
2421
2434
|
}
|
|
2422
2435
|
|
|
2423
2436
|
.ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
|
|
2424
2437
|
align-self: stretch;
|
|
2425
|
-
padding-top: calc(${
|
|
2438
|
+
padding-top: calc(${re.labelSize} + 2 * ${re.verticalSpacing});
|
|
2426
2439
|
}
|
|
2427
2440
|
|
|
2428
2441
|
.ft-select--outlined .ft-select--input-panel {
|
|
2429
|
-
border-radius: ${
|
|
2442
|
+
border-radius: ${re.borderRadiusS};
|
|
2430
2443
|
}
|
|
2431
2444
|
|
|
2432
2445
|
.ft-select--options {
|
|
2433
2446
|
display: none;
|
|
2434
2447
|
position: absolute;
|
|
2435
2448
|
top: 100%;
|
|
2436
|
-
color: ${
|
|
2437
|
-
background: ${
|
|
2438
|
-
z-index: ${
|
|
2439
|
-
box-shadow: ${
|
|
2449
|
+
color: ${re.optionsColor};
|
|
2450
|
+
background: ${re.colorSurface};
|
|
2451
|
+
z-index: ${re.optionsZIndex};
|
|
2452
|
+
box-shadow: ${re.elevation02};
|
|
2440
2453
|
}
|
|
2441
2454
|
|
|
2442
2455
|
.ft-select--fixed .ft-select--options {
|
|
@@ -2445,13 +2458,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2445
2458
|
|
|
2446
2459
|
.ft-select--options-displayed .ft-select--options {
|
|
2447
2460
|
display: block;
|
|
2448
|
-
max-height: ${
|
|
2461
|
+
max-height: ${re.optionsHeight};
|
|
2449
2462
|
overflow-y: auto;
|
|
2450
2463
|
}
|
|
2451
2464
|
|
|
2452
2465
|
.ft-select--option {
|
|
2453
2466
|
position: relative;
|
|
2454
|
-
padding: 4px ${
|
|
2467
|
+
padding: 4px ${re.horizontalSpacing};
|
|
2455
2468
|
min-height: 32px;
|
|
2456
2469
|
display: flex;
|
|
2457
2470
|
align-items: center;
|
|
@@ -2463,14 +2476,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2463
2476
|
}
|
|
2464
2477
|
|
|
2465
2478
|
.ft-select--helper-text {
|
|
2466
|
-
padding: 0 ${
|
|
2467
|
-
color: ${
|
|
2479
|
+
padding: 0 ${re.horizontalSpacing};
|
|
2480
|
+
color: ${re.helperColor};
|
|
2468
2481
|
}
|
|
2469
2482
|
|
|
2470
2483
|
.ft-select--in-error .ft-select--helper-text {
|
|
2471
|
-
color: ${
|
|
2484
|
+
color: ${re.colorError};
|
|
2472
2485
|
}
|
|
2473
|
-
`;var
|
|
2486
|
+
`;var ve=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},wt=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return w``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};wt.elementDefinitions={};ve([y({type:String})],wt.prototype,"label",void 0);ve([y({type:Object,converter:r=>r})],wt.prototype,"value",void 0);ve([y({type:Boolean,reflect:!0})],wt.prototype,"selected",void 0);var de=class extends M{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,t,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(t=this.selectedOption)===null||t===void 0?void 0:t.label)!==null&&i!==void 0?i:"").length>0,p={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return w`
|
|
2474
2487
|
<div class="${pe(p)}" part="container">
|
|
2475
2488
|
<div class="ft-select--main-panel" part="main-panel">
|
|
2476
2489
|
<ft-input-label text="${this.label}"
|
|
@@ -2519,7 +2532,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2519
2532
|
<ft-ripple ?primary=${t} ?activated=${t}></ft-ripple>
|
|
2520
2533
|
<span>${e.label}</span>
|
|
2521
2534
|
</div>
|
|
2522
|
-
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(t=>t.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var t,i;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(t=this.selectedOptionElement)!==null&&t!==void 0?t:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",
|
|
2535
|
+
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(t=>t.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var t,i;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(t=this.selectedOptionElement)!==null&&t!==void 0?t:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",To(this.mainPanel,this.optionsMenu,"bottom").then(({x:n,y:a})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${a}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var t;e.stopPropagation();let i=(t=this.optionsSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var t,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(t=this.mainPanel)===null||t===void 0||t.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break}l?.focus()}onOptionKeyDown(e,t){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(t),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var t,i;if(!Fe((t=this.selectedOption)===null||t===void 0?void 0:t.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};de.elementDefinitions={"ft-input-label":tt,"ft-typography":ae,"ft-ripple":J,"ft-icon":ye};de.styles=[io,tr,rp];ve([y({type:String})],de.prototype,"label",void 0);ve([y({type:String})],de.prototype,"ariaLabel",void 0);ve([y({type:String})],de.prototype,"helper",void 0);ve([y({type:Boolean})],de.prototype,"outlined",void 0);ve([y({type:Boolean})],de.prototype,"disabled",void 0);ve([y({type:Boolean})],de.prototype,"error",void 0);ve([y({type:Boolean})],de.prototype,"fixedMenuPosition",void 0);ve([y({type:Array})],de.prototype,"options",void 0);ve([W()],de.prototype,"selectedOption",void 0);ve([W()],de.prototype,"optionsDisplayed",void 0);ve([W()],de.prototype,"focusOptions",void 0);ve([D(".ft-select")],de.prototype,"container",void 0);ve([D(".ft-select--options")],de.prototype,"optionsMenu",void 0);ve([D(".ft-select--input-panel")],de.prototype,"mainPanel",void 0);ve([D(".ft-select--option:first-child")],de.prototype,"firstOption",void 0);ve([D(".ft-select--option:focus")],de.prototype,"focusedOption",void 0);ve([D(".ft-select--option.ft-select--option-selected")],de.prototype,"selectedOptionElement",void 0);ve([D(".ft-select--option:last-child")],de.prototype,"lastOption",void 0);ve([D("slot")],de.prototype,"optionsSlot",void 0);H("ft-select")(de);H("ft-select-option")(wt);var Pe={display:o.create("--ft-skeleton--display","","DISPLAY","block"),width:o.create("--ft-skeleton--width","","SIZE","100%"),height:o.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:o.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:o.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:o.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:o.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:o.external($.borderRadiusM,"Design system")},op=L`
|
|
2523
2536
|
:host {
|
|
2524
2537
|
width: ${Pe.width};
|
|
2525
2538
|
height: ${Pe.height};
|
|
@@ -2546,7 +2559,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2546
2559
|
background-position: calc(100vw + ${Pe.glareWidth}) 0, calc(${Pe.glareWidth} * -1) 0;
|
|
2547
2560
|
}
|
|
2548
2561
|
}
|
|
2549
|
-
`;var V={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",$.borderRadiusS),mobileOpenPosition:o.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:o.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:o.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:o.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:o.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:o.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:o.external($.colorSurface,"Design system"),colorOnSurface:o.external($.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external($.colorOnSurfaceMedium,"Design system"),colorOutline:o.external($.colorOutline,"Design system"),colorPrimary:o.external($.colorPrimary,"Design system"),elevation02:o.external($.elevation02,"Design system"),buttonColor:o.external(
|
|
2562
|
+
`;var V={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",$.borderRadiusS),mobileOpenPosition:o.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:o.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:o.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:o.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:o.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:o.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:o.external($.colorSurface,"Design system"),colorOnSurface:o.external($.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external($.colorOnSurfaceMedium,"Design system"),colorOutline:o.external($.colorOutline,"Design system"),colorPrimary:o.external($.colorPrimary,"Design system"),elevation02:o.external($.elevation02,"Design system"),buttonColor:o.external(te.color,"Button"),buttonRippleColor:o.external(te.rippleColor,"Button")},ip=L`
|
|
2550
2563
|
* {
|
|
2551
2564
|
box-sizing: border-box;
|
|
2552
2565
|
}
|
|
@@ -2655,11 +2668,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2655
2668
|
.ft-search-bar > ft-button,
|
|
2656
2669
|
.ft-search-bar--actions ft-button {
|
|
2657
2670
|
flex-shrink: 0;
|
|
2658
|
-
${v(
|
|
2671
|
+
${v(te.backgroundColor,"transparent")};
|
|
2659
2672
|
}
|
|
2660
2673
|
|
|
2661
2674
|
.ft-search-bar--left-action {
|
|
2662
|
-
${v(
|
|
2675
|
+
${v(te.borderRadius,`calc(${V.borderRadius} - 1px) 0 0 calc(${V.borderRadius} - 1px)`)};
|
|
2663
2676
|
border-right: 1px solid ${V.colorOutline};
|
|
2664
2677
|
height: 100%;
|
|
2665
2678
|
}
|
|
@@ -2669,7 +2682,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2669
2682
|
}
|
|
2670
2683
|
|
|
2671
2684
|
.ft-search-bar--floating-panel-open .ft-search-bar--left-action {
|
|
2672
|
-
${v(
|
|
2685
|
+
${v(te.borderRadius,`calc(${V.borderRadius} - 1px) 0 0 0`)};
|
|
2673
2686
|
}
|
|
2674
2687
|
|
|
2675
2688
|
.ft-search-bar .ft-search-bar--launch-search,
|
|
@@ -2683,9 +2696,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2683
2696
|
}
|
|
2684
2697
|
|
|
2685
2698
|
.ft-search-bar--left-action.ft-search-bar--content-locale {
|
|
2686
|
-
${v(
|
|
2687
|
-
${v(
|
|
2688
|
-
${v(
|
|
2699
|
+
${v(Y.borderColor,"transparent")};
|
|
2700
|
+
${v(Y.borderRadiusS,`calc(${V.borderRadius} - 1px)`)};
|
|
2701
|
+
${v(re.selectedOptionColor,V.buttonColor)};
|
|
2689
2702
|
}
|
|
2690
2703
|
|
|
2691
2704
|
.ft-search-bar--left-action.ft-search-bar--content-locale,
|
|
@@ -2741,14 +2754,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2741
2754
|
${v(T.fontWeight,"bold")};
|
|
2742
2755
|
}
|
|
2743
2756
|
|
|
2744
|
-
`,
|
|
2757
|
+
`,np=L`
|
|
2745
2758
|
.ft-search-bar--presets {
|
|
2746
2759
|
min-width: 200px;
|
|
2747
2760
|
}
|
|
2748
2761
|
|
|
2749
2762
|
.ft-search-bar--desktop-menu .ft-search-bar--presets {
|
|
2750
2763
|
margin-right: auto;
|
|
2751
|
-
${v(
|
|
2764
|
+
${v(re.optionsZIndex,"2")};
|
|
2752
2765
|
}
|
|
2753
2766
|
|
|
2754
2767
|
.ft-search-bar--desktop-menu {
|
|
@@ -2802,7 +2815,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2802
2815
|
.ft-search-bar--desktop-menu .ft-search-bar--filters-container {
|
|
2803
2816
|
display: block;
|
|
2804
2817
|
height: ${V.desktopFiltersHeight};
|
|
2805
|
-
${v(
|
|
2818
|
+
${v(ze.gap,"16px")};
|
|
2806
2819
|
}
|
|
2807
2820
|
|
|
2808
2821
|
.ft-search-bar--desktop-menu ft-filter {
|
|
@@ -2817,15 +2830,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2817
2830
|
}
|
|
2818
2831
|
|
|
2819
2832
|
.ft-search-bar--desktop-menu [data-filters-count="2"] ft-filter {
|
|
2820
|
-
max-width: calc(50% - ${
|
|
2833
|
+
max-width: calc(50% - ${ze.gap} / 2);
|
|
2821
2834
|
}
|
|
2822
2835
|
|
|
2823
2836
|
.ft-search-bar--desktop-menu [data-filters-count="3"] ft-filter {
|
|
2824
|
-
max-width: max(250px, calc(33% - 2 * ${
|
|
2837
|
+
max-width: max(250px, calc(33% - 2 * ${ze.gap} / 3));
|
|
2825
2838
|
}
|
|
2826
2839
|
|
|
2827
2840
|
.ft-search-bar--desktop-menu [data-filters-count="4"] ft-filter {
|
|
2828
|
-
max-width: max(250px, calc(25% - 3 * ${
|
|
2841
|
+
max-width: max(250px, calc(25% - 3 * ${ze.gap} / 4));
|
|
2829
2842
|
}
|
|
2830
2843
|
|
|
2831
2844
|
.ft-search-bar--hierarchical-filter {
|
|
@@ -2902,17 +2915,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2902
2915
|
.ft-search-bar--desktop-menu .ft-search-bar--launch-search {
|
|
2903
2916
|
margin: 0;
|
|
2904
2917
|
}
|
|
2905
|
-
`;var or=class extends
|
|
2906
|
-
`}};or.elementDefinitions={};or.styles=
|
|
2918
|
+
`;var or=class extends M{render(){return w`
|
|
2919
|
+
`}};or.elementDefinitions={};or.styles=op;H("ft-skeleton")(or);var At=class{constructor(e,t=300){this.searchBar=e,this.updateDebouncer=new ce(t)}render(){let e=this.searchBar.recentSearches.filter(i=>i.toLowerCase().includes(this.searchBar.query.toLowerCase())),t=this.searchBar.suggestions.length>0||e.length>0;return w`
|
|
2907
2920
|
<div class="ft-search-bar--suggestions ft-word-wrap ${t?"ft-search-bar--suggestions-not-empty":""}"
|
|
2908
2921
|
part="suggestions-container"
|
|
2909
2922
|
@keydown=${i=>this.onSuggestKeyDown(i)}>
|
|
2910
2923
|
${Re(e.slice(0,5),i=>i,i=>w`
|
|
2911
2924
|
<div part="suggestion-container">
|
|
2912
|
-
<a href="${this.
|
|
2925
|
+
<a href="${this.getRequestWithQuery(i)}"
|
|
2913
2926
|
part="suggestions"
|
|
2914
2927
|
class="ft-search-bar--suggestion ft-search-bar--recent-search"
|
|
2915
|
-
@keyup=${n=>this.onSuggestKeyUp(n
|
|
2928
|
+
@keyup=${n=>this.onSuggestKeyUp(n)}
|
|
2916
2929
|
@click=${n=>this.onSuggestClick(n,i)}>
|
|
2917
2930
|
<ft-ripple></ft-ripple>
|
|
2918
2931
|
<ft-icon variant="material" value="history" part="suggestion-icon"></ft-icon>
|
|
@@ -2930,10 +2943,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2930
2943
|
`)}
|
|
2931
2944
|
${Re(this.searchBar.suggestions,i=>i.value,i=>w`
|
|
2932
2945
|
<div part="suggestion-container">
|
|
2933
|
-
<a href="${this.
|
|
2946
|
+
<a href="${this.getRequestWithQuery(i.value)}"
|
|
2934
2947
|
part="suggestions"
|
|
2935
2948
|
class="ft-search-bar--suggestion"
|
|
2936
|
-
@keyup=${n=>this.onSuggestKeyUp(n
|
|
2949
|
+
@keyup=${n=>this.onSuggestKeyUp(n)}
|
|
2937
2950
|
@click=${n=>this.onSuggestClick(n,i.value)}>
|
|
2938
2951
|
<ft-ripple></ft-ripple>
|
|
2939
2952
|
${this.getIcon(i)}
|
|
@@ -2942,9 +2955,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2942
2955
|
</div>
|
|
2943
2956
|
`)}
|
|
2944
2957
|
</div>
|
|
2945
|
-
`}update(){return new Promise((e,t)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var t,i;switch(e.key){case"ArrowUp":(t=this.previousSuggestionElement())===null||t===void 0||t.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(i=this.nextSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break}}nextSuggestionElement(){var e,t;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(t=i?.nextElementSibling)===null||t===void 0?void 0:t.querySelector("[part=suggestions]");return n??this.getFirstSuggestionElement()}previousSuggestionElement(){var e,t;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(t=i?.previousElementSibling)===null||t===void 0?void 0:t.querySelector("[part=suggestions]");return n??this.getLastSuggestionElement()}onSuggestKeyUp(e
|
|
2958
|
+
`}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,t)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var t,i;switch(e.key){case"ArrowUp":(t=this.previousSuggestionElement())===null||t===void 0||t.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(i=this.nextSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break}}nextSuggestionElement(){var e,t;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(t=i?.nextElementSibling)===null||t===void 0?void 0:t.querySelector("[part=suggestions]");return n??this.getFirstSuggestionElement()}previousSuggestionElement(){var e,t;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(t=i?.previousElementSibling)===null||t===void 0?void 0:t.querySelector("[part=suggestions]");return n??this.getLastSuggestionElement()}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&e.target.click()}onSuggestClick(e,t){this.searchBar.setQuery(t),this.searchBar.onLaunchSearch()}removeRecentSearch(e,t){var i,n,a,s;e.preventDefault(),e.stopPropagation();let l=e.target.closest("[part='suggestion-container']"),d=(s=(n=(i=l?.previousElementSibling)===null||i===void 0?void 0:i.querySelector("[part='suggestions']"))!==null&&n!==void 0?n:(a=l?.nextElementSibling)===null||a===void 0?void 0:a.querySelector("[part='suggestions']"))!==null&&s!==void 0?s:this.searchBar.input;d?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(p=>p.toLowerCase()!==t.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let t=e.type==="DOCUMENT"?De.file_format:De.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?Ot.BOOK:Ot.ARTICLE;break;case"DOCUMENT":i=Md(e.mimeType,e.filenameExtension);break;case"TOPIC":i=Ot.TOPICS;break}return w`
|
|
2946
2959
|
<ft-icon .variant="${t}" .value="${i}" part="suggestion-icon"></ft-icon>
|
|
2947
|
-
`}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};At.styles=[
|
|
2960
|
+
`}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};At.styles=[Na,L`
|
|
2948
2961
|
.ft-search-bar--mobile .ft-search-bar--suggestions {
|
|
2949
2962
|
flex-grow: 1;
|
|
2950
2963
|
flex-shrink: 1;
|
|
@@ -3037,21 +3050,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3037
3050
|
${this.getLocaleLabel(this.searchBar.contentLocale)}
|
|
3038
3051
|
</ft-chip>
|
|
3039
3052
|
`:null}
|
|
3040
|
-
${Re(this.searchBar.facets,n=>n.key,n=>{let a=
|
|
3053
|
+
${Re(this.searchBar.facets,n=>n.key,n=>{let a=Ad(n);return Re(a,s=>{let l=n.label+": "+Cd(s),d=n.key.replace(":","-"),p=w`
|
|
3041
3054
|
<ft-chip
|
|
3042
3055
|
part="selected-filters selected-filter-${d}"
|
|
3043
3056
|
?dense=${this.searchBar.dense&&!e}
|
|
3044
3057
|
?clickable=${e}
|
|
3045
3058
|
?removable=${!e}
|
|
3046
|
-
icon=${e?
|
|
3059
|
+
icon=${e?z:"close"}
|
|
3047
3060
|
label="${l}"
|
|
3048
|
-
iconLabel=${e?
|
|
3049
|
-
title=${t?l:
|
|
3061
|
+
iconLabel=${e?z:"Remove "+l}
|
|
3062
|
+
title=${t?l:z}
|
|
3050
3063
|
@click=${()=>this.openMobileFilters(n.key)}
|
|
3051
3064
|
@icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(h=>h!==s))}
|
|
3052
3065
|
data-key="${n.key}"
|
|
3053
3066
|
data-value="${s}">
|
|
3054
|
-
${
|
|
3067
|
+
${Od(s)}
|
|
3055
3068
|
</ft-chip>
|
|
3056
3069
|
`;return t?p:w`
|
|
3057
3070
|
<ft-tooltip inline text="${l}">
|
|
@@ -3065,7 +3078,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3065
3078
|
@click=${()=>{this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0}}>
|
|
3066
3079
|
${this.searchBar.labelResolver.resolve("filtersButton")}
|
|
3067
3080
|
</ft-chip>
|
|
3068
|
-
`:
|
|
3081
|
+
`:z}
|
|
3069
3082
|
`;return t?w`
|
|
3070
3083
|
<ft-snap-scroll horizontal controls hideScrollbar limitSize
|
|
3071
3084
|
class="ft-search-bar--selected-filters"
|
|
@@ -3077,7 +3090,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3077
3090
|
<div class="ft-search-bar--selected-filters" part="selected-filters-container">
|
|
3078
3091
|
${i}
|
|
3079
3092
|
</div>
|
|
3080
|
-
`}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var t;return(t=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&t!==void 0?t:e}};Rt.styles=
|
|
3093
|
+
`}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var t;return(t=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&t!==void 0?t:e}};Rt.styles=L`
|
|
3081
3094
|
.ft-search-bar--selected-filters:not(ft-snap-scroll) {
|
|
3082
3095
|
flex-shrink: 0;
|
|
3083
3096
|
display: flex;
|
|
@@ -3088,7 +3101,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3088
3101
|
|
|
3089
3102
|
ft-snap-scroll.ft-search-bar--selected-filters {
|
|
3090
3103
|
overflow: hidden;
|
|
3091
|
-
${v(
|
|
3104
|
+
${v(ze.gap,"4px")};
|
|
3092
3105
|
}
|
|
3093
3106
|
|
|
3094
3107
|
ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
|
|
@@ -3096,8 +3109,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3096
3109
|
}
|
|
3097
3110
|
|
|
3098
3111
|
.ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
|
|
3099
|
-
${v(
|
|
3100
|
-
${v(
|
|
3112
|
+
${v(We.iconSize,"17px")};
|
|
3113
|
+
${v(We.fontSize,"12px")};
|
|
3101
3114
|
}
|
|
3102
3115
|
|
|
3103
3116
|
.ft-search-bar--selected-filters * {
|
|
@@ -3107,7 +3120,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3107
3120
|
.ft-search-bar--selected-filters ft-chip {
|
|
3108
3121
|
flex-grow: 0;
|
|
3109
3122
|
}
|
|
3110
|
-
`;var
|
|
3123
|
+
`;var qo=class{constructor(e,t,i){this.searchBar=e,this.selectedFacetsManager=t??new Rt(e),this.suggestManager=i??new At(e)}render(){let e={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return w`
|
|
3111
3124
|
<div class="${pe(e)}" part="container" tabindex="-1">
|
|
3112
3125
|
<div class="ft-search-bar" role="search">
|
|
3113
3126
|
<div class="ft-search-bar--input-container" part="input-container">
|
|
@@ -3128,12 +3141,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3128
3141
|
${this.searchBar.displayFacets?this.searchBar.renderMobileFacets():this.suggestManager.render()}
|
|
3129
3142
|
${this.searchBar.isMobileMenuOpen()||this.searchBar.displayFacets?w`
|
|
3130
3143
|
<ft-button class="ft-search-bar--launch-search"
|
|
3144
|
+
href="${this.searchBar.searchRequestSerializer(this.searchBar.request)}"
|
|
3131
3145
|
part="launch-search-in-panel"
|
|
3132
3146
|
icon="search"
|
|
3133
|
-
@click=${this.searchBar.
|
|
3147
|
+
@click=${()=>this.searchBar.onLaunchSearch()}>
|
|
3134
3148
|
${this.searchBar.labelResolver.resolve("searchButton")}
|
|
3135
3149
|
</ft-button>
|
|
3136
|
-
`:
|
|
3150
|
+
`:z}
|
|
3137
3151
|
</div>
|
|
3138
3152
|
`}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return w`
|
|
3139
3153
|
<div class="ft-search-bar--actions" part="search-bar-actions">
|
|
@@ -3147,25 +3161,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3147
3161
|
@click=${async()=>{this.searchBar.setQuery(""),this.searchBar.mobileMenuOpen=!1,this.searchBar.displayFacets=!1,await this.searchBar.focusInput()}}
|
|
3148
3162
|
></ft-button>
|
|
3149
3163
|
<div class="ft-search-bar--separator"></div>
|
|
3150
|
-
`:
|
|
3164
|
+
`:z}
|
|
3151
3165
|
<ft-button class="ft-search-bar--launch-search"
|
|
3166
|
+
href="${this.searchBar.isMobileMenuOpen()?this.searchBar.searchRequestSerializer(this.searchBar.request):""}"
|
|
3152
3167
|
part="launch-search-in-bar"
|
|
3153
3168
|
icon="search"
|
|
3154
3169
|
round
|
|
3155
3170
|
label="${this.searchBar.labelResolver.resolve("searchButton")}"
|
|
3156
3171
|
tooltipPosition="left"
|
|
3157
|
-
@click=${()=>{var t;return this.searchBar.isMobileMenuOpen()?this.searchBar.
|
|
3172
|
+
@click=${()=>{var t;return this.searchBar.isMobileMenuOpen()?this.searchBar.onLaunchSearch():(t=this.searchBar.input)===null||t===void 0?void 0:t.focus()}}
|
|
3158
3173
|
></ft-button>
|
|
3159
3174
|
</div>
|
|
3160
|
-
`}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.
|
|
3175
|
+
`}onSearchBarKeyUp(e){var t;e.key==="Enter"&&((t=this.searchBar.launchSearchButton)===null||t===void 0||t.click())}onInput(e){let t=e.composedPath()[0];this.searchBar.query=t.value}};qo.styles=L`
|
|
3161
3176
|
|
|
3162
|
-
`;var
|
|
3177
|
+
`;var Yo=class{constructor(e,t,i){this.searchBar=e,this.selectedFacetsManager=t??new Rt(e),this.suggestManager=i??new At(e)}render(){let e={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen,"ft-search-bar--react-to-focus":this.searchBar.reactToFocus};return w`
|
|
3163
3178
|
<div class="${pe(e)}" part="container" tabindex="-1">
|
|
3164
3179
|
<div class="ft-search-bar" part="search-bar" role="search">
|
|
3165
3180
|
${this.renderSearchBarLeftAction()}
|
|
3166
3181
|
<div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
|
|
3167
3182
|
<div class="ft-search-bar--input-outline" part="input-outline">
|
|
3168
|
-
${this.searchBar.dense?this.selectedFacetsManager.render():
|
|
3183
|
+
${this.searchBar.dense?this.selectedFacetsManager.render():z}
|
|
3169
3184
|
<input class="ft-search-bar--input ft-typography--body2"
|
|
3170
3185
|
part="input"
|
|
3171
3186
|
type="search"
|
|
@@ -3180,9 +3195,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3180
3195
|
${this.renderDesktopSearchBarButtons()}
|
|
3181
3196
|
${this.searchBar.renderDesktopFloatingMenu()}
|
|
3182
3197
|
</div>
|
|
3183
|
-
${this.searchBar.dense?
|
|
3198
|
+
${this.searchBar.dense?z:this.searchBar.forceMenuOpen?this.searchBar.renderDesktopMenu():this.selectedFacetsManager.render()}
|
|
3184
3199
|
</div>
|
|
3185
|
-
`}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?
|
|
3200
|
+
`}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?z:w`
|
|
3186
3201
|
<ft-button class="ft-search-bar--filters-opener ft-search-bar--left-action"
|
|
3187
3202
|
part="filters-opener"
|
|
3188
3203
|
trailingIcon
|
|
@@ -3208,7 +3223,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3208
3223
|
</ft-select-option>
|
|
3209
3224
|
`)}
|
|
3210
3225
|
</ft-select>
|
|
3211
|
-
`:
|
|
3226
|
+
`:z}renderDesktopSearchBarButtons(){return w`
|
|
3212
3227
|
<div class="ft-search-bar--actions"
|
|
3213
3228
|
part="search-bar-actions">
|
|
3214
3229
|
${this.searchBar.query?w`
|
|
@@ -3222,19 +3237,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3222
3237
|
<div class="ft-search-bar--separator"></div>
|
|
3223
3238
|
`:null}
|
|
3224
3239
|
<ft-button class="ft-search-bar--launch-search"
|
|
3240
|
+
href="${this.searchBar.searchRequestSerializer(this.searchBar.request)}"
|
|
3225
3241
|
part="launch-search-in-bar"
|
|
3226
3242
|
icon="search"
|
|
3227
3243
|
round dense
|
|
3228
3244
|
label="${this.searchBar.labelResolver.resolve("searchButton")}"
|
|
3229
|
-
@click=${()=>this.searchBar.
|
|
3245
|
+
@click=${()=>this.searchBar.onLaunchSearch()}
|
|
3230
3246
|
></ft-button>
|
|
3231
3247
|
</div>
|
|
3232
|
-
`}onSearchBarKeyDown(e){var t;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(t=this.searchBar.input)===null||t===void 0||t.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.
|
|
3248
|
+
`}onSearchBarKeyDown(e){var t;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(t=this.searchBar.input)===null||t===void 0||t.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){var t;e.key==="Enter"&&((t=this.searchBar.launchSearchButton)===null||t===void 0||t.click())}onInput(e){let t=e.composedPath()[0];this.searchBar.query=t.value}};Yo.styles=L`
|
|
3233
3249
|
|
|
3234
|
-
`;var
|
|
3235
|
-
`;var
|
|
3250
|
+
`;var ap=L`
|
|
3251
|
+
`;var qu="ft-app-info",$s=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Yu={session:(r,e)=>{Fe(r.session,e.payload)||(r.session=e.payload,setTimeout(()=>G.dispatchEvent(new $s(e.payload)),0))}},G=wr.get({name:qu,reducers:Yu,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var kr=class r{static get(e){let{baseUrl:t,apiIntegrationIdentifier:i}=G.getState(),n=e??i;if(t&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(t,n,!0)}static await(e){return new Promise(t=>{let i=r.get(e);if(i)t(i);else{let n=G.subscribe(()=>{i=r.get(e),i&&(n(),t(i))})}})}};var ir=class{constructor(e=!0,t){var i;this.overrideApi=t;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new yt,this.cache=e?n.commonCache:new yt}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:kr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):kr.await()}clearCache(){this.cache.clearAll()}};var sp,Xu=Symbol("clearAfterUnitTest"),qi=class extends ir{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[sp]=()=>{this.defaultMessages={},this.cache=new yt,this.listeners={}},this.currentUiLocale=G.getState().uiLocale,G.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=G.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let t=e.name.toLowerCase();this.cache.setFinal(t,e),this.notify(t)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,t){var i;if(e=e.toLowerCase(),Object.keys(t).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...t};Fe(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var t,i;return this.fetchContext(e),(i=(t=this.cache.getNow(e))===null||t===void 0?void 0:t.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,t){let i=e.toLowerCase();return this.resolveContext(i)[t]}resolveMessage(e,t,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Kt((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(t,...i)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(t){console.error(t)}}subscribe(e,t){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(t),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(t)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(t=>Si(0).then(()=>t()).catch(()=>null)))}};sp=Xu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends qi{constructor(){super(async(r,e)=>(await this.awaitApi).getFluidTopicsMessageContext(r,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends qi{constructor(){super(async(r,e)=>(await this.awaitApi).getCustomMessageContext(r,e))}});var lp=window.FluidTopicsI18nService,_$=window.FluidTopicsCustomI18nService;var Be=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},xe=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=()=>kr.get(),this.messageContexts=[],this.cache=new yt,this.cleanSessionDebouncer=new ce}render(){return w`
|
|
3236
3252
|
<slot></slot>
|
|
3237
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(K.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&K.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&K.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&K.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&K.actions.noCustom(this.noCustom),e.has("editorMode")&&K.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&K.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&K.actions.session(this.session),e.has("availableUiLocales")&&K.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(t=>np.addContext(t)),e.has("openExternalDocumentInNewTab")&&K.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&K.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&K.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())}};Ce.elementDefinitions={};Ce.styles=op;ze([m()],Ce.prototype,"baseUrl",void 0);ze([m()],Ce.prototype,"apiIntegrationIdentifier",void 0);ze([m()],Ce.prototype,"uiLocale",void 0);ze([ke(null)],Ce.prototype,"availableUiLocales",void 0);ze([ke(null)],Ce.prototype,"metadataConfiguration",void 0);ze([m({type:Boolean})],Ce.prototype,"editorMode",void 0);ze([m({type:Boolean})],Ce.prototype,"noCustom",void 0);ze([m({type:Boolean})],Ce.prototype,"openExternalDocumentInNewTab",void 0);ze([m({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],Ce.prototype,"noCustomComponent",void 0);ze([m({type:Boolean})],Ce.prototype,"withManualResources",void 0);ze([m({type:Boolean})],Ce.prototype,"navigatorOnline",void 0);ze([m({type:Boolean})],Ce.prototype,"forcedOffline",void 0);ze([m({type:Object})],Ce.prototype,"apiProvider",void 0);ze([ke([])],Ce.prototype,"messageContexts",void 0);ze([ke(void 0)],Ce.prototype,"session",void 0);var Ki=class extends ir{async listMySearches(){let e=K.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Zi=class extends ir{async listMyBookmarks(){let e=K.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Yu="ft-user-assets",qi=Er.get({name:Yu,initialState:{savedSearches:void 0,bookmarks:void 0}}),Rs=class{constructor(){this.currentSession=K.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Zi,this.savedSearchesService=new Ki,K.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=K.getState();Te((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),qi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),qi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();qi.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;qi.actions.bookmarks(t)}}},J$=new Rs;var $s=class{addCommand(e,t=!1){K.commands.add(e,t)}consumeCommand(e){return K.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new $s;var Ns=class{highlightHtml(e,t,i){Aa(e,t,i)}};window.FluidTopicsHighlightHtmlService=new Ns;var Ls=class{isDate(e){var t,i,n,a;return(a=(n=((i=(t=K.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,t){var i,n,a;return Yr.format(e,(i=t?.locale)!==null&&i!==void 0?i:K.getState().uiLocale,(n=t?.longFormat)!==null&&n!==void 0?n:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Ls;H("ft-app-context")(Ce);var ee=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var ap={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},ks=class extends CustomEvent{constructor(e){super("launch-search",{detail:e,bubbles:!0,composed:!0})}},_s=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Xu=()=>{},G=class extends D{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Kt(ap,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new qr(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=ot.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new At(this),this.selectedFacetsManager=new Rt(this),this.desktopSearchBarManager=new Ko(this),this.mobileSearchBarManager=new Go(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new le(10),this.updateLocalesDebouncer=new le(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(t=>t.contentLocales).catch(()=>[]).then(t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new le(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(t=>t===this.floatingContainer))},this.compareUnknownFilters=(e,t)=>e.valueFilter&&t.valueFilter?this.compareValueFilters(e.valueFilter,t.valueFilter):e.dateFilter&&t.dateFilter?this.compareDateFilters(e.dateFilter,t.dateFilter):e.rangeFilter&&t.rangeFilter?this.compareRangeFilters(e.rangeFilter,t.rangeFilter):!1,this.compareValueFilters=(e,t)=>e.negative==t.negative&&e.values.length===t.values.length&&e.values.every(i=>t.values.includes(i)),this.compareDateFilters=(e,t)=>e.type===t.type,this.compareRangeFilters=(e,t)=>e.from===t.from&&e.to===t.to,this.compareFilters=(e,t)=>e.key===t.key&&this.compareUnknownFilters(e,t),this.compareRequests=(e,t)=>(e.contentLocale==null||t.contentLocale==null||e.contentLocale===t.contentLocale)&&e.metadataFilters.length===t.metadataFilters.length&&e.metadataFilters.every(i=>t.metadataFilters.some(n=>this.compareFilters(i,n))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(t=>{var i,n;return((n=(i=t.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(t.key)}).map(t=>({id:t.key}));return[...this.displayedFilters.map(t=>({id:t})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===ot.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await vi(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return w`
|
|
3253
|
+
`}update(e){var t,i,n,a,s;super.update(e),e.has("baseUrl")&&(G.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&G.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&G.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&G.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&G.actions.noCustom(this.noCustom),e.has("editorMode")&&G.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&G.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&G.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>lp.addContext(l)),e.has("openExternalDocumentInNewTab")&&G.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&G.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&G.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(G.actions.defaultLocales((t=this.localesConfiguration)===null||t===void 0?void 0:t.defaultLocales),G.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),G.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};xe.elementDefinitions={};xe.styles=ap;Be([y()],xe.prototype,"baseUrl",void 0);Be([y()],xe.prototype,"apiIntegrationIdentifier",void 0);Be([y()],xe.prototype,"uiLocale",void 0);Be([_e(null)],xe.prototype,"availableUiLocales",void 0);Be([_e(null)],xe.prototype,"metadataConfiguration",void 0);Be([y({type:Boolean})],xe.prototype,"editorMode",void 0);Be([y({type:Boolean})],xe.prototype,"noCustom",void 0);Be([y({type:Boolean})],xe.prototype,"openExternalDocumentInNewTab",void 0);Be([y({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],xe.prototype,"noCustomComponent",void 0);Be([y({type:Boolean})],xe.prototype,"withManualResources",void 0);Be([y({type:Boolean})],xe.prototype,"navigatorOnline",void 0);Be([y({type:Boolean})],xe.prototype,"forcedOffline",void 0);Be([y({type:Object})],xe.prototype,"apiProvider",void 0);Be([_e([])],xe.prototype,"messageContexts",void 0);Be([_e(void 0)],xe.prototype,"session",void 0);Be([W()],xe.prototype,"localesConfiguration",void 0);var Yi=class extends ir{async listMySearches(){let e=G.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Xi=class extends ir{async listMyBookmarks(){let e=G.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Ju="ft-user-assets",Ji=wr.get({name:Ju,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ls=class{constructor(){this.currentSession=G.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Xi,this.savedSearchesService=new Yi,G.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=G.getState();Fe((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ji.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ji.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ji.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ji.actions.bookmarks(t)}}},iL=new Ls;var Ns=class{addCommand(e,t=!1){G.commands.add(e,t)}consumeCommand(e){return G.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ns;var _s=class{highlightHtml(e,t,i){$a(e,t,i)}};window.FluidTopicsHighlightHtmlService=new _s;var ks=class{isDate(e){var t,i,n,a;return(a=(n=((i=(t=G.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,t){var i,n,a;return Xr.format(e,(i=t?.locale)!==null&&i!==void 0?i:G.getState().uiLocale,(n=t?.longFormat)!==null&&n!==void 0?n:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ks;H("ft-app-context")(xe);var Q=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var cp={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},Ps=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Qu=()=>{},K=class extends M{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Kt(cp,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new Ar(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=ot.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new At(this),this.selectedFacetsManager=new Rt(this),this.desktopSearchBarManager=new Yo(this),this.mobileSearchBarManager=new qo(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new ce(10),this.updateLocalesDebouncer=new ce(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(t=>t.contentLocales).catch(()=>[]).then(t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new ce(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(t=>t===this.floatingContainer))},this.compareUnknownFilters=(e,t)=>e.valueFilter&&t.valueFilter?this.compareValueFilters(e.valueFilter,t.valueFilter):e.dateFilter&&t.dateFilter?this.compareDateFilters(e.dateFilter,t.dateFilter):e.rangeFilter&&t.rangeFilter?this.compareRangeFilters(e.rangeFilter,t.rangeFilter):!1,this.compareValueFilters=(e,t)=>e.negative==t.negative&&e.values.length===t.values.length&&e.values.every(i=>t.values.includes(i)),this.compareDateFilters=(e,t)=>e.type===t.type,this.compareRangeFilters=(e,t)=>e.from===t.from&&e.to===t.to,this.compareFilters=(e,t)=>e.key===t.key&&this.compareUnknownFilters(e,t),this.compareRequests=(e,t)=>(e.contentLocale==null||t.contentLocale==null||e.contentLocale===t.contentLocale)&&e.metadataFilters.length===t.metadataFilters.length&&e.metadataFilters.every(i=>t.metadataFilters.some(n=>this.compareFilters(i,n))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(t=>{var i,n;return((n=(i=t.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(t.key)}).map(t=>({id:t.key}));return[...this.displayedFilters.map(t=>({id:t})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===ot.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await Oi(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return w`
|
|
3238
3254
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
3239
3255
|
${this.renderSearchBar()}
|
|
3240
3256
|
`}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():w`
|
|
@@ -3252,14 +3268,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3252
3268
|
<ft-typography class="ft-search-bar--filter-label-values" variant="body2">
|
|
3253
3269
|
${e?.label}
|
|
3254
3270
|
</ft-typography>
|
|
3255
|
-
`:
|
|
3271
|
+
`:z}
|
|
3256
3272
|
</div>
|
|
3257
3273
|
<div part="content-locale-selector">
|
|
3258
3274
|
${this.getContentLocaleRadioGroup()}
|
|
3259
3275
|
</div>
|
|
3260
3276
|
</ft-accordion-item>
|
|
3261
3277
|
`:null}
|
|
3262
|
-
${Re(this.facets,t=>t.key,t=>{let i=
|
|
3278
|
+
${Re(this.facets,t=>t.key,t=>{let i=Ss(t),n=t.key.replace(":","-"),a=wd(i);return t.rootNodes.length>0?w`
|
|
3263
3279
|
<ft-accordion-item data-facet-key="${t.key}">
|
|
3264
3280
|
<div class="ft-search-bar--filter-label" slot="toggle">
|
|
3265
3281
|
<ft-typography variant="button">${t.label}</ft-typography>
|
|
@@ -3267,7 +3283,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3267
3283
|
<ft-typography class="ft-search-bar--filter-label-values" variant="body2">
|
|
3268
3284
|
${a.join(", ")}
|
|
3269
3285
|
</ft-typography>
|
|
3270
|
-
`:
|
|
3286
|
+
`:z}
|
|
3271
3287
|
</div>
|
|
3272
3288
|
<ft-filter
|
|
3273
3289
|
part="filters filter filter-${n}"
|
|
@@ -3284,7 +3300,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3284
3300
|
@change=${s=>this.setFilter(i.id,s.detail)}
|
|
3285
3301
|
></ft-filter>
|
|
3286
3302
|
</ft-accordion-item>
|
|
3287
|
-
`:
|
|
3303
|
+
`:z})}
|
|
3288
3304
|
</ft-accordion>
|
|
3289
3305
|
`}getContentLocaleRadioGroup(){var e;return w`
|
|
3290
3306
|
<ft-radio-group aria-labelledby="content_locale_radio_group_label"
|
|
@@ -3301,16 +3317,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3301
3317
|
${this.renderFacetsActions()}
|
|
3302
3318
|
${this.renderDesktopFacets()}
|
|
3303
3319
|
<div class="ft-search-bar--facets-actions">
|
|
3304
|
-
${this.forceMenuOpen?this.renderDesktopClearFilters():
|
|
3320
|
+
${this.forceMenuOpen?this.renderDesktopClearFilters():z}
|
|
3305
3321
|
<ft-button class="ft-search-bar--launch-search"
|
|
3322
|
+
href="${this.searchRequestSerializer(this.request)}"
|
|
3306
3323
|
part="launch-search-in-panel"
|
|
3307
3324
|
icon="search"
|
|
3308
|
-
@click=${this.
|
|
3325
|
+
@click=${()=>this.onLaunchSearch()}>
|
|
3309
3326
|
${this.labelResolver.resolve("searchButton")}
|
|
3310
3327
|
</ft-button>
|
|
3311
3328
|
</div>
|
|
3312
3329
|
</div>
|
|
3313
|
-
`:
|
|
3330
|
+
`:z}renderFacetsActions(){var e;return w`
|
|
3314
3331
|
<div class="ft-search-bar--facets-actions">
|
|
3315
3332
|
${this.hasPresets?w`
|
|
3316
3333
|
<ft-select
|
|
@@ -3326,16 +3343,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3326
3343
|
</ft-select-option>
|
|
3327
3344
|
`)}
|
|
3328
3345
|
</ft-select>
|
|
3329
|
-
`:
|
|
3346
|
+
`:z}
|
|
3330
3347
|
<slot name="facets-actions"></slot>
|
|
3331
|
-
${this.forceMenuOpen&&!this.isMobile()?
|
|
3348
|
+
${this.forceMenuOpen&&!this.isMobile()?z:this.renderDesktopClearFilters()}
|
|
3332
3349
|
</div>
|
|
3333
3350
|
`}renderDesktopClearFilters(){return this.metadataFilters.length>0?w`
|
|
3334
3351
|
<ft-button part="facets-actions"
|
|
3335
3352
|
@click=${this.clearFilters}>
|
|
3336
3353
|
${this.labelResolver.resolve("clearFilters")}
|
|
3337
3354
|
</ft-button>
|
|
3338
|
-
`:
|
|
3355
|
+
`:z}renderDesktopFacets(){return this.hasFacets()?w`
|
|
3339
3356
|
<ft-snap-scroll horizontal limitSize controls
|
|
3340
3357
|
class="ft-search-bar--filters-container"
|
|
3341
3358
|
part="filters-container"
|
|
@@ -3350,8 +3367,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3350
3367
|
</div>
|
|
3351
3368
|
${this.getContentLocaleRadioGroup()}
|
|
3352
3369
|
</div>
|
|
3353
|
-
`:
|
|
3354
|
-
${Re(this.facets,e=>e.key,e=>{let t=
|
|
3370
|
+
`:z}
|
|
3371
|
+
${Re(this.facets,e=>e.key,e=>{let t=Ss(e),i=t.options.some(a=>{var s,l;return((l=(s=a.subOptions)===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return w`
|
|
3355
3372
|
<ft-filter
|
|
3356
3373
|
class="${i?"ft-search-bar--hierarchical-filter":""}"
|
|
3357
3374
|
part="filters filter filter-${n}"
|
|
@@ -3370,14 +3387,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3370
3387
|
></ft-filter>
|
|
3371
3388
|
`})}
|
|
3372
3389
|
</ft-snap-scroll>
|
|
3373
|
-
`:
|
|
3390
|
+
`:z}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var t,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new Kt(cp,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=d=>this.availableContentLocales.some(p=>p.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(t=this.availableContentLocales[0])===null||t===void 0?void 0:t.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(p=>zi(p)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(d=>d.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new Ps(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var t,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((t=this.floatingContainer)===null||t===void 0||t.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let t=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),t.set(n.key,n)})).catch(Qu)),this.facets=[];for(let i of this.facetsRequest)t.has(i.id)?this.facets.push(t.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var t;e.key==="Escape"&&(this.displayFacets=!1,(t=this.filtersOpener)===null||t===void 0||t.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(t=>t.toLowerCase()!==this.query.toLowerCase()).filter((t,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!gs&&this.focusInput(),G.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),G.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,t){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&qe(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=t.includes(a.value))}),t.length&&i.push({key:e,valueFilter:{negative:!1,values:t}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(t=>qe(t.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?z:w`
|
|
3374
3391
|
<div class="ft-search-bar--floating-panel"
|
|
3375
3392
|
id="ft-search-bar-floating-panel"
|
|
3376
3393
|
@keyup=${this.onFloatingContainerKeyUp}
|
|
3377
3394
|
part="floating-panel"
|
|
3378
3395
|
tabindex="-1">
|
|
3379
3396
|
${this.renderDesktopMenu()}
|
|
3380
|
-
</div>`}enableFocusReactionOnAnyUserInteraction(){this.addEventListener("blur",this.enableFocusReactionCallback),this.addEventListener("click",this.enableFocusReactionCallback),this.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){this.reactToFocus=!0,this.removeEventListener("blur",this.enableFocusReactionCallback),this.removeEventListener("click",this.enableFocusReactionCallback),this.removeEventListener("keyup",this.enableFocusReactionCallback)}};
|
|
3397
|
+
</div>`}enableFocusReactionOnAnyUserInteraction(){this.addEventListener("blur",this.enableFocusReactionCallback),this.addEventListener("click",this.enableFocusReactionCallback),this.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){this.reactToFocus=!0,this.removeEventListener("blur",this.enableFocusReactionCallback),this.removeEventListener("click",this.enableFocusReactionCallback),this.removeEventListener("keyup",this.enableFocusReactionCallback)}};K.elementDefinitions={"ft-accordion":Et,"ft-accordion-item":nt,"ft-button":we,"ft-chip":Ce,"ft-filter":ne,"ft-filter-option":Qe,"ft-icon":ye,"ft-ripple":J,"ft-select":de,"ft-select-option":wt,"ft-size-watcher":Je,"ft-skeleton":or,"ft-snap-scroll":Ee,"ft-tooltip":he,"ft-typography":ae,"ft-radio-group":Ge,"ft-radio":Ae};K.styles=[io,Uo,ip,np,Rt.styles,At.styles];Q([y({type:Boolean})],K.prototype,"dense",void 0);Q([y()],K.prototype,"mode",void 0);Q([y({type:Boolean})],K.prototype,"forceMobileMenuOpen",void 0);Q([y({type:Boolean})],K.prototype,"forceMenuOpen",void 0);Q([y()],K.prototype,"baseUrl",void 0);Q([y()],K.prototype,"apiIntegrationIdentifier",void 0);Q([y()],K.prototype,"contentLocale",void 0);Q([W()],K.prototype,"availableContentLocales",void 0);Q([W()],K.prototype,"availableContentLocalesInitialized",void 0);Q([y()],K.prototype,"uiLocale",void 0);Q([_e({})],K.prototype,"labels",void 0);Q([_e([])],K.prototype,"displayedFilters",void 0);Q([_e([])],K.prototype,"presets",void 0);Q([y({type:String,reflect:!0})],K.prototype,"selectedPreset",void 0);Q([_e([])],K.prototype,"priors",void 0);Q([y()],K.prototype,"searchRequestSerializer",void 0);Q([y({type:Boolean})],K.prototype,"focusOnDisplay",void 0);Q([W()],K.prototype,"metadataFilters",void 0);Q([W()],K.prototype,"sizeCategory",void 0);Q([W()],K.prototype,"displayFacets",void 0);Q([W()],K.prototype,"mobileMenuOpen",void 0);Q([W()],K.prototype,"facets",void 0);Q([W()],K.prototype,"facetsInitialized",void 0);Q([D(".ft-search-bar--container")],K.prototype,"container",void 0);Q([D(".ft-search-bar--filters-opener")],K.prototype,"filtersOpener",void 0);Q([D(".ft-search-bar--floating-panel")],K.prototype,"floatingContainer",void 0);Q([D("ft-snap-scroll.ft-search-bar--filters-container")],K.prototype,"scrollingFiltersContainer",void 0);Q([D(".ft-search-bar--input")],K.prototype,"input",void 0);Q([D(".ft-search-bar--launch-search")],K.prototype,"launchSearchButton",void 0);Q([W()],K.prototype,"query",void 0);Q([W()],K.prototype,"suggestions",void 0);Q([W()],K.prototype,"recentSearches",void 0);Q([W()],K.prototype,"scrollToFacet",void 0);Q([W()],K.prototype,"api",void 0);Q([W()],K.prototype,"reactToFocus",void 0);Q([W()],K.prototype,"facetsLoaded",void 0);H("ft-search-bar")(K);})();
|
|
3381
3398
|
/*! Bundled license information:
|
|
3382
3399
|
|
|
3383
3400
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|