@fluid-topics/ft-filterable-table 1.3.45 → 1.3.46
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-filterable-table.light.js +375 -357
- package/build/ft-filterable-table.min.js +392 -374
- package/package.json +6 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?X.substr(1,X.length):X}).forEach(function(X){var oe=X.split(":"),Z=oe.shift().trim();if(Z){var no=oe.join(":").trim();try{O.append(Z,no)}catch(Vo){console.warn("Response "+Vo.message)}}}),O}L.call(w.prototype);function q(y,O){if(!(this instanceof q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=O.statusText===void 0?"":""+O.statusText,this.headers=new f(O.headers),this.url=O.url||"",this._initBody(y)}L.call(q.prototype),q.prototype.clone=function(){return new q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},q.error=function(){var y=new q(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var K=[301,302,303,307,308];q.redirect=function(y,O){if(K.indexOf(O)===-1)throw new RangeError("Invalid status code");return new q(null,{status:O,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(O,I){this.message=O,this.name=I;var X=Error(O);this.stack=X.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function M(y,O){return new Promise(function(I,X){var oe=new w(y,O);if(oe.signal&&oe.signal.aborted)return X(new o.DOMException("Aborted","AbortError"));var Z=new XMLHttpRequest;function no(){Z.abort()}Z.onload=function(){var ge={statusText:Z.statusText,headers:z(Z.getAllResponseHeaders()||"")};oe.url.indexOf("file://")===0&&(Z.status<200||Z.status>599)?ge.status=200:ge.status=Z.status,ge.url="responseURL"in Z?Z.responseURL:ge.headers.get("X-Request-URL");var At="response"in Z?Z.response:Z.responseText;setTimeout(function(){I(new q(At,ge))},0)},Z.onerror=function(){setTimeout(function(){X(new TypeError("Network request failed"))},0)},Z.ontimeout=function(){setTimeout(function(){X(new TypeError("Network request timed out"))},0)},Z.onabort=function(){setTimeout(function(){X(new o.DOMException("Aborted","AbortError"))},0)};function Vo(ge){try{return ge===""&&n.location.href?n.location.href:ge}catch{return ge}}if(Z.open(oe.method,Vo(oe.url),!0),oe.credentials==="include"?Z.withCredentials=!0:oe.credentials==="omit"&&(Z.withCredentials=!1),"responseType"in Z&&(i.blob?Z.responseType="blob":i.arrayBuffer&&(Z.responseType="arraybuffer")),O&&typeof O.headers=="object"&&!(O.headers instanceof f||n.Headers&&O.headers instanceof n.Headers)){var Ta=[];Object.getOwnPropertyNames(O.headers).forEach(function(ge){Ta.push(d(ge)),Z.setRequestHeader(ge,u(O.headers[ge]))}),oe.headers.forEach(function(ge,At){Ta.indexOf(At)===-1&&Z.setRequestHeader(At,ge)})}else oe.headers.forEach(function(ge,At){Z.setRequestHeader(At,ge)});oe.signal&&(oe.signal.addEventListener("abort",no),Z.onreadystatechange=function(){Z.readyState===4&&oe.signal.removeEventListener("abort",no)}),Z.send(typeof oe._bodyInit>"u"?null:oe._bodyInit)})}return M.polyfill=!0,n.fetch||(n.fetch=M,n.Headers=f,n.Request=w,n.Response=q),o.Headers=f,o.Request=w,o.Response=q,o.fetch=M,o}({})})($o);$o.fetch.ponyfill=!0;delete $o.fetch.polyfill;var ur=Io.fetch?Io:$o;Et=ur.fetch;Et.default=ur.fetch;Et.fetch=ur.fetch;Et.Headers=ur.Headers;Et.Request=ur.Request;Et.Response=ur.Response;ul.exports=Et});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(C,S){if(C=C.toLowerCase(),this._getDefinition(C)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${C}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=S.prototype.attributeChangedCallback,D=new Set(S.observedAttributes||[]);g(S,D,w);let z={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:D};this._definitionsByTag.set(C,z),this._definitionsByClass.set(S,z);let q=o.call(n,C);q||(q=f(C),e.call(n,C,q)),this===window.customElements&&(s.set(S,z),z.standInClass=q);let K=this._awaitingUpgrade.get(C);if(K){this._awaitingUpgrade.delete(C);for(let y of K)a.delete(y),b(y,z,!0)}let M=this._whenDefinedPromises.get(C);return M!==void 0&&(M.resolve(S),this._whenDefinedPromises.delete(C)),S}upgrade(){T.push(this),n.upgrade.apply(n,arguments),T.pop()}get(C){return this._definitionsByTag.get(C)?.elementClass}_getDefinition(C){return this._definitionsByTag.get(C)}whenDefined(C){let S=this._getDefinition(C);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(C);return w===void 0&&(w={},w.promise=new Promise(D=>w.resolve=D),this._whenDefinedPromises.set(C,w)),w.promise}_upgradeWhenDefined(C,S,w){let D=this._awaitingUpgrade.get(S);D||this._awaitingUpgrade.set(S,D=new Set),w?D.add(C):D.delete(C)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,w),S},window.HTMLElement.prototype=t.prototype;let u=C=>C===document||C instanceof ShadowRoot,h=C=>{let S=C.getRootNode();if(!u(S)){let w=T[T.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),u(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},f=C=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let D=h(w)||window.customElements,z=D._getDefinition(C);return z?b(w,z):a.set(w,D),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},g=(C,S,w)=>{if(S.size===0||w===void 0)return;let D=C.prototype.setAttribute;D&&(C.prototype.setAttribute=function(K,M){let y=K.toLowerCase();if(S.has(y)){let O=this.getAttribute(y);D.call(this,y,M),w.call(this,y,O,M)}else D.call(this,y,M)});let z=C.prototype.removeAttribute;z&&(C.prototype.removeAttribute=function(K){let M=K.toLowerCase();if(S.has(M)){let y=this.getAttribute(M);z.call(this,M),w.call(this,M,y,null)}else z.call(this,M)});let q=C.prototype.toggleAttribute;q&&(C.prototype.toggleAttribute=function(K,M){let y=K.toLowerCase();if(S.has(y)){let O=this.getAttribute(y);q.call(this,y,M);let I=this.getAttribute(y);w.call(this,y,O,I)}else q.call(this,y,M)})},x=C=>{let S=Object.getPrototypeOf(C);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(C,window.HTMLElement):x(S)},b=(C,S,w=!1)=>{Object.setPrototypeOf(C,S.elementClass.prototype),i.set(C,S),d=C;try{new S.elementClass}catch{x(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(D=>{C.hasAttribute(D)&&S.attributeChangedCallback.call(C,D,null,C.getAttribute(D))}),w&&S.connectedCallback&&C.isConnected&&S.connectedCallback.call(C)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(C){let S=A.apply(this,arguments);return C.customElements&&(S.customElements=C.customElements),S};let T=[document],_=(C,S,w=void 0)=>{let D=(w?Object.getPrototypeOf(w):C.prototype)[S];C.prototype[S]=function(){T.push(this);let z=D.apply(w||this,arguments);return z!==void 0&&c.set(z,this),T.pop(),z}};_(ShadowRoot,"createElement",document),_(ShadowRoot,"importNode",document),_(Element,"insertAdjacentHTML");let L=(C,S)=>{let w=Object.getOwnPropertyDescriptor(C.prototype,S);Object.defineProperty(C.prototype,S,{...w,set(D){T.push(this),w.set.call(this,D),T.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let C=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...K){let M=S.call(this,...K);return C.set(M,this),M},w.forEach(K=>{let M=window.ElementInternals.prototype,y=M[K];M[K]=function(...O){let I=C.get(this);if(i.get(I).formAssociated===!0)return y?.call(this,...O);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class D extends Array{constructor(M){super(...M),this._elements=M}get value(){return this._elements.find(M=>M.checked===!0)?.value||""}}class z{constructor(M){let y=new Map;M.forEach((O,I)=>{let X=O.getAttribute("name"),oe=y.get(X)||[];this[+I]=O,oe.push(O),y.set(X,oe)}),this.length=M.length,y.forEach((O,I)=>{O&&(O.length===1?this[I]=O[0]:this[I]=new D(O))})}namedItem(M){return this[M]}}let q=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let K=q.get.call(this,[]),M=[];for(let y of K){let O=i.get(y);(!O||O.formAssociated===!0)&&M.push(y)}return new z(M)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var an={};J(an,{CSSResult:()=>Kt,LitElement:()=>Qe,ReactiveElement:()=>We,_$LE:()=>Xc,_$LH:()=>rn,adoptStyles:()=>Rr,css:()=>k,defaultConverter:()=>Zt,getCompatibleStyle:()=>ao,html:()=>$,isServer:()=>Mu,mathml:()=>tn,noChange:()=>Se,notEqual:()=>_r,nothing:()=>F,render:()=>on,supportsAdoptingStyleSheets:()=>Ar,svg:()=>en,unsafeCSS:()=>pt});var io=globalThis,Ar=io.ShadowRoot&&(io.ShadyCSS===void 0||io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ko=Symbol(),_a=new WeakMap,Kt=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Ko)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Ar&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=_a.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&_a.set(o,e))}return e}toString(){return this.cssText}},pt=t=>new Kt(typeof t=="string"?t:t+"",void 0,Ko),k=(t,...e)=>{let o=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 Kt(o,t,Ko)},Rr=(t,e)=>{if(Ar)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=io.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},ao=Ar?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return pt(o)})(t):t;var{is:Fc,defineProperty:zc,getOwnPropertyDescriptor:Hc,getOwnPropertyNames:Wc,getOwnPropertySymbols:Gc,getPrototypeOf:Vc}=Object,so=globalThis,Na=so.trustedTypes,jc=Na?Na.emptyScript:"",Kc=so.reactiveElementPolyfillSupport,Tr=(t,e)=>t,Zt={toAttribute(t,e){switch(e){case Boolean:t=t?jc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},_r=(t,e)=>!Fc(t,e),La={attribute:!0,type:String,converter:Zt,reflect:!1,useDefault:!1,hasChanged:_r};Symbol.metadata??=Symbol("metadata"),so.litPropertyMetadata??=new WeakMap;var We=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,o=La){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&zc(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=Hc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let c=i?.call(this);a?.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??La}static _$Ei(){if(this.hasOwnProperty(Tr("elementProperties")))return;let e=Vc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Tr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Tr("properties"))){let o=this.properties,n=[...Wc(o),...Gc(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(ao(i))}else e!==void 0&&o.push(ao(e));return o}static _$Eu(e,o){let n=o.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,o=this.constructor.elementProperties;for(let n of o.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 Rr(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,o,n){this._$AK(e,n)}_$ET(e,o){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:Zt).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){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:Zt;this._$Em=i,this[i]=s.fromAttribute(o,a.type)??this._$Ej?.get(i)??null,this._$Em=null}}requestUpdate(e,o,n){if(e!==void 0){let i=this.constructor,a=this[e];if(n??=i.getPropertyOptions(e),!((n.hasChanged??_r)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??o??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}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,c=this[i];s!==!0||this._$AL.has(i)||c===void 0||this.C(i,void 0,a,c)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.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(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};We.elementStyles=[],We.shadowRootOptions={mode:"open"},We[Tr("elementProperties")]=new Map,We[Tr("finalized")]=new Map,Kc?.({ReactiveElement:We}),(so.reactiveElementVersions??=[]).push("2.1.0");var qo=globalThis,lo=qo.trustedTypes,Pa=lo?lo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Yo="$lit$",Je=`lit$${Math.random().toFixed(9).slice(2)}$`,Xo="?"+Je,Zc=`<${Xo}>`,_t=document,Lr=()=>_t.createComment(""),Pr=t=>t===null||typeof t!="object"&&typeof t!="function",Jo=Array.isArray,Ba=t=>Jo(t)||typeof t?.[Symbol.iterator]=="function",Zo=`[
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ka=/'/g,Da=/"/g,Ua=/^(?:script|style|textarea|title)$/i,Qo=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),$=Qo(1),en=Qo(2),tn=Qo(3),Se=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),Ma=new WeakMap,Tt=_t.createTreeWalker(_t,129);function Fa(t,e){if(!Jo(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Pa!==void 0?Pa.createHTML(e):e}var za=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=Nr;for(let c=0;c<o;c++){let d=t[c],u,h,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===Nr?h[1]==="!--"?s=Ia:h[1]!==void 0?s=$a:h[2]!==void 0?(Ua.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Rt):h[3]!==void 0&&(s=Rt):s===Rt?h[0]===">"?(s=i??Nr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Rt:h[3]==='"'?Da:ka):s===Da||s===ka?s=Rt:s===Ia||s===$a?s=Nr:(s=Rt,i=void 0);let x=s===Rt&&t[c+1].startsWith("/>")?" ":"";a+=s===Nr?d+Zc:f>=0?(n.push(u),d.slice(0,f)+Yo+d.slice(f)+Je+x):d+Je+(f===-2?c:x)}return[Fa(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Ir=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,h]=za(e,o);if(this.el=t.createElement(u,n),Tt.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Tt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Yo)){let g=h[s++],x=i.getAttribute(f).split(Je),b=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:b[2],strings:x,ctor:b[1]==="."?po:b[1]==="?"?uo:b[1]==="@"?fo:Lt}),i.removeAttribute(f)}else f.startsWith(Je)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Ua.test(i.tagName)){let f=i.textContent.split(Je),g=f.length-1;if(g>0){i.textContent=lo?lo.emptyScript:"";for(let x=0;x<g;x++)i.append(f[x],Lr()),Tt.nextNode(),d.push({type:2,index:++a});i.append(f[g],Lr())}}}else if(i.nodeType===8)if(i.data===Xo)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(Je,f+1))!==-1;)d.push({type:7,index:a}),f+=Je.length-1}a++}}static createElement(e,o){let n=_t.createElement("template");return n.innerHTML=e,n}};function Nt(t,e,o=t,n){if(e===Se)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Pr(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,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Nt(t,i._$AS(t,e.values),i,n)),e}var co=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??_t).importNode(o,!0);Tt.currentNode=i;let a=Tt.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new qt(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new ho(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=Tt.nextNode(),s++)}return Tt.currentNode=_t,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},qt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Nt(this,e,o),Pr(e)?e===F||e==null||e===""?(this._$AH!==F&&this._$AR(),this._$AH=F):e!==this._$AH&&e!==Se&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ba(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!==F&&Pr(this._$AH)?this._$AA.nextSibling.data=e:this.T(_t.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Ir.createElement(Fa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new co(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=Ma.get(e.strings);return o===void 0&&Ma.set(e.strings,o=new Ir(e)),o}k(e){Jo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.O(Lr()),this.O(Lr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Lt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=F,this._$AN=void 0,this.element=e,this.name=o,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=F}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Nt(this,e,o,0),s=!Pr(e)||e!==this._$AH&&e!==Se,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=Nt(this,c[n+d],o,d),u===Se&&(u=this._$AH[d]),s||=!Pr(u)||u!==this._$AH[d],u===F?e=F:e!==F&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.j(e)}j(e){e===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},po=class extends Lt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===F?void 0:e}},uo=class extends Lt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==F)}},fo=class extends Lt{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Nt(this,e,o,0)??F)===Se)return;let n=this._$AH,i=e===F&&n!==F||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==F&&(n===F||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)}},ho=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Nt(this,e)}},rn={M:Yo,P:Je,A:Xo,C:1,L:za,R:co,D:Ba,V:Nt,I:qt,H:Lt,N:uo,U:fo,B:po,F:ho},qc=qo.litHtmlPolyfillSupport;qc?.(Ir,qt),(qo.litHtmlVersions??=[]).push("3.3.0");var on=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new qt(e.insertBefore(Lr(),a),a,void 0,o??{})}return i._$AI(t),i};var nn=globalThis,Qe=class extends We{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=on(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Se}};Qe._$litElement$=!0,Qe.finalized=!0,nn.litElementHydrateSupport?.({LitElement:Qe});var Yc=nn.litElementPolyfillSupport;Yc?.({LitElement:Qe});var Xc={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(nn.litElementVersions??=[]).push("4.2.0");var Mu=!1;var cn={};J(cn,{customElement:()=>Jc,eventOptions:()=>ed,property:()=>E,query:()=>Q,queryAll:()=>sn,queryAssignedElements:()=>ln,queryAssignedNodes:()=>$r,queryAsync:()=>rd,standardProperty:()=>Ha,state:()=>V});var Jc=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Qc={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:_r},Ha=(t=Qc,e,o)=>{let{kind:n,metadata:i}=o,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(o.name,t),n==="accessor"){let{name:s}=o;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(n==="setter"){let{name:s}=o;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function E(t){return(e,o)=>typeof o=="object"?Ha(t,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,o)}function V(t){return E({...t,state:!0,attribute:!1})}function ed(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var ke=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function Q(t,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return ke(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return ke(o,n,{get(){return a(this)}})}}var td;function sn(t){return(e,o)=>ke(e,o,{get(){return(this.renderRoot??(td??=document.createDocumentFragment())).querySelectorAll(t)}})}function rd(t){return(e,o)=>ke(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ln(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ke(e,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function $r(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ke(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var dn={};J(dn,{repeat:()=>Ce});var Ge={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},De=t=>(...e)=>({_$litDirective$:t,values:e}),Le=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:od}=rn;var Ga=t=>t.strings===void 0,Wa=()=>document.createComment(""),Yt=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(Wa(),i),s=n.insertBefore(Wa(),i);o=new od(a,s,t,t.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==t;if(c){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||c){let d=o._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return o},ut=(t,e,o=t)=>(t._$AI(e,o),t),nd={},Va=(t,e=nd)=>t._$AH=e,ja=t=>t._$AH,yo=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var Ka=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},Ce=De(class extends Le{constructor(t){if(super(t),t.type!==Ge.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let i=ja(t),{values:a,keys:s}=this.dt(e,o,n);if(!Array.isArray(i))return this.ut=s,a;let c=this.ut??=[],d=[],u,h,f=0,g=i.length-1,x=0,b=a.length-1;for(;f<=g&&x<=b;)if(i[f]===null)f++;else if(i[g]===null)g--;else if(c[f]===s[x])d[x]=ut(i[f],a[x]),f++,x++;else if(c[g]===s[b])d[b]=ut(i[g],a[b]),g--,b--;else if(c[f]===s[b])d[b]=ut(i[f],a[b]),Yt(t,d[b+1],i[f]),f++,b--;else if(c[g]===s[x])d[x]=ut(i[g],a[x]),Yt(t,i[f],i[g]),g--,x++;else if(u===void 0&&(u=Ka(s,x,b),h=Ka(c,f,g)),u.has(c[f]))if(u.has(c[g])){let A=h.get(s[x]),T=A!==void 0?i[A]:null;if(T===null){let _=Yt(t,i[f]);ut(_,a[x]),d[x]=_}else d[x]=ut(T,a[x]),Yt(t,i[f],T),i[A]=null;x++}else yo(i[g]),g--;else yo(i[f]),f++;for(;x<=b;){let A=Yt(t,d[b+1]);ut(A,a[x]),d[x++]=A}for(;f<=g;){let A=i[f++];A!==null&&yo(A)}return this.ut=s,Va(t,d),Se}});var pn={};J(pn,{classMap:()=>me});var me=De(class extends Le{constructor(t){if(super(t),t.type!==Ge.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 o=t.element.classList;for(let n of this.st)n in e||(o.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?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return Se}});var un={};J(un,{styleMap:()=>ad});var Za="important",id=" !"+Za,ad=De(class extends Le{constructor(t){if(super(t),t.type!==Ge.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,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=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("-")?o.removeProperty(n):o[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(id);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Za:""):o[n]=i}}return Se}});var fn={};J(fn,{UnsafeHTMLDirective:()=>Xt,unsafeHTML:()=>kr});var Xt=class extends Le{constructor(e){if(super(e),this.it=F,e.type!==Ge.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===F||e==null)return this._t=void 0,this.it=e;if(e===Se)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 o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Xt.directiveName="unsafeHTML",Xt.resultType=1;var kr=De(Xt);var En={};J(En,{CacheRegistry:()=>On,ClearCacheEvent:()=>Ur});var yn={};J(yn,{CancelablePromise:()=>go,CanceledPromiseError:()=>Dr,cancelable:()=>hn});var Dr=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},go=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new Dr("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Dr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},hn=t=>new go((e,o)=>t.then(e).catch(o));var Sn={};J(Sn,{FtNotificationEvent:()=>Br,PostResizeEvent:()=>vn,PreResizeEvent:()=>xn,WithEventBus:()=>It,withEventBus:()=>ts});var bn={};J(bn,{applyMixinOnce:()=>Re,dateReviver:()=>cd,deepCopy:()=>ud,deepEqual:()=>ft,delay:()=>qa,eventPathContainsMatchingElement:()=>gn,everyDeep:()=>ld,flatDeep:()=>Xa,forEachDeep:()=>Ja,getComposedPathTo:()=>mn,hasChanged:()=>Pt,last:()=>pd,minmax:()=>Mr,parseDate:()=>es,randomId:()=>fd,someDeep:()=>Qa,unslotText:()=>mo,waitFor:()=>Ya,waitUntil:()=>sd});var qa=t=>new Promise(e=>setTimeout(e,t));async function sd(t,e=10,o=2e4){await Ya(async()=>await t()||void 0,e,o)}async function Ya(t,e=10,o=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await qa(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Xa(t,e){return t.flatMap(o=>[o,...Xa(e(o),e)])}function Ja(t,e,o){let n=(i,a)=>{var s;for(let c=0;c<i.length;c++){let d=i[c];if(!(((s=o(d,c,i,a))!==null&&s!==void 0?s:!0)&&n(e(d),[...a,d])))return!1}return!0};n(t,[])}function Qa(t,e,o){let n=!1;return Ja(t,e,(i,a,s,c)=>(n=!!o(i,a,s,c),!n)),n}function ld(t,e,o){return!Qa(t,e,(n,i,a,s)=>!o(n,i,a,s))}function cd(...t){return(e,o)=>t.includes(e)?es(o):o}function es(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function dd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!ft(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(!ft(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(c=>s[c]!=null);if(i=a(t),o=i.length,o!==a(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!ft(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ft(t,e){try{return dd(t,e)}catch{return!1}}function Pt(t,e){return!ft(t,e)}function gn(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Mr(t,e,o){return Math.min(Math.max(t,e),o)}function pd(t){return t[t.length-1]}function mo(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>mo(e)).join(""):t?.textContent||""}function mn(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function ud(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function fd(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Re(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}var Br=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},xn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},vn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},ts=Re(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),It=class extends ts(Object){};var Ur=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},On=class extends It{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var i;let a=this.content[e],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...a,loader:o,final:n,status:s}}registerFinal(e,o){this.register(e,o,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,o=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new Ur(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new Ur([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,i;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let i=async()=>o,a="RESOLVED";this.content[e]={loader:i,final:n,status:a,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=hn(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var An={};J(An,{ClusteringHelper:()=>wn,formatHierarchicalValues:()=>Cn});function Cn(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var wn=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e){var o,n,i,a,s;let c=((a=(n=(o=e.result)===null||o===void 0?void 0:o.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(c,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(c.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,o,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(c=>{a.push(Cn(c)),s.push(Cn(c,o))}),{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(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,o,n="No value",i,a){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:u,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,g,x)=>x.findIndex(b=>b.value===f.value)===g).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,g)=>this.compareMetadata(f.metadata.value,g.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(o,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==o}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>c&&(c=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var Rn={};J(Rn,{Debouncer:()=>Me});var Me=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);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 Tn={};J(Tn,{customElement:()=>ne,dateProperty:()=>yd,isNumber:()=>rs,jsonProperty:()=>et,numberProperty:()=>bo,optionalNumberProperty:()=>hd});var ne=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function et(t,e){let o=()=>JSON.parse(JSON.stringify(t));return E({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Pt,...e??{}})}function hd(t){return bo(t)}function bo(t){return E({type:Object,converter:{fromAttribute:e=>{if(e!=null)return rs(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function rs(t){return!isNaN(parseFloat(t))}function yd(t){return E({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let o=new Date(Date.parse(e));if(!isNaN(o.valueOf()))return o},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var ti={};J(ti,{designSystemVariables:()=>P});var ei={};J(ei,{DesignSystemFamily:()=>kt,DesignSystemSize:()=>tt,FtCssVariableFactory:()=>r,badge:()=>wd,banner:()=>Cd,button:()=>m,chart:()=>zd,checkbox:()=>bd,chip:()=>Od,chipChoice:()=>Sd,collapsible:()=>Ud,comboboxMultiSelect:()=>Md,comboboxSingleSelect:()=>Dd,dateRangePicker:()=>Zd,drawer:()=>Ld,floatingMenu:()=>kd,foundation:()=>l,link:()=>Ed,modal:()=>Nd,notice:()=>Wd,notification:()=>Vd,pageDesigner:()=>Hd,pageFooter:()=>Td,pageHeader:()=>Rd,pageLayout:()=>_d,popover:()=>Bd,radio:()=>xd,reorderableList:()=>Kd,resolveFamilyClass:()=>Jn,resolveSizeClass:()=>Qn,semantic:()=>p,setVariable:()=>v,switch_:()=>Fd,table:()=>vd,tabs:()=>Pd,textArea:()=>$d,textInput:()=>Id,titleBreadcrumb:()=>Ad,toggle:()=>Gd,tooltip:()=>jd,treeList:()=>md,typographies:()=>Fr,typographyBody1Medium:()=>$n,typographyBody1Regular:()=>In,typographyBody1Semibold:()=>kn,typographyBody2Medium:()=>$t,typographyBody2MediumUnderline:()=>os,typographyBody2Regular:()=>Dn,typographyBody2Semibold:()=>Mn,typographyCaption1Bold:()=>jn,typographyCaption1Medium:()=>Gn,typographyCaption1Semibold:()=>Vn,typographyCaption2Bold:()=>Zn,typographyCaption2Medium:()=>yt,typographyCaption2Semibold:()=>Kn,typographyCaption3Bold:()=>Xn,typographyCaption3Medium:()=>qn,typographyCaption3Semibold:()=>Yn,typographyDisplay:()=>_n,typographyLabel1Bold:()=>Fn,typographyLabel1Medium:()=>Bn,typographyLabel1Semibold:()=>Un,typographyLabel2Bold:()=>Wn,typographyLabel2Medium:()=>zn,typographyLabel2Semibold:()=>Hn,typographyTitle1:()=>Nn,typographyTitle2:()=>Ln,typographyTitle3:()=>Pn,typographyVariants:()=>gd});var ht=t=>typeof t=="string"?pt(t):t,r=class{static create(e,o,n,i){let a=c=>ht(c??i),s=k`var(${ht(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=c=>v(s,c??a(i)),s.get=c=>k`var(${ht(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=k`var(${ht(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=c=>v(s,c??a(i)),s.get=c=>k`var(${ht(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.defaultCssValue(a),i=k`var(${ht(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>k`var(${ht(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function v(t,e){return ht(`${t.name}: ${e}`)}var l={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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)")},_n={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Nn={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ln={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Pn={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},In={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},$n={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},kn={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Dn={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},$t={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},os={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Mn={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Bn={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Un={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Fn={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},zn={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Hn={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Wn={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Gn={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Vn={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},jn={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},yt={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Kn={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Zn={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},qn={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Fr={display:_n,"title-1":Nn,"title-2":Ln,"title-3":Pn,"body-1-regular":In,"body-1-medium":$n,"body-1-semibold":kn,"body-2-regular":Dn,"body-2-medium":$t,"body-2-medium-underline":os,"body-2-semibold":Mn,"label-1-medium":Bn,"label-1-semibold":Un,"label-1-bold":Fn,"label-2-medium":zn,"label-2-semibold":Hn,"label-2-bold":Wn,"caption-1-medium":Gn,"caption-1-semibold":Vn,"caption-1-bold":jn,"caption-2-medium":yt,"caption-2-semibold":Kn,"caption-2-bold":Zn,"caption-3-medium":qn,"caption-3-semibold":Yn,"caption-3-bold":Xn},gd=["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:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var m={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var md={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",l.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",p.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",l.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",p.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)};var bd={iconSize:r.extend("--ftds-checkbox-icon-size","",l.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ftds-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",l.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",l.spacing2)};var xd={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var vd={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var Sd={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",l.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",l.iconSize2)};var Od={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",p.borderErrorSubtle)};var Ed={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var Cd={iconSize:r.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",p.borderInfoSubtle)};var wd={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ftds-badge-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",p.contentActionPrimary)};var Ad={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Rd={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Td={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var _d={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Nd={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var Ld={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",l.colorGray700)};var Pd={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ftds-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ftds-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Id={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var $d={backgroundColor:r.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",l.borderRadiusS)};var kd={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",l.shadowElevation02)};var Dd={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Md={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",l.borderRadiusS)};var Bd={backgroundColor:r.extend("--ftds-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ftds-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",p.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",l.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6)};var Ud={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ftds-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var Fd={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ftds-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ftds-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var zd={color1Light:r.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var Hd={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var Wd={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ftds-notice-gap","",l.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var Gd={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ftds-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",l.spacing3)};var Vd={iconSize:r.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",l.spacing8)};var jd={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ftds-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",l.spacing05)};var Kd={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",l.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var Zd={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var kt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(kt||(kt={}));var tt;(function(t){t.large="large",t.medium="medium",t.small="small"})(tt||(tt={}));function Jn(t){return`ftds--family-${t}`}function Qn(t){return`ftds--size-${t}`}var P={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","SHADOW","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:r.create("--ft-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)"),elevation02:r.create("--ft-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)"),elevation03:r.create("--ft-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)"),elevation04:r.create("--ft-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)"),elevation06:r.create("--ft-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)"),elevation08:r.create("--ft-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)"),elevation12:r.create("--ft-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)"),elevation16:r.create("--ft-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)"),elevation24:r.create("--ft-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)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ri={};J(ri,{DynamicImporter:()=>xo,dynamicImporter:()=>qd});var xo=class{async import(e){if(e)return import(e)}},qd=new xo;var mi={};J(mi,{computeOffsetAutoPosition:()=>Vr,computeOffsetPosition:()=>gi});var is=["top","right","bottom","left"],ns=["start","end"],ni=is.reduce((t,e)=>t.concat(e,e+"-"+ns[0],e+"-"+ns[1]),[]),vo=Math.min,gt=Math.max;var Yd={left:"right",right:"left",bottom:"top",top:"bottom"},Xd={start:"end",end:"start"};function ii(t,e,o){return gt(t,vo(e,o))}function Jt(t,e){return typeof t=="function"?t(e):t}function mt(t){return t.split("-")[0]}function Ve(t){return t.split("-")[1]}function ai(t){return t==="x"?"y":"x"}function si(t){return t==="y"?"height":"width"}function Qt(t){return["top","bottom"].includes(mt(t))?"y":"x"}function li(t){return ai(Qt(t))}function as(t,e,o){o===void 0&&(o=!1);let n=Ve(t),i=li(t),a=si(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=oi(s)),[s,oi(s)]}function ss(t){return t.replace(/start|end/g,e=>Xd[e])}function oi(t){return t.replace(/left|right|bottom|top/g,e=>Yd[e])}function Jd(t){return{top:0,right:0,bottom:0,left:0,...t}}function ls(t){return typeof t!="number"?Jd(t):{top:t,right:t,bottom:t,left:t}}function Dt(t){let{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function cs(t,e,o){let{reference:n,floating:i}=t,a=Qt(e),s=li(e),c=si(s),d=mt(e),u=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:h,y:n.y-i.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-i.width,y:f};break;default:x={x:n.x,y:n.y}}switch(Ve(e)){case"start":x[s]-=g*(o&&u?-1:1);break;case"end":x[s]+=g*(o&&u?-1:1);break}return x}var ds=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=cs(u,n,d),g=n,x={},b=0;for(let A=0;A<c.length;A++){let{name:T,fn:_}=c[A],{x:L,y:C,data:S,reset:w}=await _({x:h,y:f,initialPlacement:n,placement:g,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:t,floating:e}});h=L??h,f=C??f,x={...x,[T]:{...x[T],...S}},w&&b<=50&&(b++,typeof w=="object"&&(w.placement&&(g=w.placement),w.rects&&(u=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:f}=cs(u,g,d)),A=-1)}return{x:h,y:f,placement:g,strategy:i,middlewareData:x}};async function So(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:g=!1,padding:x=0}=Jt(e,t),b=ls(x),T=c[g?f==="floating"?"reference":"floating":f],_=Dt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(T)))==null||o?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:h,strategy:d})),L=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),S=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},w=Dt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:L,offsetParent:C,strategy:d}):L);return{top:(_.top-w.top+b.top)/S.y,bottom:(w.bottom-_.bottom+b.bottom)/S.y,left:(_.left-w.left+b.left)/S.x,right:(w.right-_.right+b.right)/S.x}}function Qd(t,e,o){return(t?[...o.filter(i=>Ve(i)===t),...o.filter(i=>Ve(i)!==t)]:o.filter(i=>mt(i)===i)).filter(i=>t?Ve(i)===t||(e?ss(i)!==i:!1):!0)}var Oo=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:g=ni,autoAlignment:x=!0,...b}=Jt(t,e),A=f!==void 0||g===ni?Qd(f||null,x,g):g,T=await So(e,b),_=((o=s.autoPlacement)==null?void 0:o.index)||0,L=A[_];if(L==null)return{};let C=as(L,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==L)return{reset:{placement:A[0]}};let S=[T[mt(L)],T[C[0]],T[C[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:S}],D=A[_+1];if(D)return{data:{index:_+1,overflows:w},reset:{placement:D}};let z=w.map(M=>{let y=Ve(M.placement);return[M.placement,y&&h?M.overflows.slice(0,2).reduce((O,I)=>O+I,0):M.overflows[0],M.overflows]}).sort((M,y)=>M[1]-y[1]),K=((i=z.filter(M=>M[2].slice(0,Ve(M[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||z[0][0];return K!==c?{data:{index:_+1,overflows:w},reset:{placement:K}}:{}}}};async function ep(t,e){let{placement:o,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=mt(o),c=Ve(o),d=Qt(o)==="y",u=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=Jt(e,t),{mainAxis:g,crossAxis:x,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof b=="number"&&(x=c==="end"?b*-1:b),d?{x:x*h,y:g*u}:{x:g*u,y:x*h}}var ci=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:i,y:a,placement:s,middlewareData:c}=e,d=await ep(e,t);return s===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},di=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:T=>{let{x:_,y:L}=T;return{x:_,y:L}}},...d}=Jt(t,e),u={x:o,y:n},h=await So(e,d),f=Qt(mt(i)),g=ai(f),x=u[g],b=u[f];if(a){let T=g==="y"?"top":"left",_=g==="y"?"bottom":"right",L=x+h[T],C=x-h[_];x=ii(L,x,C)}if(s){let T=f==="y"?"top":"left",_=f==="y"?"bottom":"right",L=b+h[T],C=b-h[_];b=ii(L,b,C)}let A=c.fn({...e,[g]:x,[f]:b});return{...A,data:{x:A.x-o,y:A.y-n,enabled:{[g]:a,[f]:s}}}}}};var pi=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,n;let{placement:i,rects:a,platform:s,elements:c}=e,{apply:d=()=>{},...u}=Jt(t,e),h=await So(e,u),f=mt(i),g=Ve(i),x=Qt(i)==="y",{width:b,height:A}=a.floating,T,_;f==="top"||f==="bottom"?(T=f,_=g===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(_=f,T=g==="end"?"top":"bottom");let L=A-h.top-h.bottom,C=b-h.left-h.right,S=vo(A-h[T],L),w=vo(b-h[_],C),D=!e.middlewareData.shift,z=S,q=w;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(q=C),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(z=L),D&&!g){let M=gt(h.left,0),y=gt(h.right,0),O=gt(h.top,0),I=gt(h.bottom,0);x?q=b-2*(M!==0||y!==0?M+y:gt(h.left,h.right)):z=A-2*(O!==0||I!==0?O+I:gt(h.top,h.bottom))}await d({...e,availableWidth:q,availableHeight:z});let K=await s.getDimensions(c.floating);return b!==K.width||A!==K.height?{reset:{rects:!0}}:{}}}};var ui=Math.min,er=Math.max,zr=Math.round;var rt=t=>({x:t,y:t});function ot(t){return us(t)?(t.nodeName||"").toLowerCase():"#document"}function we(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function nt(t){var e;return(e=(us(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function us(t){return t instanceof Node||t instanceof we(t).Node}function je(t){return t instanceof Element||t instanceof we(t).Element}function Be(t){return t instanceof HTMLElement||t instanceof we(t).HTMLElement}function ps(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof we(t).ShadowRoot}function tr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Te(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function fs(t){return["table","td","th"].includes(ot(t))}function Co(t){let e=wo(),o=Te(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function hs(t){let e=Mt(t);for(;Be(e)&&!Hr(e);){if(Co(e))return e;e=Mt(e)}return null}function wo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Hr(t){return["html","body","#document"].includes(ot(t))}function Te(t){return we(t).getComputedStyle(t)}function Wr(t){return je(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mt(t){if(ot(t)==="html")return t;let e=t.assignedSlot||t.parentNode||ps(t)&&t.host||nt(t);return ps(e)?e.host:e}function ys(t){let e=Mt(t);return Hr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Be(e)&&tr(e)?e:ys(e)}function Eo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=ys(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=we(i);return a?e.concat(s,s.visualViewport||[],tr(i)?i:[],s.frameElement&&o?Eo(s.frameElement):[]):e.concat(i,Eo(i,[],o))}function bs(t){let e=Te(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Be(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=zr(o)!==a||zr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function xs(t){return je(t)?t:t.contextElement}function rr(t){let e=xs(t);if(!Be(e))return rt(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=bs(e),s=(a?zr(o.width):o.width)/n,c=(a?zr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var tp=rt(0);function vs(t){let e=we(t);return!wo()||!e.visualViewport?tp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function rp(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==we(t)?!1:e}function Gr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=xs(t),s=rt(1);e&&(n?je(n)&&(s=rr(n)):s=rr(t));let c=rp(a,o,n)?vs(a):rt(0),d=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let g=we(a),x=n&&je(n)?we(n):n,b=g.frameElement;for(;b&&n&&x!==g;){let A=rr(b),T=b.getBoundingClientRect(),_=Te(b),L=T.left+(b.clientLeft+parseFloat(_.paddingLeft))*A.x,C=T.top+(b.clientTop+parseFloat(_.paddingTop))*A.y;d*=A.x,u*=A.y,h*=A.x,f*=A.y,d+=L,u+=C,b=we(b).frameElement}}return Dt({width:h,height:f,x:d,y:u})}function op(t){let{rect:e,offsetParent:o,strategy:n}=t,i=Be(o),a=nt(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=rt(1),d=rt(0);if((i||!i&&n!=="fixed")&&((ot(o)!=="body"||tr(a))&&(s=Wr(o)),Be(o))){let u=Gr(o);c=rr(o),d.x=u.x+o.clientLeft,d.y=u.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function np(t){return Array.from(t.getClientRects())}function Ss(t){return Gr(nt(t)).left+Wr(t).scrollLeft}function ip(t){let e=nt(t),o=Wr(t),n=t.ownerDocument.body,i=er(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=er(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ss(t),c=-o.scrollTop;return Te(n).direction==="rtl"&&(s+=er(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function ap(t,e){let o=we(t),n=nt(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let u=wo();(!u||u&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function sp(t,e){let o=Gr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=Be(t)?rr(t):rt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,u=n*a.y;return{width:s,height:c,x:d,y:u}}function gs(t,e,o){let n;if(e==="viewport")n=ap(t,o);else if(e==="document")n=ip(nt(t));else if(je(e))n=sp(e,o);else{let i=vs(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Dt(n)}function Os(t,e){let o=Mt(t);return o===e||!je(o)||Hr(o)?!1:Te(o).position==="fixed"||Os(o,e)}function lp(t,e){let o=e.get(t);if(o)return o;let n=Eo(t,[],!1).filter(c=>je(c)&&ot(c)!=="body"),i=null,a=Te(t).position==="fixed",s=a?Mt(t):t;for(;je(s)&&!Hr(s);){let c=Te(s),d=Co(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||tr(s)&&!d&&Os(t,s))?n=n.filter(h=>h!==s):i=c,s=Mt(s)}return e.set(t,n),n}function cp(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?lp(e,this._c):[].concat(o),n],c=s[0],d=s.reduce((u,h)=>{let f=gs(e,h,i);return u.top=er(f.top,u.top),u.right=ui(f.right,u.right),u.bottom=ui(f.bottom,u.bottom),u.left=er(f.left,u.left),u},gs(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function dp(t){return bs(t)}function pp(t,e,o){let n=Be(e),i=nt(e),a=o==="fixed",s=Gr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=rt(0);if(n||!n&&!a)if((ot(e)!=="body"||tr(i))&&(c=Wr(e)),n){let u=Gr(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=Ss(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function ms(t,e){return!Be(t)||Te(t).position==="fixed"?null:e?e(t):t.offsetParent}function Es(t,e){let o=we(t);if(!Be(t))return o;let n=ms(t,e);for(;n&&fs(n)&&Te(n).position==="static";)n=ms(n,e);return n&&(ot(n)==="html"||ot(n)==="body"&&Te(n).position==="static"&&!Co(n))?o:n||hs(t)||o}var up=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||Es,a=this.getDimensions;return{reference:pp(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function fp(t){return Te(t).direction==="rtl"}var or={convertOffsetParentRelativeRectToViewportRelativeRect:op,getDocumentElement:nt,getClippingRect:cp,getOffsetParent:Es,getElementRects:up,getClientRects:np,getDimensions:dp,getScale:rr,isElement:je,isRTL:fp};var fi=(t,e,o)=>{let n=new Map,i={platform:or,...o},a={...i.platform,_c:n};return ds(t,e,{...i,platform:a})};function yi(t){return hp(t)}function hi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function hp(t){for(let e=t;e;e=hi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=hi(t);e;e=hi(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function gi(t,e,o){return fi(t,e,{platform:{...or,getOffsetParent:n=>or.getOffsetParent(n,yi)},middleware:[di({crossAxis:!0}),Oo({allowedPlacements:[o]})]})}async function Vr(t,e,o,n,i,a,s=4){return fi(t,e,{placement:o,strategy:i,platform:{...or,getOffsetParent:c=>or.getOffsetParent(c,yi)},middleware:[ci(s),Oo({allowedPlacements:n}),pi({apply({availableHeight:c,elements:d}){typeof a=="string"&&(a=`var(${a})`),a?d.floating.style.maxHeight=`min(${Math.max(0,c)}px, ${a})`:d.floating.style.maxHeight=`${Math.max(0,c)}px`}})]})}var Ei={};J(Ei,{FtdsBase:()=>Oi,toFtdsBase:()=>ir});var Si={};J(Si,{ExportpartsUpdatedEvent:()=>Bt,FtLitElement:()=>j});var bi={};J(bi,{ScopedRegistryLitElement:()=>jr});var jr=class extends Qe{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 o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Rr(n,e.elementStyles),n}};var vi={};J(vi,{shadowQuerySelector:()=>xi,shadowQuerySelectorAll:()=>yp});function xi(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function yp(t,e,...o){let n=[...t.querySelectorAll(e)];for(let i of o)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var nr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Rs,Cs=Symbol("constructorPrototype"),ws=Symbol("constructorName"),Ts=Symbol("exportpartsDebouncer"),As=Symbol("dynamicDependenciesLoaded"),Bt=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Bt.eventName="exportparts-updated";var j=class extends jr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Rs]=new Me(5),this.scheduleExportpartsUpdate=()=>{var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ts].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)})},this[ws]=this.constructor.name,this[Cs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ws]&&Object.setPrototypeOf(this,this[Cs])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[As]||(o[As]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Bt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Bt.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new Bt)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=xi(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.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)}}setExportpartsAttribute(e){var o,n,i,a,s,c;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.exportparts=void 0;return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(T=>T.split(":")[1]))!==null&&c!==void 0?c:[],A=[...x,...b].filter(d).map(T=>T.trim());for(let T of A)h.add(T)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(g=>u.map(x=>`${g}:${x}--${g}`));this.exportparts=[...this.part,...f].join(", ")}};Rs=Ts;nr([E()],j.prototype,"exportpartsPrefix",void 0);nr([et([])],j.prototype,"exportpartsPrefixes",void 0);nr([E({reflect:!0})],j.prototype,"exportparts",void 0);nr([E()],j.prototype,"customStylesheet",void 0);nr([E()],j.prototype,"elementToFocus",void 0);nr([V()],j.prototype,"useAdoptedStyleSheets",void 0);var _s=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ir=Re(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=tt.medium,this.family=kt.neutral}getDesignSystemBaseClasses(){return{[Jn(this.family)]:!0,[Qn(this.size)]:!0}}}return _s([E()],e.prototype,"size",void 0),_s([E()],e.prototype,"family",void 0),e}),Oi=class extends ir(j){};var Ns={};var wi={};J(wi,{highlightHtml:()=>bp,highlightHtmlColorCssVariable:()=>Ls,highlightHtmlStyles:()=>mp});var Ut=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,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,o=[];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=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{o(u)&&(c++,n(h)),d()},d)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.handled)}),this.compareNodeIframe(e,o,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,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),c=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,g=>this.checkIframeFilter(u,h,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),i)}),d.push(u);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var Kr=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 Ut(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${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,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=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${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.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 o=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){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-o>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,o,n){let i,a=!0,s=n.length,c=o-s,d=parseInt(e.start,10)-c;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 o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return Ut.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+g,e.nodes.forEach((x,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,h,f=>n(d[s],f),(f,g)=>{e.lastIndex=g,i(f)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(c,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,h,g=>o(g,c,a.value.substring(u,h),d),g=>{n(g,c)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,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,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(g,x)=>this.opt.filter(x,u,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,o){this.opt=o;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,c,d)=>this.opt.filter(a,s,c,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Ut.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ci(t){let e=new Kr(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var gp=Ci,Ls=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),mp=k`
|
|
1
|
+
"use strict";(()=>{var Dc=Object.create;var vn=Object.defineProperty;var Mc=Object.getOwnPropertyDescriptor;var Bc=Object.getOwnPropertyNames;var Uc=Object.getPrototypeOf,Fc=Object.prototype.hasOwnProperty;var zc=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),J=(t,e)=>{for(var o in e)vn(t,o,{get:e[o],enumerable:!0})},Hc=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Bc(e))!Fc.call(t,i)&&i!==o&&vn(t,i,{get:()=>e[i],enumerable:!(n=Mc(e,i))||n.enumerable});return t};var Wc=(t,e,o)=>(o=t!=null?Dc(Uc(t)):{},Hc(e||!t||!t.__esModule?vn(o,"default",{value:t,enumerable:!0}):o,t));var yl=zc((At,hl)=>{var sn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ln=function(){function t(){this.fetch=!1,this.DOMException=sn.DOMException}return t.prototype=sn,new t}();(function(t){var e=function(o){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]"],c=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 u(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var E={next:function(){var $=y.shift();return{done:$===void 0,value:$}}};return i.iterable&&(E[Symbol.iterator]=function(){return E}),E}function f(y){this.map={},y instanceof f?y.forEach(function(E,$){this.append($,E)},this):Array.isArray(y)?y.forEach(function(E){if(E.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+E.length);this.append(E[0],E[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(E){this.append(E,y[E])},this)}f.prototype.append=function(y,E){y=d(y),E=u(E);var $=this.map[y];this.map[y]=$?$+", "+E:E},f.prototype.delete=function(y){delete this.map[d(y)]},f.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},f.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},f.prototype.set=function(y,E){this.map[d(y)]=u(E)},f.prototype.forEach=function(y,E){for(var $ in this.map)this.map.hasOwnProperty($)&&y.call(E,this.map[$],$,this)},f.prototype.keys=function(){var y=[];return this.forEach(function(E,$){y.push($)}),h(y)},f.prototype.values=function(){var y=[];return this.forEach(function(E){y.push(E)}),h(y)},f.prototype.entries=function(){var y=[];return this.forEach(function(E,$){y.push([$,E])}),h(y)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function x(y){return new Promise(function(E,$){y.onload=function(){E(y.result)},y.onerror=function(){$(y.error)}})}function b(y){var E=new FileReader,$=x(E);return E.readAsArrayBuffer(y),$}function A(y){var E=new FileReader,$=x(E),X=/charset=([A-Za-z0-9_-]+)/.exec(y.type),ne=X?X[1]:"utf-8";return E.readAsText(y,ne),$}function T(y){for(var E=new Uint8Array(y),$=new Array(E.length),X=0;X<E.length;X++)$[X]=String.fromCharCode(E[X]);return $.join("")}function _(y){if(y.slice)return y.slice(0);var E=new Uint8Array(y.byteLength);return E.set(new Uint8Array(y)),E.buffer}function L(){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=_(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=_(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=m(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=m(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(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(D)}),this.json=function(){return this.text().then(JSON.parse)},this}var C=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(y){var E=y.toUpperCase();return C.indexOf(E)>-1?E:y}function w(y,E){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');E=E||{};var $=E.body;if(y instanceof w){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,E.headers||(this.headers=new f(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!$&&y._bodyInit!=null&&($=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=E.credentials||this.credentials||"same-origin",(E.headers||!this.headers)&&(this.headers=new f(E.headers)),this.method=S(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.signal=E.signal||this.signal||function(){if("AbortController"in n){var Z=new AbortController;return Z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&$)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody($),(this.method==="GET"||this.method==="HEAD")&&(E.cache==="no-store"||E.cache==="no-cache")){var X=/([?&])_=[^&]*/;if(X.test(this.url))this.url=this.url.replace(X,"$1_="+new Date().getTime());else{var ne=/\?/;this.url+=(ne.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function D(y){var E=new FormData;return y.trim().split("&").forEach(function($){if($){var X=$.split("="),ne=X.shift().replace(/\+/g," "),Z=X.join("=").replace(/\+/g," ");E.append(decodeURIComponent(ne),decodeURIComponent(Z))}}),E}function z(y){var E=new f,$=y.replace(/\r?\n[\t ]+/g," ");return $.split("\r").map(function(X){return X.indexOf(`
|
|
2
|
+
`)===0?X.substr(1,X.length):X}).forEach(function(X){var ne=X.split(":"),Z=ne.shift().trim();if(Z){var lo=ne.join(":").trim();try{E.append(Z,lo)}catch(xn){console.warn("Response "+xn.message)}}}),E}L.call(w.prototype);function q(y,E){if(!(this instanceof q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(E||(E={}),this.type="default",this.status=E.status===void 0?200:E.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=E.statusText===void 0?"":""+E.statusText,this.headers=new f(E.headers),this.url=E.url||"",this._initBody(y)}L.call(q.prototype),q.prototype.clone=function(){return new q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},q.error=function(){var y=new q(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var K=[301,302,303,307,308];q.redirect=function(y,E){if(K.indexOf(E)===-1)throw new RangeError("Invalid status code");return new q(null,{status:E,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(E,$){this.message=E,this.name=$;var X=Error(E);this.stack=X.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function M(y,E){return new Promise(function($,X){var ne=new w(y,E);if(ne.signal&&ne.signal.aborted)return X(new o.DOMException("Aborted","AbortError"));var Z=new XMLHttpRequest;function lo(){Z.abort()}Z.onload=function(){var me={statusText:Z.statusText,headers:z(Z.getAllResponseHeaders()||"")};ne.url.indexOf("file://")===0&&(Z.status<200||Z.status>599)?me.status=200:me.status=Z.status,me.url="responseURL"in Z?Z.responseURL:me.headers.get("X-Request-URL");var Nt="response"in Z?Z.response:Z.responseText;setTimeout(function(){$(new q(Nt,me))},0)},Z.onerror=function(){setTimeout(function(){X(new TypeError("Network request failed"))},0)},Z.ontimeout=function(){setTimeout(function(){X(new TypeError("Network request timed out"))},0)},Z.onabort=function(){setTimeout(function(){X(new o.DOMException("Aborted","AbortError"))},0)};function xn(me){try{return me===""&&n.location.href?n.location.href:me}catch{return me}}if(Z.open(ne.method,xn(ne.url),!0),ne.credentials==="include"?Z.withCredentials=!0:ne.credentials==="omit"&&(Z.withCredentials=!1),"responseType"in Z&&(i.blob?Z.responseType="blob":i.arrayBuffer&&(Z.responseType="arraybuffer")),E&&typeof E.headers=="object"&&!(E.headers instanceof f||n.Headers&&E.headers instanceof n.Headers)){var Na=[];Object.getOwnPropertyNames(E.headers).forEach(function(me){Na.push(d(me)),Z.setRequestHeader(me,u(E.headers[me]))}),ne.headers.forEach(function(me,Nt){Na.indexOf(Nt)===-1&&Z.setRequestHeader(Nt,me)})}else ne.headers.forEach(function(me,Nt){Z.setRequestHeader(Nt,me)});ne.signal&&(ne.signal.addEventListener("abort",lo),Z.onreadystatechange=function(){Z.readyState===4&&ne.signal.removeEventListener("abort",lo)}),Z.send(typeof ne._bodyInit>"u"?null:ne._bodyInit)})}return M.polyfill=!0,n.fetch||(n.fetch=M,n.Headers=f,n.Request=w,n.Response=q),o.Headers=f,o.Request=w,o.Response=q,o.fetch=M,o}({})})(ln);ln.fetch.ponyfill=!0;delete ln.fetch.polyfill;var yr=sn.fetch?sn:ln;At=yr.fetch;At.default=yr.fetch;At.fetch=yr.fetch;At.Headers=yr.Headers;At.Request=yr.Request;At.Response=yr.Response;hl.exports=At});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(C,S){if(C=C.toLowerCase(),this._getDefinition(C)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${C}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=S.prototype.attributeChangedCallback,D=new Set(S.observedAttributes||[]);m(S,D,w);let z={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:D};this._definitionsByTag.set(C,z),this._definitionsByClass.set(S,z);let q=o.call(n,C);q||(q=f(C),e.call(n,C,q)),this===window.customElements&&(s.set(S,z),z.standInClass=q);let K=this._awaitingUpgrade.get(C);if(K){this._awaitingUpgrade.delete(C);for(let y of K)a.delete(y),b(y,z,!0)}let M=this._whenDefinedPromises.get(C);return M!==void 0&&(M.resolve(S),this._whenDefinedPromises.delete(C)),S}upgrade(){T.push(this),n.upgrade.apply(n,arguments),T.pop()}get(C){return this._definitionsByTag.get(C)?.elementClass}_getDefinition(C){return this._definitionsByTag.get(C)}whenDefined(C){let S=this._getDefinition(C);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(C);return w===void 0&&(w={},w.promise=new Promise(D=>w.resolve=D),this._whenDefinedPromises.set(C,w)),w.promise}_upgradeWhenDefined(C,S,w){let D=this._awaitingUpgrade.get(S);D||this._awaitingUpgrade.set(S,D=new Set),w?D.add(C):D.delete(C)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,w),S},window.HTMLElement.prototype=t.prototype;let u=C=>C===document||C instanceof ShadowRoot,h=C=>{let S=C.getRootNode();if(!u(S)){let w=T[T.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),u(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},f=C=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let D=h(w)||window.customElements,z=D._getDefinition(C);return z?b(w,z):a.set(w,D),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},m=(C,S,w)=>{if(S.size===0||w===void 0)return;let D=C.prototype.setAttribute;D&&(C.prototype.setAttribute=function(K,M){let y=K.toLowerCase();if(S.has(y)){let E=this.getAttribute(y);D.call(this,y,M),w.call(this,y,E,M)}else D.call(this,y,M)});let z=C.prototype.removeAttribute;z&&(C.prototype.removeAttribute=function(K){let M=K.toLowerCase();if(S.has(M)){let y=this.getAttribute(M);z.call(this,M),w.call(this,M,y,null)}else z.call(this,M)});let q=C.prototype.toggleAttribute;q&&(C.prototype.toggleAttribute=function(K,M){let y=K.toLowerCase();if(S.has(y)){let E=this.getAttribute(y);q.call(this,y,M);let $=this.getAttribute(y);w.call(this,y,E,$)}else q.call(this,y,M)})},x=C=>{let S=Object.getPrototypeOf(C);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(C,window.HTMLElement):x(S)},b=(C,S,w=!1)=>{Object.setPrototypeOf(C,S.elementClass.prototype),i.set(C,S),d=C;try{new S.elementClass}catch{x(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(D=>{C.hasAttribute(D)&&S.attributeChangedCallback.call(C,D,null,C.getAttribute(D))}),w&&S.connectedCallback&&C.isConnected&&S.connectedCallback.call(C)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(C){let S=A.apply(this,arguments);return C.customElements&&(S.customElements=C.customElements),S};let T=[document],_=(C,S,w=void 0)=>{let D=(w?Object.getPrototypeOf(w):C.prototype)[S];C.prototype[S]=function(){T.push(this);let z=D.apply(w||this,arguments);return z!==void 0&&c.set(z,this),T.pop(),z}};_(ShadowRoot,"createElement",document),_(ShadowRoot,"importNode",document),_(Element,"insertAdjacentHTML");let L=(C,S)=>{let w=Object.getOwnPropertyDescriptor(C.prototype,S);Object.defineProperty(C.prototype,S,{...w,set(D){T.push(this),w.set.call(this,D),T.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let C=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...K){let M=S.call(this,...K);return C.set(M,this),M},w.forEach(K=>{let M=window.ElementInternals.prototype,y=M[K];M[K]=function(...E){let $=C.get(this);if(i.get($).formAssociated===!0)return y?.call(this,...E);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class D extends Array{constructor(M){super(...M),this._elements=M}get value(){return this._elements.find(M=>M.checked===!0)?.value||""}}class z{constructor(M){let y=new Map;M.forEach((E,$)=>{let X=E.getAttribute("name"),ne=y.get(X)||[];this[+$]=E,ne.push(E),y.set(X,ne)}),this.length=M.length,y.forEach((E,$)=>{E&&(E.length===1?this[$]=E[0]:this[$]=new D(E))})}namedItem(M){return this[M]}}let q=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let K=q.get.call(this,[]),M=[];for(let y of K){let E=i.get(y);(!E||E.formAssociated===!0)&&M.push(y)}return new z(M)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var In={};J(In,{CSSResult:()=>Yt,LitElement:()=>tt,ReactiveElement:()=>We,_$LE:()=>td,_$LH:()=>Nn,adoptStyles:()=>Pr,css:()=>P,defaultConverter:()=>Xt,getCompatibleStyle:()=>po,html:()=>k,isServer:()=>Hu,mathml:()=>_n,noChange:()=>Se,notEqual:()=>$r,nothing:()=>F,render:()=>Ln,supportsAdoptingStyleSheets:()=>Lr,svg:()=>Tn,unsafeCSS:()=>ke});var co=globalThis,Lr=co.ShadowRoot&&(co.ShadyCSS===void 0||co.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sn=Symbol(),La=new WeakMap,Yt=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Sn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Lr&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=La.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&La.set(o,e))}return e}toString(){return this.cssText}},ke=t=>new Yt(typeof t=="string"?t:t+"",void 0,Sn),P=(t,...e)=>{let o=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 Yt(o,t,Sn)},Pr=(t,e)=>{if(Lr)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=co.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},po=Lr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return ke(o)})(t):t;var{is:Vc,defineProperty:Gc,getOwnPropertyDescriptor:jc,getOwnPropertyNames:Kc,getOwnPropertySymbols:Zc,getPrototypeOf:qc}=Object,uo=globalThis,Pa=uo.trustedTypes,Yc=Pa?Pa.emptyScript:"",Xc=uo.reactiveElementPolyfillSupport,Ir=(t,e)=>t,Xt={toAttribute(t,e){switch(e){case Boolean:t=t?Yc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},$r=(t,e)=>!Vc(t,e),Ia={attribute:!0,type:String,converter:Xt,reflect:!1,useDefault:!1,hasChanged:$r};Symbol.metadata??=Symbol("metadata"),uo.litPropertyMetadata??=new WeakMap;var We=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,o=Ia){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&Gc(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=jc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let c=i?.call(this);a?.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ia}static _$Ei(){if(this.hasOwnProperty(Ir("elementProperties")))return;let e=qc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ir("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ir("properties"))){let o=this.properties,n=[...Kc(o),...Zc(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(po(i))}else e!==void 0&&o.push(po(e));return o}static _$Eu(e,o){let n=o.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,o=this.constructor.elementProperties;for(let n of o.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 Pr(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,o,n){this._$AK(e,n)}_$ET(e,o){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:Xt).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){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:Xt;this._$Em=i,this[i]=s.fromAttribute(o,a.type)??this._$Ej?.get(i)??null,this._$Em=null}}requestUpdate(e,o,n){if(e!==void 0){let i=this.constructor,a=this[e];if(n??=i.getPropertyOptions(e),!((n.hasChanged??$r)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??o??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}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,c=this[i];s!==!0||this._$AL.has(i)||c===void 0||this.C(i,void 0,a,c)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.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(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};We.elementStyles=[],We.shadowRootOptions={mode:"open"},We[Ir("elementProperties")]=new Map,We[Ir("finalized")]=new Map,Xc?.({ReactiveElement:We}),(uo.reactiveElementVersions??=[]).push("2.1.0");var En=globalThis,fo=En.trustedTypes,$a=fo?fo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Cn="$lit$",et=`lit$${Math.random().toFixed(9).slice(2)}$`,wn="?"+et,Jc=`<${wn}>`,It=document,Dr=()=>It.createComment(""),Mr=t=>t===null||typeof t!="object"&&typeof t!="function",An=Array.isArray,Fa=t=>An(t)||typeof t?.[Symbol.iterator]=="function",On=`[
|
|
3
|
+
\f\r]`,kr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ka=/-->/g,Da=/>/g,Lt=RegExp(`>|${On}(?:([^\\s"'>=/]+)(${On}*=${On}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ma=/'/g,Ba=/"/g,za=/^(?:script|style|textarea|title)$/i,Rn=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),k=Rn(1),Tn=Rn(2),_n=Rn(3),Se=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),Ua=new WeakMap,Pt=It.createTreeWalker(It,129);function Ha(t,e){if(!An(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return $a!==void 0?$a.createHTML(e):e}var Wa=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=kr;for(let c=0;c<o;c++){let d=t[c],u,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===kr?h[1]==="!--"?s=ka:h[1]!==void 0?s=Da:h[2]!==void 0?(za.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Lt):h[3]!==void 0&&(s=Lt):s===Lt?h[0]===">"?(s=i??kr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Lt:h[3]==='"'?Ba:Ma):s===Ba||s===Ma?s=Lt:s===ka||s===Da?s=kr:(s=Lt,i=void 0);let x=s===Lt&&t[c+1].startsWith("/>")?" ":"";a+=s===kr?d+Jc:f>=0?(n.push(u),d.slice(0,f)+Cn+d.slice(f)+et+x):d+et+(f===-2?c:x)}return[Ha(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Br=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,h]=Wa(e,o);if(this.el=t.createElement(u,n),Pt.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Pt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Cn)){let m=h[s++],x=i.getAttribute(f).split(et),b=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:b[2],strings:x,ctor:b[1]==="."?yo:b[1]==="?"?mo:b[1]==="@"?go:kt}),i.removeAttribute(f)}else f.startsWith(et)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(za.test(i.tagName)){let f=i.textContent.split(et),m=f.length-1;if(m>0){i.textContent=fo?fo.emptyScript:"";for(let x=0;x<m;x++)i.append(f[x],Dr()),Pt.nextNode(),d.push({type:2,index:++a});i.append(f[m],Dr())}}}else if(i.nodeType===8)if(i.data===wn)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(et,f+1))!==-1;)d.push({type:7,index:a}),f+=et.length-1}a++}}static createElement(e,o){let n=It.createElement("template");return n.innerHTML=e,n}};function $t(t,e,o=t,n){if(e===Se)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Mr(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,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=$t(t,i._$AS(t,e.values),i,n)),e}var ho=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??It).importNode(o,!0);Pt.currentNode=i;let a=Pt.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Jt(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new bo(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=Pt.nextNode(),s++)}return Pt.currentNode=It,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Jt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=$t(this,e,o),Mr(e)?e===F||e==null||e===""?(this._$AH!==F&&this._$AR(),this._$AH=F):e!==this._$AH&&e!==Se&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Fa(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!==F&&Mr(this._$AH)?this._$AA.nextSibling.data=e:this.T(It.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Br.createElement(Ha(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new ho(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=Ua.get(e.strings);return o===void 0&&Ua.set(e.strings,o=new Br(e)),o}k(e){An(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.O(Dr()),this.O(Dr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=F,this._$AN=void 0,this.element=e,this.name=o,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=F}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=$t(this,e,o,0),s=!Mr(e)||e!==this._$AH&&e!==Se,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=$t(this,c[n+d],o,d),u===Se&&(u=this._$AH[d]),s||=!Mr(u)||u!==this._$AH[d],u===F?e=F:e!==F&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.j(e)}j(e){e===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},yo=class extends kt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===F?void 0:e}},mo=class extends kt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==F)}},go=class extends kt{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=$t(this,e,o,0)??F)===Se)return;let n=this._$AH,i=e===F&&n!==F||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==F&&(n===F||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)}},bo=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$t(this,e)}},Nn={M:Cn,P:et,A:wn,C:1,L:Wa,R:ho,D:Fa,V:$t,I:Jt,H:kt,N:mo,U:go,B:yo,F:bo},Qc=En.litHtmlPolyfillSupport;Qc?.(Br,Jt),(En.litHtmlVersions??=[]).push("3.3.0");var Ln=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Jt(e.insertBefore(Dr(),a),a,void 0,o??{})}return i._$AI(t),i};var Pn=globalThis,tt=class extends We{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ln(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Se}};tt._$litElement$=!0,tt.finalized=!0,Pn.litElementHydrateSupport?.({LitElement:tt});var ed=Pn.litElementPolyfillSupport;ed?.({LitElement:tt});var td={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(Pn.litElementVersions??=[]).push("4.2.0");var Hu=!1;var Dn={};J(Dn,{customElement:()=>rd,eventOptions:()=>nd,property:()=>O,query:()=>Q,queryAll:()=>$n,queryAssignedElements:()=>kn,queryAssignedNodes:()=>Ur,queryAsync:()=>ad,standardProperty:()=>Va,state:()=>j});var rd=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var od={attribute:!0,type:String,converter:Xt,reflect:!1,hasChanged:$r},Va=(t=od,e,o)=>{let{kind:n,metadata:i}=o,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(o.name,t),n==="accessor"){let{name:s}=o;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(n==="setter"){let{name:s}=o;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function O(t){return(e,o)=>typeof o=="object"?Va(t,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,o)}function j(t){return O({...t,state:!0,attribute:!1})}function nd(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var De=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function Q(t,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return De(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return De(o,n,{get(){return a(this)}})}}var id;function $n(t){return(e,o)=>De(e,o,{get(){return(this.renderRoot??(id??=document.createDocumentFragment())).querySelectorAll(t)}})}function ad(t){return(e,o)=>De(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function kn(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return De(e,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function Ur(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return De(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Mn={};J(Mn,{repeat:()=>Ce});var Ve={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Me=t=>(...e)=>({_$litDirective$:t,values:e}),Le=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:sd}=Nn;var ja=t=>t.strings===void 0,Ga=()=>document.createComment(""),Qt=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(Ga(),i),s=n.insertBefore(Ga(),i);o=new sd(a,s,t,t.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==t;if(c){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||c){let d=o._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return o},ht=(t,e,o=t)=>(t._$AI(e,o),t),ld={},Ka=(t,e=ld)=>t._$AH=e,Za=t=>t._$AH,xo=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var qa=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},Ce=Me(class extends Le{constructor(t){if(super(t),t.type!==Ve.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let i=Za(t),{values:a,keys:s}=this.dt(e,o,n);if(!Array.isArray(i))return this.ut=s,a;let c=this.ut??=[],d=[],u,h,f=0,m=i.length-1,x=0,b=a.length-1;for(;f<=m&&x<=b;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(c[f]===s[x])d[x]=ht(i[f],a[x]),f++,x++;else if(c[m]===s[b])d[b]=ht(i[m],a[b]),m--,b--;else if(c[f]===s[b])d[b]=ht(i[f],a[b]),Qt(t,d[b+1],i[f]),f++,b--;else if(c[m]===s[x])d[x]=ht(i[m],a[x]),Qt(t,i[f],i[m]),m--,x++;else if(u===void 0&&(u=qa(s,x,b),h=qa(c,f,m)),u.has(c[f]))if(u.has(c[m])){let A=h.get(s[x]),T=A!==void 0?i[A]:null;if(T===null){let _=Qt(t,i[f]);ht(_,a[x]),d[x]=_}else d[x]=ht(T,a[x]),Qt(t,i[f],T),i[A]=null;x++}else xo(i[m]),m--;else xo(i[f]),f++;for(;x<=b;){let A=Qt(t,d[b+1]);ht(A,a[x]),d[x++]=A}for(;f<=m;){let A=i[f++];A!==null&&xo(A)}return this.ut=s,Ka(t,d),Se}});var Bn={};J(Bn,{classMap:()=>ge});var ge=Me(class extends Le{constructor(t){if(super(t),t.type!==Ve.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 o=t.element.classList;for(let n of this.st)n in e||(o.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?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return Se}});var Un={};J(Un,{styleMap:()=>dd});var Ya="important",cd=" !"+Ya,dd=Me(class extends Le{constructor(t){if(super(t),t.type!==Ve.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,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=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("-")?o.removeProperty(n):o[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(cd);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Ya:""):o[n]=i}}return Se}});var Fn={};J(Fn,{UnsafeHTMLDirective:()=>er,unsafeHTML:()=>Fr});var er=class extends Le{constructor(e){if(super(e),this.it=F,e.type!==Ve.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===F||e==null)return this._t=void 0,this.it=e;if(e===Se)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 o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};er.directiveName="unsafeHTML",er.resultType=1;var Fr=Me(er);var Yn={};J(Yn,{CacheRegistry:()=>qn,ClearCacheEvent:()=>Vr});var Hn={};J(Hn,{CancelablePromise:()=>vo,CanceledPromiseError:()=>zr,cancelable:()=>zn});var zr=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},vo=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new zr("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new zr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},zn=t=>new vo((e,o)=>t.then(e).catch(o));var Zn={};J(Zn,{FtNotificationEvent:()=>Wr,PostResizeEvent:()=>Kn,PreResizeEvent:()=>jn,WithEventBus:()=>Mt,withEventBus:()=>os});var Gn={};J(Gn,{applyMixinOnce:()=>Re,dateReviver:()=>fd,deepCopy:()=>md,deepEqual:()=>yt,delay:()=>Xa,eventPathContainsMatchingElement:()=>Wn,everyDeep:()=>ud,flatDeep:()=>Qa,forEachDeep:()=>es,getComposedPathTo:()=>Vn,hasChanged:()=>Dt,last:()=>yd,minmax:()=>Hr,parseDate:()=>rs,randomId:()=>gd,someDeep:()=>ts,unslotText:()=>So,waitFor:()=>Ja,waitUntil:()=>pd});var Xa=t=>new Promise(e=>setTimeout(e,t));async function pd(t,e=10,o=2e4){await Ja(async()=>await t()||void 0,e,o)}async function Ja(t,e=10,o=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await Xa(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Qa(t,e){return t.flatMap(o=>[o,...Qa(e(o),e)])}function es(t,e,o){let n=(i,a)=>{var s;for(let c=0;c<i.length;c++){let d=i[c];if(!(((s=o(d,c,i,a))!==null&&s!==void 0?s:!0)&&n(e(d),[...a,d])))return!1}return!0};n(t,[])}function ts(t,e,o){let n=!1;return es(t,e,(i,a,s,c)=>(n=!!o(i,a,s,c),!n)),n}function ud(t,e,o){return!ts(t,e,(n,i,a,s)=>!o(n,i,a,s))}function fd(...t){return(e,o)=>t.includes(e)?rs(o):o}function rs(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function hd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!yt(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(!yt(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(c=>s[c]!=null);if(i=a(t),o=i.length,o!==a(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!yt(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function yt(t,e){try{return hd(t,e)}catch{return!1}}function Dt(t,e){return!yt(t,e)}function Wn(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Hr(t,e,o){return Math.min(Math.max(t,e),o)}function yd(t){return t[t.length-1]}function So(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>So(e)).join(""):t?.textContent||""}function Vn(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function md(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function gd(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Re(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}var Wr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},jn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Kn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},os=Re(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),Mt=class extends os(Object){};var Vr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},qn=class extends Mt{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var i;let a=this.content[e],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...a,loader:o,final:n,status:s}}registerFinal(e,o){this.register(e,o,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,o=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new Vr(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new Vr([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,i;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let i=async()=>o,a="RESOLVED";this.content[e]={loader:i,final:n,status:a,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=zn(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Qn={};J(Qn,{ClusteringHelper:()=>Jn,formatHierarchicalValues:()=>Xn});function Xn(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Jn=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e){var o,n,i,a,s;let c=((a=(n=(o=e.result)===null||o===void 0?void 0:o.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(c,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(c.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,o,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(c=>{a.push(Xn(c)),s.push(Xn(c,o))}),{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(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,o,n="No value",i,a){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:u,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,x)=>x.findIndex(b=>b.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(o,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==o}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>c&&(c=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var ei={};J(ei,{Debouncer:()=>Be});var Be=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);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 ti={};J(ti,{customElement:()=>ie,dateProperty:()=>xd,isNumber:()=>ns,jsonProperty:()=>rt,numberProperty:()=>Oo,optionalNumberProperty:()=>bd});var ie=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function rt(t,e){let o=()=>JSON.parse(JSON.stringify(t));return O({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Dt,...e??{}})}function bd(t){return Oo(t)}function Oo(t){return O({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ns(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function ns(t){return!isNaN(parseFloat(t))}function xd(t){return O({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let o=new Date(Date.parse(e));if(!isNaN(o.valueOf()))return o},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var ii={};J(ii,{designSystemVariables:()=>I});var ni={};J(ni,{DesignSystemFamily:()=>Bt,DesignSystemSize:()=>nt,FtCssVariableFactory:()=>r,badge:()=>_d,banner:()=>Td,button:()=>g,chart:()=>Gd,checkbox:()=>Od,chip:()=>Ad,chipChoice:()=>wd,collapsible:()=>Wd,comboboxMultiSelect:()=>zd,comboboxSingleSelect:()=>Fd,dateRangePicker:()=>Jd,drawer:()=>kd,floatingMenu:()=>Ud,foundation:()=>l,link:()=>Rd,modal:()=>$d,notice:()=>Kd,notification:()=>qd,pageDesigner:()=>jd,pageFooter:()=>Pd,pageHeader:()=>Ld,pageLayout:()=>Id,popover:()=>Hd,radio:()=>Ed,reorderableList:()=>Xd,resolveFamilyClass:()=>ri,resolveSizeClass:()=>oi,semantic:()=>p,setVariable:()=>v,switch_:()=>Vd,table:()=>Cd,tabs:()=>Dd,textArea:()=>Bd,textInput:()=>Md,titleBreadcrumb:()=>Nd,toggle:()=>Zd,tooltip:()=>Yd,treeList:()=>Sd,typographies:()=>bt,typographyBody1Medium:()=>To,typographyBody1Regular:()=>Ro,typographyBody1Semibold:()=>_o,typographyBody2Medium:()=>gt,typographyBody2MediumUnderline:()=>is,typographyBody2Regular:()=>No,typographyBody2Semibold:()=>Lo,typographyCaption1Bold:()=>Fo,typographyCaption1Medium:()=>Bo,typographyCaption1Semibold:()=>Uo,typographyCaption2Bold:()=>Ho,typographyCaption2Medium:()=>ot,typographyCaption2Semibold:()=>zo,typographyCaption3Bold:()=>Go,typographyCaption3Medium:()=>Wo,typographyCaption3Semibold:()=>Vo,typographyDisplay:()=>Eo,typographyLabel1Bold:()=>$o,typographyLabel1Medium:()=>Po,typographyLabel1Semibold:()=>Io,typographyLabel2Bold:()=>Mo,typographyLabel2Medium:()=>ko,typographyLabel2Semibold:()=>Do,typographyTitle1:()=>Co,typographyTitle2:()=>wo,typographyTitle3:()=>Ao,typographyVariants:()=>vd});var mt=t=>typeof t=="string"?ke(t):t,r=class{static create(e,o,n,i){let a=c=>mt(c??i),s=P`var(${mt(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=c=>v(s,c??a(i)),s.get=c=>P`var(${mt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=P`var(${mt(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=c=>v(s,c??a(i)),s.get=c=>P`var(${mt(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.defaultCssValue(a),i=P`var(${mt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>P`var(${mt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function v(t,e){return mt(`${t.name}: ${e}`)}var l={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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:r.create("--ftds-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)")},Eo={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Co={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},wo={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Ao={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Ro={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},To={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},_o={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},No={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},gt={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},is={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Lo={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Po={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Io={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},$o={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},ko={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Do={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Mo={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Bo={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Uo={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Fo={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},ot={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},zo={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ho={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Wo={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Vo={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Go={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},bt={display:Eo,"title-1":Co,"title-2":wo,"title-3":Ao,"body-1-regular":Ro,"body-1-medium":To,"body-1-semibold":_o,"body-2-regular":No,"body-2-medium":gt,"body-2-medium-underline":is,"body-2-semibold":Lo,"label-1-medium":Po,"label-1-semibold":Io,"label-1-bold":$o,"label-2-medium":ko,"label-2-semibold":Do,"label-2-bold":Mo,"caption-1-medium":Bo,"caption-1-semibold":Uo,"caption-1-bold":Fo,"caption-2-medium":ot,"caption-2-semibold":zo,"caption-2-bold":Ho,"caption-3-medium":Wo,"caption-3-semibold":Vo,"caption-3-bold":Go},vd=["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:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
+
Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var g={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Sd={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",l.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",p.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",l.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",p.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)};var Od={iconSize:r.extend("--ftds-checkbox-icon-size","",l.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ftds-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",l.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",l.spacing2)};var Ed={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var Cd={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var wd={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",l.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",l.iconSize2)};var Ad={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",p.borderErrorSubtle)};var Rd={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var Td={iconSize:r.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",p.borderInfoSubtle)};var _d={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ftds-badge-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",p.contentActionPrimary)};var Nd={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Ld={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Pd={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var Id={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var $d={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var kd={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",l.colorGray700)};var Dd={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ftds-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ftds-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Md={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var Bd={backgroundColor:r.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",l.borderRadiusS)};var Ud={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",l.shadowElevation02)};var Fd={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",l.opacity40)};var zd={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",l.borderRadiusS)};var Hd={backgroundColor:r.extend("--ftds-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ftds-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",p.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",l.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6)};var Wd={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ftds-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var Vd={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ftds-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ftds-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var Gd={color1Light:r.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var jd={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var Kd={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ftds-notice-gap","",l.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var Zd={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ftds-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",l.spacing3)};var qd={iconSize:r.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",l.spacing8)};var Yd={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ftds-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",l.spacing05)};var Xd={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",l.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var Jd={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var Bt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Bt||(Bt={}));var nt;(function(t){t.large="large",t.medium="medium",t.small="small"})(nt||(nt={}));function ri(t){return`ftds--family-${t}`}function oi(t){return`ftds--size-${t}`}var I={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","SHADOW","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:r.create("--ft-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)"),elevation02:r.create("--ft-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)"),elevation03:r.create("--ft-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)"),elevation04:r.create("--ft-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)"),elevation06:r.create("--ft-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)"),elevation08:r.create("--ft-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)"),elevation12:r.create("--ft-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)"),elevation16:r.create("--ft-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)"),elevation24:r.create("--ft-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)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ai={};J(ai,{DynamicImporter:()=>jo,dynamicImporter:()=>Qd});var jo=class{async import(e){if(e)return import(e)}},Qd=new jo;var Si={};J(Si,{computeOffsetAutoPosition:()=>qr,computeOffsetPosition:()=>vi});var ss=["top","right","bottom","left"],as=["start","end"],li=ss.reduce((t,e)=>t.concat(e,e+"-"+as[0],e+"-"+as[1]),[]),Ko=Math.min,xt=Math.max;var ep={left:"right",right:"left",bottom:"top",top:"bottom"},tp={start:"end",end:"start"};function ci(t,e,o){return xt(t,Ko(e,o))}function tr(t,e){return typeof t=="function"?t(e):t}function vt(t){return t.split("-")[0]}function Ge(t){return t.split("-")[1]}function di(t){return t==="x"?"y":"x"}function pi(t){return t==="y"?"height":"width"}function rr(t){return["top","bottom"].includes(vt(t))?"y":"x"}function ui(t){return di(rr(t))}function ls(t,e,o){o===void 0&&(o=!1);let n=Ge(t),i=ui(t),a=pi(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=si(s)),[s,si(s)]}function cs(t){return t.replace(/start|end/g,e=>tp[e])}function si(t){return t.replace(/left|right|bottom|top/g,e=>ep[e])}function rp(t){return{top:0,right:0,bottom:0,left:0,...t}}function ds(t){return typeof t!="number"?rp(t):{top:t,right:t,bottom:t,left:t}}function Ut(t){let{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function ps(t,e,o){let{reference:n,floating:i}=t,a=rr(e),s=ui(e),c=pi(s),d=vt(e),u=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:h,y:n.y-i.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-i.width,y:f};break;default:x={x:n.x,y:n.y}}switch(Ge(e)){case"start":x[s]-=m*(o&&u?-1:1);break;case"end":x[s]+=m*(o&&u?-1:1);break}return x}var us=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=ps(u,n,d),m=n,x={},b=0;for(let A=0;A<c.length;A++){let{name:T,fn:_}=c[A],{x:L,y:C,data:S,reset:w}=await _({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:t,floating:e}});h=L??h,f=C??f,x={...x,[T]:{...x[T],...S}},w&&b<=50&&(b++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(u=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:f}=ps(u,m,d)),A=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:x}};async function Zo(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:x=0}=tr(e,t),b=ds(x),T=c[m?f==="floating"?"reference":"floating":f],_=Ut(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(T)))==null||o?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:h,strategy:d})),L=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),S=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},w=Ut(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:L,offsetParent:C,strategy:d}):L);return{top:(_.top-w.top+b.top)/S.y,bottom:(w.bottom-_.bottom+b.bottom)/S.y,left:(_.left-w.left+b.left)/S.x,right:(w.right-_.right+b.right)/S.x}}function op(t,e,o){return(t?[...o.filter(i=>Ge(i)===t),...o.filter(i=>Ge(i)!==t)]:o.filter(i=>vt(i)===i)).filter(i=>t?Ge(i)===t||(e?cs(i)!==i:!1):!0)}var qo=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=li,autoAlignment:x=!0,...b}=tr(t,e),A=f!==void 0||m===li?op(f||null,x,m):m,T=await Zo(e,b),_=((o=s.autoPlacement)==null?void 0:o.index)||0,L=A[_];if(L==null)return{};let C=ls(L,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==L)return{reset:{placement:A[0]}};let S=[T[vt(L)],T[C[0]],T[C[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:S}],D=A[_+1];if(D)return{data:{index:_+1,overflows:w},reset:{placement:D}};let z=w.map(M=>{let y=Ge(M.placement);return[M.placement,y&&h?M.overflows.slice(0,2).reduce((E,$)=>E+$,0):M.overflows[0],M.overflows]}).sort((M,y)=>M[1]-y[1]),K=((i=z.filter(M=>M[2].slice(0,Ge(M[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||z[0][0];return K!==c?{data:{index:_+1,overflows:w},reset:{placement:K}}:{}}}};async function np(t,e){let{placement:o,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=vt(o),c=Ge(o),d=rr(o)==="y",u=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=tr(e,t),{mainAxis:m,crossAxis:x,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof b=="number"&&(x=c==="end"?b*-1:b),d?{x:x*h,y:m*u}:{x:m*u,y:x*h}}var fi=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:i,y:a,placement:s,middlewareData:c}=e,d=await np(e,t);return s===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},hi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:T=>{let{x:_,y:L}=T;return{x:_,y:L}}},...d}=tr(t,e),u={x:o,y:n},h=await Zo(e,d),f=rr(vt(i)),m=di(f),x=u[m],b=u[f];if(a){let T=m==="y"?"top":"left",_=m==="y"?"bottom":"right",L=x+h[T],C=x-h[_];x=ci(L,x,C)}if(s){let T=f==="y"?"top":"left",_=f==="y"?"bottom":"right",L=b+h[T],C=b-h[_];b=ci(L,b,C)}let A=c.fn({...e,[m]:x,[f]:b});return{...A,data:{x:A.x-o,y:A.y-n,enabled:{[m]:a,[f]:s}}}}}};var yi=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,n;let{placement:i,rects:a,platform:s,elements:c}=e,{apply:d=()=>{},...u}=tr(t,e),h=await Zo(e,u),f=vt(i),m=Ge(i),x=rr(i)==="y",{width:b,height:A}=a.floating,T,_;f==="top"||f==="bottom"?(T=f,_=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(_=f,T=m==="end"?"top":"bottom");let L=A-h.top-h.bottom,C=b-h.left-h.right,S=Ko(A-h[T],L),w=Ko(b-h[_],C),D=!e.middlewareData.shift,z=S,q=w;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(q=C),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(z=L),D&&!m){let M=xt(h.left,0),y=xt(h.right,0),E=xt(h.top,0),$=xt(h.bottom,0);x?q=b-2*(M!==0||y!==0?M+y:xt(h.left,h.right)):z=A-2*(E!==0||$!==0?E+$:xt(h.top,h.bottom))}await d({...e,availableWidth:q,availableHeight:z});let K=await s.getDimensions(c.floating);return b!==K.width||A!==K.height?{reset:{rects:!0}}:{}}}};var mi=Math.min,or=Math.max,Gr=Math.round;var it=t=>({x:t,y:t});function at(t){return hs(t)?(t.nodeName||"").toLowerCase():"#document"}function we(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function st(t){var e;return(e=(hs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function hs(t){return t instanceof Node||t instanceof we(t).Node}function je(t){return t instanceof Element||t instanceof we(t).Element}function Ue(t){return t instanceof HTMLElement||t instanceof we(t).HTMLElement}function fs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof we(t).ShadowRoot}function nr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Te(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function ys(t){return["table","td","th"].includes(at(t))}function Xo(t){let e=Jo(),o=Te(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ms(t){let e=Ft(t);for(;Ue(e)&&!jr(e);){if(Xo(e))return e;e=Ft(e)}return null}function Jo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function jr(t){return["html","body","#document"].includes(at(t))}function Te(t){return we(t).getComputedStyle(t)}function Kr(t){return je(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ft(t){if(at(t)==="html")return t;let e=t.assignedSlot||t.parentNode||fs(t)&&t.host||st(t);return fs(e)?e.host:e}function gs(t){let e=Ft(t);return jr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ue(e)&&nr(e)?e:gs(e)}function Yo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=gs(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=we(i);return a?e.concat(s,s.visualViewport||[],nr(i)?i:[],s.frameElement&&o?Yo(s.frameElement):[]):e.concat(i,Yo(i,[],o))}function vs(t){let e=Te(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ue(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=Gr(o)!==a||Gr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Ss(t){return je(t)?t:t.contextElement}function ir(t){let e=Ss(t);if(!Ue(e))return it(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=vs(e),s=(a?Gr(o.width):o.width)/n,c=(a?Gr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var ip=it(0);function Os(t){let e=we(t);return!Jo()||!e.visualViewport?ip:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ap(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==we(t)?!1:e}function Zr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=Ss(t),s=it(1);e&&(n?je(n)&&(s=ir(n)):s=ir(t));let c=ap(a,o,n)?Os(a):it(0),d=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let m=we(a),x=n&&je(n)?we(n):n,b=m.frameElement;for(;b&&n&&x!==m;){let A=ir(b),T=b.getBoundingClientRect(),_=Te(b),L=T.left+(b.clientLeft+parseFloat(_.paddingLeft))*A.x,C=T.top+(b.clientTop+parseFloat(_.paddingTop))*A.y;d*=A.x,u*=A.y,h*=A.x,f*=A.y,d+=L,u+=C,b=we(b).frameElement}}return Ut({width:h,height:f,x:d,y:u})}function sp(t){let{rect:e,offsetParent:o,strategy:n}=t,i=Ue(o),a=st(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=it(1),d=it(0);if((i||!i&&n!=="fixed")&&((at(o)!=="body"||nr(a))&&(s=Kr(o)),Ue(o))){let u=Zr(o);c=ir(o),d.x=u.x+o.clientLeft,d.y=u.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function lp(t){return Array.from(t.getClientRects())}function Es(t){return Zr(st(t)).left+Kr(t).scrollLeft}function cp(t){let e=st(t),o=Kr(t),n=t.ownerDocument.body,i=or(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=or(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Es(t),c=-o.scrollTop;return Te(n).direction==="rtl"&&(s+=or(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function dp(t,e){let o=we(t),n=st(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let u=Jo();(!u||u&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function pp(t,e){let o=Zr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=Ue(t)?ir(t):it(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,u=n*a.y;return{width:s,height:c,x:d,y:u}}function bs(t,e,o){let n;if(e==="viewport")n=dp(t,o);else if(e==="document")n=cp(st(t));else if(je(e))n=pp(e,o);else{let i=Os(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Ut(n)}function Cs(t,e){let o=Ft(t);return o===e||!je(o)||jr(o)?!1:Te(o).position==="fixed"||Cs(o,e)}function up(t,e){let o=e.get(t);if(o)return o;let n=Yo(t,[],!1).filter(c=>je(c)&&at(c)!=="body"),i=null,a=Te(t).position==="fixed",s=a?Ft(t):t;for(;je(s)&&!jr(s);){let c=Te(s),d=Xo(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||nr(s)&&!d&&Cs(t,s))?n=n.filter(h=>h!==s):i=c,s=Ft(s)}return e.set(t,n),n}function fp(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?up(e,this._c):[].concat(o),n],c=s[0],d=s.reduce((u,h)=>{let f=bs(e,h,i);return u.top=or(f.top,u.top),u.right=mi(f.right,u.right),u.bottom=mi(f.bottom,u.bottom),u.left=or(f.left,u.left),u},bs(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function hp(t){return vs(t)}function yp(t,e,o){let n=Ue(e),i=st(e),a=o==="fixed",s=Zr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=it(0);if(n||!n&&!a)if((at(e)!=="body"||nr(i))&&(c=Kr(e)),n){let u=Zr(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=Es(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function xs(t,e){return!Ue(t)||Te(t).position==="fixed"?null:e?e(t):t.offsetParent}function ws(t,e){let o=we(t);if(!Ue(t))return o;let n=xs(t,e);for(;n&&ys(n)&&Te(n).position==="static";)n=xs(n,e);return n&&(at(n)==="html"||at(n)==="body"&&Te(n).position==="static"&&!Xo(n))?o:n||ms(t)||o}var mp=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||ws,a=this.getDimensions;return{reference:yp(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function gp(t){return Te(t).direction==="rtl"}var ar={convertOffsetParentRelativeRectToViewportRelativeRect:sp,getDocumentElement:st,getClippingRect:fp,getOffsetParent:ws,getElementRects:mp,getClientRects:lp,getDimensions:hp,getScale:ir,isElement:je,isRTL:gp};var gi=(t,e,o)=>{let n=new Map,i={platform:ar,...o},a={...i.platform,_c:n};return us(t,e,{...i,platform:a})};function xi(t){return bp(t)}function bi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function bp(t){for(let e=t;e;e=bi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=bi(t);e;e=bi(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function vi(t,e,o){return gi(t,e,{platform:{...ar,getOffsetParent:n=>ar.getOffsetParent(n,xi)},middleware:[hi({crossAxis:!0}),qo({allowedPlacements:[o]})]})}async function qr(t,e,o,n,i,a,s=4){return gi(t,e,{placement:o,strategy:i,platform:{...ar,getOffsetParent:c=>ar.getOffsetParent(c,xi)},middleware:[fi(s),qo({allowedPlacements:n}),yi({apply({availableHeight:c,elements:d}){typeof a=="string"&&(a=`var(${a})`),a?d.floating.style.maxHeight=`min(${Math.max(0,c)}px, ${a})`:d.floating.style.maxHeight=`${Math.max(0,c)}px`}})]})}var Ri={};J(Ri,{FtdsBase:()=>Ai,toFtdsBase:()=>lr});var wi={};J(wi,{ExportpartsUpdatedEvent:()=>zt,FtLitElement:()=>W});var Oi={};J(Oi,{ScopedRegistryLitElement:()=>Yr});var Yr=class extends tt{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 o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Pr(n,e.elementStyles),n}};var Ci={};J(Ci,{shadowQuerySelector:()=>Ei,shadowQuerySelectorAll:()=>xp});function Ei(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function xp(t,e,...o){let n=[...t.querySelectorAll(e)];for(let i of o)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var sr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},_s,As=Symbol("constructorPrototype"),Rs=Symbol("constructorName"),Ns=Symbol("exportpartsDebouncer"),Ts=Symbol("dynamicDependenciesLoaded"),zt=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};zt.eventName="exportparts-updated";var W=class extends Yr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[_s]=new Be(5),this.scheduleExportpartsUpdate=()=>{var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ns].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)})},this[Rs]=this.constructor.name,this[As]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Rs]&&Object.setPrototypeOf(this,this[As])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[Ts]||(o[Ts]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(zt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(zt.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new zt)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=Ei(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.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)}}setExportpartsAttribute(e){var o,n,i,a,s,c;let d=m=>m!=null&&m.trim().length>0,u=e.filter(d).map(m=>m.trim());if(u.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(T=>T.split(":")[1]))!==null&&c!==void 0?c:[],A=[...x,...b].filter(d).map(T=>T.trim());for(let T of A)h.add(T)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>u.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};_s=Ns;sr([O()],W.prototype,"exportpartsPrefix",void 0);sr([rt([])],W.prototype,"exportpartsPrefixes",void 0);sr([O({reflect:!0})],W.prototype,"exportparts",void 0);sr([O()],W.prototype,"customStylesheet",void 0);sr([O()],W.prototype,"elementToFocus",void 0);sr([j()],W.prototype,"useAdoptedStyleSheets",void 0);var Ls=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},lr=Re(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=nt.medium,this.family=Bt.neutral}getDesignSystemBaseClasses(){return{[ri(this.family)]:!0,[oi(this.size)]:!0}}}return Ls([O()],e.prototype,"size",void 0),Ls([O()],e.prototype,"family",void 0),e}),Ai=class extends lr(W){};var Ps={};var _i={};J(_i,{highlightHtml:()=>Op,highlightHtmlColorCssVariable:()=>Is,highlightHtmlStyles:()=>Sp});var Ht=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,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,o=[];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=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{o(u)&&(c++,n(h)),d()},d)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.handled)}),this.compareNodeIframe(e,o,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,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),c=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(u,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,x=>d.push(x),i)}),d.push(u);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var Xr=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 Ht(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${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,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=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${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.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 o=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){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-o>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,o,n){let i,a=!0,s=n.length,c=o-s,d=parseInt(e.start,10)-c;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 o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return Ht.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+m,e.nodes.forEach((x,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,h,f=>n(d[s],f),(f,m)=>{e.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(c,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,h,m=>o(m,c,a.value.substring(u,h),d),m=>{n(m,c)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,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,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,x)=>this.opt.filter(x,u,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,o){this.opt=o;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,c,d)=>this.opt.filter(a,s,c,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Ht.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ti(t){let e=new Xr(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var vp=Ti,Is=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Sp=P`
|
|
6
6
|
.highlight-html-match {
|
|
7
|
-
background: ${
|
|
7
|
+
background: ${Is};
|
|
8
8
|
}
|
|
9
|
-
`;function
|
|
9
|
+
`;function Op(t,e,o){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new vp(t);if(s.unmark(),e&&e.trim()){let c={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(c.each=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Li={};J(Li,{noTextInputDefaultClearButton:()=>Ni,noTextSelect:()=>Wt,safariEllipsisFix:()=>Jr,wordWrap:()=>Ep});var Wt=P`
|
|
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.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
15
15
|
-ms-user-select: none;
|
|
16
16
|
user-select: none;
|
|
17
17
|
}
|
|
18
|
-
`,
|
|
18
|
+
`,Ep=P`
|
|
19
19
|
.ft-word-wrap {
|
|
20
20
|
white-space: normal;
|
|
21
21
|
word-wrap: break-word;
|
|
@@ -27,7 +27,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
27
27
|
-webkit-hyphens: auto;
|
|
28
28
|
hyphens: auto
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,Jr=P`
|
|
31
31
|
.ft-safari-ellipsis-fix {
|
|
32
32
|
margin-right: 0;
|
|
33
33
|
|
|
@@ -38,14 +38,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
38
38
|
display: inline-block;
|
|
39
39
|
width: 0;
|
|
40
40
|
}
|
|
41
|
-
`,
|
|
41
|
+
`,Ni=P`
|
|
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 Ps={};var _i={};J(_i,{ParametrizedLabelResolver:()=>Ti});var Ti=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)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,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var ta={};J(ta,{FtCommandQueue:()=>qr,FtLitElementRedux:()=>Ni,FtReduxStore:()=>ea,ReduxWatcher:()=>Lo,clearAllStores:()=>iu,isFtReduxStore:()=>ar,redux:()=>Sp,reduxEventListener:()=>Op,reduxReactive:()=>vp,watch:()=>au,withRedux:()=>Is});var vp=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Sp=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:Pt,attribute:!1,...e};E(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},Op=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var qr=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function ar(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Yr=Symbol("internalReduxEventsUnsubscribers"),bt=Symbol("internalStoresUnsubscribers"),zt=Symbol("internalStores"),Is=Re(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[zt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[zt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[zt].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[zt].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[zt].delete(c)}setupStores(){this.unsubscribeFromStores(),this[zt].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let u=this.getStore(s.store);u&&(s.store?this[bt].has(s.store):this[bt].size>0)&&(this[c]=s.selector(u.getState(),this))}})}subscribeToStore(s,c){var d;this[bt].set(s,c.subscribe(()=>this.updateFromStores())),this[Yr].set(s,[]),ar(c)&&c.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,h)=>{if(typeof this[h]=="function"&&(!u.store||c.name===u.store)){let f=g=>this[h](g);c.addEventListener(u.eventName,f),this[Yr].get(s).push(()=>c.removeEventListener(u.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[bt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[bt].has(s)&&this[bt].get(s)(),this[bt].delete(s),(c=this[Yr].get(s))===null||c===void 0||c.forEach(d=>d()),this[Yr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=bt,o=zt,n=Yr,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Ni=class extends Is(j){};function Pe(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function it(t){return!!t&&!!t[ae]}function Ue(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Np}(t)||Array.isArray(t)||!!t[Fs]||!!(!((e=t.constructor)===null||e===void 0)&&e[Fs])||Ui(t)||Fi(t))}function Ht(t,e,o){o===void 0&&(o=!1),cr(t)===0?(o?Object.keys:lr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function cr(t){var e=t[ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ui(t)?2:Fi(t)?3:0}function sr(t,e){return cr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Ep(t,e){return cr(t)===2?t.get(e):t[e]}function zs(t,e,o){var n=cr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Hs(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ui(t){return Tp&&t instanceof Map}function Fi(t){return _p&&t instanceof Set}function xt(t){return t.o||t.t}function zi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Vs(t);delete e[ae];for(var o=lr(e),n=0;n<o.length;n++){var i=o[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 Hi(t,e){return e===void 0&&(e=!1),Wi(t)||it(t)||!Ue(t)||(cr(t)>1&&(t.set=t.add=t.clear=t.delete=Cp),Object.freeze(t),e&&Ht(t,function(o,n){return Hi(n,!0)},!0)),t}function Cp(){Pe(2)}function Wi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ke(t){var e=Bi[t];return e||Pe(18,t),e}function wp(t,e){Bi[t]||(Bi[t]=e)}function ki(){return Jr}function Li(t,e){e&&(Ke("Patches"),t.u=[],t.s=[],t.v=e)}function Ao(t){Di(t),t.p.forEach(Ap),t.p=null}function Di(t){t===Jr&&(Jr=t.l)}function $s(t){return Jr={p:[],l:Jr,h:t,m:!0,_:0}}function Ap(t){var e=t[ae];e.i===0||e.i===1?e.j():e.g=!0}function Pi(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||Ke("ES5").S(e,t,n),n?(o[ae].P&&(Ao(e),Pe(4)),Ue(t)&&(t=Ro(e,t),e.l||To(e,t)),e.u&&Ke("Patches").M(o[ae].t,t,e.u,e.s)):t=Ro(e,o,[]),Ao(e),e.u&&e.v(e.u,e.s),t!==Gs?t:void 0}function Ro(t,e,o){if(Wi(e))return e;var n=e[ae];if(!n)return Ht(e,function(c,d){return ks(t,n,e,c,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return To(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=zi(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Ht(a,function(c,d){return ks(t,n,i,c,d,o,s)}),To(t,i,!1),o&&t.u&&Ke("Patches").N(n,o,t.u,t.s)}return n.o}function ks(t,e,o,n,i,a,s){if(it(i)){var c=Ro(t,i,a&&e&&e.i!==3&&!sr(e.R,n)?a.concat(n):void 0);if(zs(o,n,c),!it(c))return;t.m=!1}else s&&o.add(i);if(Ue(i)&&!Wi(i)){if(!t.h.D&&t._<1)return;Ro(t,i),e&&e.A.l||To(t,i)}}function To(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Hi(e,o)}function Ii(t,e){var o=t[ae];return(o?xt(o):t)[e]}function Ds(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function vt(t){t.P||(t.P=!0,t.l&&vt(t.l))}function $i(t){t.o||(t.o=zi(t.t))}function Mi(t,e,o){var n=Ui(e)?Ke("MapSet").F(e,o):Fi(e)?Ke("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:ki(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,u=Qr;s&&(d=[c],u=Xr);var h=Proxy.revocable(d,u),f=h.revoke,g=h.proxy;return c.k=g,c.j=f,g}(e,o):Ke("ES5").J(e,o);return(o?o.A:ki()).p.push(n),n}function Rp(t){return it(t)||Pe(22,t),function e(o){if(!Ue(o))return o;var n,i=o[ae],a=cr(o);if(i){if(!i.P&&(i.i<4||!Ke("ES5").K(i)))return i.t;i.I=!0,n=Ms(o,a),i.I=!1}else n=Ms(o,a);return Ht(n,function(s,c){i&&Ep(i.t,s)===c||zs(n,s,e(c))}),a===3?new Set(n):n}(t)}function Ms(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return zi(t)}function Ws(){function t(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var u=this[ae];return Qr.get(u,s)},set:function(u){var h=this[ae];Qr.set(h,s,u)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][ae];if(!d.P)switch(d.i){case 5:n(d)&&vt(d);break;case 4:o(d)&&vt(d)}}}function o(s){for(var c=s.t,d=s.k,u=lr(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==ae){var g=c[f];if(g===void 0&&!sr(c,f))return!0;var x=d[f],b=x&&x[ae];if(b?b.t!==g:!Hs(x,g))return!0}}var A=!!c[ae];return u.length!==lr(c).length+(A?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&Pe(3,JSON.stringify(xt(s)))}var a={};wp("ES5",{J:function(s,c){var d=Array.isArray(s),u=function(f,g){if(f){for(var x=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(x,""+b,t(b,!0));return x}var A=Vs(g);delete A[ae];for(var T=lr(A),_=0;_<T.length;_++){var L=T[_];A[L]=t(L,f||!!A[L].enumerable)}return Object.create(Object.getPrototypeOf(g),A)}(d,s),h={i:d?5:4,A:c?c.A:ki(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ae,{value:h,writable:!0}),u},S:function(s,c,d){d?it(c)&&c[ae].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[ae];if(f){var g=f.t,x=f.k,b=f.R,A=f.i;if(A===4)Ht(x,function(S){S!==ae&&(g[S]!==void 0||sr(g,S)?b[S]||u(x[S]):(b[S]=!0,vt(f)))}),Ht(g,function(S){x[S]!==void 0||sr(x,S)||(b[S]=!1,vt(f))});else if(A===5){if(n(f)&&(vt(f),b.length=!0),x.length<g.length)for(var T=x.length;T<g.length;T++)b[T]=!1;else for(var _=g.length;_<x.length;_++)b[_]=!0;for(var L=Math.min(x.length,g.length),C=0;C<L;C++)x.hasOwnProperty(C)||(b[C]=!0),b[C]===void 0&&u(x[C])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Bs,Jr,Gi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Tp=typeof Map<"u",_p=typeof Set<"u",Us=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Gs=Gi?Symbol.for("immer-nothing"):((Bs={})["immer-nothing"]=!0,Bs),Fs=Gi?Symbol.for("immer-draftable"):"__$immer_draftable",ae=Gi?Symbol.for("immer-state"):"__$immer_state";var Np=""+Object.prototype.constructor,lr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Vs=Object.getOwnPropertyDescriptors||function(t){var e={};return lr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Bi={},Qr={get:function(t,e){if(e===ae)return t;var o=xt(t);if(!sr(o,e))return function(i,a,s){var c,d=Ds(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!Ue(n)?n:n===Ii(t.t,e)?($i(t),t.o[e]=Mi(t.A.h,n,t)):n},has:function(t,e){return e in xt(t)},ownKeys:function(t){return Reflect.ownKeys(xt(t))},set:function(t,e,o){var n=Ds(xt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Ii(xt(t),e),a=i?.[ae];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Hs(o,i)&&(o!==void 0||sr(t.t,e)))return!0;$i(t),vt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ii(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,$i(t),vt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=xt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Pe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Pe(12)}},Xr={};Ht(Qr,function(t,e){Xr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Xr.deleteProperty=function(t,e){return Xr.set.call(this,t,e,void 0)},Xr.set=function(t,e,o){return Qr.set.call(this,t[0],e,o,t[0])};var Lp=function(){function t(o){var n=this;this.O=Us,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(A){var T=this;A===void 0&&(A=c);for(var _=arguments.length,L=Array(_>1?_-1:0),C=1;C<_;C++)L[C-1]=arguments[C];return d.produce(A,function(S){var w;return(w=a).call.apply(w,[T,S].concat(L))})}}var u;if(typeof a!="function"&&Pe(6),s!==void 0&&typeof s!="function"&&Pe(7),Ue(i)){var h=$s(n),f=Mi(n,i,void 0),g=!0;try{u=a(f),g=!1}finally{g?Ao(h):Di(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(A){return Li(h,s),Pi(A,h)},function(A){throw Ao(h),A}):(Li(h,s),Pi(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Gs&&(u=void 0),n.D&&Hi(u,!0),s){var x=[],b=[];Ke("Patches").M(i,u,x,b),s(x,b)}return u}Pe(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),g=1;g<h;g++)f[g-1]=arguments[g];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(f))})};var s,c,d=n.produce(i,a,function(u,h){s=u,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,c]}):[d,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){Ue(o)||Pe(8),it(o)&&(o=Rp(o));var n=$s(this),i=Mi(this,o,void 0);return i[ae].C=!0,Di(n),i},e.finishDraft=function(o,n){var i=o&&o[ae],a=i.A;return Li(a,n),Pi(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Us&&Pe(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Ke("Patches").$;return it(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),_e=new Lp,Pp=_e.produce,nb=_e.produceWithPatches.bind(_e),ib=_e.setAutoFreeze.bind(_e),ab=_e.setUseProxies.bind(_e),sb=_e.applyPatches.bind(_e),lb=_e.createDraft.bind(_e),cb=_e.finishDraft.bind(_e),_o=Pp;function Wt(t){"@babel/helpers - typeof";return Wt=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},Wt(t)}function js(t,e){if(Wt(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(Wt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ks(t){var e=js(t,"string");return Wt(e)=="symbol"?e:e+""}function Zs(t,e,o){return(e=Ks(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function qs(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function Vi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?qs(Object(o),!0).forEach(function(n){Zs(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):qs(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Oe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ys=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ji=function(){return Math.random().toString(36).substring(7).split("").join(".")},No={INIT:"@@redux/INIT"+ji(),REPLACE:"@@redux/REPLACE"+ji(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ji()}};function Ip(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 Ki(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Oe(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Oe(1));return o(Ki)(t,e)}if(typeof t!="function")throw new Error(Oe(2));var i=t,a=e,s=[],c=s,d=!1;function u(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(Oe(3));return a}function f(A){if(typeof A!="function")throw new Error(Oe(4));if(d)throw new Error(Oe(5));var T=!0;return u(),c.push(A),function(){if(T){if(d)throw new Error(Oe(6));T=!1,u();var L=c.indexOf(A);c.splice(L,1),s=null}}}function g(A){if(!Ip(A))throw new Error(Oe(7));if(typeof A.type>"u")throw new Error(Oe(8));if(d)throw new Error(Oe(9));try{d=!0,a=i(a,A)}finally{d=!1}for(var T=s=c,_=0;_<T.length;_++){var L=T[_];L()}return A}function x(A){if(typeof A!="function")throw new Error(Oe(10));i=A,g({type:No.REPLACE})}function b(){var A,T=f;return A={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Oe(11));function C(){L.next&&L.next(h())}C();var S=T(C);return{unsubscribe:S}}},A[Ys]=function(){return this},A}return g({type:No.INIT}),n={dispatch:g,subscribe:f,getState:h,replaceReducer:x},n[Ys]=b,n}function $p(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:No.INIT});if(typeof n>"u")throw new Error(Oe(12));if(typeof o(void 0,{type:No.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Oe(13))})}function Xs(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,c;try{$p(o)}catch(d){c=d}return function(u,h){if(u===void 0&&(u={}),c)throw c;if(0)var f;for(var g=!1,x={},b=0;b<a.length;b++){var A=a[b],T=o[A],_=u[A],L=T(_,h);if(typeof L>"u"){var C=h&&h.type;throw new Error(Oe(14))}x[A]=L,g=g||L!==_}return g=g||a.length!==Object.keys(u).length,g?x:u}}function dr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];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 Js(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Oe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=dr.apply(void 0,c)(i.dispatch),Vi(Vi({},i),{},{dispatch:a})}}}function Qs(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var el=Qs();el.withExtraArgument=Qs;var Zi=el;var il=function(){var t=function(e,o){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,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),kp=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},pr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},Dp=Object.defineProperty,Mp=Object.defineProperties,Bp=Object.getOwnPropertyDescriptors,tl=Object.getOwnPropertySymbols,Up=Object.prototype.hasOwnProperty,Fp=Object.prototype.propertyIsEnumerable,rl=function(t,e,o){return e in t?Dp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},St=function(t,e){for(var o in e||(e={}))Up.call(e,o)&&rl(t,o,e[o]);if(tl)for(var n=0,i=tl(e);n<i.length;n++){var o=i[n];Fp.call(e,o)&&rl(t,o,e[o])}return t},qi=function(t,e){return Mp(t,Bp(e))},zp=function(t,e,o){return new Promise(function(n,i){var a=function(d){try{c(o.next(d))}catch(u){i(u)}},s=function(d){try{c(o.throw(d))}catch(u){i(u)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((o=o.apply(t,e)).next())})};var Hp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?dr:dr.apply(null,arguments)},Rb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Wp(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Gp=function(t){il(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,pr([void 0],o[0].concat(this)))):new(e.bind.apply(e,pr([void 0],o.concat(this))))},e}(Array),Vp=function(t){il(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,pr([void 0],o[0].concat(this)))):new(e.bind.apply(e,pr([void 0],o.concat(this))))},e}(Array);function Ji(t){return Ue(t)?_o(t,function(){}):t}function jp(t){return typeof t=="boolean"}function Kp(){return function(e){return Zp(e)}}function Zp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new Gp;if(o&&(jp(o)?c.push(Zi):c.push(Zi.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var u}return c}var Yi=!0;function al(t){var e=Kp(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,d=c===void 0?!0:c,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,g=f===void 0?void 0:f,x;if(typeof i=="function")x=i;else if(Wp(i))x=Xs(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 b=s;if(typeof b=="function"&&(b=b(e),!Yi&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Yi&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=Js.apply(void 0,b),T=dr;d&&(T=Hp(St({trace:!Yi},typeof d=="object"&&d)));var _=new Vp(A),L=_;Array.isArray(g)?L=pr([A],g):typeof g=="function"&&(L=g(_));var C=T.apply(void 0,L);return Ki(x,h,C)}function Ot(t,e){function o(){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 St(St({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function sl(t){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function qp(t){return typeof t=="function"}function Yp(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?sl(e):[e,o,n],a=i[0],s=i[1],c=i[2],d;if(qp(t))d=function(){return Ji(t())};else{var u=Ji(t);d=function(){return u}}function h(f,g){f===void 0&&(f=d());var x=pr([a[g.type]],s.filter(function(b){var A=b.matcher;return A(g)}).map(function(b){var A=b.reducer;return A}));return x.filter(function(b){return!!b}).length===0&&(x=[c]),x.reduce(function(b,A){if(A)if(it(b)){var T=b,_=A(T,g);return _===void 0?b:_}else{if(Ue(b))return _o(b,function(L){return A(L,g)});var _=A(b,g);if(_===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return b},f)}return h.getInitialState=d,h}function Xp(t,e){return t+"/"+e}function ll(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Ji(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var f=n[h],g=Xp(e,h),x,b;"reducer"in f?(x=f.reducer,b=f.prepare):x=f,a[h]=x,s[g]=x,c[h]=b?Ot(g,b):Ot(g)});function d(){var h=typeof t.extraReducers=="function"?sl(t.extraReducers):[t.extraReducers],f=h[0],g=f===void 0?{}:f,x=h[1],b=x===void 0?[]:x,A=h[2],T=A===void 0?void 0:A,_=St(St({},g),s);return Yp(o,function(L){for(var C in _)L.addCase(C,_[C]);for(var S=0,w=b;S<w.length;S++){var D=w[S];L.addMatcher(D.matcher,D.reducer)}T&&L.addDefaultCase(T)})}var u;return{name:e,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Jp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Qp=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Jp[Math.random()*64|0];return e},eu=["name","message","stack","code"],Xi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),ol=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),tu=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=eu;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Lb=function(){function t(e,o,n){var i=Ot(e+"/fulfilled",function(h,f,g,x){return{payload:h,meta:qi(St({},x||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),a=Ot(e+"/pending",function(h,f,g){return{payload:void 0,meta:qi(St({},g||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Ot(e+"/rejected",function(h,f,g,x,b){return{payload:x,error:(n&&n.serializeError||tu)(h||"Rejected"),meta:qi(St({},b||{}),{arg:g,requestId:f,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!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 u(h){return function(f,g,x){var b=n?.idGenerator?n.idGenerator(h):Qp(),A=new d,T,_=!1;function L(S){T=S,A.abort()}var C=function(){return zp(this,null,function(){var S,w,D,z,q,K,M;return kp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),z=(S=n?.condition)==null?void 0:S.call(n,h,{getState:g,extra:x}),ou(z)?[4,z]:[3,2];case 1:z=y.sent(),y.label=2;case 2:if(z===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,q=new Promise(function(O,I){return A.signal.addEventListener("abort",function(){return I({name:"AbortError",message:T||"Aborted"})})}),f(a(b,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:b,arg:h},{getState:g,extra:x}))),[4,Promise.race([q,Promise.resolve(o(h,{dispatch:f,getState:g,extra:x,requestId:b,signal:A.signal,abort:L,rejectWithValue:function(O,I){return new Xi(O,I)},fulfillWithValue:function(O,I){return new ol(O,I)}})).then(function(O){if(O instanceof Xi)throw O;return O instanceof ol?i(O.payload,b,h,O.meta):i(O,b,h)})])];case 3:return D=y.sent(),[3,5];case 4:return K=y.sent(),D=K instanceof Xi?s(null,b,h,K.payload,K.meta):s(K,b,h),[3,5];case 5:return M=n&&!n.dispatchConditionRejection&&s.match(D)&&D.meta.condition,M||f(D),[2,D]}})})}();return Object.assign(C,{abort:L,requestId:b,arg:h,unwrap:function(){return C.then(ru)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function ru(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function ou(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var cl="listener",dl="completed",pl="cancelled",Pb="task-"+pl,Ib="task-"+dl,$b=cl+"-"+pl,kb=cl+"-"+dl;var Qi="listenerMiddleware";var Db=Ot(Qi+"/add"),Mb=Ot(Qi+"/removeAll"),Bb=Ot(Qi+"/remove");var nl,Ub=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(nl||(nl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},nu=function(t){return function(e){setTimeout(e,t)}},Fb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:nu(10);Ws();window.ftReduxStores||(window.ftReduxStores={});var ea=class t extends It{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(ar(a))return a;if(i==null)return;let s=ll({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=al({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[i.name]=new t(s,c,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new qr;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let d=s,u=a[d];return u?(...h)=>{let f=u(...h.map(i));return this.reduxStore.dispatch(f),f}: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 iu(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ar(e)&&e.clear()}var Lo=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);Pt(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function au(t,e,o){return new Lo(t,e,o).watch()}var na={};J(na,{scrollHelper:()=>su});var ra,Po=new Map,oa=class{lock(e,o){if(o){let n=Po.get(o);if(n==null||n===e)return Po.set(o,e),o}}release(e,o){o&&Po.get(o)===e&&Po.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let a of mn(e)){let s=a,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else c&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,i;let a=0;for(;o&&o.offsetParent!==e.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){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,c=Mr(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(o?.position,c)*(a-s)+s;n.scrollTo({behavior:o?.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=(ra=window.FluidTopicsScrollHelper)!==null&&ra!==void 0?ra:new oa;var su=window.FluidTopicsScrollHelper;var aa={};J(aa,{SearchPlaceConverter:()=>ko,SearchPlaceQueryParams:()=>ee,isSearchPlaceQueryParams:()=>Vl,serializeRequest:()=>du});var lu=Uc(fl(),1);var hl;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(hl||(hl={}));var yl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(yl||(yl={}));var gl;(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.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(gl||(gl={}));var ml;(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.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(ml||(ml={}));var bl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(bl||(bl={}));var xl;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(xl||(xl={}));var vl;(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.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",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.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_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.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",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"})(vl||(vl={}));var Sl;(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"})(Sl||(Sl={}));var Ol;(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",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(Ol||(Ol={}));var El;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(El||(El={}));var Cl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Cl||(Cl={}));var wl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(wl||(wl={}));var Al;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Al||(Al={}));var Rl;(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"})(Rl||(Rl={}));var fr;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(fr||(fr={}));var Tl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Tl||(Tl={}));var _l;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(_l||(_l={}));var ia;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ia||(ia={}));var Ml=t=>Object.keys(ia).includes(t);var Nl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Nl||(Nl={}));var Ll;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ll||(Ll={}));var Pl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Pl||(Pl={}));var hr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(hr||(hr={}));var Bl=t=>Object.keys(hr).includes(t);var Il;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Il||(Il={}));var $l;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})($l||($l={}));var kl;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(kl||(kl={}));var be;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(be||(be={}));var Dl;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Dl||(Dl={}));var Ul;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Ul||(Ul={}));var Fl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Fl||(Fl={}));var zl;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(zl||(zl={}));var Hl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Hl||(Hl={}));var Wl;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Wl||(Wl={}));var sx={[be.PERSONAL_BOOK_SHARE_USER]:[be.PERSONAL_BOOK_USER],[be.HTML_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.PDF_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.KHUB_ADMIN]:[be.CONTENT_PUBLISHER],[be.ADMIN]:[be.KHUB_ADMIN,be.USERS_ADMIN,be.PORTAL_ADMIN],[be.GENERATIVE_AI_EXPORT_USER]:[be.GENERATIVE_AI_USER]};function cu(t){return`"${t}"`}function Gl(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function du(t,e){return new ko(t).serialize(e)}var ee;(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",t.KEYWORD_MATCH="keyword-match"})(ee||(ee={}));var pu=new Set(Object.values(ee));function Vl(t){return pu.has(t)}var ko=class{constructor(e,o=20,n=!1,i="en-US"){this.baseUrl=e,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,o=!1){var n,i,a,s,c,d,u,h,f,g,x;let b=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&b.append(ee.LOCALE,e.contentLocale):b.append(ee.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&b.append(ee.QUERY,e.query);let A=(a=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(S=>S.valueFilter&&!S.valueFilter.negative))!==null&&a!==void 0?a:[];if(A.length>0){let S=A.map(w=>{var D,z;let q=((z=(D=w.valueFilter)===null||D===void 0?void 0:D.values)!==null&&z!==void 0?z:[]).map(K=>this.escapeFilters(K)).map(K=>cu(Gl(K))).join("_");return`${w.key}~${q}`}).join("*");b.append(ee.VALUE_FILTERS,S)}let T=(c=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(S=>S.dateFilter))!==null&&c!==void 0?c:[];if(T.length>0){let S=T.map(w=>{var D;return`${w.key}~${(D=w.dateFilter)===null||D===void 0?void 0:D.type.toLowerCase()}`}).join("*");b.append(ee.DATE_FILTERS,S)}let _=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(S=>S.rangeFilter))!==null&&u!==void 0?u:[];if(_.length>0){let S=_.map(w=>{var D,z;return`${w.key}~${(D=w.rangeFilter)===null||D===void 0?void 0:D.from}_${(z=w.rangeFilter)===null||z===void 0?void 0:z.to}`}).join("*");b.append(ee.RANGE_FILTERS,S)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&b.append(ee.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&b.append(ee.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&b.append(ee.SORT,e.sortId),!((h=e.paging)===null||h===void 0)&&h.perPage&&((g=(f=e.paging)===null||f===void 0?void 0:f.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&b.append(ee.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&b.append(ee.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let L=(x=e.otherQueryParams)!==null&&x!==void 0?x:{};for(let S in L)b.append(S,L[S]);let C=new Array;return b.forEach((S,w)=>{C.push(this.encodeQueryString(w)+"="+this.encodeQueryString(S))}),encodeURI(C.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,a,s,c;try{e=decodeURI(e).replace(/%23/g,"#")}catch(_){console.warn("Could not decode search request query params, fallback on raw value",_)}let d=new URLSearchParams(e),u=d.get(ee.LOCALE)==="all"?void 0:d.get(ee.LOCALE),h=((o=d.get(ee.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),f=(n=d.get(ee.SORT))===null||n===void 0?void 0:n.toLowerCase(),g=(i=d.get(ee.SCOPE))!==null&&i!==void 0?i:"default",x=+((a=d.get(ee.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),b=d.get(ee.KEYWORD_MATCH),A=b?b.toUpperCase()===fr.MANDATORY?fr.MANDATORY:fr.OPTIONAL:void 0,T={};for(let _ of d.keys())Vl(_)||(T[_]=d.get(_));return{contentLocale:u??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(ee.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:Ml(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Mr(1,isNaN(x)?this.defaultPerPage:x,1e3)},keywordMatch:A,otherQueryParams:T}}parseCompatFilters(e){var o,n,i,a,s,c;let d=[];return e.has(ee.FILTERS)&&(d=this.parseValueFilters((o=e.get(ee.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(ee.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(ee.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ee.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ee.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ee.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Gl).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:hr[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replace(i,o);return e}parseLegacyPeriodFilter(e){if(Bl(e))return[{key:"ft:lastEdition",dateFilter:{type:hr[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var la={};J(la,{toFtFormComponent:()=>eo});var sa=Symbol("elementInternals"),eo=Re(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[sa].form}constructor(...n){super(n),this[sa]=this.attachInternals()}setFormValue(n){this[sa].setFormValue(n)}}return e});var da={};J(da,{DateFormatter:()=>ca});var ca=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(e,o,n,i)}static getMomentDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a);if(!i)return s;let c=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${s} ${c}`}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var ua={};J(ua,{ALL_KEYS_VALUE:()=>pa,SameWindowStorageEvent:()=>yr});var pa="__all__",yr=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==pa}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new yr(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new yr(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new yr(pa))}});var ha={};J(ha,{FocusMainContentEvent:()=>fa});var fa=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var jl={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function uu(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function fu(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",uu);document.addEventListener("click",fu);var Kl=k`
|
|
48
|
+
`;var $s={};var Ii={};J(Ii,{ParametrizedLabelResolver:()=>Pi});var Pi=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)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,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var ia={};J(ia,{FtCommandQueue:()=>Qr,FtLitElementRedux:()=>$i,FtReduxStore:()=>na,ReduxWatcher:()=>nn,clearAllStores:()=>cu,isFtReduxStore:()=>cr,redux:()=>wp,reduxEventListener:()=>Ap,reduxReactive:()=>Cp,watch:()=>du,withRedux:()=>ks});var Cp=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},wp=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:Dt,attribute:!1,...e};O(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},Ap=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var Qr=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function cr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var eo=Symbol("internalReduxEventsUnsubscribers"),St=Symbol("internalStoresUnsubscribers"),Vt=Symbol("internalStores"),ks=Re(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[Vt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Vt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Vt].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[Vt].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[Vt].delete(c)}setupStores(){this.unsubscribeFromStores(),this[Vt].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let u=this.getStore(s.store);u&&(s.store?this[St].has(s.store):this[St].size>0)&&(this[c]=s.selector(u.getState(),this))}})}subscribeToStore(s,c){var d;this[St].set(s,c.subscribe(()=>this.updateFromStores())),this[eo].set(s,[]),cr(c)&&c.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,h)=>{if(typeof this[h]=="function"&&(!u.store||c.name===u.store)){let f=m=>this[h](m);c.addEventListener(u.eventName,f),this[eo].get(s).push(()=>c.removeEventListener(u.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[St].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[St].has(s)&&this[St].get(s)(),this[St].delete(s),(c=this[eo].get(s))===null||c===void 0||c.forEach(d=>d()),this[eo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=St,o=Vt,n=eo,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),$i=class extends ks(W){};function Pe(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function lt(t){return!!t&&!!t[ae]}function Fe(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===$p}(t)||Array.isArray(t)||!!t[Hs]||!!(!((e=t.constructor)===null||e===void 0)&&e[Hs])||Wi(t)||Vi(t))}function Gt(t,e,o){o===void 0&&(o=!1),ur(t)===0?(o?Object.keys:pr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function ur(t){var e=t[ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Wi(t)?2:Vi(t)?3:0}function dr(t,e){return ur(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Rp(t,e){return ur(t)===2?t.get(e):t[e]}function Ws(t,e,o){var n=ur(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Vs(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Wi(t){return Pp&&t instanceof Map}function Vi(t){return Ip&&t instanceof Set}function Ot(t){return t.o||t.t}function Gi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ks(t);delete e[ae];for(var o=pr(e),n=0;n<o.length;n++){var i=o[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 ji(t,e){return e===void 0&&(e=!1),Ki(t)||lt(t)||!Fe(t)||(ur(t)>1&&(t.set=t.add=t.clear=t.delete=Tp),Object.freeze(t),e&&Gt(t,function(o,n){return ji(n,!0)},!0)),t}function Tp(){Pe(2)}function Ki(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ke(t){var e=Hi[t];return e||Pe(18,t),e}function _p(t,e){Hi[t]||(Hi[t]=e)}function Ui(){return ro}function ki(t,e){e&&(Ke("Patches"),t.u=[],t.s=[],t.v=e)}function Qo(t){Fi(t),t.p.forEach(Np),t.p=null}function Fi(t){t===ro&&(ro=t.l)}function Ds(t){return ro={p:[],l:ro,h:t,m:!0,_:0}}function Np(t){var e=t[ae];e.i===0||e.i===1?e.j():e.g=!0}function Di(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||Ke("ES5").S(e,t,n),n?(o[ae].P&&(Qo(e),Pe(4)),Fe(t)&&(t=en(e,t),e.l||tn(e,t)),e.u&&Ke("Patches").M(o[ae].t,t,e.u,e.s)):t=en(e,o,[]),Qo(e),e.u&&e.v(e.u,e.s),t!==js?t:void 0}function en(t,e,o){if(Ki(e))return e;var n=e[ae];if(!n)return Gt(e,function(c,d){return Ms(t,n,e,c,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return tn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Gi(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Gt(a,function(c,d){return Ms(t,n,i,c,d,o,s)}),tn(t,i,!1),o&&t.u&&Ke("Patches").N(n,o,t.u,t.s)}return n.o}function Ms(t,e,o,n,i,a,s){if(lt(i)){var c=en(t,i,a&&e&&e.i!==3&&!dr(e.R,n)?a.concat(n):void 0);if(Ws(o,n,c),!lt(c))return;t.m=!1}else s&&o.add(i);if(Fe(i)&&!Ki(i)){if(!t.h.D&&t._<1)return;en(t,i),e&&e.A.l||tn(t,i)}}function tn(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&ji(e,o)}function Mi(t,e){var o=t[ae];return(o?Ot(o):t)[e]}function Bs(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Et(t){t.P||(t.P=!0,t.l&&Et(t.l))}function Bi(t){t.o||(t.o=Gi(t.t))}function zi(t,e,o){var n=Wi(e)?Ke("MapSet").F(e,o):Vi(e)?Ke("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Ui(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,u=oo;s&&(d=[c],u=to);var h=Proxy.revocable(d,u),f=h.revoke,m=h.proxy;return c.k=m,c.j=f,m}(e,o):Ke("ES5").J(e,o);return(o?o.A:Ui()).p.push(n),n}function Lp(t){return lt(t)||Pe(22,t),function e(o){if(!Fe(o))return o;var n,i=o[ae],a=ur(o);if(i){if(!i.P&&(i.i<4||!Ke("ES5").K(i)))return i.t;i.I=!0,n=Us(o,a),i.I=!1}else n=Us(o,a);return Gt(n,function(s,c){i&&Rp(i.t,s)===c||Ws(n,s,e(c))}),a===3?new Set(n):n}(t)}function Us(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Gi(t)}function Gs(){function t(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var u=this[ae];return oo.get(u,s)},set:function(u){var h=this[ae];oo.set(h,s,u)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][ae];if(!d.P)switch(d.i){case 5:n(d)&&Et(d);break;case 4:o(d)&&Et(d)}}}function o(s){for(var c=s.t,d=s.k,u=pr(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==ae){var m=c[f];if(m===void 0&&!dr(c,f))return!0;var x=d[f],b=x&&x[ae];if(b?b.t!==m:!Vs(x,m))return!0}}var A=!!c[ae];return u.length!==pr(c).length+(A?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&Pe(3,JSON.stringify(Ot(s)))}var a={};_p("ES5",{J:function(s,c){var d=Array.isArray(s),u=function(f,m){if(f){for(var x=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(x,""+b,t(b,!0));return x}var A=Ks(m);delete A[ae];for(var T=pr(A),_=0;_<T.length;_++){var L=T[_];A[L]=t(L,f||!!A[L].enumerable)}return Object.create(Object.getPrototypeOf(m),A)}(d,s),h={i:d?5:4,A:c?c.A:Ui(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ae,{value:h,writable:!0}),u},S:function(s,c,d){d?lt(c)&&c[ae].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[ae];if(f){var m=f.t,x=f.k,b=f.R,A=f.i;if(A===4)Gt(x,function(S){S!==ae&&(m[S]!==void 0||dr(m,S)?b[S]||u(x[S]):(b[S]=!0,Et(f)))}),Gt(m,function(S){x[S]!==void 0||dr(x,S)||(b[S]=!1,Et(f))});else if(A===5){if(n(f)&&(Et(f),b.length=!0),x.length<m.length)for(var T=x.length;T<m.length;T++)b[T]=!1;else for(var _=m.length;_<x.length;_++)b[_]=!0;for(var L=Math.min(x.length,m.length),C=0;C<L;C++)x.hasOwnProperty(C)||(b[C]=!0),b[C]===void 0&&u(x[C])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Fs,ro,Zi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Pp=typeof Map<"u",Ip=typeof Set<"u",zs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",js=Zi?Symbol.for("immer-nothing"):((Fs={})["immer-nothing"]=!0,Fs),Hs=Zi?Symbol.for("immer-draftable"):"__$immer_draftable",ae=Zi?Symbol.for("immer-state"):"__$immer_state";var $p=""+Object.prototype.constructor,pr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ks=Object.getOwnPropertyDescriptors||function(t){var e={};return pr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Hi={},oo={get:function(t,e){if(e===ae)return t;var o=Ot(t);if(!dr(o,e))return function(i,a,s){var c,d=Bs(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!Fe(n)?n:n===Mi(t.t,e)?(Bi(t),t.o[e]=zi(t.A.h,n,t)):n},has:function(t,e){return e in Ot(t)},ownKeys:function(t){return Reflect.ownKeys(Ot(t))},set:function(t,e,o){var n=Bs(Ot(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Mi(Ot(t),e),a=i?.[ae];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Vs(o,i)&&(o!==void 0||dr(t.t,e)))return!0;Bi(t),Et(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return Mi(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Bi(t),Et(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Ot(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Pe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Pe(12)}},to={};Gt(oo,function(t,e){to[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),to.deleteProperty=function(t,e){return to.set.call(this,t,e,void 0)},to.set=function(t,e,o){return oo.set.call(this,t[0],e,o,t[0])};var kp=function(){function t(o){var n=this;this.O=zs,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(A){var T=this;A===void 0&&(A=c);for(var _=arguments.length,L=Array(_>1?_-1:0),C=1;C<_;C++)L[C-1]=arguments[C];return d.produce(A,function(S){var w;return(w=a).call.apply(w,[T,S].concat(L))})}}var u;if(typeof a!="function"&&Pe(6),s!==void 0&&typeof s!="function"&&Pe(7),Fe(i)){var h=Ds(n),f=zi(n,i,void 0),m=!0;try{u=a(f),m=!1}finally{m?Qo(h):Fi(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(A){return ki(h,s),Di(A,h)},function(A){throw Qo(h),A}):(ki(h,s),Di(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===js&&(u=void 0),n.D&&ji(u,!0),s){var x=[],b=[];Ke("Patches").M(i,u,x,b),s(x,b)}return u}Pe(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),m=1;m<h;m++)f[m-1]=arguments[m];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(f))})};var s,c,d=n.produce(i,a,function(u,h){s=u,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,c]}):[d,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){Fe(o)||Pe(8),lt(o)&&(o=Lp(o));var n=Ds(this),i=zi(this,o,void 0);return i[ae].C=!0,Fi(n),i},e.finishDraft=function(o,n){var i=o&&o[ae],a=i.A;return ki(a,n),Di(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!zs&&Pe(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Ke("Patches").$;return lt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),_e=new kp,Dp=_e.produce,cb=_e.produceWithPatches.bind(_e),db=_e.setAutoFreeze.bind(_e),pb=_e.setUseProxies.bind(_e),ub=_e.applyPatches.bind(_e),fb=_e.createDraft.bind(_e),hb=_e.finishDraft.bind(_e),rn=Dp;function jt(t){"@babel/helpers - typeof";return jt=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},jt(t)}function Zs(t,e){if(jt(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(jt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function qs(t){var e=Zs(t,"string");return jt(e)=="symbol"?e:e+""}function Ys(t,e,o){return(e=qs(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Xs(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function qi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Xs(Object(o),!0).forEach(function(n){Ys(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Xs(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Oe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Js=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Yi=function(){return Math.random().toString(36).substring(7).split("").join(".")},on={INIT:"@@redux/INIT"+Yi(),REPLACE:"@@redux/REPLACE"+Yi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Yi()}};function Mp(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 Xi(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Oe(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Oe(1));return o(Xi)(t,e)}if(typeof t!="function")throw new Error(Oe(2));var i=t,a=e,s=[],c=s,d=!1;function u(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(Oe(3));return a}function f(A){if(typeof A!="function")throw new Error(Oe(4));if(d)throw new Error(Oe(5));var T=!0;return u(),c.push(A),function(){if(T){if(d)throw new Error(Oe(6));T=!1,u();var L=c.indexOf(A);c.splice(L,1),s=null}}}function m(A){if(!Mp(A))throw new Error(Oe(7));if(typeof A.type>"u")throw new Error(Oe(8));if(d)throw new Error(Oe(9));try{d=!0,a=i(a,A)}finally{d=!1}for(var T=s=c,_=0;_<T.length;_++){var L=T[_];L()}return A}function x(A){if(typeof A!="function")throw new Error(Oe(10));i=A,m({type:on.REPLACE})}function b(){var A,T=f;return A={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Oe(11));function C(){L.next&&L.next(h())}C();var S=T(C);return{unsubscribe:S}}},A[Js]=function(){return this},A}return m({type:on.INIT}),n={dispatch:m,subscribe:f,getState:h,replaceReducer:x},n[Js]=b,n}function Bp(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:on.INIT});if(typeof n>"u")throw new Error(Oe(12));if(typeof o(void 0,{type:on.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Oe(13))})}function Qs(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,c;try{Bp(o)}catch(d){c=d}return function(u,h){if(u===void 0&&(u={}),c)throw c;if(0)var f;for(var m=!1,x={},b=0;b<a.length;b++){var A=a[b],T=o[A],_=u[A],L=T(_,h);if(typeof L>"u"){var C=h&&h.type;throw new Error(Oe(14))}x[A]=L,m=m||L!==_}return m=m||a.length!==Object.keys(u).length,m?x:u}}function fr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];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 el(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Oe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=fr.apply(void 0,c)(i.dispatch),qi(qi({},i),{},{dispatch:a})}}}function tl(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var rl=tl();rl.withExtraArgument=tl;var Ji=rl;var sl=function(){var t=function(e,o){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,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Up=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},hr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},Fp=Object.defineProperty,zp=Object.defineProperties,Hp=Object.getOwnPropertyDescriptors,ol=Object.getOwnPropertySymbols,Wp=Object.prototype.hasOwnProperty,Vp=Object.prototype.propertyIsEnumerable,nl=function(t,e,o){return e in t?Fp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ct=function(t,e){for(var o in e||(e={}))Wp.call(e,o)&&nl(t,o,e[o]);if(ol)for(var n=0,i=ol(e);n<i.length;n++){var o=i[n];Vp.call(e,o)&&nl(t,o,e[o])}return t},Qi=function(t,e){return zp(t,Hp(e))},Gp=function(t,e,o){return new Promise(function(n,i){var a=function(d){try{c(o.next(d))}catch(u){i(u)}},s=function(d){try{c(o.throw(d))}catch(u){i(u)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((o=o.apply(t,e)).next())})};var jp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?fr:fr.apply(null,arguments)},Pb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Kp(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Zp=function(t){sl(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,hr([void 0],o[0].concat(this)))):new(e.bind.apply(e,hr([void 0],o.concat(this))))},e}(Array),qp=function(t){sl(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,hr([void 0],o[0].concat(this)))):new(e.bind.apply(e,hr([void 0],o.concat(this))))},e}(Array);function ra(t){return Fe(t)?rn(t,function(){}):t}function Yp(t){return typeof t=="boolean"}function Xp(){return function(e){return Jp(e)}}function Jp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new Zp;if(o&&(Yp(o)?c.push(Ji):c.push(Ji.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var u}return c}var ea=!0;function ll(t){var e=Xp(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,d=c===void 0?!0:c,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,m=f===void 0?void 0:f,x;if(typeof i=="function")x=i;else if(Kp(i))x=Qs(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 b=s;if(typeof b=="function"&&(b=b(e),!ea&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ea&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=el.apply(void 0,b),T=fr;d&&(T=jp(Ct({trace:!ea},typeof d=="object"&&d)));var _=new qp(A),L=_;Array.isArray(m)?L=hr([A],m):typeof m=="function"&&(L=m(_));var C=T.apply(void 0,L);return Xi(x,h,C)}function wt(t,e){function o(){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 Ct(Ct({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function cl(t){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function Qp(t){return typeof t=="function"}function eu(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?cl(e):[e,o,n],a=i[0],s=i[1],c=i[2],d;if(Qp(t))d=function(){return ra(t())};else{var u=ra(t);d=function(){return u}}function h(f,m){f===void 0&&(f=d());var x=hr([a[m.type]],s.filter(function(b){var A=b.matcher;return A(m)}).map(function(b){var A=b.reducer;return A}));return x.filter(function(b){return!!b}).length===0&&(x=[c]),x.reduce(function(b,A){if(A)if(lt(b)){var T=b,_=A(T,m);return _===void 0?b:_}else{if(Fe(b))return rn(b,function(L){return A(L,m)});var _=A(b,m);if(_===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return b},f)}return h.getInitialState=d,h}function tu(t,e){return t+"/"+e}function dl(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:ra(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var f=n[h],m=tu(e,h),x,b;"reducer"in f?(x=f.reducer,b=f.prepare):x=f,a[h]=x,s[m]=x,c[h]=b?wt(m,b):wt(m)});function d(){var h=typeof t.extraReducers=="function"?cl(t.extraReducers):[t.extraReducers],f=h[0],m=f===void 0?{}:f,x=h[1],b=x===void 0?[]:x,A=h[2],T=A===void 0?void 0:A,_=Ct(Ct({},m),s);return eu(o,function(L){for(var C in _)L.addCase(C,_[C]);for(var S=0,w=b;S<w.length;S++){var D=w[S];L.addMatcher(D.matcher,D.reducer)}T&&L.addDefaultCase(T)})}var u;return{name:e,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var ru="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ou=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=ru[Math.random()*64|0];return e},nu=["name","message","stack","code"],ta=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),il=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),iu=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=nu;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Db=function(){function t(e,o,n){var i=wt(e+"/fulfilled",function(h,f,m,x){return{payload:h,meta:Qi(Ct({},x||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),a=wt(e+"/pending",function(h,f,m){return{payload:void 0,meta:Qi(Ct({},m||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=wt(e+"/rejected",function(h,f,m,x,b){return{payload:x,error:(n&&n.serializeError||iu)(h||"Rejected"),meta:Qi(Ct({},b||{}),{arg:m,requestId:f,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!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 u(h){return function(f,m,x){var b=n?.idGenerator?n.idGenerator(h):ou(),A=new d,T,_=!1;function L(S){T=S,A.abort()}var C=function(){return Gp(this,null,function(){var S,w,D,z,q,K,M;return Up(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),z=(S=n?.condition)==null?void 0:S.call(n,h,{getState:m,extra:x}),su(z)?[4,z]:[3,2];case 1:z=y.sent(),y.label=2;case 2:if(z===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,q=new Promise(function(E,$){return A.signal.addEventListener("abort",function(){return $({name:"AbortError",message:T||"Aborted"})})}),f(a(b,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:b,arg:h},{getState:m,extra:x}))),[4,Promise.race([q,Promise.resolve(o(h,{dispatch:f,getState:m,extra:x,requestId:b,signal:A.signal,abort:L,rejectWithValue:function(E,$){return new ta(E,$)},fulfillWithValue:function(E,$){return new il(E,$)}})).then(function(E){if(E instanceof ta)throw E;return E instanceof il?i(E.payload,b,h,E.meta):i(E,b,h)})])];case 3:return D=y.sent(),[3,5];case 4:return K=y.sent(),D=K instanceof ta?s(null,b,h,K.payload,K.meta):s(K,b,h),[3,5];case 5:return M=n&&!n.dispatchConditionRejection&&s.match(D)&&D.meta.condition,M||f(D),[2,D]}})})}();return Object.assign(C,{abort:L,requestId:b,arg:h,unwrap:function(){return C.then(au)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function au(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function su(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var pl="listener",ul="completed",fl="cancelled",Mb="task-"+fl,Bb="task-"+ul,Ub=pl+"-"+fl,Fb=pl+"-"+ul;var oa="listenerMiddleware";var zb=wt(oa+"/add"),Hb=wt(oa+"/removeAll"),Wb=wt(oa+"/remove");var al,Vb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(al||(al=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},lu=function(t){return function(e){setTimeout(e,t)}},Gb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:lu(10);Gs();window.ftReduxStores||(window.ftReduxStores={});var na=class t extends Mt{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(cr(a))return a;if(i==null)return;let s=dl({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=ll({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[i.name]=new t(s,c,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Qr;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let d=s,u=a[d];return u?(...h)=>{let f=u(...h.map(i));return this.reduxStore.dispatch(f),f}: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 cu(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))cr(e)&&e.clear()}var nn=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);Dt(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function du(t,e,o){return new nn(t,e,o).watch()}var la={};J(la,{scrollHelper:()=>pu});var aa,an=new Map,sa=class{lock(e,o){if(o){let n=an.get(o);if(n==null||n===e)return an.set(o,e),o}}release(e,o){o&&an.get(o)===e&&an.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let a of Vn(e)){let s=a,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else c&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,i;let a=0;for(;o&&o.offsetParent!==e.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){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,c=Hr(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(o?.position,c)*(a-s)+s;n.scrollTo({behavior:o?.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=(aa=window.FluidTopicsScrollHelper)!==null&&aa!==void 0?aa:new sa;var pu=window.FluidTopicsScrollHelper;var da={};J(da,{SearchPlaceConverter:()=>cn,SearchPlaceQueryParams:()=>ee,isSearchPlaceQueryParams:()=>Kl,serializeRequest:()=>hu});var uu=Wc(yl(),1);var ml;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ml||(ml={}));var gl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(gl||(gl={}));var bl;(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.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(bl||(bl={}));var xl;(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.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(xl||(xl={}));var vl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(vl||(vl={}));var Sl;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Sl||(Sl={}));var Ol;(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.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",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.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_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.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",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"})(Ol||(Ol={}));var El;(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"})(El||(El={}));var Cl;(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",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(Cl||(Cl={}));var wl;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(wl||(wl={}));var Al;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Al||(Al={}));var Rl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Rl||(Rl={}));var Tl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Tl||(Tl={}));var _l;(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"})(_l||(_l={}));var mr;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(mr||(mr={}));var Nl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Nl||(Nl={}));var Ll;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Ll||(Ll={}));var ca;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ca||(ca={}));var Ul=t=>Object.keys(ca).includes(t);var Pl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Pl||(Pl={}));var Il;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Il||(Il={}));var $l;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})($l||($l={}));var gr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(gr||(gr={}));var Fl=t=>Object.keys(gr).includes(t);var kl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(kl||(kl={}));var Dl;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Dl||(Dl={}));var Ml;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Ml||(Ml={}));var be;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(be||(be={}));var Bl;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Bl||(Bl={}));var zl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(zl||(zl={}));var Hl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Hl||(Hl={}));var Wl;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(Wl||(Wl={}));var Vl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Vl||(Vl={}));var Gl;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Gl||(Gl={}));var ux={[be.PERSONAL_BOOK_SHARE_USER]:[be.PERSONAL_BOOK_USER],[be.HTML_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.PDF_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.KHUB_ADMIN]:[be.CONTENT_PUBLISHER],[be.ADMIN]:[be.KHUB_ADMIN,be.USERS_ADMIN,be.PORTAL_ADMIN],[be.GENERATIVE_AI_EXPORT_USER]:[be.GENERATIVE_AI_USER]};function fu(t){return`"${t}"`}function jl(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function hu(t,e){return new cn(t).serialize(e)}var ee;(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",t.KEYWORD_MATCH="keyword-match"})(ee||(ee={}));var yu=new Set(Object.values(ee));function Kl(t){return yu.has(t)}var cn=class{constructor(e,o=20,n=!1,i="en-US"){this.baseUrl=e,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,o=!1){var n,i,a,s,c,d,u,h,f,m,x;let b=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&b.append(ee.LOCALE,e.contentLocale):b.append(ee.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&b.append(ee.QUERY,e.query);let A=(a=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(S=>S.valueFilter&&!S.valueFilter.negative))!==null&&a!==void 0?a:[];if(A.length>0){let S=A.map(w=>{var D,z;let q=((z=(D=w.valueFilter)===null||D===void 0?void 0:D.values)!==null&&z!==void 0?z:[]).map(K=>this.escapeFilters(K)).map(K=>fu(jl(K))).join("_");return`${w.key}~${q}`}).join("*");b.append(ee.VALUE_FILTERS,S)}let T=(c=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(S=>S.dateFilter))!==null&&c!==void 0?c:[];if(T.length>0){let S=T.map(w=>{var D;return`${w.key}~${(D=w.dateFilter)===null||D===void 0?void 0:D.type.toLowerCase()}`}).join("*");b.append(ee.DATE_FILTERS,S)}let _=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(S=>S.rangeFilter))!==null&&u!==void 0?u:[];if(_.length>0){let S=_.map(w=>{var D,z;return`${w.key}~${(D=w.rangeFilter)===null||D===void 0?void 0:D.from}_${(z=w.rangeFilter)===null||z===void 0?void 0:z.to}`}).join("*");b.append(ee.RANGE_FILTERS,S)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&b.append(ee.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&b.append(ee.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&b.append(ee.SORT,e.sortId),!((h=e.paging)===null||h===void 0)&&h.perPage&&((m=(f=e.paging)===null||f===void 0?void 0:f.perPage)!==null&&m!==void 0?m:this.defaultPerPage)!=this.defaultPerPage&&b.append(ee.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&b.append(ee.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let L=(x=e.otherQueryParams)!==null&&x!==void 0?x:{};for(let S in L)b.append(S,L[S]);let C=new Array;return b.forEach((S,w)=>{C.push(this.encodeQueryString(w)+"="+this.encodeQueryString(S))}),encodeURI(C.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,a,s,c;try{e=decodeURI(e).replace(/%23/g,"#")}catch(_){console.warn("Could not decode search request query params, fallback on raw value",_)}let d=new URLSearchParams(e),u=d.get(ee.LOCALE)==="all"?void 0:d.get(ee.LOCALE),h=((o=d.get(ee.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),f=(n=d.get(ee.SORT))===null||n===void 0?void 0:n.toLowerCase(),m=(i=d.get(ee.SCOPE))!==null&&i!==void 0?i:"default",x=+((a=d.get(ee.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),b=d.get(ee.KEYWORD_MATCH),A=b?b.toUpperCase()===mr.MANDATORY?mr.MANDATORY:mr.OPTIONAL:void 0,T={};for(let _ of d.keys())Kl(_)||(T[_]=d.get(_));return{contentLocale:u??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(ee.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[m])!==null&&c!==void 0?c:"DEFAULT",virtualField:Ul(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Hr(1,isNaN(x)?this.defaultPerPage:x,1e3)},keywordMatch:A,otherQueryParams:T}}parseCompatFilters(e){var o,n,i,a,s,c;let d=[];return e.has(ee.FILTERS)&&(d=this.parseValueFilters((o=e.get(ee.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(ee.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(ee.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ee.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ee.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ee.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(jl).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:gr[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replace(i,o);return e}parseLegacyPeriodFilter(e){if(Fl(e))return[{key:"ft:lastEdition",dateFilter:{type:gr[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var ua={};J(ua,{toFtFormComponent:()=>no});var pa=Symbol("elementInternals"),no=Re(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[pa].form}constructor(...n){super(n),this[pa]=this.attachInternals()}setFormValue(n){this[pa].setFormValue(n)}}return e});var ha={};J(ha,{DateFormatter:()=>fa});var fa=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(e,o,n,i)}static getMomentDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a);if(!i)return s;let c=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${s} ${c}`}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var ma={};J(ma,{ALL_KEYS_VALUE:()=>ya,SameWindowStorageEvent:()=>br});var ya="__all__",br=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==ya}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new br(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new br(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new br(ya))}});var ba={};J(ba,{FocusMainContentEvent:()=>ga});var ga=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Zl={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function mu(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function gu(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",mu);document.addEventListener("click",gu);var ql=P`
|
|
49
49
|
.sr-only {
|
|
50
50
|
position:absolute;
|
|
51
51
|
left:-10000px;
|
|
@@ -69,21 +69,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
69
69
|
width:auto;
|
|
70
70
|
height:auto;
|
|
71
71
|
}
|
|
72
|
-
`;var
|
|
72
|
+
`;var bu={checkVisibility:!0},Nx=Re(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:a}={...bu,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Wr({type:"aria",message:n})))},20)}}return e});function xr(t,e,o){return t?e(t):o?.(t)}var xe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Kt;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Kt||(Kt={}));var Zt;(function(t){t.default="default",t.warning="warning",t.error="error"})(Zt||(Zt={}));var xa=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},Fx=Re(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Kt.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Zt.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Kt.blur||this.validateOn===Kt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==Zt.default&&this.validateOn===Kt.blurWithStatusResolutionOnInput||this.validateOn===Kt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new xa(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return k`
|
|
73
73
|
<ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
|
|
74
74
|
style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
|
|
75
|
-
${Ce(this.errorMessages,n
|
|
75
|
+
${Ce(this.errorMessages,n=>k`
|
|
76
76
|
<li>${n}</li>
|
|
77
77
|
`)}
|
|
78
|
-
${Ce(this.warningMessages,n
|
|
78
|
+
${Ce(this.warningMessages,n=>k`
|
|
79
79
|
<li>${n}</li>
|
|
80
80
|
`)}
|
|
81
|
-
${
|
|
81
|
+
${xr(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>k`
|
|
82
82
|
<li>${this.helperText}</li>
|
|
83
83
|
`)}
|
|
84
84
|
</ul>
|
|
85
|
-
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?
|
|
86
|
-
${e?
|
|
85
|
+
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Zt.error:this.warningMessages.length?Zt.warning:Zt.default}processRules(n){return n.map(i=>i(this.value)).filter(i=>i!==!0).map(i=>i)}}return xe([O()],e.prototype,"warningRules",void 0),xe([O()],e.prototype,"errorRules",void 0),xe([O()],e.prototype,"validateOn",void 0),xe([O({type:Boolean})],e.prototype,"validateAtRender",void 0),xe([O()],e.prototype,"label",void 0),xe([O({type:Boolean})],e.prototype,"hideLabel",void 0),xe([O()],e.prototype,"name",void 0),xe([O({type:Boolean})],e.prototype,"disabled",void 0),xe([O()],e.prototype,"helperText",void 0),xe([O()],e.prototype,"forceStatus",void 0),xe([O({reflect:!0})],e.prototype,"value",void 0),xe([j()],e.prototype,"errorMessages",void 0),xe([j()],e.prototype,"warningMessages",void 0),xe([j()],e.prototype,"status",void 0),xe([j()],e.prototype,"focused",void 0),xe([j()],e.prototype,"additionalWarningRules",void 0),xe([j()],e.prototype,"additionalErrorRules",void 0),e});var io=(t,e)=>{let o=t._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(e,!1),io(n,e);return!0},dn=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while(o?.size===0)},Yl=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),Su(e)}};function xu(t){this._$AN!==void 0?(dn(this),this._$AM=t,Yl(this)):this._$AM=t}function vu(t,e=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let a=o;a<n.length;a++)io(n[a],!1),dn(n[a]);else n!=null&&(io(n,!1),dn(n));else io(this,t)}var Su=t=>{t.type==Ve.CHILD&&(t._$AP??=vu,t._$AQ??=xu)},pn=class extends Le{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,n){super._$AT(e,o,n),Yl(this),this.isConnected=e._$AU}_$AO(e,o=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),o&&(io(this,e),dn(this))}setValue(e){if(ja(this._$Ct))this._$Ct._$AI(e,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var Xl;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Xl||(Xl={}));var Ou={sm:640,md:768,lg:1024,xl:1280},va=class extends pn{constructor(e){super(e),this.size=0,this.onResize=()=>{let o=window.innerWidth;this.size!==o&&(this.size=o,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(e,o,n){let i=this.resolveThreshold(e),a=n??(()=>F);return this.size>i?o():a()}resolveThreshold(e){return typeof e=="number"?e:Ou[e]}},ev=Me(va);var Sa,Oa,Ea,Ca,wa=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ea=(Oa=(Sa=window.safari)===null||Sa===void 0?void 0:Sa.pushNotification)===null||Oa===void 0?void 0:Oa.toString())!==null&&Ea!==void 0?Ea:"")==="[object SafariRemoteNotification]",Eu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ca=window.ftGlobals)!==null&&Ca!==void 0?Ca:{lit:In,litDecorators:Dn,litRepeat:Mn,litClassMap:Bn,litStyleMap:Un,litUnsafeHTML:Fn,wcUtils:{...Yn,...Hn,...Qn,...ha,...ei,...ti,...ii,...Zn,...Si,...ba,...Zl,...la,...ni,...Ri,...ua,...wi,...Ps,...Gn,..._i,...ai,...Li,...ql,...$s,...Ii,...ia,...ma,...Oi,...Ci,...da,isSafari:wa,isTouchScreen:Eu,setVariable:v}};var ct=t=>t??F;var Ql=Symbol.for(""),Cu=t=>{if(t?.r===Ql)return t?._$litStatic$},vr=t=>({_$litStatic$:t,r:Ql});var Jl=new Map,Aa=t=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],d,u=0,h=!1;for(;u<n;){for(d=e[u];u<n&&(a=o[u],(i=Cu(a))!==void 0);)d+=i+e[++u],h=!0;u!==n&&c.push(a),s.push(d),u++}if(u===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=Jl.get(f))===void 0&&(s.raw=s,Jl.set(f,e=s)),o=c}return t(e,...o)},Sr=Aa(k),jv=Aa(Tn),Kv=Aa(_n);var dt;(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"})(dt||(dt={}));function ec(t,e){let o=bt[t];return P`
|
|
86
|
+
${e?ke(e):P`.ft-typography--${ke(t)}`} {
|
|
87
87
|
font-family: ${o.fontFamily};
|
|
88
88
|
font-size: ${o.fontSize};
|
|
89
89
|
font-weight: ${o.fontWeight};
|
|
@@ -92,44 +92,44 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
92
92
|
text-decoration: ${o.textDecoration};
|
|
93
93
|
text-transform: ${o.textCase};
|
|
94
94
|
}
|
|
95
|
-
`}var
|
|
95
|
+
`}var tc=r.extend("--ft-typography-font-family","",I.titleFont),pt=r.extend("--ft-typography-font-family","",I.contentFont),B={fontFamily:pt,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Or={fontFamily:r.extend("--ft-typography-title-font-family","",tc),fontSize:r.extend("--ft-typography-title-font-size","",B.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",B.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",B.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",B.textTransform,"inherit")},Er={fontFamily:r.extend("--ft-typography-title-dense-font-family","",tc),fontSize:r.extend("--ft-typography-title-dense-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",B.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",B.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",B.textTransform,"inherit")},Cr={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",pt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",B.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",B.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",B.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",B.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",B.textTransform,"inherit")},wr={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",pt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",B.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",B.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",B.textTransform,"inherit")},Ie={fontFamily:r.extend("--ft-typography-body1-font-family","",pt),fontSize:r.extend("--ft-typography-body1-font-size","",B.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",B.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",B.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",B.textTransform,"inherit")},Ar={fontFamily:r.extend("--ft-typography-body2-font-family","",pt),fontSize:r.extend("--ft-typography-body2-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",B.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",B.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",B.textTransform,"inherit")},fe={fontFamily:r.extend("--ft-typography-caption-font-family","",pt),fontSize:r.extend("--ft-typography-caption-font-size","",B.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",B.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",B.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",B.textTransform,"inherit")},Rr={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",pt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",B.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",B.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",B.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",B.textTransform,"inherit")},Tr={fontFamily:r.extend("--ft-typography-overline-font-family","",pt),fontSize:r.extend("--ft-typography-overline-font-size","",B.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",B.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",B.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",B.textTransform,"uppercase")},Ze={fontFamily:r.extend("--ft-typography-button-font-family","",pt),fontSize:r.extend("--ft-typography-button-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",B.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",B.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",B.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",B.textTransform,"uppercase")},rc=P`
|
|
96
96
|
.ft-typography--title {
|
|
97
|
-
font-family: ${
|
|
98
|
-
font-size: ${
|
|
99
|
-
font-weight: ${
|
|
100
|
-
letter-spacing: ${
|
|
101
|
-
line-height: ${
|
|
102
|
-
text-transform: ${
|
|
103
|
-
}
|
|
104
|
-
`,
|
|
97
|
+
font-family: ${Or.fontFamily};
|
|
98
|
+
font-size: ${Or.fontSize};
|
|
99
|
+
font-weight: ${Or.fontWeight};
|
|
100
|
+
letter-spacing: ${Or.letterSpacing};
|
|
101
|
+
line-height: ${Or.lineHeight};
|
|
102
|
+
text-transform: ${Or.textTransform};
|
|
103
|
+
}
|
|
104
|
+
`,oc=P`
|
|
105
105
|
.ft-typography--title-dense {
|
|
106
|
-
font-family: ${
|
|
107
|
-
font-size: ${
|
|
108
|
-
font-weight: ${
|
|
109
|
-
letter-spacing: ${
|
|
110
|
-
line-height: ${
|
|
111
|
-
text-transform: ${
|
|
112
|
-
}
|
|
113
|
-
`,
|
|
106
|
+
font-family: ${Er.fontFamily};
|
|
107
|
+
font-size: ${Er.fontSize};
|
|
108
|
+
font-weight: ${Er.fontWeight};
|
|
109
|
+
letter-spacing: ${Er.letterSpacing};
|
|
110
|
+
line-height: ${Er.lineHeight};
|
|
111
|
+
text-transform: ${Er.textTransform};
|
|
112
|
+
}
|
|
113
|
+
`,nc=P`
|
|
114
114
|
.ft-typography--subtitle1 {
|
|
115
|
-
font-family: ${
|
|
116
|
-
font-size: ${
|
|
117
|
-
font-weight: ${
|
|
118
|
-
letter-spacing: ${
|
|
119
|
-
line-height: ${
|
|
120
|
-
text-transform: ${
|
|
121
|
-
}
|
|
122
|
-
`,
|
|
115
|
+
font-family: ${Cr.fontFamily};
|
|
116
|
+
font-size: ${Cr.fontSize};
|
|
117
|
+
font-weight: ${Cr.fontWeight};
|
|
118
|
+
letter-spacing: ${Cr.letterSpacing};
|
|
119
|
+
line-height: ${Cr.lineHeight};
|
|
120
|
+
text-transform: ${Cr.textTransform};
|
|
121
|
+
}
|
|
122
|
+
`,ic=P`
|
|
123
123
|
.ft-typography--subtitle2 {
|
|
124
|
-
font-family: ${
|
|
125
|
-
font-size: ${
|
|
126
|
-
font-weight: ${
|
|
127
|
-
letter-spacing: ${
|
|
128
|
-
line-height: ${
|
|
129
|
-
text-transform: ${
|
|
124
|
+
font-family: ${wr.fontFamily};
|
|
125
|
+
font-size: ${wr.fontSize};
|
|
126
|
+
font-weight: ${wr.fontWeight};
|
|
127
|
+
letter-spacing: ${wr.letterSpacing};
|
|
128
|
+
line-height: ${wr.lineHeight};
|
|
129
|
+
text-transform: ${wr.textTransform};
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
`,
|
|
132
|
+
`,un=P`
|
|
133
133
|
.ft-typography--body1 {
|
|
134
134
|
font-family: ${Ie.fontFamily};
|
|
135
135
|
font-size: ${Ie.fontSize};
|
|
@@ -138,16 +138,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
138
138
|
line-height: ${Ie.lineHeight};
|
|
139
139
|
text-transform: ${Ie.textTransform};
|
|
140
140
|
}
|
|
141
|
-
`,
|
|
141
|
+
`,fn=P`
|
|
142
142
|
.ft-typography--body2 {
|
|
143
|
-
font-family: ${
|
|
144
|
-
font-size: ${
|
|
145
|
-
font-weight: ${
|
|
146
|
-
letter-spacing: ${
|
|
147
|
-
line-height: ${
|
|
148
|
-
text-transform: ${
|
|
149
|
-
}
|
|
150
|
-
`,
|
|
143
|
+
font-family: ${Ar.fontFamily};
|
|
144
|
+
font-size: ${Ar.fontSize};
|
|
145
|
+
font-weight: ${Ar.fontWeight};
|
|
146
|
+
letter-spacing: ${Ar.letterSpacing};
|
|
147
|
+
line-height: ${Ar.lineHeight};
|
|
148
|
+
text-transform: ${Ar.textTransform};
|
|
149
|
+
}
|
|
150
|
+
`,Rt=P`
|
|
151
151
|
.ft-typography--caption {
|
|
152
152
|
font-family: ${fe.fontFamily};
|
|
153
153
|
font-size: ${fe.fontSize};
|
|
@@ -156,25 +156,25 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
156
156
|
line-height: ${fe.lineHeight};
|
|
157
157
|
text-transform: ${fe.textTransform};
|
|
158
158
|
}
|
|
159
|
-
`,
|
|
159
|
+
`,ac=P`
|
|
160
160
|
.ft-typography--breadcrumb {
|
|
161
|
-
font-family: ${
|
|
162
|
-
font-size: ${
|
|
163
|
-
font-weight: ${
|
|
164
|
-
letter-spacing: ${
|
|
165
|
-
line-height: ${
|
|
166
|
-
text-transform: ${
|
|
167
|
-
}
|
|
168
|
-
`,
|
|
161
|
+
font-family: ${Rr.fontFamily};
|
|
162
|
+
font-size: ${Rr.fontSize};
|
|
163
|
+
font-weight: ${Rr.fontWeight};
|
|
164
|
+
letter-spacing: ${Rr.letterSpacing};
|
|
165
|
+
line-height: ${Rr.lineHeight};
|
|
166
|
+
text-transform: ${Rr.textTransform};
|
|
167
|
+
}
|
|
168
|
+
`,sc=P`
|
|
169
169
|
.ft-typography--overline {
|
|
170
|
-
font-family: ${
|
|
171
|
-
font-size: ${
|
|
172
|
-
font-weight: ${
|
|
173
|
-
letter-spacing: ${
|
|
174
|
-
line-height: ${
|
|
175
|
-
text-transform: ${
|
|
176
|
-
}
|
|
177
|
-
`,
|
|
170
|
+
font-family: ${Tr.fontFamily};
|
|
171
|
+
font-size: ${Tr.fontSize};
|
|
172
|
+
font-weight: ${Tr.fontWeight};
|
|
173
|
+
letter-spacing: ${Tr.letterSpacing};
|
|
174
|
+
line-height: ${Tr.lineHeight};
|
|
175
|
+
text-transform: ${Tr.textTransform};
|
|
176
|
+
}
|
|
177
|
+
`,lc=P`
|
|
178
178
|
.ft-typography--button {
|
|
179
179
|
font-family: ${Ze.fontFamily};
|
|
180
180
|
font-size: ${Ze.fontSize};
|
|
@@ -183,19 +183,37 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
183
183
|
line-height: ${Ze.lineHeight};
|
|
184
184
|
text-transform: ${Ze.textTransform};
|
|
185
185
|
}
|
|
186
|
-
`,
|
|
186
|
+
`,cc=P`
|
|
187
187
|
.ft-typography {
|
|
188
188
|
vertical-align: inherit;
|
|
189
189
|
}
|
|
190
|
-
`,
|
|
191
|
-
<${
|
|
190
|
+
`,dc=[Object.keys(bt).map(t=>ec(t))];var pc=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ve=class extends W{constructor(){super(...arguments),this.variant=dt.body1}render(){return this.element?Sr`
|
|
191
|
+
<${vr(this.element)}
|
|
192
192
|
part="text"
|
|
193
193
|
class="ft-typography ft-typography--${this.variant}">
|
|
194
194
|
<slot></slot>
|
|
195
|
-
</${
|
|
196
|
-
`:
|
|
195
|
+
</${vr(this.element)}>
|
|
196
|
+
`:Sr`
|
|
197
197
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
198
|
-
`}};ve.styles=[
|
|
198
|
+
`}};ve.styles=[rc,oc,nc,ic,un,fn,Rt,ac,sc,lc,cc,...dc];pc([O()],ve.prototype,"element",void 0);pc([O()],ve.prototype,"variant",void 0);var Tt;(function(t){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"})(Tt||(Tt={}));function wu(t,e){let o=bt[t];return P`
|
|
199
|
+
${e?ke(e):P`.ftds-typography--${ke(t)}`} {
|
|
200
|
+
font-family: ${o.fontFamily};
|
|
201
|
+
font-size: ${o.fontSize};
|
|
202
|
+
font-weight: ${o.fontWeight};
|
|
203
|
+
letter-spacing: ${o.letterSpacing};
|
|
204
|
+
line-height: ${o.lineHeight};
|
|
205
|
+
text-decoration: ${o.textDecoration};
|
|
206
|
+
text-transform: ${o.textCase};
|
|
207
|
+
}
|
|
208
|
+
`}var uc=[Object.keys(bt).map(t=>wu(t))];var fc=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ut=class extends W{constructor(){super(...arguments),this.variant=Tt.body2medium}render(){return this.element?Sr`
|
|
209
|
+
<${vr(this.element)}
|
|
210
|
+
part="text"
|
|
211
|
+
class="ftds-typography ftds-typography--${this.variant}">
|
|
212
|
+
<slot></slot>
|
|
213
|
+
</${vr(this.element)}>
|
|
214
|
+
`:Sr`
|
|
215
|
+
<slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
|
|
216
|
+
`}};ut.styles=[...uc];fc([O()],ut.prototype,"element",void 0);fc([O()],ut.prototype,"variant",void 0);ie("ft-typography")(ve);ie("ftds-typography")(ut);var U={fontSize:r.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:r.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:r.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:r.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:r.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:r.extend("--ft-input-label-border-color","",I.colorOutline),textColor:r.extend("--ft-input-label-text-color","",I.colorOnSurfaceMedium),disabledTextColor:r.extend("--ft-input-label-disabled-text-color","",I.colorOnSurfaceDisabled),backgroundColor:r.extend("--ft-input-label-background-color","",I.colorSurface),borderRadius:r.extend("--ft-input-label-border-radius","",I.borderRadiusS),colorError:r.external(I.colorError,"Design system")},hc=P`
|
|
199
217
|
.ft-input-label {
|
|
200
218
|
position: absolute;
|
|
201
219
|
inset: 0;
|
|
@@ -317,24 +335,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
317
335
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
318
336
|
border-top: none;
|
|
319
337
|
}
|
|
320
|
-
`;var
|
|
321
|
-
<div class="${
|
|
322
|
-
${
|
|
338
|
+
`;var yc=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ft=class extends W{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return k`
|
|
339
|
+
<div class="${ge(this.inputLabelClasses)}">
|
|
340
|
+
${xr(this.text,()=>k`
|
|
323
341
|
<div class="ft-input-label--text ft-typography--caption">
|
|
324
342
|
<label class="ft-input-label--floating-text">${this.text}</label>
|
|
325
343
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
326
344
|
</div>
|
|
327
345
|
`)}
|
|
328
346
|
</div>
|
|
329
|
-
`}};
|
|
347
|
+
`}};ft.elementDefinitions={};yc([O({type:String})],ft.prototype,"text",void 0);yc([O({type:Boolean})],ft.prototype,"raised",void 0);var Ra=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ne=class extends ft{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"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}}};Ne.elementDefinitions={};Ne.styles=[Rt,hc];Ra([O({type:Boolean})],Ne.prototype,"outlined",void 0);Ra([O({type:Boolean})],Ne.prototype,"error",void 0);Ra([O({type:Boolean})],Ne.prototype,"disabled",void 0);var Ee={fontSize:r.extend("--ft-input-label-font-size","",gt.fontSize),fontSizeRaised:r.extend("--ft-input-label-font-size-raised","",ot.fontSize),lineHeight:r.extend("--ft-input-label-line-height","",ot.lineHeight),color:r.extend("--ft-input-label-color","",p.contentGlobalSubtle),largeFieldHeight:r.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:r.extend("--ft-input-label-large-field-vertical-gap","",l.spacing05),largeFieldHorizontalPadding:r.extend("--ft-input-label-large-field-horizontal-padding","",l.spacing4),mediumFieldHeight:r.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:r.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:r.extend("--ft-input-label-medium-field-horizontal-padding","",l.spacing4),additionalPaddingLeft:r.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:r.create("--ft-input-label-additional-padding-right","","SIZE","0px")},mc=[P`
|
|
330
348
|
|
|
331
349
|
:root {
|
|
332
350
|
--field-height: ${Ee.largeFieldHeight};
|
|
333
351
|
--field-vertical-gap: ${Ee.largeFieldVerticalGap};
|
|
334
352
|
--field-horizontal-padding: ${Ee.largeFieldHorizontalPadding};
|
|
335
353
|
|
|
336
|
-
--typo-caption-height: calc(${
|
|
337
|
-
--typo-body-height: calc(${
|
|
354
|
+
--typo-caption-height: calc(${ot.lineHeight} * ${ot.fontSize});
|
|
355
|
+
--typo-body-height: calc(${gt.lineHeight} * ${gt.fontSize});
|
|
338
356
|
--caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
|
|
339
357
|
--input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
|
|
340
358
|
}
|
|
@@ -408,7 +426,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
408
426
|
top: var(--input-content-vertical-padding);
|
|
409
427
|
}
|
|
410
428
|
|
|
411
|
-
`];var
|
|
429
|
+
`];var ao=class extends lr(ft){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};ao.styles=[Rt,mc];ie("ft-input-label")(Ne);ie("ftds-input-label")(ao);var gc=r.extend("--ft-ripple-color","",I.colorContent),R={color:gc,backgroundColor:r.extend("--ft-ripple-background-color","",gc),opacityContentOnSurfacePressed:r.external(I.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(I.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(I.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(I.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},bc=r.extend("--ft-ripple-color","",I.colorPrimary),xc={color:bc,backgroundColor:r.extend("--ft-ripple-background-color","",bc)},vc=r.extend("--ft-ripple-color","",I.colorSecondary),Sc={color:vc,backgroundColor:r.extend("--ft-ripple-background-color","",vc)},Oc=P`
|
|
412
430
|
:host {
|
|
413
431
|
display: contents;
|
|
414
432
|
}
|
|
@@ -463,19 +481,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
463
481
|
}
|
|
464
482
|
|
|
465
483
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
466
|
-
background-color: ${
|
|
484
|
+
background-color: ${Sc.backgroundColor};
|
|
467
485
|
}
|
|
468
486
|
|
|
469
487
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
470
|
-
background-color: ${
|
|
488
|
+
background-color: ${Sc.color};
|
|
471
489
|
}
|
|
472
490
|
|
|
473
491
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
474
|
-
background-color: ${
|
|
492
|
+
background-color: ${xc.backgroundColor};
|
|
475
493
|
}
|
|
476
494
|
|
|
477
495
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
478
|
-
background-color: ${
|
|
496
|
+
background-color: ${xc.color};
|
|
479
497
|
}
|
|
480
498
|
|
|
481
499
|
.ft-ripple .ft-ripple--background {
|
|
@@ -520,18 +538,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
520
538
|
opacity: ${R.opacityContentOnSurfacePressed};
|
|
521
539
|
transform: translate(-50%, -50%) scale(1);
|
|
522
540
|
}
|
|
523
|
-
`;var Ae=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},te=class extends
|
|
541
|
+
`;var Ae=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},te=class extends W{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 Be(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 Be(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.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 k`
|
|
524
542
|
<style>
|
|
525
543
|
.ft-ripple .ft-ripple--effect {
|
|
526
544
|
left: ${this.originX}px;
|
|
527
545
|
top: ${this.originY}px;
|
|
528
546
|
}
|
|
529
547
|
</style>
|
|
530
|
-
<div class="${
|
|
548
|
+
<div class="${ge(e)}">
|
|
531
549
|
<div class="ft-ripple--background"></div>
|
|
532
550
|
<div class="ft-ripple--effect"></div>
|
|
533
551
|
</div>
|
|
534
|
-
`}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 o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}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 o=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},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 o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o: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 o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};te.elementDefinitions={};te.styles=bc;Ae([E({type:Boolean})],te.prototype,"primary",void 0);Ae([E({type:Boolean})],te.prototype,"secondary",void 0);Ae([E({type:Boolean})],te.prototype,"unbounded",void 0);Ae([E({type:Boolean})],te.prototype,"activated",void 0);Ae([E({type:Boolean})],te.prototype,"selected",void 0);Ae([E({type:Boolean})],te.prototype,"disabled",void 0);Ae([V()],te.prototype,"hovered",void 0);Ae([V()],te.prototype,"focused",void 0);Ae([V()],te.prototype,"pressed",void 0);Ae([V()],te.prototype,"rippling",void 0);Ae([V()],te.prototype,"originX",void 0);Ae([V()],te.prototype,"originY",void 0);Ae([Q(".ft-ripple")],te.prototype,"ripple",void 0);Ae([Q(".ft-ripple--effect")],te.prototype,"rippleEffect",void 0);ne("ft-ripple")(te);var qe;(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="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CLOUD_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID=""})(qe||(qe={}));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 kS=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])]);var DS={[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 de={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xc=[k`
|
|
552
|
+
`}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 o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}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 o=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},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 o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o: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 o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};te.elementDefinitions={};te.styles=Oc;Ae([O({type:Boolean})],te.prototype,"primary",void 0);Ae([O({type:Boolean})],te.prototype,"secondary",void 0);Ae([O({type:Boolean})],te.prototype,"unbounded",void 0);Ae([O({type:Boolean})],te.prototype,"activated",void 0);Ae([O({type:Boolean})],te.prototype,"selected",void 0);Ae([O({type:Boolean})],te.prototype,"disabled",void 0);Ae([j()],te.prototype,"hovered",void 0);Ae([j()],te.prototype,"focused",void 0);Ae([j()],te.prototype,"pressed",void 0);Ae([j()],te.prototype,"rippling",void 0);Ae([j()],te.prototype,"originX",void 0);Ae([j()],te.prototype,"originY",void 0);Ae([Q(".ft-ripple")],te.prototype,"ripple",void 0);Ae([Q(".ft-ripple--effect")],te.prototype,"rippleEffect",void 0);ie("ft-ripple")(te);var qe;(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="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CLOUD_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID=""})(qe||(qe={}));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 wO=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])]);var AO={[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 de={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ec=[P`
|
|
535
553
|
:host, i.ft-icon {
|
|
536
554
|
display: inline-flex;
|
|
537
555
|
align-items: center;
|
|
@@ -579,12 +597,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
579
597
|
.ft-icon--material {
|
|
580
598
|
font-family: ${de.materialFontFamily}, "Material Icons", sans-serif;
|
|
581
599
|
}
|
|
582
|
-
`,
|
|
600
|
+
`,Wt];var Ye;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ye||(Ye={}));var so=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},pe=class extends W{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=F}render(){let e=this.variant&&Object.values(Ye).includes(this.variant)?this.variant:Ye.fluid_topics,o=e!==Ye.material||!!this.value;return k`
|
|
583
601
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
584
|
-
${
|
|
602
|
+
${Fr(this.resolvedIcon)}
|
|
585
603
|
<slot ?hidden=${o}></slot>
|
|
586
604
|
</i>
|
|
587
|
-
`}
|
|
605
|
+
`}getTextContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.getTextContent();switch(this.variant){case Ye.file_format:this.resolvedIcon=(e=N[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ye.material:this.resolvedIcon=this.value||F;break;default:this.resolvedIcon=(o=qe[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};pe.elementDefinitions={};pe.styles=Ec;so([O()],pe.prototype,"variant",void 0);so([O()],pe.prototype,"value",void 0);so([O({reflect:!0,attribute:"aria-hidden"})],pe.prototype,"ariaHidden",void 0);so([j()],pe.prototype,"resolvedIcon",void 0);so([Q("slot")],pe.prototype,"slottedContent",void 0);ie("ft-icon")(pe);var V={labelSize:r.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:r.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:r.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:r.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:r.extend("--ft-select-selected-option-color","",I.colorOnSurface),helperColor:r.extend("--ft-select-helper-color","",I.colorOnSurfaceMedium),optionsColor:r.extend("--ft-select-options-color","",I.colorOnSurface),optionsZIndex:r.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:r.extend("--ft-select-background-color","",I.colorSurface),colorOnSurfaceDisabled:r.external(I.colorOnSurfaceDisabled,"Design system"),colorPrimary:r.external(I.colorPrimary,"Design system"),borderRadiusS:r.external(I.borderRadiusS,"Design system"),elevation02:r.external(I.elevation02,"Design system"),colorError:r.external(I.colorError,"Design system")},Cc=P`
|
|
588
606
|
*:focus {
|
|
589
607
|
outline: none;
|
|
590
608
|
}
|
|
@@ -598,7 +616,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
598
616
|
.ft-select--main-panel {
|
|
599
617
|
position: relative;
|
|
600
618
|
display: flex;
|
|
601
|
-
height: calc(4 * ${
|
|
619
|
+
height: calc(4 * ${V.verticalSpacing} + ${V.labelSize} + ${V.selectedOptionSize});
|
|
602
620
|
}
|
|
603
621
|
|
|
604
622
|
.ft-select--input-panel {
|
|
@@ -607,11 +625,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
607
625
|
display: flex;
|
|
608
626
|
align-items: center;
|
|
609
627
|
overflow: hidden;
|
|
610
|
-
padding-left: ${
|
|
611
|
-
padding-right: ${
|
|
628
|
+
padding-left: ${V.horizontalSpacing};
|
|
629
|
+
padding-right: ${V.horizontalSpacing};
|
|
612
630
|
gap: 8px;
|
|
613
|
-
color: ${
|
|
614
|
-
${v(R.color,
|
|
631
|
+
color: ${V.selectedOptionColor};
|
|
632
|
+
${v(R.color,V.selectedOptionColor)};
|
|
615
633
|
}
|
|
616
634
|
|
|
617
635
|
.ft-select--input-panel,
|
|
@@ -627,7 +645,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
627
645
|
|
|
628
646
|
.ft-select--disabled .ft-select--input-panel,
|
|
629
647
|
.ft-select--disabled .ft-select--option {
|
|
630
|
-
color: ${
|
|
648
|
+
color: ${V.colorOnSurfaceDisabled};
|
|
631
649
|
}
|
|
632
650
|
|
|
633
651
|
.ft-select:not(.ft-select--disabled) .ft-select--input-panel,
|
|
@@ -636,21 +654,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
636
654
|
}
|
|
637
655
|
|
|
638
656
|
ft-input-label {
|
|
639
|
-
${v(U.fontSize,
|
|
640
|
-
${v(U.raisedFontSize,
|
|
641
|
-
${v(U.verticalSpacing,
|
|
642
|
-
${v(U.horizontalSpacing,
|
|
643
|
-
${v(U.backgroundColor,
|
|
657
|
+
${v(U.fontSize,V.selectedOptionSize)};
|
|
658
|
+
${v(U.raisedFontSize,V.labelSize)};
|
|
659
|
+
${v(U.verticalSpacing,V.verticalSpacing)};
|
|
660
|
+
${v(U.horizontalSpacing,V.horizontalSpacing)};
|
|
661
|
+
${v(U.backgroundColor,V.backgroundColor)};
|
|
644
662
|
${v(U.labelMaxWidth,`calc(100% - ${de.size} - 8px)`)};
|
|
645
663
|
}
|
|
646
664
|
|
|
647
665
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
648
|
-
color: ${
|
|
666
|
+
color: ${V.colorPrimary};
|
|
649
667
|
}
|
|
650
668
|
|
|
651
669
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
652
|
-
${v(U.borderColor,
|
|
653
|
-
${v(U.textColor,
|
|
670
|
+
${v(U.borderColor,V.colorPrimary)};
|
|
671
|
+
${v(U.textColor,V.colorPrimary)};
|
|
654
672
|
}
|
|
655
673
|
|
|
656
674
|
.ft-select--selected-option {
|
|
@@ -660,12 +678,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
660
678
|
overflow: hidden;
|
|
661
679
|
white-space: nowrap;
|
|
662
680
|
text-overflow: ellipsis;
|
|
663
|
-
${v(Ie.fontSize,
|
|
664
|
-
${v(Ie.lineHeight,
|
|
681
|
+
${v(Ie.fontSize,V.selectedOptionSize)};
|
|
682
|
+
${v(Ie.lineHeight,V.selectedOptionSize)};
|
|
665
683
|
}
|
|
666
684
|
|
|
667
685
|
.ft-select--in-error .ft-select--selected-option {
|
|
668
|
-
color: ${
|
|
686
|
+
color: ${V.colorError};
|
|
669
687
|
}
|
|
670
688
|
|
|
671
689
|
ft-icon {
|
|
@@ -677,26 +695,26 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
677
695
|
}
|
|
678
696
|
|
|
679
697
|
.ft-select--filled .ft-select--input-panel {
|
|
680
|
-
border-radius: ${
|
|
698
|
+
border-radius: ${V.borderRadiusS} ${V.borderRadiusS} 0 0;
|
|
681
699
|
}
|
|
682
700
|
|
|
683
701
|
.ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
|
|
684
702
|
align-self: stretch;
|
|
685
|
-
padding-top: calc(${
|
|
703
|
+
padding-top: calc(${V.labelSize} + 2 * ${V.verticalSpacing});
|
|
686
704
|
}
|
|
687
705
|
|
|
688
706
|
.ft-select--outlined .ft-select--input-panel {
|
|
689
|
-
border-radius: ${
|
|
707
|
+
border-radius: ${V.borderRadiusS};
|
|
690
708
|
}
|
|
691
709
|
|
|
692
710
|
.ft-select--options {
|
|
693
711
|
display: none;
|
|
694
712
|
position: absolute;
|
|
695
713
|
top: 100%;
|
|
696
|
-
color: ${
|
|
697
|
-
background: ${
|
|
698
|
-
z-index: ${
|
|
699
|
-
box-shadow: ${
|
|
714
|
+
color: ${V.optionsColor};
|
|
715
|
+
background: ${V.backgroundColor};
|
|
716
|
+
z-index: ${V.optionsZIndex};
|
|
717
|
+
box-shadow: ${V.elevation02};
|
|
700
718
|
}
|
|
701
719
|
|
|
702
720
|
.ft-select--fixed .ft-select--options {
|
|
@@ -705,20 +723,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
705
723
|
|
|
706
724
|
.ft-select--options-displayed .ft-select--options {
|
|
707
725
|
display: block;
|
|
708
|
-
max-height: ${
|
|
726
|
+
max-height: ${V.optionsHeight};
|
|
709
727
|
overflow-y: auto;
|
|
710
728
|
}
|
|
711
729
|
|
|
712
730
|
.ft-select--option {
|
|
713
731
|
position: relative;
|
|
714
|
-
padding: 4px ${
|
|
732
|
+
padding: 4px ${V.horizontalSpacing};
|
|
715
733
|
min-height: 32px;
|
|
716
734
|
display: flex;
|
|
717
735
|
align-items: center;
|
|
718
736
|
}
|
|
719
737
|
|
|
720
738
|
.ft-select--option:hover {
|
|
721
|
-
border-left: 2px ${
|
|
739
|
+
border-left: 2px ${V.colorPrimary} solid;
|
|
722
740
|
}
|
|
723
741
|
|
|
724
742
|
.ft-select--option span {
|
|
@@ -727,15 +745,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
727
745
|
}
|
|
728
746
|
|
|
729
747
|
.ft-select--helper-text {
|
|
730
|
-
padding: 0 ${
|
|
731
|
-
color: ${
|
|
748
|
+
padding: 0 ${V.horizontalSpacing};
|
|
749
|
+
color: ${V.helperColor};
|
|
732
750
|
}
|
|
733
751
|
|
|
734
752
|
.ft-select--in-error .ft-select--helper-text {
|
|
735
|
-
color: ${
|
|
753
|
+
color: ${V.colorError};
|
|
736
754
|
}
|
|
737
|
-
`;var se=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},
|
|
738
|
-
<div class="${
|
|
755
|
+
`;var se=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},_t=class extends W{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return k``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};_t.elementDefinitions={};se([O({type:String})],_t.prototype,"label",void 0);se([O({type:Object,converter:t=>t})],_t.prototype,"value",void 0);se([O({type:Boolean,reflect:!0})],_t.prototype,"selected",void 0);var re=class t extends W{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,o,n,i,a;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((n=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&n!==void 0?n:"").length>0,u={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return k`
|
|
756
|
+
<div class="${ge(u)}" part="container">
|
|
739
757
|
<div class="ft-select--main-panel" part="main-panel">
|
|
740
758
|
<ft-input-label text="${this.label}"
|
|
741
759
|
part="label"
|
|
@@ -750,14 +768,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
750
768
|
tabindex="${c?"-1":"0"}"
|
|
751
769
|
@click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
|
|
752
770
|
@keydown=${this.onMainPanelKeyDown}
|
|
753
|
-
aria-label="${
|
|
754
|
-
aria-labelledby="${
|
|
771
|
+
aria-label="${ct(this.ariaLabel)}"
|
|
772
|
+
aria-labelledby="${xr(!this.ariaLabel,()=>"label")}"
|
|
755
773
|
aria-haspopup="listbox"
|
|
756
774
|
aria-expanded="${s}"
|
|
757
|
-
aria-activedescendant="${
|
|
775
|
+
aria-activedescendant="${ct(this.getOptionId(this.selectedOption))}"
|
|
758
776
|
role="combobox">
|
|
759
777
|
<ft-ripple ?disabled=${c} ?activated=${!this.outlined}></ft-ripple>
|
|
760
|
-
<ft-typography variant="${
|
|
778
|
+
<ft-typography variant="${dt.body1}" class="ft-select--selected-option">
|
|
761
779
|
${(a=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&a!==void 0?a:""}
|
|
762
780
|
</ft-typography>
|
|
763
781
|
<ft-icon aria-hidden="true" .value=${s?qe.THIN_ARROW_UP:qe.THIN_ARROW}></ft-icon>
|
|
@@ -770,27 +788,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
770
788
|
</div>
|
|
771
789
|
</div>
|
|
772
790
|
<slot name="helper" part="helper">
|
|
773
|
-
${this.helper
|
|
774
|
-
<ft-typography class="ft-select--helper-text" variant="${
|
|
791
|
+
${this.helper?k`
|
|
792
|
+
<ft-typography class="ft-select--helper-text" variant="${dt.caption}">${this.helper}
|
|
775
793
|
</ft-typography>`:F}
|
|
776
794
|
</slot>
|
|
777
795
|
</div>
|
|
778
796
|
<slot @slotchange=${this.updateOptionsFromSlot}
|
|
779
797
|
@option-change=${this.updateOptionsFromSlot}
|
|
780
798
|
></slot>
|
|
781
|
-
`}renderOption(e,o){let
|
|
782
|
-
<div class="${
|
|
783
|
-
part="option"
|
|
799
|
+
`}renderOption(e,o){var n;let i=this.selectedOption===e;return k`
|
|
800
|
+
<div class="${ge({"ft-select--option":!0,"ft-select--option-selected":i,"ft-typography--body2":!0})}"
|
|
801
|
+
part="option option-${(n=e.value)===null||n===void 0?void 0:n.replace(/[^\w-]/g,"")}"
|
|
784
802
|
tabindex="0"
|
|
785
803
|
aria-label="${e.label}"
|
|
786
804
|
data-value="${e.value}"
|
|
787
805
|
id="${"option-"+o}"
|
|
788
|
-
@keydown=${
|
|
806
|
+
@keydown=${s=>this.onOptionKeyDown(s,e)}
|
|
789
807
|
@click=${()=>this.selectOption(e)}>
|
|
790
|
-
<ft-ripple ?primary=${
|
|
808
|
+
<ft-ripple ?primary=${i} ?activated=${i}></ft-ripple>
|
|
791
809
|
<span>${e.label}</span>
|
|
792
810
|
</div>
|
|
793
|
-
`}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var o,n;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(o=this.selectedOptionElement)!==null&&o!==void 0?o: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"];
|
|
811
|
+
`}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var o,n;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(o=this.selectedOptionElement)!==null&&o!==void 0?o: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"];qr(this.mainPanel,this.optionsMenu,"bottom",i,"fixed",V.optionsHeight,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 o;e.stopPropagation();let n=(o=this.optionsSlot)===null||o===void 0?void 0:o.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 o,n,i,a,s;let c;switch(e.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),c=(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(),c=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(c=this.handleAlphanumericPress(e.key));break}c?.focus()}isKeyAlphanumeric(e){let o=e.charCodeAt(0);return o>47&&o<58||o>64&&o<91||o>96&&o<123}handleAlphanumericPress(e){var o,n;let i=new Date;i.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(c=>{var d;return((d=c.label)===null||d===void 0?void 0:d.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=i;return}let s=(n=(o=this.optionsMenu)===null||o===void 0?void 0:o.querySelector(`[data-value="${a.value}"]`))!==null&&n!==void 0?n:void 0;return this.lastSearchInputDate=i,s}onOptionKeyDown(e,o){var n;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}getOptionId(e){if(!e)return;let o=this.options.findIndex(n=>yt(n.value,e.value));if(o!==-1)return`option-${o}`}selectOption(e){var o,n;if(!yt((o=this.selectedOption)===null||o===void 0?void 0:o.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)}};re.elementDefinitions={"ft-input-label":Ne,"ft-typography":ve,"ft-ripple":te,"ft-icon":pe};re.searchTimeoutMilliseconds=2e3;re.styles=[fn,Rt,Cc];se([O({type:String})],re.prototype,"label",void 0);se([O({type:String})],re.prototype,"ariaLabel",void 0);se([O({type:String})],re.prototype,"helper",void 0);se([O({type:Boolean})],re.prototype,"outlined",void 0);se([O({type:Boolean})],re.prototype,"disabled",void 0);se([O({type:Boolean})],re.prototype,"error",void 0);se([O({type:Boolean})],re.prototype,"fixedMenuPosition",void 0);se([O({type:Array})],re.prototype,"options",void 0);se([j()],re.prototype,"selectedOption",void 0);se([j()],re.prototype,"optionsDisplayed",void 0);se([j()],re.prototype,"focusOptions",void 0);se([j()],re.prototype,"currentSearch",void 0);se([j()],re.prototype,"lastSearchInputDate",void 0);se([Q(".ft-select")],re.prototype,"container",void 0);se([Q(".ft-select--options")],re.prototype,"optionsMenu",void 0);se([Q(".ft-select--input-panel")],re.prototype,"mainPanel",void 0);se([Q(".ft-select--option:first-child")],re.prototype,"firstOption",void 0);se([Q(".ft-select--option:focus")],re.prototype,"focusedOption",void 0);se([Q(".ft-select--option.ft-select--option-selected")],re.prototype,"selectedOptionElement",void 0);se([Q(".ft-select--option:last-child")],re.prototype,"lastOption",void 0);se([Q("slot:not([name])")],re.prototype,"optionsSlot",void 0);ie("ft-select")(re);ie("ft-select-option")(_t);var H={fontSize:r.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:r.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:r.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:r.extend("--ft-text-field-helper-color","",I.colorOnSurfaceMedium),colorPrimary:r.external(I.colorPrimary,"Design system"),colorOnSurface:r.external(I.colorOnSurface,"Design system"),colorOnSurfaceDisabled:r.external(I.colorOnSurfaceDisabled,"Design system"),borderRadiusS:r.external(I.borderRadiusS,"Design system"),colorError:r.external(I.colorError,"Design system"),prefixColor:r.extend("--ft-text-field-prefix-color","",I.colorOnSurfaceMedium),iconColor:r.extend("--ft-text-field-icon-color","",I.colorOnSurfaceMedium),floatingZIndex:r.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:r.extend("--ft-text-field-background-color","",I.colorSurface),colorOutline:r.external(I.colorOutline,"Design system"),elevation02:r.external(I.elevation02,"Design system"),suggestSize:r.create("--ft-text-field-suggest-size","","SIZE","300px")},wc=P`
|
|
794
812
|
*:focus {
|
|
795
813
|
outline: none;
|
|
796
814
|
}
|
|
@@ -949,7 +967,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
949
967
|
.ft-text-field--with-password ft-icon:hover {
|
|
950
968
|
cursor: pointer;
|
|
951
969
|
}
|
|
952
|
-
`;var
|
|
970
|
+
`;var Ac=P`
|
|
953
971
|
.ft-text-field-suggestion {
|
|
954
972
|
position: relative;
|
|
955
973
|
padding: 8px 16px;
|
|
@@ -985,13 +1003,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
985
1003
|
slot {
|
|
986
1004
|
pointer-events: none;
|
|
987
1005
|
}
|
|
988
|
-
`;var
|
|
989
|
-
<div class
|
|
1006
|
+
`;var hn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ta=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},$e=class extends W{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return k`
|
|
1007
|
+
<div class="${ge(e)}"
|
|
990
1008
|
tabindex="-1"
|
|
991
1009
|
@keydown=${this.onKeyDown}
|
|
992
1010
|
@click=${this.confirmSuggestion}>
|
|
993
1011
|
<ft-ripple></ft-ripple>
|
|
994
|
-
${this.helper
|
|
1012
|
+
${this.helper?k`
|
|
995
1013
|
<ft-typography class="ft-text-field-suggestion--helper-text" variant="caption">
|
|
996
1014
|
${this.helper}
|
|
997
1015
|
</ft-typography>`:F}
|
|
@@ -1001,8 +1019,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1001
1019
|
<slot></slot>
|
|
1002
1020
|
</ft-typography>
|
|
1003
1021
|
</div>
|
|
1004
|
-
`}focus(e){var o;(o=this.container)===null||o===void 0||o.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new
|
|
1005
|
-
<div class="${
|
|
1022
|
+
`}focus(e){var o;(o=this.container)===null||o===void 0||o.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new Ta(this.getValue()))}getValue(){return this.value||this.getTextContent()}getTextContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};$e.elementDefinitions={"ft-ripple":te,"ft-typography":ve,"ft-icon":pe};$e.styles=Ac;hn([O()],$e.prototype,"value",void 0);hn([O()],$e.prototype,"helper",void 0);hn([Q(".ft-text-field-suggestion")],$e.prototype,"container",void 0);hn([Ur()],$e.prototype,"assignedNodes",void 0);var Y=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},G=class extends no(W){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=qe.EYE_SLASH,this.passwordRevealedIcon=qe.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let o=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){let e={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},o=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),i=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||o;return k`
|
|
1023
|
+
<div class="${ge(e)}">
|
|
1006
1024
|
<div class="ft-text-field--main-panel"
|
|
1007
1025
|
@keydown=${this.handleKeyboardNavigation}
|
|
1008
1026
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -1012,19 +1030,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1012
1030
|
?raised=${this.focused||this.value!=""}
|
|
1013
1031
|
?error=${this.error}></ft-input-label>
|
|
1014
1032
|
<div class="ft-text-field--input-panel">
|
|
1015
|
-
${this.outlined?F
|
|
1033
|
+
${this.outlined?F:k`
|
|
1016
1034
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
1017
1035
|
`}
|
|
1018
|
-
${this.prefix
|
|
1036
|
+
${this.prefix?k`
|
|
1019
1037
|
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
1020
1038
|
${this.prefix}
|
|
1021
1039
|
</ft-typography>
|
|
1022
1040
|
`:F}
|
|
1023
1041
|
<input type="${this.resolveInputType()}"
|
|
1024
|
-
name="${
|
|
1025
|
-
maxlength="${
|
|
1042
|
+
name="${ct(this.name)}"
|
|
1043
|
+
maxlength="${ct(this.maxLength||void 0)}"
|
|
1026
1044
|
aria-label="${this.label}"
|
|
1027
|
-
autocomplete="${
|
|
1045
|
+
autocomplete="${ct(this.autocomplete)}"
|
|
1028
1046
|
class="ft-typography--body1 ft-text-field--input"
|
|
1029
1047
|
part="input"
|
|
1030
1048
|
?disabled=${this.disabled}
|
|
@@ -1037,40 +1055,40 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1037
1055
|
<div class="ft-text-field--suggestions"
|
|
1038
1056
|
@suggestion-selected=${this.onSuggestionSelected}>
|
|
1039
1057
|
${this.renderSuggestions()}
|
|
1040
|
-
${i
|
|
1058
|
+
${i?k`
|
|
1041
1059
|
<ft-text-field-suggestion class="ft-text-field-suggestion--new-value" helper="${this.suggestionsHelper}">
|
|
1042
1060
|
${this.value}
|
|
1043
1061
|
</ft-text-field-suggestion>
|
|
1044
1062
|
`:F}
|
|
1045
1063
|
</div>
|
|
1046
1064
|
</div>
|
|
1047
|
-
${this.helper
|
|
1065
|
+
${this.helper?k`
|
|
1048
1066
|
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
1049
1067
|
${this.helper}
|
|
1050
1068
|
</ft-typography>
|
|
1051
1069
|
`:F}
|
|
1052
1070
|
</div>
|
|
1053
|
-
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider
|
|
1054
|
-
${Ce(this.providedSuggestions,e
|
|
1071
|
+
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?k`
|
|
1072
|
+
${Ce(this.providedSuggestions,e=>k`
|
|
1055
1073
|
<ft-text-field-suggestion value="${e.value}" @click=${o=>this.onSuggestionClick(o,e.clickHandler)}>
|
|
1056
|
-
${e.icon
|
|
1074
|
+
${e.icon?k`
|
|
1057
1075
|
<ft-icon .value=${e.icon}></ft-icon>
|
|
1058
1076
|
`:F}
|
|
1059
1077
|
${e.label}
|
|
1060
1078
|
</ft-text-field-suggestion>`)}
|
|
1061
|
-
|
|
1079
|
+
`:k`
|
|
1062
1080
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
1063
|
-
`}onSuggestionClick(e,o){o&&(e.preventDefault(),o(e))}renderPasswordIcon(){return
|
|
1081
|
+
`}onSuggestionClick(e,o){o&&(e.preventDefault(),o(e))}renderPasswordIcon(){return k`
|
|
1064
1082
|
<ft-icon class="ft-text-field--icon"
|
|
1065
1083
|
.variant=${this.iconVariant}
|
|
1066
1084
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
1067
1085
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
1068
|
-
`}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon
|
|
1086
|
+
`}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?k`
|
|
1069
1087
|
<ft-icon class="ft-text-field--icon"
|
|
1070
1088
|
.variant=${this.iconVariant}
|
|
1071
1089
|
.value=${this.icon}
|
|
1072
1090
|
@click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
|
|
1073
|
-
`:F}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("value")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var o,n,i;!((o=this.input)===null||o===void 0)&&o.matches(":autofill")&&this.dispatchedValue!==((n=this.input)===null||n===void 0?void 0:n.value)&&this.setValue((i=this.input)===null||i===void 0?void 0:i.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,o=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),o&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var o;let n=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(n,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var o;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),i;e.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[i])===null||o===void 0||o.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var o;this.setValue(e.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,o;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];
|
|
1091
|
+
`:F}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("value")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var o,n,i;!((o=this.input)===null||o===void 0)&&o.matches(":autofill")&&this.dispatchedValue!==((n=this.input)===null||n===void 0?void 0:n.value)&&this.setValue((i=this.input)===null||i===void 0?void 0:i.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,o=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),o&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var o;let n=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(n,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var o;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),i;e.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[i])===null||o===void 0||o.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var o;this.setValue(e.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,o;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];qr(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--text-field-internal-suggest-size",0).then(({x:o,y:n})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${n}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};G.elementDefinitions={"ft-input-label":Ne,"ft-ripple":te,"ft-typography":ve,"ft-icon":pe,"ft-text-field-suggestion":$e};G.styles=[un,Ni,wc];Y([O()],G.prototype,"label",void 0);Y([O({noAccessor:!0})],G.prototype,"value",null);Y([j()],G.prototype,"dispatchedValue",void 0);Y([O()],G.prototype,"helper",void 0);Y([O()],G.prototype,"suggestionsHelper",void 0);Y([O({type:Boolean})],G.prototype,"outlined",void 0);Y([O({type:Boolean})],G.prototype,"disabled",void 0);Y([O({type:Boolean})],G.prototype,"error",void 0);Y([O({type:Boolean})],G.prototype,"fixedMenuPosition",void 0);Y([O()],G.prototype,"prefix",void 0);Y([O()],G.prototype,"icon",void 0);Y([O()],G.prototype,"name",void 0);Y([O()],G.prototype,"type",void 0);Y([O()],G.prototype,"passwordHiddenIcon",void 0);Y([O()],G.prototype,"passwordRevealedIcon",void 0);Y([O()],G.prototype,"iconVariant",void 0);Y([O({type:Boolean})],G.prototype,"filterSuggestions",void 0);Y([O({type:Number})],G.prototype,"maxLength",void 0);Y([O({type:Boolean})],G.prototype,"password",void 0);Y([O({type:String})],G.prototype,"autocomplete",void 0);Y([O({attribute:!1})],G.prototype,"suggestionsProvider",void 0);Y([j()],G.prototype,"focused",void 0);Y([j()],G.prototype,"hidePassword",void 0);Y([j()],G.prototype,"hideSuggestions",void 0);Y([j()],G.prototype,"visibleSuggestions",void 0);Y([j()],G.prototype,"providedSuggestions",void 0);Y([Q(".ft-text-field--main-panel")],G.prototype,"mainPanel",void 0);Y([Q(".ft-text-field--input")],G.prototype,"input",void 0);Y([Q(".ft-text-field-suggestion--new-value")],G.prototype,"newValueSuggestion",void 0);Y([Q(".ft-text-field--suggestions")],G.prototype,"suggestionsContainer",void 0);Y([$n("ft-text-field-suggestion")],G.prototype,"providedSuggestionsInDom",void 0);Y([kn({selector:"ft-text-field-suggestion"})],G.prototype,"slottedSuggestions",void 0);ie("ft-text-field")(G);ie("ft-text-field-suggestion")($e);var le={color:r.extend("--ft-loader-color","",I.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},Rc=P`
|
|
1074
1092
|
:host {
|
|
1075
1093
|
line-height: 0;
|
|
1076
1094
|
}
|
|
@@ -1139,7 +1157,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1139
1157
|
transform: translate(calc(0.35 * ${le.size}), 0);
|
|
1140
1158
|
}
|
|
1141
1159
|
}
|
|
1142
|
-
`;var
|
|
1160
|
+
`;var Tc=r.extend("--ft-button-color","",I.colorPrimary),ce={backgroundColor:r.extend("--ft-button-background-color","",I.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",I.borderRadiusL),color:Tc,fontSize:r.extend("--ft-button-font-size","",Ze.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",Tc),verticalPadding:r.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:r.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:r.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:r.external(I.colorOpacityDisabled,"Design system")},_c=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",I.colorOnPrimary)),_a={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",I.colorPrimary)),color:_c,rippleColor:r.extend("--ft-button-primary-ripple-color","",_c)},Xe={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",I.borderRadiusM)),verticalPadding:r.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:r.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:r.create("--ft-button-dense-icon-padding","","SIZE","4px")},Nc=[P`
|
|
1143
1161
|
:host {
|
|
1144
1162
|
display: inline-block;
|
|
1145
1163
|
max-width: 100%;
|
|
@@ -1225,9 +1243,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1225
1243
|
}
|
|
1226
1244
|
|
|
1227
1245
|
.ft-button.ft-button--primary {
|
|
1228
|
-
background-color: ${
|
|
1229
|
-
--button-internal-color: ${
|
|
1230
|
-
${v(R.color,
|
|
1246
|
+
background-color: ${_a.backgroundColor};
|
|
1247
|
+
--button-internal-color: ${_a.color};
|
|
1248
|
+
${v(R.color,_a.rippleColor)};
|
|
1231
1249
|
}
|
|
1232
1250
|
|
|
1233
1251
|
.ft-button:focus {
|
|
@@ -1276,7 +1294,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1276
1294
|
${v(le.size,ce.iconSize)};
|
|
1277
1295
|
${v(le.color,"var(--button-internal-color)")};
|
|
1278
1296
|
}
|
|
1279
|
-
`,
|
|
1297
|
+
`,Wt];var _r={distance:r.create("--ft-tooltip-distance","","SIZE","4px"),color:r.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:r.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:r.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:r.external(I.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},Lc=P`
|
|
1280
1298
|
.ft-tooltip--container {
|
|
1281
1299
|
display: block;
|
|
1282
1300
|
}
|
|
@@ -1291,21 +1309,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1291
1309
|
box-sizing: border-box;
|
|
1292
1310
|
overflow: hidden;
|
|
1293
1311
|
width: max-content;
|
|
1294
|
-
max-width: ${
|
|
1312
|
+
max-width: ${_r.maxWidth};
|
|
1295
1313
|
text-align: center;
|
|
1296
|
-
padding: ${
|
|
1297
|
-
z-index: ${
|
|
1314
|
+
padding: ${_r.distance};
|
|
1315
|
+
z-index: ${_r.zIndex};
|
|
1298
1316
|
}
|
|
1299
1317
|
|
|
1300
1318
|
.ft-tooltip--content {
|
|
1301
1319
|
padding: 4px 8px;
|
|
1302
|
-
border-radius: ${
|
|
1303
|
-
background-color: ${
|
|
1304
|
-
color: ${
|
|
1320
|
+
border-radius: ${_r.borderRadiusS};
|
|
1321
|
+
background-color: ${_r.backgroundColor};
|
|
1322
|
+
color: ${_r.color};
|
|
1305
1323
|
position: relative;
|
|
1306
1324
|
word-break: break-word;
|
|
1307
1325
|
}
|
|
1308
|
-
`;var ze=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ue=class extends
|
|
1326
|
+
`;var ze=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ue=class extends W{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Be,this.revealDebouncer=new Be,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut(o)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return k`
|
|
1309
1327
|
<div part="container"
|
|
1310
1328
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
1311
1329
|
<slot part="slot"></slot>
|
|
@@ -1318,55 +1336,55 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1318
1336
|
</div>
|
|
1319
1337
|
</div>
|
|
1320
1338
|
</div>
|
|
1321
|
-
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,o){let n=this.manual;this.manual=!0;let i=this.text;this.text=e,await this.show(o),this.text=i,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.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="",
|
|
1339
|
+
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,o){let n=this.manual;this.manual=!0;let i=this.text;this.text=e,await this.show(o),this.text=i,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.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="",vi(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${I.transitionDuration}, left ${I.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||Wn(e,this.ignoreMatchingElements,this.eventsTarget)}};ue.elementDefinitions={"ft-typography":ve};ue.styles=Lc;ze([O()],ue.prototype,"text",void 0);ze([O({type:Boolean})],ue.prototype,"manual",void 0);ze([O({type:Boolean})],ue.prototype,"inline",void 0);ze([Oo()],ue.prototype,"delay",void 0);ze([O()],ue.prototype,"position",void 0);ze([rt([])],ue.prototype,"ignoreMatchingElements",void 0);ze([Ur()],ue.prototype,"slotNodes",void 0);ze([Q(".ft-tooltip--container")],ue.prototype,"container",void 0);ze([Q(".ft-tooltip")],ue.prototype,"tooltip",void 0);ze([Q(".ft-tooltip--content")],ue.prototype,"tooltipContent",void 0);ze([j()],ue.prototype,"visible",void 0);ie("ft-tooltip")(ue);var qt=class extends W{render(){return k`
|
|
1322
1340
|
<div class="ft-loader">
|
|
1323
1341
|
<div></div>
|
|
1324
1342
|
<div></div>
|
|
1325
1343
|
<div></div>
|
|
1326
1344
|
<div></div>
|
|
1327
1345
|
</div>
|
|
1328
|
-
`}};
|
|
1346
|
+
`}};qt.styles=Rc;ie("ft-loader")(qt);var he=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},oe=class extends no(W){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e,o,n;let i=k`
|
|
1329
1347
|
<ft-ripple part="ripple"
|
|
1330
1348
|
?disabled=${this.isDisabled()}
|
|
1331
1349
|
?activated=${this.activated}
|
|
1332
1350
|
></ft-ripple>
|
|
1333
|
-
<ft-typography part="label"
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1351
|
+
<ft-or-ftds-typography part="label"
|
|
1352
|
+
variant="${this.typographyVariant}"
|
|
1353
|
+
element="span"
|
|
1354
|
+
class="ft-button--label ${wa?"ft-safari-ellipsis-fix":""}"
|
|
1355
|
+
?hidden=${!this.hasTextContent()}>
|
|
1338
1356
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1339
|
-
</ft-typography>
|
|
1357
|
+
</ft-or-ftds-typography>
|
|
1340
1358
|
${this.resolveIcon()}
|
|
1341
|
-
`,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a
|
|
1359
|
+
`,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?k`
|
|
1342
1360
|
<a href="${a}"
|
|
1343
1361
|
target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
|
|
1344
1362
|
part="button"
|
|
1345
|
-
class="${
|
|
1363
|
+
class="${ge(this.buttonClasses)}"
|
|
1346
1364
|
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
1347
1365
|
?disabled=${this.isDisabled()}>
|
|
1348
1366
|
${i}
|
|
1349
1367
|
</a>
|
|
1350
|
-
|
|
1368
|
+
`:k`
|
|
1351
1369
|
<button part="button"
|
|
1352
|
-
class="${
|
|
1370
|
+
class="${ge(this.buttonClasses)}"
|
|
1353
1371
|
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
1354
|
-
aria-haspopup="${
|
|
1372
|
+
aria-haspopup="${ct(this.ariaHasPopup)}"
|
|
1355
1373
|
?disabled=${this.isDisabled()}>
|
|
1356
1374
|
${i}
|
|
1357
1375
|
</button>
|
|
1358
|
-
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)
|
|
1376
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?k`
|
|
1359
1377
|
<ft-tooltip part="tooltip"
|
|
1360
1378
|
text="${this.getLabel()}"
|
|
1361
1379
|
position="${this.tooltipPosition}">
|
|
1362
1380
|
${e}
|
|
1363
1381
|
</ft-tooltip>
|
|
1364
|
-
`:e}resolveIcon(){return this.loading
|
|
1365
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon
|
|
1382
|
+
`:e}resolveIcon(){return this.loading?k`
|
|
1383
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?k`
|
|
1366
1384
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
1367
|
-
|
|
1385
|
+
`:k`
|
|
1368
1386
|
<slot part="icon" name="icon"></slot>
|
|
1369
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,o)}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.
|
|
1387
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,o)}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.getTextContent()}getTextContent(){return So(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};oe.elementDefinitions={"ft-ripple":te,"ft-tooltip":ue,"ft-icon":pe,"ft-loader":qt};he([O()],oe.prototype,"href",void 0);he([O()],oe.prototype,"target",void 0);he([O()],oe.prototype,"type",void 0);he([O({type:Boolean})],oe.prototype,"disabled",void 0);he([O()],oe.prototype,"label",void 0);he([O()],oe.prototype,"icon",void 0);he([O()],oe.prototype,"iconVariant",void 0);he([O({type:Boolean})],oe.prototype,"trailingIcon",void 0);he([O({type:Boolean})],oe.prototype,"loading",void 0);he([O({attribute:"aria-label"})],oe.prototype,"ariaLabel",void 0);he([O()],oe.prototype,"ariaHasPopup",void 0);he([O()],oe.prototype,"tooltipPosition",void 0);he([O({type:Boolean})],oe.prototype,"hideTooltip",void 0);he([O({type:Boolean})],oe.prototype,"forceTooltip",void 0);he([O({type:Boolean})],oe.prototype,"activated",void 0);he([Q(".ft-button")],oe.prototype,"button",void 0);he([Q(".ft-button--label slot")],oe.prototype,"slottedContent",void 0);he([Q("[part=tooltip]")],oe.prototype,"tooltip",void 0);var yn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Je=class extends oe{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 dt.button}};Je.elementDefinitions={...oe.elementDefinitions,"ft-or-ftds-typography":ve};Je.styles=[Jr,Nc];yn([O({type:Boolean})],Je.prototype,"primary",void 0);yn([O({type:Boolean})],Je.prototype,"outlined",void 0);yn([O({type:Boolean})],Je.prototype,"dense",void 0);yn([O({type:Boolean})],Je.prototype,"round",void 0);var Au={...g,iconOnlyScale:r.create("--ft-button-icon-only-scale","","NUMBER","1")},Pc=[P`
|
|
1370
1388
|
:host {
|
|
1371
1389
|
display: inline-block;
|
|
1372
1390
|
max-width: 100%;
|
|
@@ -1417,7 +1435,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1417
1435
|
}
|
|
1418
1436
|
|
|
1419
1437
|
.ft-button:focus-visible {
|
|
1420
|
-
outline-color: ${
|
|
1438
|
+
outline-color: ${g.focusFocusRingColor};
|
|
1421
1439
|
outline-style: solid;
|
|
1422
1440
|
}
|
|
1423
1441
|
|
|
@@ -1449,394 +1467,394 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1449
1467
|
}
|
|
1450
1468
|
|
|
1451
1469
|
.ft-button.ft-button--icon-only ft-icon {
|
|
1452
|
-
transform: scale(${
|
|
1470
|
+
transform: scale(${Au.iconOnlyScale});
|
|
1453
1471
|
}
|
|
1454
1472
|
|
|
1455
1473
|
/** Brand Primary styles **/
|
|
1456
1474
|
|
|
1457
1475
|
.ftds--family-brand.ft-button--primary {
|
|
1458
|
-
${v(le.color,
|
|
1476
|
+
${v(le.color,g.primaryBrandIconColor)};
|
|
1459
1477
|
|
|
1460
|
-
${v(R.color,
|
|
1461
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1462
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1463
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1464
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1478
|
+
${v(R.color,g.primaryBrandStateLayerColor)};
|
|
1479
|
+
${v(R.opacityContentOnSurfaceHover,g.primaryBrandHoverStateLayerOpacity)};
|
|
1480
|
+
${v(R.opacityContentOnSurfaceFocused,g.primaryBrandFocusStateLayerOpacity)};
|
|
1481
|
+
${v(R.opacityContentOnSurfaceSelected,g.primaryBrandActiveStateLayerOpacity)};
|
|
1482
|
+
${v(R.opacityContentOnSurfacePressed,g.primaryBrandActiveStateLayerOpacity)};
|
|
1465
1483
|
|
|
1466
|
-
background-color: ${
|
|
1467
|
-
color: ${
|
|
1484
|
+
background-color: ${g.primaryBrandBackgroundColor};
|
|
1485
|
+
color: ${g.primaryBrandColor};
|
|
1468
1486
|
border-style: none;
|
|
1469
1487
|
}
|
|
1470
1488
|
|
|
1471
1489
|
.ftds--family-brand.ft-button--primary[disabled] {
|
|
1472
|
-
opacity: ${
|
|
1490
|
+
opacity: ${g.primaryBrandDisabledComponentOpacity};
|
|
1473
1491
|
}
|
|
1474
1492
|
|
|
1475
1493
|
.ftds--family-brand.ft-button--primary ft-icon {
|
|
1476
|
-
color: ${
|
|
1494
|
+
color: ${g.primaryBrandIconColor};
|
|
1477
1495
|
}
|
|
1478
1496
|
|
|
1479
1497
|
/** Brand Secondary styles **/
|
|
1480
1498
|
|
|
1481
1499
|
.ftds--family-brand.ft-button--secondary {
|
|
1482
|
-
${v(le.color,
|
|
1500
|
+
${v(le.color,g.secondaryBrandIconColor)};
|
|
1483
1501
|
|
|
1484
|
-
${v(R.color,
|
|
1485
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1486
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1487
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1488
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1502
|
+
${v(R.color,g.secondaryBrandStateLayerColor)};
|
|
1503
|
+
${v(R.opacityContentOnSurfaceHover,g.secondaryBrandHoverStateLayerOpacity)};
|
|
1504
|
+
${v(R.opacityContentOnSurfaceFocused,g.secondaryBrandFocusStateLayerOpacity)};
|
|
1505
|
+
${v(R.opacityContentOnSurfaceSelected,g.secondaryBrandActiveStateLayerOpacity)};
|
|
1506
|
+
${v(R.opacityContentOnSurfacePressed,g.secondaryBrandActiveStateLayerOpacity)};
|
|
1489
1507
|
|
|
1490
|
-
background-color: ${
|
|
1491
|
-
color: ${
|
|
1492
|
-
border-color: ${
|
|
1508
|
+
background-color: ${g.secondaryBrandBackgroundColor};
|
|
1509
|
+
color: ${g.secondaryBrandColor};
|
|
1510
|
+
border-color: ${g.secondaryBrandBorderColor};
|
|
1493
1511
|
border-style: solid;
|
|
1494
1512
|
}
|
|
1495
1513
|
|
|
1496
1514
|
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
1497
|
-
opacity: ${
|
|
1515
|
+
opacity: ${g.secondaryBrandDisabledComponentOpacity};
|
|
1498
1516
|
}
|
|
1499
1517
|
|
|
1500
1518
|
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
1501
|
-
color: ${
|
|
1519
|
+
color: ${g.secondaryBrandIconColor};
|
|
1502
1520
|
}
|
|
1503
1521
|
|
|
1504
1522
|
/** Brand Tertiary styles **/
|
|
1505
1523
|
|
|
1506
1524
|
.ftds--family-brand.ft-button--tertiary {
|
|
1507
|
-
${v(le.color,
|
|
1525
|
+
${v(le.color,g.tertiaryBrandIconColor)};
|
|
1508
1526
|
|
|
1509
|
-
${v(R.color,
|
|
1510
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1511
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1512
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1513
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1527
|
+
${v(R.color,g.tertiaryBrandStateLayerColor)};
|
|
1528
|
+
${v(R.opacityContentOnSurfaceHover,g.tertiaryBrandHoverStateLayerOpacity)};
|
|
1529
|
+
${v(R.opacityContentOnSurfaceFocused,g.tertiaryBrandFocusStateLayerOpacity)};
|
|
1530
|
+
${v(R.opacityContentOnSurfaceSelected,g.tertiaryBrandActiveStateLayerOpacity)};
|
|
1531
|
+
${v(R.opacityContentOnSurfacePressed,g.tertiaryBrandActiveStateLayerOpacity)};
|
|
1514
1532
|
|
|
1515
|
-
background-color: ${
|
|
1516
|
-
color: ${
|
|
1533
|
+
background-color: ${g.tertiaryBrandBackgroundColor};
|
|
1534
|
+
color: ${g.tertiaryBrandColor};
|
|
1517
1535
|
border-style: none;
|
|
1518
1536
|
}
|
|
1519
1537
|
|
|
1520
1538
|
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
1521
|
-
opacity: ${
|
|
1539
|
+
opacity: ${g.tertiaryBrandDisabledComponentOpacity};
|
|
1522
1540
|
}
|
|
1523
1541
|
|
|
1524
1542
|
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
1525
|
-
color: ${
|
|
1543
|
+
color: ${g.tertiaryBrandIconColor};
|
|
1526
1544
|
}
|
|
1527
1545
|
|
|
1528
1546
|
/** Neutral Secondary styles **/
|
|
1529
1547
|
|
|
1530
1548
|
.ftds--family-neutral.ft-button--secondary {
|
|
1531
|
-
${v(le.color,
|
|
1549
|
+
${v(le.color,g.secondaryNeutralIconColor)};
|
|
1532
1550
|
|
|
1533
|
-
${v(R.backgroundColor,
|
|
1534
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1535
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1536
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1537
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1551
|
+
${v(R.backgroundColor,g.secondaryNeutralStateLayerColor)};
|
|
1552
|
+
${v(R.opacityContentOnSurfaceHover,g.secondaryNeutralHoverStateLayerOpacity)};
|
|
1553
|
+
${v(R.opacityContentOnSurfaceFocused,g.secondaryNeutralFocusStateLayerOpacity)};
|
|
1554
|
+
${v(R.opacityContentOnSurfaceSelected,g.secondaryNeutralActiveStateLayerOpacity)};
|
|
1555
|
+
${v(R.opacityContentOnSurfacePressed,g.secondaryNeutralActiveStateLayerOpacity)};
|
|
1538
1556
|
|
|
1539
|
-
background-color: ${
|
|
1540
|
-
color: ${
|
|
1541
|
-
border-color: ${
|
|
1557
|
+
background-color: ${g.secondaryNeutralBackgroundColor};
|
|
1558
|
+
color: ${g.secondaryNeutralColor};
|
|
1559
|
+
border-color: ${g.secondaryNeutralBorderColor};
|
|
1542
1560
|
border-style: solid;
|
|
1543
1561
|
}
|
|
1544
1562
|
|
|
1545
1563
|
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
1546
|
-
opacity: ${
|
|
1564
|
+
opacity: ${g.secondaryNeutralDisabledComponentOpacity};
|
|
1547
1565
|
}
|
|
1548
1566
|
|
|
1549
1567
|
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
1550
|
-
color: ${
|
|
1568
|
+
color: ${g.secondaryNeutralIconColor};
|
|
1551
1569
|
}
|
|
1552
1570
|
|
|
1553
1571
|
/** Neutral Tertiary styles **/
|
|
1554
1572
|
|
|
1555
1573
|
.ftds--family-neutral.ft-button--tertiary {
|
|
1556
|
-
${v(le.color,
|
|
1574
|
+
${v(le.color,g.tertiaryNeutralIconColor)};
|
|
1557
1575
|
|
|
1558
|
-
${v(R.backgroundColor,
|
|
1559
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1560
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1561
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1562
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1576
|
+
${v(R.backgroundColor,g.tertiaryNeutralStateLayerColor)};
|
|
1577
|
+
${v(R.opacityContentOnSurfaceHover,g.tertiaryNeutralHoverStateLayerOpacity)};
|
|
1578
|
+
${v(R.opacityContentOnSurfaceFocused,g.tertiaryNeutralFocusStateLayerOpacity)};
|
|
1579
|
+
${v(R.opacityContentOnSurfaceSelected,g.tertiaryNeutralActiveStateLayerOpacity)};
|
|
1580
|
+
${v(R.opacityContentOnSurfacePressed,g.tertiaryNeutralActiveStateLayerOpacity)};
|
|
1563
1581
|
|
|
1564
|
-
background-color: ${
|
|
1565
|
-
color: ${
|
|
1582
|
+
background-color: ${g.tertiaryNeutralBackgroundColor};
|
|
1583
|
+
color: ${g.tertiaryNeutralColor};
|
|
1566
1584
|
border-style: none;
|
|
1567
1585
|
}
|
|
1568
1586
|
|
|
1569
1587
|
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
1570
|
-
opacity: ${
|
|
1588
|
+
opacity: ${g.tertiaryNeutralDisabledComponentOpacity};
|
|
1571
1589
|
}
|
|
1572
1590
|
|
|
1573
1591
|
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
1574
|
-
color: ${
|
|
1592
|
+
color: ${g.tertiaryNeutralIconColor};
|
|
1575
1593
|
}
|
|
1576
1594
|
|
|
1577
1595
|
/** Info Secondary styles **/
|
|
1578
1596
|
|
|
1579
1597
|
.ftds--family-info.ft-button--secondary {
|
|
1580
|
-
${v(le.color,
|
|
1598
|
+
${v(le.color,g.secondaryInfoIconColor)};
|
|
1581
1599
|
|
|
1582
|
-
${v(R.backgroundColor,
|
|
1583
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1584
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1585
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1586
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1600
|
+
${v(R.backgroundColor,g.secondaryInfoStateLayerColor)};
|
|
1601
|
+
${v(R.opacityContentOnSurfaceHover,g.secondaryInfoHoverStateLayerOpacity)};
|
|
1602
|
+
${v(R.opacityContentOnSurfaceFocused,g.secondaryInfoFocusStateLayerOpacity)};
|
|
1603
|
+
${v(R.opacityContentOnSurfaceSelected,g.secondaryInfoActiveStateLayerOpacity)};
|
|
1604
|
+
${v(R.opacityContentOnSurfacePressed,g.secondaryInfoActiveStateLayerOpacity)};
|
|
1587
1605
|
|
|
1588
|
-
background-color: ${
|
|
1589
|
-
color: ${
|
|
1590
|
-
border-color: ${
|
|
1606
|
+
background-color: ${g.secondaryInfoBackgroundColor};
|
|
1607
|
+
color: ${g.secondaryInfoColor};
|
|
1608
|
+
border-color: ${g.secondaryInfoBorderColor};
|
|
1591
1609
|
border-style: solid;
|
|
1592
1610
|
}
|
|
1593
1611
|
|
|
1594
1612
|
.ftds--family-info.ft-button--secondary[disabled] {
|
|
1595
|
-
opacity: ${
|
|
1613
|
+
opacity: ${g.secondaryInfoDisabledComponentOpacity};
|
|
1596
1614
|
}
|
|
1597
1615
|
|
|
1598
1616
|
.ftds--family-info.ft-button--secondary ft-icon {
|
|
1599
|
-
color: ${
|
|
1617
|
+
color: ${g.secondaryInfoIconColor};
|
|
1600
1618
|
}
|
|
1601
1619
|
|
|
1602
1620
|
/** Info Tertiary styles **/
|
|
1603
1621
|
|
|
1604
1622
|
.ftds--family-info.ft-button--tertiary {
|
|
1605
|
-
${v(le.color,
|
|
1623
|
+
${v(le.color,g.tertiaryInfoIconColor)};
|
|
1606
1624
|
|
|
1607
|
-
${v(R.backgroundColor,
|
|
1608
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1609
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1610
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1611
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1625
|
+
${v(R.backgroundColor,g.tertiaryInfoStateLayerColor)};
|
|
1626
|
+
${v(R.opacityContentOnSurfaceHover,g.tertiaryInfoHoverStateLayerOpacity)};
|
|
1627
|
+
${v(R.opacityContentOnSurfaceFocused,g.tertiaryInfoFocusStateLayerOpacity)};
|
|
1628
|
+
${v(R.opacityContentOnSurfaceSelected,g.tertiaryInfoActiveStateLayerOpacity)};
|
|
1629
|
+
${v(R.opacityContentOnSurfacePressed,g.tertiaryInfoActiveStateLayerOpacity)};
|
|
1612
1630
|
|
|
1613
|
-
background-color: ${
|
|
1614
|
-
color: ${
|
|
1631
|
+
background-color: ${g.tertiaryInfoBackgroundColor};
|
|
1632
|
+
color: ${g.tertiaryInfoColor};
|
|
1615
1633
|
border-style: none;
|
|
1616
1634
|
}
|
|
1617
1635
|
|
|
1618
1636
|
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
1619
|
-
opacity: ${
|
|
1637
|
+
opacity: ${g.tertiaryInfoDisabledComponentOpacity};
|
|
1620
1638
|
}
|
|
1621
1639
|
|
|
1622
1640
|
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
1623
|
-
color: ${
|
|
1641
|
+
color: ${g.tertiaryInfoIconColor};
|
|
1624
1642
|
}
|
|
1625
1643
|
|
|
1626
1644
|
/** Success Secondary styles **/
|
|
1627
1645
|
|
|
1628
1646
|
.ftds--family-success.ft-button--secondary {
|
|
1629
|
-
${v(le.color,
|
|
1647
|
+
${v(le.color,g.secondarySuccessIconColor)};
|
|
1630
1648
|
|
|
1631
|
-
${v(R.backgroundColor,
|
|
1632
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1633
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1634
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1635
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1649
|
+
${v(R.backgroundColor,g.secondarySuccessStateLayerColor)};
|
|
1650
|
+
${v(R.opacityContentOnSurfaceHover,g.secondarySuccessHoverStateLayerOpacity)};
|
|
1651
|
+
${v(R.opacityContentOnSurfaceFocused,g.secondarySuccessFocusStateLayerOpacity)};
|
|
1652
|
+
${v(R.opacityContentOnSurfaceSelected,g.secondarySuccessActiveStateLayerOpacity)};
|
|
1653
|
+
${v(R.opacityContentOnSurfacePressed,g.secondarySuccessActiveStateLayerOpacity)};
|
|
1636
1654
|
|
|
1637
|
-
background-color: ${
|
|
1638
|
-
color: ${
|
|
1639
|
-
border-color: ${
|
|
1655
|
+
background-color: ${g.secondarySuccessBackgroundColor};
|
|
1656
|
+
color: ${g.secondarySuccessColor};
|
|
1657
|
+
border-color: ${g.secondarySuccessBorderColor};
|
|
1640
1658
|
border-style: solid;
|
|
1641
1659
|
}
|
|
1642
1660
|
|
|
1643
1661
|
.ftds--family-success.ft-button--secondary[disabled] {
|
|
1644
|
-
opacity: ${
|
|
1662
|
+
opacity: ${g.secondarySuccessDisabledComponentOpacity};
|
|
1645
1663
|
}
|
|
1646
1664
|
|
|
1647
1665
|
.ftds--family-success.ft-button--secondary ft-icon {
|
|
1648
|
-
color: ${
|
|
1666
|
+
color: ${g.secondarySuccessIconColor};
|
|
1649
1667
|
}
|
|
1650
1668
|
|
|
1651
1669
|
/** Success Tertiary styles **/
|
|
1652
1670
|
|
|
1653
1671
|
.ftds--family-success.ft-button--tertiary {
|
|
1654
|
-
${v(le.color,
|
|
1672
|
+
${v(le.color,g.tertiarySuccessIconColor)};
|
|
1655
1673
|
|
|
1656
|
-
${v(R.backgroundColor,
|
|
1657
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1658
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1659
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1660
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1674
|
+
${v(R.backgroundColor,g.tertiarySuccessStateLayerColor)};
|
|
1675
|
+
${v(R.opacityContentOnSurfaceHover,g.tertiarySuccessHoverStateLayerOpacity)};
|
|
1676
|
+
${v(R.opacityContentOnSurfaceFocused,g.tertiarySuccessFocusStateLayerOpacity)};
|
|
1677
|
+
${v(R.opacityContentOnSurfaceSelected,g.tertiarySuccessActiveStateLayerOpacity)};
|
|
1678
|
+
${v(R.opacityContentOnSurfacePressed,g.tertiarySuccessActiveStateLayerOpacity)};
|
|
1661
1679
|
|
|
1662
|
-
background-color: ${
|
|
1663
|
-
color: ${
|
|
1680
|
+
background-color: ${g.tertiarySuccessBackgroundColor};
|
|
1681
|
+
color: ${g.tertiarySuccessColor};
|
|
1664
1682
|
border-style: none;
|
|
1665
1683
|
}
|
|
1666
1684
|
|
|
1667
1685
|
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
1668
|
-
opacity: ${
|
|
1686
|
+
opacity: ${g.tertiarySuccessDisabledComponentOpacity};
|
|
1669
1687
|
}
|
|
1670
1688
|
|
|
1671
1689
|
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
1672
|
-
color: ${
|
|
1690
|
+
color: ${g.tertiarySuccessIconColor};
|
|
1673
1691
|
}
|
|
1674
1692
|
|
|
1675
1693
|
/** Warning Secondary styles **/
|
|
1676
1694
|
|
|
1677
1695
|
.ftds--family-warning.ft-button--secondary {
|
|
1678
|
-
${v(le.color,
|
|
1696
|
+
${v(le.color,g.secondaryWarningIconColor)};
|
|
1679
1697
|
|
|
1680
|
-
${v(R.backgroundColor,
|
|
1681
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1682
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1683
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1684
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1698
|
+
${v(R.backgroundColor,g.secondaryWarningStateLayerColor)};
|
|
1699
|
+
${v(R.opacityContentOnSurfaceHover,g.secondaryWarningHoverStateLayerOpacity)};
|
|
1700
|
+
${v(R.opacityContentOnSurfaceFocused,g.secondaryWarningFocusStateLayerOpacity)};
|
|
1701
|
+
${v(R.opacityContentOnSurfaceSelected,g.secondaryWarningActiveStateLayerOpacity)};
|
|
1702
|
+
${v(R.opacityContentOnSurfacePressed,g.secondaryWarningActiveStateLayerOpacity)};
|
|
1685
1703
|
|
|
1686
|
-
background-color: ${
|
|
1687
|
-
color: ${
|
|
1688
|
-
border-color: ${
|
|
1704
|
+
background-color: ${g.secondaryWarningBackgroundColor};
|
|
1705
|
+
color: ${g.secondaryWarningColor};
|
|
1706
|
+
border-color: ${g.secondaryWarningBorderColor};
|
|
1689
1707
|
border-style: solid;
|
|
1690
1708
|
}
|
|
1691
1709
|
|
|
1692
1710
|
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
1693
|
-
opacity: ${
|
|
1711
|
+
opacity: ${g.secondaryWarningDisabledComponentOpacity};
|
|
1694
1712
|
}
|
|
1695
1713
|
|
|
1696
1714
|
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
1697
|
-
color: ${
|
|
1715
|
+
color: ${g.secondaryWarningIconColor};
|
|
1698
1716
|
}
|
|
1699
1717
|
|
|
1700
1718
|
/** Warning Tertiary styles **/
|
|
1701
1719
|
|
|
1702
1720
|
.ftds--family-warning.ft-button--tertiary {
|
|
1703
|
-
${v(le.color,
|
|
1721
|
+
${v(le.color,g.tertiaryWarningIconColor)};
|
|
1704
1722
|
|
|
1705
|
-
${v(R.backgroundColor,
|
|
1706
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1707
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1708
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1709
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1723
|
+
${v(R.backgroundColor,g.tertiaryWarningStateLayerColor)};
|
|
1724
|
+
${v(R.opacityContentOnSurfaceHover,g.tertiaryWarningHoverStateLayerOpacity)};
|
|
1725
|
+
${v(R.opacityContentOnSurfaceFocused,g.tertiaryWarningFocusStateLayerOpacity)};
|
|
1726
|
+
${v(R.opacityContentOnSurfaceSelected,g.tertiaryWarningActiveStateLayerOpacity)};
|
|
1727
|
+
${v(R.opacityContentOnSurfacePressed,g.tertiaryWarningActiveStateLayerOpacity)};
|
|
1710
1728
|
|
|
1711
|
-
background-color: ${
|
|
1712
|
-
color: ${
|
|
1729
|
+
background-color: ${g.tertiaryWarningBackgroundColor};
|
|
1730
|
+
color: ${g.tertiaryWarningColor};
|
|
1713
1731
|
border-style: none;
|
|
1714
1732
|
}
|
|
1715
1733
|
|
|
1716
1734
|
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
1717
|
-
opacity: ${
|
|
1735
|
+
opacity: ${g.tertiaryWarningDisabledComponentOpacity};
|
|
1718
1736
|
}
|
|
1719
1737
|
|
|
1720
1738
|
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
1721
|
-
color: ${
|
|
1739
|
+
color: ${g.tertiaryWarningIconColor};
|
|
1722
1740
|
}
|
|
1723
1741
|
|
|
1724
1742
|
/** Error Secondary styles **/
|
|
1725
1743
|
|
|
1726
1744
|
.ftds--family-error.ft-button--secondary {
|
|
1727
|
-
${v(le.color,
|
|
1745
|
+
${v(le.color,g.secondaryErrorIconColor)};
|
|
1728
1746
|
|
|
1729
|
-
${v(R.backgroundColor,
|
|
1730
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1731
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1732
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1733
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1747
|
+
${v(R.backgroundColor,g.secondaryErrorStateLayerColor)};
|
|
1748
|
+
${v(R.opacityContentOnSurfaceHover,g.secondaryErrorHoverStateLayerOpacity)};
|
|
1749
|
+
${v(R.opacityContentOnSurfaceFocused,g.secondaryErrorFocusStateLayerOpacity)};
|
|
1750
|
+
${v(R.opacityContentOnSurfaceSelected,g.secondaryErrorActiveStateLayerOpacity)};
|
|
1751
|
+
${v(R.opacityContentOnSurfacePressed,g.secondaryErrorActiveStateLayerOpacity)};
|
|
1734
1752
|
|
|
1735
|
-
background-color: ${
|
|
1736
|
-
color: ${
|
|
1737
|
-
border-color: ${
|
|
1753
|
+
background-color: ${g.secondaryErrorBackgroundColor};
|
|
1754
|
+
color: ${g.secondaryErrorColor};
|
|
1755
|
+
border-color: ${g.secondaryErrorBorderColor};
|
|
1738
1756
|
border-style: solid;
|
|
1739
1757
|
}
|
|
1740
1758
|
|
|
1741
1759
|
.ftds--family-error.ft-button--secondary[disabled] {
|
|
1742
|
-
opacity: ${
|
|
1760
|
+
opacity: ${g.secondaryErrorDisabledComponentOpacity};
|
|
1743
1761
|
}
|
|
1744
1762
|
|
|
1745
1763
|
.ftds--family-error.ft-button--secondary ft-icon {
|
|
1746
|
-
color: ${
|
|
1764
|
+
color: ${g.secondaryErrorIconColor};
|
|
1747
1765
|
}
|
|
1748
1766
|
|
|
1749
1767
|
/** Error Tertiary styles **/
|
|
1750
1768
|
|
|
1751
1769
|
.ftds--family-error.ft-button--tertiary {
|
|
1752
|
-
${v(le.color,
|
|
1770
|
+
${v(le.color,g.tertiaryErrorIconColor)};
|
|
1753
1771
|
|
|
1754
|
-
${v(R.backgroundColor,
|
|
1755
|
-
${v(R.opacityContentOnSurfaceHover,
|
|
1756
|
-
${v(R.opacityContentOnSurfaceFocused,
|
|
1757
|
-
${v(R.opacityContentOnSurfaceSelected,
|
|
1758
|
-
${v(R.opacityContentOnSurfacePressed,
|
|
1772
|
+
${v(R.backgroundColor,g.tertiaryErrorStateLayerColor)};
|
|
1773
|
+
${v(R.opacityContentOnSurfaceHover,g.tertiaryErrorHoverStateLayerOpacity)};
|
|
1774
|
+
${v(R.opacityContentOnSurfaceFocused,g.tertiaryErrorFocusStateLayerOpacity)};
|
|
1775
|
+
${v(R.opacityContentOnSurfaceSelected,g.tertiaryErrorActiveStateLayerOpacity)};
|
|
1776
|
+
${v(R.opacityContentOnSurfacePressed,g.tertiaryErrorActiveStateLayerOpacity)};
|
|
1759
1777
|
|
|
1760
|
-
background-color: ${
|
|
1761
|
-
color: ${
|
|
1778
|
+
background-color: ${g.tertiaryErrorBackgroundColor};
|
|
1779
|
+
color: ${g.tertiaryErrorColor};
|
|
1762
1780
|
border-style: none;
|
|
1763
1781
|
}
|
|
1764
1782
|
|
|
1765
1783
|
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
1766
|
-
opacity: ${
|
|
1784
|
+
opacity: ${g.tertiaryErrorDisabledComponentOpacity};
|
|
1767
1785
|
}
|
|
1768
1786
|
|
|
1769
1787
|
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
1770
|
-
color: ${
|
|
1788
|
+
color: ${g.tertiaryErrorIconColor};
|
|
1771
1789
|
}
|
|
1772
1790
|
|
|
1773
1791
|
/** Large styles **/
|
|
1774
1792
|
|
|
1775
1793
|
.ftds--size-large {
|
|
1776
|
-
${v(de.size,
|
|
1777
|
-
${v(le.size,
|
|
1794
|
+
${v(de.size,g.largeIconSize)};
|
|
1795
|
+
${v(le.size,g.largeIconSize)};
|
|
1778
1796
|
|
|
1779
|
-
height: ${
|
|
1780
|
-
padding: 0 ${
|
|
1781
|
-
gap: ${
|
|
1782
|
-
border-radius: ${
|
|
1783
|
-
border-width: ${
|
|
1797
|
+
height: ${g.largeHeight};
|
|
1798
|
+
padding: 0 ${g.largeHorizontalPadding};
|
|
1799
|
+
gap: ${g.largeGap};
|
|
1800
|
+
border-radius: ${g.largeBorderRadius};
|
|
1801
|
+
border-width: ${g.largeBorderWidth};
|
|
1784
1802
|
}
|
|
1785
1803
|
|
|
1786
1804
|
.ftds--size-large:focus-visible {
|
|
1787
|
-
outline-width: ${
|
|
1788
|
-
outline-offset: ${
|
|
1805
|
+
outline-width: ${g.largeFocusOutlineWidth};
|
|
1806
|
+
outline-offset: ${g.largeFocusOutlineOffset};
|
|
1789
1807
|
}
|
|
1790
1808
|
|
|
1791
1809
|
.ftds--size-large.ft-button--icon-only {
|
|
1792
|
-
width: ${
|
|
1810
|
+
width: ${g.largeIconOnlyWidth};
|
|
1793
1811
|
}
|
|
1794
1812
|
|
|
1795
1813
|
/** Small styles **/
|
|
1796
1814
|
|
|
1797
1815
|
.ftds--size-medium {
|
|
1798
|
-
${v(de.size,
|
|
1799
|
-
${v(le.size,
|
|
1816
|
+
${v(de.size,g.mediumIconSize)};
|
|
1817
|
+
${v(le.size,g.mediumIconSize)};
|
|
1800
1818
|
|
|
1801
|
-
height: ${
|
|
1802
|
-
padding: 0 ${
|
|
1803
|
-
gap: ${
|
|
1804
|
-
border-radius: ${
|
|
1805
|
-
border-width: ${
|
|
1819
|
+
height: ${g.mediumHeight};
|
|
1820
|
+
padding: 0 ${g.mediumHorizontalPadding};
|
|
1821
|
+
gap: ${g.mediumGap};
|
|
1822
|
+
border-radius: ${g.mediumBorderRadius};
|
|
1823
|
+
border-width: ${g.mediumBorderWidth};
|
|
1806
1824
|
}
|
|
1807
1825
|
|
|
1808
1826
|
.ftds--size-medium:focus-visible {
|
|
1809
|
-
outline-width: ${
|
|
1810
|
-
outline-offset: ${
|
|
1827
|
+
outline-width: ${g.mediumFocusOutlineWidth};
|
|
1828
|
+
outline-offset: ${g.mediumFocusOutlineOffset};
|
|
1811
1829
|
}
|
|
1812
1830
|
|
|
1813
1831
|
.ftds--size-medium.ft-button--icon-only {
|
|
1814
|
-
width: ${
|
|
1832
|
+
width: ${g.mediumIconOnlyWidth};
|
|
1815
1833
|
}
|
|
1816
1834
|
|
|
1817
1835
|
|
|
1818
1836
|
/** Small styles **/
|
|
1819
1837
|
|
|
1820
1838
|
.ftds--size-small {
|
|
1821
|
-
${v(de.size,
|
|
1822
|
-
${v(le.size,
|
|
1839
|
+
${v(de.size,g.smallIconSize)};
|
|
1840
|
+
${v(le.size,g.smallIconSize)};
|
|
1823
1841
|
|
|
1824
|
-
height: ${
|
|
1825
|
-
padding: 0 ${
|
|
1826
|
-
gap: ${
|
|
1827
|
-
border-radius: ${
|
|
1828
|
-
border-width: ${
|
|
1842
|
+
height: ${g.smallHeight};
|
|
1843
|
+
padding: 0 ${g.smallHorizontalPadding};
|
|
1844
|
+
gap: ${g.smallGap};
|
|
1845
|
+
border-radius: ${g.smallBorderRadius};
|
|
1846
|
+
border-width: ${g.smallBorderWidth};
|
|
1829
1847
|
}
|
|
1830
1848
|
|
|
1831
1849
|
.ftds--size-small:focus-visible {
|
|
1832
|
-
outline-width: ${
|
|
1833
|
-
outline-offset: ${
|
|
1850
|
+
outline-width: ${g.smallFocusOutlineWidth};
|
|
1851
|
+
outline-offset: ${g.smallFocusOutlineOffset};
|
|
1834
1852
|
}
|
|
1835
1853
|
|
|
1836
1854
|
.ftds--size-small.ft-button--icon-only {
|
|
1837
|
-
width: ${
|
|
1855
|
+
width: ${g.smallIconOnlyWidth};
|
|
1838
1856
|
}
|
|
1839
|
-
`,
|
|
1857
|
+
`,Wt];var mn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Qe=class extends lr(oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Bt.brand,this.iconVariant=Ye.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 nt.large:return Tt.body2medium;case nt.medium:return Tt.caption1medium;case nt.small:return Tt.caption2medium}}};Qe.elementDefinitions={...oe.elementDefinitions,"ft-or-ftds-typography":ut};Qe.styles=[Jr,Pc];mn([O({type:Boolean})],Qe.prototype,"primary",void 0);mn([O({type:Boolean})],Qe.prototype,"secondary",void 0);mn([O({type:Boolean})],Qe.prototype,"tertiary",void 0);mn([O({type:Boolean})],Qe.prototype,"round",void 0);ie("ft-button")(Je);ie("ftds-button")(Qe);var gn=class extends CustomEvent{constructor(e){super("row-click",{detail:e})}},bn=class extends CustomEvent{constructor(e){super("change",{detail:e})}};var ye={headerBackground:r.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:r.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:r.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:r.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:r.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:r.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),columnTitleWhiteSpace:r.create("--ft-filterable-table-column-title-white-space","","UNKNOWN","nowrap"),columnTitleMargin:r.create("--ft-filterable-table-column-title-margin","","UNKNOWN","0 .5rem 0 0"),colorOnSurfaceHigh:r.external(I.colorOnSurfaceHigh,"Design system"),titleFont:r.external(I.titleFont,"Design system"),contentFont:r.external(I.contentFont,"Design system")},Ic=P`
|
|
1840
1858
|
:host {
|
|
1841
1859
|
display: block;
|
|
1842
1860
|
}
|
|
@@ -1906,7 +1924,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1906
1924
|
.column-filter {
|
|
1907
1925
|
flex-grow: 1;
|
|
1908
1926
|
flex-shrink: 0;
|
|
1909
|
-
${v(
|
|
1927
|
+
${v(V.optionsHeight,"300px")};
|
|
1910
1928
|
}
|
|
1911
1929
|
|
|
1912
1930
|
.column-filter:not(:empty) {
|
|
@@ -1955,7 +1973,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1955
1973
|
.row:last-of-type .cell:last-of-type {
|
|
1956
1974
|
border-radius: 0 0 .5rem 0;
|
|
1957
1975
|
}
|
|
1958
|
-
`;var
|
|
1976
|
+
`;var Nr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ru=t=>k`${t}`,$c=(t,e)=>t-e,kc=t=>""+t,He=class extends W{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.filters=[],this.filterOptions=[]}init(e,o,n){this.data=e,this.columns=o,this.sort=n}render(){let e=this.sortData(this.filterData());return k`
|
|
1959
1977
|
<style>
|
|
1960
1978
|
.table {
|
|
1961
1979
|
grid-template-columns: ${this.columns.map(o=>{var n;return(n=o.gridTemplateColumn)!==null&&n!==void 0?n:"minmax(min-content, auto)"}).join(" ")};
|
|
@@ -1965,15 +1983,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1965
1983
|
<div class="header">
|
|
1966
1984
|
${Ce(this.columns,(o,n)=>"header-cell-"+n,(o,n)=>this.renderHeader(o,n))}
|
|
1967
1985
|
</div>
|
|
1968
|
-
${Ce(e,(o,n)=>"row-"+n,(o,n)
|
|
1986
|
+
${Ce(e,(o,n)=>"row-"+n,(o,n)=>k`
|
|
1969
1987
|
<div class="row"
|
|
1970
|
-
@click=${()=>this.dispatchEvent(new
|
|
1988
|
+
@click=${()=>this.dispatchEvent(new gn(o))}>
|
|
1971
1989
|
${Ce(this.columns,(i,a)=>"cell-"+a+"-"+n,(i,a)=>this.renderCell(i,a,o,n))}
|
|
1972
1990
|
</div>
|
|
1973
1991
|
`)}
|
|
1974
1992
|
</div>
|
|
1975
|
-
`}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,o,n)=>{var i;let a=this.columns[n];if(o&&o.value)switch((i=a.filter)!==null&&i!==void 0?i:"text"){case"text":return e.filter(s=>this.getValueAsString(a,s,n).toLowerCase().includes(o.value.toLowerCase()));case"select":return e.filter(s=>this.getValue(a,s)===o.value)}return e},this.data)}sortData(e){var o;if(this.currentSort&&!this.disableDataManipulation){let n=this.columns[this.currentSort.column],i=(o=n.comparator)!==null&&o!==void 0?o
|
|
1976
|
-
<div class="${
|
|
1993
|
+
`}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,o,n)=>{var i;let a=this.columns[n];if(o&&o.value)switch((i=a.filter)!==null&&i!==void 0?i:"text"){case"text":return e.filter(s=>this.getValueAsString(a,s,n).toLowerCase().includes(o.value.toLowerCase()));case"select":return e.filter(s=>this.getValue(a,s)===o.value)}return e},this.data)}sortData(e){var o;if(this.currentSort&&!this.disableDataManipulation){let n=this.columns[this.currentSort.column],i=(o=n.comparator)!==null&&o!==void 0?o:$c,a=this.currentSort.order==="asc"?i:(s,c)=>-i(s,c);return[...e].sort((s,c)=>a(this.getValue(n,s),this.getValue(n,c)))}return e}update(e){super.update(e),e.has("sort")&&(this.currentSort=this.sort),(e.has("data")||e.has("columns"))&&this.updateFilterOptions()}updateFilterOptions(){var e,o,n;this.filterOptions=[];let i=this.data,a=this.columns;for(let s in a){let c=a[s],d=(e=c.filter)!==null&&e!==void 0?e:"text";(d==="text"||d==="select")&&(this.filterOptions[s]=((o=c.options)!==null&&o!==void 0?o:[...new Set(i.map(u=>this.getValue(c,u)))]).sort((n=c.comparator)!==null&&n!==void 0?n:$c),d==="text"&&(this.filterOptions[s]=this.filterOptions[s].map(u=>this.stringifyValue(c,u,0))))}this.requestUpdate()}renderHeader(e,o){let n={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return k`
|
|
1994
|
+
<div class="${ge(n)}"
|
|
1977
1995
|
part="${this.columnPart("header-cell",o)}">
|
|
1978
1996
|
<div class="column-title-container"
|
|
1979
1997
|
part="${this.columnPart("title-container",o)}">
|
|
@@ -1985,7 +2003,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1985
2003
|
</div>
|
|
1986
2004
|
${this.renderColumnFilter(e,o)}
|
|
1987
2005
|
</div>
|
|
1988
|
-
`}getOppositeSortOrder(e){return e==="asc"?"desc":"asc"}renderColumnSort(e,o){var n,i;let a=this.currentSort&&this.currentSort.column===o,s=a?this.currentSort.order==="asc"?"expand_less":"expand_more":"unfold_more",c=()=>{var f,
|
|
2006
|
+
`}getOppositeSortOrder(e){return e==="asc"?"desc":"asc"}renderColumnSort(e,o){var n,i;let a=this.currentSort&&this.currentSort.column===o,s=a?this.currentSort.order==="asc"?"expand_less":"expand_more":"unfold_more",c=()=>{var f,m;let x=(f=e.defaultSortOrder)!==null&&f!==void 0?f:"asc";this.currentSort={column:o,order:a&&((m=this.currentSort)===null||m===void 0?void 0:m.order)===x?this.getOppositeSortOrder(x):x},this.dispatchChangeEvent()},d=(n=e.titleText)!==null&&n!==void 0?n:e.title,u=this.getSortOrderText(a,e),h=`Sort ${d} in ${u} order`;return!((i=e.sortable)!==null&&i!==void 0)||i?k`
|
|
1989
2007
|
<ft-button
|
|
1990
2008
|
round
|
|
1991
2009
|
dense
|
|
@@ -1995,35 +2013,35 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1995
2013
|
@click=${c}
|
|
1996
2014
|
part="${this.columnPart("sort-button",o)}"
|
|
1997
2015
|
></ft-button>
|
|
1998
|
-
`:F}getSortOrderText(e,o){return e?this.currentSort.order==="asc"?"descending":"ascending":o.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new
|
|
2016
|
+
`:F}getSortOrderText(e,o){return e?this.currentSort.order==="asc"?"descending":"ascending":o.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new bn({filters:this.filters.map((e,o)=>({column:o,value:e.value})).filter(e=>e.value!=null),sort:this.currentSort}))}renderColumnFilter(e,o){var n,i,a,s,c;let d=h=>{this.filters[o]={value:h.detail},this.requestUpdate(),this.dispatchChangeEvent()},u=(n=this.filterOptions[o])!==null&&n!==void 0?n:[];switch((i=e.filter)!==null&&i!==void 0?i:"text"){case"text":return k`
|
|
1999
2017
|
<div class="column-filter" part="${this.columnPart("filter-container",o)}">
|
|
2000
2018
|
<ft-text-field
|
|
2001
2019
|
label="Search ${(a=e.titleText)!==null&&a!==void 0?a:e.title}"
|
|
2002
2020
|
@live-change="${d}"
|
|
2003
2021
|
part="${this.columnPart("filter",o)}"
|
|
2004
2022
|
>
|
|
2005
|
-
${Ce(u,f
|
|
2023
|
+
${Ce(u,f=>k`
|
|
2006
2024
|
<ft-text-field-suggestion>${f}</ft-text-field-suggestion>
|
|
2007
2025
|
`)}
|
|
2008
2026
|
</ft-text-field>
|
|
2009
2027
|
</div>
|
|
2010
|
-
`;case"select":return((s=this.filterOptions[o])!==null&&s!==void 0?s:[]).length
|
|
2028
|
+
`;case"select":return((s=this.filterOptions[o])!==null&&s!==void 0?s:[]).length?k`
|
|
2011
2029
|
<div class="column-filter" part="${this.columnPart("filter-container",o)}">
|
|
2012
2030
|
<ft-select label="Filter ${(c=e.titleText)!==null&&c!==void 0?c:e.title}"
|
|
2013
2031
|
@change=${d}
|
|
2014
2032
|
part="${this.columnPart("filter",o)}">
|
|
2015
2033
|
<ft-select-option></ft-select-option>
|
|
2016
|
-
${Ce(u,f
|
|
2034
|
+
${Ce(u,f=>k`
|
|
2017
2035
|
<ft-select-option .value=${f} label="${this.stringifyValue(e,f,0)}"></ft-select-option>
|
|
2018
2036
|
`)}
|
|
2019
2037
|
</ft-select>
|
|
2020
2038
|
</div>
|
|
2021
|
-
`:F}return F}columnPart(e,o){return`${e} ${e}-column-${o}`}renderCell(e,o,n,i){var a;let s=(a=e.render)!==null&&a!==void 0?a:
|
|
2039
|
+
`:F}return F}columnPart(e,o){return`${e} ${e}-column-${o}`}renderCell(e,o,n,i){var a;let s=(a=e.render)!==null&&a!==void 0?a:Ru,c=d=>{let u=s(d,i);return typeof u=="string"?Fr(u):u};return k`
|
|
2022
2040
|
<div class="cell"
|
|
2023
2041
|
part="${this.columnPart("cell",o)} cell-row-${i} cell-column-${o}-row-${i}">
|
|
2024
2042
|
${c(this.getValue(e,n))}
|
|
2025
2043
|
</div>
|
|
2026
|
-
`}getValue(e,o){return typeof e.getter=="string"?o[e.getter]:e.getter(o)}getValueAsString(e,o,n){let i=this.getValue(e,o);return typeof e.stringify=="function"?e.stringify(i,n):
|
|
2044
|
+
`}getValue(e,o){return typeof e.getter=="string"?o[e.getter]:e.getter(o)}getValueAsString(e,o,n){let i=this.getValue(e,o);return typeof e.stringify=="function"?e.stringify(i,n):kc(i)}stringifyValue(e,o,n){return typeof e.stringify=="function"?e.stringify(o,n):kc(o)}};He.styles=Ic;Nr([rt([])],He.prototype,"data",void 0);Nr([rt([])],He.prototype,"columns",void 0);Nr([rt(void 0)],He.prototype,"sort",void 0);Nr([O({type:Boolean})],He.prototype,"stickyHeaders",void 0);Nr([O({type:Boolean})],He.prototype,"disableDataManipulation",void 0);Nr([j()],He.prototype,"currentSort",void 0);ie("ft-filterable-table")(He);})();
|
|
2027
2045
|
/*! Bundled license information:
|
|
2028
2046
|
|
|
2029
2047
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|