@fluid-topics/ft-search-bar 1.2.39 → 1.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-bar.light.js +242 -242
- package/build/ft-search-bar.min.js +208 -208
- package/package.json +15 -15
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?ne.substr(1,ne.length):ne}).forEach(function(ne){var de=ne.split(":"),te=de.shift().trim();if(te){var Do=de.join(":").trim();try{C.append(te,Do)}catch(wn){console.warn("Response "+wn.message)}}}),C}P.call(R.prototype);function re(y,C){if(!(this instanceof re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.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=C.statusText===void 0?"":""+C.statusText,this.headers=new u(C.headers),this.url=C.url||"",this._initBody(y)}P.call(re.prototype),re.prototype.clone=function(){return new re(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},re.error=function(){var y=new re(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var ee=[301,302,303,307,308];re.redirect=function(y,C){if(ee.indexOf(C)===-1)throw new RangeError("Invalid status code");return new re(null,{status:C,headers:{location:y}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,D){this.message=C,this.name=D;var ne=Error(C);this.stack=ne.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function z(y,C){return new Promise(function(D,ne){var de=new R(y,C);if(de.signal&&de.signal.aborted)return ne(new r.DOMException("Aborted","AbortError"));var te=new XMLHttpRequest;function Do(){te.abort()}te.onload=function(){var _e={statusText:te.statusText,headers:K(te.getAllResponseHeaders()||"")};de.url.indexOf("file://")===0&&(te.status<200||te.status>599)?_e.status=200:_e.status=te.status,_e.url="responseURL"in te?te.responseURL:_e.headers.get("X-Request-URL");var rr="response"in te?te.response:te.responseText;setTimeout(function(){D(new re(rr,_e))},0)},te.onerror=function(){setTimeout(function(){ne(new TypeError("Network request failed"))},0)},te.ontimeout=function(){setTimeout(function(){ne(new TypeError("Network request timed out"))},0)},te.onabort=function(){setTimeout(function(){ne(new r.DOMException("Aborted","AbortError"))},0)};function wn(_e){try{return _e===""&&n.location.href?n.location.href:_e}catch{return _e}}if(te.open(de.method,wn(de.url),!0),de.credentials==="include"?te.withCredentials=!0:de.credentials==="omit"&&(te.withCredentials=!1),"responseType"in te&&(i.blob?te.responseType="blob":i.arrayBuffer&&(te.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof u||n.Headers&&C.headers instanceof n.Headers)){var cs=[];Object.getOwnPropertyNames(C.headers).forEach(function(_e){cs.push(d(_e)),te.setRequestHeader(_e,f(C.headers[_e]))}),de.headers.forEach(function(_e,rr){cs.indexOf(rr)===-1&&te.setRequestHeader(rr,_e)})}else de.headers.forEach(function(_e,rr){te.setRequestHeader(rr,_e)});de.signal&&(de.signal.addEventListener("abort",Do),te.onreadystatechange=function(){te.readyState===4&&de.signal.removeEventListener("abort",Do)}),te.send(typeof de._bodyInit>"u"?null:de._bodyInit)})}return z.polyfill=!0,n.fetch||(n.fetch=z,n.Headers=u,n.Request=R,n.Response=re),r.Headers=u,r.Request=R,r.Response=re,r.fetch=z,r}({})})(fn);fn.fetch.ponyfill=!0;delete fn.fetch.polyfill;var Vr=pn.fetch?pn:fn;qt=Vr.fetch;qt.default=Vr.fetch;qt.fetch=Vr.fetch;qt.Headers=Vr.Headers;qt.Request=Vr.Request;qt.Response=Vr.Response;Vl.exports=qt});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,O){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(O)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=O.prototype.attributeChangedCallback,F=new Set(O.observedAttributes||[]);b(O,F,R);let K={elementClass:O,connectedCallback:O.prototype.connectedCallback,disconnectedCallback:O.prototype.disconnectedCallback,adoptedCallback:O.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:O.formAssociated,formAssociatedCallback:O.prototype.formAssociatedCallback,formDisabledCallback:O.prototype.formDisabledCallback,formResetCallback:O.prototype.formResetCallback,formStateRestoreCallback:O.prototype.formStateRestoreCallback,observedAttributes:F};this._definitionsByTag.set(A,K),this._definitionsByClass.set(O,K);let re=r.call(n,A);re||(re=u(A),e.call(n,A,re)),this===window.customElements&&(s.set(O,K),K.standInClass=re);let ee=this._awaitingUpgrade.get(A);if(ee){this._awaitingUpgrade.delete(A);for(let y of ee)a.delete(y),v(y,K,!0)}let z=this._whenDefinedPromises.get(A);return z!==void 0&&(z.resolve(O),this._whenDefinedPromises.delete(A)),O}upgrade(){$.push(this),n.upgrade.apply(n,arguments),$.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let O=this._getDefinition(A);if(O!==void 0)return Promise.resolve(O.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(F=>R.resolve=F),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,O,R){let F=this._awaitingUpgrade.get(O);F||this._awaitingUpgrade.set(O,F=new Set),R?F.add(A):F.delete(A)}};let d;window.HTMLElement=function(){let O=d;if(O)return d=void 0,O;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 O=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(O,this.constructor.prototype),i.set(O,R),O},window.HTMLElement.prototype=t.prototype;let f=A=>A===document||A instanceof ShadowRoot,h=A=>{let O=A.getRootNode();if(!f(O)){let R=$[$.length-1];if(R instanceof CustomElementRegistry)return R;O=R.getRootNode(),f(O)||(O=l.get(O)?.getRootNode()||document)}return O.customElements},u=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let F=h(R)||window.customElements,K=F._getDefinition(A);return K?v(R,K):a.set(R,F),R}connectedCallback(){let R=i.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=i.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=i.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=i.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=i.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=i.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},b=(A,O,R)=>{if(O.size===0||R===void 0)return;let F=A.prototype.setAttribute;F&&(A.prototype.setAttribute=function(ee,z){let y=ee.toLowerCase();if(O.has(y)){let C=this.getAttribute(y);F.call(this,y,z),R.call(this,y,C,z)}else F.call(this,y,z)});let K=A.prototype.removeAttribute;K&&(A.prototype.removeAttribute=function(ee){let z=ee.toLowerCase();if(O.has(z)){let y=this.getAttribute(z);K.call(this,z),R.call(this,z,y,null)}else K.call(this,z)});let re=A.prototype.toggleAttribute;re&&(A.prototype.toggleAttribute=function(ee,z){let y=ee.toLowerCase();if(O.has(y)){let C=this.getAttribute(y);re.call(this,y,z);let D=this.getAttribute(y);R.call(this,y,C,D)}else re.call(this,y,z)})},S=A=>{let O=Object.getPrototypeOf(A);if(O!==window.HTMLElement)return O===t?Object.setPrototypeOf(A,window.HTMLElement):S(O)},v=(A,O,R=!1)=>{Object.setPrototypeOf(A,O.elementClass.prototype),i.set(A,O),d=A;try{new O.elementClass}catch{S(O.elementClass),new O.elementClass}O.attributeChangedCallback&&O.observedAttributes.forEach(F=>{A.hasAttribute(F)&&O.attributeChangedCallback.call(A,F,null,A.getAttribute(F))}),R&&O.connectedCallback&&A.isConnected&&O.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let O=E.apply(this,arguments);return A.customElements&&(O.customElements=A.customElements),O};let $=[document],T=(A,O,R=void 0)=>{let F=(R?Object.getPrototypeOf(R):A.prototype)[O];A.prototype[O]=function(){$.push(this);let K=F.apply(R||this,arguments);return K!==void 0&&l.set(K,this),$.pop(),K}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let P=(A,O)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,O);Object.defineProperty(A.prototype,O,{...R,set(F){$.push(this),R.set.call(this,F),$.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 A=new WeakMap,O=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ee){let z=O.call(this,...ee);return A.set(z,this),z},R.forEach(ee=>{let z=window.ElementInternals.prototype,y=z[ee];z[ee]=function(...C){let D=A.get(this);if(i.get(D).formAssociated===!0)return y?.call(this,...C);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class F extends Array{constructor(z){super(...z),this._elements=z}get value(){return this._elements.find(z=>z.checked===!0)?.value||""}}class K{constructor(z){let y=new Map;z.forEach((C,D)=>{let ne=C.getAttribute("name"),de=y.get(ne)||[];this[+D]=C,de.push(C),y.set(ne,de)}),this.length=z.length,y.forEach((C,D)=>{C&&(C.length===1?this[D]=C[0]:this[D]=new F(C))})}namedItem(z){return this[z]}}let re=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ee=re.get.call(this,[]),z=[];for(let y of ee){let C=i.get(y);(!C||C.formAssociated===!0)&&z.push(y)}return new K(z)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var Mn={};ae(Mn,{CSSResult:()=>Er,LitElement:()=>Lt,ReactiveElement:()=>ft,_$LE:()=>zd,_$LH:()=>Dn,adoptStyles:()=>oo,css:()=>_,defaultConverter:()=>wr,getCompatibleStyle:()=>Fo,html:()=>w,isServer:()=>hu,mathml:()=>In,noChange:()=>Pe,notEqual:()=>io,nothing:()=>M,render:()=>Bn,supportsAdoptingStyleSheets:()=>ro,svg:()=>Pn,unsafeCSS:()=>At});var Bo=globalThis,ro=Bo.ShadowRoot&&(Bo.ShadyCSS===void 0||Bo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Rn=Symbol(),ds=new WeakMap,Er=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Rn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(ro&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=ds.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ds.set(r,e))}return e}toString(){return this.cssText}},At=t=>new Er(typeof t=="string"?t:t+"",void 0,Rn),_=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new Er(r,t,Rn)},oo=(t,e)=>{if(ro)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Bo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Fo=ro?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return At(r)})(t):t;var{is:_d,defineProperty:$d,getOwnPropertyDescriptor:Nd,getOwnPropertyNames:Td,getOwnPropertySymbols:Pd,getPrototypeOf:Id}=Object,Mo=globalThis,ps=Mo.trustedTypes,Dd=ps?ps.emptyScript:"",Bd=Mo.reactiveElementPolyfillSupport,no=(t,e)=>t,wr={toAttribute(t,e){switch(e){case Boolean:t=t?Dd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},io=(t,e)=>!_d(t,e),fs={attribute:!0,type:String,converter:wr,reflect:!1,useDefault:!1,hasChanged:io};Symbol.metadata??=Symbol("metadata"),Mo.litPropertyMetadata??=new WeakMap;var ft=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=fs){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&$d(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Nd(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??fs}static _$Ei(){if(this.hasOwnProperty(no("elementProperties")))return;let e=Id(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(no("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(no("properties"))){let r=this.properties,n=[...Td(r),...Pd(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Fo(i))}else e!==void 0&&r.push(Fo(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return oo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:wr).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:wr;this._$Em=i,this[i]=s.fromAttribute(r,a.type)??this._$Ej?.get(i)??null,this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){let i=this.constructor,a=this[e];if(n??=i.getPropertyOptions(e),!((n.hasChanged??io)(a,r)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};ft.elementStyles=[],ft.shadowRootOptions={mode:"open"},ft[no("elementProperties")]=new Map,ft[no("finalized")]=new Map,Bd?.({ReactiveElement:ft}),(Mo.reactiveElementVersions??=[]).push("2.1.0");var kn=globalThis,Uo=kn.trustedTypes,us=Uo?Uo.createPolicy("lit-html",{createHTML:t=>t}):void 0,_n="$lit$",Rt=`lit$${Math.random().toFixed(9).slice(2)}$`,$n="?"+Rt,Fd=`<${$n}>`,ir=document,so=()=>ir.createComment(""),lo=t=>t===null||typeof t!="object"&&typeof t!="function",Nn=Array.isArray,xs=t=>Nn(t)||typeof t?.[Symbol.iterator]=="function",Ln=`[
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ys=/'/g,gs=/"/g,vs=/^(?:script|style|textarea|title)$/i,Tn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),w=Tn(1),Pn=Tn(2),In=Tn(3),Pe=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),bs=new WeakMap,nr=ir.createTreeWalker(ir,129);function Ss(t,e){if(!Nn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return us!==void 0?us.createHTML(e):e}var Os=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=ao;for(let l=0;l<r;l++){let d=t[l],f,h,u=-1,b=0;for(;b<d.length&&(s.lastIndex=b,h=s.exec(d),h!==null);)b=s.lastIndex,s===ao?h[1]==="!--"?s=hs:h[1]!==void 0?s=ms:h[2]!==void 0?(vs.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=or):h[3]!==void 0&&(s=or):s===or?h[0]===">"?(s=i??ao,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?or:h[3]==='"'?gs:ys):s===gs||s===ys?s=or:s===hs||s===ms?s=ao:(s=or,i=void 0);let S=s===or&&t[l+1].startsWith("/>")?" ":"";a+=s===ao?d+Fd:u>=0?(n.push(f),d.slice(0,u)+_n+d.slice(u)+Rt+S):d+Rt+(u===-2?l:S)}return[Ss(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},co=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,h]=Os(e,r);if(this.el=t.createElement(f,n),nr.currentNode=this.el.content,r===2||r===3){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=nr.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(_n)){let b=h[s++],S=i.getAttribute(u).split(Rt),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?Wo:v[1]==="?"?Ho:v[1]==="@"?Vo:sr}),i.removeAttribute(u)}else u.startsWith(Rt)&&(d.push({type:6,index:a}),i.removeAttribute(u));if(vs.test(i.tagName)){let u=i.textContent.split(Rt),b=u.length-1;if(b>0){i.textContent=Uo?Uo.emptyScript:"";for(let S=0;S<b;S++)i.append(u[S],so()),nr.nextNode(),d.push({type:2,index:++a});i.append(u[b],so())}}}else if(i.nodeType===8)if(i.data===$n)d.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Rt,u+1))!==-1;)d.push({type:7,index:a}),u+=Rt.length-1}a++}}static createElement(e,r){let n=ir.createElement("template");return n.innerHTML=e,n}};function ar(t,e,r=t,n){if(e===Pe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=lo(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=ar(t,i._$AS(t,e.values),i,n)),e}var zo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??ir).importNode(r,!0);nr.currentNode=i;let a=nr.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Ar(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new jo(a,this,e)),this._$AV.push(f),d=n[++l]}s!==d?.index&&(a=nr.nextNode(),s++)}return nr.currentNode=ir,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Ar=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ar(this,e,r),lo(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==Pe&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):xs(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==M&&lo(this._$AH)?this._$AA.nextSibling.data=e:this.T(ir.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=co.createElement(Ss(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new zo(i,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=bs.get(e.strings);return r===void 0&&bs.set(e.strings,r=new co(e)),r}k(e){Nn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.O(so()),this.O(so()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},sr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=M,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ar(this,e,r,0),s=!lo(e)||e!==this._$AH&&e!==Pe,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=ar(this,l[n+d],r,d),f===Pe&&(f=this._$AH[d]),s||=!lo(f)||f!==this._$AH[d],f===M?e=M:e!==M&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!i&&this.j(e)}j(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Wo=class extends sr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===M?void 0:e}},Ho=class extends sr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Vo=class extends sr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=ar(this,e,r,0)??M)===Pe)return;let n=this._$AH,i=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},jo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ar(this,e)}},Dn={M:_n,P:Rt,A:$n,C:1,L:Os,R:zo,D:xs,V:ar,I:Ar,H:sr,N:Ho,U:Vo,B:Wo,F:jo},Md=kn.litHtmlPolyfillSupport;Md?.(co,Ar),(kn.litHtmlVersions??=[]).push("3.3.0");var Bn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ar(e.insertBefore(so(),a),a,void 0,r??{})}return i._$AI(t),i};var Fn=globalThis,Lt=class extends ft{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Bn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Pe}};Lt._$litElement$=!0,Lt.finalized=!0,Fn.litElementHydrateSupport?.({LitElement:Lt});var Ud=Fn.litElementPolyfillSupport;Ud?.({LitElement:Lt});var zd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Fn.litElementVersions??=[]).push("4.2.0");var hu=!1;var Hn={};ae(Hn,{customElement:()=>Wd,eventOptions:()=>Rr,property:()=>m,query:()=>B,queryAll:()=>Un,queryAssignedElements:()=>zn,queryAssignedNodes:()=>Wn,queryAsync:()=>jd,standardProperty:()=>Cs,state:()=>W});var Wd=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Hd={attribute:!0,type:String,converter:wr,reflect:!1,hasChanged:io},Cs=(t=Hd,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function m(t){return(e,r)=>typeof r=="object"?Cs(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}function W(t){return m({...t,state:!0,attribute:!1})}function Rr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var at=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function B(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return at(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return at(r,n,{get(){return a(this)}})}}var Vd;function Un(t){return(e,r)=>at(e,r,{get(){return(this.renderRoot??(Vd??=document.createDocumentFragment())).querySelectorAll(t)}})}function jd(t){return(e,r)=>at(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function zn(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return at(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function Wn(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return at(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Vn={};ae(Vn,{repeat:()=>Le});var Ft={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Mt=t=>(...e)=>({_$litDirective$:t,values:e}),ut=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:Gd}=Dn;var Es=()=>document.createComment(""),Lr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Es(),i),s=n.insertBefore(Es(),i);r=new Gd(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||l){let d=r._$AA;for(;d!==a;){let f=d.nextSibling;n.insertBefore(d,i),d=f}}}return r},Ut=(t,e,r=t)=>(t._$AI(e,r),t),Kd={},ws=(t,e=Kd)=>t._$AH=e,As=t=>t._$AH,Go=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var Rs=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Le=Mt(class extends ut{constructor(t){if(super(t),t.type!==Ft.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let i=As(t),{values:a,keys:s}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],d=[],f,h,u=0,b=i.length-1,S=0,v=a.length-1;for(;u<=b&&S<=v;)if(i[u]===null)u++;else if(i[b]===null)b--;else if(l[u]===s[S])d[S]=Ut(i[u],a[S]),u++,S++;else if(l[b]===s[v])d[v]=Ut(i[b],a[v]),b--,v--;else if(l[u]===s[v])d[v]=Ut(i[u],a[v]),Lr(t,d[v+1],i[u]),u++,v--;else if(l[b]===s[S])d[S]=Ut(i[b],a[S]),Lr(t,i[u],i[b]),b--,S++;else if(f===void 0&&(f=Rs(s,S,v),h=Rs(l,u,b)),f.has(l[u]))if(f.has(l[b])){let E=h.get(s[S]),$=E!==void 0?i[E]:null;if($===null){let T=Lr(t,i[u]);Ut(T,a[S]),d[S]=T}else d[S]=Ut($,a[S]),Lr(t,i[u],$),i[E]=null;S++}else Go(i[b]),b--;else Go(i[u]),u++;for(;S<=v;){let E=Lr(t,d[v+1]);Ut(E,a[S]),d[S++]=E}for(;u<=b;){let E=i[u++];E!==null&&Go(E)}return this.ut=s,ws(t,d),Pe}});var jn={};ae(jn,{classMap:()=>pe});var pe=Mt(class extends ut{constructor(t){if(super(t),t.type!==Ft.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return Pe}});var Gn={};ae(Gn,{styleMap:()=>qd});var Ls="important",Zd=" !"+Ls,qd=Mt(class extends ut{constructor(t){if(super(t),t.type!==Ft.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Zd);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Ls:""):r[n]=i}}return Pe}});var Zn={};ae(Zn,{UnsafeHTMLDirective:()=>kr,unsafeHTML:()=>Kn});var kr=class extends ut{constructor(e){if(super(e),this.it=M,e.type!==Ft.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===M||e==null)return this._t=void 0,this.it=e;if(e===Pe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};kr.directiveName="unsafeHTML",kr.resultType=1;var Kn=Mt(kr);var ti={};ae(ti,{CacheRegistry:()=>ht,ClearCacheEvent:()=>fo});var Yn={};ae(Yn,{CancelablePromise:()=>_r,CanceledPromiseError:()=>po,cancelable:()=>qn});var po=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},_r=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new po("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new po("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},qn=t=>new _r((e,r)=>t.then(e).catch(r));var ei={};ae(ei,{FtNotificationEvent:()=>Xn,PostResizeEvent:()=>Qn,PreResizeEvent:()=>Jn,WithEventBus:()=>lr,withEventBus:()=>ks});var Xn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Jn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Qn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function ks(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}var lr=class extends ks(Object){};var fo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},ht=class extends lr{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new fo(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new fo([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof _r&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=qn(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var oi={};ae(oi,{ClusteringHelper:()=>ri});var ri=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e){var r,n,i,a,s;let l=((a=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(i=e.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,n)).filter(a=>a!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(l.join(" > ")),r&&r>1&&l.length>=r?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",i,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(u=>t.extractResultMetadata({result:u,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(u=>u??{key:e,label:f,value:void 0,displayValue:n}).filter(u=>u.value!=d?.value).filter((u,b,S)=>S.findIndex(v=>v.value===u.value)===b).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,b)=>this.compareMetadata(u.metadata.value,b.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var ni={};ae(ni,{Debouncer:()=>le});var le=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var si={};ae(si,{customElement:()=>H,isNumber:()=>$s,jsonProperty:()=>$e,optionalNumberProperty:()=>tp});var ai={};ae(ai,{dateReviver:()=>Xd,deepEqual:()=>Me,delay:()=>Ko,eventPathContainsMatchingElement:()=>Qd,flatDeep:()=>Ze,getComposedPathTo:()=>ii,hasChanged:()=>cr,last:()=>ep,minmax:()=>uo,parseDate:()=>_s,unslotText:()=>$r,waitFor:()=>Zo,waitUntil:()=>Yd});var Ko=t=>new Promise(e=>setTimeout(e,t));async function Yd(t,e=10,r=2e4){await Zo(async()=>await t()||void 0,e,r)}async function Zo(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Ko(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ze(t,e){return t.flatMap(r=>[r,...Ze(e(r),e)])}function Xd(...t){return function(e,r){return t.includes(e)?_s(r):r}}function _s(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function Jd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Me(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Me(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(i=a(t),r=i.length,r!==a(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){let s=i[n];if(!Me(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Me(t,e){try{return Jd(t,e)}catch{return!1}}function cr(t,e){return!Me(t,e)}function Qd(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function uo(t,e,r){return Math.min(Math.max(t,e),r)}function ep(t){return t[t.length-1]}function $r(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>$r(e)).join(""):t?.textContent||""}function ii(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}var H=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function $e(t,e){let r=()=>JSON.parse(JSON.stringify(t));return m({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:cr,...e??{}})}function tp(t){return m({type:Object,converter:{fromAttribute:e=>{if(e!=null)return $s(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function $s(t){return!isNaN(parseFloat(t))}var Di={};ae(Di,{designSystemVariables:()=>L});var Ii={};ae(Ii,{DesignSystemFamily:()=>_t,DesignSystemSize:()=>ke,FtCssVariableFactory:()=>o,badge:()=>lp,banner:()=>sp,button:()=>g,chart:()=>Ep,checkbox:()=>op,chip:()=>Y,chipChoice:()=>ip,collapsible:()=>Op,comboboxMultiSelect:()=>vp,comboboxSingleSelect:()=>xp,drawer:()=>hp,floatingMenu:()=>bp,foundation:()=>c,link:()=>ap,modal:()=>up,notice:()=>Ap,notification:()=>kp,pageDesigner:()=>wp,pageFooter:()=>pp,pageHeader:()=>dp,pageLayout:()=>fp,popover:()=>Sp,radio:()=>Lp,reorderableList:()=>$p,resolveFamilyClass:()=>Ti,resolveSizeClass:()=>Pi,semantic:()=>p,setVariable:()=>x,switch_:()=>Cp,table:()=>np,tabs:()=>mp,textArea:()=>gp,textInput:()=>yp,titleBreadcrumb:()=>cp,toggle:()=>Rp,tooltip:()=>_p,typographies:()=>ho,typographyBody1Medium:()=>ui,typographyBody1Regular:()=>fi,typographyBody1Semibold:()=>hi,typographyBody2Medium:()=>yi,typographyBody2MediumUnderline:()=>Ns,typographyBody2Regular:()=>mi,typographyBody2Semibold:()=>gi,typographyCaption1Bold:()=>Ai,typographyCaption1Medium:()=>Ei,typographyCaption1Semibold:()=>wi,typographyCaption2Bold:()=>ki,typographyCaption2Medium:()=>Ri,typographyCaption2Semibold:()=>Li,typographyCaption3Bold:()=>Ni,typographyCaption3Medium:()=>_i,typographyCaption3Semibold:()=>$i,typographyDisplay:()=>li,typographyLabel1Bold:()=>vi,typographyLabel1Medium:()=>bi,typographyLabel1Semibold:()=>xi,typographyLabel2Bold:()=>Ci,typographyLabel2Medium:()=>Si,typographyLabel2Semibold:()=>Oi,typographyTitle1:()=>ci,typographyTitle2:()=>di,typographyTitle3:()=>pi,typographyVariants:()=>rp});var kt=t=>typeof t=="string"?At(t):t,o=class{static create(e,r,n,i){let a=l=>kt(l??i),s=_`var(${kt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${kt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=_`var(${kt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${kt(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):kt(a??e.lastResortDefaultValue()),i=_`var(${kt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>_`var(${kt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function x(t,e){return kt(`${t.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(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},li={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")},ci={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},di={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},pi={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},fi={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ui={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},hi={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},mi={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},yi={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")},Ns={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")},gi={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},bi={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},xi={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},vi={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Si={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Oi={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ci={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ei={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},wi={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ai={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ri={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Li={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")},ki={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")},_i={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")},$i={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")},Ni={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")},ho={display:li,"title-1":ci,"title-2":di,"title-3":pi,"body-1-regular":fi,"body-1-medium":ui,"body-1-semibold":hi,"body-2-regular":mi,"body-2-medium":yi,"body-2-medium-underline":Ns,"body-2-semibold":gi,"label-1-medium":bi,"label-1-semibold":xi,"label-1-bold":vi,"label-2-medium":Si,"label-2-semibold":Oi,"label-2-bold":Ci,"caption-1-medium":Ei,"caption-1-semibold":wi,"caption-1-bold":Ai,"caption-2-medium":Ri,"caption-2-semibold":Li,"caption-2-bold":ki,"caption-3-medium":_i,"caption-3-semibold":$i,"caption-3-bold":Ni},rp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
-
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 g={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var op={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)};var np={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)};var ip={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var 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","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var ap={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var sp={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var lp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)};var cp={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var dp={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var pp={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var fp={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var up={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var hp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var mp={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var yp={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","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var gp={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var bp={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var xp={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","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var vp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Sp={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.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 Op={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Cp={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Ep={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var wp={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 Ap={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var Rp={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var Lp={color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)};var kp={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var _p={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var $p={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var _t;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(_t||(_t={}));var ke;(function(t){t.large="large",t.medium="medium",t.small="small"})(ke||(ke={}));function Ti(t){return`ftds--family-${t}`}function Pi(t){return`ftds--size-${t}`}var L={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ji={};ae(Ji,{computeOffsetAutoPosition:()=>Xi,computeOffsetPosition:()=>Yi});var Ps=["top","right","bottom","left"],Ts=["start","end"],Fi=Ps.reduce((t,e)=>t.concat(e,e+"-"+Ts[0],e+"-"+Ts[1]),[]),qo=Math.min,zt=Math.max;var Np={left:"right",right:"left",bottom:"top",top:"bottom"},Tp={start:"end",end:"start"};function Mi(t,e,r){return zt(t,qo(e,r))}function Nr(t,e){return typeof t=="function"?t(e):t}function Wt(t){return t.split("-")[0]}function mt(t){return t.split("-")[1]}function Ui(t){return t==="x"?"y":"x"}function zi(t){return t==="y"?"height":"width"}function Tr(t){return["top","bottom"].includes(Wt(t))?"y":"x"}function Wi(t){return Ui(Tr(t))}function Is(t,e,r){r===void 0&&(r=!1);let n=mt(t),i=Wi(t),a=zi(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Bi(s)),[s,Bi(s)]}function Ds(t){return t.replace(/start|end/g,e=>Tp[e])}function Bi(t){return t.replace(/left|right|bottom|top/g,e=>Np[e])}function Pp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Bs(t){return typeof t!="number"?Pp(t):{top:t,right:t,bottom:t,left:t}}function dr(t){let{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function Fs(t,e,r){let{reference:n,floating:i}=t,a=Tr(e),s=Wi(e),l=zi(s),d=Wt(e),f=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,b=n[l]/2-i[l]/2,S;switch(d){case"top":S={x:h,y:n.y-i.height};break;case"bottom":S={x:h,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:u};break;case"left":S={x:n.x-i.width,y:u};break;default:S={x:n.x,y:n.y}}switch(mt(e)){case"start":S[s]-=b*(r&&f?-1:1);break;case"end":S[s]+=b*(r&&f?-1:1);break}return S}var Ms=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:u}=Fs(f,n,d),b=n,S={},v=0;for(let E=0;E<l.length;E++){let{name:$,fn:T}=l[E],{x:P,y:A,data:O,reset:R}=await T({x:h,y:u,initialPlacement:n,placement:b,strategy:i,middlewareData:S,rects:f,platform:s,elements:{reference:t,floating:e}});h=P??h,u=A??u,S={...S,[$]:{...S[$],...O}},R&&v<=50&&(v++,typeof R=="object"&&(R.placement&&(b=R.placement),R.rects&&(f=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):R.rects),{x:h,y:u}=Fs(f,b,d)),E=-1)}return{x:h,y:u,placement:b,strategy:i,middlewareData:S}};async function Yo(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:b=!1,padding:S=0}=Nr(e,t),v=Bs(S),$=l[b?u==="floating"?"reference":"floating":u],T=dr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement($)))==null||r?$:$.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),P=u==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),O=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=dr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:A,strategy:d}):P);return{top:(T.top-R.top+v.top)/O.y,bottom:(R.bottom-T.bottom+v.bottom)/O.y,left:(T.left-R.left+v.left)/O.x,right:(R.right-T.right+v.right)/O.x}}function Ip(t,e,r){return(t?[...r.filter(i=>mt(i)===t),...r.filter(i=>mt(i)!==t)]:r.filter(i=>Wt(i)===i)).filter(i=>t?mt(i)===t||(e?Ds(i)!==i:!1):!0)}var Xo=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:b=Fi,autoAlignment:S=!0,...v}=Nr(t,e),E=u!==void 0||b===Fi?Ip(u||null,S,b):b,$=await Yo(e,v),T=((r=s.autoPlacement)==null?void 0:r.index)||0,P=E[T];if(P==null)return{};let A=Is(P,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==P)return{reset:{placement:E[0]}};let O=[$[Wt(P)],$[A[0]],$[A[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:O}],F=E[T+1];if(F)return{data:{index:T+1,overflows:R},reset:{placement:F}};let K=R.map(z=>{let y=mt(z.placement);return[z.placement,y&&h?z.overflows.slice(0,2).reduce((C,D)=>C+D,0):z.overflows[0],z.overflows]}).sort((z,y)=>z[1]-y[1]),ee=((i=K.filter(z=>z[2].slice(0,mt(z[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||K[0][0];return ee!==l?{data:{index:T+1,overflows:R},reset:{placement:ee}}:{}}}};async function Dp(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Wt(r),l=mt(r),d=Tr(r)==="y",f=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,u=Nr(e,t),{mainAxis:b,crossAxis:S,alignmentAxis:v}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof v=="number"&&(S=l==="end"?v*-1:v),d?{x:S*h,y:b*f}:{x:b*f,y:S*h}}var Hi=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:a,placement:s,middlewareData:l}=e,d=await Dp(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},Vi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:$=>{let{x:T,y:P}=$;return{x:T,y:P}}},...d}=Nr(t,e),f={x:r,y:n},h=await Yo(e,d),u=Tr(Wt(i)),b=Ui(u),S=f[b],v=f[u];if(a){let $=b==="y"?"top":"left",T=b==="y"?"bottom":"right",P=S+h[$],A=S-h[T];S=Mi(P,S,A)}if(s){let $=u==="y"?"top":"left",T=u==="y"?"bottom":"right",P=v+h[$],A=v-h[T];v=Mi(P,v,A)}let E=l.fn({...e,[b]:S,[u]:v});return{...E,data:{x:E.x-r,y:E.y-n,enabled:{[b]:a,[u]:s}}}}}};var ji=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;let{placement:i,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=Nr(t,e),h=await Yo(e,f),u=Wt(i),b=mt(i),S=Tr(i)==="y",{width:v,height:E}=a.floating,$,T;u==="top"||u==="bottom"?($=u,T=b===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(T=u,$=b==="end"?"top":"bottom");let P=E-h.top-h.bottom,A=v-h.left-h.right,O=qo(E-h[$],P),R=qo(v-h[T],A),F=!e.middlewareData.shift,K=O,re=R;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(re=A),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(K=P),F&&!b){let z=zt(h.left,0),y=zt(h.right,0),C=zt(h.top,0),D=zt(h.bottom,0);S?re=v-2*(z!==0||y!==0?z+y:zt(h.left,h.right)):K=E-2*(C!==0||D!==0?C+D:zt(h.top,h.bottom))}await d({...e,availableWidth:re,availableHeight:K});let ee=await s.getDimensions(l.floating);return v!==ee.width||E!==ee.height?{reset:{rects:!0}}:{}}}};var Gi=Math.min,Pr=Math.max,mo=Math.round;var $t=t=>({x:t,y:t});function Nt(t){return zs(t)?(t.nodeName||"").toLowerCase():"#document"}function He(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Tt(t){var e;return(e=(zs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function zs(t){return t instanceof Node||t instanceof He(t).Node}function yt(t){return t instanceof Element||t instanceof He(t).Element}function st(t){return t instanceof HTMLElement||t instanceof He(t).HTMLElement}function Us(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof He(t).ShadowRoot}function Ir(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=qe(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Ws(t){return["table","td","th"].includes(Nt(t))}function Qo(t){let e=en(),r=qe(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Hs(t){let e=pr(t);for(;st(e)&&!yo(e);){if(Qo(e))return e;e=pr(e)}return null}function en(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yo(t){return["html","body","#document"].includes(Nt(t))}function qe(t){return He(t).getComputedStyle(t)}function go(t){return yt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pr(t){if(Nt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Us(t)&&t.host||Tt(t);return Us(e)?e.host:e}function Vs(t){let e=pr(t);return yo(e)?t.ownerDocument?t.ownerDocument.body:t.body:st(e)&&Ir(e)?e:Vs(e)}function Jo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Vs(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=He(i);return a?e.concat(s,s.visualViewport||[],Ir(i)?i:[],s.frameElement&&r?Jo(s.frameElement):[]):e.concat(i,Jo(i,[],r))}function Ks(t){let e=qe(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=st(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=mo(r)!==a||mo(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function Zs(t){return yt(t)?t:t.contextElement}function Dr(t){let e=Zs(t);if(!st(e))return $t(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ks(e),s=(a?mo(r.width):r.width)/n,l=(a?mo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Bp=$t(0);function qs(t){let e=He(t);return!en()||!e.visualViewport?Bp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Fp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==He(t)?!1:e}function bo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Zs(t),s=$t(1);e&&(n?yt(n)&&(s=Dr(n)):s=Dr(t));let l=Fp(a,r,n)?qs(a):$t(0),d=(i.left+l.x)/s.x,f=(i.top+l.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let b=He(a),S=n&&yt(n)?He(n):n,v=b.frameElement;for(;v&&n&&S!==b;){let E=Dr(v),$=v.getBoundingClientRect(),T=qe(v),P=$.left+(v.clientLeft+parseFloat(T.paddingLeft))*E.x,A=$.top+(v.clientTop+parseFloat(T.paddingTop))*E.y;d*=E.x,f*=E.y,h*=E.x,u*=E.y,d+=P,f+=A,v=He(v).frameElement}}return dr({width:h,height:u,x:d,y:f})}function Mp(t){let{rect:e,offsetParent:r,strategy:n}=t,i=st(r),a=Tt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=$t(1),d=$t(0);if((i||!i&&n!=="fixed")&&((Nt(r)!=="body"||Ir(a))&&(s=go(r)),st(r))){let f=bo(r);l=Dr(r),d.x=f.x+r.clientLeft,d.y=f.y+r.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 Up(t){return Array.from(t.getClientRects())}function Ys(t){return bo(Tt(t)).left+go(t).scrollLeft}function zp(t){let e=Tt(t),r=go(t),n=t.ownerDocument.body,i=Pr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Pr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Ys(t),l=-r.scrollTop;return qe(n).direction==="rtl"&&(s+=Pr(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Wp(t,e){let r=He(t),n=Tt(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let f=en();(!f||f&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function Hp(t,e){let r=bo(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=st(t)?Dr(t):$t(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=i*a.x,f=n*a.y;return{width:s,height:l,x:d,y:f}}function js(t,e,r){let n;if(e==="viewport")n=Wp(t,r);else if(e==="document")n=zp(Tt(t));else if(yt(e))n=Hp(e,r);else{let i=qs(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return dr(n)}function Xs(t,e){let r=pr(t);return r===e||!yt(r)||yo(r)?!1:qe(r).position==="fixed"||Xs(r,e)}function Vp(t,e){let r=e.get(t);if(r)return r;let n=Jo(t,[],!1).filter(l=>yt(l)&&Nt(l)!=="body"),i=null,a=qe(t).position==="fixed",s=a?pr(t):t;for(;yt(s)&&!yo(s);){let l=qe(s),d=Qo(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ir(s)&&!d&&Xs(t,s))?n=n.filter(h=>h!==s):i=l,s=pr(s)}return e.set(t,n),n}function jp(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?Vp(e,this._c):[].concat(r),n],l=s[0],d=s.reduce((f,h)=>{let u=js(e,h,i);return f.top=Pr(u.top,f.top),f.right=Gi(u.right,f.right),f.bottom=Gi(u.bottom,f.bottom),f.left=Pr(u.left,f.left),f},js(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Gp(t){return Ks(t)}function Kp(t,e,r){let n=st(e),i=Tt(e),a=r==="fixed",s=bo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=$t(0);if(n||!n&&!a)if((Nt(e)!=="body"||Ir(i))&&(l=go(e)),n){let f=bo(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else i&&(d.x=Ys(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Gs(t,e){return!st(t)||qe(t).position==="fixed"?null:e?e(t):t.offsetParent}function Js(t,e){let r=He(t);if(!st(t))return r;let n=Gs(t,e);for(;n&&Ws(n)&&qe(n).position==="static";)n=Gs(n,e);return n&&(Nt(n)==="html"||Nt(n)==="body"&&qe(n).position==="static"&&!Qo(n))?r:n||Hs(t)||r}var Zp=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Js,a=this.getDimensions;return{reference:Kp(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function qp(t){return qe(t).direction==="rtl"}var Br={convertOffsetParentRelativeRectToViewportRelativeRect:Mp,getDocumentElement:Tt,getClippingRect:jp,getOffsetParent:Js,getElementRects:Zp,getClientRects:Up,getDimensions:Gp,getScale:Dr,isElement:yt,isRTL:qp};var Ki=(t,e,r)=>{let n=new Map,i={platform:Br,...r},a={...i.platform,_c:n};return Ms(t,e,{...i,platform:a})};function qi(t){return Yp(t)}function Zi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Yp(t){for(let e=t;e;e=Zi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Zi(t);e;e=Zi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Yi(t,e,r){return Ki(t,e,{platform:{...Br,getOffsetParent:n=>Br.getOffsetParent(n,qi)},middleware:[Vi({crossAxis:!0}),Xo({allowedPlacements:[r]})]})}async function Xi(t,e,r,n,i,a,s=4){return Ki(t,e,{placement:r,strategy:i,platform:{...Br,getOffsetParent:l=>Br.getOffsetParent(l,qi)},middleware:[Hi(s),Xo({allowedPlacements:n}),ji({apply({availableHeight:l,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var ta={};ae(ta,{FtdsBase:()=>vo,toFtdsBase:()=>rn});var ea={};ae(ea,{FtLitElement:()=>U});var Qi={};ae(Qi,{ScopedRegistryLitElement:()=>xo});var xo=class extends Lt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return oo(n,e.elementStyles),n}};var tn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},rl,Qs=Symbol("constructorPrototype"),el=Symbol("constructorName"),ol=Symbol("exportpartsDebouncer"),tl=Symbol("dynamicDependenciesLoaded"),U=class extends xo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rl]=new le(5),this[el]=this.constructor.name,this[Qs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[el]&&Object.setPrototypeOf(this,this[Qs])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[tl]||(e[tl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[ol].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,l;let d=b=>b!=null&&b.trim().length>0,f=e.filter(d).map(b=>b.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let b of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(a=(i=b.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...v).filter(d).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(b=>f.map(S=>`${b}:${S}--${b}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};rl=ol;tn([m()],U.prototype,"exportpartsPrefix",void 0);tn([$e([])],U.prototype,"exportpartsPrefixes",void 0);tn([m()],U.prototype,"customStylesheet",void 0);tn([W()],U.prototype,"useAdoptedStyleSheets",void 0);var nl=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function rn(t){class e extends t{constructor(){super(...arguments),this.size=ke.medium,this.family=_t.neutral}getDesignSystemBaseClasses(){return{[Ti(this.family)]:!0,[Pi(this.size)]:!0}}}return nl([m()],e.prototype,"size",void 0),nl([m()],e.prototype,"family",void 0),e}var vo=class extends rn(U){};var il={};var na={};ae(na,{highlightHtml:()=>oa,highlightHtmlColorCssVariable:()=>al,highlightHtmlStyles:()=>Jp});var fr=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),l=[],d=[],f,h,u=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;u();)this.iframes&&this.forEachIframe(r,b=>this.checkIframeFilter(f,h,b,l),b=>{this.createInstanceOnIframe(b).forEachNode(e,S=>d.push(S),i)}),d.push(f);d.forEach(b=>{n(b)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var So=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new fr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),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${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return fr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let f=r-s.start,h=(n>s.end?s.end:n)-s.start,u=e.value.substr(0,s.start),b=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=u+b,e.nodes.forEach((S,v)=>{v>=l&&(e.nodes[v].start>0&&v!==l&&(e.nodes[v].start-=h),e.nodes[v].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!n(f[s],d))continue;let h=f.index;if(s!==0)for(let u=1;u<s;u++)h+=f[u].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let u=1;u<s;u++)f+=d[u].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,u=>n(d[s],u),(u,b)=>{e.lastIndex=b,i(u)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,f,h,b=>r(b,l,a.value.substring(f,h),d),b=>{n(b,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(b,S)=>this.opt.filter(S,f,n,u),b=>{u++,n++,this.opt.each(b)},()=>{u===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(n):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=fr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ra(t){let e=new So(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var Xp=ra,al=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Jp=_`
|
|
1
|
+
"use strict";(()=>{var Ad=Object.create;var Ln=Object.defineProperty;var Rd=Object.getOwnPropertyDescriptor;var Ld=Object.getOwnPropertyNames;var kd=Object.getPrototypeOf,_d=Object.prototype.hasOwnProperty;var $d=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ie=(t,e)=>{for(var r in e)Ln(t,r,{get:e[r],enumerable:!0})},Nd=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ld(e))!_d.call(t,i)&&i!==r&&Ln(t,i,{get:()=>e[i],enumerable:!(n=Rd(e,i))||n.enumerable});return t};var Td=(t,e,r)=>(r=t!=null?Ad(kd(t)):{},Nd(e||!t||!t.__esModule?Ln(r,"default",{value:t,enumerable:!0}):r,t));var ql=$d((Yt,Zl)=>{var hn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,mn=function(){function t(){this.fetch=!1,this.DOMException=hn.DOMException}return t.prototype=hn,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function f(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var C={next:function(){var D=y.shift();return{done:D===void 0,value:D}}};return i.iterable&&(C[Symbol.iterator]=function(){return C}),C}function u(y){this.map={},y instanceof u?y.forEach(function(C,D){this.append(D,C)},this):Array.isArray(y)?y.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(C){this.append(C,y[C])},this)}u.prototype.append=function(y,C){y=d(y),C=f(C);var D=this.map[y];this.map[y]=D?D+", "+C:C},u.prototype.delete=function(y){delete this.map[d(y)]},u.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},u.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},u.prototype.set=function(y,C){this.map[d(y)]=f(C)},u.prototype.forEach=function(y,C){for(var D in this.map)this.map.hasOwnProperty(D)&&y.call(C,this.map[D],D,this)},u.prototype.keys=function(){var y=[];return this.forEach(function(C,D){y.push(D)}),h(y)},u.prototype.values=function(){var y=[];return this.forEach(function(C){y.push(C)}),h(y)},u.prototype.entries=function(){var y=[];return this.forEach(function(C,D){y.push([D,C])}),h(y)},i.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function b(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function S(y){return new Promise(function(C,D){y.onload=function(){C(y.result)},y.onerror=function(){D(y.error)}})}function v(y){var C=new FileReader,D=S(C);return C.readAsArrayBuffer(y),D}function E(y){var C=new FileReader,D=S(C),ne=/charset=([A-Za-z0-9_-]+)/.exec(y.type),de=ne?ne[1]:"utf-8";return C.readAsText(y,de),D}function $(y){for(var C=new Uint8Array(y),D=new Array(C.length),ne=0;ne<C.length;ne++)D[ne]=String.fromCharCode(C[ne]);return D.join("")}function T(y){if(y.slice)return y.slice(0);var C=new Uint8Array(y.byteLength);return C.set(new Uint8Array(y)),C.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:i.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:i.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():i.arrayBuffer&&i.blob&&a(y)?(this._bodyArrayBuffer=T(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=T(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var y=b(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=b(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=b(this);if(y)return y;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve($(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(F)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function O(y){var C=y.toUpperCase();return A.indexOf(C)>-1?C:y}function R(y,C){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var D=C.body;if(y instanceof R){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,C.headers||(this.headers=new u(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!D&&y._bodyInit!=null&&(D=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new u(C.headers)),this.method=O(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in n){var te=new AbortController;return te.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var ne=/([?&])_=[^&]*/;if(ne.test(this.url))this.url=this.url.replace(ne,"$1_="+new Date().getTime());else{var de=/\?/;this.url+=(de.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function F(y){var C=new FormData;return y.trim().split("&").forEach(function(D){if(D){var ne=D.split("="),de=ne.shift().replace(/\+/g," "),te=ne.join("=").replace(/\+/g," ");C.append(decodeURIComponent(de),decodeURIComponent(te))}}),C}function K(y){var C=new u,D=y.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(ne){return ne.indexOf(`
|
|
2
|
+
`)===0?ne.substr(1,ne.length):ne}).forEach(function(ne){var de=ne.split(":"),te=de.shift().trim();if(te){var Mo=de.join(":").trim();try{C.append(te,Mo)}catch(Rn){console.warn("Response "+Rn.message)}}}),C}P.call(R.prototype);function re(y,C){if(!(this instanceof re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.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=C.statusText===void 0?"":""+C.statusText,this.headers=new u(C.headers),this.url=C.url||"",this._initBody(y)}P.call(re.prototype),re.prototype.clone=function(){return new re(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},re.error=function(){var y=new re(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var ee=[301,302,303,307,308];re.redirect=function(y,C){if(ee.indexOf(C)===-1)throw new RangeError("Invalid status code");return new re(null,{status:C,headers:{location:y}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,D){this.message=C,this.name=D;var ne=Error(C);this.stack=ne.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function z(y,C){return new Promise(function(D,ne){var de=new R(y,C);if(de.signal&&de.signal.aborted)return ne(new r.DOMException("Aborted","AbortError"));var te=new XMLHttpRequest;function Mo(){te.abort()}te.onload=function(){var _e={statusText:te.statusText,headers:K(te.getAllResponseHeaders()||"")};de.url.indexOf("file://")===0&&(te.status<200||te.status>599)?_e.status=200:_e.status=te.status,_e.url="responseURL"in te?te.responseURL:_e.headers.get("X-Request-URL");var or="response"in te?te.response:te.responseText;setTimeout(function(){D(new re(or,_e))},0)},te.onerror=function(){setTimeout(function(){ne(new TypeError("Network request failed"))},0)},te.ontimeout=function(){setTimeout(function(){ne(new TypeError("Network request timed out"))},0)},te.onabort=function(){setTimeout(function(){ne(new r.DOMException("Aborted","AbortError"))},0)};function Rn(_e){try{return _e===""&&n.location.href?n.location.href:_e}catch{return _e}}if(te.open(de.method,Rn(de.url),!0),de.credentials==="include"?te.withCredentials=!0:de.credentials==="omit"&&(te.withCredentials=!1),"responseType"in te&&(i.blob?te.responseType="blob":i.arrayBuffer&&(te.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof u||n.Headers&&C.headers instanceof n.Headers)){var us=[];Object.getOwnPropertyNames(C.headers).forEach(function(_e){us.push(d(_e)),te.setRequestHeader(_e,f(C.headers[_e]))}),de.headers.forEach(function(_e,or){us.indexOf(or)===-1&&te.setRequestHeader(or,_e)})}else de.headers.forEach(function(_e,or){te.setRequestHeader(or,_e)});de.signal&&(de.signal.addEventListener("abort",Mo),te.onreadystatechange=function(){te.readyState===4&&de.signal.removeEventListener("abort",Mo)}),te.send(typeof de._bodyInit>"u"?null:de._bodyInit)})}return z.polyfill=!0,n.fetch||(n.fetch=z,n.Headers=u,n.Request=R,n.Response=re),r.Headers=u,r.Request=R,r.Response=re,r.fetch=z,r}({})})(mn);mn.fetch.ponyfill=!0;delete mn.fetch.polyfill;var Vr=hn.fetch?hn:mn;Yt=Vr.fetch;Yt.default=Vr.fetch;Yt.fetch=Vr.fetch;Yt.Headers=Vr.Headers;Yt.Request=Vr.Request;Yt.Response=Vr.Response;Zl.exports=Yt});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,O){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(O)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=O.prototype.attributeChangedCallback,F=new Set(O.observedAttributes||[]);b(O,F,R);let K={elementClass:O,connectedCallback:O.prototype.connectedCallback,disconnectedCallback:O.prototype.disconnectedCallback,adoptedCallback:O.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:O.formAssociated,formAssociatedCallback:O.prototype.formAssociatedCallback,formDisabledCallback:O.prototype.formDisabledCallback,formResetCallback:O.prototype.formResetCallback,formStateRestoreCallback:O.prototype.formStateRestoreCallback,observedAttributes:F};this._definitionsByTag.set(A,K),this._definitionsByClass.set(O,K);let re=r.call(n,A);re||(re=u(A),e.call(n,A,re)),this===window.customElements&&(s.set(O,K),K.standInClass=re);let ee=this._awaitingUpgrade.get(A);if(ee){this._awaitingUpgrade.delete(A);for(let y of ee)a.delete(y),v(y,K,!0)}let z=this._whenDefinedPromises.get(A);return z!==void 0&&(z.resolve(O),this._whenDefinedPromises.delete(A)),O}upgrade(){$.push(this),n.upgrade.apply(n,arguments),$.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let O=this._getDefinition(A);if(O!==void 0)return Promise.resolve(O.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(F=>R.resolve=F),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,O,R){let F=this._awaitingUpgrade.get(O);F||this._awaitingUpgrade.set(O,F=new Set),R?F.add(A):F.delete(A)}};let d;window.HTMLElement=function(){let O=d;if(O)return d=void 0,O;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 O=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(O,this.constructor.prototype),i.set(O,R),O},window.HTMLElement.prototype=t.prototype;let f=A=>A===document||A instanceof ShadowRoot,h=A=>{let O=A.getRootNode();if(!f(O)){let R=$[$.length-1];if(R instanceof CustomElementRegistry)return R;O=R.getRootNode(),f(O)||(O=l.get(O)?.getRootNode()||document)}return O.customElements},u=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let F=h(R)||window.customElements,K=F._getDefinition(A);return K?v(R,K):a.set(R,F),R}connectedCallback(){let R=i.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=i.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=i.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=i.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=i.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=i.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},b=(A,O,R)=>{if(O.size===0||R===void 0)return;let F=A.prototype.setAttribute;F&&(A.prototype.setAttribute=function(ee,z){let y=ee.toLowerCase();if(O.has(y)){let C=this.getAttribute(y);F.call(this,y,z),R.call(this,y,C,z)}else F.call(this,y,z)});let K=A.prototype.removeAttribute;K&&(A.prototype.removeAttribute=function(ee){let z=ee.toLowerCase();if(O.has(z)){let y=this.getAttribute(z);K.call(this,z),R.call(this,z,y,null)}else K.call(this,z)});let re=A.prototype.toggleAttribute;re&&(A.prototype.toggleAttribute=function(ee,z){let y=ee.toLowerCase();if(O.has(y)){let C=this.getAttribute(y);re.call(this,y,z);let D=this.getAttribute(y);R.call(this,y,C,D)}else re.call(this,y,z)})},S=A=>{let O=Object.getPrototypeOf(A);if(O!==window.HTMLElement)return O===t?Object.setPrototypeOf(A,window.HTMLElement):S(O)},v=(A,O,R=!1)=>{Object.setPrototypeOf(A,O.elementClass.prototype),i.set(A,O),d=A;try{new O.elementClass}catch{S(O.elementClass),new O.elementClass}O.attributeChangedCallback&&O.observedAttributes.forEach(F=>{A.hasAttribute(F)&&O.attributeChangedCallback.call(A,F,null,A.getAttribute(F))}),R&&O.connectedCallback&&A.isConnected&&O.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let O=E.apply(this,arguments);return A.customElements&&(O.customElements=A.customElements),O};let $=[document],T=(A,O,R=void 0)=>{let F=(R?Object.getPrototypeOf(R):A.prototype)[O];A.prototype[O]=function(){$.push(this);let K=F.apply(R||this,arguments);return K!==void 0&&l.set(K,this),$.pop(),K}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let P=(A,O)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,O);Object.defineProperty(A.prototype,O,{...R,set(F){$.push(this),R.set.call(this,F),$.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 A=new WeakMap,O=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ee){let z=O.call(this,...ee);return A.set(z,this),z},R.forEach(ee=>{let z=window.ElementInternals.prototype,y=z[ee];z[ee]=function(...C){let D=A.get(this);if(i.get(D).formAssociated===!0)return y?.call(this,...C);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class F extends Array{constructor(z){super(...z),this._elements=z}get value(){return this._elements.find(z=>z.checked===!0)?.value||""}}class K{constructor(z){let y=new Map;z.forEach((C,D)=>{let ne=C.getAttribute("name"),de=y.get(ne)||[];this[+D]=C,de.push(C),y.set(ne,de)}),this.length=z.length,y.forEach((C,D)=>{C&&(C.length===1?this[D]=C[0]:this[D]=new F(C))})}namedItem(z){return this[z]}}let re=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ee=re.get.call(this,[]),z=[];for(let y of ee){let C=i.get(y);(!C||C.formAssociated===!0)&&z.push(y)}return new K(z)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var zn={};ie(zn,{CSSResult:()=>Er,LitElement:()=>Lt,ReactiveElement:()=>ft,_$LE:()=>jd,_$LH:()=>Fn,adoptStyles:()=>no,css:()=>_,defaultConverter:()=>wr,getCompatibleStyle:()=>zo,html:()=>w,isServer:()=>bu,mathml:()=>Bn,noChange:()=>Pe,notEqual:()=>ao,nothing:()=>M,render:()=>Mn,supportsAdoptingStyleSheets:()=>oo,svg:()=>Dn,unsafeCSS:()=>At});var Uo=globalThis,oo=Uo.ShadowRoot&&(Uo.ShadyCSS===void 0||Uo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,kn=Symbol(),hs=new WeakMap,Er=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==kn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(oo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=hs.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&hs.set(r,e))}return e}toString(){return this.cssText}},At=t=>new Er(typeof t=="string"?t:t+"",void 0,kn),_=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new Er(r,t,kn)},no=(t,e)=>{if(oo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Uo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},zo=oo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return At(r)})(t):t;var{is:Pd,defineProperty:Id,getOwnPropertyDescriptor:Dd,getOwnPropertyNames:Bd,getOwnPropertySymbols:Fd,getPrototypeOf:Md}=Object,Wo=globalThis,ms=Wo.trustedTypes,Ud=ms?ms.emptyScript:"",zd=Wo.reactiveElementPolyfillSupport,io=(t,e)=>t,wr={toAttribute(t,e){switch(e){case Boolean:t=t?Ud:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},ao=(t,e)=>!Pd(t,e),ys={attribute:!0,type:String,converter:wr,reflect:!1,useDefault:!1,hasChanged:ao};Symbol.metadata??=Symbol("metadata"),Wo.litPropertyMetadata??=new WeakMap;var ft=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ys){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Id(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Dd(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ys}static _$Ei(){if(this.hasOwnProperty(io("elementProperties")))return;let e=Md(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(io("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(io("properties"))){let r=this.properties,n=[...Bd(r),...Fd(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(zo(i))}else e!==void 0&&r.push(zo(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return no(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:wr).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:wr;this._$Em=i,this[i]=s.fromAttribute(r,a.type)??this._$Ej?.get(i)??null,this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){let i=this.constructor,a=this[e];if(n??=i.getPropertyOptions(e),!((n.hasChanged??ao)(a,r)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};ft.elementStyles=[],ft.shadowRootOptions={mode:"open"},ft[io("elementProperties")]=new Map,ft[io("finalized")]=new Map,zd?.({ReactiveElement:ft}),(Wo.reactiveElementVersions??=[]).push("2.1.0");var $n=globalThis,Ho=$n.trustedTypes,gs=Ho?Ho.createPolicy("lit-html",{createHTML:t=>t}):void 0,Nn="$lit$",Rt=`lit$${Math.random().toFixed(9).slice(2)}$`,Tn="?"+Rt,Wd=`<${Tn}>`,ar=document,lo=()=>ar.createComment(""),co=t=>t===null||typeof t!="object"&&typeof t!="function",Pn=Array.isArray,Cs=t=>Pn(t)||typeof t?.[Symbol.iterator]=="function",_n=`[
|
|
3
|
+
\f\r]`,so=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bs=/-->/g,xs=/>/g,nr=RegExp(`>|${_n}(?:([^\\s"'>=/]+)(${_n}*=${_n}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),vs=/'/g,Ss=/"/g,Es=/^(?:script|style|textarea|title)$/i,In=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),w=In(1),Dn=In(2),Bn=In(3),Pe=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Os=new WeakMap,ir=ar.createTreeWalker(ar,129);function ws(t,e){if(!Pn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return gs!==void 0?gs.createHTML(e):e}var As=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=so;for(let l=0;l<r;l++){let d=t[l],f,h,u=-1,b=0;for(;b<d.length&&(s.lastIndex=b,h=s.exec(d),h!==null);)b=s.lastIndex,s===so?h[1]==="!--"?s=bs:h[1]!==void 0?s=xs:h[2]!==void 0?(Es.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=nr):h[3]!==void 0&&(s=nr):s===nr?h[0]===">"?(s=i??so,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?nr:h[3]==='"'?Ss:vs):s===Ss||s===vs?s=nr:s===bs||s===xs?s=so:(s=nr,i=void 0);let S=s===nr&&t[l+1].startsWith("/>")?" ":"";a+=s===so?d+Wd:u>=0?(n.push(f),d.slice(0,u)+Nn+d.slice(u)+Rt+S):d+Rt+(u===-2?l:S)}return[ws(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},po=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,h]=As(e,r);if(this.el=t.createElement(f,n),ir.currentNode=this.el.content,r===2||r===3){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=ir.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Nn)){let b=h[s++],S=i.getAttribute(u).split(Rt),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?jo:v[1]==="?"?Go:v[1]==="@"?Ko:lr}),i.removeAttribute(u)}else u.startsWith(Rt)&&(d.push({type:6,index:a}),i.removeAttribute(u));if(Es.test(i.tagName)){let u=i.textContent.split(Rt),b=u.length-1;if(b>0){i.textContent=Ho?Ho.emptyScript:"";for(let S=0;S<b;S++)i.append(u[S],lo()),ir.nextNode(),d.push({type:2,index:++a});i.append(u[b],lo())}}}else if(i.nodeType===8)if(i.data===Tn)d.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Rt,u+1))!==-1;)d.push({type:7,index:a}),u+=Rt.length-1}a++}}static createElement(e,r){let n=ar.createElement("template");return n.innerHTML=e,n}};function sr(t,e,r=t,n){if(e===Pe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=co(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=sr(t,i._$AS(t,e.values),i,n)),e}var Vo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??ar).importNode(r,!0);ir.currentNode=i;let a=ir.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Ar(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new Zo(a,this,e)),this._$AV.push(f),d=n[++l]}s!==d?.index&&(a=ir.nextNode(),s++)}return ir.currentNode=ar,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Ar=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=sr(this,e,r),co(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==Pe&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Cs(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==M&&co(this._$AH)?this._$AA.nextSibling.data=e:this.T(ar.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=po.createElement(ws(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Vo(i,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Os.get(e.strings);return r===void 0&&Os.set(e.strings,r=new po(e)),r}k(e){Pn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.O(lo()),this.O(lo()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},lr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=M,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=sr(this,e,r,0),s=!co(e)||e!==this._$AH&&e!==Pe,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=sr(this,l[n+d],r,d),f===Pe&&(f=this._$AH[d]),s||=!co(f)||f!==this._$AH[d],f===M?e=M:e!==M&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!i&&this.j(e)}j(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},jo=class extends lr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===M?void 0:e}},Go=class extends lr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Ko=class extends lr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=sr(this,e,r,0)??M)===Pe)return;let n=this._$AH,i=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Zo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){sr(this,e)}},Fn={M:Nn,P:Rt,A:Tn,C:1,L:As,R:Vo,D:Cs,V:sr,I:Ar,H:lr,N:Go,U:Ko,B:jo,F:Zo},Hd=$n.litHtmlPolyfillSupport;Hd?.(po,Ar),($n.litHtmlVersions??=[]).push("3.3.0");var Mn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ar(e.insertBefore(lo(),a),a,void 0,r??{})}return i._$AI(t),i};var Un=globalThis,Lt=class extends ft{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Mn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Pe}};Lt._$litElement$=!0,Lt.finalized=!0,Un.litElementHydrateSupport?.({LitElement:Lt});var Vd=Un.litElementPolyfillSupport;Vd?.({LitElement:Lt});var jd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Un.litElementVersions??=[]).push("4.2.0");var bu=!1;var jn={};ie(jn,{customElement:()=>Gd,eventOptions:()=>Rr,property:()=>m,query:()=>B,queryAll:()=>Wn,queryAssignedElements:()=>Hn,queryAssignedNodes:()=>Vn,queryAsync:()=>qd,standardProperty:()=>Rs,state:()=>W});var Gd=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Kd={attribute:!0,type:String,converter:wr,reflect:!1,hasChanged:ao},Rs=(t=Kd,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function m(t){return(e,r)=>typeof r=="object"?Rs(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}function W(t){return m({...t,state:!0,attribute:!1})}function Rr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var at=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function B(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return at(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return at(r,n,{get(){return a(this)}})}}var Zd;function Wn(t){return(e,r)=>at(e,r,{get(){return(this.renderRoot??(Zd??=document.createDocumentFragment())).querySelectorAll(t)}})}function qd(t){return(e,r)=>at(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Hn(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return at(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function Vn(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return at(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Gn={};ie(Gn,{repeat:()=>Le});var Mt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ut=t=>(...e)=>({_$litDirective$:t,values:e}),ut=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:Yd}=Fn;var Ls=()=>document.createComment(""),Lr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Ls(),i),s=n.insertBefore(Ls(),i);r=new Yd(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||l){let d=r._$AA;for(;d!==a;){let f=d.nextSibling;n.insertBefore(d,i),d=f}}}return r},zt=(t,e,r=t)=>(t._$AI(e,r),t),Xd={},ks=(t,e=Xd)=>t._$AH=e,_s=t=>t._$AH,qo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var $s=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Le=Ut(class extends ut{constructor(t){if(super(t),t.type!==Mt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let i=_s(t),{values:a,keys:s}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],d=[],f,h,u=0,b=i.length-1,S=0,v=a.length-1;for(;u<=b&&S<=v;)if(i[u]===null)u++;else if(i[b]===null)b--;else if(l[u]===s[S])d[S]=zt(i[u],a[S]),u++,S++;else if(l[b]===s[v])d[v]=zt(i[b],a[v]),b--,v--;else if(l[u]===s[v])d[v]=zt(i[u],a[v]),Lr(t,d[v+1],i[u]),u++,v--;else if(l[b]===s[S])d[S]=zt(i[b],a[S]),Lr(t,i[u],i[b]),b--,S++;else if(f===void 0&&(f=$s(s,S,v),h=$s(l,u,b)),f.has(l[u]))if(f.has(l[b])){let E=h.get(s[S]),$=E!==void 0?i[E]:null;if($===null){let T=Lr(t,i[u]);zt(T,a[S]),d[S]=T}else d[S]=zt($,a[S]),Lr(t,i[u],$),i[E]=null;S++}else qo(i[b]),b--;else qo(i[u]),u++;for(;S<=v;){let E=Lr(t,d[v+1]);zt(E,a[S]),d[S++]=E}for(;u<=b;){let E=i[u++];E!==null&&qo(E)}return this.ut=s,ks(t,d),Pe}});var Kn={};ie(Kn,{classMap:()=>pe});var pe=Ut(class extends ut{constructor(t){if(super(t),t.type!==Mt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return Pe}});var Zn={};ie(Zn,{styleMap:()=>Qd});var Ns="important",Jd=" !"+Ns,Qd=Ut(class extends ut{constructor(t){if(super(t),t.type!==Mt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Jd);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Ns:""):r[n]=i}}return Pe}});var Yn={};ie(Yn,{UnsafeHTMLDirective:()=>kr,unsafeHTML:()=>qn});var kr=class extends ut{constructor(e){if(super(e),this.it=M,e.type!==Mt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===M||e==null)return this._t=void 0,this.it=e;if(e===Pe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};kr.directiveName="unsafeHTML",kr.resultType=1;var qn=Ut(kr);var oi={};ie(oi,{CacheRegistry:()=>ht,ClearCacheEvent:()=>uo});var Jn={};ie(Jn,{CancelablePromise:()=>_r,CanceledPromiseError:()=>fo,cancelable:()=>Xn});var fo=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},_r=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new fo("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new fo("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Xn=t=>new _r((e,r)=>t.then(e).catch(r));var ri={};ie(ri,{FtNotificationEvent:()=>Qn,PostResizeEvent:()=>ti,PreResizeEvent:()=>ei,WithEventBus:()=>cr,withEventBus:()=>Ts});var Qn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ei=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ti=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ts(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}var cr=class extends Ts(Object){};var uo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},ht=class extends cr{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new uo(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new uo([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof _r&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Xn(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var ii={};ie(ii,{ClusteringHelper:()=>ni});var ni=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e){var r,n,i,a,s;let l=((a=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(i=e.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,n)).filter(a=>a!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(l.join(" > ")),r&&r>1&&l.length>=r?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",i,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(u=>t.extractResultMetadata({result:u,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(u=>u??{key:e,label:f,value:void 0,displayValue:n}).filter(u=>u.value!=d?.value).filter((u,b,S)=>S.findIndex(v=>v.value===u.value)===b).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,b)=>this.compareMetadata(u.metadata.value,b.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var ai={};ie(ai,{Debouncer:()=>le});var le=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ci={};ie(ci,{customElement:()=>H,isNumber:()=>Is,jsonProperty:()=>$e,optionalNumberProperty:()=>ip});var li={};ie(li,{dateReviver:()=>tp,deepCopy:()=>mo,deepEqual:()=>Me,delay:()=>Yo,eventPathContainsMatchingElement:()=>op,flatDeep:()=>Ze,getComposedPathTo:()=>si,hasChanged:()=>dr,last:()=>np,minmax:()=>ho,parseDate:()=>Ps,unslotText:()=>$r,waitFor:()=>Xo,waitUntil:()=>ep});var Yo=t=>new Promise(e=>setTimeout(e,t));async function ep(t,e=10,r=2e4){await Xo(async()=>await t()||void 0,e,r)}async function Xo(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Yo(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ze(t,e){return t.flatMap(r=>[r,...Ze(e(r),e)])}function tp(...t){return function(e,r){return t.includes(e)?Ps(r):r}}function Ps(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function rp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Me(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Me(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(i=a(t),r=i.length,r!==a(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){let s=i[n];if(!Me(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Me(t,e){try{return rp(t,e)}catch{return!1}}function dr(t,e){return!Me(t,e)}function op(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function ho(t,e,r){return Math.min(Math.max(t,e),r)}function np(t){return t[t.length-1]}function $r(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>$r(e)).join(""):t?.textContent||""}function si(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function mo(t){return window.structuredClone?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}var H=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function $e(t,e){let r=()=>JSON.parse(JSON.stringify(t));return m({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:dr,...e??{}})}function ip(t){return m({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Is(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Is(t){return!isNaN(parseFloat(t))}var Fi={};ie(Fi,{designSystemVariables:()=>L});var Bi={};ie(Bi,{DesignSystemFamily:()=>_t,DesignSystemSize:()=>ke,FtCssVariableFactory:()=>o,badge:()=>fp,banner:()=>pp,button:()=>g,chart:()=>Lp,checkbox:()=>sp,chip:()=>Y,chipChoice:()=>cp,collapsible:()=>Ap,comboboxMultiSelect:()=>Ep,comboboxSingleSelect:()=>Cp,drawer:()=>bp,floatingMenu:()=>Op,foundation:()=>c,link:()=>dp,modal:()=>gp,notice:()=>_p,notification:()=>Tp,pageDesigner:()=>kp,pageFooter:()=>mp,pageHeader:()=>hp,pageLayout:()=>yp,popover:()=>wp,radio:()=>Np,reorderableList:()=>Ip,resolveFamilyClass:()=>Ii,resolveSizeClass:()=>Di,semantic:()=>p,setVariable:()=>x,switch_:()=>Rp,table:()=>lp,tabs:()=>xp,textArea:()=>Sp,textInput:()=>vp,titleBreadcrumb:()=>up,toggle:()=>$p,tooltip:()=>Pp,typographies:()=>yo,typographyBody1Medium:()=>mi,typographyBody1Regular:()=>hi,typographyBody1Semibold:()=>yi,typographyBody2Medium:()=>bi,typographyBody2MediumUnderline:()=>Ds,typographyBody2Regular:()=>gi,typographyBody2Semibold:()=>xi,typographyCaption1Bold:()=>Li,typographyCaption1Medium:()=>Ai,typographyCaption1Semibold:()=>Ri,typographyCaption2Bold:()=>$i,typographyCaption2Medium:()=>ki,typographyCaption2Semibold:()=>_i,typographyCaption3Bold:()=>Pi,typographyCaption3Medium:()=>Ni,typographyCaption3Semibold:()=>Ti,typographyDisplay:()=>di,typographyLabel1Bold:()=>Oi,typographyLabel1Medium:()=>vi,typographyLabel1Semibold:()=>Si,typographyLabel2Bold:()=>wi,typographyLabel2Medium:()=>Ci,typographyLabel2Semibold:()=>Ei,typographyTitle1:()=>pi,typographyTitle2:()=>fi,typographyTitle3:()=>ui,typographyVariants:()=>ap});var kt=t=>typeof t=="string"?At(t):t,o=class{static create(e,r,n,i){let a=l=>kt(l??i),s=_`var(${kt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${kt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=_`var(${kt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${kt(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):kt(a??e.lastResortDefaultValue()),i=_`var(${kt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>_`var(${kt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function x(t,e){return kt(`${t.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(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},di={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")},pi={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")},fi={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")},ui={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")},hi={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")},mi={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")},yi={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")},gi={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")},bi={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")},Ds={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")},xi={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")},vi={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")},Si={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")},Oi={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")},Ci={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")},Ei={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")},wi={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")},Ai={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")},Ri={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")},Li={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")},ki={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")},_i={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")},$i={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")},Ni={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")},Ti={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")},Pi={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")},yo={display:di,"title-1":pi,"title-2":fi,"title-3":ui,"body-1-regular":hi,"body-1-medium":mi,"body-1-semibold":yi,"body-2-regular":gi,"body-2-medium":bi,"body-2-medium-underline":Ds,"body-2-semibold":xi,"label-1-medium":vi,"label-1-semibold":Si,"label-1-bold":Oi,"label-2-medium":Ci,"label-2-semibold":Ei,"label-2-bold":wi,"caption-1-medium":Ai,"caption-1-semibold":Ri,"caption-1-bold":Li,"caption-2-medium":ki,"caption-2-semibold":_i,"caption-2-bold":$i,"caption-3-medium":Ni,"caption-3-semibold":Ti,"caption-3-bold":Pi},ap=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={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.
|
|
5
|
+
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 g={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var sp={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)};var lp={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)};var cp={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var 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","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var dp={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var pp={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var fp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)};var up={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var hp={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var mp={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var yp={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var gp={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var bp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var xp={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var vp={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","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Sp={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Op={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Cp={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","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Ep={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var wp={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.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 Ap={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Rp={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Lp={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var kp={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 _p={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var $p={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var Np={color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)};var Tp={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var Pp={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var Ip={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var _t;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(_t||(_t={}));var ke;(function(t){t.large="large",t.medium="medium",t.small="small"})(ke||(ke={}));function Ii(t){return`ftds--family-${t}`}function Di(t){return`ftds--size-${t}`}var L={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ea={};ie(ea,{computeOffsetAutoPosition:()=>Qi,computeOffsetPosition:()=>Ji});var Fs=["top","right","bottom","left"],Bs=["start","end"],Ui=Fs.reduce((t,e)=>t.concat(e,e+"-"+Bs[0],e+"-"+Bs[1]),[]),Jo=Math.min,Wt=Math.max;var Dp={left:"right",right:"left",bottom:"top",top:"bottom"},Bp={start:"end",end:"start"};function zi(t,e,r){return Wt(t,Jo(e,r))}function Nr(t,e){return typeof t=="function"?t(e):t}function Ht(t){return t.split("-")[0]}function mt(t){return t.split("-")[1]}function Wi(t){return t==="x"?"y":"x"}function Hi(t){return t==="y"?"height":"width"}function Tr(t){return["top","bottom"].includes(Ht(t))?"y":"x"}function Vi(t){return Wi(Tr(t))}function Ms(t,e,r){r===void 0&&(r=!1);let n=mt(t),i=Vi(t),a=Hi(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Mi(s)),[s,Mi(s)]}function Us(t){return t.replace(/start|end/g,e=>Bp[e])}function Mi(t){return t.replace(/left|right|bottom|top/g,e=>Dp[e])}function Fp(t){return{top:0,right:0,bottom:0,left:0,...t}}function zs(t){return typeof t!="number"?Fp(t):{top:t,right:t,bottom:t,left:t}}function pr(t){let{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function Ws(t,e,r){let{reference:n,floating:i}=t,a=Tr(e),s=Vi(e),l=Hi(s),d=Ht(e),f=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,b=n[l]/2-i[l]/2,S;switch(d){case"top":S={x:h,y:n.y-i.height};break;case"bottom":S={x:h,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:u};break;case"left":S={x:n.x-i.width,y:u};break;default:S={x:n.x,y:n.y}}switch(mt(e)){case"start":S[s]-=b*(r&&f?-1:1);break;case"end":S[s]+=b*(r&&f?-1:1);break}return S}var Hs=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:u}=Ws(f,n,d),b=n,S={},v=0;for(let E=0;E<l.length;E++){let{name:$,fn:T}=l[E],{x:P,y:A,data:O,reset:R}=await T({x:h,y:u,initialPlacement:n,placement:b,strategy:i,middlewareData:S,rects:f,platform:s,elements:{reference:t,floating:e}});h=P??h,u=A??u,S={...S,[$]:{...S[$],...O}},R&&v<=50&&(v++,typeof R=="object"&&(R.placement&&(b=R.placement),R.rects&&(f=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):R.rects),{x:h,y:u}=Ws(f,b,d)),E=-1)}return{x:h,y:u,placement:b,strategy:i,middlewareData:S}};async function Qo(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:b=!1,padding:S=0}=Nr(e,t),v=zs(S),$=l[b?u==="floating"?"reference":"floating":u],T=pr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement($)))==null||r?$:$.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),P=u==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),O=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=pr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:A,strategy:d}):P);return{top:(T.top-R.top+v.top)/O.y,bottom:(R.bottom-T.bottom+v.bottom)/O.y,left:(T.left-R.left+v.left)/O.x,right:(R.right-T.right+v.right)/O.x}}function Mp(t,e,r){return(t?[...r.filter(i=>mt(i)===t),...r.filter(i=>mt(i)!==t)]:r.filter(i=>Ht(i)===i)).filter(i=>t?mt(i)===t||(e?Us(i)!==i:!1):!0)}var en=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:b=Ui,autoAlignment:S=!0,...v}=Nr(t,e),E=u!==void 0||b===Ui?Mp(u||null,S,b):b,$=await Qo(e,v),T=((r=s.autoPlacement)==null?void 0:r.index)||0,P=E[T];if(P==null)return{};let A=Ms(P,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==P)return{reset:{placement:E[0]}};let O=[$[Ht(P)],$[A[0]],$[A[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:O}],F=E[T+1];if(F)return{data:{index:T+1,overflows:R},reset:{placement:F}};let K=R.map(z=>{let y=mt(z.placement);return[z.placement,y&&h?z.overflows.slice(0,2).reduce((C,D)=>C+D,0):z.overflows[0],z.overflows]}).sort((z,y)=>z[1]-y[1]),ee=((i=K.filter(z=>z[2].slice(0,mt(z[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||K[0][0];return ee!==l?{data:{index:T+1,overflows:R},reset:{placement:ee}}:{}}}};async function Up(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Ht(r),l=mt(r),d=Tr(r)==="y",f=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,u=Nr(e,t),{mainAxis:b,crossAxis:S,alignmentAxis:v}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof v=="number"&&(S=l==="end"?v*-1:v),d?{x:S*h,y:b*f}:{x:b*f,y:S*h}}var ji=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:a,placement:s,middlewareData:l}=e,d=await Up(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},Gi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:$=>{let{x:T,y:P}=$;return{x:T,y:P}}},...d}=Nr(t,e),f={x:r,y:n},h=await Qo(e,d),u=Tr(Ht(i)),b=Wi(u),S=f[b],v=f[u];if(a){let $=b==="y"?"top":"left",T=b==="y"?"bottom":"right",P=S+h[$],A=S-h[T];S=zi(P,S,A)}if(s){let $=u==="y"?"top":"left",T=u==="y"?"bottom":"right",P=v+h[$],A=v-h[T];v=zi(P,v,A)}let E=l.fn({...e,[b]:S,[u]:v});return{...E,data:{x:E.x-r,y:E.y-n,enabled:{[b]:a,[u]:s}}}}}};var Ki=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;let{placement:i,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=Nr(t,e),h=await Qo(e,f),u=Ht(i),b=mt(i),S=Tr(i)==="y",{width:v,height:E}=a.floating,$,T;u==="top"||u==="bottom"?($=u,T=b===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(T=u,$=b==="end"?"top":"bottom");let P=E-h.top-h.bottom,A=v-h.left-h.right,O=Jo(E-h[$],P),R=Jo(v-h[T],A),F=!e.middlewareData.shift,K=O,re=R;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(re=A),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(K=P),F&&!b){let z=Wt(h.left,0),y=Wt(h.right,0),C=Wt(h.top,0),D=Wt(h.bottom,0);S?re=v-2*(z!==0||y!==0?z+y:Wt(h.left,h.right)):K=E-2*(C!==0||D!==0?C+D:Wt(h.top,h.bottom))}await d({...e,availableWidth:re,availableHeight:K});let ee=await s.getDimensions(l.floating);return v!==ee.width||E!==ee.height?{reset:{rects:!0}}:{}}}};var Zi=Math.min,Pr=Math.max,go=Math.round;var $t=t=>({x:t,y:t});function Nt(t){return js(t)?(t.nodeName||"").toLowerCase():"#document"}function He(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Tt(t){var e;return(e=(js(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function js(t){return t instanceof Node||t instanceof He(t).Node}function yt(t){return t instanceof Element||t instanceof He(t).Element}function st(t){return t instanceof HTMLElement||t instanceof He(t).HTMLElement}function Vs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof He(t).ShadowRoot}function Ir(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=qe(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Gs(t){return["table","td","th"].includes(Nt(t))}function rn(t){let e=on(),r=qe(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ks(t){let e=fr(t);for(;st(e)&&!bo(e);){if(rn(e))return e;e=fr(e)}return null}function on(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function bo(t){return["html","body","#document"].includes(Nt(t))}function qe(t){return He(t).getComputedStyle(t)}function xo(t){return yt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function fr(t){if(Nt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Vs(t)&&t.host||Tt(t);return Vs(e)?e.host:e}function Zs(t){let e=fr(t);return bo(e)?t.ownerDocument?t.ownerDocument.body:t.body:st(e)&&Ir(e)?e:Zs(e)}function tn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Zs(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=He(i);return a?e.concat(s,s.visualViewport||[],Ir(i)?i:[],s.frameElement&&r?tn(s.frameElement):[]):e.concat(i,tn(i,[],r))}function Xs(t){let e=qe(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=st(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=go(r)!==a||go(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function Js(t){return yt(t)?t:t.contextElement}function Dr(t){let e=Js(t);if(!st(e))return $t(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Xs(e),s=(a?go(r.width):r.width)/n,l=(a?go(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var zp=$t(0);function Qs(t){let e=He(t);return!on()||!e.visualViewport?zp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==He(t)?!1:e}function vo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Js(t),s=$t(1);e&&(n?yt(n)&&(s=Dr(n)):s=Dr(t));let l=Wp(a,r,n)?Qs(a):$t(0),d=(i.left+l.x)/s.x,f=(i.top+l.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let b=He(a),S=n&&yt(n)?He(n):n,v=b.frameElement;for(;v&&n&&S!==b;){let E=Dr(v),$=v.getBoundingClientRect(),T=qe(v),P=$.left+(v.clientLeft+parseFloat(T.paddingLeft))*E.x,A=$.top+(v.clientTop+parseFloat(T.paddingTop))*E.y;d*=E.x,f*=E.y,h*=E.x,u*=E.y,d+=P,f+=A,v=He(v).frameElement}}return pr({width:h,height:u,x:d,y:f})}function Hp(t){let{rect:e,offsetParent:r,strategy:n}=t,i=st(r),a=Tt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=$t(1),d=$t(0);if((i||!i&&n!=="fixed")&&((Nt(r)!=="body"||Ir(a))&&(s=xo(r)),st(r))){let f=vo(r);l=Dr(r),d.x=f.x+r.clientLeft,d.y=f.y+r.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 Vp(t){return Array.from(t.getClientRects())}function el(t){return vo(Tt(t)).left+xo(t).scrollLeft}function jp(t){let e=Tt(t),r=xo(t),n=t.ownerDocument.body,i=Pr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Pr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+el(t),l=-r.scrollTop;return qe(n).direction==="rtl"&&(s+=Pr(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Gp(t,e){let r=He(t),n=Tt(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let f=on();(!f||f&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function Kp(t,e){let r=vo(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=st(t)?Dr(t):$t(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=i*a.x,f=n*a.y;return{width:s,height:l,x:d,y:f}}function qs(t,e,r){let n;if(e==="viewport")n=Gp(t,r);else if(e==="document")n=jp(Tt(t));else if(yt(e))n=Kp(e,r);else{let i=Qs(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return pr(n)}function tl(t,e){let r=fr(t);return r===e||!yt(r)||bo(r)?!1:qe(r).position==="fixed"||tl(r,e)}function Zp(t,e){let r=e.get(t);if(r)return r;let n=tn(t,[],!1).filter(l=>yt(l)&&Nt(l)!=="body"),i=null,a=qe(t).position==="fixed",s=a?fr(t):t;for(;yt(s)&&!bo(s);){let l=qe(s),d=rn(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ir(s)&&!d&&tl(t,s))?n=n.filter(h=>h!==s):i=l,s=fr(s)}return e.set(t,n),n}function qp(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?Zp(e,this._c):[].concat(r),n],l=s[0],d=s.reduce((f,h)=>{let u=qs(e,h,i);return f.top=Pr(u.top,f.top),f.right=Zi(u.right,f.right),f.bottom=Zi(u.bottom,f.bottom),f.left=Pr(u.left,f.left),f},qs(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Yp(t){return Xs(t)}function Xp(t,e,r){let n=st(e),i=Tt(e),a=r==="fixed",s=vo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=$t(0);if(n||!n&&!a)if((Nt(e)!=="body"||Ir(i))&&(l=xo(e)),n){let f=vo(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else i&&(d.x=el(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Ys(t,e){return!st(t)||qe(t).position==="fixed"?null:e?e(t):t.offsetParent}function rl(t,e){let r=He(t);if(!st(t))return r;let n=Ys(t,e);for(;n&&Gs(n)&&qe(n).position==="static";)n=Ys(n,e);return n&&(Nt(n)==="html"||Nt(n)==="body"&&qe(n).position==="static"&&!rn(n))?r:n||Ks(t)||r}var Jp=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||rl,a=this.getDimensions;return{reference:Xp(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Qp(t){return qe(t).direction==="rtl"}var Br={convertOffsetParentRelativeRectToViewportRelativeRect:Hp,getDocumentElement:Tt,getClippingRect:qp,getOffsetParent:rl,getElementRects:Jp,getClientRects:Vp,getDimensions:Yp,getScale:Dr,isElement:yt,isRTL:Qp};var qi=(t,e,r)=>{let n=new Map,i={platform:Br,...r},a={...i.platform,_c:n};return Hs(t,e,{...i,platform:a})};function Xi(t){return ef(t)}function Yi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ef(t){for(let e=t;e;e=Yi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Yi(t);e;e=Yi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Ji(t,e,r){return qi(t,e,{platform:{...Br,getOffsetParent:n=>Br.getOffsetParent(n,Xi)},middleware:[Gi({crossAxis:!0}),en({allowedPlacements:[r]})]})}async function Qi(t,e,r,n,i,a,s=4){return qi(t,e,{placement:r,strategy:i,platform:{...Br,getOffsetParent:l=>Br.getOffsetParent(l,Xi)},middleware:[ji(s),en({allowedPlacements:n}),Ki({apply({availableHeight:l,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var oa={};ie(oa,{FtdsBase:()=>Oo,toFtdsBase:()=>an});var ra={};ie(ra,{FtLitElement:()=>U});var ta={};ie(ta,{ScopedRegistryLitElement:()=>So});var So=class extends Lt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return no(n,e.elementStyles),n}};var nn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},al,ol=Symbol("constructorPrototype"),nl=Symbol("constructorName"),sl=Symbol("exportpartsDebouncer"),il=Symbol("dynamicDependenciesLoaded"),U=class extends So{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[al]=new le(5),this[nl]=this.constructor.name,this[ol]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[nl]&&Object.setPrototypeOf(this,this[ol])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[il]||(e[il]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[sl].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,l;let d=b=>b!=null&&b.trim().length>0,f=e.filter(d).map(b=>b.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let b of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(a=(i=b.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...v).filter(d).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(b=>f.map(S=>`${b}:${S}--${b}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};al=sl;nn([m()],U.prototype,"exportpartsPrefix",void 0);nn([$e([])],U.prototype,"exportpartsPrefixes",void 0);nn([m()],U.prototype,"customStylesheet",void 0);nn([W()],U.prototype,"useAdoptedStyleSheets",void 0);var ll=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function an(t){class e extends t{constructor(){super(...arguments),this.size=ke.medium,this.family=_t.neutral}getDesignSystemBaseClasses(){return{[Ii(this.family)]:!0,[Di(this.size)]:!0}}}return ll([m()],e.prototype,"size",void 0),ll([m()],e.prototype,"family",void 0),e}var Oo=class extends an(U){};var cl={};var aa={};ie(aa,{highlightHtml:()=>ia,highlightHtmlColorCssVariable:()=>dl,highlightHtmlStyles:()=>rf});var ur=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),l=[],d=[],f,h,u=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;u();)this.iframes&&this.forEachIframe(r,b=>this.checkIframeFilter(f,h,b,l),b=>{this.createInstanceOnIframe(b).forEachNode(e,S=>d.push(S),i)}),d.push(f);d.forEach(b=>{n(b)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var Co=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ur(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),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${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return ur.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let f=r-s.start,h=(n>s.end?s.end:n)-s.start,u=e.value.substr(0,s.start),b=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=u+b,e.nodes.forEach((S,v)=>{v>=l&&(e.nodes[v].start>0&&v!==l&&(e.nodes[v].start-=h),e.nodes[v].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!n(f[s],d))continue;let h=f.index;if(s!==0)for(let u=1;u<s;u++)h+=f[u].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let u=1;u<s;u++)f+=d[u].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,u=>n(d[s],u),(u,b)=>{e.lastIndex=b,i(u)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,f,h,b=>r(b,l,a.value.substring(f,h),d),b=>{n(b,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(b,S)=>this.opt.filter(S,f,n,u),b=>{u++,n++,this.opt.each(b)},()=>{u===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(n):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=ur.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function na(t){let e=new Co(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var tf=na,dl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),rf=_`
|
|
6
6
|
.highlight-html-match {
|
|
7
|
-
background: ${
|
|
7
|
+
background: ${dl};
|
|
8
8
|
}
|
|
9
|
-
`;function
|
|
9
|
+
`;function ia(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new tf(t);if(s.unmark(),e&&e.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(l.each=f=>{for(let h in r.attributes)f.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var la={};ie(la,{noTextInputDefaultClearButton:()=>wo,noTextSelect:()=>Pt,safariEllipsisFix:()=>Eo,wordWrap:()=>sa});var Pt=_`
|
|
10
10
|
.ft-no-text-select {
|
|
11
11
|
-webkit-touch-callout: none;
|
|
12
12
|
-webkit-user-select: none;
|
|
@@ -15,7 +15,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
15
15
|
-ms-user-select: none;
|
|
16
16
|
user-select: none;
|
|
17
17
|
}
|
|
18
|
-
`,
|
|
18
|
+
`,sa=_`
|
|
19
19
|
.ft-word-wrap {
|
|
20
20
|
white-space: normal;
|
|
21
21
|
word-wrap: break-word;
|
|
@@ -27,7 +27,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
27
27
|
-webkit-hyphens: auto;
|
|
28
28
|
hyphens: auto
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,Eo=_`
|
|
31
31
|
.ft-safari-ellipsis-fix {
|
|
32
32
|
margin-right: 0;
|
|
33
33
|
|
|
@@ -38,14 +38,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
38
38
|
display: inline-block;
|
|
39
39
|
width: 0;
|
|
40
40
|
}
|
|
41
|
-
`,
|
|
41
|
+
`,wo=_`
|
|
42
42
|
input::-webkit-search-cancel-button,
|
|
43
43
|
input::-webkit-search-decoration,
|
|
44
44
|
input::-webkit-search-results-button,
|
|
45
45
|
input::-webkit-search-results-decoration {
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
|
-
`;var sl={};var sa={};ae(sa,{ParametrizedLabelResolver:()=>Ht});var Ht=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var $a={};ae($a,{FtCommandQueue:()=>Eo,FtLitElementRedux:()=>Fr,FtReduxStore:()=>br,ReduxWatcher:()=>cn,clearAllStores:()=>Ff,isFtReduxStore:()=>hr,redux:()=>ll,reduxEventListener:()=>ef,reduxReactive:()=>Qp,watch:()=>Mf});var Qp=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ll=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:cr,attribute:!1,...e};m(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},ef=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Eo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function hr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var cl,dl,pl,wo=Symbol("internalReduxEventsUnsubscribers"),Vt=Symbol("internalStoresUnsubscribers"),mr=Symbol("internalStores"),Fr=class extends U{constructor(){super(...arguments),this[cl]=new Map,this[dl]=new Map,this[pl]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[mr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[mr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[mr].get(e)}addStore(e,r){var n;r=(n=r??(hr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[mr].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[mr].delete(r)}setupStores(){this.unsubscribeFromStores(),this[mr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[Vt].has(e.store):this[Vt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Vt].set(e,r.subscribe(()=>this.updateFromStores())),this[wo].set(e,[]),hr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.addEventListener(i.eventName,s),this[wo].get(e).push(()=>r.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Vt].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[Vt].has(e)&&this[Vt].get(e)(),this[Vt].delete(e),(r=this[wo].get(e))===null||r===void 0||r.forEach(n=>n()),this[wo].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};cl=Vt,dl=mr,pl=wo;Fr.reduxProperties=new Map;Fr.reduxReactiveProperties=new Set;Fr.reduxEventListeners=new Map;function rt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Pt(t){return!!t&&!!t[fe]}function lt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===cf}(t)||Array.isArray(t)||!!t[bl]||!!(!((e=t.constructor)===null||e===void 0)&&e[bl])||ya(t)||ga(t))}function yr(t,e,r){r===void 0&&(r=!1),zr(t)===0?(r?Object.keys:Ur)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function zr(t){var e=t[fe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ya(t)?2:ga(t)?3:0}function Mr(t,e){return zr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function tf(t,e){return zr(t)===2?t.get(e):t[e]}function xl(t,e,r){var n=zr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function vl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ya(t){return sf&&t instanceof Map}function ga(t){return lf&&t instanceof Set}function jt(t){return t.o||t.t}function ba(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Cl(t);delete e[fe];for(var r=Ur(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function xa(t,e){return e===void 0&&(e=!1),va(t)||Pt(t)||!lt(t)||(zr(t)>1&&(t.set=t.add=t.clear=t.delete=rf),Object.freeze(t),e&&yr(t,function(r,n){return xa(n,!0)},!0)),t}function rf(){rt(2)}function va(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function gt(t){var e=ma[t];return e||rt(18,t),e}function of(t,e){ma[t]||(ma[t]=e)}function fa(){return Ro}function la(t,e){e&&(gt("Patches"),t.u=[],t.s=[],t.v=e)}function on(t){ua(t),t.p.forEach(nf),t.p=null}function ua(t){t===Ro&&(Ro=t.l)}function fl(t){return Ro={p:[],l:Ro,h:t,m:!0,_:0}}function nf(t){var e=t[fe];e.i===0||e.i===1?e.j():e.g=!0}function ca(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||gt("ES5").S(e,t,n),n?(r[fe].P&&(on(e),rt(4)),lt(t)&&(t=nn(e,t),e.l||an(e,t)),e.u&>("Patches").M(r[fe].t,t,e.u,e.s)):t=nn(e,r,[]),on(e),e.u&&e.v(e.u,e.s),t!==Ol?t:void 0}function nn(t,e,r){if(va(e))return e;var n=e[fe];if(!n)return yr(e,function(l,d){return ul(t,n,e,l,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return an(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ba(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),yr(a,function(l,d){return ul(t,n,i,l,d,r,s)}),an(t,i,!1),r&&t.u&>("Patches").N(n,r,t.u,t.s)}return n.o}function ul(t,e,r,n,i,a,s){if(Pt(i)){var l=nn(t,i,a&&e&&e.i!==3&&!Mr(e.R,n)?a.concat(n):void 0);if(xl(r,n,l),!Pt(l))return;t.m=!1}else s&&r.add(i);if(lt(i)&&!va(i)){if(!t.h.D&&t._<1)return;nn(t,i),e&&e.A.l||an(t,i)}}function an(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&xa(e,r)}function da(t,e){var r=t[fe];return(r?jt(r):t)[e]}function hl(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Gt(t){t.P||(t.P=!0,t.l&&Gt(t.l))}function pa(t){t.o||(t.o=ba(t.t))}function ha(t,e,r){var n=ya(e)?gt("MapSet").F(e,r):ga(e)?gt("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:fa(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,f=Lo;s&&(d=[l],f=Ao);var h=Proxy.revocable(d,f),u=h.revoke,b=h.proxy;return l.k=b,l.j=u,b}(e,r):gt("ES5").J(e,r);return(r?r.A:fa()).p.push(n),n}function af(t){return Pt(t)||rt(22,t),function e(r){if(!lt(r))return r;var n,i=r[fe],a=zr(r);if(i){if(!i.P&&(i.i<4||!gt("ES5").K(i)))return i.t;i.I=!0,n=ml(r,a),i.I=!1}else n=ml(r,a);return yr(n,function(s,l){i&&tf(i.t,s)===l||xl(n,s,e(l))}),a===3?new Set(n):n}(t)}function ml(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ba(t)}function Sl(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[fe];return Lo.get(f,s)},set:function(f){var h=this[fe];Lo.set(h,s,f)}},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:n(d)&&Gt(d);break;case 4:r(d)&&Gt(d)}}}function r(s){for(var l=s.t,d=s.k,f=Ur(d),h=f.length-1;h>=0;h--){var u=f[h];if(u!==fe){var b=l[u];if(b===void 0&&!Mr(l,u))return!0;var S=d[u],v=S&&S[fe];if(v?v.t!==b:!vl(S,b))return!0}}var E=!!l[fe];return f.length!==Ur(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&rt(3,JSON.stringify(jt(s)))}var a={};of("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(u,b){if(u){for(var S=Array(b.length),v=0;v<b.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var E=Cl(b);delete E[fe];for(var $=Ur(E),T=0;T<$.length;T++){var P=$[T];E[P]=t(P,u||!!E[P].enumerable)}return Object.create(Object.getPrototypeOf(b),E)}(d,s),h={i:d?5:4,A:l?l.A:fa(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,fe,{value:h,writable:!0}),f},S:function(s,l,d){d?Pt(l)&&l[fe].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var u=h[fe];if(u){var b=u.t,S=u.k,v=u.R,E=u.i;if(E===4)yr(S,function(O){O!==fe&&(b[O]!==void 0||Mr(b,O)?v[O]||f(S[O]):(v[O]=!0,Gt(u)))}),yr(b,function(O){S[O]!==void 0||Mr(S,O)||(v[O]=!1,Gt(u))});else if(E===5){if(n(u)&&(Gt(u),v.length=!0),S.length<b.length)for(var $=S.length;$<b.length;$++)v[$]=!1;else for(var T=b.length;T<S.length;T++)v[T]=!0;for(var P=Math.min(S.length,b.length),A=0;A<P;A++)S.hasOwnProperty(A)||(v[A]=!0),v[A]===void 0&&f(S[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var yl,Ro,Sa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",sf=typeof Map<"u",lf=typeof Set<"u",gl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ol=Sa?Symbol.for("immer-nothing"):((yl={})["immer-nothing"]=!0,yl),bl=Sa?Symbol.for("immer-draftable"):"__$immer_draftable",fe=Sa?Symbol.for("immer-state"):"__$immer_state";var cf=""+Object.prototype.constructor,Ur=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Cl=Object.getOwnPropertyDescriptors||function(t){var e={};return Ur(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ma={},Lo={get:function(t,e){if(e===fe)return t;var r=jt(t);if(!Mr(r,e))return function(i,a,s){var l,d=hl(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!lt(n)?n:n===da(t.t,e)?(pa(t),t.o[e]=ha(t.A.h,n,t)):n},has:function(t,e){return e in jt(t)},ownKeys:function(t){return Reflect.ownKeys(jt(t))},set:function(t,e,r){var n=hl(jt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=da(jt(t),e),a=i?.[fe];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(vl(r,i)&&(r!==void 0||Mr(t.t,e)))return!0;pa(t),Gt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return da(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,pa(t),Gt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=jt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){rt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){rt(12)}},Ao={};yr(Lo,function(t,e){Ao[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ao.deleteProperty=function(t,e){return Ao.set.call(this,t,e,void 0)},Ao.set=function(t,e,r){return Lo.set.call(this,t[0],e,r,t[0])};var df=function(){function t(r){var n=this;this.O=gl,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(E){var $=this;E===void 0&&(E=l);for(var T=arguments.length,P=Array(T>1?T-1:0),A=1;A<T;A++)P[A-1]=arguments[A];return d.produce(E,function(O){var R;return(R=a).call.apply(R,[$,O].concat(P))})}}var f;if(typeof a!="function"&&rt(6),s!==void 0&&typeof s!="function"&&rt(7),lt(i)){var h=fl(n),u=ha(n,i,void 0),b=!0;try{f=a(u),b=!1}finally{b?on(h):ua(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(E){return la(h,s),ca(E,h)},function(E){throw on(h),E}):(la(h,s),ca(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Ol&&(f=void 0),n.D&&xa(f,!0),s){var S=[],v=[];gt("Patches").M(i,f,S,v),s(S,v)}return f}rt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,u=Array(h>1?h-1:0),b=1;b<h;b++)u[b-1]=arguments[b];return n.produceWithPatches(f,function(S){return i.apply(void 0,[S].concat(u))})};var s,l,d=n.produce(i,a,function(f,h){s=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){lt(r)||rt(8),Pt(r)&&(r=af(r));var n=fl(this),i=ha(this,r,void 0);return i[fe].C=!0,ua(n),i},e.finishDraft=function(r,n){var i=r&&r[fe],a=i.A;return la(a,n),ca(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!gl&&rt(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=gt("Patches").$;return Pt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),Ye=new df,pf=Ye.produce,Sb=Ye.produceWithPatches.bind(Ye),Ob=Ye.setAutoFreeze.bind(Ye),Cb=Ye.setUseProxies.bind(Ye),Eb=Ye.applyPatches.bind(Ye),wb=Ye.createDraft.bind(Ye),Ab=Ye.finishDraft.bind(Ye),sn=pf;function gr(t){"@babel/helpers - typeof";return gr=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},gr(t)}function El(t,e){if(gr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(gr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function wl(t){var e=El(t,"string");return gr(e)=="symbol"?e:e+""}function Al(t,e,r){return(e=wl(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Oa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Rl(Object(r),!0).forEach(function(n){Al(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rl(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ie(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ll=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ca=function(){return Math.random().toString(36).substring(7).split("").join(".")},ln={INIT:"@@redux/INIT"+Ca(),REPLACE:"@@redux/REPLACE"+Ca(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ca()}};function ff(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Ea(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ie(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ie(1));return r(Ea)(t,e)}if(typeof t!="function")throw new Error(Ie(2));var i=t,a=e,s=[],l=s,d=!1;function f(){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 $=!0;return f(),l.push(E),function(){if($){if(d)throw new Error(Ie(6));$=!1,f();var P=l.indexOf(E);l.splice(P,1),s=null}}}function b(E){if(!ff(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=i(a,E)}finally{d=!1}for(var $=s=l,T=0;T<$.length;T++){var P=$[T];P()}return E}function S(E){if(typeof E!="function")throw new Error(Ie(10));i=E,b({type:ln.REPLACE})}function v(){var E,$=u;return E={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(Ie(11));function A(){P.next&&P.next(h())}A();var O=$(A);return{unsubscribe:O}}},E[Ll]=function(){return this},E}return b({type:ln.INIT}),n={dispatch:b,subscribe:u,getState:h,replaceReducer:S},n[Ll]=v,n}function uf(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:ln.INIT});if(typeof n>"u")throw new Error(Ie(12));if(typeof r(void 0,{type:ln.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ie(13))})}function kl(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,l;try{uf(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var u;for(var b=!1,S={},v=0;v<a.length;v++){var E=a[v],$=r[E],T=f[E],P=$(T,h);if(typeof P>"u"){var A=h&&h.type;throw new Error(Ie(14))}S[E]=P,b=b||P!==T}return b=b||a.length!==Object.keys(f).length,b?S:f}}function Wr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function _l(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ie(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=Wr.apply(void 0,l)(i.dispatch),Oa(Oa({},i),{},{dispatch:a})}}}function $l(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var Nl=$l();Nl.withExtraArgument=$l;var wa=Nl;var Bl=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),hf=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(h){return d([f,h])}}function d(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,i=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Hr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},mf=Object.defineProperty,yf=Object.defineProperties,gf=Object.getOwnPropertyDescriptors,Tl=Object.getOwnPropertySymbols,bf=Object.prototype.hasOwnProperty,xf=Object.prototype.propertyIsEnumerable,Pl=function(t,e,r){return e in t?mf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Kt=function(t,e){for(var r in e||(e={}))bf.call(e,r)&&Pl(t,r,e[r]);if(Tl)for(var n=0,i=Tl(e);n<i.length;n++){var r=i[n];xf.call(e,r)&&Pl(t,r,e[r])}return t},Aa=function(t,e){return yf(t,gf(e))},vf=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{l(r.next(d))}catch(f){i(f)}},s=function(d){try{l(r.throw(d))}catch(f){i(f)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var Sf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Wr:Wr.apply(null,arguments)},Vb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Of(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Cf=function(t){Bl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Hr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Hr([void 0],r.concat(this))))},e}(Array),Ef=function(t){Bl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Hr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Hr([void 0],r.concat(this))))},e}(Array);function ka(t){return lt(t)?sn(t,function(){}):t}function wf(t){return typeof t=="boolean"}function Af(){return function(e){return Rf(e)}}function Rf(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=new Cf;if(r&&(wf(r)?l.push(wa):l.push(wa.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var f}return l}var Ra=!0;function Fl(t){var e=Af(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,h=f===void 0?void 0:f,u=r.enhancers,b=u===void 0?void 0:u,S;if(typeof i=="function")S=i;else if(Of(i))S=kl(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(e),!Ra&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ra&&v.some(function(O){return typeof O!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=_l.apply(void 0,v),$=Wr;d&&($=Sf(Kt({trace:!Ra},typeof d=="object"&&d)));var T=new Ef(E),P=T;Array.isArray(b)?P=Hr([E],b):typeof b=="function"&&(P=b(T));var A=$.apply(void 0,P);return Ea(S,h,A)}function Zt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Kt(Kt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Ml(t){var e={},r=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Lf(t){return typeof t=="function"}function kf(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Ml(e):[e,r,n],a=i[0],s=i[1],l=i[2],d;if(Lf(t))d=function(){return ka(t())};else{var f=ka(t);d=function(){return f}}function h(u,b){u===void 0&&(u=d());var S=Hr([a[b.type]],s.filter(function(v){var E=v.matcher;return E(b)}).map(function(v){var E=v.reducer;return E}));return S.filter(function(v){return!!v}).length===0&&(S=[l]),S.reduce(function(v,E){if(E)if(Pt(v)){var $=v,T=E($,b);return T===void 0?v:T}else{if(lt(v))return sn(v,function(P){return E(P,b)});var T=E(v,b);if(T===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return v},u)}return h.getInitialState=d,h}function _f(t,e){return t+"/"+e}function Ul(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:ka(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var u=n[h],b=_f(e,h),S,v;"reducer"in u?(S=u.reducer,v=u.prepare):S=u,a[h]=S,s[b]=S,l[h]=v?Zt(b,v):Zt(b)});function d(){var h=typeof t.extraReducers=="function"?Ml(t.extraReducers):[t.extraReducers],u=h[0],b=u===void 0?{}:u,S=h[1],v=S===void 0?[]:S,E=h[2],$=E===void 0?void 0:E,T=Kt(Kt({},b),s);return kf(r,function(P){for(var A in T)P.addCase(A,T[A]);for(var O=0,R=v;O<R.length;O++){var F=R[O];P.addMatcher(F.matcher,F.reducer)}$&&P.addDefaultCase($)})}var f;return{name:e,reducer:function(h,u){return f||(f=d()),f(h,u)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var $f="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Nf=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=$f[Math.random()*64|0];return e},Tf=["name","message","stack","code"],La=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Il=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Pf=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Tf;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Zb=function(){function t(e,r,n){var i=Zt(e+"/fulfilled",function(h,u,b,S){return{payload:h,meta:Aa(Kt({},S||{}),{arg:b,requestId:u,requestStatus:"fulfilled"})}}),a=Zt(e+"/pending",function(h,u,b){return{payload:void 0,meta:Aa(Kt({},b||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Zt(e+"/rejected",function(h,u,b,S,v){return{payload:S,error:(n&&n.serializeError||Pf)(h||"Rejected"),meta:Aa(Kt({},v||{}),{arg:b,requestId:u,rejectedWithValue:!!S,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 f(h){return function(u,b,S){var v=n?.idGenerator?n.idGenerator(h):Nf(),E=new d,$,T=!1;function P(O){$=O,E.abort()}var A=function(){return vf(this,null,function(){var O,R,F,K,re,ee,z;return hf(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),K=(O=n?.condition)==null?void 0:O.call(n,h,{getState:b,extra:S}),Df(K)?[4,K]:[3,2];case 1:K=y.sent(),y.label=2;case 2:if(K===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,re=new Promise(function(C,D){return E.signal.addEventListener("abort",function(){return D({name:"AbortError",message:$||"Aborted"})})}),u(a(v,h,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:v,arg:h},{getState:b,extra:S}))),[4,Promise.race([re,Promise.resolve(r(h,{dispatch:u,getState:b,extra:S,requestId:v,signal:E.signal,abort:P,rejectWithValue:function(C,D){return new La(C,D)},fulfillWithValue:function(C,D){return new Il(C,D)}})).then(function(C){if(C instanceof La)throw C;return C instanceof Il?i(C.payload,v,h,C.meta):i(C,v,h)})])];case 3:return F=y.sent(),[3,5];case 4:return ee=y.sent(),F=ee instanceof La?s(null,v,h,ee.payload,ee.meta):s(ee,v,h),[3,5];case 5:return z=n&&!n.dispatchConditionRejection&&s.match(F)&&F.meta.condition,z||u(F),[2,F]}})})}();return Object.assign(A,{abort:P,requestId:v,arg:h,unwrap:function(){return A.then(If)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function If(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Df(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var zl="listener",Wl="completed",Hl="cancelled",qb="task-"+Hl,Yb="task-"+Wl,Xb=zl+"-"+Hl,Jb=zl+"-"+Wl;var _a="listenerMiddleware";var Qb=Zt(_a+"/add"),ex=Zt(_a+"/removeAll"),tx=Zt(_a+"/remove");var Dl,rx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Dl||(Dl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Bf=function(t){return function(e){setTimeout(e,t)}},ox=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Bf(10);Sl();window.ftReduxStores||(window.ftReduxStores={});var br=class t extends lr{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(hr(a))return a;if(i==null)return;let s=Ul({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Fl({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[i.name]=new t(s,l,i.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Eo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,f=a[d];return f?(...h)=>{let u=f(...h.map(i));return this.reduxStore.dispatch(u),u}:h=>{this.setState({[d]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Ff(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))hr(e)&&e.clear()}var cn=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);cr(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Mf(t,e,r){return new cn(t,e,r).watch()}var Pa={};ae(Pa,{scrollHelper:()=>Uf});var Na,dn=new Map,Ta=class{lock(e,r){if(r){let n=dn.get(r);if(n==null||n===e)return dn.set(r,e),r}}release(e,r){r&&dn.get(r)===e&&dn.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let a of ii(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(r=n??i)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,i;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return a+((i=r?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,l=uo(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Na=window.FluidTopicsScrollHelper)!==null&&Na!==void 0?Na:new Ta;var Uf=window.FluidTopicsScrollHelper;var Ia={};ae(Ia,{shadowQuerySelector:()=>zf,shadowQuerySelectorAll:()=>Wf});function zf(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Wf(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Ba={};ae(Ba,{SearchPlaceConverter:()=>xr,SearchPlaceQueryParams:()=>se,isSearchPlaceQueryParams:()=>gc,serializeRequest:()=>jf});var Hf=kd(jl(),1);var Gl;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Gl||(Gl={}));var Kl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Kl||(Kl={}));var Zl;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Zl||(Zl={}));var ql;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ql||(ql={}));var Yl;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Yl||(Yl={}));var Xl;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Xl||(Xl={}));var Jl;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Jl||(Jl={}));var Ql;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Ql||(Ql={}));var ec;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ec||(ec={}));var tc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(tc||(tc={}));var rc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(rc||(rc={}));var oc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(oc||(oc={}));var nc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(nc||(nc={}));var ic;(function(t){t.ASC="ASC",t.DESC="DESC"})(ic||(ic={}));var ac;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(ac||(ac={}));var Da;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Da||(Da={}));var fc=t=>Object.keys(Da).includes(t);var sc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(sc||(sc={}));var lc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(lc||(lc={}));var cc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(cc||(cc={}));var jr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(jr||(jr={}));var uc=t=>Object.keys(jr).includes(t);var dc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(dc||(dc={}));var pc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(pc||(pc={}));var Ce;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(Ce||(Ce={}));var hc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(hc||(hc={}));var mc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(mc||(mc={}));var Ex={[Ce.PERSONAL_BOOK_SHARE_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.HTML_EXPORT_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.PDF_EXPORT_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.KHUB_ADMIN]:[Ce.CONTENT_PUBLISHER],[Ce.ADMIN]:[Ce.KHUB_ADMIN,Ce.USERS_ADMIN,Ce.PORTAL_ADMIN],[Ce.DEVELOPER]:[Ce.BETA_USER,Ce.DEBUG_USER],[Ce.GENERATIVE_AI_EXPORT_USER]:[Ce.GENERATIVE_AI_USER]};function Vf(t){return`"${t}"`}function yc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function jf(t,e){return new xr(t).serialize(e)}var se;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(se||(se={}));var Gf=new Set(Object.values(se));function gc(t){return Gf.has(t)}var xr=class{constructor(e,r={},n=20,i=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=n,this.allLanguagesAllowed=i,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,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=this.toURLSearchParams(e).toString(),i=r==null||r.trim().length===0,a=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=n,a.toString()}toURLSearchParams(e,r=!1){var n,i,a,s,l,d,f,h,u,b,S,v;let E=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&E.append(se.LOCALE,e.contentLocale):E.append(se.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&E.append(se.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&E.append(se.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(se.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(se.SORT,"last_update");let $=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(O=>O.valueFilter))!==null&&s!==void 0?s:[];if($.length>0){let O=$.map(R=>{var F,K;let re=((K=(F=R.valueFilter)===null||F===void 0?void 0:F.values)!==null&&K!==void 0?K:[]).map(ee=>this.escapeFilters(ee)).map(ee=>encodeURIComponent(Vf(yc(ee)))).join("_");return`${R.key}~${re}`}).join("*");E.append(se.VALUE_FILTERS,O)}let T=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(O=>O.dateFilter))!==null&&d!==void 0?d:[];if(T.length>0){let O=T.map(R=>{var F;return`${R.key}~${(F=R.dateFilter)===null||F===void 0?void 0:F.type.toLowerCase()}`}).join("*");E.append(se.DATE_FILTERS,O)}let P=(h=(f=e.metadataFilters)===null||f===void 0?void 0:f.filter(O=>O.rangeFilter))!==null&&h!==void 0?h:[];if(P.length>0){let O=P.map(R=>{var F,K;return`${R.key}~${(F=R.rangeFilter)===null||F===void 0?void 0:F.from}_${(K=R.rangeFilter)===null||K===void 0?void 0:K.to}`}).join("*");E.append(se.RANGE_FILTERS,O)}let A=(u=e.otherQueryParams)!==null&&u!==void 0?u:{};for(let O in A)E.append(O,A[O]);return!((b=e.paging)===null||b===void 0)&&b.perPage&&((v=(S=e.paging)===null||S===void 0?void 0:S.perPage)!==null&&v!==void 0?v:this.defaultPerPage)!=this.defaultPerPage&&E.append(se.PER_PAGE,String(e.paging.perPage)),E}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,a,s,l,d,f;let h=e.get(se.LOCALE)==="all"?void 0:e.get(se.LOCALE),u=((r=e.get(se.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),b=((n=e.get(se.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),S=(i=e.get(se.SCOPE))!==null&&i!==void 0?i:"default",v=+((a=e.get(se.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E={};for(let $ of e.keys())gc($)||(E[$]=e.get($));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(se.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[S])!==null&&l!==void 0?l:"DEFAULT",virtualField:fc(u)?u:"EVERYWHERE",sort:(f=(d=this.predefinedSorts[b])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&f!==void 0?f:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:uo(1,isNaN(v)?this.defaultPerPage:v,1e3)},otherQueryParams:E}}parseCompatFilters(e){var r,n,i,a,s,l;let d=[];return e.has(se.FILTERS)&&(d=this.parseValueFilters((r=e.get(se.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(se.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(se.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(se.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(se.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(se.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(yc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:jr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replace(i,r);return e}parseLegacyPeriodFilter(e){if(uc(e))return[{key:"ft:lastEdition",dateFilter:{type:jr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var Ma={};ae(Ma,{toFtFormComponent:()=>Fa});var un=Symbol("elementInternals");function Fa(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[un].form}constructor(...i){super(i),this[un]=this.attachInternals(),this[un].role=e}setFormValue(i){this[un].setFormValue(i)}}return r}var Ua={};ae(Ua,{DateFormatter:()=>Gr});var Gr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var za,Wa,Ha,Va,vr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ha=(Wa=(za=window.safari)===null||za===void 0?void 0:za.pushNotification)===null||Wa===void 0?void 0:Wa.toString())!==null&&Ha!==void 0?Ha:"")==="[object SafariRemoteNotification]",ja="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Va=window.ftGlobals)!==null&&Va!==void 0?Va:{lit:Mn,litDecorators:Hn,litRepeat:Vn,litClassMap:jn,litStyleMap:Gn,litUnsafeHTML:Zn,wcUtils:{...ti,...Yn,...oi,...Ua,...ni,...si,...Di,...ei,...Ji,...Ii,...ta,...ea,...il,...ai,...na,...aa,...sl,...sa,...$a,...Qi,...Pa,...Ia,...Ba,...Ma,isSafari:vr,isTouchScreen:ja,setVariable:x}};var ot;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(ot||(ot={}));var bc=_`
|
|
48
|
+
`;var pl={};var ca={};ie(ca,{ParametrizedLabelResolver:()=>Vt});var Vt=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Ta={};ie(Ta,{FtCommandQueue:()=>Ao,FtLitElementRedux:()=>Fr,FtReduxStore:()=>br,ReduxWatcher:()=>fn,clearAllStores:()=>Wf,isFtReduxStore:()=>hr,redux:()=>fl,reduxEventListener:()=>nf,reduxReactive:()=>of,watch:()=>Hf});var of=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},fl=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:dr,attribute:!1,...e};m(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},nf=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Ao=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function hr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ul,hl,ml,Ro=Symbol("internalReduxEventsUnsubscribers"),jt=Symbol("internalStoresUnsubscribers"),mr=Symbol("internalStores"),Fr=class extends U{constructor(){super(...arguments),this[ul]=new Map,this[hl]=new Map,this[ml]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[mr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[mr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[mr].get(e)}addStore(e,r){var n;r=(n=r??(hr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[mr].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[mr].delete(r)}setupStores(){this.unsubscribeFromStores(),this[mr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[jt].has(e.store):this[jt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[jt].set(e,r.subscribe(()=>this.updateFromStores())),this[Ro].set(e,[]),hr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.addEventListener(i.eventName,s),this[Ro].get(e).push(()=>r.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[jt].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[jt].has(e)&&this[jt].get(e)(),this[jt].delete(e),(r=this[Ro].get(e))===null||r===void 0||r.forEach(n=>n()),this[Ro].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ul=jt,hl=mr,ml=Ro;Fr.reduxProperties=new Map;Fr.reduxReactiveProperties=new Set;Fr.reduxEventListeners=new Map;function rt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function It(t){return!!t&&!!t[ue]}function lt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===uf}(t)||Array.isArray(t)||!!t[Ol]||!!(!((e=t.constructor)===null||e===void 0)&&e[Ol])||ba(t)||xa(t))}function yr(t,e,r){r===void 0&&(r=!1),zr(t)===0?(r?Object.keys:Ur)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function zr(t){var e=t[ue];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ba(t)?2:xa(t)?3:0}function Mr(t,e){return zr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function af(t,e){return zr(t)===2?t.get(e):t[e]}function Cl(t,e,r){var n=zr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function El(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ba(t){return pf&&t instanceof Map}function xa(t){return ff&&t instanceof Set}function Gt(t){return t.o||t.t}function va(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Rl(t);delete e[ue];for(var r=Ur(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Sa(t,e){return e===void 0&&(e=!1),Oa(t)||It(t)||!lt(t)||(zr(t)>1&&(t.set=t.add=t.clear=t.delete=sf),Object.freeze(t),e&&yr(t,function(r,n){return Sa(n,!0)},!0)),t}function sf(){rt(2)}function Oa(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function gt(t){var e=ga[t];return e||rt(18,t),e}function lf(t,e){ga[t]||(ga[t]=e)}function ha(){return ko}function da(t,e){e&&(gt("Patches"),t.u=[],t.s=[],t.v=e)}function sn(t){ma(t),t.p.forEach(cf),t.p=null}function ma(t){t===ko&&(ko=t.l)}function yl(t){return ko={p:[],l:ko,h:t,m:!0,_:0}}function cf(t){var e=t[ue];e.i===0||e.i===1?e.j():e.g=!0}function pa(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||gt("ES5").S(e,t,n),n?(r[ue].P&&(sn(e),rt(4)),lt(t)&&(t=ln(e,t),e.l||cn(e,t)),e.u&>("Patches").M(r[ue].t,t,e.u,e.s)):t=ln(e,r,[]),sn(e),e.u&&e.v(e.u,e.s),t!==Al?t:void 0}function ln(t,e,r){if(Oa(e))return e;var n=e[ue];if(!n)return yr(e,function(l,d){return gl(t,n,e,l,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return cn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=va(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),yr(a,function(l,d){return gl(t,n,i,l,d,r,s)}),cn(t,i,!1),r&&t.u&>("Patches").N(n,r,t.u,t.s)}return n.o}function gl(t,e,r,n,i,a,s){if(It(i)){var l=ln(t,i,a&&e&&e.i!==3&&!Mr(e.R,n)?a.concat(n):void 0);if(Cl(r,n,l),!It(l))return;t.m=!1}else s&&r.add(i);if(lt(i)&&!Oa(i)){if(!t.h.D&&t._<1)return;ln(t,i),e&&e.A.l||cn(t,i)}}function cn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Sa(e,r)}function fa(t,e){var r=t[ue];return(r?Gt(r):t)[e]}function bl(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Kt(t){t.P||(t.P=!0,t.l&&Kt(t.l))}function ua(t){t.o||(t.o=va(t.t))}function ya(t,e,r){var n=ba(e)?gt("MapSet").F(e,r):xa(e)?gt("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:ha(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,f=_o;s&&(d=[l],f=Lo);var h=Proxy.revocable(d,f),u=h.revoke,b=h.proxy;return l.k=b,l.j=u,b}(e,r):gt("ES5").J(e,r);return(r?r.A:ha()).p.push(n),n}function df(t){return It(t)||rt(22,t),function e(r){if(!lt(r))return r;var n,i=r[ue],a=zr(r);if(i){if(!i.P&&(i.i<4||!gt("ES5").K(i)))return i.t;i.I=!0,n=xl(r,a),i.I=!1}else n=xl(r,a);return yr(n,function(s,l){i&&af(i.t,s)===l||Cl(n,s,e(l))}),a===3?new Set(n):n}(t)}function xl(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return va(t)}function wl(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[ue];return _o.get(f,s)},set:function(f){var h=this[ue];_o.set(h,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][ue];if(!d.P)switch(d.i){case 5:n(d)&&Kt(d);break;case 4:r(d)&&Kt(d)}}}function r(s){for(var l=s.t,d=s.k,f=Ur(d),h=f.length-1;h>=0;h--){var u=f[h];if(u!==ue){var b=l[u];if(b===void 0&&!Mr(l,u))return!0;var S=d[u],v=S&&S[ue];if(v?v.t!==b:!El(S,b))return!0}}var E=!!l[ue];return f.length!==Ur(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&rt(3,JSON.stringify(Gt(s)))}var a={};lf("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(u,b){if(u){for(var S=Array(b.length),v=0;v<b.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var E=Rl(b);delete E[ue];for(var $=Ur(E),T=0;T<$.length;T++){var P=$[T];E[P]=t(P,u||!!E[P].enumerable)}return Object.create(Object.getPrototypeOf(b),E)}(d,s),h={i:d?5:4,A:l?l.A:ha(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,ue,{value:h,writable:!0}),f},S:function(s,l,d){d?It(l)&&l[ue].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var u=h[ue];if(u){var b=u.t,S=u.k,v=u.R,E=u.i;if(E===4)yr(S,function(O){O!==ue&&(b[O]!==void 0||Mr(b,O)?v[O]||f(S[O]):(v[O]=!0,Kt(u)))}),yr(b,function(O){S[O]!==void 0||Mr(S,O)||(v[O]=!1,Kt(u))});else if(E===5){if(n(u)&&(Kt(u),v.length=!0),S.length<b.length)for(var $=S.length;$<b.length;$++)v[$]=!1;else for(var T=b.length;T<S.length;T++)v[T]=!0;for(var P=Math.min(S.length,b.length),A=0;A<P;A++)S.hasOwnProperty(A)||(v[A]=!0),v[A]===void 0&&f(S[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var vl,ko,Ca=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pf=typeof Map<"u",ff=typeof Set<"u",Sl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Al=Ca?Symbol.for("immer-nothing"):((vl={})["immer-nothing"]=!0,vl),Ol=Ca?Symbol.for("immer-draftable"):"__$immer_draftable",ue=Ca?Symbol.for("immer-state"):"__$immer_state";var uf=""+Object.prototype.constructor,Ur=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Rl=Object.getOwnPropertyDescriptors||function(t){var e={};return Ur(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ga={},_o={get:function(t,e){if(e===ue)return t;var r=Gt(t);if(!Mr(r,e))return function(i,a,s){var l,d=bl(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!lt(n)?n:n===fa(t.t,e)?(ua(t),t.o[e]=ya(t.A.h,n,t)):n},has:function(t,e){return e in Gt(t)},ownKeys:function(t){return Reflect.ownKeys(Gt(t))},set:function(t,e,r){var n=bl(Gt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=fa(Gt(t),e),a=i?.[ue];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(El(r,i)&&(r!==void 0||Mr(t.t,e)))return!0;ua(t),Kt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return fa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ua(t),Kt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Gt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){rt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){rt(12)}},Lo={};yr(_o,function(t,e){Lo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Lo.deleteProperty=function(t,e){return Lo.set.call(this,t,e,void 0)},Lo.set=function(t,e,r){return _o.set.call(this,t[0],e,r,t[0])};var hf=function(){function t(r){var n=this;this.O=Sl,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(E){var $=this;E===void 0&&(E=l);for(var T=arguments.length,P=Array(T>1?T-1:0),A=1;A<T;A++)P[A-1]=arguments[A];return d.produce(E,function(O){var R;return(R=a).call.apply(R,[$,O].concat(P))})}}var f;if(typeof a!="function"&&rt(6),s!==void 0&&typeof s!="function"&&rt(7),lt(i)){var h=yl(n),u=ya(n,i,void 0),b=!0;try{f=a(u),b=!1}finally{b?sn(h):ma(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(E){return da(h,s),pa(E,h)},function(E){throw sn(h),E}):(da(h,s),pa(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Al&&(f=void 0),n.D&&Sa(f,!0),s){var S=[],v=[];gt("Patches").M(i,f,S,v),s(S,v)}return f}rt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,u=Array(h>1?h-1:0),b=1;b<h;b++)u[b-1]=arguments[b];return n.produceWithPatches(f,function(S){return i.apply(void 0,[S].concat(u))})};var s,l,d=n.produce(i,a,function(f,h){s=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){lt(r)||rt(8),It(r)&&(r=df(r));var n=yl(this),i=ya(this,r,void 0);return i[ue].C=!0,ma(n),i},e.finishDraft=function(r,n){var i=r&&r[ue],a=i.A;return da(a,n),pa(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Sl&&rt(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=gt("Patches").$;return It(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),Ye=new hf,mf=Ye.produce,wb=Ye.produceWithPatches.bind(Ye),Ab=Ye.setAutoFreeze.bind(Ye),Rb=Ye.setUseProxies.bind(Ye),Lb=Ye.applyPatches.bind(Ye),kb=Ye.createDraft.bind(Ye),_b=Ye.finishDraft.bind(Ye),dn=mf;function gr(t){"@babel/helpers - typeof";return gr=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},gr(t)}function Ll(t,e){if(gr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(gr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function kl(t){var e=Ll(t,"string");return gr(e)=="symbol"?e:e+""}function _l(t,e,r){return(e=kl(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ea(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$l(Object(r),!0).forEach(function(n){_l(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$l(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ie(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Nl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),wa=function(){return Math.random().toString(36).substring(7).split("").join(".")},pn={INIT:"@@redux/INIT"+wa(),REPLACE:"@@redux/REPLACE"+wa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+wa()}};function yf(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Aa(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ie(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ie(1));return r(Aa)(t,e)}if(typeof t!="function")throw new Error(Ie(2));var i=t,a=e,s=[],l=s,d=!1;function f(){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 $=!0;return f(),l.push(E),function(){if($){if(d)throw new Error(Ie(6));$=!1,f();var P=l.indexOf(E);l.splice(P,1),s=null}}}function b(E){if(!yf(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=i(a,E)}finally{d=!1}for(var $=s=l,T=0;T<$.length;T++){var P=$[T];P()}return E}function S(E){if(typeof E!="function")throw new Error(Ie(10));i=E,b({type:pn.REPLACE})}function v(){var E,$=u;return E={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(Ie(11));function A(){P.next&&P.next(h())}A();var O=$(A);return{unsubscribe:O}}},E[Nl]=function(){return this},E}return b({type:pn.INIT}),n={dispatch:b,subscribe:u,getState:h,replaceReducer:S},n[Nl]=v,n}function gf(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:pn.INIT});if(typeof n>"u")throw new Error(Ie(12));if(typeof r(void 0,{type:pn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ie(13))})}function Tl(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,l;try{gf(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var u;for(var b=!1,S={},v=0;v<a.length;v++){var E=a[v],$=r[E],T=f[E],P=$(T,h);if(typeof P>"u"){var A=h&&h.type;throw new Error(Ie(14))}S[E]=P,b=b||P!==T}return b=b||a.length!==Object.keys(f).length,b?S:f}}function Wr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Pl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ie(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=Wr.apply(void 0,l)(i.dispatch),Ea(Ea({},i),{},{dispatch:a})}}}function Il(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var Dl=Il();Dl.withExtraArgument=Il;var Ra=Dl;var zl=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),bf=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(h){return d([f,h])}}function d(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,i=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Hr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},xf=Object.defineProperty,vf=Object.defineProperties,Sf=Object.getOwnPropertyDescriptors,Bl=Object.getOwnPropertySymbols,Of=Object.prototype.hasOwnProperty,Cf=Object.prototype.propertyIsEnumerable,Fl=function(t,e,r){return e in t?xf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Zt=function(t,e){for(var r in e||(e={}))Of.call(e,r)&&Fl(t,r,e[r]);if(Bl)for(var n=0,i=Bl(e);n<i.length;n++){var r=i[n];Cf.call(e,r)&&Fl(t,r,e[r])}return t},La=function(t,e){return vf(t,Sf(e))},Ef=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{l(r.next(d))}catch(f){i(f)}},s=function(d){try{l(r.throw(d))}catch(f){i(f)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var wf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Wr:Wr.apply(null,arguments)},Zb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Af(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Rf=function(t){zl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Hr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Hr([void 0],r.concat(this))))},e}(Array),Lf=function(t){zl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Hr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Hr([void 0],r.concat(this))))},e}(Array);function $a(t){return lt(t)?dn(t,function(){}):t}function kf(t){return typeof t=="boolean"}function _f(){return function(e){return $f(e)}}function $f(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=new Rf;if(r&&(kf(r)?l.push(Ra):l.push(Ra.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var f}return l}var ka=!0;function Wl(t){var e=_f(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,h=f===void 0?void 0:f,u=r.enhancers,b=u===void 0?void 0:u,S;if(typeof i=="function")S=i;else if(Af(i))S=Tl(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(e),!ka&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ka&&v.some(function(O){return typeof O!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Pl.apply(void 0,v),$=Wr;d&&($=wf(Zt({trace:!ka},typeof d=="object"&&d)));var T=new Lf(E),P=T;Array.isArray(b)?P=Hr([E],b):typeof b=="function"&&(P=b(T));var A=$.apply(void 0,P);return Aa(S,h,A)}function qt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Zt(Zt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Hl(t){var e={},r=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Nf(t){return typeof t=="function"}function Tf(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Hl(e):[e,r,n],a=i[0],s=i[1],l=i[2],d;if(Nf(t))d=function(){return $a(t())};else{var f=$a(t);d=function(){return f}}function h(u,b){u===void 0&&(u=d());var S=Hr([a[b.type]],s.filter(function(v){var E=v.matcher;return E(b)}).map(function(v){var E=v.reducer;return E}));return S.filter(function(v){return!!v}).length===0&&(S=[l]),S.reduce(function(v,E){if(E)if(It(v)){var $=v,T=E($,b);return T===void 0?v:T}else{if(lt(v))return dn(v,function(P){return E(P,b)});var T=E(v,b);if(T===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return v},u)}return h.getInitialState=d,h}function Pf(t,e){return t+"/"+e}function Vl(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:$a(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var u=n[h],b=Pf(e,h),S,v;"reducer"in u?(S=u.reducer,v=u.prepare):S=u,a[h]=S,s[b]=S,l[h]=v?qt(b,v):qt(b)});function d(){var h=typeof t.extraReducers=="function"?Hl(t.extraReducers):[t.extraReducers],u=h[0],b=u===void 0?{}:u,S=h[1],v=S===void 0?[]:S,E=h[2],$=E===void 0?void 0:E,T=Zt(Zt({},b),s);return Tf(r,function(P){for(var A in T)P.addCase(A,T[A]);for(var O=0,R=v;O<R.length;O++){var F=R[O];P.addMatcher(F.matcher,F.reducer)}$&&P.addDefaultCase($)})}var f;return{name:e,reducer:function(h,u){return f||(f=d()),f(h,u)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var If="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Df=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=If[Math.random()*64|0];return e},Bf=["name","message","stack","code"],_a=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ml=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ff=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Bf;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Jb=function(){function t(e,r,n){var i=qt(e+"/fulfilled",function(h,u,b,S){return{payload:h,meta:La(Zt({},S||{}),{arg:b,requestId:u,requestStatus:"fulfilled"})}}),a=qt(e+"/pending",function(h,u,b){return{payload:void 0,meta:La(Zt({},b||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=qt(e+"/rejected",function(h,u,b,S,v){return{payload:S,error:(n&&n.serializeError||Ff)(h||"Rejected"),meta:La(Zt({},v||{}),{arg:b,requestId:u,rejectedWithValue:!!S,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 f(h){return function(u,b,S){var v=n?.idGenerator?n.idGenerator(h):Df(),E=new d,$,T=!1;function P(O){$=O,E.abort()}var A=function(){return Ef(this,null,function(){var O,R,F,K,re,ee,z;return bf(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),K=(O=n?.condition)==null?void 0:O.call(n,h,{getState:b,extra:S}),Uf(K)?[4,K]:[3,2];case 1:K=y.sent(),y.label=2;case 2:if(K===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,re=new Promise(function(C,D){return E.signal.addEventListener("abort",function(){return D({name:"AbortError",message:$||"Aborted"})})}),u(a(v,h,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:v,arg:h},{getState:b,extra:S}))),[4,Promise.race([re,Promise.resolve(r(h,{dispatch:u,getState:b,extra:S,requestId:v,signal:E.signal,abort:P,rejectWithValue:function(C,D){return new _a(C,D)},fulfillWithValue:function(C,D){return new Ml(C,D)}})).then(function(C){if(C instanceof _a)throw C;return C instanceof Ml?i(C.payload,v,h,C.meta):i(C,v,h)})])];case 3:return F=y.sent(),[3,5];case 4:return ee=y.sent(),F=ee instanceof _a?s(null,v,h,ee.payload,ee.meta):s(ee,v,h),[3,5];case 5:return z=n&&!n.dispatchConditionRejection&&s.match(F)&&F.meta.condition,z||u(F),[2,F]}})})}();return Object.assign(A,{abort:P,requestId:v,arg:h,unwrap:function(){return A.then(Mf)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Mf(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Uf(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var jl="listener",Gl="completed",Kl="cancelled",Qb="task-"+Kl,ex="task-"+Gl,tx=jl+"-"+Kl,rx=jl+"-"+Gl;var Na="listenerMiddleware";var ox=qt(Na+"/add"),nx=qt(Na+"/removeAll"),ix=qt(Na+"/remove");var Ul,ax=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Ul||(Ul=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},zf=function(t){return function(e){setTimeout(e,t)}},sx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:zf(10);wl();window.ftReduxStores||(window.ftReduxStores={});var br=class t extends cr{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(hr(a))return a;if(i==null)return;let s=Vl({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Wl({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[i.name]=new t(s,l,i.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Ao,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,a,s)=>{let l=a,d=i[l];return d?(...f)=>{let h=d(...f.map(mo));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[l]:mo(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return mo(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 Wf(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))hr(e)&&e.clear()}var fn=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);dr(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Hf(t,e,r){return new fn(t,e,r).watch()}var Da={};ie(Da,{scrollHelper:()=>Vf});var Pa,un=new Map,Ia=class{lock(e,r){if(r){let n=un.get(r);if(n==null||n===e)return un.set(r,e),r}}release(e,r){r&&un.get(r)===e&&un.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let a of si(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(r=n??i)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,i;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return a+((i=r?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,l=ho(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Pa=window.FluidTopicsScrollHelper)!==null&&Pa!==void 0?Pa:new Ia;var Vf=window.FluidTopicsScrollHelper;var Ba={};ie(Ba,{shadowQuerySelector:()=>jf,shadowQuerySelectorAll:()=>Gf});function jf(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Gf(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Ma={};ie(Ma,{SearchPlaceConverter:()=>xr,SearchPlaceQueryParams:()=>se,isSearchPlaceQueryParams:()=>Sc,serializeRequest:()=>qf});var Kf=Td(ql(),1);var Yl;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Yl||(Yl={}));var Xl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Xl||(Xl={}));var Jl;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Jl||(Jl={}));var Ql;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ql||(Ql={}));var ec;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(ec||(ec={}));var tc;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(tc||(tc={}));var rc;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(rc||(rc={}));var oc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(oc||(oc={}));var nc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(nc||(nc={}));var ic;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ic||(ic={}));var ac;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ac||(ac={}));var sc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(sc||(sc={}));var lc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(lc||(lc={}));var cc;(function(t){t.ASC="ASC",t.DESC="DESC"})(cc||(cc={}));var dc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(dc||(dc={}));var Fa;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Fa||(Fa={}));var yc=t=>Object.keys(Fa).includes(t);var pc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(pc||(pc={}));var fc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(fc||(fc={}));var uc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(uc||(uc={}));var jr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(jr||(jr={}));var gc=t=>Object.keys(jr).includes(t);var hc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(hc||(hc={}));var mc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(mc||(mc={}));var Ce;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(Ce||(Ce={}));var bc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(bc||(bc={}));var xc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(xc||(xc={}));var kx={[Ce.PERSONAL_BOOK_SHARE_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.HTML_EXPORT_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.PDF_EXPORT_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.KHUB_ADMIN]:[Ce.CONTENT_PUBLISHER],[Ce.ADMIN]:[Ce.KHUB_ADMIN,Ce.USERS_ADMIN,Ce.PORTAL_ADMIN],[Ce.DEVELOPER]:[Ce.BETA_USER,Ce.DEBUG_USER],[Ce.GENERATIVE_AI_EXPORT_USER]:[Ce.GENERATIVE_AI_USER]};function Zf(t){return`"${t}"`}function vc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function qf(t,e){return new xr(t).serialize(e)}var se;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(se||(se={}));var Yf=new Set(Object.values(se));function Sc(t){return Yf.has(t)}var xr=class{constructor(e,r={},n=20,i=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=n,this.allLanguagesAllowed=i,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,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=this.toURLSearchParams(e).toString(),i=r==null||r.trim().length===0,a=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=n,a.toString()}toURLSearchParams(e,r=!1){var n,i,a,s,l,d,f,h,u,b,S,v;let E=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&E.append(se.LOCALE,e.contentLocale):E.append(se.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&E.append(se.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&E.append(se.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(se.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(se.SORT,"last_update");let $=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(O=>O.valueFilter))!==null&&s!==void 0?s:[];if($.length>0){let O=$.map(R=>{var F,K;let re=((K=(F=R.valueFilter)===null||F===void 0?void 0:F.values)!==null&&K!==void 0?K:[]).map(ee=>this.escapeFilters(ee)).map(ee=>encodeURIComponent(Zf(vc(ee)))).join("_");return`${R.key}~${re}`}).join("*");E.append(se.VALUE_FILTERS,O)}let T=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(O=>O.dateFilter))!==null&&d!==void 0?d:[];if(T.length>0){let O=T.map(R=>{var F;return`${R.key}~${(F=R.dateFilter)===null||F===void 0?void 0:F.type.toLowerCase()}`}).join("*");E.append(se.DATE_FILTERS,O)}let P=(h=(f=e.metadataFilters)===null||f===void 0?void 0:f.filter(O=>O.rangeFilter))!==null&&h!==void 0?h:[];if(P.length>0){let O=P.map(R=>{var F,K;return`${R.key}~${(F=R.rangeFilter)===null||F===void 0?void 0:F.from}_${(K=R.rangeFilter)===null||K===void 0?void 0:K.to}`}).join("*");E.append(se.RANGE_FILTERS,O)}let A=(u=e.otherQueryParams)!==null&&u!==void 0?u:{};for(let O in A)E.append(O,A[O]);return!((b=e.paging)===null||b===void 0)&&b.perPage&&((v=(S=e.paging)===null||S===void 0?void 0:S.perPage)!==null&&v!==void 0?v:this.defaultPerPage)!=this.defaultPerPage&&E.append(se.PER_PAGE,String(e.paging.perPage)),E}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,a,s,l,d,f;let h=e.get(se.LOCALE)==="all"?void 0:e.get(se.LOCALE),u=((r=e.get(se.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),b=((n=e.get(se.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),S=(i=e.get(se.SCOPE))!==null&&i!==void 0?i:"default",v=+((a=e.get(se.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E={};for(let $ of e.keys())Sc($)||(E[$]=e.get($));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(se.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[S])!==null&&l!==void 0?l:"DEFAULT",virtualField:yc(u)?u:"EVERYWHERE",sort:(f=(d=this.predefinedSorts[b])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&f!==void 0?f:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:ho(1,isNaN(v)?this.defaultPerPage:v,1e3)},otherQueryParams:E}}parseCompatFilters(e){var r,n,i,a,s,l;let d=[];return e.has(se.FILTERS)&&(d=this.parseValueFilters((r=e.get(se.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(se.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(se.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(se.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(se.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(se.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(vc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:jr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replace(i,r);return e}parseLegacyPeriodFilter(e){if(gc(e))return[{key:"ft:lastEdition",dateFilter:{type:jr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var za={};ie(za,{toFtFormComponent:()=>Ua});var yn=Symbol("elementInternals");function Ua(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[yn].form}constructor(...i){super(i),this[yn]=this.attachInternals(),this[yn].role=e}setFormValue(i){this[yn].setFormValue(i)}}return r}var Wa={};ie(Wa,{DateFormatter:()=>Gr});var Gr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Va={};ie(Va,{ALL_KEYS_VALUE:()=>Ha,SameWindowStorageEvent:()=>Kr});var Ha="__all__",Kr=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Ha}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Kr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Kr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Kr(Ha))}});var ja,Ga,Ka,Za,vr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ka=(Ga=(ja=window.safari)===null||ja===void 0?void 0:ja.pushNotification)===null||Ga===void 0?void 0:Ga.toString())!==null&&Ka!==void 0?Ka:"")==="[object SafariRemoteNotification]",qa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Za=window.ftGlobals)!==null&&Za!==void 0?Za:{lit:zn,litDecorators:jn,litRepeat:Gn,litClassMap:Kn,litStyleMap:Zn,litUnsafeHTML:Yn,wcUtils:{...oi,...Jn,...ii,...Wa,...ai,...ci,...Fi,...ri,...ea,...Bi,...oa,...ra,...cl,...li,...aa,...la,...pl,...ca,...Ta,...ta,...Da,...Ba,...Ma,...za,...Va,isSafari:vr,isTouchScreen:qa,setVariable:x}};var ot;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(ot||(ot={}));var Oc=_`
|
|
49
49
|
.ft-size-watcher--pixel {
|
|
50
50
|
width: 0;
|
|
51
51
|
height: 0;
|
|
@@ -64,11 +64,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
64
64
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
65
65
|
width: 100%;
|
|
66
66
|
}
|
|
67
|
-
`;var
|
|
67
|
+
`;var $o=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ya=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Xe=class extends U{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 le}render(){return w`
|
|
68
68
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
69
69
|
<div class="ft-size-watcher--watcher"></div>
|
|
70
70
|
</div>
|
|
71
|
-
`}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
|
|
71
|
+
`}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 Ya(this.size,this.category)))},this.debounceTimeout)}};Xe.elementDefinitions={};Xe.styles=Oc;$o([m({type:Number})],Xe.prototype,"debounceTimeout",void 0);$o([m({type:Boolean})],Xe.prototype,"local",void 0);$o([m({type:Number,reflect:!0})],Xe.prototype,"size",void 0);$o([m({type:String,reflect:!0})],Xe.prototype,"category",void 0);$o([B(".ft-size-watcher--watcher")],Xe.prototype,"watcher",void 0);H("ft-size-watcher")(Xe);var Ec=Symbol.for(""),Xf=t=>{if(t?.r===Ec)return t?._$litStatic$},Xa=t=>({_$litStatic$:t,r:Ec});var Cc=new Map,Ja=t=>(e,...r)=>{let n=r.length,i,a,s=[],l=[],d,f=0,h=!1;for(;f<n;){for(d=e[f];f<n&&(a=r[f],(i=Xf(a))!==void 0);)d+=i+e[++f],h=!0;f!==n&&l.push(a),s.push(d),f++}if(f===n&&s.push(e[n]),h){let u=s.join("$$lit$$");(e=Cc.get(u))===void 0&&(s.raw=s,Cc.set(u,e=s)),r=l}return t(e,...r)},Qa=Ja(w),Nv=Ja(Dn),Tv=Ja(Bn);var nt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(nt||(nt={}));function wc(t){let e=yo[t];return _`
|
|
72
72
|
.ft-typography--${At(t)} {
|
|
73
73
|
font-family: ${e.fontFamily};
|
|
74
74
|
font-size: ${e.fontSize};
|
|
@@ -77,17 +77,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
77
77
|
line-height: ${e.lineHeight};
|
|
78
78
|
text-transform: ${e.textCase};
|
|
79
79
|
}
|
|
80
|
-
`}var
|
|
80
|
+
`}var Ac=o.extend("--ft-typography-font-family","",L.titleFont),Bt=o.extend("--ft-typography-font-family","",L.contentFont),I={fontFamily:Bt,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")},Zr={fontFamily:o.extend("--ft-typography-title-font-family","",Ac),fontSize:o.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},qr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Ac),fontSize:o.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},Yr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Bt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},Xr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Bt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},Dt={fontFamily:o.extend("--ft-typography-body1-font-family","",Bt),fontSize:o.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},we={fontFamily:o.extend("--ft-typography-body2-font-family","",Bt),fontSize:o.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},ct={fontFamily:o.extend("--ft-typography-caption-font-family","",Bt),fontSize:o.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},Jr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Bt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},Qr={fontFamily:o.extend("--ft-typography-overline-font-family","",Bt),fontSize:o.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},bt={fontFamily:o.extend("--ft-typography-button-font-family","",Bt),fontSize:o.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},Rc=_`
|
|
81
81
|
.ft-typography--title {
|
|
82
|
-
font-family: ${Kr.fontFamily};
|
|
83
|
-
font-size: ${Kr.fontSize};
|
|
84
|
-
font-weight: ${Kr.fontWeight};
|
|
85
|
-
letter-spacing: ${Kr.letterSpacing};
|
|
86
|
-
line-height: ${Kr.lineHeight};
|
|
87
|
-
text-transform: ${Kr.textTransform};
|
|
88
|
-
}
|
|
89
|
-
`,Ec=_`
|
|
90
|
-
.ft-typography--title-dense {
|
|
91
82
|
font-family: ${Zr.fontFamily};
|
|
92
83
|
font-size: ${Zr.fontSize};
|
|
93
84
|
font-weight: ${Zr.fontWeight};
|
|
@@ -95,8 +86,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
95
86
|
line-height: ${Zr.lineHeight};
|
|
96
87
|
text-transform: ${Zr.textTransform};
|
|
97
88
|
}
|
|
98
|
-
`,
|
|
99
|
-
.ft-typography--
|
|
89
|
+
`,Lc=_`
|
|
90
|
+
.ft-typography--title-dense {
|
|
100
91
|
font-family: ${qr.fontFamily};
|
|
101
92
|
font-size: ${qr.fontSize};
|
|
102
93
|
font-weight: ${qr.fontWeight};
|
|
@@ -104,8 +95,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
104
95
|
line-height: ${qr.lineHeight};
|
|
105
96
|
text-transform: ${qr.textTransform};
|
|
106
97
|
}
|
|
107
|
-
`,
|
|
108
|
-
.ft-typography--
|
|
98
|
+
`,kc=_`
|
|
99
|
+
.ft-typography--subtitle1 {
|
|
109
100
|
font-family: ${Yr.fontFamily};
|
|
110
101
|
font-size: ${Yr.fontSize};
|
|
111
102
|
font-weight: ${Yr.fontWeight};
|
|
@@ -113,17 +104,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
113
104
|
line-height: ${Yr.lineHeight};
|
|
114
105
|
text-transform: ${Yr.textTransform};
|
|
115
106
|
}
|
|
107
|
+
`,_c=_`
|
|
108
|
+
.ft-typography--subtitle2 {
|
|
109
|
+
font-family: ${Xr.fontFamily};
|
|
110
|
+
font-size: ${Xr.fontSize};
|
|
111
|
+
font-weight: ${Xr.fontWeight};
|
|
112
|
+
letter-spacing: ${Xr.letterSpacing};
|
|
113
|
+
line-height: ${Xr.lineHeight};
|
|
114
|
+
text-transform: ${Xr.textTransform};
|
|
115
|
+
}
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
`,$c=_`
|
|
118
118
|
.ft-typography--body1 {
|
|
119
|
-
font-family: ${
|
|
120
|
-
font-size: ${
|
|
121
|
-
font-weight: ${
|
|
122
|
-
letter-spacing: ${
|
|
123
|
-
line-height: ${
|
|
124
|
-
text-transform: ${
|
|
125
|
-
}
|
|
126
|
-
`,
|
|
119
|
+
font-family: ${Dt.fontFamily};
|
|
120
|
+
font-size: ${Dt.fontSize};
|
|
121
|
+
font-weight: ${Dt.fontWeight};
|
|
122
|
+
letter-spacing: ${Dt.letterSpacing};
|
|
123
|
+
line-height: ${Dt.lineHeight};
|
|
124
|
+
text-transform: ${Dt.textTransform};
|
|
125
|
+
}
|
|
126
|
+
`,eo=_`
|
|
127
127
|
.ft-typography--body2 {
|
|
128
128
|
font-family: ${we.fontFamily};
|
|
129
129
|
font-size: ${we.fontSize};
|
|
@@ -132,7 +132,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
132
132
|
line-height: ${we.lineHeight};
|
|
133
133
|
text-transform: ${we.textTransform};
|
|
134
134
|
}
|
|
135
|
-
`,
|
|
135
|
+
`,Xt=_`
|
|
136
136
|
.ft-typography--caption {
|
|
137
137
|
font-family: ${ct.fontFamily};
|
|
138
138
|
font-size: ${ct.fontSize};
|
|
@@ -141,17 +141,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
141
141
|
line-height: ${ct.lineHeight};
|
|
142
142
|
text-transform: ${ct.textTransform};
|
|
143
143
|
}
|
|
144
|
-
`,
|
|
144
|
+
`,Nc=_`
|
|
145
145
|
.ft-typography--breadcrumb {
|
|
146
|
-
font-family: ${Xr.fontFamily};
|
|
147
|
-
font-size: ${Xr.fontSize};
|
|
148
|
-
font-weight: ${Xr.fontWeight};
|
|
149
|
-
letter-spacing: ${Xr.letterSpacing};
|
|
150
|
-
line-height: ${Xr.lineHeight};
|
|
151
|
-
text-transform: ${Xr.textTransform};
|
|
152
|
-
}
|
|
153
|
-
`,kc=_`
|
|
154
|
-
.ft-typography--overline {
|
|
155
146
|
font-family: ${Jr.fontFamily};
|
|
156
147
|
font-size: ${Jr.fontSize};
|
|
157
148
|
font-weight: ${Jr.fontWeight};
|
|
@@ -159,7 +150,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
159
150
|
line-height: ${Jr.lineHeight};
|
|
160
151
|
text-transform: ${Jr.textTransform};
|
|
161
152
|
}
|
|
162
|
-
`,
|
|
153
|
+
`,Tc=_`
|
|
154
|
+
.ft-typography--overline {
|
|
155
|
+
font-family: ${Qr.fontFamily};
|
|
156
|
+
font-size: ${Qr.fontSize};
|
|
157
|
+
font-weight: ${Qr.fontWeight};
|
|
158
|
+
letter-spacing: ${Qr.letterSpacing};
|
|
159
|
+
line-height: ${Qr.lineHeight};
|
|
160
|
+
text-transform: ${Qr.textTransform};
|
|
161
|
+
}
|
|
162
|
+
`,Pc=_`
|
|
163
163
|
.ft-typography--button {
|
|
164
164
|
font-family: ${bt.fontFamily};
|
|
165
165
|
font-size: ${bt.fontSize};
|
|
@@ -168,19 +168,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
168
168
|
line-height: ${bt.lineHeight};
|
|
169
169
|
text-transform: ${bt.textTransform};
|
|
170
170
|
}
|
|
171
|
-
|
|
171
|
+
`,Ic=_`
|
|
172
172
|
.ft-typography {
|
|
173
173
|
vertical-align: inherit;
|
|
174
174
|
}
|
|
175
|
-
`,
|
|
176
|
-
<${
|
|
175
|
+
`,Dc=[Object.keys(yo).map(t=>wc(t))];var Bc=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ae=class extends U{constructor(){super(...arguments),this.variant=nt.body1}render(){return this.element?Qa`
|
|
176
|
+
<${Xa(this.element)}
|
|
177
177
|
part="text"
|
|
178
178
|
class="ft-typography ft-typography--${this.variant}">
|
|
179
179
|
<slot></slot>
|
|
180
|
-
</${
|
|
181
|
-
`:
|
|
180
|
+
</${Xa(this.element)}>
|
|
181
|
+
`:Qa`
|
|
182
182
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
183
|
-
`}};
|
|
183
|
+
`}};ae.styles=[Rc,Lc,kc,_c,$c,eo,Xt,Nc,Tc,Pc,Ic,...Dc];Bc([m()],ae.prototype,"element",void 0);Bc([m()],ae.prototype,"variant",void 0);H("ft-typography")(ae);function gn(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Fc(t){return gn(t).split("|").pop()}function Mc(t){return gn(t).split("|").join(" > ")}function Uc(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>Uc(r,t.selected)),value:t.value}}function zc(t){return Ze(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function es(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>Uc(e,!1))}}function Wc(t){return Ze(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Hc=o.extend("--ft-ripple-color","",L.colorContent),k={color:Hc,backgroundColor:o.extend("--ft-ripple-background-color","",Hc),opacityContentOnSurfacePressed:o.external(L.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(L.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(L.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(L.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Vc=o.extend("--ft-ripple-color","",L.colorPrimary),jc={color:Vc,backgroundColor:o.extend("--ft-ripple-background-color","",Vc)},Gc=o.extend("--ft-ripple-color","",L.colorSecondary),Kc={color:Gc,backgroundColor:o.extend("--ft-ripple-background-color","",Gc)},Zc=_`
|
|
184
184
|
:host {
|
|
185
185
|
display: contents;
|
|
186
186
|
}
|
|
@@ -235,19 +235,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
238
|
-
background-color: ${
|
|
238
|
+
background-color: ${Kc.backgroundColor};
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
242
|
-
background-color: ${
|
|
242
|
+
background-color: ${Kc.color};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
246
|
-
background-color: ${
|
|
246
|
+
background-color: ${jc.backgroundColor};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
250
|
-
background-color: ${
|
|
250
|
+
background-color: ${jc.color};
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
.ft-ripple .ft-ripple--background {
|
|
@@ -292,7 +292,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
292
292
|
opacity: ${k.opacityContentOnSurfacePressed};
|
|
293
293
|
transform: translate(-50%, -50%) scale(1);
|
|
294
294
|
}
|
|
295
|
-
`;var
|
|
295
|
+
`;var he={color:o.extend("--ft-loader-color","",L.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},qc=_`
|
|
296
296
|
:host {
|
|
297
297
|
line-height: 0;
|
|
298
298
|
}
|
|
@@ -301,8 +301,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
301
301
|
display: inline-block;
|
|
302
302
|
position: relative;
|
|
303
303
|
|
|
304
|
-
width: ${
|
|
305
|
-
height: ${
|
|
304
|
+
width: ${he.size};
|
|
305
|
+
height: ${he.size};
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
.ft-loader div {
|
|
@@ -311,7 +311,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
311
311
|
width: 25%;
|
|
312
312
|
height: 25%;
|
|
313
313
|
border-radius: 50%;
|
|
314
|
-
background: ${
|
|
314
|
+
background: ${he.color};
|
|
315
315
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
316
316
|
}
|
|
317
317
|
|
|
@@ -358,58 +358,58 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
358
358
|
transform: translate(0, 0);
|
|
359
359
|
}
|
|
360
360
|
100% {
|
|
361
|
-
transform: translate(calc(0.35 * ${
|
|
361
|
+
transform: translate(calc(0.35 * ${he.size}), 0);
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
`;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")},
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
364
|
+
`;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")},Yc=[_`
|
|
365
|
+
:host, i.ft-icon {
|
|
366
|
+
display: inline-flex;
|
|
367
|
+
align-items: center;
|
|
368
|
+
flex-shrink: 0;
|
|
369
|
+
flex-grow: 0;
|
|
370
|
+
}
|
|
371
371
|
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
372
|
+
:host {
|
|
373
|
+
width: ${be.size};
|
|
374
|
+
height: ${be.size};
|
|
375
|
+
}
|
|
376
376
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
377
|
+
i.ft-icon {
|
|
378
|
+
width: 100%;
|
|
379
|
+
height: 100%;
|
|
380
|
+
font-size: ${be.size};
|
|
381
|
+
line-height: 1;
|
|
382
|
+
font-weight: normal;
|
|
383
|
+
text-transform: none;
|
|
384
|
+
font-style: normal;
|
|
385
|
+
font-variant: normal;
|
|
386
|
+
speak: none;
|
|
387
|
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
|
|
388
|
+
text-rendering: auto;
|
|
389
|
+
-webkit-font-smoothing: antialiased;
|
|
390
|
+
-moz-osx-font-smoothing: grayscale;
|
|
391
|
+
vertical-align: ${be.verticalAlign};
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
i.ft-icon.ft-icon--fluid-topics {
|
|
395
|
+
font-family: ${be.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
396
|
+
|
|
397
|
+
/* Ugly fix because font is broken */
|
|
398
|
+
font-size: calc(0.75 * ${be.size});
|
|
399
|
+
line-height: ${be.size};
|
|
400
|
+
position: relative;
|
|
401
|
+
top: -4%;
|
|
402
|
+
justify-content: center;
|
|
403
|
+
}
|
|
404
404
|
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
405
|
+
.ft-icon--file-format {
|
|
406
|
+
font-family: ${be.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
407
|
+
}
|
|
408
408
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
409
|
+
.ft-icon--material {
|
|
410
|
+
font-family: ${be.materialFontFamily}, "Material Icons", sans-serif;
|
|
411
|
+
}
|
|
412
|
+
`,Pt];var Xc=o.extend("--ft-button-color","",L.colorPrimary),X={backgroundColor:o.extend("--ft-button-background-color","",L.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",L.borderRadiusL),color:Xc,fontSize:o.extend("--ft-button-font-size","",bt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Xc),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(L.colorOpacityDisabled,"Design system")},Jc=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",L.colorOnPrimary)),ts={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",L.colorPrimary)),color:Jc,rippleColor:o.extend("--ft-button-primary-ripple-color","",Jc)},xt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",L.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")},Qc=[_`
|
|
413
413
|
:host {
|
|
414
414
|
display: inline-block;
|
|
415
415
|
max-width: 100%;
|
|
@@ -495,9 +495,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
.ft-button.ft-button--primary {
|
|
498
|
-
background-color: ${
|
|
499
|
-
--ft-button-internal-color: ${
|
|
500
|
-
${x(k.color,
|
|
498
|
+
background-color: ${ts.backgroundColor};
|
|
499
|
+
--ft-button-internal-color: ${ts.color};
|
|
500
|
+
${x(k.color,ts.rippleColor)};
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
.ft-button:focus {
|
|
@@ -543,10 +543,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
ft-loader {
|
|
546
|
-
${x(
|
|
547
|
-
${x(
|
|
546
|
+
${x(he.size,X.iconSize)};
|
|
547
|
+
${x(he.color,"var(--ft-button-internal-color)")};
|
|
548
548
|
}
|
|
549
|
-
`,
|
|
549
|
+
`,Pt];var Ve=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},J=class extends U{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 le(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 le(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return w`
|
|
550
550
|
<style>
|
|
551
551
|
.ft-ripple .ft-ripple--effect {
|
|
552
552
|
left: ${this.originX}px;
|
|
@@ -557,7 +557,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
557
557
|
<div class="ft-ripple--background"></div>
|
|
558
558
|
<div class="ft-ripple--effect"></div>
|
|
559
559
|
</div>
|
|
560
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};J.elementDefinitions={};J.styles=
|
|
560
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};J.elementDefinitions={};J.styles=Zc;Ve([m({type:Boolean})],J.prototype,"primary",void 0);Ve([m({type:Boolean})],J.prototype,"secondary",void 0);Ve([m({type:Boolean})],J.prototype,"unbounded",void 0);Ve([m({type:Boolean})],J.prototype,"activated",void 0);Ve([m({type:Boolean})],J.prototype,"selected",void 0);Ve([m({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([B(".ft-ripple")],J.prototype,"ripple",void 0);Ve([B(".ft-ripple--effect")],J.prototype,"rippleEffect",void 0);H("ft-ripple")(J);var Jt={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(L.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},ed=_`
|
|
561
561
|
.ft-tooltip--container {
|
|
562
562
|
display: block;
|
|
563
563
|
}
|
|
@@ -572,21 +572,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
572
572
|
box-sizing: border-box;
|
|
573
573
|
overflow: hidden;
|
|
574
574
|
width: max-content;
|
|
575
|
-
max-width: ${
|
|
575
|
+
max-width: ${Jt.maxWidth};
|
|
576
576
|
text-align: center;
|
|
577
|
-
padding: ${
|
|
578
|
-
z-index: ${
|
|
577
|
+
padding: ${Jt.distance};
|
|
578
|
+
z-index: ${Jt.zIndex};
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
.ft-tooltip--content {
|
|
582
582
|
padding: 4px 8px;
|
|
583
|
-
border-radius: ${
|
|
584
|
-
background-color: ${
|
|
585
|
-
color: ${
|
|
583
|
+
border-radius: ${Jt.borderRadiusS};
|
|
584
|
+
background-color: ${Jt.backgroundColor};
|
|
585
|
+
color: ${Jt.color};
|
|
586
586
|
position: relative;
|
|
587
587
|
word-break: break-word;
|
|
588
588
|
}
|
|
589
|
-
`;var je=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},
|
|
589
|
+
`;var je=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},me=class extends U{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 le,this.revealDebouncer=new le}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return w`
|
|
590
590
|
<div part="container"
|
|
591
591
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
592
592
|
@mouseenter=${this.onHover}
|
|
@@ -604,19 +604,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
604
604
|
</div>
|
|
605
605
|
</div>
|
|
606
606
|
</div>
|
|
607
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Yi(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};he.elementDefinitions={"ft-typography":ie};he.styles=Yc;je([m()],he.prototype,"text",void 0);je([m({type:Boolean})],he.prototype,"manual",void 0);je([m({type:Boolean})],he.prototype,"inline",void 0);je([m({type:Number})],he.prototype,"delay",void 0);je([m()],he.prototype,"position",void 0);je([Wn()],he.prototype,"slotNodes",void 0);je([B(".ft-tooltip--container")],he.prototype,"container",void 0);je([B(".ft-tooltip")],he.prototype,"tooltip",void 0);je([B(".ft-tooltip--content")],he.prototype,"tooltipContent",void 0);je([W()],he.prototype,"visible",void 0);je([Rr({passive:!0})],he.prototype,"onTouch",null);je([Rr({passive:!0})],he.prototype,"onHover",null);je([Rr({passive:!0})],he.prototype,"onOut",null);je([Rr({passive:!0})],he.prototype,"onClick",null);H("ft-tooltip")(he);var vt;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱"})(vt||(vt={}));var N;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(N||(N={}));var Ja=new Map([...["abw"].map(t=>[t,N.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,N.AUDIO]),...["avi"].map(t=>[t,N.AVI]),...["chm","xhs"].map(t=>[t,N.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,N.CODE]),...["csv"].map(t=>[t,N.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,N.DITA]),...["epub"].map(t=>[t,N.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,N.EXCEL]),...["flac"].map(t=>[t,N.FLAC]),...["gif"].map(t=>[t,N.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,N.GZIP]),...["html","htm","xhtml"].map(t=>[t,N.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,N.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,N.JPEG]),...["json"].map(t=>[t,N.JSON]),...["m4a","m4p"].map(t=>[t,N.M4A]),...["mov","qt"].map(t=>[t,N.MOV]),...["mp3"].map(t=>[t,N.MP3]),...["mp4","m4v"].map(t=>[t,N.MP4]),...["ogg","oga"].map(t=>[t,N.OGG]),...["pdf","ps"].map(t=>[t,N.PDF]),...["png"].map(t=>[t,N.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,N.POWERPOINT]),...["rar"].map(t=>[t,N.RAR]),...["stp"].map(t=>[t,N.STP]),...["txt","rtf","md","mdown"].map(t=>[t,N.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,N.VIDEO]),...["wav"].map(t=>[t,N.WAV]),...["wma"].map(t=>[t,N.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,N.WORD]),...["xml","xsl","rdf"].map(t=>[t,N.XML]),...["yaml","yml","x-yaml"].map(t=>[t,N.YAML]),...["zip"].map(t=>[t,N.ZIP])]),Zf=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 Xc(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=Zf.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=Ja.get(l))!==null&&n!==void 0?n:Ja.get(e))!==null&&i!==void 0?i:Ja.get(s))!==null&&a!==void 0?a:N.UNKNOWN}var mS={[N.ABW]:"#91ABC6",[N.AUDIO]:"#1795E3",[N.AVI]:"#E63324",[N.CHM]:"#71C3EB",[N.CODE]:"#71C3EB",[N.CSV]:"#1F7345",[N.DITA]:"#71C3EB",[N.EPUB]:"#85B926",[N.EXCEL]:"#1F7345",[N.FLAC]:"#1795E3",[N.GIF]:"#59B031",[N.GZIP]:"#F8AB36",[N.HTML]:"#71C3EB",[N.IMAGE]:"#59B031",[N.JPEG]:"#59B031",[N.JSON]:"#71C3EB",[N.M4A]:"#1795E3",[N.MOV]:"#E63324",[N.MP3]:"#1795E3",[N.MP4]:"#E63324",[N.OGG]:"#1795E3",[N.PDF]:"#E44948",[N.PNG]:"#59B031",[N.POWERPOINT]:"#B54A2B",[N.RAR]:"#F8AB36",[N.STP]:"#3764B1",[N.TEXT]:"#3162AB",[N.UNKNOWN]:"#999999",[N.VIDEO]:"#E63324",[N.WAV]:"#1795E3",[N.WMA]:"#1795E3",[N.WORD]:"#3162AB",[N.XML]:"#71C3EB",[N.YAML]:"#71C3EB",[N.ZIP]:"#F8AB36"};var Ue;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ue||(Ue={}));var mn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},me=class extends U{constructor(){super(...arguments),this.resolvedIcon=M}render(){let e=this.variant&&Object.values(Ue).includes(this.variant)?this.variant:Ue.fluid_topics,r=e!==Ue.material||!!this.value;return w`
|
|
608
|
-
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
609
|
-
${
|
|
607
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ji(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};me.elementDefinitions={"ft-typography":ae};me.styles=ed;je([m()],me.prototype,"text",void 0);je([m({type:Boolean})],me.prototype,"manual",void 0);je([m({type:Boolean})],me.prototype,"inline",void 0);je([m({type:Number})],me.prototype,"delay",void 0);je([m()],me.prototype,"position",void 0);je([Vn()],me.prototype,"slotNodes",void 0);je([B(".ft-tooltip--container")],me.prototype,"container",void 0);je([B(".ft-tooltip")],me.prototype,"tooltip",void 0);je([B(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);je([W()],me.prototype,"visible",void 0);je([Rr({passive:!0})],me.prototype,"onTouch",null);je([Rr({passive:!0})],me.prototype,"onHover",null);je([Rr({passive:!0})],me.prototype,"onOut",null);je([Rr({passive:!0})],me.prototype,"onClick",null);H("ft-tooltip")(me);var vt;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL=""})(vt||(vt={}));var N;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(N||(N={}));var rs=new Map([...["abw"].map(t=>[t,N.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,N.AUDIO]),...["avi"].map(t=>[t,N.AVI]),...["chm","xhs"].map(t=>[t,N.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,N.CODE]),...["csv"].map(t=>[t,N.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,N.DITA]),...["epub"].map(t=>[t,N.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,N.EXCEL]),...["flac"].map(t=>[t,N.FLAC]),...["gif"].map(t=>[t,N.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,N.GZIP]),...["html","htm","xhtml"].map(t=>[t,N.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,N.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,N.JPEG]),...["json"].map(t=>[t,N.JSON]),...["m4a","m4p"].map(t=>[t,N.M4A]),...["mov","qt"].map(t=>[t,N.MOV]),...["mp3"].map(t=>[t,N.MP3]),...["mp4","m4v"].map(t=>[t,N.MP4]),...["ogg","oga"].map(t=>[t,N.OGG]),...["pdf","ps"].map(t=>[t,N.PDF]),...["png"].map(t=>[t,N.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,N.POWERPOINT]),...["rar"].map(t=>[t,N.RAR]),...["stp"].map(t=>[t,N.STP]),...["txt","rtf","md","mdown"].map(t=>[t,N.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,N.VIDEO]),...["wav"].map(t=>[t,N.WAV]),...["wma"].map(t=>[t,N.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,N.WORD]),...["xml","xsl","rdf"].map(t=>[t,N.XML]),...["yaml","yml","x-yaml"].map(t=>[t,N.YAML]),...["zip"].map(t=>[t,N.ZIP])]),Jf=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 td(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=Jf.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=rs.get(l))!==null&&n!==void 0?n:rs.get(e))!==null&&i!==void 0?i:rs.get(s))!==null&&a!==void 0?a:N.UNKNOWN}var SS={[N.ABW]:"#91ABC6",[N.AUDIO]:"#1795E3",[N.AVI]:"#E63324",[N.CHM]:"#71C3EB",[N.CODE]:"#71C3EB",[N.CSV]:"#1F7345",[N.DITA]:"#71C3EB",[N.EPUB]:"#85B926",[N.EXCEL]:"#1F7345",[N.FLAC]:"#1795E3",[N.GIF]:"#59B031",[N.GZIP]:"#F8AB36",[N.HTML]:"#71C3EB",[N.IMAGE]:"#59B031",[N.JPEG]:"#59B031",[N.JSON]:"#71C3EB",[N.M4A]:"#1795E3",[N.MOV]:"#E63324",[N.MP3]:"#1795E3",[N.MP4]:"#E63324",[N.OGG]:"#1795E3",[N.PDF]:"#E44948",[N.PNG]:"#59B031",[N.POWERPOINT]:"#B54A2B",[N.RAR]:"#F8AB36",[N.STP]:"#3764B1",[N.TEXT]:"#3162AB",[N.UNKNOWN]:"#999999",[N.VIDEO]:"#E63324",[N.WAV]:"#1795E3",[N.WMA]:"#1795E3",[N.WORD]:"#3162AB",[N.XML]:"#71C3EB",[N.YAML]:"#71C3EB",[N.ZIP]:"#F8AB36"};var Ue;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ue||(Ue={}));var No=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends U{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=M}render(){let e=this.variant&&Object.values(Ue).includes(this.variant)?this.variant:Ue.fluid_topics,r=e!==Ue.material||!!this.value;return w`
|
|
608
|
+
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
609
|
+
${qn(this.resolvedIcon)}
|
|
610
610
|
<slot ?hidden=${r}></slot>
|
|
611
611
|
</i>
|
|
612
|
-
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Ue.file_format:this.resolvedIcon=(e=N[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ue.material:this.resolvedIcon=this.value||M;break;default:this.resolvedIcon=(r=vt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};
|
|
612
|
+
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Ue.file_format:this.resolvedIcon=(e=N[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ue.material:this.resolvedIcon=this.value||M;break;default:this.resolvedIcon=(r=vt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=Yc;No([m()],fe.prototype,"variant",void 0);No([m()],fe.prototype,"value",void 0);No([m({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);No([W()],fe.prototype,"resolvedIcon",void 0);No([B("slot")],fe.prototype,"slottedContent",void 0);H("ft-icon")(fe);var Sr=class extends U{render(){return w`
|
|
613
613
|
<div class="ft-loader">
|
|
614
614
|
<div></div>
|
|
615
615
|
<div></div>
|
|
616
616
|
<div></div>
|
|
617
617
|
<div></div>
|
|
618
618
|
</div>
|
|
619
|
-
`}};Sr.styles=
|
|
619
|
+
`}};Sr.styles=qc;H("ft-loader")(Sr);var Ne=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ye=class extends Ua(U,"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 r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let i=w`
|
|
620
620
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
621
621
|
<ft-typography part="label"
|
|
622
622
|
variant=${this.typographyVariant}
|
|
@@ -653,7 +653,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
653
653
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
654
654
|
`:w`
|
|
655
655
|
<slot part="icon" name="icon"></slot>
|
|
656
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return $r(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ye.elementDefinitions={"ft-ripple":J,"ft-tooltip":
|
|
656
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return $r(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ye.elementDefinitions={"ft-ripple":J,"ft-tooltip":me,"ft-typography":ae,"ft-icon":fe,"ft-loader":Sr};Ne([m()],ye.prototype,"href",void 0);Ne([m()],ye.prototype,"target",void 0);Ne([m({type:String,reflect:!0})],ye.prototype,"role",void 0);Ne([m()],ye.prototype,"type",void 0);Ne([m({type:Boolean})],ye.prototype,"disabled",void 0);Ne([m()],ye.prototype,"label",void 0);Ne([m()],ye.prototype,"icon",void 0);Ne([m()],ye.prototype,"iconVariant",void 0);Ne([m({type:Boolean})],ye.prototype,"trailingIcon",void 0);Ne([m({type:Boolean})],ye.prototype,"loading",void 0);Ne([m({attribute:"aria-label"})],ye.prototype,"ariaLabel",void 0);Ne([m()],ye.prototype,"tooltipPosition",void 0);Ne([m({type:Boolean})],ye.prototype,"hideTooltip",void 0);Ne([m({type:Boolean})],ye.prototype,"forceTooltip",void 0);Ne([B(".ft-button")],ye.prototype,"button",void 0);Ne([B(".ft-button--label slot")],ye.prototype,"slottedContent",void 0);Ne([B("[part=tooltip]")],ye.prototype,"tooltip",void 0);var bn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ae=class extends ye{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Ae.styles=[Eo,Qc];bn([m({type:Boolean})],Ae.prototype,"primary",void 0);bn([m({type:Boolean})],Ae.prototype,"outlined",void 0);bn([m({type:Boolean})],Ae.prototype,"dense",void 0);bn([m({type:Boolean})],Ae.prototype,"round",void 0);var rd=[_`
|
|
657
657
|
:host {
|
|
658
658
|
display: inline-block;
|
|
659
659
|
max-width: 100%;
|
|
@@ -738,7 +738,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
738
738
|
/** Brand Primary styles **/
|
|
739
739
|
|
|
740
740
|
.ftds--family-brand.ft-button--primary {
|
|
741
|
-
${x(
|
|
741
|
+
${x(he.color,g.primaryBrandIconColor)};
|
|
742
742
|
|
|
743
743
|
${x(k.color,g.primaryBrandStateLayerColor)};
|
|
744
744
|
${x(k.opacityContentOnSurfaceHover,g.primaryBrandHoverStateLayerOpacity)};
|
|
@@ -762,7 +762,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
762
762
|
/** Brand Secondary styles **/
|
|
763
763
|
|
|
764
764
|
.ftds--family-brand.ft-button--secondary {
|
|
765
|
-
${x(
|
|
765
|
+
${x(he.color,g.secondaryBrandIconColor)};
|
|
766
766
|
|
|
767
767
|
${x(k.color,g.secondaryBrandStateLayerColor)};
|
|
768
768
|
${x(k.opacityContentOnSurfaceHover,g.secondaryBrandHoverStateLayerOpacity)};
|
|
@@ -787,7 +787,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
787
787
|
/** Brand Tertiary styles **/
|
|
788
788
|
|
|
789
789
|
.ftds--family-brand.ft-button--tertiary {
|
|
790
|
-
${x(
|
|
790
|
+
${x(he.color,g.tertiaryBrandIconColor)};
|
|
791
791
|
|
|
792
792
|
${x(k.color,g.tertiaryBrandStateLayerColor)};
|
|
793
793
|
${x(k.opacityContentOnSurfaceHover,g.tertiaryBrandHoverStateLayerOpacity)};
|
|
@@ -811,7 +811,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
811
811
|
/** Neutral Secondary styles **/
|
|
812
812
|
|
|
813
813
|
.ftds--family-neutral.ft-button--secondary {
|
|
814
|
-
${x(
|
|
814
|
+
${x(he.color,g.secondaryNeutralIconColor)};
|
|
815
815
|
|
|
816
816
|
${x(k.backgroundColor,g.secondaryNeutralStateLayerColor)};
|
|
817
817
|
${x(k.opacityContentOnSurfaceHover,g.secondaryNeutralHoverStateLayerOpacity)};
|
|
@@ -836,7 +836,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
836
836
|
/** Neutral Tertiary styles **/
|
|
837
837
|
|
|
838
838
|
.ftds--family-neutral.ft-button--tertiary {
|
|
839
|
-
${x(
|
|
839
|
+
${x(he.color,g.tertiaryNeutralIconColor)};
|
|
840
840
|
|
|
841
841
|
${x(k.backgroundColor,g.tertiaryNeutralStateLayerColor)};
|
|
842
842
|
${x(k.opacityContentOnSurfaceHover,g.tertiaryNeutralHoverStateLayerOpacity)};
|
|
@@ -860,7 +860,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
860
860
|
/** Info Secondary styles **/
|
|
861
861
|
|
|
862
862
|
.ftds--family-info.ft-button--secondary {
|
|
863
|
-
${x(
|
|
863
|
+
${x(he.color,g.secondaryInfoIconColor)};
|
|
864
864
|
|
|
865
865
|
${x(k.backgroundColor,g.secondaryInfoStateLayerColor)};
|
|
866
866
|
${x(k.opacityContentOnSurfaceHover,g.secondaryInfoHoverStateLayerOpacity)};
|
|
@@ -885,7 +885,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
885
885
|
/** Info Tertiary styles **/
|
|
886
886
|
|
|
887
887
|
.ftds--family-info.ft-button--tertiary {
|
|
888
|
-
${x(
|
|
888
|
+
${x(he.color,g.tertiaryInfoIconColor)};
|
|
889
889
|
|
|
890
890
|
${x(k.backgroundColor,g.tertiaryInfoStateLayerColor)};
|
|
891
891
|
${x(k.opacityContentOnSurfaceHover,g.tertiaryInfoHoverStateLayerOpacity)};
|
|
@@ -909,7 +909,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
909
909
|
/** Success Secondary styles **/
|
|
910
910
|
|
|
911
911
|
.ftds--family-success.ft-button--secondary {
|
|
912
|
-
${x(
|
|
912
|
+
${x(he.color,g.secondarySuccessIconColor)};
|
|
913
913
|
|
|
914
914
|
${x(k.backgroundColor,g.secondarySuccessStateLayerColor)};
|
|
915
915
|
${x(k.opacityContentOnSurfaceHover,g.secondarySuccessHoverStateLayerOpacity)};
|
|
@@ -934,7 +934,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
934
934
|
/** Success Tertiary styles **/
|
|
935
935
|
|
|
936
936
|
.ftds--family-success.ft-button--tertiary {
|
|
937
|
-
${x(
|
|
937
|
+
${x(he.color,g.tertiarySuccessIconColor)};
|
|
938
938
|
|
|
939
939
|
${x(k.backgroundColor,g.tertiarySuccessStateLayerColor)};
|
|
940
940
|
${x(k.opacityContentOnSurfaceHover,g.tertiarySuccessHoverStateLayerOpacity)};
|
|
@@ -958,7 +958,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
958
958
|
/** Warning Secondary styles **/
|
|
959
959
|
|
|
960
960
|
.ftds--family-warning.ft-button--secondary {
|
|
961
|
-
${x(
|
|
961
|
+
${x(he.color,g.secondaryWarningIconColor)};
|
|
962
962
|
|
|
963
963
|
${x(k.backgroundColor,g.secondaryWarningStateLayerColor)};
|
|
964
964
|
${x(k.opacityContentOnSurfaceHover,g.secondaryWarningHoverStateLayerOpacity)};
|
|
@@ -983,7 +983,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
983
983
|
/** Warning Tertiary styles **/
|
|
984
984
|
|
|
985
985
|
.ftds--family-warning.ft-button--tertiary {
|
|
986
|
-
${x(
|
|
986
|
+
${x(he.color,g.tertiaryWarningIconColor)};
|
|
987
987
|
|
|
988
988
|
${x(k.backgroundColor,g.tertiaryWarningStateLayerColor)};
|
|
989
989
|
${x(k.opacityContentOnSurfaceHover,g.tertiaryWarningHoverStateLayerOpacity)};
|
|
@@ -1007,7 +1007,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1007
1007
|
/** Error Secondary styles **/
|
|
1008
1008
|
|
|
1009
1009
|
.ftds--family-error.ft-button--secondary {
|
|
1010
|
-
${x(
|
|
1010
|
+
${x(he.color,g.secondaryErrorIconColor)};
|
|
1011
1011
|
|
|
1012
1012
|
${x(k.backgroundColor,g.secondaryErrorStateLayerColor)};
|
|
1013
1013
|
${x(k.opacityContentOnSurfaceHover,g.secondaryErrorHoverStateLayerOpacity)};
|
|
@@ -1032,7 +1032,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1032
1032
|
/** Error Tertiary styles **/
|
|
1033
1033
|
|
|
1034
1034
|
.ftds--family-error.ft-button--tertiary {
|
|
1035
|
-
${x(
|
|
1035
|
+
${x(he.color,g.tertiaryErrorIconColor)};
|
|
1036
1036
|
|
|
1037
1037
|
${x(k.backgroundColor,g.tertiaryErrorStateLayerColor)};
|
|
1038
1038
|
${x(k.opacityContentOnSurfaceHover,g.tertiaryErrorHoverStateLayerOpacity)};
|
|
@@ -1057,7 +1057,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1057
1057
|
|
|
1058
1058
|
.ftds--size-large {
|
|
1059
1059
|
${x(be.size,g.largeIconSize)};
|
|
1060
|
-
${x(
|
|
1060
|
+
${x(he.size,g.largeIconSize)};
|
|
1061
1061
|
|
|
1062
1062
|
height: ${g.largeHeight};
|
|
1063
1063
|
padding: 0 ${g.largeHorizontalPadding};
|
|
@@ -1079,7 +1079,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1079
1079
|
|
|
1080
1080
|
.ftds--size-medium {
|
|
1081
1081
|
${x(be.size,g.mediumIconSize)};
|
|
1082
|
-
${x(
|
|
1082
|
+
${x(he.size,g.mediumIconSize)};
|
|
1083
1083
|
|
|
1084
1084
|
height: ${g.mediumHeight};
|
|
1085
1085
|
padding: 0 ${g.mediumHorizontalPadding};
|
|
@@ -1102,7 +1102,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1102
1102
|
|
|
1103
1103
|
.ftds--size-small {
|
|
1104
1104
|
${x(be.size,g.smallIconSize)};
|
|
1105
|
-
${x(
|
|
1105
|
+
${x(he.size,g.smallIconSize)};
|
|
1106
1106
|
|
|
1107
1107
|
height: ${g.smallHeight};
|
|
1108
1108
|
padding: 0 ${g.smallHorizontalPadding};
|
|
@@ -1119,7 +1119,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1119
1119
|
.ftds--size-small.ft-button--icon-only {
|
|
1120
1120
|
width: ${g.smallIconOnlyWidth};
|
|
1121
1121
|
}
|
|
1122
|
-
`,
|
|
1122
|
+
`,Pt];var xn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},dt=class extends an(ye){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=_t.brand,this.iconVariant=Ue.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 ke.large:return nt.body2medium;case ke.medium:return nt.caption1medium;case ke.small:return nt.caption2medium}}};dt.styles=[Eo,rd];xn([m({type:Boolean})],dt.prototype,"primary",void 0);xn([m({type:Boolean})],dt.prototype,"secondary",void 0);xn([m({type:Boolean})],dt.prototype,"tertiary",void 0);xn([m({type:Boolean})],dt.prototype,"round",void 0);H("ft-button")(Ae);H("ftds-button")(dt);var Je={textColor:o.extend("--ft-checkbox-text-color","",L.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",I.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",L.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",L.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",L.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",L.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",L.colorError)},od=_`
|
|
1123
1123
|
* {
|
|
1124
1124
|
box-sizing: border-box;
|
|
1125
1125
|
}
|
|
@@ -1212,7 +1212,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
|
-
`;var
|
|
1215
|
+
`;var Qt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},De=class extends U{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return w`
|
|
1216
1216
|
<label class="${pe(e)}" for="checkbox-input" part="checkbox-label">
|
|
1217
1217
|
<div class="ft-checkbox--box-container" part="checkbox-box-container">
|
|
1218
1218
|
<ft-ripple part="checkbox-ripple"
|
|
@@ -1239,15 +1239,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1239
1239
|
<slot></slot>
|
|
1240
1240
|
</ft-typography>
|
|
1241
1241
|
</label>
|
|
1242
|
-
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}};De.elementDefinitions={"ft-ripple":J,"ft-typography":
|
|
1242
|
+
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}};De.elementDefinitions={"ft-ripple":J,"ft-typography":ae};De.styles=od;Qt([m()],De.prototype,"name",void 0);Qt([m({type:Boolean,reflect:!0})],De.prototype,"checked",void 0);Qt([m({type:Boolean})],De.prototype,"indeterminate",void 0);Qt([m({type:Boolean})],De.prototype,"disabled",void 0);Qt([m({type:Boolean})],De.prototype,"error",void 0);Qt([B(".ft-checkbox")],De.prototype,"container",void 0);Qt([B("ft-ripple")],De.prototype,"ripple",void 0);Qt([B("input")],De.prototype,"input",void 0);H("ft-checkbox")(De);var er={textColor:o.extend("--ft-radio-text-color","",L.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",I.fontSize),colorPrimary:o.external(L.colorPrimary,"Design system"),colorOnPrimary:o.external(L.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",L.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system")},nd=_`
|
|
1243
1243
|
* {
|
|
1244
1244
|
box-sizing: border-box;
|
|
1245
1245
|
}
|
|
1246
1246
|
|
|
1247
1247
|
.ft-radio {
|
|
1248
1248
|
box-sizing: border-box;
|
|
1249
|
-
color: ${
|
|
1250
|
-
font-size: ${
|
|
1249
|
+
color: ${er.textColor};
|
|
1250
|
+
font-size: ${er.fontSize};
|
|
1251
1251
|
|
|
1252
1252
|
display: inline-flex;
|
|
1253
1253
|
align-items: center;
|
|
@@ -1255,7 +1255,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1255
1255
|
}
|
|
1256
1256
|
|
|
1257
1257
|
.ft-radio--disabled {
|
|
1258
|
-
color: ${
|
|
1258
|
+
color: ${er.colorOnSurfaceDisabled};
|
|
1259
1259
|
}
|
|
1260
1260
|
|
|
1261
1261
|
input {
|
|
@@ -1278,7 +1278,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1278
1278
|
}
|
|
1279
1279
|
|
|
1280
1280
|
.ft-radio--box {
|
|
1281
|
-
border: 2px solid ${
|
|
1281
|
+
border: 2px solid ${er.borderColor};
|
|
1282
1282
|
border-radius: 50%;
|
|
1283
1283
|
|
|
1284
1284
|
display: flex;
|
|
@@ -1291,7 +1291,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1291
1291
|
|
|
1292
1292
|
.ft-radio--box:after {
|
|
1293
1293
|
content: " ";
|
|
1294
|
-
background-color: ${
|
|
1294
|
+
background-color: ${er.colorPrimary};
|
|
1295
1295
|
|
|
1296
1296
|
border-radius: 50%;
|
|
1297
1297
|
|
|
@@ -1303,7 +1303,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1303
1303
|
}
|
|
1304
1304
|
|
|
1305
1305
|
.ft-radio--checked .ft-radio--box {
|
|
1306
|
-
border-color: ${
|
|
1306
|
+
border-color: ${er.colorPrimary};
|
|
1307
1307
|
}
|
|
1308
1308
|
|
|
1309
1309
|
|
|
@@ -1312,12 +1312,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1312
1312
|
}
|
|
1313
1313
|
|
|
1314
1314
|
.ft-radio--disabled .ft-radio--box {
|
|
1315
|
-
border-color: ${
|
|
1315
|
+
border-color: ${er.colorOnSurfaceDisabled};
|
|
1316
1316
|
background-color: transparent;
|
|
1317
1317
|
}
|
|
1318
1318
|
|
|
1319
1319
|
.ft-radio--disabled .ft-radio--box:after {
|
|
1320
|
-
background-color: ${
|
|
1320
|
+
background-color: ${er.colorOnSurfaceDisabled};
|
|
1321
1321
|
}
|
|
1322
1322
|
|
|
1323
1323
|
.ft-radio:has(:focus-visible) {
|
|
@@ -1328,7 +1328,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1328
1328
|
.ft-radio ft-typography {
|
|
1329
1329
|
padding-right: 2px;
|
|
1330
1330
|
}
|
|
1331
|
-
`;var
|
|
1331
|
+
`;var Ft=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},vn=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Re=class extends U{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`
|
|
1332
1332
|
<div class="${pe(e)}">
|
|
1333
1333
|
<div class="ft-radio--box-container">
|
|
1334
1334
|
<ft-ripple
|
|
@@ -1353,7 +1353,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1353
1353
|
</ft-typography>
|
|
1354
1354
|
</label>
|
|
1355
1355
|
</div>
|
|
1356
|
-
`}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
|
|
1356
|
+
`}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 vn(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new vn(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};Re.elementDefinitions={"ft-ripple":J,"ft-typography":ae};Re.styles=nd;Ft([m()],Re.prototype,"value",void 0);Ft([m()],Re.prototype,"name",void 0);Ft([m({type:Boolean,reflect:!0})],Re.prototype,"checked",void 0);Ft([m({attribute:"aria-checked",reflect:!0})],Re.prototype,"ariaChecked",void 0);Ft([m({type:Boolean})],Re.prototype,"disabled",void 0);Ft([m({reflect:!0,attribute:"role"})],Re.prototype,"role",void 0);Ft([B(".ft-radio")],Re.prototype,"container",void 0);Ft([B("ft-ripple")],Re.prototype,"ripple",void 0);Ft([B("input")],Re.prototype,"input",void 0);var id=_`
|
|
1357
1357
|
:host {
|
|
1358
1358
|
display: block;
|
|
1359
1359
|
}
|
|
@@ -1361,12 +1361,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1361
1361
|
:host(:focus-visible) {
|
|
1362
1362
|
outline: none;
|
|
1363
1363
|
}
|
|
1364
|
-
`;var
|
|
1364
|
+
`;var to=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ge=class extends U{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,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(n=>n.matches("ft-radio")?[n]:[...n.querySelectorAll("ft-radio")]))!==null&&r!==void 0?r:[]}render(){return w`
|
|
1365
1365
|
<slot @slotchange=${this.onSlotChange}
|
|
1366
1366
|
@change=${this.onChange}
|
|
1367
1367
|
@keydown=${this.onKeyDown}
|
|
1368
1368
|
></slot>
|
|
1369
|
-
`}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(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ge.elementDefinitions={};Ge.styles=
|
|
1369
|
+
`}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(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ge.elementDefinitions={};Ge.styles=id;to([m()],Ge.prototype,"name",void 0);to([m({reflect:!0,attribute:"role"})],Ge.prototype,"role",void 0);to([m({reflect:!0})],Ge.prototype,"tabIndex",void 0);to([m({reflect:!0,attribute:"aria-labelledby"})],Ge.prototype,"ariaLabelledBy",void 0);to([Hn()],Ge.prototype,"assignedElements",void 0);to([W()],Ge.prototype,"currentSelectedIndex",void 0);H("ft-radio")(Re);H("ft-radio-group")(Ge);var To={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",L.colorOnSurface),borderRadiusM:o.external(L.borderRadiusM,"Design system"),colorOutline:o.external(L.colorOutline,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),colorOnPrimary:o.external(L.colorOnPrimary,"Design system"),fontFamily:o.external(we.fontFamily,"Body2 typography"),fontSize:o.external(we.fontSize,"Body2 typography"),fontWeight:o.external(we.fontWeight,"Body2 typography"),letterSpacing:o.external(we.letterSpacing,"Body2 typography"),lineHeight:o.external(we.lineHeight,"Body2 typography"),textTransform:o.external(we.textTransform,"Body2 typography")},ad=_`
|
|
1370
1370
|
.ft-filter-level--container {
|
|
1371
1371
|
display: flex;
|
|
1372
1372
|
flex-direction: column;
|
|
@@ -1380,14 +1380,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1380
1380
|
flex-shrink: 0;
|
|
1381
1381
|
text-decoration: none;
|
|
1382
1382
|
position: relative;
|
|
1383
|
-
border-radius: ${
|
|
1383
|
+
border-radius: ${To.borderRadiusM};
|
|
1384
1384
|
overflow: hidden;
|
|
1385
1385
|
display: flex;
|
|
1386
1386
|
align-items: center;
|
|
1387
1387
|
padding: 4px 4px;
|
|
1388
1388
|
gap: 4px;
|
|
1389
1389
|
cursor: pointer;
|
|
1390
|
-
color: ${
|
|
1390
|
+
color: ${To.colorOnSurface};
|
|
1391
1391
|
}
|
|
1392
1392
|
|
|
1393
1393
|
.ft-filter-level--go-back:focus {
|
|
@@ -1416,11 +1416,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1416
1416
|
}
|
|
1417
1417
|
|
|
1418
1418
|
ft-button {
|
|
1419
|
-
${x(X.color,
|
|
1419
|
+
${x(X.color,To.colorOnSurface)};
|
|
1420
1420
|
}
|
|
1421
1421
|
|
|
1422
1422
|
ft-button.ft-filter-level--display-more {
|
|
1423
|
-
${x(X.color,
|
|
1423
|
+
${x(X.color,To.buttonMoreColor)};
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
1426
|
ft-radio, ft-checkbox {
|
|
@@ -1434,7 +1434,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1434
1434
|
|
|
1435
1435
|
.ft-filter-level--no-values {
|
|
1436
1436
|
margin: 10px 0;
|
|
1437
|
-
color: ${
|
|
1437
|
+
color: ${To.colorOnSurfaceMedium};
|
|
1438
1438
|
}
|
|
1439
1439
|
`;var ze=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Se=class extends U{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,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(n=>!n.selected)),this.filter&&(e=e.filter(n=>n.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return w`
|
|
1440
1440
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
@@ -1502,7 +1502,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1502
1502
|
@change=${r=>this.optionsChanged(r,e)}>
|
|
1503
1503
|
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1504
1504
|
</ft-radio>
|
|
1505
|
-
`}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};Se.elementDefinitions={"ft-button":Ae,"ft-ripple":J,"ft-typography":
|
|
1505
|
+
`}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};Se.elementDefinitions={"ft-button":Ae,"ft-ripple":J,"ft-typography":ae,"ft-checkbox":De,"ft-icon":fe,"ft-radio":Re};Se.styles=ad;ze([m({type:String})],Se.prototype,"filterId",void 0);ze([m({type:Object})],Se.prototype,"parent",void 0);ze([m({type:Array})],Se.prototype,"options",void 0);ze([m({type:Boolean})],Se.prototype,"multivalued",void 0);ze([m({type:Boolean})],Se.prototype,"disabled",void 0);ze([m({type:Boolean})],Se.prototype,"hideSelectedOptions",void 0);ze([m({type:Boolean})],Se.prototype,"displayCount",void 0);ze([m({type:Boolean})],Se.prototype,"preventNavigation",void 0);ze([m({type:String})],Se.prototype,"filter",void 0);ze([m({type:String})],Se.prototype,"moreValuesButtonLabel",void 0);ze([m({type:String})],Se.prototype,"noValuesLabel",void 0);ze([m({type:Number})],Se.prototype,"displayedValuesLimit",void 0);ze([B(".ft-filter-level--container")],Se.prototype,"container",void 0);ze([W()],Se.prototype,"radios",void 0);ze([W()],Se.prototype,"displayedPages",void 0);var We={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",L.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(L.colorSurface,"Design system")},sd=_`
|
|
1506
1506
|
.ft-snap-scroll {
|
|
1507
1507
|
box-sizing: border-box;
|
|
1508
1508
|
position: relative;
|
|
@@ -1627,7 +1627,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1627
1627
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1628
1628
|
background-color: ${We.colorSurface};
|
|
1629
1629
|
}
|
|
1630
|
-
`;var St=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},
|
|
1630
|
+
`;var St=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},os=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Ee=class extends U{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 le(200),this.updateScrollDebouncer=new le(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<i||r[this.offsetAttribute]+r[this.sizeAttribute]>n)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=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":vr}),r=this.controls&&this.withScroll;return w`
|
|
1631
1631
|
<div part="container" class="${e}">
|
|
1632
1632
|
<ft-button
|
|
1633
1633
|
class="ft-snap-scroll--previous"
|
|
@@ -1651,7 +1651,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1651
1651
|
@click=${this.next}
|
|
1652
1652
|
></ft-button>
|
|
1653
1653
|
</div>
|
|
1654
|
-
`}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
|
|
1654
|
+
`}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 os(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,n;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(n=>n))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Ee.elementDefinitions={"ft-button":Ae};Ee.styles=sd;St([m({type:Boolean})],Ee.prototype,"horizontal",void 0);St([m({type:Boolean})],Ee.prototype,"hideScrollbar",void 0);St([m({type:Boolean})],Ee.prototype,"controls",void 0);St([m({type:Boolean})],Ee.prototype,"limitSize",void 0);St([W()],Ee.prototype,"elements",void 0);St([W()],Ee.prototype,"currentElement",void 0);St([W()],Ee.prototype,"withScroll",void 0);St([W()],Ee.prototype,"startReached",void 0);St([W()],Ee.prototype,"endReached",void 0);St([B(".ft-snap-scroll--content")],Ee.prototype,"contentSlot",void 0);H("ft-snap-scroll")(Ee);var Ke={colorOutline:o.external(L.colorOutline,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),colorSurface:o.external(L.colorSurface,"Design system"),transitionDuration:o.external(L.transitionDuration,"Design system"),transitionTimingFunction:o.external(L.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",L.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",I.fontSize,"16px")},ld=[Xt,wo,_`
|
|
1655
1655
|
:host {
|
|
1656
1656
|
display: flex;
|
|
1657
1657
|
max-height: 100%;
|
|
@@ -1768,7 +1768,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1768
1768
|
slot:not([name]) {
|
|
1769
1769
|
display: none;
|
|
1770
1770
|
}
|
|
1771
|
-
`];var ge=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},
|
|
1771
|
+
`];var ge=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ns=class extends CustomEvent{constructor(e){super("change",{detail:e})}},oe=class extends U{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 le(300),this.changeDebouncer=new le(10),this.lastDispatchedValues=[]}get flatOptions(){return Ze(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return Ze(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return w`
|
|
1772
1772
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1773
1773
|
part="container">
|
|
1774
1774
|
${!this.label&&!e?null:w`
|
|
@@ -1845,17 +1845,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1845
1845
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1846
1846
|
noValuesLabel="${this.noValuesLabel}"
|
|
1847
1847
|
></ft-filter-level>
|
|
1848
|
-
`}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let n=this.flatOptions.find(a=>a.value===e.detail.value);n.selected=!n.selected;let i=a=>{var s;a!==n&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(i)};this.multivalued?(r=n.subOptions)===null||r===void 0||r.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;Me(this.lastDispatchedValues,e)||(this.dispatchEvent(new
|
|
1848
|
+
`}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let n=this.flatOptions.find(a=>a.value===e.detail.value);n.selected=!n.selected;let i=a=>{var s;a!==n&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(i)};this.multivalued?(r=n.subOptions)===null||r===void 0||r.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;Me(this.lastDispatchedValues,e)||(this.dispatchEvent(new ns(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};oe.elementDefinitions={"ft-button":Ae,"ft-filter-level":Se,"ft-snap-scroll":Ee,"ft-typography":ae};oe.styles=ld;ge([m({type:String})],oe.prototype,"id",void 0);ge([m({type:String})],oe.prototype,"label",void 0);ge([m({type:String})],oe.prototype,"filterPlaceHolder",void 0);ge([m({type:String})],oe.prototype,"clearButtonLabel",void 0);ge([m({type:String})],oe.prototype,"moreValuesButtonLabel",void 0);ge([m({type:String})],oe.prototype,"noValuesLabel",void 0);ge([$e([])],oe.prototype,"options",void 0);ge([m({type:Boolean})],oe.prototype,"multivalued",void 0);ge([m({type:Boolean})],oe.prototype,"disabled",void 0);ge([m({type:Boolean})],oe.prototype,"raiseSelectedOptions",void 0);ge([m({type:Boolean})],oe.prototype,"displayCount",void 0);ge([m({type:Number})],oe.prototype,"displayedValuesLimit",void 0);ge([m({type:Boolean})],oe.prototype,"hideClearButton",void 0);ge([B(".ft-filter--slot")],oe.prototype,"slotElement",void 0);ge([B(".ft-filter--container")],oe.prototype,"container",void 0);ge([B(".ft-filter--values")],oe.prototype,"valuesContainer",void 0);ge([B(".ft-filter--levels")],oe.prototype,"levelsContainer",void 0);ge([W()],oe.prototype,"lastLevelHasHiddenvalues",void 0);ge([B(".ft-filter--filter input")],oe.prototype,"filterInput",void 0);ge([Wn(".ft-filter--levels ft-filter-level")],oe.prototype,"levels",void 0);ge([W()],oe.prototype,"withScroll",void 0);ge([W()],oe.prototype,"filter",void 0);ge([W()],oe.prototype,"slideIn",void 0);ge([W()],oe.prototype,"slideOut",void 0);var ro=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Qe=class extends U{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return w`
|
|
1849
1849
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1850
|
-
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qe.elementDefinitions={};
|
|
1850
|
+
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qe.elementDefinitions={};ro([m({type:String})],Qe.prototype,"label",void 0);ro([m({type:Object,converter:t=>t})],Qe.prototype,"value",void 0);ro([m({type:Boolean,reflect:!0})],Qe.prototype,"selected",void 0);ro([m({type:Object})],Qe.prototype,"subOptions",void 0);ro([$e({})],Qe.prototype,"renderOption",void 0);ro([B(".ft-filter-option--slot")],Qe.prototype,"slotElement",void 0);H("ft-filter")(oe);H("ft-filter-option")(Qe);var cd=_`
|
|
1851
1851
|
.ft-accordion {
|
|
1852
1852
|
box-sizing: border-box;
|
|
1853
1853
|
}
|
|
1854
|
-
`;var
|
|
1854
|
+
`;var dd=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ot=class extends U{constructor(){super(...arguments),this.multi=!1}render(){return w`
|
|
1855
1855
|
<div class="ft-accordion">
|
|
1856
1856
|
<slot @activated=${this.onChange}></slot>
|
|
1857
1857
|
</div>
|
|
1858
|
-
`}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};Ot.elementDefinitions={};Ot.styles=
|
|
1858
|
+
`}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};Ot.elementDefinitions={};Ot.styles=cd;dd([m({type:Boolean})],Ot.prototype,"multi",void 0);dd([B("slot")],Ot.prototype,"content",void 0);var Or={horizontalSpacing:o.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:o.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:o.external(L.colorOutline,"Design system"),backgroundColor:o.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},pd=_`
|
|
1859
1859
|
.ft-accordion-item {
|
|
1860
1860
|
display: flex;
|
|
1861
1861
|
flex-direction: column;
|
|
@@ -1901,7 +1901,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1901
1901
|
.ft-accordion-item--separator {
|
|
1902
1902
|
border-bottom: 1px solid ${Or.colorOutline};
|
|
1903
1903
|
}
|
|
1904
|
-
`;var
|
|
1904
|
+
`;var Sn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},it=class extends U{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return w`
|
|
1905
1905
|
<div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
|
|
1906
1906
|
<div class="ft-accordion-item--toggle"
|
|
1907
1907
|
part="toggle"
|
|
@@ -1931,7 +1931,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1931
1931
|
</div>
|
|
1932
1932
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
1933
1933
|
</div>
|
|
1934
|
-
`}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)}};it.elementDefinitions={"ft-ripple":J,"ft-typography":
|
|
1934
|
+
`}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)}};it.elementDefinitions={"ft-ripple":J,"ft-typography":ae,"ft-icon":fe};it.styles=pd;Sn([m()],it.prototype,"icon",void 0);Sn([m()],it.prototype,"iconVariant",void 0);Sn([m()],it.prototype,"label",void 0);Sn([m({type:Boolean,reflect:!0})],it.prototype,"active",void 0);H("ft-accordion")(Ot);H("ft-accordion-item")(it);var fd=o.extend("--ft-chip-color","",L.colorOnSurface),Be={backgroundColor:o.extend("--ft-chip-background-color","",L.colorSurface),color:fd,fontSize:o.extend("--ft-chip-font-size","",we.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",we.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",fd),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","",L.colorOutline),opacityDisabled:o.external(L.colorOpacityDisabled,"Design system")},ud=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",L.colorOnPrimary)),is={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",L.colorPrimary)),color:ud,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",ud)},hd={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},md=[Pt,_`
|
|
1935
1935
|
:host {
|
|
1936
1936
|
display: inline-block;
|
|
1937
1937
|
max-width: 100%;
|
|
@@ -1971,8 +1971,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1971
1971
|
|
|
1972
1972
|
.ft-chip--dense {
|
|
1973
1973
|
--ft-chip-internal-icon-padding: 3px;
|
|
1974
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1975
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1974
|
+
--ft-chip-internal-vertical-padding: ${hd.verticalPadding};
|
|
1975
|
+
--ft-chip-internal-horizontal-padding: ${hd.horizontalPadding};
|
|
1976
1976
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1977
1977
|
}
|
|
1978
1978
|
|
|
@@ -1990,9 +1990,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1990
1990
|
.ft-chip--highlighted {
|
|
1991
1991
|
border: none;
|
|
1992
1992
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
1993
|
-
background-color: ${
|
|
1994
|
-
${x(k.color,
|
|
1995
|
-
color: ${
|
|
1993
|
+
background-color: ${is.backgroundColor};
|
|
1994
|
+
${x(k.color,is.rippleColor)};
|
|
1995
|
+
color: ${is.color};
|
|
1996
1996
|
}
|
|
1997
1997
|
|
|
1998
1998
|
.ft-chip--clickable {
|
|
@@ -2071,7 +2071,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2071
2071
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
2072
2072
|
order: -1;
|
|
2073
2073
|
}
|
|
2074
|
-
`];var et=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},
|
|
2074
|
+
`];var et=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},On=class extends CustomEvent{constructor(){super("icon-click")}},Oe=class extends U{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":vr};return w`
|
|
2075
2075
|
<div class="${pe(e)}"
|
|
2076
2076
|
aria-label="${this.getLabel()}"
|
|
2077
2077
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -2097,7 +2097,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2097
2097
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
2098
2098
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
2099
2099
|
</div>
|
|
2100
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new
|
|
2100
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new On))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new On))}getLabel(){return this.label||this.textContent}get textContent(){return $r(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Oe.elementDefinitions={"ft-ripple":J,"ft-typography":ae,"ft-icon":fe,"ft-button":Ae};Oe.styles=md;et([m({type:Boolean})],Oe.prototype,"highlighted",void 0);et([m({type:Boolean})],Oe.prototype,"removable",void 0);et([m({type:Boolean})],Oe.prototype,"disabled",void 0);et([m({type:Boolean})],Oe.prototype,"clickable",void 0);et([m({type:Boolean})],Oe.prototype,"iconClickable",void 0);et([m({type:Boolean})],Oe.prototype,"dense",void 0);et([m({type:Boolean})],Oe.prototype,"multiLine",void 0);et([m()],Oe.prototype,"label",void 0);et([m()],Oe.prototype,"iconLabel",void 0);et([m()],Oe.prototype,"icon",void 0);et([m()],Oe.prototype,"iconVariant",void 0);et([m({type:Boolean})],Oe.prototype,"trailingIcon",void 0);et([B("ft-typography slot")],Oe.prototype,"slottedContent",void 0);var yd=[_`
|
|
2101
2101
|
:host {
|
|
2102
2102
|
display: inline-block;
|
|
2103
2103
|
max-width: 100%;
|
|
@@ -2203,7 +2203,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2203
2203
|
.ftds--family-error .ftds-chip--icon-container {
|
|
2204
2204
|
color: ${Y.errorIconColor};
|
|
2205
2205
|
}
|
|
2206
|
-
`];var
|
|
2206
|
+
`];var Po=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},as=class extends CustomEvent{constructor(){super("remove")}},pt=class extends Oo{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`
|
|
2207
2207
|
<div class="${pe(e)}"
|
|
2208
2208
|
aria-label="${this.getLabel()}"
|
|
2209
2209
|
part="chip">
|
|
@@ -2227,7 +2227,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2227
2227
|
size=${this.resolveButtonSize()}
|
|
2228
2228
|
part="icon-button"
|
|
2229
2229
|
></ftds-button>
|
|
2230
|
-
`:M}resolveButtonSize(){switch(this.size){case ke.large:return ke.medium;case ke.medium:case ke.small:return ke.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new
|
|
2230
|
+
`:M}resolveButtonSize(){switch(this.size){case ke.large:return ke.medium;case ke.medium:case ke.small:return ke.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new as)}typographyVariant(){switch(this.size){case ke.large:return nt.body2medium;case ke.medium:return nt.caption1medium;case ke.small:return nt.caption2medium}}};pt.elementDefinitions={"ft-typography":ae,"ft-icon":fe,"ftds-button":dt};pt.styles=yd;Po([m({type:Boolean})],pt.prototype,"removable",void 0);Po([m()],pt.prototype,"removeButtonLabel",void 0);Po([m()],pt.prototype,"label",void 0);Po([m()],pt.prototype,"icon",void 0);Po([B("ft-typography slot")],pt.prototype,"slottedContent",void 0);H("ft-chip")(Oe);H("ftds-chip")(pt);var Z={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","",L.colorOutline),textColor:o.extend("--ft-input-label-text-color","",L.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",L.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",L.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",L.borderRadiusS),colorError:o.external(L.colorError,"Design system")},gd=_`
|
|
2231
2231
|
.ft-input-label {
|
|
2232
2232
|
position: absolute;
|
|
2233
2233
|
inset: 0;
|
|
@@ -2349,7 +2349,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2349
2349
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
2350
2350
|
border-top: none;
|
|
2351
2351
|
}
|
|
2352
|
-
`;var
|
|
2352
|
+
`;var Io=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},tt=class extends U{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`
|
|
2353
2353
|
<div class="${pe(e)}">
|
|
2354
2354
|
${this.text?w`
|
|
2355
2355
|
<div class="ft-input-label--text ft-typography--caption">
|
|
@@ -2358,7 +2358,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2358
2358
|
</div>
|
|
2359
2359
|
`:null}
|
|
2360
2360
|
</div>
|
|
2361
|
-
`}};tt.elementDefinitions={};tt.styles=[
|
|
2361
|
+
`}};tt.elementDefinitions={};tt.styles=[Xt,gd];Io([m({type:String})],tt.prototype,"text",void 0);Io([m({type:Boolean})],tt.prototype,"raised",void 0);Io([m({type:Boolean})],tt.prototype,"outlined",void 0);Io([m({type:Boolean})],tt.prototype,"disabled",void 0);Io([m({type:Boolean})],tt.prototype,"error",void 0);H("ft-input-label")(tt);var q={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","",L.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",L.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",L.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-select-background-color","",L.colorSurface),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),borderRadiusS:o.external(L.borderRadiusS,"Design system"),elevation02:o.external(L.elevation02,"Design system"),colorError:o.external(L.colorError,"Design system")},bd=_`
|
|
2362
2362
|
*:focus {
|
|
2363
2363
|
outline: none;
|
|
2364
2364
|
}
|
|
@@ -2434,8 +2434,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2434
2434
|
overflow: hidden;
|
|
2435
2435
|
white-space: nowrap;
|
|
2436
2436
|
text-overflow: ellipsis;
|
|
2437
|
-
${x(
|
|
2438
|
-
${x(
|
|
2437
|
+
${x(Dt.fontSize,q.selectedOptionSize)};
|
|
2438
|
+
${x(Dt.lineHeight,q.selectedOptionSize)};
|
|
2439
2439
|
}
|
|
2440
2440
|
|
|
2441
2441
|
.ft-select--in-error .ft-select--selected-option {
|
|
@@ -2553,7 +2553,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2553
2553
|
<ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
|
|
2554
2554
|
<span>${e.label}</span>
|
|
2555
2555
|
</div>
|
|
2556
|
-
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,n;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let i=["bottom","top"];
|
|
2556
|
+
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,n;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let i=["bottom","top"];Qi(this.mainPanel,this.optionsMenu,"bottom",i,"fixed",q.optionsHeight.name,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let n=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}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 r,n,i,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(i=(n=this.focusedOption)===null||n===void 0?void 0:n.previousElementSibling)!==null&&i!==void 0?i: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,r){var n;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}selectOption(e){var r,n;if(!Me((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let i of this.options)i.selected=i===e;this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};ce.elementDefinitions={"ft-input-label":tt,"ft-typography":ae,"ft-ripple":J,"ft-icon":fe};ce.styles=[eo,Xt,bd];xe([m({type:String})],ce.prototype,"label",void 0);xe([m({type:String})],ce.prototype,"ariaLabel",void 0);xe([m({type:String})],ce.prototype,"helper",void 0);xe([m({type:Boolean})],ce.prototype,"outlined",void 0);xe([m({type:Boolean})],ce.prototype,"disabled",void 0);xe([m({type:Boolean})],ce.prototype,"error",void 0);xe([m({type:Boolean})],ce.prototype,"fixedMenuPosition",void 0);xe([m({type:Array})],ce.prototype,"options",void 0);xe([W()],ce.prototype,"selectedOption",void 0);xe([W()],ce.prototype,"optionsDisplayed",void 0);xe([W()],ce.prototype,"focusOptions",void 0);xe([B(".ft-select")],ce.prototype,"container",void 0);xe([B(".ft-select--options")],ce.prototype,"optionsMenu",void 0);xe([B(".ft-select--input-panel")],ce.prototype,"mainPanel",void 0);xe([B(".ft-select--option:first-child")],ce.prototype,"firstOption",void 0);xe([B(".ft-select--option:focus")],ce.prototype,"focusedOption",void 0);xe([B(".ft-select--option.ft-select--option-selected")],ce.prototype,"selectedOptionElement",void 0);xe([B(".ft-select--option:last-child")],ce.prototype,"lastOption",void 0);xe([B("slot")],ce.prototype,"optionsSlot",void 0);H("ft-select")(ce);H("ft-select-option")(Ct);var Te={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(L.borderRadiusM,"Design system")},xd=_`
|
|
2557
2557
|
:host {
|
|
2558
2558
|
width: ${Te.width};
|
|
2559
2559
|
height: ${Te.height};
|
|
@@ -2580,7 +2580,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2580
2580
|
background-position: calc(100vw + ${Te.glareWidth}) 0, calc(${Te.glareWidth} * -1) 0;
|
|
2581
2581
|
}
|
|
2582
2582
|
}
|
|
2583
|
-
`;var V={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",L.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(L.colorSurface,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorOutline:o.external(L.colorOutline,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),elevation02:o.external(L.elevation02,"Design system"),buttonColor:o.external(X.color,"Button"),buttonRippleColor:o.external(X.rippleColor,"Button")},
|
|
2583
|
+
`;var V={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",L.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(L.colorSurface,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorOutline:o.external(L.colorOutline,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),elevation02:o.external(L.elevation02,"Design system"),buttonColor:o.external(X.color,"Button"),buttonRippleColor:o.external(X.rippleColor,"Button")},vd=_`
|
|
2584
2584
|
* {
|
|
2585
2585
|
box-sizing: border-box;
|
|
2586
2586
|
}
|
|
@@ -2683,7 +2683,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2683
2683
|
align-items: center;
|
|
2684
2684
|
height: 100%;
|
|
2685
2685
|
|
|
2686
|
-
${x(
|
|
2686
|
+
${x(Jt.zIndex,`calc(${V.floatingZIndex} + 1)`)};
|
|
2687
2687
|
}
|
|
2688
2688
|
|
|
2689
2689
|
.ft-search-bar > ft-button,
|
|
@@ -2775,7 +2775,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2775
2775
|
${x(I.fontWeight,"bold")};
|
|
2776
2776
|
}
|
|
2777
2777
|
|
|
2778
|
-
`,
|
|
2778
|
+
`,Sd=_`
|
|
2779
2779
|
.ft-search-bar--presets {
|
|
2780
2780
|
min-width: 200px;
|
|
2781
2781
|
}
|
|
@@ -2936,8 +2936,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2936
2936
|
.ft-search-bar--desktop-menu .ft-search-bar--launch-search {
|
|
2937
2937
|
margin: 0;
|
|
2938
2938
|
}
|
|
2939
|
-
`;var
|
|
2940
|
-
`}};
|
|
2939
|
+
`;var tr=class extends U{render(){return w`
|
|
2940
|
+
`}};tr.elementDefinitions={};tr.styles=xd;H("ft-skeleton")(tr);var Et=class{constructor(e,r=300){this.searchBar=e,this.updateDebouncer=new le(r)}render(){let e=this.searchBar.recentSearches.filter(n=>n.toLowerCase().includes(this.searchBar.query.toLowerCase())),r=this.searchBar.suggestions.length>0||e.length>0;return w`
|
|
2941
2941
|
<div class="ft-search-bar--suggestions ft-word-wrap ${r?"ft-search-bar--suggestions-not-empty":""}"
|
|
2942
2942
|
part="suggestions-container"
|
|
2943
2943
|
@keydown=${n=>this.onSuggestKeyDown(n)}>
|
|
@@ -2974,9 +2974,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2974
2974
|
</div>
|
|
2975
2975
|
`)}
|
|
2976
2976
|
</div>
|
|
2977
|
-
`}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(n=>n.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var r,n;switch(e.key){case"ArrowUp":(r=this.previousSuggestionElement())===null||r===void 0||r.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(n=this.nextSuggestionElement())===null||n===void 0||n.focus(),e.preventDefault(),e.stopPropagation();break}}nextSuggestionElement(){var e,r;let n=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,i=(r=n?.nextElementSibling)===null||r===void 0?void 0:r.querySelector("[part=suggestions]");return i??this.getFirstSuggestionElement()}previousSuggestionElement(){var e,r;let n=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,i=(r=n?.previousElementSibling)===null||r===void 0?void 0:r.querySelector("[part=suggestions]");return i??this.getLastSuggestionElement()}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){var n,i,a,s;e.preventDefault(),e.stopPropagation();let l=e.target.closest("[part='suggestion-container']"),d=(s=(i=(n=l?.previousElementSibling)===null||n===void 0?void 0:n.querySelector("[part='suggestions']"))!==null&&i!==void 0?i:(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(f=>f.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?Ue.file_format:Ue.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?vt.BOOK:vt.ARTICLE;break;case"DOCUMENT":n=
|
|
2977
|
+
`}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(n=>n.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var r,n;switch(e.key){case"ArrowUp":(r=this.previousSuggestionElement())===null||r===void 0||r.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(n=this.nextSuggestionElement())===null||n===void 0||n.focus(),e.preventDefault(),e.stopPropagation();break}}nextSuggestionElement(){var e,r;let n=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,i=(r=n?.nextElementSibling)===null||r===void 0?void 0:r.querySelector("[part=suggestions]");return i??this.getFirstSuggestionElement()}previousSuggestionElement(){var e,r;let n=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,i=(r=n?.previousElementSibling)===null||r===void 0?void 0:r.querySelector("[part=suggestions]");return i??this.getLastSuggestionElement()}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){var n,i,a,s;e.preventDefault(),e.stopPropagation();let l=e.target.closest("[part='suggestion-container']"),d=(s=(i=(n=l?.previousElementSibling)===null||n===void 0?void 0:n.querySelector("[part='suggestions']"))!==null&&i!==void 0?i:(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(f=>f.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?Ue.file_format:Ue.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?vt.BOOK:vt.ARTICLE;break;case"DOCUMENT":n=td(e.mimeType,e.filenameExtension);break;case"TOPIC":n=vt.TOPICS;break}return w`
|
|
2978
2978
|
<ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
2979
|
-
`}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()}};Et.styles=[
|
|
2979
|
+
`}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()}};Et.styles=[sa,_`
|
|
2980
2980
|
.ft-search-bar--mobile .ft-search-bar--suggestions {
|
|
2981
2981
|
flex-grow: 1;
|
|
2982
2982
|
flex-shrink: 1;
|
|
@@ -3069,7 +3069,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3069
3069
|
${this.getLocaleLabel(this.searchBar.contentLocale)}
|
|
3070
3070
|
</ft-chip>
|
|
3071
3071
|
`:null}
|
|
3072
|
-
${Le(this.searchBar.facets,i=>i.key,i=>{let a=
|
|
3072
|
+
${Le(this.searchBar.facets,i=>i.key,i=>{let a=Wc(i);return Le(a,s=>{let l=i.label+": "+Mc(s),d=i.key.replace(":","-"),f=w`
|
|
3073
3073
|
<ft-chip
|
|
3074
3074
|
part="selected-filters selected-filter-${d}"
|
|
3075
3075
|
?dense=${this.searchBar.dense&&!e}
|
|
@@ -3082,7 +3082,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3082
3082
|
@icon-click=${()=>this.searchBar.setFilter(i.key,a.filter(h=>h!==s))}
|
|
3083
3083
|
data-key="${i.key}"
|
|
3084
3084
|
data-value="${s}">
|
|
3085
|
-
${
|
|
3085
|
+
${Fc(s)}
|
|
3086
3086
|
</ft-chip>
|
|
3087
3087
|
`;return r?f:w`
|
|
3088
3088
|
<ft-tooltip inline text="${l}">
|
|
@@ -3138,7 +3138,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3138
3138
|
.ft-search-bar--selected-filters ft-chip {
|
|
3139
3139
|
flex-grow: 0;
|
|
3140
3140
|
}
|
|
3141
|
-
`;var
|
|
3141
|
+
`;var Do=class{constructor(e,r,n){this.searchBar=e,this.selectedFacetsManager=r??new wt(e),this.suggestManager=n??new Et(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`
|
|
3142
3142
|
<div class="${pe(e)}" part="container" tabindex="-1">
|
|
3143
3143
|
<div class="ft-search-bar" role="search">
|
|
3144
3144
|
<div class="ft-search-bar--input-container" part="input-container">
|
|
@@ -3190,9 +3190,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3190
3190
|
@click=${()=>{var r;return this.searchBar.isMobileMenuOpen()?this.searchBar.onLaunchSearch():(r=this.searchBar.input)===null||r===void 0?void 0:r.focus()}}
|
|
3191
3191
|
></ft-button>
|
|
3192
3192
|
</div>
|
|
3193
|
-
`}onSearchBarKeyUp(e){var r;e.key==="Enter"&&((r=this.searchBar.launchSearchButton)===null||r===void 0||r.click())}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};
|
|
3193
|
+
`}onSearchBarKeyUp(e){var r;e.key==="Enter"&&((r=this.searchBar.launchSearchButton)===null||r===void 0||r.click())}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};Do.styles=_`
|
|
3194
3194
|
|
|
3195
|
-
`;var
|
|
3195
|
+
`;var Bo=class{constructor(e,r,n){this.searchBar=e,this.selectedFacetsManager=r??new wt(e),this.suggestManager=n??new Et(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`
|
|
3196
3196
|
<div class="${pe(e)}" part="container" tabindex="-1">
|
|
3197
3197
|
<div class="ft-search-bar" part="search-bar" role="search">
|
|
3198
3198
|
${this.renderSearchBarLeftAction()}
|
|
@@ -3263,12 +3263,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3263
3263
|
@click=${()=>this.searchBar.onLaunchSearch()}
|
|
3264
3264
|
></ft-button>
|
|
3265
3265
|
</div>
|
|
3266
|
-
`}onSearchBarKeyDown(e){var r;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(r=this.searchBar.input)===null||r===void 0||r.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){var r;e.key==="Enter"&&((r=this.searchBar.launchSearchButton)===null||r===void 0||r.click())}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};
|
|
3266
|
+
`}onSearchBarKeyDown(e){var r;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(r=this.searchBar.input)===null||r===void 0||r.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){var r;e.key==="Enter"&&((r=this.searchBar.launchSearchButton)===null||r===void 0||r.click())}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};Bo.styles=_`
|
|
3267
3267
|
|
|
3268
|
-
`;var
|
|
3269
|
-
`;var
|
|
3268
|
+
`;var Od=_`
|
|
3269
|
+
`;var Qf="ft-app-info",ss=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},eu={session:(t,e)=>{Me(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>j.dispatchEvent(new ss(e.payload)),0))}},j=br.get({name:Qf,reducers:eu,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Cr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=j.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=j.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var Fo=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Cr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Cr.await()}};var rr=class extends Fo{constructor(e=!0,r){var n;super(r);let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new ht,this.cache=e?i.commonCache:new ht}clearCache(){this.cache.clearAll()}};var Cd,tu=Symbol("clearAfterUnitTest"),Cn=class extends rr{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Cd]=()=>{this.defaultMessages={},this.cache=new ht,this.listeners={}},this.currentUiLocale=j.getState().uiLocale,j.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=j.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Me(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new Vt((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(r,...n)}async fetchContext(e){var r,n,i;if(!this.cache.has(e))if(((n=(r=window.process)===null||r===void 0?void 0:r.env)===null||n===void 0?void 0:n.NODE_ENV)==="test")this.cache.set(e,(i=this.defaultMessages[e])!==null&&i!==void 0?i:{});else try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(a){console.error(a)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>Yo(0).then(()=>r()).catch(()=>null)))}};Cd=tu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Cn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Cn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Ed=window.FluidTopicsI18nService,qR=window.FluidTopicsCustomI18nService;var Fe=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ve=class extends U{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=()=>Cr.get(),this.messageContexts=[],this.cache=new ht,this.cleanSessionDebouncer=new le}render(){return w`
|
|
3270
3270
|
<slot></slot>
|
|
3271
|
-
`}update(e){var r,n,i,a,s;super.update(e),e.has("baseUrl")&&(j.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&j.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&j.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&j.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&j.actions.noCustom(this.noCustom),e.has("editorMode")&&j.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&j.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&j.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>vd.addContext(l)),e.has("openExternalDocumentInNewTab")&&j.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&j.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&j.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(j.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),j.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),j.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())}};ve.elementDefinitions={};ve.styles=bd;Fe([m()],ve.prototype,"baseUrl",void 0);Fe([m()],ve.prototype,"apiIntegrationIdentifier",void 0);Fe([m()],ve.prototype,"uiLocale",void 0);Fe([$e(null)],ve.prototype,"availableUiLocales",void 0);Fe([$e(null)],ve.prototype,"metadataConfiguration",void 0);Fe([m({type:Boolean})],ve.prototype,"editorMode",void 0);Fe([m({type:Boolean})],ve.prototype,"noCustom",void 0);Fe([m({type:Boolean})],ve.prototype,"openExternalDocumentInNewTab",void 0);Fe([m({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ve.prototype,"noCustomComponent",void 0);Fe([m({type:Boolean})],ve.prototype,"withManualResources",void 0);Fe([m({type:Boolean})],ve.prototype,"navigatorOnline",void 0);Fe([m({type:Boolean})],ve.prototype,"forcedOffline",void 0);Fe([m({type:Object})],ve.prototype,"apiProvider",void 0);Fe([$e([])],ve.prototype,"messageContexts",void 0);Fe([$e(void 0)],ve.prototype,"session",void 0);Fe([W()],ve.prototype,"localesConfiguration",void 0);var On=class extends tr{async listMySearches(){let e=j.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Cn=class extends tr{async listMyBookmarks(){let e=j.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Jf="ft-user-assets",En=br.get({name:Jf,initialState:{savedSearches:void 0,bookmarks:void 0}}),ns=class{constructor(){this.currentSession=j.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Cn,this.savedSearchesService=new On,j.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=j.getState();Me((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),En.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),En.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();En.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;En.actions.bookmarks(r)}}},yL=new ns;var is=class{addCommand(e,r=!1){j.commands.add(e,r)}consumeCommand(e){return j.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new is;var as=class{highlightHtml(e,r,n){oa(e,r,n)}};window.FluidTopicsHighlightHtmlService=new as;var ss=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=j.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return Gr.format(e,(n=r?.locale)!==null&&n!==void 0?n:j.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ss;H("ft-app-context")(ve);var Q=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};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 Sd={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"},ls=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Qf=()=>{},G=class extends U{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 Ht(Sd,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new xr(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 Et(this),this.selectedFacetsManager=new wt(this),this.desktopSearchBarManager=new Po(this),this.mobileSearchBarManager=new To(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(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,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(r=>r===this.floatingContainer))},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(n=>r.values.includes(n)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(n=>r.metadataFilters.some(i=>this.compareFilters(n,i))),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(r=>{var n,i;return((i=(n=r.valueFilter)===null||n===void 0?void 0:n.values.length)!==null&&i!==void 0?i:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...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 Zo(()=>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`
|
|
3271
|
+
`}update(e){var r,n,i,a,s;super.update(e),e.has("baseUrl")&&(j.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&j.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&j.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&j.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&j.actions.noCustom(this.noCustom),e.has("editorMode")&&j.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&j.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&j.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>Ed.addContext(l)),e.has("openExternalDocumentInNewTab")&&j.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&j.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&j.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(j.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),j.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),j.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())}};ve.elementDefinitions={};ve.styles=Od;Fe([m()],ve.prototype,"baseUrl",void 0);Fe([m()],ve.prototype,"apiIntegrationIdentifier",void 0);Fe([m()],ve.prototype,"uiLocale",void 0);Fe([$e(null)],ve.prototype,"availableUiLocales",void 0);Fe([$e(null)],ve.prototype,"metadataConfiguration",void 0);Fe([m({type:Boolean})],ve.prototype,"editorMode",void 0);Fe([m({type:Boolean})],ve.prototype,"noCustom",void 0);Fe([m({type:Boolean})],ve.prototype,"openExternalDocumentInNewTab",void 0);Fe([m({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ve.prototype,"noCustomComponent",void 0);Fe([m({type:Boolean})],ve.prototype,"withManualResources",void 0);Fe([m({type:Boolean})],ve.prototype,"navigatorOnline",void 0);Fe([m({type:Boolean})],ve.prototype,"forcedOffline",void 0);Fe([m({type:Object})],ve.prototype,"apiProvider",void 0);Fe([$e([])],ve.prototype,"messageContexts",void 0);Fe([$e(void 0)],ve.prototype,"session",void 0);Fe([W()],ve.prototype,"localesConfiguration",void 0);var En=class extends rr{async listMySearches(){let e=j.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var wn=class extends rr{async listMyBookmarks(){let e=j.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var ru="ft-user-assets",An=br.get({name:ru,initialState:{savedSearches:void 0,bookmarks:void 0}}),ls=class{constructor(){this.currentSession=j.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wn,this.savedSearchesService=new En,j.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=j.getState();Me((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),An.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),An.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();An.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;An.actions.bookmarks(r)}}},OL=new ls;var cs=class{addCommand(e,r=!1){j.commands.add(e,r)}consumeCommand(e){return j.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new cs;var ds=class{highlightHtml(e,r,n){ia(e,r,n)}};window.FluidTopicsHighlightHtmlService=new ds;var ps=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=j.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return Gr.format(e,(n=r?.locale)!==null&&n!==void 0?n:j.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ps;H("ft-app-context")(ve);var Q=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};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 wd={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"},fs=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ou=()=>{},G=class extends U{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 Vt(wd,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new xr(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 Et(this),this.selectedFacetsManager=new wt(this),this.desktopSearchBarManager=new Bo(this),this.mobileSearchBarManager=new Do(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(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,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(r=>r===this.floatingContainer))},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(n=>r.values.includes(n)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(n=>r.metadataFilters.some(i=>this.compareFilters(n,i))),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(r=>{var n,i;return((i=(n=r.valueFilter)===null||n===void 0?void 0:n.values.length)!==null&&i!==void 0?i:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...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 Xo(()=>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`
|
|
3272
3272
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
3273
3273
|
${this.renderSearchBar()}
|
|
3274
3274
|
`}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():w`
|
|
@@ -3293,7 +3293,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3293
3293
|
</div>
|
|
3294
3294
|
</ft-accordion-item>
|
|
3295
3295
|
`:null}
|
|
3296
|
-
${Le(this.facets,r=>r.key,r=>{let n=
|
|
3296
|
+
${Le(this.facets,r=>r.key,r=>{let n=es(r),i=r.key.replace(":","-"),a=zc(n);return r.rootNodes.length>0?w`
|
|
3297
3297
|
<ft-accordion-item data-facet-key="${r.key}">
|
|
3298
3298
|
<div class="ft-search-bar--filter-label" slot="toggle">
|
|
3299
3299
|
<ft-typography variant="button">${r.label}</ft-typography>
|
|
@@ -3386,7 +3386,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3386
3386
|
${this.getContentLocaleRadioGroup()}
|
|
3387
3387
|
</div>
|
|
3388
3388
|
`:M}
|
|
3389
|
-
${Le(this.facets,e=>e.key,e=>{let r=
|
|
3389
|
+
${Le(this.facets,e=>e.key,e=>{let r=es(e),n=r.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}),i=e.key.replace(":","-");return w`
|
|
3390
3390
|
<ft-filter
|
|
3391
3391
|
class="${n?"ft-search-bar--hierarchical-filter":""}"
|
|
3392
3392
|
part="filters filter filter-${i}"
|
|
@@ -3405,14 +3405,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3405
3405
|
></ft-filter>
|
|
3406
3406
|
`})}
|
|
3407
3407
|
</ft-snap-scroll>
|
|
3408
|
-
`:M}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,n,i,a,s;if(e.has("labels")&&(this.labelResolver=new
|
|
3408
|
+
`:M}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,n,i,a,s;if(e.has("labels")&&(this.labelResolver=new Vt(wd,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=d=>this.availableContentLocales.some(f=>f.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((n=this.presets)!==null&&n!==void 0?n:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(f=>gn(f)))})),e.has("presets")||e.has("selectedPreset")){let l=((i=this.presets)!==null&&i!==void 0?i:[]).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 fs(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 r,n,i;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(n=this.scrollingFiltersContainer)===null||n===void 0||n.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(i=this.shadowRoot)===null||i===void 0?void 0:i.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 r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(n=>n.facets.forEach(i=>{this.knownFacetLabels.set(i.key,i.label),r.set(i.key,i)})).catch(ou)),this.facets=[];for(let n of this.facetsRequest)r.has(n.id)?this.facets.push(r.get(n.id)):this.knownFacetLabels.has(n.id)&&this.facets.push({key:n.id,label:this.knownFacetLabels.get(n.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,n)=>n<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&&!qa&&this.focusInput(),j.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),j.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let n=this.metadataFilters.filter(i=>!i.valueFilter||i.key!==e);this.facets.forEach(i=>{i.key===e&&Ze(i.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&n.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=n,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>Ze(r.rootNodes,n=>n.childNodes).forEach(n=>n.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?M:w`
|
|
3409
3409
|
<div class="ft-search-bar--floating-panel"
|
|
3410
3410
|
id="ft-search-bar-floating-panel"
|
|
3411
3411
|
@keyup=${this.onFloatingContainerKeyUp}
|
|
3412
3412
|
part="floating-panel"
|
|
3413
3413
|
tabindex="-1">
|
|
3414
3414
|
${this.renderDesktopMenu()}
|
|
3415
|
-
</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)}};G.elementDefinitions={"ft-accordion":Ot,"ft-accordion-item":it,"ft-button":Ae,"ft-chip":Oe,"ft-filter":oe,"ft-filter-option":Qe,"ft-icon":
|
|
3415
|
+
</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)}};G.elementDefinitions={"ft-accordion":Ot,"ft-accordion-item":it,"ft-button":Ae,"ft-chip":Oe,"ft-filter":oe,"ft-filter-option":Qe,"ft-icon":fe,"ft-ripple":J,"ft-select":ce,"ft-select-option":Ct,"ft-size-watcher":Xe,"ft-skeleton":tr,"ft-snap-scroll":Ee,"ft-tooltip":me,"ft-typography":ae,"ft-radio-group":Ge,"ft-radio":Re};G.styles=[eo,wo,vd,Sd,wt.styles,Et.styles];Q([m({type:Boolean})],G.prototype,"dense",void 0);Q([m()],G.prototype,"mode",void 0);Q([m({type:Boolean})],G.prototype,"forceMobileMenuOpen",void 0);Q([m({type:Boolean})],G.prototype,"forceMenuOpen",void 0);Q([m()],G.prototype,"baseUrl",void 0);Q([m()],G.prototype,"apiIntegrationIdentifier",void 0);Q([m()],G.prototype,"contentLocale",void 0);Q([W()],G.prototype,"availableContentLocales",void 0);Q([W()],G.prototype,"availableContentLocalesInitialized",void 0);Q([m()],G.prototype,"uiLocale",void 0);Q([$e({})],G.prototype,"labels",void 0);Q([$e([])],G.prototype,"displayedFilters",void 0);Q([$e([])],G.prototype,"presets",void 0);Q([m({type:String,reflect:!0})],G.prototype,"selectedPreset",void 0);Q([$e([])],G.prototype,"priors",void 0);Q([m()],G.prototype,"searchRequestSerializer",void 0);Q([m({type:Boolean})],G.prototype,"focusOnDisplay",void 0);Q([W()],G.prototype,"metadataFilters",void 0);Q([W()],G.prototype,"sizeCategory",void 0);Q([W()],G.prototype,"displayFacets",void 0);Q([W()],G.prototype,"mobileMenuOpen",void 0);Q([W()],G.prototype,"facets",void 0);Q([W()],G.prototype,"facetsInitialized",void 0);Q([B(".ft-search-bar--container")],G.prototype,"container",void 0);Q([B(".ft-search-bar--filters-opener")],G.prototype,"filtersOpener",void 0);Q([B(".ft-search-bar--floating-panel")],G.prototype,"floatingContainer",void 0);Q([B("ft-snap-scroll.ft-search-bar--filters-container")],G.prototype,"scrollingFiltersContainer",void 0);Q([B(".ft-search-bar--input")],G.prototype,"input",void 0);Q([B(".ft-search-bar--launch-search")],G.prototype,"launchSearchButton",void 0);Q([W()],G.prototype,"query",void 0);Q([W()],G.prototype,"suggestions",void 0);Q([W()],G.prototype,"recentSearches",void 0);Q([W()],G.prototype,"scrollToFacet",void 0);Q([W()],G.prototype,"api",void 0);Q([W()],G.prototype,"reactToFocus",void 0);Q([W()],G.prototype,"facetsLoaded",void 0);H("ft-search-bar")(G);})();
|
|
3416
3416
|
/*! Bundled license information:
|
|
3417
3417
|
|
|
3418
3418
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|