@fluid-topics/ft-search-bar 1.2.21 → 1.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-bar.light.js +52 -52
- package/build/ft-search-bar.min.js +109 -109
- package/build/managers/MobileSearchBarManager.js +0 -1
- package/package.json +15 -15
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?Y.substr(1,Y.length):Y}).forEach(function(Y){var ie=Y.split(":"),Z=ie.shift().trim();if(Z){var ft=ie.join(":").trim();try{O.append(Z,ft)}catch(so){console.warn("Response "+so.message)}}}),O}I.call(R.prototype);function oe(y,O){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=O.statusText===void 0?"":""+O.statusText,this.headers=new u(O.headers),this.url=O.url||"",this._initBody(y)}I.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},oe.error=function(){var y=new oe(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var re=[301,302,303,307,308];oe.redirect=function(y,O){if(re.indexOf(O)===-1)throw new RangeError("Invalid status code");return new oe(null,{status:O,headers:{location:y}})},t.DOMException=i.DOMException;try{new t.DOMException}catch{t.DOMException=function(O,F){this.message=O,this.name=F;var Y=Error(O);this.stack=Y.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function U(y,O){return new Promise(function(F,Y){var ie=new R(y,O);if(ie.signal&&ie.signal.aborted)return Y(new t.DOMException("Aborted","AbortError"));var Z=new XMLHttpRequest;function ft(){Z.abort()}Z.onload=function(){var _e={statusText:Z.statusText,headers:j(Z.getAllResponseHeaders()||"")};ie.url.indexOf("file://")===0&&(Z.status<200||Z.status>599)?_e.status=200:_e.status=Z.status,_e.url="responseURL"in Z?Z.responseURL:_e.headers.get("X-Request-URL");var ar="response"in Z?Z.response:Z.responseText;setTimeout(function(){F(new oe(ar,_e))},0)},Z.onerror=function(){setTimeout(function(){Y(new TypeError("Network request failed"))},0)},Z.ontimeout=function(){setTimeout(function(){Y(new TypeError("Network request timed out"))},0)},Z.onabort=function(){setTimeout(function(){Y(new t.DOMException("Aborted","AbortError"))},0)};function so(_e){try{return _e===""&&i.location.href?i.location.href:_e}catch{return _e}}if(Z.open(ie.method,so(ie.url),!0),ie.credentials==="include"?Z.withCredentials=!0:ie.credentials==="omit"&&(Z.withCredentials=!1),"responseType"in Z&&(n.blob?Z.responseType="blob":n.arrayBuffer&&(Z.responseType="arraybuffer")),O&&typeof O.headers=="object"&&!(O.headers instanceof u||i.Headers&&O.headers instanceof i.Headers)){var Ts=[];Object.getOwnPropertyNames(O.headers).forEach(function(_e){Ts.push(d(_e)),Z.setRequestHeader(_e,p(O.headers[_e]))}),ie.headers.forEach(function(_e,ar){Ts.indexOf(ar)===-1&&Z.setRequestHeader(ar,_e)})}else ie.headers.forEach(function(_e,ar){Z.setRequestHeader(ar,_e)});ie.signal&&(ie.signal.addEventListener("abort",ft),Z.onreadystatechange=function(){Z.readyState===4&&ie.signal.removeEventListener("abort",ft)}),Z.send(typeof ie._bodyInit>"u"?null:ie._bodyInit)})}return U.polyfill=!0,i.fetch||(i.fetch=U,i.Headers=u,i.Request=R,i.Response=oe),t.Headers=u,t.Request=R,t.Response=oe,t.fetch=U,t}({})})(Ui);Ui.fetch.ponyfill=!0;delete Ui.fetch.polyfill;var Yr=Mi.fetch?Mi:Ui;er=Yr.fetch;er.default=Yr.fetch;er.fetch=Yr.fetch;er.Headers=Yr.Headers;er.Request=Yr.Request;er.Response=Yr.Response;Bc.exports=er});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,C){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" has already been used with this registry`);if(this._definitionsByClass.get(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=C.prototype.attributeChangedCallback,B=new Set(C.observedAttributes||[]);g(C,B,R);let j={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:B};this._definitionsByTag.set(A,j),this._definitionsByClass.set(C,j);let oe=t.call(i,A);oe||(oe=u(A),e.call(i,A,oe)),this===window.customElements&&(s.set(C,j),j.standInClass=oe);let re=this._awaitingUpgrade.get(A);if(re){this._awaitingUpgrade.delete(A);for(let y of re)a.delete(y),S(y,j,!0)}let U=this._whenDefinedPromises.get(A);return U!==void 0&&(U.resolve(C),this._whenDefinedPromises.delete(A)),C}upgrade(){k.push(this),i.upgrade.apply(i,arguments),k.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let C=this._getDefinition(A);if(C!==void 0)return Promise.resolve(C.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(B=>R.resolve=B),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,C,R){let B=this._awaitingUpgrade.get(C);B||this._awaitingUpgrade.set(C,B=new Set),R?B.add(A):B.delete(A)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(r,[],R.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),n.set(C,R),C},window.HTMLElement.prototype=r.prototype;let p=A=>A===document||A instanceof ShadowRoot,h=A=>{let C=A.getRootNode();if(!p(C)){let R=k[k.length-1];if(R instanceof CustomElementRegistry)return R;C=R.getRootNode(),p(C)||(C=l.get(C)?.getRootNode()||document)}return C.customElements},u=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let B=h(R)||window.customElements,j=B._getDefinition(A);return j?S(R,j):a.set(R,B),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(A,C,R)=>{if(C.size===0||R===void 0)return;let B=A.prototype.setAttribute;B&&(A.prototype.setAttribute=function(re,U){let y=re.toLowerCase();if(C.has(y)){let O=this.getAttribute(y);B.call(this,y,U),R.call(this,y,O,U)}else B.call(this,y,U)});let j=A.prototype.removeAttribute;j&&(A.prototype.removeAttribute=function(re){let U=re.toLowerCase();if(C.has(U)){let y=this.getAttribute(U);j.call(this,U),R.call(this,U,y,null)}else j.call(this,U)});let oe=A.prototype.toggleAttribute;oe&&(A.prototype.toggleAttribute=function(re,U){let y=re.toLowerCase();if(C.has(y)){let O=this.getAttribute(y);oe.call(this,y,U);let F=this.getAttribute(y);R.call(this,y,O,F)}else oe.call(this,y,U)})},x=A=>{let C=Object.getPrototypeOf(A);if(C!==window.HTMLElement)return C===r?Object.setPrototypeOf(A,window.HTMLElement):x(C)},S=(A,C,R=!1)=>{Object.setPrototypeOf(A,C.elementClass.prototype),n.set(A,C),d=A;try{new C.elementClass}catch{x(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(B=>{A.hasAttribute(B)&&C.attributeChangedCallback.call(A,B,null,A.getAttribute(B))}),R&&C.connectedCallback&&A.isConnected&&C.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let C=E.apply(this,arguments);return A.customElements&&(C.customElements=A.customElements),C};let k=[document],P=(A,C,R=void 0)=>{let B=(R?Object.getPrototypeOf(R):A.prototype)[C];A.prototype[C]=function(){k.push(this);let j=B.apply(R||this,arguments);return j!==void 0&&l.set(j,this),k.pop(),j}};P(ShadowRoot,"createElement",document),P(ShadowRoot,"importNode",document),P(Element,"insertAdjacentHTML");let I=(A,C)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,C);Object.defineProperty(A.prototype,C,{...R,set(B){k.push(this),R.set.call(this,B),k.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,C=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...re){let U=C.call(this,...re);return A.set(U,this),U},R.forEach(re=>{let U=window.ElementInternals.prototype,y=U[re];U[re]=function(...O){let F=A.get(this);if(n.get(F).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 B extends Array{constructor(U){super(...U),this._elements=U}get value(){return this._elements.find(U=>U.checked===!0)?.value||""}}class j{constructor(U){let y=new Map;U.forEach((O,F)=>{let Y=O.getAttribute("name"),ie=y.get(Y)||[];this[+F]=O,ie.push(O),y.set(Y,ie)}),this.length=U.length,y.forEach((O,F)=>{O&&(O.length===1?this[F]=O[0]:this[F]=new B(O))})}namedItem(U){return this[U]}}let oe=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let re=oe.get.call(this,[]),U=[];for(let y of re){let O=n.get(y);(!O||O.formAssociated===!0)&&U.push(y)}return new j(U)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,i,n)=>{if(i!==null)try{e.bind(window.customElements)(t,i,n)}catch(a){console.info(t,i,n,a)}}}var un={};se(un,{CSSResult:()=>Pr,LitElement:()=>_t,ReactiveElement:()=>ut,_$LE:()=>Hp,_$LH:()=>Up,adoptStyles:()=>ui,css:()=>L,defaultConverter:()=>hi,getCompatibleStyle:()=>yo,html:()=>w,isServer:()=>Ch,noChange:()=>Wt,notEqual:()=>sn,nothing:()=>z,render:()=>fn,supportsAdoptingStyleSheets:()=>mo,svg:()=>Mp,unsafeCSS:()=>Lt});var Qo=globalThis,ti=Qo.ShadowRoot&&(Qo.ShadyCSS===void 0||Qo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Fs=Symbol(),Bs=new WeakMap,ei=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==Fs)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(ti&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=Bs.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Bs.set(t,e))}return e}toString(){return this.cssText}},Ds=r=>new ei(typeof r=="string"?r:r+"",void 0,Fs);var en=(r,e)=>{if(ti)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=Qo.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},ri=ti?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return Ds(t)})(r):r;var{is:xp,defineProperty:Sp,getOwnPropertyDescriptor:Op,getOwnPropertyNames:Cp,getOwnPropertySymbols:Ep,getPrototypeOf:wp}=Object,oi=globalThis,Ms=oi.trustedTypes,Ap=Ms?Ms.emptyScript:"",Rp=oi.reactiveElementPolyfillSupport,lo=(r,e)=>r,co={toAttribute(r,e){switch(e){case Boolean:r=r?Ap:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},ii=(r,e)=>!xp(r,e),Us={attribute:!0,type:String,converter:co,reflect:!1,hasChanged:ii};Symbol.metadata??=Symbol("metadata"),oi.litPropertyMetadata??=new WeakMap;var sr=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Us){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&Sp(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=Op(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Us}static _$Ei(){if(this.hasOwnProperty(lo("elementProperties")))return;let e=wp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(lo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(lo("properties"))){let t=this.properties,i=[...Cp(t),...Ep(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(ri(n))}else e!==void 0&&t.push(ri(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return en(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:co).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:co;this._$Em=n,this[n]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,i,n=!1,a){if(e!==void 0){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??ii)(n?a:this[e],t))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$ET()}catch(i){throw e=!1,this._$ET(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};sr.elementStyles=[],sr.shadowRootOptions={mode:"open"},sr[lo("elementProperties")]=new Map,sr[lo("finalized")]=new Map,Rp?.({ReactiveElement:sr}),(oi.reactiveElementVersions??=[]).push("2.0.2");var rn=globalThis,ni=rn.trustedTypes,zs=ni?ni.createPolicy("lit-html",{createHTML:r=>r}):void 0,on="$lit$",$t=`lit$${(Math.random()+"").slice(9)}$`,nn="?"+$t,$p=`<${nn}>`,dr=document,ai=()=>dr.createComment(""),fo=r=>r===null||typeof r!="object"&&typeof r!="function",Ks=Array.isArray,Zs=r=>Ks(r)||typeof r?.[Symbol.iterator]=="function",tn=`[
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Vs=/'/g,js=/"/g,qs=/^(?:script|style|textarea|title)$/i,Ys=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),Xs=Ys(1),Js=Ys(2),Ze=Symbol.for("lit-noChange"),Se=Symbol.for("lit-nothing"),Gs=new WeakMap,cr=dr.createTreeWalker(dr,129);function Qs(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return zs!==void 0?zs.createHTML(e):e}var el=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":"",s=po;for(let l=0;l<t;l++){let d=r[l],p,h,u=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===po?h[1]==="!--"?s=Ws:h[1]!==void 0?s=Hs:h[2]!==void 0?(qs.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=lr):h[3]!==void 0&&(s=lr):s===lr?h[0]===">"?(s=n??po,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?lr:h[3]==='"'?js:Vs):s===js||s===Vs?s=lr:s===Ws||s===Hs?s=po:(s=lr,n=void 0);let x=s===lr&&r[l+1].startsWith("/>")?" ":"";a+=s===po?d+$p:u>=0?(i.push(p),d.slice(0,u)+on+d.slice(u)+$t+x):d+$t+(u===-2?l:x)}return[Qs(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),i]},uo=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=el(e,t);if(this.el=r.createElement(p,i),cr.currentNode=this.el.content,t===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=cr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith(on)){let g=h[s++],x=n.getAttribute(u).split($t),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?li:S[1]==="?"?ci:S[1]==="@"?di:fr}),n.removeAttribute(u)}else u.startsWith($t)&&(d.push({type:6,index:a}),n.removeAttribute(u));if(qs.test(n.tagName)){let u=n.textContent.split($t),g=u.length-1;if(g>0){n.textContent=ni?ni.emptyScript:"";for(let x=0;x<g;x++)n.append(u[x],ai()),cr.nextNode(),d.push({type:2,index:++a});n.append(u[g],ai())}}}else if(n.nodeType===8)if(n.data===nn)d.push({type:2,index:a});else{let u=-1;for(;(u=n.data.indexOf($t,u+1))!==-1;)d.push({type:7,index:a}),u+=$t.length-1}a++}}static createElement(e,t){let i=dr.createElement("template");return i.innerHTML=e,i}};function pr(r,e,t=r,i){if(e===Ze)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=fo(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=pr(r,n._$AS(r,e.values),n,i)),e}var si=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??dr).importNode(t,!0);cr.currentNode=n;let a=cr.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new ho(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new pi(a,this,e)),this._$AV.push(p),d=i[++l]}s!==d?.index&&(a=cr.nextNode(),s++)}return cr.currentNode=dr,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},ho=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=Se,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=pr(this,e,t),fo(e)?e===Se||e==null||e===""?(this._$AH!==Se&&this._$AR(),this._$AH=Se):e!==this._$AH&&e!==Ze&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Zs(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Se&&fo(this._$AH)?this._$AA.nextSibling.data=e:this.$(dr.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=uo.createElement(Qs(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new si(n,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=Gs.get(e.strings);return t===void 0&&Gs.set(e.strings,t=new uo(e)),t}T(e){Ks(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.k(ai()),this.k(ai()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},fr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=Se,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Se}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=pr(this,e,t,0),s=!fo(e)||e!==this._$AH&&e!==Ze,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=pr(this,l[i+d],t,d),p===Ze&&(p=this._$AH[d]),s||=!fo(p)||p!==this._$AH[d],p===Se?e=Se:e!==Se&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!n&&this.O(e)}O(e){e===Se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},li=class extends fr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Se?void 0:e}},ci=class extends fr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Se)}},di=class extends fr{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=pr(this,e,t,0)??Se)===Ze)return;let i=this._$AH,n=e===Se&&i!==Se||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Se&&(i===Se||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},pi=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){pr(this,e)}},tl={j:on,P:$t,A:nn,C:1,M:el,L:si,R:Zs,V:pr,D:ho,I:fr,H:ci,N:di,U:li,B:pi},Lp=rn.litHtmlPolyfillSupport;Lp?.(uo,ho),(rn.litHtmlVersions??=[]).push("3.1.0");var fi=globalThis,mo=fi.ShadowRoot&&(fi.ShadyCSS===void 0||fi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,an=Symbol(),rl=new WeakMap,Pr=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==an)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(mo&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=rl.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&rl.set(t,e))}return e}toString(){return this.cssText}},Lt=r=>new Pr(typeof r=="string"?r:r+"",void 0,an),L=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+r[a+1],r[0]);return new Pr(t,r,an)},ui=(r,e)=>{if(mo)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=fi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},yo=mo?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return Lt(t)})(r):r;var{is:Np,defineProperty:_p,getOwnPropertyDescriptor:kp,getOwnPropertyNames:Pp,getOwnPropertySymbols:Ip,getPrototypeOf:Tp}=Object,mi=globalThis,ol=mi.trustedTypes,Bp=ol?ol.emptyScript:"",Fp=mi.reactiveElementPolyfillSupport,go=(r,e)=>r,hi={toAttribute(r,e){switch(e){case Boolean:r=r?Bp:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},sn=(r,e)=>!Np(r,e),il={attribute:!0,type:String,converter:hi,reflect:!1,hasChanged:sn};Symbol.metadata??=Symbol("metadata"),mi.litPropertyMetadata??=new WeakMap;var ut=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=il){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&_p(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=kp(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??il}static _$Ei(){if(this.hasOwnProperty(go("elementProperties")))return;let e=Tp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(go("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(go("properties"))){let t=this.properties,i=[...Pp(t),...Ip(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(yo(n))}else e!==void 0&&t.push(yo(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ui(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:hi).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:hi;this._$Em=n,this[n]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,i,n=!1,a){if(e!==void 0){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??sn)(n?a:this[e],t))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$ET()}catch(i){throw e=!1,this._$ET(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};ut.elementStyles=[],ut.shadowRootOptions={mode:"open"},ut[go("elementProperties")]=new Map,ut[go("finalized")]=new Map,Fp?.({ReactiveElement:ut}),(mi.reactiveElementVersions??=[]).push("2.0.2");var cn=globalThis,yi=cn.trustedTypes,nl=yi?yi.createPolicy("lit-html",{createHTML:r=>r}):void 0,dn="$lit$",Nt=`lit$${(Math.random()+"").slice(9)}$`,pn="?"+Nt,Dp=`<${pn}>`,mr=document,vo=()=>mr.createComment(""),xo=r=>r===null||typeof r!="object"&&typeof r!="function",pl=Array.isArray,fl=r=>pl(r)||typeof r?.[Symbol.iterator]=="function",ln=`[
|
|
5
|
-
\f\r]`,
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ll=/'/g,cl=/"/g,ul=/^(?:script|style|textarea|title)$/i,hl=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),w=hl(1),Mp=hl(2),Wt=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),dl=new WeakMap,hr=mr.createTreeWalker(mr,129);function ml(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return nl!==void 0?nl.createHTML(e):e}var yl=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":"",s=bo;for(let l=0;l<t;l++){let d=r[l],p,h,u=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===bo?h[1]==="!--"?s=al:h[1]!==void 0?s=sl:h[2]!==void 0?(ul.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=ur):h[3]!==void 0&&(s=ur):s===ur?h[0]===">"?(s=n??bo,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?ur:h[3]==='"'?cl:ll):s===cl||s===ll?s=ur:s===al||s===sl?s=bo:(s=ur,n=void 0);let x=s===ur&&r[l+1].startsWith("/>")?" ":"";a+=s===bo?d+Dp:u>=0?(i.push(p),d.slice(0,u)+dn+d.slice(u)+Nt+x):d+Nt+(u===-2?l:x)}return[ml(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),i]},So=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=yl(e,t);if(this.el=r.createElement(p,i),hr.currentNode=this.el.content,t===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=hr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith(dn)){let g=h[s++],x=n.getAttribute(u).split(Nt),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?bi:S[1]==="?"?vi:S[1]==="@"?xi:gr}),n.removeAttribute(u)}else u.startsWith(Nt)&&(d.push({type:6,index:a}),n.removeAttribute(u));if(ul.test(n.tagName)){let u=n.textContent.split(Nt),g=u.length-1;if(g>0){n.textContent=yi?yi.emptyScript:"";for(let x=0;x<g;x++)n.append(u[x],vo()),hr.nextNode(),d.push({type:2,index:++a});n.append(u[g],vo())}}}else if(n.nodeType===8)if(n.data===pn)d.push({type:2,index:a});else{let u=-1;for(;(u=n.data.indexOf(Nt,u+1))!==-1;)d.push({type:7,index:a}),u+=Nt.length-1}a++}}static createElement(e,t){let i=mr.createElement("template");return i.innerHTML=e,i}};function yr(r,e,t=r,i){if(e===Wt)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=xo(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=yr(r,n._$AS(r,e.values),n,i)),e}var gi=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??mr).importNode(t,!0);hr.currentNode=n;let a=hr.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Ir(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new Si(a,this,e)),this._$AV.push(p),d=i[++l]}s!==d?.index&&(a=hr.nextNode(),s++)}return hr.currentNode=mr,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},Ir=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=yr(this,e,t),xo(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==Wt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):fl(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==z&&xo(this._$AH)?this._$AA.nextSibling.data=e:this.$(mr.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=So.createElement(ml(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new gi(n,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=dl.get(e.strings);return t===void 0&&dl.set(e.strings,t=new So(e)),t}T(e){pl(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.k(vo()),this.k(vo()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},gr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=z}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=yr(this,e,t,0),s=!xo(e)||e!==this._$AH&&e!==Wt,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=yr(this,l[i+d],t,d),p===Wt&&(p=this._$AH[d]),s||=!xo(p)||p!==this._$AH[d],p===z?e=z:e!==z&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!n&&this.O(e)}O(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},bi=class extends gr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===z?void 0:e}},vi=class extends gr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},xi=class extends gr{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=yr(this,e,t,0)??z)===Wt)return;let i=this._$AH,n=e===z&&i!==z||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==z&&(i===z||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Si=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){yr(this,e)}},Up={j:dn,P:Nt,A:pn,C:1,M:yl,L:gi,R:fl,V:yr,D:Ir,I:gr,H:vi,N:xi,U:bi,B:Si},zp=cn.litHtmlPolyfillSupport;zp?.(So,Ir),(cn.litHtmlVersions??=[]).push("3.1.0");var fn=(r,e,t)=>{let i=t?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=t?.renderBefore??null;i._$litPart$=n=new Ir(e.insertBefore(vo(),a),a,void 0,t??{})}return n._$AI(r),n};var _t=class extends ut{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=fn(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Wt}};_t._$litElement$=!0,_t.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:_t});var Wp=globalThis.litElementPolyfillSupport;Wp?.({LitElement:_t});var Hp={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Ch=!1;var gn={};se(gn,{customElement:()=>Vp,eventOptions:()=>Tr,property:()=>m,query:()=>D,queryAll:()=>hn,queryAssignedElements:()=>mn,queryAssignedNodes:()=>yn,queryAsync:()=>Kp,standardProperty:()=>gl,state:()=>W});var Vp=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var jp={attribute:!0,type:String,converter:co,reflect:!1,hasChanged:ii},gl=(r=jp,e,t)=>{let{kind:i,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),a.set(t.name,r),i==="accessor"){let{name:s}=t;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r),l}}}if(i==="setter"){let{name:s}=t;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+i)};function m(r){return(e,t)=>typeof t=="object"?gl(r,e,t):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,s?{...i,wrapped:!0}:i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(r,e,t)}function W(r){return m({...r,state:!0,attribute:!1})}function Tr(r){return(e,t)=>{let i=typeof e=="function"?e:e[t];Object.assign(i,r)}}var at=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t);function D(r,e){return(t,i,n)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof i=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return at(t,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return at(t,i,{get(){return a(this)}})}}var Gp;function hn(r){return(e,t)=>at(e,t,{get(){return(this.renderRoot??(Gp??=document.createDocumentFragment())).querySelectorAll(r)}})}function Kp(r){return(e,t)=>at(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function mn(r){return(e,t)=>{let{slot:i,selector:n}=r??{},a="slot"+(i?`[name=${i}]`:":not([name])");return at(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}function yn(r){return(e,t)=>{let{slot:i}=r??{},n="slot"+(i?`[name=${i}]`:":not([name])");return at(e,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(r)??[]}})}}var bn={};se(bn,{repeat:()=>Le});var Ht={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Vt=r=>(...e)=>({_$litDirective$:r,values:e}),ht=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:Zp}=tl;var bl=()=>document.createComment(""),Br=(r,e,t)=>{let i=r._$AA.parentNode,n=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=i.insertBefore(bl(),n),s=i.insertBefore(bl(),n);t=new Zp(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let d;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(d=r._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let p=d.nextSibling;i.insertBefore(d,n),d=p}}}return t},jt=(r,e,t=r)=>(r._$AI(e,t),r),qp={},vl=(r,e=qp)=>r._$AH=e,xl=r=>r._$AH,Oi=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let i=e.nextSibling;e.remove(),e=i}};var Sl=(r,e,t)=>{let i=new Map;for(let n=e;n<=t;n++)i.set(r[n],n);return i},Le=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of r)n[s]=i?i(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:n}}render(r,e,t){return this.ht(r,e,t).values}update(r,[e,t,i]){let n=xl(r),{values:a,keys:s}=this.ht(e,t,i);if(!Array.isArray(n))return this.dt=s,a;let l=this.dt??=[],d=[],p,h,u=0,g=n.length-1,x=0,S=a.length-1;for(;u<=g&&x<=S;)if(n[u]===null)u++;else if(n[g]===null)g--;else if(l[u]===s[x])d[x]=jt(n[u],a[x]),u++,x++;else if(l[g]===s[S])d[S]=jt(n[g],a[S]),g--,S--;else if(l[u]===s[S])d[S]=jt(n[u],a[S]),Br(r,d[S+1],n[u]),u++,S--;else if(l[g]===s[x])d[x]=jt(n[g],a[x]),Br(r,n[u],n[g]),g--,x++;else if(p===void 0&&(p=Sl(s,x,S),h=Sl(l,u,g)),p.has(l[u]))if(p.has(l[g])){let E=h.get(s[x]),k=E!==void 0?n[E]:null;if(k===null){let P=Br(r,n[u]);jt(P,a[x]),d[x]=P}else d[x]=jt(k,a[x]),Br(r,n[u],k),n[E]=null;x++}else Oi(n[g]),g--;else Oi(n[u]),u++;for(;x<=S;){let E=Br(r,d[S+1]);jt(E,a[x]),d[x++]=E}for(;u<=g;){let E=n[u++];E!==null&&Oi(E)}return this.dt=s,vl(r,d),Ze}});var vn={};se(vn,{classMap:()=>pe});var pe=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.st?.has(i)&&this.it.add(i);return this.render(e)}let t=r.element.classList;for(let i of this.it)i in e||(t.remove(i),this.it.delete(i));for(let i in e){let n=!!e[i];n===this.it.has(i)||this.st?.has(i)||(n?(t.add(i),this.it.add(i)):(t.remove(i),this.it.delete(i)))}return Ze}});var xn={};se(xn,{styleMap:()=>Xp});var Ol="important",Yp=" !"+Ol,Xp=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.ATTRIBUTE||r.name!=="style"||r.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[e]){let{style:t}=r.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let i of this.ut)e[i]==null&&(this.ut.delete(i),i.includes("-")?t.removeProperty(i):t[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ut.add(i);let a=typeof n=="string"&&n.endsWith(Yp);i.includes("-")||a?t.setProperty(i,a?n.slice(0,-11):n,a?Ol:""):t[i]=n}}return Ze}});var On={};se(On,{UnsafeHTMLDirective:()=>Fr,unsafeHTML:()=>Sn});var Fr=class extends ht{constructor(e){if(super(e),this.et=Se,e.type!==Ht.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Se||e==null)return this.vt=void 0,this.et=e;if(e===Ze)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Fr.directiveName="unsafeHTML",Fr.resultType=1;var Sn=Vt(Fr);var Ln={};se(Ln,{CacheRegistry:()=>mt,ClearCacheEvent:()=>Co});var En={};se(En,{CancelablePromise:()=>Dr,CanceledPromiseError:()=>Oo,cancelable:()=>Cn});var Oo=class extends Error{constructor(e,t,i){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=i}},Dr=class extends Promise{constructor(e){super((t,i)=>e(n=>{this.isCanceled?i(new Oo("Promise has been canceled",n)):t(n)},n=>{this.isCanceled?i(new Oo("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Cn=r=>new Dr((e,t)=>r.then(e).catch(t));var $n={};se($n,{FtNotificationEvent:()=>wn,PostResizeEvent:()=>Rn,PreResizeEvent:()=>An,WithEventBus:()=>br,withEventBus:()=>Cl});var wn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},An=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Rn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Cl(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(t,i,n){this.eventBus.addEventListener(t,i,n)}dispatchEvent(t){return this.eventBus.dispatchEvent(t)}removeEventListener(t,i,n){this.eventBus.removeEventListener(t,i,n)}}}var br=class extends Cl(Object){};var Co=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},mt=class extends br{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(e=!0){let t=[];for(let i in this.content)this.clear(i,!1)!=null&&t.push(i);e&&t.length>0&&this.dispatchEvent(new Co(t))}clear(e,t=!0){if(!this.finalContent.has(e))return this.forceClear(e),t&&this.dispatchEvent(new Co([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Dr&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,i){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let n=Cn(t());return this.content[e]=n,n.then(a=>(this.content[e]=a,i!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),i)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var _n={};se(_n,{ClusteringHelper:()=>Nn});var Nn=class r{constructor(e,t,i,n){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e,t){var i,n;let a=((n=(i=e?.map)!==null&&i!==void 0?i:e?.document)!==null&&n!==void 0?n:e?.topic).metadata;return t==null?r.flattenMetadata(a):r.flattenMetadata(a.find(s=>s.key===t))}static flattenMetadata(e){if(Array.isArray(e))return e.map(i=>r.flattenMetadata(i)).filter(i=>i!=null);let t=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!t))if(t){let i=[],n=[];return e.hierarchicalValues.forEach(a=>{i.push(a.join(" > ")),a.length>2?n.push(`... > ${a[a.length-1]}`):n.push(a.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:n.join(", ")}}else{let i=e.values.join(", ");return{key:e.key,label:e.label,value:i,displayValue:i}}}computeClustersItemsForMetadata(e,t,i="No value"){var n,a;let s=r.extractResultMetadata(this.selectedResult,e),l=(n=s?.label)!==null&&n!==void 0?n:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(p=>r.extractResultMetadata(p,e)).map(p=>p??{key:e,label:l,value:void 0,displayValue:i}).filter(p=>p.value!=s?.value).filter((p,h,u)=>u.findIndex(g=>g.value===p.value)===h).map(p=>({result:this.findBestResultForMetadataValue(e,p.value),metadata:p})).sort((p,h)=>this.compareMetadata(p.metadata.value,h.metadata.value,e,t))}compareMetadata(e,t,i,n){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(t,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let i=this.allResults.filter(d=>{var p;return((p=r.extractResultMetadata(d,e))===null||p===void 0?void 0:p.value)==t}),a=[...r.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata(e).filter(i=>t.some(n=>n.key===i.key&&n.value===i.value)).length}};var kn={};se(kn,{Debouncer:()=>ce});var ce=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,i)=>{this.resolvePromise=t,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Tn={};se(Tn,{customElement:()=>H,isNumber:()=>wl,jsonProperty:()=>ke,optionalNumberProperty:()=>of});var In={};se(In,{dateReviver:()=>Qp,deepEqual:()=>De,delay:()=>Ci,eventPathContainsMatchingElement:()=>tf,flatDeep:()=>qe,getComposedPathTo:()=>Pn,hasChanged:()=>Eo,last:()=>rf,minmax:()=>wo,parseDate:()=>El,unslotText:()=>Mr,waitFor:()=>Ei,waitUntil:()=>Jp});var Ci=r=>new Promise(e=>setTimeout(e,r));async function Jp(r,e=10,t=2e4){await Ei(async()=>await r()||void 0,e,t)}async function Ei(r,e=10,t=2e4){let i=await r(),n,a;for(n=a=performance.now();i==null&&(!t||a-n<t);)await Ci(e),i=await r(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function qe(r,e){return r.flatMap(t=>[t,...qe(e(t),e)])}function Qp(...r){return function(e,t){return r.includes(e)?El(t):t}}function El(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,i,n)=>t+i+":"+n),new Date(r)}function ef(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var t,i,n;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(i=t;i--!==0;)if(!De(r[i],e[i]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;for(i of r.entries())if(!De(i[1],e.get(i[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(n=Object.keys(r),t=n.length,t!==Object.keys(e).length)return!1;for(i=t;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=t;i--!==0;){var a=n[i];if(!De(r[a],e[a]))return!1}return!0}return r!==r&&e!==e}function De(r,e){try{return ef(r,e)}catch{return!1}}function Eo(r,e){return!De(r,e)}function tf(r,e,t=window.document.body){if(e.length>0){let i=r.composedPath();for(let n of i){if(n===t)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function wo(r,e,t){return Math.min(Math.max(r,e),t)}function rf(r){return r[r.length-1]}function Mr(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>Mr(e)).join(""):r?.textContent||""}function Pn(r){let e=[],t=i=>{i.stopPropagation(),e=i.composedPath()};return r.addEventListener("get-composed-path",t),r.dispatchEvent(new Event("get-composed-path",{composed:!0})),r.removeEventListener("get-composed-path",t),e}var H=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function ke(r,e){let t=()=>JSON.parse(JSON.stringify(r));return m({type:Object,converter:{fromAttribute:i=>{if(i==null)return t();try{return JSON.parse(i)}catch{return t()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Eo,...e??{}})}function of(r){return m({type:Object,converter:{fromAttribute:e=>{if(e!=null)return wl(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function wl(r){return!isNaN(parseFloat(r))}var da={};se(da,{designSystemVariables:()=>$});var ca={};se(ca,{DesignSystemFamily:()=>Pt,DesignSystemSize:()=>Ne,FtCssVariableFactory:()=>o,badge:()=>cf,banner:()=>lf,button:()=>b,chart:()=>wf,checkbox:()=>$f,chip:()=>X,chipChoice:()=>af,collapsible:()=>Cf,comboboxMultiSelect:()=>Sf,comboboxSingleSelect:()=>xf,drawer:()=>mf,floatingMenu:()=>vf,foundation:()=>c,link:()=>sf,modal:()=>hf,notice:()=>Rf,notification:()=>_f,pageDesigner:()=>Af,pageFooter:()=>ff,pageHeader:()=>pf,pageLayout:()=>uf,popover:()=>Of,radio:()=>Nf,reorderableList:()=>Pf,resolveFamilyClass:()=>sa,resolveSizeClass:()=>la,semantic:()=>f,setVariable:()=>v,switch_:()=>Ef,tabs:()=>yf,textArea:()=>bf,textInput:()=>gf,titleBreadcrumb:()=>df,toggle:()=>Lf,tooltip:()=>kf,typographies:()=>Ao,typographyBody1Medium:()=>zn,typographyBody1Regular:()=>Un,typographyBody1Semibold:()=>Wn,typographyBody2Medium:()=>Vn,typographyBody2MediumUnderline:()=>Al,typographyBody2Regular:()=>Hn,typographyBody2Semibold:()=>jn,typographyCaption1Bold:()=>ea,typographyCaption1Medium:()=>Jn,typographyCaption1Semibold:()=>Qn,typographyCaption2Bold:()=>oa,typographyCaption2Medium:()=>ta,typographyCaption2Semibold:()=>ra,typographyCaption3Bold:()=>aa,typographyCaption3Medium:()=>ia,typographyCaption3Semibold:()=>na,typographyDisplay:()=>Bn,typographyLabel1Bold:()=>Zn,typographyLabel1Medium:()=>Gn,typographyLabel1Semibold:()=>Kn,typographyLabel2Bold:()=>Xn,typographyLabel2Medium:()=>qn,typographyLabel2Semibold:()=>Yn,typographyTitle1:()=>Fn,typographyTitle2:()=>Dn,typographyTitle3:()=>Mn,typographyVariants:()=>nf});var kt=r=>typeof r=="string"?Lt(r):r,o=class{static create(e,t,i,n){let a=l=>kt(l??n),s=L`var(${kt(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>L`var(${kt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,t,i,n){let a=l=>i.get(l??n),s=L`var(${kt(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>L`var(${kt(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,t){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):kt(a??e.lastResortDefaultValue()),n=L`var(${kt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=t,n.defaultCssValue=i,n.get=a=>L`var(${kt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function v(r,e){return kt(`${r.name}: ${e}`)}var c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Bn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Fn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Dn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Mn={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Un={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},zn={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Wn={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Hn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Vn={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Al={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},jn={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Gn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Kn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Zn={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},qn={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Yn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ea={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ta={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ra={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},oa={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ia={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},na={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},aa={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ao={display:Bn,"title-1":Fn,"title-2":Dn,"title-3":Mn,"body-1-regular":Un,"body-1-medium":zn,"body-1-semibold":Wn,"body-2-regular":Hn,"body-2-medium":Vn,"body-2-medium-underline":Al,"body-2-semibold":jn,"label-1-medium":Gn,"label-1-semibold":Kn,"label-1-bold":Zn,"label-2-medium":qn,"label-2-semibold":Yn,"label-2-bold":Xn,"caption-1-medium":Jn,"caption-1-semibold":Qn,"caption-1-bold":ea,"caption-2-medium":ta,"caption-2-semibold":ra,"caption-2-bold":oa,"caption-3-medium":ia,"caption-3-semibold":na,"caption-3-bold":aa},nf=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var af={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var X={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var sf={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var lf={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var cf={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var df={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",f.contentGlobalSubtle)};var pf={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var ff={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var uf={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var hf={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var mf={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var yf={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var gf={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var bf={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var vf={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var xf={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Sf={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Of={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var Cf={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Ef={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var wf={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Af={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Rf={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var $f={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",c.spacing3)};var Lf={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var Nf={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)};var _f={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var kf={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var Pf={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",f.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",f.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",f.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",f.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",f.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",f.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",f.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",f.backgroundGlobalOnSurfaceDark)};var Pt;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Pt||(Pt={}));var Ne;(function(r){r.large="large",r.medium="medium",r.small="small"})(Ne||(Ne={}));function sa(r){return`ftds--family-${r}`}function la(r){return`ftds--size-${r}`}var $={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ea={};se(Ea,{computeFlipOffsetPosition:()=>eu,computeOffsetPosition:()=>To});var $l=["top","right","bottom","left"],Rl=["start","end"],pa=$l.reduce((r,e)=>r.concat(e,e+"-"+Rl[0],e+"-"+Rl[1]),[]),Lo=Math.min,Gt=Math.max,No=Math.round;var It=r=>({x:r,y:r}),If={left:"right",right:"left",bottom:"top",top:"bottom"},Tf={start:"end",end:"start"};function fa(r,e,t){return Gt(r,Lo(e,t))}function Ur(r,e){return typeof r=="function"?r(e):r}function yt(r){return r.split("-")[0]}function gt(r){return r.split("-")[1]}function ua(r){return r==="x"?"y":"x"}function ha(r){return r==="y"?"height":"width"}function _o(r){return["top","bottom"].includes(yt(r))?"y":"x"}function ma(r){return ua(_o(r))}function ya(r,e,t){t===void 0&&(t=!1);let i=gt(r),n=ma(r),a=ha(n),s=n==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=$o(s)),[s,$o(s)]}function Ll(r){let e=$o(r);return[Ro(r),e,Ro(e)]}function Ro(r){return r.replace(/start|end/g,e=>Tf[e])}function Bf(r,e,t){let i=["left","right"],n=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(r){case"top":case"bottom":return t?e?n:i:e?i:n;case"left":case"right":return e?a:s;default:return[]}}function Nl(r,e,t,i){let n=gt(r),a=Bf(yt(r),t==="start",i);return n&&(a=a.map(s=>s+"-"+n),e&&(a=a.concat(a.map(Ro)))),a}function $o(r){return r.replace(/left|right|bottom|top/g,e=>If[e])}function Ff(r){return{top:0,right:0,bottom:0,left:0,...r}}function _l(r){return typeof r!="number"?Ff(r):{top:r,right:r,bottom:r,left:r}}function vr(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function kl(r,e,t){let{reference:i,floating:n}=r,a=_o(e),s=ma(e),l=ha(s),d=yt(e),p=a==="y",h=i.x+i.width/2-n.width/2,u=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2,x;switch(d){case"top":x={x:h,y:i.y-n.height};break;case"bottom":x={x:h,y:i.y+i.height};break;case"right":x={x:i.x+i.width,y:u};break;case"left":x={x:i.x-n.width,y:u};break;default:x={x:i.x,y:i.y}}switch(gt(e)){case"start":x[s]-=g*(t&&p?-1:1);break;case"end":x[s]+=g*(t&&p?-1:1);break}return x}var Pl=async(r,e,t)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:r,floating:e,strategy:n}),{x:h,y:u}=kl(p,i,d),g=i,x={},S=0;for(let E=0;E<l.length;E++){let{name:k,fn:P}=l[E],{x:I,y:A,data:C,reset:R}=await P({x:h,y:u,initialPlacement:i,placement:g,strategy:n,middlewareData:x,rects:p,platform:s,elements:{reference:r,floating:e}});if(h=I??h,u=A??u,x={...x,[k]:{...x[k],...C}},R&&S<=50){S++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(p=R.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:n}):R.rects),{x:h,y:u}=kl(p,g,d)),E=-1;continue}}return{x:h,y:u,placement:g,strategy:n,middlewareData:x}};async function wi(r,e){var t;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=r,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:g=!1,padding:x=0}=Ur(e,r),S=_l(x),k=l[g?u==="floating"?"reference":"floating":u],P=vr(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(k)))==null||t?k:k.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),I=u==="floating"?{...s.floating,x:i,y:n}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),C=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},R=vr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:A,strategy:d}):I);return{top:(P.top-R.top+S.top)/C.y,bottom:(R.bottom-P.bottom+S.bottom)/C.y,left:(P.left-R.left+S.left)/C.x,right:(R.right-P.right+S.right)/C.x}}function Df(r,e,t){return(r?[...t.filter(n=>gt(n)===r),...t.filter(n=>gt(n)!==r)]:t.filter(n=>yt(n)===n)).filter(n=>r?gt(n)===r||(e?Ro(n)!==n:!1):!0)}var ga=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:g=pa,autoAlignment:x=!0,...S}=Ur(r,e),E=u!==void 0||g===pa?Df(u||null,x,g):g,k=await wi(e,S),P=((t=s.autoPlacement)==null?void 0:t.index)||0,I=E[P];if(I==null)return{};let A=ya(I,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==I)return{reset:{placement:E[0]}};let C=[k[yt(I)],k[A[0]],k[A[1]]],R=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:I,overflows:C}],B=E[P+1];if(B)return{data:{index:P+1,overflows:R},reset:{placement:B}};let j=R.map(U=>{let y=gt(U.placement);return[U.placement,y&&h?U.overflows.slice(0,2).reduce((O,F)=>O+F,0):U.overflows[0],U.overflows]}).sort((U,y)=>U[1]-y[1]),re=((n=j.filter(U=>U[2].slice(0,gt(U[0])?2:3).every(y=>y<=0))[0])==null?void 0:n[0])||j[0][0];return re!==l?{data:{index:P+1,overflows:R},reset:{placement:re}}:{}}}},ba=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(e){var t,i;let{placement:n,middlewareData:a,rects:s,initialPlacement:l,platform:d,elements:p}=e,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:g,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:E=!0,...k}=Ur(r,e);if((t=a.arrow)!=null&&t.alignmentOffset)return{};let P=yt(n),I=yt(l)===l,A=await(d.isRTL==null?void 0:d.isRTL(p.floating)),C=g||(I||!E?[$o(l)]:Ll(l));!g&&S!=="none"&&C.push(...Nl(l,E,S,A));let R=[l,...C],B=await wi(e,k),j=[],oe=((i=a.flip)==null?void 0:i.overflows)||[];if(h&&j.push(B[P]),u){let O=ya(n,s,A);j.push(B[O[0]],B[O[1]])}if(oe=[...oe,{placement:n,overflows:j}],!j.every(O=>O<=0)){var re,U;let O=(((re=a.flip)==null?void 0:re.index)||0)+1,F=R[O];if(F)return{data:{index:O,overflows:oe},reset:{placement:F}};let Y=(U=oe.filter(ie=>ie.overflows[0]<=0).sort((ie,Z)=>ie.overflows[1]-Z.overflows[1])[0])==null?void 0:U.placement;if(!Y)switch(x){case"bestFit":{var y;let ie=(y=oe.map(Z=>[Z.placement,Z.overflows.filter(ft=>ft>0).reduce((ft,so)=>ft+so,0)]).sort((Z,ft)=>Z[1]-ft[1])[0])==null?void 0:y[0];ie&&(Y=ie);break}case"initialPlacement":Y=l;break}if(n!==Y)return{reset:{placement:Y}}}return{}}}};async function Mf(r,e){let{placement:t,platform:i,elements:n}=r,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=yt(t),l=gt(t),d=_o(t)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,u=Ur(e,r),{mainAxis:g,crossAxis:x,alignmentAxis:S}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&typeof S=="number"&&(x=l==="end"?S*-1:S),d?{x:x*h,y:g*p}:{x:g*p,y:x*h}}var va=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var t,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Mf(e,r);return s===((t=l.offset)==null?void 0:t.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},xa=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:k=>{let{x:P,y:I}=k;return{x:P,y:I}}},...d}=Ur(r,e),p={x:t,y:i},h=await wi(e,d),u=_o(yt(n)),g=ua(u),x=p[g],S=p[u];if(a){let k=g==="y"?"top":"left",P=g==="y"?"bottom":"right",I=x+h[k],A=x-h[P];x=fa(I,x,A)}if(s){let k=u==="y"?"top":"left",P=u==="y"?"bottom":"right",I=S+h[k],A=S-h[P];S=fa(I,S,A)}let E=l.fn({...e,[g]:x,[u]:S});return{...E,data:{x:E.x-t,y:E.y-i}}}}};function Tt(r){return Tl(r)?(r.nodeName||"").toLowerCase():"#document"}function He(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Bt(r){var e;return(e=(Tl(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Tl(r){return r instanceof Node||r instanceof He(r).Node}function bt(r){return r instanceof Element||r instanceof He(r).Element}function st(r){return r instanceof HTMLElement||r instanceof He(r).HTMLElement}function Il(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof He(r).ShadowRoot}function zr(r){let{overflow:e,overflowX:t,overflowY:i,display:n}=Ye(r);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(n)}function Bl(r){return["table","td","th"].includes(Tt(r))}function Ri(r){let e=$i(),t=Ye(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Fl(r){let e=xr(r);for(;st(e)&&!ko(e);){if(Ri(e))return e;e=xr(e)}return null}function $i(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ko(r){return["html","body","#document"].includes(Tt(r))}function Ye(r){return He(r).getComputedStyle(r)}function Po(r){return bt(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function xr(r){if(Tt(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Il(r)&&r.host||Bt(r);return Il(e)?e.host:e}function Dl(r){let e=xr(r);return ko(e)?r.ownerDocument?r.ownerDocument.body:r.body:st(e)&&zr(e)?e:Dl(e)}function Ai(r,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);let n=Dl(r),a=n===((i=r.ownerDocument)==null?void 0:i.body),s=He(n);return a?e.concat(s,s.visualViewport||[],zr(n)?n:[],s.frameElement&&t?Ai(s.frameElement):[]):e.concat(n,Ai(n,[],t))}function zl(r){let e=Ye(r),t=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=st(r),a=n?r.offsetWidth:t,s=n?r.offsetHeight:i,l=No(t)!==a||No(i)!==s;return l&&(t=a,i=s),{width:t,height:i,$:l}}function Wl(r){return bt(r)?r:r.contextElement}function Wr(r){let e=Wl(r);if(!st(e))return It(1);let t=e.getBoundingClientRect(),{width:i,height:n,$:a}=zl(e),s=(a?No(t.width):t.width)/i,l=(a?No(t.height):t.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Uf=It(0);function Hl(r){let e=He(r);return!$i()||!e.visualViewport?Uf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function zf(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==He(r)?!1:e}function Io(r,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);let n=r.getBoundingClientRect(),a=Wl(r),s=It(1);e&&(i?bt(i)&&(s=Wr(i)):s=Wr(r));let l=zf(a,t,i)?Hl(a):It(0),d=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,h=n.width/s.x,u=n.height/s.y;if(a){let g=He(a),x=i&&bt(i)?He(i):i,S=g.frameElement;for(;S&&i&&x!==g;){let E=Wr(S),k=S.getBoundingClientRect(),P=Ye(S),I=k.left+(S.clientLeft+parseFloat(P.paddingLeft))*E.x,A=k.top+(S.clientTop+parseFloat(P.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,u*=E.y,d+=I,p+=A,S=He(S).frameElement}}return vr({width:h,height:u,x:d,y:p})}function Wf(r){let{rect:e,offsetParent:t,strategy:i}=r,n=st(t),a=Bt(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=It(1),d=It(0);if((n||!n&&i!=="fixed")&&((Tt(t)!=="body"||zr(a))&&(s=Po(t)),st(t))){let p=Io(t);l=Wr(t),d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Hf(r){return Array.from(r.getClientRects())}function Vl(r){return Io(Bt(r)).left+Po(r).scrollLeft}function Vf(r){let e=Bt(r),t=Po(r),i=r.ownerDocument.body,n=Gt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Gt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-t.scrollLeft+Vl(r),l=-t.scrollTop;return Ye(i).direction==="rtl"&&(s+=Gt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function jf(r,e){let t=He(r),i=Bt(r),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let p=$i();(!p||p&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function Gf(r,e){let t=Io(r,!0,e==="fixed"),i=t.top+r.clientTop,n=t.left+r.clientLeft,a=st(r)?Wr(r):It(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,d=n*a.x,p=i*a.y;return{width:s,height:l,x:d,y:p}}function Ml(r,e,t){let i;if(e==="viewport")i=jf(r,t);else if(e==="document")i=Vf(Bt(r));else if(bt(e))i=Gf(e,t);else{let n=Hl(r);i={...e,x:e.x-n.x,y:e.y-n.y}}return vr(i)}function jl(r,e){let t=xr(r);return t===e||!bt(t)||ko(t)?!1:Ye(t).position==="fixed"||jl(t,e)}function Kf(r,e){let t=e.get(r);if(t)return t;let i=Ai(r,[],!1).filter(l=>bt(l)&&Tt(l)!=="body"),n=null,a=Ye(r).position==="fixed",s=a?xr(r):r;for(;bt(s)&&!ko(s);){let l=Ye(s),d=Ri(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||zr(s)&&!d&&jl(r,s))?i=i.filter(h=>h!==s):n=l,s=xr(s)}return e.set(r,i),i}function Zf(r){let{element:e,boundary:t,rootBoundary:i,strategy:n}=r,s=[...t==="clippingAncestors"?Kf(e,this._c):[].concat(t),i],l=s[0],d=s.reduce((p,h)=>{let u=Ml(e,h,n);return p.top=Gt(u.top,p.top),p.right=Lo(u.right,p.right),p.bottom=Lo(u.bottom,p.bottom),p.left=Gt(u.left,p.left),p},Ml(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function qf(r){return zl(r)}function Yf(r,e,t){let i=st(e),n=Bt(e),a=t==="fixed",s=Io(r,!0,a,e),l={scrollLeft:0,scrollTop:0},d=It(0);if(i||!i&&!a)if((Tt(e)!=="body"||zr(n))&&(l=Po(e)),i){let p=Io(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else n&&(d.x=Vl(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Ul(r,e){return!st(r)||Ye(r).position==="fixed"?null:e?e(r):r.offsetParent}function Gl(r,e){let t=He(r);if(!st(r))return t;let i=Ul(r,e);for(;i&&Bl(i)&&Ye(i).position==="static";)i=Ul(i,e);return i&&(Tt(i)==="html"||Tt(i)==="body"&&Ye(i).position==="static"&&!Ri(i))?t:i||Fl(r)||t}var Xf=async function(r){let{reference:e,floating:t,strategy:i}=r,n=this.getOffsetParent||Gl,a=this.getDimensions;return{reference:Yf(e,await n(t),i),floating:{x:0,y:0,...await a(t)}}};function Jf(r){return Ye(r).direction==="rtl"}var Hr={convertOffsetParentRelativeRectToViewportRelativeRect:Wf,getDocumentElement:Bt,getClippingRect:Zf,getOffsetParent:Gl,getElementRects:Xf,getClientRects:Hf,getDimensions:qf,getScale:Wr,isElement:bt,isRTL:Jf};var Sa=(r,e,t)=>{let i=new Map,n={platform:Hr,...t},a={...n.platform,_c:i};return Pl(r,e,{...n,platform:a})};function Ca(r){return Qf(r)}function Oa(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function Qf(r){for(let e=r;e;e=Oa(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Oa(r);e;e=Oa(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function To(r,e,t){return Sa(r,e,{platform:{...Hr,getOffsetParent:i=>Hr.getOffsetParent(i,Ca)},middleware:[xa({crossAxis:!0}),ga({allowedPlacements:[t]})]})}async function eu(r,e,t,i,n){return Sa(r,e,{placement:t,strategy:n,platform:{...Hr,getOffsetParent:a=>Hr.getOffsetParent(a,Ca)},middleware:[va(4),ba({fallbackPlacements:i})]})}var Ra={};se(Ra,{FtdsBase:()=>Fo,toFtdsBase:()=>_i});var Aa={};se(Aa,{FtLitElement:()=>M});var wa={};se(wa,{ScopedRegistryLitElement:()=>Bo});var Li=window,tu=Li.ShadowRoot&&(Li.ShadyCSS===void 0||Li.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Yb=Symbol();var Kl=(r,e)=>{tu?r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let i=document.createElement("style"),n=Li.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)})};var Bo=class extends _t{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let t={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(t);return Kl(i,e.elementStyles),i}};var Ni=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Xl,Zl=Symbol("constructorPrototype"),ql=Symbol("constructorName"),Jl=Symbol("exportpartsDebouncer"),Yl=Symbol("dynamicDependenciesLoaded"),M=class extends Bo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Xl]=new ce(5),this[ql]=this.constructor.name,this[Zl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ql]&&Object.setPrototypeOf(this,this[Zl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[Yl]||(e[Yl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var t,i,n;if(((i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&i!==void 0&&i)&&this[Jl].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,i,n,a,s,l;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let x=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...x,...S).filter(d).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(g=>p.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Xl=Jl;Ni([m()],M.prototype,"exportpartsPrefix",void 0);Ni([ke([])],M.prototype,"exportpartsPrefixes",void 0);Ni([m()],M.prototype,"customStylesheet",void 0);Ni([W()],M.prototype,"useAdoptedStyleSheets",void 0);var Ql=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};function _i(r){class e extends r{constructor(){super(...arguments),this.size=Ne.medium,this.family=Pt.neutral}getDesignSystemBaseClasses(){return{[sa(this.family)]:!0,[la(this.size)]:!0}}}return Ql([m()],e.prototype,"size",void 0),Ql([m()],e.prototype,"family",void 0),e}var Fo=class extends _i(M){};var ec={};var Na={};se(Na,{highlightHtml:()=>La,highlightHtmlColorCssVariable:()=>tc,highlightHtmlStyles:()=>ou});var Sr=class r{constructor(e,t=!0,i=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=i,this.iframesTimeout=n}static matches(e,t){let i=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=t.filter(a=>a.contains(i)).length>0;t.indexOf(i)===-1&&!n&&t.push(i)}),t}getIframeContents(e,t,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&t(n)}isIframeBlank(e){let t="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&i!==t&&i}observeIframeLoad(e,t,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,i):this.getIframeContents(e,t,i):this.observeIframeLoad(e,t,i)}catch{i()}}waitForIframes(e,t){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||t()})},n=>{n||t()})}forEachIframe(e,t,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(p=>{r.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{t(p)&&(l++,i(h)),d()},d)})}createIterator(e,t,i){return document.createNodeIterator(e,t,i,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){let s=t.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),i;return t===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:t,node:i}}checkIframeFilter(e,t,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,t,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,t,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,i,n)})})}iterateThroughNodes(e,t,i,n,a){let s=this.createIterator(t,e,n),l=[],d=[],p,h,u=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;u();)this.iframes&&this.forEachIframe(t,g=>this.checkIframeFilter(p,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),n)}),d.push(p);d.forEach(g=>{i(g)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,t,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var Do=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Sr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[t]=="function"&&i[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&t.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",i=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):i.trim()&&t.indexOf(i)===-1&&t.push(i)}),{keywords:t.sort((i,n)=>n.length-i.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,t.push(n),i=s)}),t}callNoMatchOnInvalidRanges(e,t){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,t,i){let n,a=!0,s=i.length,l=t-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let t="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:i})})}matchesExclude(e){return Sr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(i-t),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,t,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!n(s.node))return!1;let p=t-s.start,h=(i>s.end?s.end:i)-s.start,u=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=u+g,e.nodes.forEach((x,S)=>{S>=l&&(e.nodes[S].start>0&&S!==l&&(e.nodes[S].start-=h),e.nodes[S].end-=h)}),i-=h,a(s.node.previousSibling,s.start),i>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!i(p[s],d))continue;let h=p.index;if(s!==0)for(let u=1;u<s;u++)h+=p[u].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let u=1;u<s;u++)p+=d[u].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,h,u=>i(d[s],u),(u,g)=>{e.lastIndex=g,n(u)})}a()})}wrapRangeFromIndex(e,t,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,p,h,g=>t(g,l,a.value.substring(p,h),d),g=>{i(g,l)})}),n()})}unwrapMatches(e){let t=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,t){this.opt=t;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(g,x)=>this.opt.filter(x,p,i,u),g=>{u++,i++,this.opt.each(g)},()=>{u===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(i):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,t){this.opt=t;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=Sr.matches(i,t),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function $a(r){let e=new Do(r);return this.mark=(t,i)=>(e.mark(t,i),this),this.markRegExp=(t,i)=>(e.markRegExp(t,i),this),this.markRanges=(t,i)=>(e.markRanges(t,i),this),this.unmark=t=>(e.unmark(t),this),this}var ru=$a,tc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ou=L`
|
|
1
|
+
"use strict";(()=>{var up=Object.create;var en=Object.defineProperty;var hp=Object.getOwnPropertyDescriptor;var mp=Object.getOwnPropertyNames;var yp=Object.getPrototypeOf,gp=Object.prototype.hasOwnProperty;var bp=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),se=(r,e)=>{for(var t in e)en(r,t,{get:e[t],enumerable:!0})},vp=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of mp(e))!gp.call(r,n)&&n!==t&&en(r,n,{get:()=>e[n],enumerable:!(i=hp(e,n))||i.enumerable});return r};var xp=(r,e,t)=>(t=r!=null?up(yp(r)):{},vp(e||!r||!r.__esModule?en(t,"default",{value:r,enumerable:!0}):t,r));var Dc=bp((er,Fc)=>{var Ui=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,zi=function(){function r(){this.fetch=!1,this.DOMException=Ui.DOMException}return r.prototype=Ui,new r}();(function(r){var e=function(t){var i=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(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 p(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var O={next:function(){var F=y.shift();return{done:F===void 0,value:F}}};return n.iterable&&(O[Symbol.iterator]=function(){return O}),O}function u(y){this.map={},y instanceof u?y.forEach(function(O,F){this.append(F,O)},this):Array.isArray(y)?y.forEach(function(O){if(O.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+O.length);this.append(O[0],O[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(O){this.append(O,y[O])},this)}u.prototype.append=function(y,O){y=d(y),O=p(O);var F=this.map[y];this.map[y]=F?F+", "+O:O},u.prototype.delete=function(y){delete this.map[d(y)]},u.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},u.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},u.prototype.set=function(y,O){this.map[d(y)]=p(O)},u.prototype.forEach=function(y,O){for(var F in this.map)this.map.hasOwnProperty(F)&&y.call(O,this.map[F],F,this)},u.prototype.keys=function(){var y=[];return this.forEach(function(O,F){y.push(F)}),h(y)},u.prototype.values=function(){var y=[];return this.forEach(function(O){y.push(O)}),h(y)},u.prototype.entries=function(){var y=[];return this.forEach(function(O,F){y.push([F,O])}),h(y)},n.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function x(y){return new Promise(function(O,F){y.onload=function(){O(y.result)},y.onerror=function(){F(y.error)}})}function S(y){var O=new FileReader,F=x(O);return O.readAsArrayBuffer(y),F}function E(y){var O=new FileReader,F=x(O),Y=/charset=([A-Za-z0-9_-]+)/.exec(y.type),ie=Y?Y[1]:"utf-8";return O.readAsText(y,ie),F}function k(y){for(var O=new Uint8Array(y),F=new Array(O.length),Y=0;Y<O.length;Y++)F[Y]=String.fromCharCode(O[Y]);return F.join("")}function P(y){if(y.slice)return y.slice(0);var O=new Uint8Array(y.byteLength);return O.set(new Uint8Array(y)),O.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:n.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:n.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():n.arrayBuffer&&n.blob&&a(y)?(this._bodyArrayBuffer=P(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=P(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):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var y=g(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=g(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(n.blob)return this.blob().then(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(k(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(B)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function C(y){var O=y.toUpperCase();return A.indexOf(O)>-1?O:y}function R(y,O){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');O=O||{};var F=O.body;if(y instanceof R){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,O.headers||(this.headers=new u(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!F&&y._bodyInit!=null&&(F=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=O.credentials||this.credentials||"same-origin",(O.headers||!this.headers)&&(this.headers=new u(O.headers)),this.method=C(O.method||this.method||"GET"),this.mode=O.mode||this.mode||null,this.signal=O.signal||this.signal||function(){if("AbortController"in i){var Z=new AbortController;return Z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&F)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(F),(this.method==="GET"||this.method==="HEAD")&&(O.cache==="no-store"||O.cache==="no-cache")){var Y=/([?&])_=[^&]*/;if(Y.test(this.url))this.url=this.url.replace(Y,"$1_="+new Date().getTime());else{var ie=/\?/;this.url+=(ie.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function B(y){var O=new FormData;return y.trim().split("&").forEach(function(F){if(F){var Y=F.split("="),ie=Y.shift().replace(/\+/g," "),Z=Y.join("=").replace(/\+/g," ");O.append(decodeURIComponent(ie),decodeURIComponent(Z))}}),O}function j(y){var O=new u,F=y.replace(/\r?\n[\t ]+/g," ");return F.split("\r").map(function(Y){return Y.indexOf(`
|
|
2
|
+
`)===0?Y.substr(1,Y.length):Y}).forEach(function(Y){var ie=Y.split(":"),Z=ie.shift().trim();if(Z){var ft=ie.join(":").trim();try{O.append(Z,ft)}catch(lo){console.warn("Response "+lo.message)}}}),O}I.call(R.prototype);function oe(y,O){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=O.statusText===void 0?"":""+O.statusText,this.headers=new u(O.headers),this.url=O.url||"",this._initBody(y)}I.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},oe.error=function(){var y=new oe(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var re=[301,302,303,307,308];oe.redirect=function(y,O){if(re.indexOf(O)===-1)throw new RangeError("Invalid status code");return new oe(null,{status:O,headers:{location:y}})},t.DOMException=i.DOMException;try{new t.DOMException}catch{t.DOMException=function(O,F){this.message=O,this.name=F;var Y=Error(O);this.stack=Y.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function U(y,O){return new Promise(function(F,Y){var ie=new R(y,O);if(ie.signal&&ie.signal.aborted)return Y(new t.DOMException("Aborted","AbortError"));var Z=new XMLHttpRequest;function ft(){Z.abort()}Z.onload=function(){var _e={statusText:Z.statusText,headers:j(Z.getAllResponseHeaders()||"")};ie.url.indexOf("file://")===0&&(Z.status<200||Z.status>599)?_e.status=200:_e.status=Z.status,_e.url="responseURL"in Z?Z.responseURL:_e.headers.get("X-Request-URL");var ar="response"in Z?Z.response:Z.responseText;setTimeout(function(){F(new oe(ar,_e))},0)},Z.onerror=function(){setTimeout(function(){Y(new TypeError("Network request failed"))},0)},Z.ontimeout=function(){setTimeout(function(){Y(new TypeError("Network request timed out"))},0)},Z.onabort=function(){setTimeout(function(){Y(new t.DOMException("Aborted","AbortError"))},0)};function lo(_e){try{return _e===""&&i.location.href?i.location.href:_e}catch{return _e}}if(Z.open(ie.method,lo(ie.url),!0),ie.credentials==="include"?Z.withCredentials=!0:ie.credentials==="omit"&&(Z.withCredentials=!1),"responseType"in Z&&(n.blob?Z.responseType="blob":n.arrayBuffer&&(Z.responseType="arraybuffer")),O&&typeof O.headers=="object"&&!(O.headers instanceof u||i.Headers&&O.headers instanceof i.Headers)){var Bs=[];Object.getOwnPropertyNames(O.headers).forEach(function(_e){Bs.push(d(_e)),Z.setRequestHeader(_e,p(O.headers[_e]))}),ie.headers.forEach(function(_e,ar){Bs.indexOf(ar)===-1&&Z.setRequestHeader(ar,_e)})}else ie.headers.forEach(function(_e,ar){Z.setRequestHeader(ar,_e)});ie.signal&&(ie.signal.addEventListener("abort",ft),Z.onreadystatechange=function(){Z.readyState===4&&ie.signal.removeEventListener("abort",ft)}),Z.send(typeof ie._bodyInit>"u"?null:ie._bodyInit)})}return U.polyfill=!0,i.fetch||(i.fetch=U,i.Headers=u,i.Request=R,i.Response=oe),t.Headers=u,t.Request=R,t.Response=oe,t.fetch=U,t}({})})(zi);zi.fetch.ponyfill=!0;delete zi.fetch.polyfill;var Xr=Ui.fetch?Ui:zi;er=Xr.fetch;er.default=Xr.fetch;er.fetch=Xr.fetch;er.Headers=Xr.Headers;er.Request=Xr.Request;er.Response=Xr.Response;Fc.exports=er});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,C){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" has already been used with this registry`);if(this._definitionsByClass.get(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=C.prototype.attributeChangedCallback,B=new Set(C.observedAttributes||[]);g(C,B,R);let j={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:B};this._definitionsByTag.set(A,j),this._definitionsByClass.set(C,j);let oe=t.call(i,A);oe||(oe=u(A),e.call(i,A,oe)),this===window.customElements&&(s.set(C,j),j.standInClass=oe);let re=this._awaitingUpgrade.get(A);if(re){this._awaitingUpgrade.delete(A);for(let y of re)a.delete(y),S(y,j,!0)}let U=this._whenDefinedPromises.get(A);return U!==void 0&&(U.resolve(C),this._whenDefinedPromises.delete(A)),C}upgrade(){k.push(this),i.upgrade.apply(i,arguments),k.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let C=this._getDefinition(A);if(C!==void 0)return Promise.resolve(C.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(B=>R.resolve=B),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,C,R){let B=this._awaitingUpgrade.get(C);B||this._awaitingUpgrade.set(C,B=new Set),R?B.add(A):B.delete(A)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(r,[],R.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),n.set(C,R),C},window.HTMLElement.prototype=r.prototype;let p=A=>A===document||A instanceof ShadowRoot,h=A=>{let C=A.getRootNode();if(!p(C)){let R=k[k.length-1];if(R instanceof CustomElementRegistry)return R;C=R.getRootNode(),p(C)||(C=l.get(C)?.getRootNode()||document)}return C.customElements},u=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let B=h(R)||window.customElements,j=B._getDefinition(A);return j?S(R,j):a.set(R,B),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(A,C,R)=>{if(C.size===0||R===void 0)return;let B=A.prototype.setAttribute;B&&(A.prototype.setAttribute=function(re,U){let y=re.toLowerCase();if(C.has(y)){let O=this.getAttribute(y);B.call(this,y,U),R.call(this,y,O,U)}else B.call(this,y,U)});let j=A.prototype.removeAttribute;j&&(A.prototype.removeAttribute=function(re){let U=re.toLowerCase();if(C.has(U)){let y=this.getAttribute(U);j.call(this,U),R.call(this,U,y,null)}else j.call(this,U)});let oe=A.prototype.toggleAttribute;oe&&(A.prototype.toggleAttribute=function(re,U){let y=re.toLowerCase();if(C.has(y)){let O=this.getAttribute(y);oe.call(this,y,U);let F=this.getAttribute(y);R.call(this,y,O,F)}else oe.call(this,y,U)})},x=A=>{let C=Object.getPrototypeOf(A);if(C!==window.HTMLElement)return C===r?Object.setPrototypeOf(A,window.HTMLElement):x(C)},S=(A,C,R=!1)=>{Object.setPrototypeOf(A,C.elementClass.prototype),n.set(A,C),d=A;try{new C.elementClass}catch{x(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(B=>{A.hasAttribute(B)&&C.attributeChangedCallback.call(A,B,null,A.getAttribute(B))}),R&&C.connectedCallback&&A.isConnected&&C.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let C=E.apply(this,arguments);return A.customElements&&(C.customElements=A.customElements),C};let k=[document],P=(A,C,R=void 0)=>{let B=(R?Object.getPrototypeOf(R):A.prototype)[C];A.prototype[C]=function(){k.push(this);let j=B.apply(R||this,arguments);return j!==void 0&&l.set(j,this),k.pop(),j}};P(ShadowRoot,"createElement",document),P(ShadowRoot,"importNode",document),P(Element,"insertAdjacentHTML");let I=(A,C)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,C);Object.defineProperty(A.prototype,C,{...R,set(B){k.push(this),R.set.call(this,B),k.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,C=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...re){let U=C.call(this,...re);return A.set(U,this),U},R.forEach(re=>{let U=window.ElementInternals.prototype,y=U[re];U[re]=function(...O){let F=A.get(this);if(n.get(F).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 B extends Array{constructor(U){super(...U),this._elements=U}get value(){return this._elements.find(U=>U.checked===!0)?.value||""}}class j{constructor(U){let y=new Map;U.forEach((O,F)=>{let Y=O.getAttribute("name"),ie=y.get(Y)||[];this[+F]=O,ie.push(O),y.set(Y,ie)}),this.length=U.length,y.forEach((O,F)=>{O&&(O.length===1?this[F]=O[0]:this[F]=new B(O))})}namedItem(U){return this[U]}}let oe=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let re=oe.get.call(this,[]),U=[];for(let y of re){let O=n.get(y);(!O||O.formAssociated===!0)&&U.push(y)}return new j(U)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,i,n)=>{if(i!==null)try{e.bind(window.customElements)(t,i,n)}catch(a){console.info(t,i,n,a)}}}var hn={};se(hn,{CSSResult:()=>Ir,LitElement:()=>_t,ReactiveElement:()=>ut,_$LE:()=>Vp,_$LH:()=>zp,adoptStyles:()=>ui,css:()=>L,defaultConverter:()=>hi,getCompatibleStyle:()=>go,html:()=>w,isServer:()=>wh,noChange:()=>Wt,notEqual:()=>ln,nothing:()=>z,render:()=>un,supportsAdoptingStyleSheets:()=>yo,svg:()=>Up,unsafeCSS:()=>Lt});var Qo=globalThis,ti=Qo.ShadowRoot&&(Qo.ShadyCSS===void 0||Qo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ds=Symbol(),Fs=new WeakMap,ei=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==Ds)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(ti&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=Fs.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Fs.set(t,e))}return e}toString(){return this.cssText}},Ms=r=>new ei(typeof r=="string"?r:r+"",void 0,Ds);var tn=(r,e)=>{if(ti)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=Qo.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},ri=ti?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return Ms(t)})(r):r;var{is:Sp,defineProperty:Op,getOwnPropertyDescriptor:Cp,getOwnPropertyNames:Ep,getOwnPropertySymbols:wp,getPrototypeOf:Ap}=Object,oi=globalThis,Us=oi.trustedTypes,Rp=Us?Us.emptyScript:"",$p=oi.reactiveElementPolyfillSupport,co=(r,e)=>r,po={toAttribute(r,e){switch(e){case Boolean:r=r?Rp:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},ii=(r,e)=>!Sp(r,e),zs={attribute:!0,type:String,converter:po,reflect:!1,hasChanged:ii};Symbol.metadata??=Symbol("metadata"),oi.litPropertyMetadata??=new WeakMap;var sr=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=zs){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&Op(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=Cp(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??zs}static _$Ei(){if(this.hasOwnProperty(co("elementProperties")))return;let e=Ap(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(co("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(co("properties"))){let t=this.properties,i=[...Ep(t),...wp(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(ri(n))}else e!==void 0&&t.push(ri(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return tn(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:po).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:po;this._$Em=n,this[n]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,i,n=!1,a){if(e!==void 0){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??ii)(n?a:this[e],t))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$ET()}catch(i){throw e=!1,this._$ET(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};sr.elementStyles=[],sr.shadowRootOptions={mode:"open"},sr[co("elementProperties")]=new Map,sr[co("finalized")]=new Map,$p?.({ReactiveElement:sr}),(oi.reactiveElementVersions??=[]).push("2.0.2");var on=globalThis,ni=on.trustedTypes,Ws=ni?ni.createPolicy("lit-html",{createHTML:r=>r}):void 0,nn="$lit$",$t=`lit$${(Math.random()+"").slice(9)}$`,an="?"+$t,Lp=`<${an}>`,dr=document,ai=()=>dr.createComment(""),uo=r=>r===null||typeof r!="object"&&typeof r!="function",Zs=Array.isArray,qs=r=>Zs(r)||typeof r?.[Symbol.iterator]=="function",rn=`[
|
|
3
|
+
\f\r]`,fo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Hs=/-->/g,Vs=/>/g,lr=RegExp(`>|${rn}(?:([^\\s"'>=/]+)(${rn}*=${rn}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),js=/'/g,Gs=/"/g,Ys=/^(?:script|style|textarea|title)$/i,Xs=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),Js=Xs(1),Qs=Xs(2),Ze=Symbol.for("lit-noChange"),Se=Symbol.for("lit-nothing"),Ks=new WeakMap,cr=dr.createTreeWalker(dr,129);function el(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ws!==void 0?Ws.createHTML(e):e}var tl=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":"",s=fo;for(let l=0;l<t;l++){let d=r[l],p,h,u=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===fo?h[1]==="!--"?s=Hs:h[1]!==void 0?s=Vs:h[2]!==void 0?(Ys.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=lr):h[3]!==void 0&&(s=lr):s===lr?h[0]===">"?(s=n??fo,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?lr:h[3]==='"'?Gs:js):s===Gs||s===js?s=lr:s===Hs||s===Vs?s=fo:(s=lr,n=void 0);let x=s===lr&&r[l+1].startsWith("/>")?" ":"";a+=s===fo?d+Lp:u>=0?(i.push(p),d.slice(0,u)+nn+d.slice(u)+$t+x):d+$t+(u===-2?l:x)}return[el(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),i]},ho=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=tl(e,t);if(this.el=r.createElement(p,i),cr.currentNode=this.el.content,t===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=cr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith(nn)){let g=h[s++],x=n.getAttribute(u).split($t),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?li:S[1]==="?"?ci:S[1]==="@"?di:fr}),n.removeAttribute(u)}else u.startsWith($t)&&(d.push({type:6,index:a}),n.removeAttribute(u));if(Ys.test(n.tagName)){let u=n.textContent.split($t),g=u.length-1;if(g>0){n.textContent=ni?ni.emptyScript:"";for(let x=0;x<g;x++)n.append(u[x],ai()),cr.nextNode(),d.push({type:2,index:++a});n.append(u[g],ai())}}}else if(n.nodeType===8)if(n.data===an)d.push({type:2,index:a});else{let u=-1;for(;(u=n.data.indexOf($t,u+1))!==-1;)d.push({type:7,index:a}),u+=$t.length-1}a++}}static createElement(e,t){let i=dr.createElement("template");return i.innerHTML=e,i}};function pr(r,e,t=r,i){if(e===Ze)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=uo(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=pr(r,n._$AS(r,e.values),n,i)),e}var si=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??dr).importNode(t,!0);cr.currentNode=n;let a=cr.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new mo(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new pi(a,this,e)),this._$AV.push(p),d=i[++l]}s!==d?.index&&(a=cr.nextNode(),s++)}return cr.currentNode=dr,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},mo=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=Se,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=pr(this,e,t),uo(e)?e===Se||e==null||e===""?(this._$AH!==Se&&this._$AR(),this._$AH=Se):e!==this._$AH&&e!==Ze&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):qs(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Se&&uo(this._$AH)?this._$AA.nextSibling.data=e:this.$(dr.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=ho.createElement(el(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new si(n,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=Ks.get(e.strings);return t===void 0&&Ks.set(e.strings,t=new ho(e)),t}T(e){Zs(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.k(ai()),this.k(ai()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},fr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=Se,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Se}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=pr(this,e,t,0),s=!uo(e)||e!==this._$AH&&e!==Ze,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=pr(this,l[i+d],t,d),p===Ze&&(p=this._$AH[d]),s||=!uo(p)||p!==this._$AH[d],p===Se?e=Se:e!==Se&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!n&&this.O(e)}O(e){e===Se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},li=class extends fr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Se?void 0:e}},ci=class extends fr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Se)}},di=class extends fr{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=pr(this,e,t,0)??Se)===Ze)return;let i=this._$AH,n=e===Se&&i!==Se||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Se&&(i===Se||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},pi=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){pr(this,e)}},rl={j:nn,P:$t,A:an,C:1,M:tl,L:si,R:qs,V:pr,D:mo,I:fr,H:ci,N:di,U:li,B:pi},Np=on.litHtmlPolyfillSupport;Np?.(ho,mo),(on.litHtmlVersions??=[]).push("3.1.0");var fi=globalThis,yo=fi.ShadowRoot&&(fi.ShadyCSS===void 0||fi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,sn=Symbol(),ol=new WeakMap,Ir=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==sn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(yo&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=ol.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&ol.set(t,e))}return e}toString(){return this.cssText}},Lt=r=>new Ir(typeof r=="string"?r:r+"",void 0,sn),L=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+r[a+1],r[0]);return new Ir(t,r,sn)},ui=(r,e)=>{if(yo)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=fi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},go=yo?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return Lt(t)})(r):r;var{is:_p,defineProperty:kp,getOwnPropertyDescriptor:Pp,getOwnPropertyNames:Ip,getOwnPropertySymbols:Tp,getPrototypeOf:Bp}=Object,mi=globalThis,il=mi.trustedTypes,Fp=il?il.emptyScript:"",Dp=mi.reactiveElementPolyfillSupport,bo=(r,e)=>r,hi={toAttribute(r,e){switch(e){case Boolean:r=r?Fp:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},ln=(r,e)=>!_p(r,e),nl={attribute:!0,type:String,converter:hi,reflect:!1,hasChanged:ln};Symbol.metadata??=Symbol("metadata"),mi.litPropertyMetadata??=new WeakMap;var ut=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=nl){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&kp(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=Pp(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??nl}static _$Ei(){if(this.hasOwnProperty(bo("elementProperties")))return;let e=Bp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(bo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bo("properties"))){let t=this.properties,i=[...Ip(t),...Tp(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(go(n))}else e!==void 0&&t.push(go(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ui(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:hi).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:hi;this._$Em=n,this[n]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,i,n=!1,a){if(e!==void 0){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??ln)(n?a:this[e],t))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$ET()}catch(i){throw e=!1,this._$ET(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};ut.elementStyles=[],ut.shadowRootOptions={mode:"open"},ut[bo("elementProperties")]=new Map,ut[bo("finalized")]=new Map,Dp?.({ReactiveElement:ut}),(mi.reactiveElementVersions??=[]).push("2.0.2");var dn=globalThis,yi=dn.trustedTypes,al=yi?yi.createPolicy("lit-html",{createHTML:r=>r}):void 0,pn="$lit$",Nt=`lit$${(Math.random()+"").slice(9)}$`,fn="?"+Nt,Mp=`<${fn}>`,mr=document,xo=()=>mr.createComment(""),So=r=>r===null||typeof r!="object"&&typeof r!="function",fl=Array.isArray,ul=r=>fl(r)||typeof r?.[Symbol.iterator]=="function",cn=`[
|
|
5
|
+
\f\r]`,vo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,sl=/-->/g,ll=/>/g,ur=RegExp(`>|${cn}(?:([^\\s"'>=/]+)(${cn}*=${cn}*(?:[^
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),cl=/'/g,dl=/"/g,hl=/^(?:script|style|textarea|title)$/i,ml=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),w=ml(1),Up=ml(2),Wt=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),pl=new WeakMap,hr=mr.createTreeWalker(mr,129);function yl(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return al!==void 0?al.createHTML(e):e}var gl=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":"",s=vo;for(let l=0;l<t;l++){let d=r[l],p,h,u=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===vo?h[1]==="!--"?s=sl:h[1]!==void 0?s=ll:h[2]!==void 0?(hl.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=ur):h[3]!==void 0&&(s=ur):s===ur?h[0]===">"?(s=n??vo,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?ur:h[3]==='"'?dl:cl):s===dl||s===cl?s=ur:s===sl||s===ll?s=vo:(s=ur,n=void 0);let x=s===ur&&r[l+1].startsWith("/>")?" ":"";a+=s===vo?d+Mp:u>=0?(i.push(p),d.slice(0,u)+pn+d.slice(u)+Nt+x):d+Nt+(u===-2?l:x)}return[yl(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),i]},Oo=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=gl(e,t);if(this.el=r.createElement(p,i),hr.currentNode=this.el.content,t===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=hr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith(pn)){let g=h[s++],x=n.getAttribute(u).split(Nt),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?bi:S[1]==="?"?vi:S[1]==="@"?xi:gr}),n.removeAttribute(u)}else u.startsWith(Nt)&&(d.push({type:6,index:a}),n.removeAttribute(u));if(hl.test(n.tagName)){let u=n.textContent.split(Nt),g=u.length-1;if(g>0){n.textContent=yi?yi.emptyScript:"";for(let x=0;x<g;x++)n.append(u[x],xo()),hr.nextNode(),d.push({type:2,index:++a});n.append(u[g],xo())}}}else if(n.nodeType===8)if(n.data===fn)d.push({type:2,index:a});else{let u=-1;for(;(u=n.data.indexOf(Nt,u+1))!==-1;)d.push({type:7,index:a}),u+=Nt.length-1}a++}}static createElement(e,t){let i=mr.createElement("template");return i.innerHTML=e,i}};function yr(r,e,t=r,i){if(e===Wt)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=So(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=yr(r,n._$AS(r,e.values),n,i)),e}var gi=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??mr).importNode(t,!0);hr.currentNode=n;let a=hr.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Tr(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new Si(a,this,e)),this._$AV.push(p),d=i[++l]}s!==d?.index&&(a=hr.nextNode(),s++)}return hr.currentNode=mr,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},Tr=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=yr(this,e,t),So(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==Wt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ul(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==z&&So(this._$AH)?this._$AA.nextSibling.data=e:this.$(mr.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Oo.createElement(yl(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new gi(n,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=pl.get(e.strings);return t===void 0&&pl.set(e.strings,t=new Oo(e)),t}T(e){fl(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.k(xo()),this.k(xo()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},gr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=z}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=yr(this,e,t,0),s=!So(e)||e!==this._$AH&&e!==Wt,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=yr(this,l[i+d],t,d),p===Wt&&(p=this._$AH[d]),s||=!So(p)||p!==this._$AH[d],p===z?e=z:e!==z&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!n&&this.O(e)}O(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},bi=class extends gr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===z?void 0:e}},vi=class extends gr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},xi=class extends gr{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=yr(this,e,t,0)??z)===Wt)return;let i=this._$AH,n=e===z&&i!==z||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==z&&(i===z||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Si=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){yr(this,e)}},zp={j:pn,P:Nt,A:fn,C:1,M:gl,L:gi,R:ul,V:yr,D:Tr,I:gr,H:vi,N:xi,U:bi,B:Si},Wp=dn.litHtmlPolyfillSupport;Wp?.(Oo,Tr),(dn.litHtmlVersions??=[]).push("3.1.0");var un=(r,e,t)=>{let i=t?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=t?.renderBefore??null;i._$litPart$=n=new Tr(e.insertBefore(xo(),a),a,void 0,t??{})}return n._$AI(r),n};var _t=class extends ut{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=un(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Wt}};_t._$litElement$=!0,_t.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:_t});var Hp=globalThis.litElementPolyfillSupport;Hp?.({LitElement:_t});var Vp={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var wh=!1;var bn={};se(bn,{customElement:()=>jp,eventOptions:()=>Br,property:()=>m,query:()=>D,queryAll:()=>mn,queryAssignedElements:()=>yn,queryAssignedNodes:()=>gn,queryAsync:()=>Zp,standardProperty:()=>bl,state:()=>W});var jp=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var Gp={attribute:!0,type:String,converter:po,reflect:!1,hasChanged:ii},bl=(r=Gp,e,t)=>{let{kind:i,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),a.set(t.name,r),i==="accessor"){let{name:s}=t;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r),l}}}if(i==="setter"){let{name:s}=t;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+i)};function m(r){return(e,t)=>typeof t=="object"?bl(r,e,t):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,s?{...i,wrapped:!0}:i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(r,e,t)}function W(r){return m({...r,state:!0,attribute:!1})}function Br(r){return(e,t)=>{let i=typeof e=="function"?e:e[t];Object.assign(i,r)}}var at=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t);function D(r,e){return(t,i,n)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof i=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return at(t,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return at(t,i,{get(){return a(this)}})}}var Kp;function mn(r){return(e,t)=>at(e,t,{get(){return(this.renderRoot??(Kp??=document.createDocumentFragment())).querySelectorAll(r)}})}function Zp(r){return(e,t)=>at(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function yn(r){return(e,t)=>{let{slot:i,selector:n}=r??{},a="slot"+(i?`[name=${i}]`:":not([name])");return at(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}function gn(r){return(e,t)=>{let{slot:i}=r??{},n="slot"+(i?`[name=${i}]`:":not([name])");return at(e,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(r)??[]}})}}var vn={};se(vn,{repeat:()=>Le});var Ht={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Vt=r=>(...e)=>({_$litDirective$:r,values:e}),ht=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:qp}=rl;var vl=()=>document.createComment(""),Fr=(r,e,t)=>{let i=r._$AA.parentNode,n=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=i.insertBefore(vl(),n),s=i.insertBefore(vl(),n);t=new qp(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let d;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(d=r._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let p=d.nextSibling;i.insertBefore(d,n),d=p}}}return t},jt=(r,e,t=r)=>(r._$AI(e,t),r),Yp={},xl=(r,e=Yp)=>r._$AH=e,Sl=r=>r._$AH,Oi=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let i=e.nextSibling;e.remove(),e=i}};var Ol=(r,e,t)=>{let i=new Map;for(let n=e;n<=t;n++)i.set(r[n],n);return i},Le=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of r)n[s]=i?i(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:n}}render(r,e,t){return this.ht(r,e,t).values}update(r,[e,t,i]){let n=Sl(r),{values:a,keys:s}=this.ht(e,t,i);if(!Array.isArray(n))return this.dt=s,a;let l=this.dt??=[],d=[],p,h,u=0,g=n.length-1,x=0,S=a.length-1;for(;u<=g&&x<=S;)if(n[u]===null)u++;else if(n[g]===null)g--;else if(l[u]===s[x])d[x]=jt(n[u],a[x]),u++,x++;else if(l[g]===s[S])d[S]=jt(n[g],a[S]),g--,S--;else if(l[u]===s[S])d[S]=jt(n[u],a[S]),Fr(r,d[S+1],n[u]),u++,S--;else if(l[g]===s[x])d[x]=jt(n[g],a[x]),Fr(r,n[u],n[g]),g--,x++;else if(p===void 0&&(p=Ol(s,x,S),h=Ol(l,u,g)),p.has(l[u]))if(p.has(l[g])){let E=h.get(s[x]),k=E!==void 0?n[E]:null;if(k===null){let P=Fr(r,n[u]);jt(P,a[x]),d[x]=P}else d[x]=jt(k,a[x]),Fr(r,n[u],k),n[E]=null;x++}else Oi(n[g]),g--;else Oi(n[u]),u++;for(;x<=S;){let E=Fr(r,d[S+1]);jt(E,a[x]),d[x++]=E}for(;u<=g;){let E=n[u++];E!==null&&Oi(E)}return this.dt=s,xl(r,d),Ze}});var xn={};se(xn,{classMap:()=>pe});var pe=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.st?.has(i)&&this.it.add(i);return this.render(e)}let t=r.element.classList;for(let i of this.it)i in e||(t.remove(i),this.it.delete(i));for(let i in e){let n=!!e[i];n===this.it.has(i)||this.st?.has(i)||(n?(t.add(i),this.it.add(i)):(t.remove(i),this.it.delete(i)))}return Ze}});var Sn={};se(Sn,{styleMap:()=>Jp});var Cl="important",Xp=" !"+Cl,Jp=Vt(class extends ht{constructor(r){if(super(r),r.type!==Ht.ATTRIBUTE||r.name!=="style"||r.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[e]){let{style:t}=r.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let i of this.ut)e[i]==null&&(this.ut.delete(i),i.includes("-")?t.removeProperty(i):t[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ut.add(i);let a=typeof n=="string"&&n.endsWith(Xp);i.includes("-")||a?t.setProperty(i,a?n.slice(0,-11):n,a?Cl:""):t[i]=n}}return Ze}});var Cn={};se(Cn,{UnsafeHTMLDirective:()=>Dr,unsafeHTML:()=>On});var Dr=class extends ht{constructor(e){if(super(e),this.et=Se,e.type!==Ht.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Se||e==null)return this.vt=void 0,this.et=e;if(e===Ze)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Dr.directiveName="unsafeHTML",Dr.resultType=1;var On=Vt(Dr);var Nn={};se(Nn,{CacheRegistry:()=>mt,ClearCacheEvent:()=>Eo});var wn={};se(wn,{CancelablePromise:()=>Mr,CanceledPromiseError:()=>Co,cancelable:()=>En});var Co=class extends Error{constructor(e,t,i){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=i}},Mr=class extends Promise{constructor(e){super((t,i)=>e(n=>{this.isCanceled?i(new Co("Promise has been canceled",n)):t(n)},n=>{this.isCanceled?i(new Co("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},En=r=>new Mr((e,t)=>r.then(e).catch(t));var Ln={};se(Ln,{FtNotificationEvent:()=>An,PostResizeEvent:()=>$n,PreResizeEvent:()=>Rn,WithEventBus:()=>br,withEventBus:()=>El});var An=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Rn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},$n=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function El(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(t,i,n){this.eventBus.addEventListener(t,i,n)}dispatchEvent(t){return this.eventBus.dispatchEvent(t)}removeEventListener(t,i,n){this.eventBus.removeEventListener(t,i,n)}}}var br=class extends El(Object){};var Eo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},mt=class extends br{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(e=!0){let t=[];for(let i in this.content)this.clear(i,!1)!=null&&t.push(i);e&&t.length>0&&this.dispatchEvent(new Eo(t))}clear(e,t=!0){if(!this.finalContent.has(e))return this.forceClear(e),t&&this.dispatchEvent(new Eo([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Mr&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,i){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let n=En(t());return this.content[e]=n,n.then(a=>(this.content[e]=a,i!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),i)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var kn={};se(kn,{ClusteringHelper:()=>_n});var _n=class r{constructor(e,t,i,n){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e,t,i){var n,a;let s=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return t==null?r.flattenMetadata(s,i):r.flattenMetadata(s.find(l=>l.key===t),i)}static flattenMetadata(e,t){if(Array.isArray(e))return e.map(n=>r.flattenMetadata(n,t)).filter(n=>n!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let n=[],a=[];return e.hierarchicalValues.forEach(s=>{n.push(s.join(" > ")),s.length>2?a.push(`... > ${s[s.length-1]}`):a.push(s.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=e.values.join(", "),a=e.values.map(s=>t?t(s):s).join(", ");return{key:e.key,label:e.label,value:n,displayValue:a}}}computeClustersItemsForMetadata(e,t,i="No value",n){var a,s;let l=r.extractResultMetadata(this.selectedResult,e,n),d=(a=l?.label)!==null&&a!==void 0?a:(s=this.getMetadataDescriptor(e))===null||s===void 0?void 0:s.label;return this.allResults.map(h=>r.extractResultMetadata(h,e,n)).map(h=>h??{key:e,label:d,value:void 0,displayValue:i}).filter(h=>h.value!=l?.value).filter((h,u,g)=>g.findIndex(x=>x.value===h.value)===u).map(h=>({result:this.findBestResultForMetadataValue(e,h.value),metadata:h})).sort((h,u)=>this.compareMetadata(h.metadata.value,u.metadata.value,e,t))}compareMetadata(e,t,i,n){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(t,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let i=this.allResults.filter(d=>{var p;return((p=r.extractResultMetadata(d,e))===null||p===void 0?void 0:p.value)==t}),a=[...r.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata(e).filter(i=>t.some(n=>n.key===i.key&&n.value===i.value)).length}};var Pn={};se(Pn,{Debouncer:()=>ce});var ce=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,i)=>{this.resolvePromise=t,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bn={};se(Bn,{customElement:()=>H,isNumber:()=>Al,jsonProperty:()=>ke,optionalNumberProperty:()=>nf});var Tn={};se(Tn,{dateReviver:()=>ef,deepEqual:()=>De,delay:()=>Ci,eventPathContainsMatchingElement:()=>rf,flatDeep:()=>qe,getComposedPathTo:()=>In,hasChanged:()=>vr,last:()=>of,minmax:()=>wo,parseDate:()=>wl,unslotText:()=>Ur,waitFor:()=>Ei,waitUntil:()=>Qp});var Ci=r=>new Promise(e=>setTimeout(e,r));async function Qp(r,e=10,t=2e4){await Ei(async()=>await r()||void 0,e,t)}async function Ei(r,e=10,t=2e4){let i=await r(),n,a;for(n=a=performance.now();i==null&&(!t||a-n<t);)await Ci(e),i=await r(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function qe(r,e){return r.flatMap(t=>[t,...qe(e(t),e)])}function ef(...r){return function(e,t){return r.includes(e)?wl(t):t}}function wl(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,i,n)=>t+i+":"+n),new Date(r)}function tf(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var t,i,n;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(i=t;i--!==0;)if(!De(r[i],e[i]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;for(i of r.entries())if(!De(i[1],e.get(i[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(n=Object.keys(r),t=n.length,t!==Object.keys(e).length)return!1;for(i=t;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=t;i--!==0;){var a=n[i];if(!De(r[a],e[a]))return!1}return!0}return r!==r&&e!==e}function De(r,e){try{return tf(r,e)}catch{return!1}}function vr(r,e){return!De(r,e)}function rf(r,e,t=window.document.body){if(e.length>0){let i=r.composedPath();for(let n of i){if(n===t)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function wo(r,e,t){return Math.min(Math.max(r,e),t)}function of(r){return r[r.length-1]}function Ur(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>Ur(e)).join(""):r?.textContent||""}function In(r){let e=[],t=i=>{i.stopPropagation(),e=i.composedPath()};return r.addEventListener("get-composed-path",t),r.dispatchEvent(new Event("get-composed-path",{composed:!0})),r.removeEventListener("get-composed-path",t),e}var H=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function ke(r,e){let t=()=>JSON.parse(JSON.stringify(r));return m({type:Object,converter:{fromAttribute:i=>{if(i==null)return t();try{return JSON.parse(i)}catch{return t()}},toAttribute:i=>JSON.stringify(i)},hasChanged:vr,...e??{}})}function nf(r){return m({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Al(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function Al(r){return!isNaN(parseFloat(r))}var pa={};se(pa,{designSystemVariables:()=>$});var da={};se(da,{DesignSystemFamily:()=>Pt,DesignSystemSize:()=>Ne,FtCssVariableFactory:()=>o,badge:()=>df,banner:()=>cf,button:()=>b,chart:()=>Af,checkbox:()=>Lf,chip:()=>X,chipChoice:()=>sf,collapsible:()=>Ef,comboboxMultiSelect:()=>Of,comboboxSingleSelect:()=>Sf,drawer:()=>yf,floatingMenu:()=>xf,foundation:()=>c,link:()=>lf,modal:()=>mf,notice:()=>$f,notification:()=>kf,pageDesigner:()=>Rf,pageFooter:()=>uf,pageHeader:()=>ff,pageLayout:()=>hf,popover:()=>Cf,radio:()=>_f,reorderableList:()=>If,resolveFamilyClass:()=>la,resolveSizeClass:()=>ca,semantic:()=>f,setVariable:()=>v,switch_:()=>wf,tabs:()=>gf,textArea:()=>vf,textInput:()=>bf,titleBreadcrumb:()=>pf,toggle:()=>Nf,tooltip:()=>Pf,typographies:()=>Ao,typographyBody1Medium:()=>Wn,typographyBody1Regular:()=>zn,typographyBody1Semibold:()=>Hn,typographyBody2Medium:()=>jn,typographyBody2MediumUnderline:()=>Rl,typographyBody2Regular:()=>Vn,typographyBody2Semibold:()=>Gn,typographyCaption1Bold:()=>ta,typographyCaption1Medium:()=>Qn,typographyCaption1Semibold:()=>ea,typographyCaption2Bold:()=>ia,typographyCaption2Medium:()=>ra,typographyCaption2Semibold:()=>oa,typographyCaption3Bold:()=>sa,typographyCaption3Medium:()=>na,typographyCaption3Semibold:()=>aa,typographyDisplay:()=>Fn,typographyLabel1Bold:()=>qn,typographyLabel1Medium:()=>Kn,typographyLabel1Semibold:()=>Zn,typographyLabel2Bold:()=>Jn,typographyLabel2Medium:()=>Yn,typographyLabel2Semibold:()=>Xn,typographyTitle1:()=>Dn,typographyTitle2:()=>Mn,typographyTitle3:()=>Un,typographyVariants:()=>af});var kt=r=>typeof r=="string"?Lt(r):r,o=class{static create(e,t,i,n){let a=l=>kt(l??n),s=L`var(${kt(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>L`var(${kt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,t,i,n){let a=l=>i.get(l??n),s=L`var(${kt(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>L`var(${kt(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,t){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):kt(a??e.lastResortDefaultValue()),n=L`var(${kt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=t,n.defaultCssValue=i,n.get=a=>L`var(${kt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function v(r,e){return kt(`${r.name}: ${e}`)}var c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Fn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Dn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Mn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Un={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},zn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Wn={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Hn={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Vn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},jn={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Rl={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Gn={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Kn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},qn={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ea={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ta={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ra={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},oa={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ia={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},na={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},aa={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},sa={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ao={display:Fn,"title-1":Dn,"title-2":Mn,"title-3":Un,"body-1-regular":zn,"body-1-medium":Wn,"body-1-semibold":Hn,"body-2-regular":Vn,"body-2-medium":jn,"body-2-medium-underline":Rl,"body-2-semibold":Gn,"label-1-medium":Kn,"label-1-semibold":Zn,"label-1-bold":qn,"label-2-medium":Yn,"label-2-semibold":Xn,"label-2-bold":Jn,"caption-1-medium":Qn,"caption-1-semibold":ea,"caption-1-bold":ta,"caption-2-medium":ra,"caption-2-semibold":oa,"caption-2-bold":ia,"caption-3-medium":na,"caption-3-semibold":aa,"caption-3-bold":sa},af=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var sf={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var X={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var lf={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var cf={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var df={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var pf={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",f.contentGlobalSubtle)};var ff={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var uf={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var hf={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var mf={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var yf={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var gf={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var bf={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var vf={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var xf={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Sf={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Of={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Cf={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var Ef={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var wf={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Af={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Rf={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var $f={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var Lf={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",c.spacing3)};var Nf={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var _f={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)};var kf={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var Pf={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var If={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",f.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",f.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",f.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",f.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",f.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",f.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",f.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",f.backgroundGlobalOnSurfaceDark)};var Pt;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Pt||(Pt={}));var Ne;(function(r){r.large="large",r.medium="medium",r.small="small"})(Ne||(Ne={}));function la(r){return`ftds--family-${r}`}function ca(r){return`ftds--size-${r}`}var $={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var wa={};se(wa,{computeFlipOffsetPosition:()=>tu,computeOffsetPosition:()=>To});var Ll=["top","right","bottom","left"],$l=["start","end"],fa=Ll.reduce((r,e)=>r.concat(e,e+"-"+$l[0],e+"-"+$l[1]),[]),Lo=Math.min,Gt=Math.max,No=Math.round;var It=r=>({x:r,y:r}),Tf={left:"right",right:"left",bottom:"top",top:"bottom"},Bf={start:"end",end:"start"};function ua(r,e,t){return Gt(r,Lo(e,t))}function zr(r,e){return typeof r=="function"?r(e):r}function yt(r){return r.split("-")[0]}function gt(r){return r.split("-")[1]}function ha(r){return r==="x"?"y":"x"}function ma(r){return r==="y"?"height":"width"}function _o(r){return["top","bottom"].includes(yt(r))?"y":"x"}function ya(r){return ha(_o(r))}function ga(r,e,t){t===void 0&&(t=!1);let i=gt(r),n=ya(r),a=ma(n),s=n==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=$o(s)),[s,$o(s)]}function Nl(r){let e=$o(r);return[Ro(r),e,Ro(e)]}function Ro(r){return r.replace(/start|end/g,e=>Bf[e])}function Ff(r,e,t){let i=["left","right"],n=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(r){case"top":case"bottom":return t?e?n:i:e?i:n;case"left":case"right":return e?a:s;default:return[]}}function _l(r,e,t,i){let n=gt(r),a=Ff(yt(r),t==="start",i);return n&&(a=a.map(s=>s+"-"+n),e&&(a=a.concat(a.map(Ro)))),a}function $o(r){return r.replace(/left|right|bottom|top/g,e=>Tf[e])}function Df(r){return{top:0,right:0,bottom:0,left:0,...r}}function kl(r){return typeof r!="number"?Df(r):{top:r,right:r,bottom:r,left:r}}function xr(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function Pl(r,e,t){let{reference:i,floating:n}=r,a=_o(e),s=ya(e),l=ma(s),d=yt(e),p=a==="y",h=i.x+i.width/2-n.width/2,u=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2,x;switch(d){case"top":x={x:h,y:i.y-n.height};break;case"bottom":x={x:h,y:i.y+i.height};break;case"right":x={x:i.x+i.width,y:u};break;case"left":x={x:i.x-n.width,y:u};break;default:x={x:i.x,y:i.y}}switch(gt(e)){case"start":x[s]-=g*(t&&p?-1:1);break;case"end":x[s]+=g*(t&&p?-1:1);break}return x}var Il=async(r,e,t)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:r,floating:e,strategy:n}),{x:h,y:u}=Pl(p,i,d),g=i,x={},S=0;for(let E=0;E<l.length;E++){let{name:k,fn:P}=l[E],{x:I,y:A,data:C,reset:R}=await P({x:h,y:u,initialPlacement:i,placement:g,strategy:n,middlewareData:x,rects:p,platform:s,elements:{reference:r,floating:e}});if(h=I??h,u=A??u,x={...x,[k]:{...x[k],...C}},R&&S<=50){S++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(p=R.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:n}):R.rects),{x:h,y:u}=Pl(p,g,d)),E=-1;continue}}return{x:h,y:u,placement:g,strategy:n,middlewareData:x}};async function wi(r,e){var t;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=r,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:g=!1,padding:x=0}=zr(e,r),S=kl(x),k=l[g?u==="floating"?"reference":"floating":u],P=xr(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(k)))==null||t?k:k.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),I=u==="floating"?{...s.floating,x:i,y:n}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),C=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},R=xr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:A,strategy:d}):I);return{top:(P.top-R.top+S.top)/C.y,bottom:(R.bottom-P.bottom+S.bottom)/C.y,left:(P.left-R.left+S.left)/C.x,right:(R.right-P.right+S.right)/C.x}}function Mf(r,e,t){return(r?[...t.filter(n=>gt(n)===r),...t.filter(n=>gt(n)!==r)]:t.filter(n=>yt(n)===n)).filter(n=>r?gt(n)===r||(e?Ro(n)!==n:!1):!0)}var ba=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:g=fa,autoAlignment:x=!0,...S}=zr(r,e),E=u!==void 0||g===fa?Mf(u||null,x,g):g,k=await wi(e,S),P=((t=s.autoPlacement)==null?void 0:t.index)||0,I=E[P];if(I==null)return{};let A=ga(I,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==I)return{reset:{placement:E[0]}};let C=[k[yt(I)],k[A[0]],k[A[1]]],R=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:I,overflows:C}],B=E[P+1];if(B)return{data:{index:P+1,overflows:R},reset:{placement:B}};let j=R.map(U=>{let y=gt(U.placement);return[U.placement,y&&h?U.overflows.slice(0,2).reduce((O,F)=>O+F,0):U.overflows[0],U.overflows]}).sort((U,y)=>U[1]-y[1]),re=((n=j.filter(U=>U[2].slice(0,gt(U[0])?2:3).every(y=>y<=0))[0])==null?void 0:n[0])||j[0][0];return re!==l?{data:{index:P+1,overflows:R},reset:{placement:re}}:{}}}},va=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(e){var t,i;let{placement:n,middlewareData:a,rects:s,initialPlacement:l,platform:d,elements:p}=e,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:g,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:E=!0,...k}=zr(r,e);if((t=a.arrow)!=null&&t.alignmentOffset)return{};let P=yt(n),I=yt(l)===l,A=await(d.isRTL==null?void 0:d.isRTL(p.floating)),C=g||(I||!E?[$o(l)]:Nl(l));!g&&S!=="none"&&C.push(..._l(l,E,S,A));let R=[l,...C],B=await wi(e,k),j=[],oe=((i=a.flip)==null?void 0:i.overflows)||[];if(h&&j.push(B[P]),u){let O=ga(n,s,A);j.push(B[O[0]],B[O[1]])}if(oe=[...oe,{placement:n,overflows:j}],!j.every(O=>O<=0)){var re,U;let O=(((re=a.flip)==null?void 0:re.index)||0)+1,F=R[O];if(F)return{data:{index:O,overflows:oe},reset:{placement:F}};let Y=(U=oe.filter(ie=>ie.overflows[0]<=0).sort((ie,Z)=>ie.overflows[1]-Z.overflows[1])[0])==null?void 0:U.placement;if(!Y)switch(x){case"bestFit":{var y;let ie=(y=oe.map(Z=>[Z.placement,Z.overflows.filter(ft=>ft>0).reduce((ft,lo)=>ft+lo,0)]).sort((Z,ft)=>Z[1]-ft[1])[0])==null?void 0:y[0];ie&&(Y=ie);break}case"initialPlacement":Y=l;break}if(n!==Y)return{reset:{placement:Y}}}return{}}}};async function Uf(r,e){let{placement:t,platform:i,elements:n}=r,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=yt(t),l=gt(t),d=_o(t)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,u=zr(e,r),{mainAxis:g,crossAxis:x,alignmentAxis:S}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&typeof S=="number"&&(x=l==="end"?S*-1:S),d?{x:x*h,y:g*p}:{x:g*p,y:x*h}}var xa=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var t,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Uf(e,r);return s===((t=l.offset)==null?void 0:t.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},Sa=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:k=>{let{x:P,y:I}=k;return{x:P,y:I}}},...d}=zr(r,e),p={x:t,y:i},h=await wi(e,d),u=_o(yt(n)),g=ha(u),x=p[g],S=p[u];if(a){let k=g==="y"?"top":"left",P=g==="y"?"bottom":"right",I=x+h[k],A=x-h[P];x=ua(I,x,A)}if(s){let k=u==="y"?"top":"left",P=u==="y"?"bottom":"right",I=S+h[k],A=S-h[P];S=ua(I,S,A)}let E=l.fn({...e,[g]:x,[u]:S});return{...E,data:{x:E.x-t,y:E.y-i}}}}};function Tt(r){return Bl(r)?(r.nodeName||"").toLowerCase():"#document"}function He(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Bt(r){var e;return(e=(Bl(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Bl(r){return r instanceof Node||r instanceof He(r).Node}function bt(r){return r instanceof Element||r instanceof He(r).Element}function st(r){return r instanceof HTMLElement||r instanceof He(r).HTMLElement}function Tl(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof He(r).ShadowRoot}function Wr(r){let{overflow:e,overflowX:t,overflowY:i,display:n}=Ye(r);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(n)}function Fl(r){return["table","td","th"].includes(Tt(r))}function Ri(r){let e=$i(),t=Ye(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Dl(r){let e=Sr(r);for(;st(e)&&!ko(e);){if(Ri(e))return e;e=Sr(e)}return null}function $i(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ko(r){return["html","body","#document"].includes(Tt(r))}function Ye(r){return He(r).getComputedStyle(r)}function Po(r){return bt(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function Sr(r){if(Tt(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Tl(r)&&r.host||Bt(r);return Tl(e)?e.host:e}function Ml(r){let e=Sr(r);return ko(e)?r.ownerDocument?r.ownerDocument.body:r.body:st(e)&&Wr(e)?e:Ml(e)}function Ai(r,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);let n=Ml(r),a=n===((i=r.ownerDocument)==null?void 0:i.body),s=He(n);return a?e.concat(s,s.visualViewport||[],Wr(n)?n:[],s.frameElement&&t?Ai(s.frameElement):[]):e.concat(n,Ai(n,[],t))}function Wl(r){let e=Ye(r),t=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=st(r),a=n?r.offsetWidth:t,s=n?r.offsetHeight:i,l=No(t)!==a||No(i)!==s;return l&&(t=a,i=s),{width:t,height:i,$:l}}function Hl(r){return bt(r)?r:r.contextElement}function Hr(r){let e=Hl(r);if(!st(e))return It(1);let t=e.getBoundingClientRect(),{width:i,height:n,$:a}=Wl(e),s=(a?No(t.width):t.width)/i,l=(a?No(t.height):t.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var zf=It(0);function Vl(r){let e=He(r);return!$i()||!e.visualViewport?zf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wf(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==He(r)?!1:e}function Io(r,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);let n=r.getBoundingClientRect(),a=Hl(r),s=It(1);e&&(i?bt(i)&&(s=Hr(i)):s=Hr(r));let l=Wf(a,t,i)?Vl(a):It(0),d=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,h=n.width/s.x,u=n.height/s.y;if(a){let g=He(a),x=i&&bt(i)?He(i):i,S=g.frameElement;for(;S&&i&&x!==g;){let E=Hr(S),k=S.getBoundingClientRect(),P=Ye(S),I=k.left+(S.clientLeft+parseFloat(P.paddingLeft))*E.x,A=k.top+(S.clientTop+parseFloat(P.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,u*=E.y,d+=I,p+=A,S=He(S).frameElement}}return xr({width:h,height:u,x:d,y:p})}function Hf(r){let{rect:e,offsetParent:t,strategy:i}=r,n=st(t),a=Bt(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=It(1),d=It(0);if((n||!n&&i!=="fixed")&&((Tt(t)!=="body"||Wr(a))&&(s=Po(t)),st(t))){let p=Io(t);l=Hr(t),d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Vf(r){return Array.from(r.getClientRects())}function jl(r){return Io(Bt(r)).left+Po(r).scrollLeft}function jf(r){let e=Bt(r),t=Po(r),i=r.ownerDocument.body,n=Gt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Gt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-t.scrollLeft+jl(r),l=-t.scrollTop;return Ye(i).direction==="rtl"&&(s+=Gt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Gf(r,e){let t=He(r),i=Bt(r),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let p=$i();(!p||p&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function Kf(r,e){let t=Io(r,!0,e==="fixed"),i=t.top+r.clientTop,n=t.left+r.clientLeft,a=st(r)?Hr(r):It(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,d=n*a.x,p=i*a.y;return{width:s,height:l,x:d,y:p}}function Ul(r,e,t){let i;if(e==="viewport")i=Gf(r,t);else if(e==="document")i=jf(Bt(r));else if(bt(e))i=Kf(e,t);else{let n=Vl(r);i={...e,x:e.x-n.x,y:e.y-n.y}}return xr(i)}function Gl(r,e){let t=Sr(r);return t===e||!bt(t)||ko(t)?!1:Ye(t).position==="fixed"||Gl(t,e)}function Zf(r,e){let t=e.get(r);if(t)return t;let i=Ai(r,[],!1).filter(l=>bt(l)&&Tt(l)!=="body"),n=null,a=Ye(r).position==="fixed",s=a?Sr(r):r;for(;bt(s)&&!ko(s);){let l=Ye(s),d=Ri(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Wr(s)&&!d&&Gl(r,s))?i=i.filter(h=>h!==s):n=l,s=Sr(s)}return e.set(r,i),i}function qf(r){let{element:e,boundary:t,rootBoundary:i,strategy:n}=r,s=[...t==="clippingAncestors"?Zf(e,this._c):[].concat(t),i],l=s[0],d=s.reduce((p,h)=>{let u=Ul(e,h,n);return p.top=Gt(u.top,p.top),p.right=Lo(u.right,p.right),p.bottom=Lo(u.bottom,p.bottom),p.left=Gt(u.left,p.left),p},Ul(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Yf(r){return Wl(r)}function Xf(r,e,t){let i=st(e),n=Bt(e),a=t==="fixed",s=Io(r,!0,a,e),l={scrollLeft:0,scrollTop:0},d=It(0);if(i||!i&&!a)if((Tt(e)!=="body"||Wr(n))&&(l=Po(e)),i){let p=Io(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else n&&(d.x=jl(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function zl(r,e){return!st(r)||Ye(r).position==="fixed"?null:e?e(r):r.offsetParent}function Kl(r,e){let t=He(r);if(!st(r))return t;let i=zl(r,e);for(;i&&Fl(i)&&Ye(i).position==="static";)i=zl(i,e);return i&&(Tt(i)==="html"||Tt(i)==="body"&&Ye(i).position==="static"&&!Ri(i))?t:i||Dl(r)||t}var Jf=async function(r){let{reference:e,floating:t,strategy:i}=r,n=this.getOffsetParent||Kl,a=this.getDimensions;return{reference:Xf(e,await n(t),i),floating:{x:0,y:0,...await a(t)}}};function Qf(r){return Ye(r).direction==="rtl"}var Vr={convertOffsetParentRelativeRectToViewportRelativeRect:Hf,getDocumentElement:Bt,getClippingRect:qf,getOffsetParent:Kl,getElementRects:Jf,getClientRects:Vf,getDimensions:Yf,getScale:Hr,isElement:bt,isRTL:Qf};var Oa=(r,e,t)=>{let i=new Map,n={platform:Vr,...t},a={...n.platform,_c:i};return Il(r,e,{...n,platform:a})};function Ea(r){return eu(r)}function Ca(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function eu(r){for(let e=r;e;e=Ca(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ca(r);e;e=Ca(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function To(r,e,t){return Oa(r,e,{platform:{...Vr,getOffsetParent:i=>Vr.getOffsetParent(i,Ea)},middleware:[Sa({crossAxis:!0}),ba({allowedPlacements:[t]})]})}async function tu(r,e,t,i,n){return Oa(r,e,{placement:t,strategy:n,platform:{...Vr,getOffsetParent:a=>Vr.getOffsetParent(a,Ea)},middleware:[xa(4),va({fallbackPlacements:i})]})}var $a={};se($a,{FtdsBase:()=>Fo,toFtdsBase:()=>_i});var Ra={};se(Ra,{FtLitElement:()=>M});var Aa={};se(Aa,{ScopedRegistryLitElement:()=>Bo});var Li=window,ru=Li.ShadowRoot&&(Li.ShadyCSS===void 0||Li.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Jb=Symbol();var Zl=(r,e)=>{ru?r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let i=document.createElement("style"),n=Li.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)})};var Bo=class extends _t{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let t={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(t);return Zl(i,e.elementStyles),i}};var Ni=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Jl,ql=Symbol("constructorPrototype"),Yl=Symbol("constructorName"),Ql=Symbol("exportpartsDebouncer"),Xl=Symbol("dynamicDependenciesLoaded"),M=class extends Bo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Jl]=new ce(5),this[Yl]=this.constructor.name,this[ql]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Yl]&&Object.setPrototypeOf(this,this[ql])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[Xl]||(e[Xl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var t,i,n;if(((i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&i!==void 0&&i)&&this[Ql].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,i,n,a,s,l;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let x=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...x,...S).filter(d).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(g=>p.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Jl=Ql;Ni([m()],M.prototype,"exportpartsPrefix",void 0);Ni([ke([])],M.prototype,"exportpartsPrefixes",void 0);Ni([m()],M.prototype,"customStylesheet",void 0);Ni([W()],M.prototype,"useAdoptedStyleSheets",void 0);var ec=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};function _i(r){class e extends r{constructor(){super(...arguments),this.size=Ne.medium,this.family=Pt.neutral}getDesignSystemBaseClasses(){return{[la(this.family)]:!0,[ca(this.size)]:!0}}}return ec([m()],e.prototype,"size",void 0),ec([m()],e.prototype,"family",void 0),e}var Fo=class extends _i(M){};var tc={};var _a={};se(_a,{highlightHtml:()=>Na,highlightHtmlColorCssVariable:()=>rc,highlightHtmlStyles:()=>iu});var Or=class r{constructor(e,t=!0,i=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=i,this.iframesTimeout=n}static matches(e,t){let i=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=t.filter(a=>a.contains(i)).length>0;t.indexOf(i)===-1&&!n&&t.push(i)}),t}getIframeContents(e,t,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&t(n)}isIframeBlank(e){let t="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&i!==t&&i}observeIframeLoad(e,t,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,i):this.getIframeContents(e,t,i):this.observeIframeLoad(e,t,i)}catch{i()}}waitForIframes(e,t){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||t()})},n=>{n||t()})}forEachIframe(e,t,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(p=>{r.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{t(p)&&(l++,i(h)),d()},d)})}createIterator(e,t,i){return document.createNodeIterator(e,t,i,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){let s=t.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),i;return t===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:t,node:i}}checkIframeFilter(e,t,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,t,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,t,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,i,n)})})}iterateThroughNodes(e,t,i,n,a){let s=this.createIterator(t,e,n),l=[],d=[],p,h,u=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;u();)this.iframes&&this.forEachIframe(t,g=>this.checkIframeFilter(p,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),n)}),d.push(p);d.forEach(g=>{i(g)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,t,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var Do=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Or(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[t]=="function"&&i[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&t.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",i=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):i.trim()&&t.indexOf(i)===-1&&t.push(i)}),{keywords:t.sort((i,n)=>n.length-i.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,t.push(n),i=s)}),t}callNoMatchOnInvalidRanges(e,t){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,t,i){let n,a=!0,s=i.length,l=t-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let t="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:i})})}matchesExclude(e){return Or.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(i-t),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,t,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!n(s.node))return!1;let p=t-s.start,h=(i>s.end?s.end:i)-s.start,u=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=u+g,e.nodes.forEach((x,S)=>{S>=l&&(e.nodes[S].start>0&&S!==l&&(e.nodes[S].start-=h),e.nodes[S].end-=h)}),i-=h,a(s.node.previousSibling,s.start),i>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!i(p[s],d))continue;let h=p.index;if(s!==0)for(let u=1;u<s;u++)h+=p[u].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let u=1;u<s;u++)p+=d[u].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,h,u=>i(d[s],u),(u,g)=>{e.lastIndex=g,n(u)})}a()})}wrapRangeFromIndex(e,t,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,p,h,g=>t(g,l,a.value.substring(p,h),d),g=>{i(g,l)})}),n()})}unwrapMatches(e){let t=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,t){this.opt=t;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(g,x)=>this.opt.filter(x,p,i,u),g=>{u++,i++,this.opt.each(g)},()=>{u===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(i):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,t){this.opt=t;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=Or.matches(i,t),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function La(r){let e=new Do(r);return this.mark=(t,i)=>(e.mark(t,i),this),this.markRegExp=(t,i)=>(e.markRegExp(t,i),this),this.markRanges=(t,i)=>(e.markRanges(t,i),this),this.unmark=t=>(e.unmark(t),this),this}var ou=La,rc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),iu=L`
|
|
8
8
|
.highlight-html-match {
|
|
9
|
-
background: ${
|
|
9
|
+
background: ${rc};
|
|
10
10
|
}
|
|
11
|
-
`;function
|
|
11
|
+
`;function Na(r,e,t){var i,n;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new ou(r);if(s.unmark(),e&&e.trim()){let l={className:(i=t?.className)!==null&&i!==void 0?i:"highlight-html-match"};t?.attributes!=null&&(l.each=p=>{for(let h in t.attributes)p.setAttribute(h,t.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var Pa={};se(Pa,{noTextInputDefaultClearButton:()=>Uo,noTextSelect:()=>Cr,safariEllipsisFix:()=>Mo,wordWrap:()=>ka});var Cr=L`
|
|
12
12
|
.ft-no-text-select {
|
|
13
13
|
-webkit-touch-callout: none;
|
|
14
14
|
-webkit-user-select: none;
|
|
@@ -17,7 +17,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
17
17
|
-ms-user-select: none;
|
|
18
18
|
user-select: none;
|
|
19
19
|
}
|
|
20
|
-
`,
|
|
20
|
+
`,ka=L`
|
|
21
21
|
.ft-word-wrap {
|
|
22
22
|
white-space: normal;
|
|
23
23
|
word-wrap: break-word;
|
|
@@ -47,7 +47,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
47
47
|
input::-webkit-search-results-decoration {
|
|
48
48
|
display: none;
|
|
49
49
|
}
|
|
50
|
-
`;var rc={};var Pa={};se(Pa,{ParametrizedLabelResolver:()=>Kt});var Kt=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var i,n;e=this.resolvePluralKey(e,t);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(i,s))),e}resolvePluralKey(e,t){for(let i of t)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let i=n=>t?.includes("date")?e.toLocaleDateString(n):t?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var ns={};se(ns,{FtCommandQueue:()=>zo,FtLitElementRedux:()=>Vr,FtReduxStore:()=>Ar,clearAllStores:()=>Wu,isFtReduxStore:()=>Cr,redux:()=>oc,reduxEventListener:()=>nu,reduxReactive:()=>iu});var iu=()=>(r,e)=>{var t;let i=r.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(t=i.reduxReactiveProperties)===null||t===void 0||t.add(e)},oc=r=>{let e=r??{};return(t,i)=>{var n;let a={hasChanged:Eo,attribute:!1,...e};m(a)(t,i);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},nu=r=>(e,t)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(t,r)};var zo=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(i=>i.type===e);return t&&(this.queue=this.queue.filter(i=>i!==t)),t}};function Cr(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ic,nc,ac,Wo=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),Er=Symbol("internalStores"),Vr=class extends M{constructor(){super(...arguments),this[ic]=new Map,this[nc]=new Map,this[ac]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[Er].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Er].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Er].get(e)}addStore(e,t){var i;t=(i=t??(Cr(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(t),this[Er].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[Er].delete(t)}setupStores(){this.unsubscribeFromStores(),this[Er].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let i=this.constructor.getPropertyOptions(t);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:t)){let n=this.getStore(e.store);n&&(e.store?this[Zt].has(e.store):this[Zt].size>0)&&(this[t]=e.selector(n.getState(),this))}})}subscribeToStore(e,t){var i;this[Zt].set(e,t.subscribe(()=>this.updateFromStores())),this[Wo].set(e,[]),Cr(t)&&t.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||t.name===n.store)){let s=l=>this[a](l);t.addEventListener(n.eventName,s),this[Wo].get(e).push(()=>t.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Zt].forEach((e,t)=>this.unsubscribeFromStore(t))}unsubscribeFromStore(e){var t;this[Zt].has(e)&&this[Zt].get(e)(),this[Zt].delete(e),(t=this[Wo].get(e))===null||t===void 0||t.forEach(i=>i()),this[Wo].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ic=Zt,nc=Er,ac=Wo;Vr.reduxProperties=new Map;Vr.reduxReactiveProperties=new Set;Vr.reduxEventListeners=new Map;function rt(r){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ft(r){return!!r&&!!r[fe]}function lt(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var i=Object.getPrototypeOf(t);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===uu}(r)||Array.isArray(r)||!!r[uc]||!!(!((e=r.constructor)===null||e===void 0)&&e[uc])||Wa(r)||Ha(r))}function wr(r,e,t){t===void 0&&(t=!1),Kr(r)===0?(t?Object.keys:Gr)(r).forEach(function(i){t&&typeof i=="symbol"||e(i,r[i],r)}):r.forEach(function(i,n){return e(n,i,r)})}function Kr(r){var e=r[fe];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:Wa(r)?2:Ha(r)?3:0}function jr(r,e){return Kr(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function au(r,e){return Kr(r)===2?r.get(e):r[e]}function hc(r,e,t){var i=Kr(r);i===2?r.set(e,t):i===3?r.add(t):r[e]=t}function mc(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function Wa(r){return pu&&r instanceof Map}function Ha(r){return fu&&r instanceof Set}function qt(r){return r.o||r.t}function Va(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=bc(r);delete e[fe];for(var t=Gr(e),i=0;i<t.length;i++){var n=t[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[n]})}return Object.create(Object.getPrototypeOf(r),e)}function ja(r,e){return e===void 0&&(e=!1),Ga(r)||Ft(r)||!lt(r)||(Kr(r)>1&&(r.set=r.add=r.clear=r.delete=su),Object.freeze(r),e&&wr(r,function(t,i){return ja(i,!0)},!0)),r}function su(){rt(2)}function Ga(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function vt(r){var e=za[r];return e||rt(18,r),e}function lu(r,e){za[r]||(za[r]=e)}function Da(){return Vo}function Ia(r,e){e&&(vt("Patches"),r.u=[],r.s=[],r.v=e)}function ki(r){Ma(r),r.p.forEach(cu),r.p=null}function Ma(r){r===Vo&&(Vo=r.l)}function sc(r){return Vo={p:[],l:Vo,h:r,m:!0,_:0}}function cu(r){var e=r[fe];e.i===0||e.i===1?e.j():e.g=!0}function Ta(r,e){e._=e.p.length;var t=e.p[0],i=r!==void 0&&r!==t;return e.h.O||vt("ES5").S(e,r,i),i?(t[fe].P&&(ki(e),rt(4)),lt(r)&&(r=Pi(e,r),e.l||Ii(e,r)),e.u&&vt("Patches").M(t[fe].t,r,e.u,e.s)):r=Pi(e,t,[]),ki(e),e.u&&e.v(e.u,e.s),r!==gc?r:void 0}function Pi(r,e,t){if(Ga(e))return e;var i=e[fe];if(!i)return wr(e,function(l,d){return lc(r,i,e,l,d,t)},!0),e;if(i.A!==r)return e;if(!i.P)return Ii(r,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Va(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),wr(a,function(l,d){return lc(r,i,n,l,d,t,s)}),Ii(r,n,!1),t&&r.u&&vt("Patches").N(i,t,r.u,r.s)}return i.o}function lc(r,e,t,i,n,a,s){if(Ft(n)){var l=Pi(r,n,a&&e&&e.i!==3&&!jr(e.R,i)?a.concat(i):void 0);if(hc(t,i,l),!Ft(l))return;r.m=!1}else s&&t.add(n);if(lt(n)&&!Ga(n)){if(!r.h.D&&r._<1)return;Pi(r,n),e&&e.A.l||Ii(r,n)}}function Ii(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&ja(e,t)}function Ba(r,e){var t=r[fe];return(t?qt(t):r)[e]}function cc(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}}function Yt(r){r.P||(r.P=!0,r.l&&Yt(r.l))}function Fa(r){r.o||(r.o=Va(r.t))}function Ua(r,e,t){var i=Wa(e)?vt("MapSet").F(e,t):Ha(e)?vt("MapSet").T(e,t):r.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Da(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,p=jo;s&&(d=[l],p=Ho);var h=Proxy.revocable(d,p),u=h.revoke,g=h.proxy;return l.k=g,l.j=u,g}(e,t):vt("ES5").J(e,t);return(t?t.A:Da()).p.push(i),i}function du(r){return Ft(r)||rt(22,r),function e(t){if(!lt(t))return t;var i,n=t[fe],a=Kr(t);if(n){if(!n.P&&(n.i<4||!vt("ES5").K(n)))return n.t;n.I=!0,i=dc(t,a),n.I=!1}else i=dc(t,a);return wr(i,function(s,l){n&&au(n.t,s)===l||hc(i,s,e(l))}),a===3?new Set(i):i}(r)}function dc(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return Va(r)}function yc(){function r(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[fe];return jo.get(p,s)},set:function(p){var h=this[fe];jo.set(h,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][fe];if(!d.P)switch(d.i){case 5:i(d)&&Yt(d);break;case 4:t(d)&&Yt(d)}}}function t(s){for(var l=s.t,d=s.k,p=Gr(d),h=p.length-1;h>=0;h--){var u=p[h];if(u!==fe){var g=l[u];if(g===void 0&&!jr(l,u))return!0;var x=d[u],S=x&&x[fe];if(S?S.t!==g:!mc(x,g))return!0}}var E=!!l[fe];return p.length!==Gr(l).length+(E?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&rt(3,JSON.stringify(qt(s)))}var a={};lu("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(u,g){if(u){for(var x=Array(g.length),S=0;S<g.length;S++)Object.defineProperty(x,""+S,r(S,!0));return x}var E=bc(g);delete E[fe];for(var k=Gr(E),P=0;P<k.length;P++){var I=k[P];E[I]=r(I,u||!!E[I].enumerable)}return Object.create(Object.getPrototypeOf(g),E)}(d,s),h={i:d?5:4,A:l?l.A:Da(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,fe,{value:h,writable:!0}),p},S:function(s,l,d){d?Ft(l)&&l[fe].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var u=h[fe];if(u){var g=u.t,x=u.k,S=u.R,E=u.i;if(E===4)wr(x,function(C){C!==fe&&(g[C]!==void 0||jr(g,C)?S[C]||p(x[C]):(S[C]=!0,Yt(u)))}),wr(g,function(C){x[C]!==void 0||jr(x,C)||(S[C]=!1,Yt(u))});else if(E===5){if(i(u)&&(Yt(u),S.length=!0),x.length<g.length)for(var k=x.length;k<g.length;k++)S[k]=!1;else for(var P=g.length;P<x.length;P++)S[P]=!0;for(var I=Math.min(x.length,g.length),A=0;A<I;A++)x.hasOwnProperty(A)||(S[A]=!0),S[A]===void 0&&p(x[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):i(s)}})}var pc,Vo,Ka=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pu=typeof Map<"u",fu=typeof Set<"u",fc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",gc=Ka?Symbol.for("immer-nothing"):((pc={})["immer-nothing"]=!0,pc),uc=Ka?Symbol.for("immer-draftable"):"__$immer_draftable",fe=Ka?Symbol.for("immer-state"):"__$immer_state";var uu=""+Object.prototype.constructor,Gr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,bc=Object.getOwnPropertyDescriptors||function(r){var e={};return Gr(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},za={},jo={get:function(r,e){if(e===fe)return r;var t=qt(r);if(!jr(t,e))return function(n,a,s){var l,d=cc(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(r,t,e);var i=t[e];return r.I||!lt(i)?i:i===Ba(r.t,e)?(Fa(r),r.o[e]=Ua(r.A.h,i,r)):i},has:function(r,e){return e in qt(r)},ownKeys:function(r){return Reflect.ownKeys(qt(r))},set:function(r,e,t){var i=cc(qt(r),e);if(i?.set)return i.set.call(r.k,t),!0;if(!r.P){var n=Ba(qt(r),e),a=n?.[fe];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(mc(t,n)&&(t!==void 0||jr(r.t,e)))return!0;Fa(r),Yt(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return Ba(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Fa(r),Yt(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=qt(r),i=Reflect.getOwnPropertyDescriptor(t,e);return i&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:i.enumerable,value:t[e]}},defineProperty:function(){rt(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){rt(12)}},Ho={};wr(jo,function(r,e){Ho[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ho.deleteProperty=function(r,e){return Ho.set.call(this,r,e,void 0)},Ho.set=function(r,e,t){return jo.set.call(this,r[0],e,t,r[0])};var hu=function(){function r(t){var i=this;this.O=fc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(E){var k=this;E===void 0&&(E=l);for(var P=arguments.length,I=Array(P>1?P-1:0),A=1;A<P;A++)I[A-1]=arguments[A];return d.produce(E,function(C){var R;return(R=a).call.apply(R,[k,C].concat(I))})}}var p;if(typeof a!="function"&&rt(6),s!==void 0&&typeof s!="function"&&rt(7),lt(n)){var h=sc(i),u=Ua(i,n,void 0),g=!0;try{p=a(u),g=!1}finally{g?ki(h):Ma(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(E){return Ia(h,s),Ta(E,h)},function(E){throw ki(h),E}):(Ia(h,s),Ta(p,h))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===gc&&(p=void 0),i.D&&ja(p,!0),s){var x=[],S=[];vt("Patches").M(n,p,x,S),s(x,S)}return p}rt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var h=arguments.length,u=Array(h>1?h-1:0),g=1;g<h;g++)u[g-1]=arguments[g];return i.produceWithPatches(p,function(x){return n.apply(void 0,[x].concat(u))})};var s,l,d=i.produce(n,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){lt(t)||rt(8),Ft(t)&&(t=du(t));var i=sc(this),n=Ua(this,t,void 0);return n[fe].C=!0,Ma(i),n},e.finishDraft=function(t,i){var n=t&&t[fe],a=n.A;return Ia(a,i),Ta(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!fc&&rt(20),this.O=t},e.applyPatches=function(t,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(i=i.slice(n+1));var s=vt("Patches").$;return Ft(t)?s(t,i):this.produce(t,function(l){return s(l,i)})},r}(),Xe=new hu,mu=Xe.produce,Ev=Xe.produceWithPatches.bind(Xe),wv=Xe.setAutoFreeze.bind(Xe),Av=Xe.setUseProxies.bind(Xe),Rv=Xe.applyPatches.bind(Xe),$v=Xe.createDraft.bind(Xe),Lv=Xe.finishDraft.bind(Xe),Ti=mu;function Xt(r){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xt(r)}function Za(r,e){if(Xt(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(Xt(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function qa(r){var e=Za(r,"string");return Xt(e)==="symbol"?e:String(e)}function Ya(r,e,t){return e=qa(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function vc(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function Bi(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?vc(Object(t),!0).forEach(function(i){Ya(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):vc(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}function Te(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var xc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Xa=function(){return Math.random().toString(36).substring(7).split("").join(".")},Fi={INIT:"@@redux/INIT"+Xa(),REPLACE:"@@redux/REPLACE"+Xa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Xa()}};function yu(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function Ja(r,e,t){var i;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(Te(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(Te(1));return t(Ja)(r,e)}if(typeof r!="function")throw new Error(Te(2));var n=r,a=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Te(3));return a}function u(E){if(typeof E!="function")throw new Error(Te(4));if(d)throw new Error(Te(5));var k=!0;return p(),l.push(E),function(){if(k){if(d)throw new Error(Te(6));k=!1,p();var I=l.indexOf(E);l.splice(I,1),s=null}}}function g(E){if(!yu(E))throw new Error(Te(7));if(typeof E.type>"u")throw new Error(Te(8));if(d)throw new Error(Te(9));try{d=!0,a=n(a,E)}finally{d=!1}for(var k=s=l,P=0;P<k.length;P++){var I=k[P];I()}return E}function x(E){if(typeof E!="function")throw new Error(Te(10));n=E,g({type:Fi.REPLACE})}function S(){var E,k=u;return E={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Te(11));function A(){I.next&&I.next(h())}A();var C=k(A);return{unsubscribe:C}}},E[xc]=function(){return this},E}return g({type:Fi.INIT}),i={dispatch:g,subscribe:u,getState:h,replaceReducer:x},i[xc]=S,i}function gu(r){Object.keys(r).forEach(function(e){var t=r[e],i=t(void 0,{type:Fi.INIT});if(typeof i>"u")throw new Error(Te(12));if(typeof t(void 0,{type:Fi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Te(13))})}function Sc(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++){var n=e[i];typeof r[n]=="function"&&(t[n]=r[n])}var a=Object.keys(t),s,l;try{gu(t)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var u;for(var g=!1,x={},S=0;S<a.length;S++){var E=a[S],k=t[E],P=p[E],I=k(P,h);if(typeof I>"u"){var A=h&&h.type;throw new Error(Te(14))}x[E]=I,g=g||I!==P}return g=g||a.length!==Object.keys(p).length,g?x:p}}function Zr(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Oc(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Te(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=Zr.apply(void 0,l)(n.dispatch),Bi(Bi({},n),{},{dispatch:a})}}}function Cc(r){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,r):s(l)}}};return e}var Ec=Cc();Ec.withExtraArgument=Cc;var Qa=Ec;var Lc=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),bu=function(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(a=p[0]&2?n.return:p[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,p[1])).done)return a;switch(n=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return t.label++,{value:p[1],done:!1};case 5:t.label++,n=p[1],p=[0];continue;case 7:p=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){t=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){t.label=p[1];break}if(p[0]===6&&t.label<a[1]){t.label=a[1],a=p;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(p);break}a[2]&&t.ops.pop(),t.trys.pop();continue}p=e.call(r,t)}catch(h){p=[6,h],n=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},qr=function(r,e){for(var t=0,i=e.length,n=r.length;t<i;t++,n++)r[n]=e[t];return r},vu=Object.defineProperty,xu=Object.defineProperties,Su=Object.getOwnPropertyDescriptors,wc=Object.getOwnPropertySymbols,Ou=Object.prototype.hasOwnProperty,Cu=Object.prototype.propertyIsEnumerable,Ac=function(r,e,t){return e in r?vu(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},Jt=function(r,e){for(var t in e||(e={}))Ou.call(e,t)&&Ac(r,t,e[t]);if(wc)for(var i=0,n=wc(e);i<n.length;i++){var t=n[i];Cu.call(e,t)&&Ac(r,t,e[t])}return r},es=function(r,e){return xu(r,Su(e))},Eu=function(r,e,t){return new Promise(function(i,n){var a=function(d){try{l(t.next(d))}catch(p){n(p)}},s=function(d){try{l(t.throw(d))}catch(p){n(p)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((t=t.apply(r,e)).next())})};var wu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Zr:Zr.apply(null,arguments)},Kv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Au(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var Ru=function(r){Lc(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,qr([void 0],t[0].concat(this)))):new(e.bind.apply(e,qr([void 0],t.concat(this))))},e}(Array),$u=function(r){Lc(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,qr([void 0],t[0].concat(this)))):new(e.bind.apply(e,qr([void 0],t.concat(this))))},e}(Array);function os(r){return lt(r)?Ti(r,function(){}):r}function Lu(r){return typeof r=="boolean"}function Nu(){return function(e){return _u(e)}}function _u(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,i=r.immutableCheck,n=i===void 0?!0:i,a=r.serializableCheck,s=a===void 0?!0:a,l=new Ru;if(t&&(Lu(t)?l.push(Qa):l.push(Qa.withExtraArgument(t.extraArgument))),0){if(n)var d;if(s)var p}return l}var ts=!0;function Nc(r){var e=Nu(),t=r||{},i=t.reducer,n=i===void 0?void 0:i,a=t.middleware,s=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,p=t.preloadedState,h=p===void 0?void 0:p,u=t.enhancers,g=u===void 0?void 0:u,x;if(typeof n=="function")x=n;else if(Au(n))x=Sc(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=s;if(typeof S=="function"&&(S=S(e),!ts&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ts&&S.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Oc.apply(void 0,S),k=Zr;d&&(k=wu(Jt({trace:!ts},typeof d=="object"&&d)));var P=new $u(E),I=P;Array.isArray(g)?I=qr([E],g):typeof g=="function"&&(I=g(P));var A=k.apply(void 0,I);return Ja(x,h,A)}function Qt(r,e){function t(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return Jt(Jt({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:i[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(i){return i.type===r},t}function _c(r){var e={},t=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return r(n),[e,t,i]}function ku(r){return typeof r=="function"}function Pu(r,e,t,i){t===void 0&&(t=[]);var n=typeof e=="function"?_c(e):[e,t,i],a=n[0],s=n[1],l=n[2],d;if(ku(r))d=function(){return os(r())};else{var p=os(r);d=function(){return p}}function h(u,g){u===void 0&&(u=d());var x=qr([a[g.type]],s.filter(function(S){var E=S.matcher;return E(g)}).map(function(S){var E=S.reducer;return E}));return x.filter(function(S){return!!S}).length===0&&(x=[l]),x.reduce(function(S,E){if(E)if(Ft(S)){var k=S,P=E(k,g);return P===void 0?S:P}else{if(lt(S))return Ti(S,function(I){return E(I,g)});var P=E(S,g);if(P===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return S},u)}return h.getInitialState=d,h}function Iu(r,e){return r+"/"+e}function kc(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:os(r.initialState),i=r.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var u=i[h],g=Iu(e,h),x,S;"reducer"in u?(x=u.reducer,S=u.prepare):x=u,a[h]=x,s[g]=x,l[h]=S?Qt(g,S):Qt(g)});function d(){var h=typeof r.extraReducers=="function"?_c(r.extraReducers):[r.extraReducers],u=h[0],g=u===void 0?{}:u,x=h[1],S=x===void 0?[]:x,E=h[2],k=E===void 0?void 0:E,P=Jt(Jt({},g),s);return Pu(t,function(I){for(var A in P)I.addCase(A,P[A]);for(var C=0,R=S;C<R.length;C++){var B=R[C];I.addMatcher(B.matcher,B.reducer)}k&&I.addDefaultCase(k)})}var p;return{name:e,reducer:function(h,u){return p||(p=d()),p(h,u)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var Tu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Bu=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=Tu[Math.random()*64|0];return e},Fu=["name","message","stack","code"],rs=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Rc=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Du=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,i=Fu;t<i.length;t++){var n=i[t];typeof r[n]=="string"&&(e[n]=r[n])}return e}return{message:String(r)}},Xv=function(){function r(e,t,i){var n=Qt(e+"/fulfilled",function(h,u,g,x){return{payload:h,meta:es(Jt({},x||{}),{arg:g,requestId:u,requestStatus:"fulfilled"})}}),a=Qt(e+"/pending",function(h,u,g){return{payload:void 0,meta:es(Jt({},g||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Qt(e+"/rejected",function(h,u,g,x,S){return{payload:x,error:(i&&i.serializeError||Du)(h||"Rejected"),meta:es(Jt({},S||{}),{arg:g,requestId:u,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(u,g,x){var S=i?.idGenerator?i.idGenerator(h):Bu(),E=new d,k,P=!1;function I(C){k=C,E.abort()}var A=function(){return Eu(this,null,function(){var C,R,B,j,oe,re,U;return bu(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),j=(C=i?.condition)==null?void 0:C.call(i,h,{getState:g,extra:x}),Uu(j)?[4,j]:[3,2];case 1:j=y.sent(),y.label=2;case 2:if(j===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,oe=new Promise(function(O,F){return E.signal.addEventListener("abort",function(){return F({name:"AbortError",message:k||"Aborted"})})}),u(a(S,h,(R=i?.getPendingMeta)==null?void 0:R.call(i,{requestId:S,arg:h},{getState:g,extra:x}))),[4,Promise.race([oe,Promise.resolve(t(h,{dispatch:u,getState:g,extra:x,requestId:S,signal:E.signal,abort:I,rejectWithValue:function(O,F){return new rs(O,F)},fulfillWithValue:function(O,F){return new Rc(O,F)}})).then(function(O){if(O instanceof rs)throw O;return O instanceof Rc?n(O.payload,S,h,O.meta):n(O,S,h)})])];case 3:return B=y.sent(),[3,5];case 4:return re=y.sent(),B=re instanceof rs?s(null,S,h,re.payload,re.meta):s(re,S,h),[3,5];case 5:return U=i&&!i.dispatchConditionRejection&&s.match(B)&&B.meta.condition,U||u(B),[2,B]}})})}();return Object.assign(A,{abort:I,requestId:S,arg:h,unwrap:function(){return A.then(Mu)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return r.withTypes=function(){return r},r}();function Mu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function Uu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Pc="listener",Ic="completed",Tc="cancelled",Jv="task-"+Tc,Qv="task-"+Ic,ex=Pc+"-"+Tc,tx=Pc+"-"+Ic;var is="listenerMiddleware";var rx=Qt(is+"/add"),ox=Qt(is+"/removeAll"),ix=Qt(is+"/remove");var $c,nx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return($c||($c=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},zu=function(r){return function(e){setTimeout(e,r)}},ax=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:zu(10);yc();window.ftReduxStores||(window.ftReduxStores={});var Ar=class r extends br{static get(e){var t;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Cr(a))return a;if(n==null)return;let s=kc({...n,reducers:(t=n.reducers)!==null&&t!==void 0?t:{}}),l=Nc({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[n.name]=new r(s,l)}constructor(e,t){super(),this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.commands=new zo,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...d)=>{let p=l(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Wu(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))Cr(e)&&e.clear()}var ls={};se(ls,{scrollHelper:()=>Hu});var as,Di=new Map,ss=class{lock(e,t){if(t){let i=Di.get(t);if(i==null||i===e)return Di.set(t,e),t}}release(e,t){t&&Di.get(t)===e&&Di.delete(t)}findFirstScrollableParent(e){var t;let i,n;for(let a of Pn(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(t=i??n)!==null&&t!==void 0?t:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){var i,n;let a=0;for(;t&&t.offsetParent!==e.offsetParent;)a+=(i=t.offsetTop)!==null&&i!==void 0?i:0,t=t.offsetParent;return a+((n=t?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=wo(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;i.scrollTo({behavior:t?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(as=window.FluidTopicsScrollHelper)!==null&&as!==void 0?as:new ss;var Hu=window.FluidTopicsScrollHelper;var cs={};se(cs,{shadowQuerySelector:()=>Vu,shadowQuerySelectorAll:()=>ju});function Vu(r,e,...t){var i;let n=r.querySelector(e);for(let a of t)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function ju(r,e,...t){let i=[...r.querySelectorAll(e)];for(let n of t)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var ds={};se(ds,{SearchPlaceConverter:()=>Rr,SearchPlaceQueryParams:()=>le,isSearchPlaceQueryParams:()=>ad,serializeRequest:()=>Zu});var Gu=vp(Fc(),1);var Dc;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Dc||(Dc={}));var Mc;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Mc||(Mc={}));var Uc;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(Uc||(Uc={}));var zc;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(zc||(zc={}));var Wc;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Wc||(Wc={}));var Hc;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Hc||(Hc={}));var Vc;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(Vc||(Vc={}));var jc;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(jc||(jc={}));var Gc;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(Gc||(Gc={}));var Kc;(function(r){r.ASC="ASC",r.DESC="DESC"})(Kc||(Kc={}));var Zc;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Zc||(Zc={}));var qc;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(qc||(qc={}));var td=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Yc;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Yc||(Yc={}));var Xc;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Xc||(Xc={}));var Jc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Jc||(Jc={}));var Go;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Go||(Go={}));var rd=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Qc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Qc||(Qc={}));var ed;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ed||(ed={}));var Ee;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(Ee||(Ee={}));var od;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(od||(od={}));var id;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(id||(id={}));var Ex={[Ee.PERSONAL_BOOK_SHARE_USER]:[Ee.PERSONAL_BOOK_USER],[Ee.HTML_EXPORT_USER]:[Ee.PERSONAL_BOOK_USER],[Ee.PDF_EXPORT_USER]:[Ee.PERSONAL_BOOK_USER],[Ee.KHUB_ADMIN]:[Ee.CONTENT_PUBLISHER],[Ee.ADMIN]:[Ee.KHUB_ADMIN,Ee.USERS_ADMIN,Ee.PORTAL_ADMIN],[Ee.DEVELOPER]:[Ee.BETA_USER,Ee.DEBUG_USER],[Ee.GENERATIVE_AI_EXPORT_USER]:[Ee.GENERATIVE_AI_USER]};function Ku(r){return`"${r}"`}function nd(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Zu(r,e){return new Rr(r).serialize(e)}var le;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(le||(le={}));var qu=new Set(Object.values(le));function ad(r){return qu.has(r)}var Rr=class{constructor(e,t={},i=20,n=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=t,this.defaultPerPage=i,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,t){return this.serializeToCurrentPageIfPossible(e,t??"/search")}serializeToCurrentPageIfPossible(e,t){let i=this.toURLSearchParams(e).toString(),n=t==null||t.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${t}`);return a.search=i,a.toString()}toURLSearchParams(e,t=!1){var i,n,a,s,l,d,p,h,u,g,x,S;let E=new URLSearchParams;e.contentLocale?(!t||e.contentLocale!==this.defaultContentLocale)&&E.append(le.LOCALE,e.contentLocale):E.append(le.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&E.append(le.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&E.append(le.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(le.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((n=e.sort)===null||n===void 0?void 0:n.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(le.SORT,"last_update");let k=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(C=>C.valueFilter))!==null&&s!==void 0?s:[];if(k.length>0){let C=k.map(R=>{var B,j;let oe=((j=(B=R.valueFilter)===null||B===void 0?void 0:B.values)!==null&&j!==void 0?j:[]).map(re=>this.escapeFilters(re)).map(re=>encodeURIComponent(Ku(nd(re)))).join("_");return`${R.key}~${oe}`}).join("*");E.append(le.VALUE_FILTERS,C)}let P=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(C=>C.dateFilter))!==null&&d!==void 0?d:[];if(P.length>0){let C=P.map(R=>{var B;return`${R.key}~${(B=R.dateFilter)===null||B===void 0?void 0:B.type.toLowerCase()}`}).join("*");E.append(le.DATE_FILTERS,C)}let I=(h=(p=e.metadataFilters)===null||p===void 0?void 0:p.filter(C=>C.rangeFilter))!==null&&h!==void 0?h:[];if(I.length>0){let C=I.map(R=>{var B,j;return`${R.key}~${(B=R.rangeFilter)===null||B===void 0?void 0:B.from}_${(j=R.rangeFilter)===null||j===void 0?void 0:j.to}`}).join("*");E.append(le.RANGE_FILTERS,C)}let A=(u=e.otherQueryParams)!==null&&u!==void 0?u:{};for(let C in A)E.append(C,A[C]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((S=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&S!==void 0?S:this.defaultPerPage)!=this.defaultPerPage&&E.append(le.PER_PAGE,String(e.paging.perPage)),E}parse(e){var t;let i=e.split("?"),n=this.fromURLSearchParams(new URLSearchParams(i.slice(1).join("?"))),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:n.scope}}fromURLSearchParams(e){var t,i,n,a,s,l,d,p;let h=e.get(le.LOCALE)==="all"?void 0:e.get(le.LOCALE),u=((t=e.get(le.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),g=((i=e.get(le.SORT))!==null&&i!==void 0?i:"DEFAULT").toUpperCase(),x=(n=e.get(le.SCOPE))!==null&&n!==void 0?n:"default",S=+((a=e.get(le.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E={};for(let k of e.keys())ad(k)||(E[k]=e.get(k));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(le.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[x])!==null&&l!==void 0?l:"DEFAULT",virtualField:td(u)?u:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[g])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:wo(1,isNaN(S)?this.defaultPerPage:S,1e3)},otherQueryParams:E}}parseCompatFilters(e){var t,i,n,a,s,l;let d=[];return e.has(le.FILTERS)&&(d=this.parseValueFilters((t=e.get(le.FILTERS))!==null&&t!==void 0?t:"")),(i=e.has(le.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(le.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(le.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(le.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(le.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(nd).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:Go[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(t,i);return e}superEscapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replace(n,t);return e}parseLegacyPeriodFilter(e){if(rd(e))return[{key:"ft:lastEdition",dateFilter:{type:Go[e]}}];if(e.startsWith("CUSTOM_")){let[t,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}};var fs={};se(fs,{toFtFormComponent:()=>ps});var zi=Symbol("elementInternals");function ps(r,e){class t extends r{static get formAssociated(){return!0}get form(){return this[zi].form}constructor(...n){super(n),this[zi]=this.attachInternals(),this[zi].role=e}setFormValue(n){this[zi].setFormValue(n)}}return t}var us={};se(us,{DateFormatter:()=>Xr});var Xr=class{static format(e,t,i,n){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(i,n)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}};var hs,ms,ys,gs,$r=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ys=(ms=(hs=window.safari)===null||hs===void 0?void 0:hs.pushNotification)===null||ms===void 0?void 0:ms.toString())!==null&&ys!==void 0?ys:"")==="[object SafariRemoteNotification]",bs="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(gs=window.ftGlobals)!==null&&gs!==void 0?gs:{lit:un,litDecorators:gn,litRepeat:bn,litClassMap:vn,litStyleMap:xn,litUnsafeHTML:On,wcUtils:{...Ln,...En,..._n,...us,...kn,...Tn,...da,...$n,...Ea,...ca,...Ra,...Aa,...ec,...In,...Na,...ka,...rc,...Pa,...ns,...wa,...ls,...cs,...ds,...fs,isSafari:$r,isTouchScreen:bs,setVariable:v}};var ot;(function(r){r.S="S",r.M="M",r.L="L",r.XL="XL",r.XXL="XXL"})(ot||(ot={}));var sd=L`
|
|
50
|
+
`;var oc={};var Ia={};se(Ia,{ParametrizedLabelResolver:()=>Kt});var Kt=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var i,n;e=this.resolvePluralKey(e,t);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(i,s))),e}resolvePluralKey(e,t){for(let i of t)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let i=n=>t?.includes("date")?e.toLocaleDateString(n):t?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var as={};se(as,{FtCommandQueue:()=>zo,FtLitElementRedux:()=>jr,FtReduxStore:()=>Rr,ReduxWatcher:()=>Di,clearAllStores:()=>Hu,isFtReduxStore:()=>Er,redux:()=>ic,reduxEventListener:()=>au,reduxReactive:()=>nu,watch:()=>Vu});var nu=()=>(r,e)=>{var t;let i=r.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(t=i.reduxReactiveProperties)===null||t===void 0||t.add(e)},ic=r=>{let e=r??{};return(t,i)=>{var n;let a={hasChanged:vr,attribute:!1,...e};m(a)(t,i);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},au=r=>(e,t)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(t,r)};var zo=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(i=>i.type===e);return t&&(this.queue=this.queue.filter(i=>i!==t)),t}};function Er(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var nc,ac,sc,Wo=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),wr=Symbol("internalStores"),jr=class extends M{constructor(){super(...arguments),this[nc]=new Map,this[ac]=new Map,this[sc]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[wr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[wr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[wr].get(e)}addStore(e,t){var i;t=(i=t??(Er(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(t),this[wr].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[wr].delete(t)}setupStores(){this.unsubscribeFromStores(),this[wr].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let i=this.constructor.getPropertyOptions(t);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:t)){let n=this.getStore(e.store);n&&(e.store?this[Zt].has(e.store):this[Zt].size>0)&&(this[t]=e.selector(n.getState(),this))}})}subscribeToStore(e,t){var i;this[Zt].set(e,t.subscribe(()=>this.updateFromStores())),this[Wo].set(e,[]),Er(t)&&t.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||t.name===n.store)){let s=l=>this[a](l);t.addEventListener(n.eventName,s),this[Wo].get(e).push(()=>t.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Zt].forEach((e,t)=>this.unsubscribeFromStore(t))}unsubscribeFromStore(e){var t;this[Zt].has(e)&&this[Zt].get(e)(),this[Zt].delete(e),(t=this[Wo].get(e))===null||t===void 0||t.forEach(i=>i()),this[Wo].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};nc=Zt,ac=wr,sc=Wo;jr.reduxProperties=new Map;jr.reduxReactiveProperties=new Set;jr.reduxEventListeners=new Map;function rt(r){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ft(r){return!!r&&!!r[fe]}function lt(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var i=Object.getPrototypeOf(t);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===hu}(r)||Array.isArray(r)||!!r[hc]||!!(!((e=r.constructor)===null||e===void 0)&&e[hc])||Ha(r)||Va(r))}function Ar(r,e,t){t===void 0&&(t=!1),Zr(r)===0?(t?Object.keys:Kr)(r).forEach(function(i){t&&typeof i=="symbol"||e(i,r[i],r)}):r.forEach(function(i,n){return e(n,i,r)})}function Zr(r){var e=r[fe];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:Ha(r)?2:Va(r)?3:0}function Gr(r,e){return Zr(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function su(r,e){return Zr(r)===2?r.get(e):r[e]}function mc(r,e,t){var i=Zr(r);i===2?r.set(e,t):i===3?r.add(t):r[e]=t}function yc(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function Ha(r){return fu&&r instanceof Map}function Va(r){return uu&&r instanceof Set}function qt(r){return r.o||r.t}function ja(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=vc(r);delete e[fe];for(var t=Kr(e),i=0;i<t.length;i++){var n=t[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[n]})}return Object.create(Object.getPrototypeOf(r),e)}function Ga(r,e){return e===void 0&&(e=!1),Ka(r)||Ft(r)||!lt(r)||(Zr(r)>1&&(r.set=r.add=r.clear=r.delete=lu),Object.freeze(r),e&&Ar(r,function(t,i){return Ga(i,!0)},!0)),r}function lu(){rt(2)}function Ka(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function vt(r){var e=Wa[r];return e||rt(18,r),e}function cu(r,e){Wa[r]||(Wa[r]=e)}function Ma(){return Vo}function Ta(r,e){e&&(vt("Patches"),r.u=[],r.s=[],r.v=e)}function ki(r){Ua(r),r.p.forEach(du),r.p=null}function Ua(r){r===Vo&&(Vo=r.l)}function lc(r){return Vo={p:[],l:Vo,h:r,m:!0,_:0}}function du(r){var e=r[fe];e.i===0||e.i===1?e.j():e.g=!0}function Ba(r,e){e._=e.p.length;var t=e.p[0],i=r!==void 0&&r!==t;return e.h.O||vt("ES5").S(e,r,i),i?(t[fe].P&&(ki(e),rt(4)),lt(r)&&(r=Pi(e,r),e.l||Ii(e,r)),e.u&&vt("Patches").M(t[fe].t,r,e.u,e.s)):r=Pi(e,t,[]),ki(e),e.u&&e.v(e.u,e.s),r!==bc?r:void 0}function Pi(r,e,t){if(Ka(e))return e;var i=e[fe];if(!i)return Ar(e,function(l,d){return cc(r,i,e,l,d,t)},!0),e;if(i.A!==r)return e;if(!i.P)return Ii(r,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=ja(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Ar(a,function(l,d){return cc(r,i,n,l,d,t,s)}),Ii(r,n,!1),t&&r.u&&vt("Patches").N(i,t,r.u,r.s)}return i.o}function cc(r,e,t,i,n,a,s){if(Ft(n)){var l=Pi(r,n,a&&e&&e.i!==3&&!Gr(e.R,i)?a.concat(i):void 0);if(mc(t,i,l),!Ft(l))return;r.m=!1}else s&&t.add(n);if(lt(n)&&!Ka(n)){if(!r.h.D&&r._<1)return;Pi(r,n),e&&e.A.l||Ii(r,n)}}function Ii(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&Ga(e,t)}function Fa(r,e){var t=r[fe];return(t?qt(t):r)[e]}function dc(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}}function Yt(r){r.P||(r.P=!0,r.l&&Yt(r.l))}function Da(r){r.o||(r.o=ja(r.t))}function za(r,e,t){var i=Ha(e)?vt("MapSet").F(e,t):Va(e)?vt("MapSet").T(e,t):r.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Ma(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,p=jo;s&&(d=[l],p=Ho);var h=Proxy.revocable(d,p),u=h.revoke,g=h.proxy;return l.k=g,l.j=u,g}(e,t):vt("ES5").J(e,t);return(t?t.A:Ma()).p.push(i),i}function pu(r){return Ft(r)||rt(22,r),function e(t){if(!lt(t))return t;var i,n=t[fe],a=Zr(t);if(n){if(!n.P&&(n.i<4||!vt("ES5").K(n)))return n.t;n.I=!0,i=pc(t,a),n.I=!1}else i=pc(t,a);return Ar(i,function(s,l){n&&su(n.t,s)===l||mc(i,s,e(l))}),a===3?new Set(i):i}(r)}function pc(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return ja(r)}function gc(){function r(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[fe];return jo.get(p,s)},set:function(p){var h=this[fe];jo.set(h,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][fe];if(!d.P)switch(d.i){case 5:i(d)&&Yt(d);break;case 4:t(d)&&Yt(d)}}}function t(s){for(var l=s.t,d=s.k,p=Kr(d),h=p.length-1;h>=0;h--){var u=p[h];if(u!==fe){var g=l[u];if(g===void 0&&!Gr(l,u))return!0;var x=d[u],S=x&&x[fe];if(S?S.t!==g:!yc(x,g))return!0}}var E=!!l[fe];return p.length!==Kr(l).length+(E?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&rt(3,JSON.stringify(qt(s)))}var a={};cu("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(u,g){if(u){for(var x=Array(g.length),S=0;S<g.length;S++)Object.defineProperty(x,""+S,r(S,!0));return x}var E=vc(g);delete E[fe];for(var k=Kr(E),P=0;P<k.length;P++){var I=k[P];E[I]=r(I,u||!!E[I].enumerable)}return Object.create(Object.getPrototypeOf(g),E)}(d,s),h={i:d?5:4,A:l?l.A:Ma(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,fe,{value:h,writable:!0}),p},S:function(s,l,d){d?Ft(l)&&l[fe].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var u=h[fe];if(u){var g=u.t,x=u.k,S=u.R,E=u.i;if(E===4)Ar(x,function(C){C!==fe&&(g[C]!==void 0||Gr(g,C)?S[C]||p(x[C]):(S[C]=!0,Yt(u)))}),Ar(g,function(C){x[C]!==void 0||Gr(x,C)||(S[C]=!1,Yt(u))});else if(E===5){if(i(u)&&(Yt(u),S.length=!0),x.length<g.length)for(var k=x.length;k<g.length;k++)S[k]=!1;else for(var P=g.length;P<x.length;P++)S[P]=!0;for(var I=Math.min(x.length,g.length),A=0;A<I;A++)x.hasOwnProperty(A)||(S[A]=!0),S[A]===void 0&&p(x[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):i(s)}})}var fc,Vo,Za=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",fu=typeof Map<"u",uu=typeof Set<"u",uc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",bc=Za?Symbol.for("immer-nothing"):((fc={})["immer-nothing"]=!0,fc),hc=Za?Symbol.for("immer-draftable"):"__$immer_draftable",fe=Za?Symbol.for("immer-state"):"__$immer_state";var hu=""+Object.prototype.constructor,Kr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,vc=Object.getOwnPropertyDescriptors||function(r){var e={};return Kr(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},Wa={},jo={get:function(r,e){if(e===fe)return r;var t=qt(r);if(!Gr(t,e))return function(n,a,s){var l,d=dc(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(r,t,e);var i=t[e];return r.I||!lt(i)?i:i===Fa(r.t,e)?(Da(r),r.o[e]=za(r.A.h,i,r)):i},has:function(r,e){return e in qt(r)},ownKeys:function(r){return Reflect.ownKeys(qt(r))},set:function(r,e,t){var i=dc(qt(r),e);if(i?.set)return i.set.call(r.k,t),!0;if(!r.P){var n=Fa(qt(r),e),a=n?.[fe];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(yc(t,n)&&(t!==void 0||Gr(r.t,e)))return!0;Da(r),Yt(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return Fa(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Da(r),Yt(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=qt(r),i=Reflect.getOwnPropertyDescriptor(t,e);return i&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:i.enumerable,value:t[e]}},defineProperty:function(){rt(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){rt(12)}},Ho={};Ar(jo,function(r,e){Ho[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ho.deleteProperty=function(r,e){return Ho.set.call(this,r,e,void 0)},Ho.set=function(r,e,t){return jo.set.call(this,r[0],e,t,r[0])};var mu=function(){function r(t){var i=this;this.O=uc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(E){var k=this;E===void 0&&(E=l);for(var P=arguments.length,I=Array(P>1?P-1:0),A=1;A<P;A++)I[A-1]=arguments[A];return d.produce(E,function(C){var R;return(R=a).call.apply(R,[k,C].concat(I))})}}var p;if(typeof a!="function"&&rt(6),s!==void 0&&typeof s!="function"&&rt(7),lt(n)){var h=lc(i),u=za(i,n,void 0),g=!0;try{p=a(u),g=!1}finally{g?ki(h):Ua(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(E){return Ta(h,s),Ba(E,h)},function(E){throw ki(h),E}):(Ta(h,s),Ba(p,h))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===bc&&(p=void 0),i.D&&Ga(p,!0),s){var x=[],S=[];vt("Patches").M(n,p,x,S),s(x,S)}return p}rt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var h=arguments.length,u=Array(h>1?h-1:0),g=1;g<h;g++)u[g-1]=arguments[g];return i.produceWithPatches(p,function(x){return n.apply(void 0,[x].concat(u))})};var s,l,d=i.produce(n,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){lt(t)||rt(8),Ft(t)&&(t=pu(t));var i=lc(this),n=za(this,t,void 0);return n[fe].C=!0,Ua(i),n},e.finishDraft=function(t,i){var n=t&&t[fe],a=n.A;return Ta(a,i),Ba(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!uc&&rt(20),this.O=t},e.applyPatches=function(t,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(i=i.slice(n+1));var s=vt("Patches").$;return Ft(t)?s(t,i):this.produce(t,function(l){return s(l,i)})},r}(),Xe=new mu,yu=Xe.produce,Av=Xe.produceWithPatches.bind(Xe),Rv=Xe.setAutoFreeze.bind(Xe),$v=Xe.setUseProxies.bind(Xe),Lv=Xe.applyPatches.bind(Xe),Nv=Xe.createDraft.bind(Xe),_v=Xe.finishDraft.bind(Xe),Ti=yu;function Xt(r){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xt(r)}function qa(r,e){if(Xt(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(Xt(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Ya(r){var e=qa(r,"string");return Xt(e)==="symbol"?e:String(e)}function Xa(r,e,t){return e=Ya(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function xc(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function Bi(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?xc(Object(t),!0).forEach(function(i){Xa(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):xc(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}function Te(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var Sc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ja=function(){return Math.random().toString(36).substring(7).split("").join(".")},Fi={INIT:"@@redux/INIT"+Ja(),REPLACE:"@@redux/REPLACE"+Ja(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ja()}};function gu(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function Qa(r,e,t){var i;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(Te(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(Te(1));return t(Qa)(r,e)}if(typeof r!="function")throw new Error(Te(2));var n=r,a=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Te(3));return a}function u(E){if(typeof E!="function")throw new Error(Te(4));if(d)throw new Error(Te(5));var k=!0;return p(),l.push(E),function(){if(k){if(d)throw new Error(Te(6));k=!1,p();var I=l.indexOf(E);l.splice(I,1),s=null}}}function g(E){if(!gu(E))throw new Error(Te(7));if(typeof E.type>"u")throw new Error(Te(8));if(d)throw new Error(Te(9));try{d=!0,a=n(a,E)}finally{d=!1}for(var k=s=l,P=0;P<k.length;P++){var I=k[P];I()}return E}function x(E){if(typeof E!="function")throw new Error(Te(10));n=E,g({type:Fi.REPLACE})}function S(){var E,k=u;return E={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Te(11));function A(){I.next&&I.next(h())}A();var C=k(A);return{unsubscribe:C}}},E[Sc]=function(){return this},E}return g({type:Fi.INIT}),i={dispatch:g,subscribe:u,getState:h,replaceReducer:x},i[Sc]=S,i}function bu(r){Object.keys(r).forEach(function(e){var t=r[e],i=t(void 0,{type:Fi.INIT});if(typeof i>"u")throw new Error(Te(12));if(typeof t(void 0,{type:Fi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Te(13))})}function Oc(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++){var n=e[i];typeof r[n]=="function"&&(t[n]=r[n])}var a=Object.keys(t),s,l;try{bu(t)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var u;for(var g=!1,x={},S=0;S<a.length;S++){var E=a[S],k=t[E],P=p[E],I=k(P,h);if(typeof I>"u"){var A=h&&h.type;throw new Error(Te(14))}x[E]=I,g=g||I!==P}return g=g||a.length!==Object.keys(p).length,g?x:p}}function qr(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Cc(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Te(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=qr.apply(void 0,l)(n.dispatch),Bi(Bi({},n),{},{dispatch:a})}}}function Ec(r){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,r):s(l)}}};return e}var wc=Ec();wc.withExtraArgument=Ec;var es=wc;var Nc=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),vu=function(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(a=p[0]&2?n.return:p[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,p[1])).done)return a;switch(n=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return t.label++,{value:p[1],done:!1};case 5:t.label++,n=p[1],p=[0];continue;case 7:p=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){t=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){t.label=p[1];break}if(p[0]===6&&t.label<a[1]){t.label=a[1],a=p;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(p);break}a[2]&&t.ops.pop(),t.trys.pop();continue}p=e.call(r,t)}catch(h){p=[6,h],n=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Yr=function(r,e){for(var t=0,i=e.length,n=r.length;t<i;t++,n++)r[n]=e[t];return r},xu=Object.defineProperty,Su=Object.defineProperties,Ou=Object.getOwnPropertyDescriptors,Ac=Object.getOwnPropertySymbols,Cu=Object.prototype.hasOwnProperty,Eu=Object.prototype.propertyIsEnumerable,Rc=function(r,e,t){return e in r?xu(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},Jt=function(r,e){for(var t in e||(e={}))Cu.call(e,t)&&Rc(r,t,e[t]);if(Ac)for(var i=0,n=Ac(e);i<n.length;i++){var t=n[i];Eu.call(e,t)&&Rc(r,t,e[t])}return r},ts=function(r,e){return Su(r,Ou(e))},wu=function(r,e,t){return new Promise(function(i,n){var a=function(d){try{l(t.next(d))}catch(p){n(p)}},s=function(d){try{l(t.throw(d))}catch(p){n(p)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((t=t.apply(r,e)).next())})};var Au=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?qr:qr.apply(null,arguments)},qv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Ru(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var $u=function(r){Nc(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,Yr([void 0],t[0].concat(this)))):new(e.bind.apply(e,Yr([void 0],t.concat(this))))},e}(Array),Lu=function(r){Nc(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,Yr([void 0],t[0].concat(this)))):new(e.bind.apply(e,Yr([void 0],t.concat(this))))},e}(Array);function is(r){return lt(r)?Ti(r,function(){}):r}function Nu(r){return typeof r=="boolean"}function _u(){return function(e){return ku(e)}}function ku(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,i=r.immutableCheck,n=i===void 0?!0:i,a=r.serializableCheck,s=a===void 0?!0:a,l=new $u;if(t&&(Nu(t)?l.push(es):l.push(es.withExtraArgument(t.extraArgument))),0){if(n)var d;if(s)var p}return l}var rs=!0;function _c(r){var e=_u(),t=r||{},i=t.reducer,n=i===void 0?void 0:i,a=t.middleware,s=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,p=t.preloadedState,h=p===void 0?void 0:p,u=t.enhancers,g=u===void 0?void 0:u,x;if(typeof n=="function")x=n;else if(Ru(n))x=Oc(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=s;if(typeof S=="function"&&(S=S(e),!rs&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!rs&&S.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Cc.apply(void 0,S),k=qr;d&&(k=Au(Jt({trace:!rs},typeof d=="object"&&d)));var P=new Lu(E),I=P;Array.isArray(g)?I=Yr([E],g):typeof g=="function"&&(I=g(P));var A=k.apply(void 0,I);return Qa(x,h,A)}function Qt(r,e){function t(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return Jt(Jt({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:i[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(i){return i.type===r},t}function kc(r){var e={},t=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return r(n),[e,t,i]}function Pu(r){return typeof r=="function"}function Iu(r,e,t,i){t===void 0&&(t=[]);var n=typeof e=="function"?kc(e):[e,t,i],a=n[0],s=n[1],l=n[2],d;if(Pu(r))d=function(){return is(r())};else{var p=is(r);d=function(){return p}}function h(u,g){u===void 0&&(u=d());var x=Yr([a[g.type]],s.filter(function(S){var E=S.matcher;return E(g)}).map(function(S){var E=S.reducer;return E}));return x.filter(function(S){return!!S}).length===0&&(x=[l]),x.reduce(function(S,E){if(E)if(Ft(S)){var k=S,P=E(k,g);return P===void 0?S:P}else{if(lt(S))return Ti(S,function(I){return E(I,g)});var P=E(S,g);if(P===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return S},u)}return h.getInitialState=d,h}function Tu(r,e){return r+"/"+e}function Pc(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:is(r.initialState),i=r.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var u=i[h],g=Tu(e,h),x,S;"reducer"in u?(x=u.reducer,S=u.prepare):x=u,a[h]=x,s[g]=x,l[h]=S?Qt(g,S):Qt(g)});function d(){var h=typeof r.extraReducers=="function"?kc(r.extraReducers):[r.extraReducers],u=h[0],g=u===void 0?{}:u,x=h[1],S=x===void 0?[]:x,E=h[2],k=E===void 0?void 0:E,P=Jt(Jt({},g),s);return Iu(t,function(I){for(var A in P)I.addCase(A,P[A]);for(var C=0,R=S;C<R.length;C++){var B=R[C];I.addMatcher(B.matcher,B.reducer)}k&&I.addDefaultCase(k)})}var p;return{name:e,reducer:function(h,u){return p||(p=d()),p(h,u)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var Bu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Fu=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=Bu[Math.random()*64|0];return e},Du=["name","message","stack","code"],os=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),$c=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Mu=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,i=Du;t<i.length;t++){var n=i[t];typeof r[n]=="string"&&(e[n]=r[n])}return e}return{message:String(r)}},Qv=function(){function r(e,t,i){var n=Qt(e+"/fulfilled",function(h,u,g,x){return{payload:h,meta:ts(Jt({},x||{}),{arg:g,requestId:u,requestStatus:"fulfilled"})}}),a=Qt(e+"/pending",function(h,u,g){return{payload:void 0,meta:ts(Jt({},g||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Qt(e+"/rejected",function(h,u,g,x,S){return{payload:x,error:(i&&i.serializeError||Mu)(h||"Rejected"),meta:ts(Jt({},S||{}),{arg:g,requestId:u,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(u,g,x){var S=i?.idGenerator?i.idGenerator(h):Fu(),E=new d,k,P=!1;function I(C){k=C,E.abort()}var A=function(){return wu(this,null,function(){var C,R,B,j,oe,re,U;return vu(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),j=(C=i?.condition)==null?void 0:C.call(i,h,{getState:g,extra:x}),zu(j)?[4,j]:[3,2];case 1:j=y.sent(),y.label=2;case 2:if(j===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,oe=new Promise(function(O,F){return E.signal.addEventListener("abort",function(){return F({name:"AbortError",message:k||"Aborted"})})}),u(a(S,h,(R=i?.getPendingMeta)==null?void 0:R.call(i,{requestId:S,arg:h},{getState:g,extra:x}))),[4,Promise.race([oe,Promise.resolve(t(h,{dispatch:u,getState:g,extra:x,requestId:S,signal:E.signal,abort:I,rejectWithValue:function(O,F){return new os(O,F)},fulfillWithValue:function(O,F){return new $c(O,F)}})).then(function(O){if(O instanceof os)throw O;return O instanceof $c?n(O.payload,S,h,O.meta):n(O,S,h)})])];case 3:return B=y.sent(),[3,5];case 4:return re=y.sent(),B=re instanceof os?s(null,S,h,re.payload,re.meta):s(re,S,h),[3,5];case 5:return U=i&&!i.dispatchConditionRejection&&s.match(B)&&B.meta.condition,U||u(B),[2,B]}})})}();return Object.assign(A,{abort:I,requestId:S,arg:h,unwrap:function(){return A.then(Uu)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return r.withTypes=function(){return r},r}();function Uu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function zu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Ic="listener",Tc="completed",Bc="cancelled",ex="task-"+Bc,tx="task-"+Tc,rx=Ic+"-"+Bc,ox=Ic+"-"+Tc;var ns="listenerMiddleware";var ix=Qt(ns+"/add"),nx=Qt(ns+"/removeAll"),ax=Qt(ns+"/remove");var Lc,sx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Lc||(Lc=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},Wu=function(r){return function(e){setTimeout(e,r)}},lx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Wu(10);gc();window.ftReduxStores||(window.ftReduxStores={});var Rr=class r extends br{static get(e){var t;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Er(a))return a;if(n==null)return;let s=Pc({...n,reducers:(t=n.reducers)!==null&&t!==void 0?t:{}}),l=_c({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[n.name]=new r(s,l)}constructor(e,t){super(),this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.commands=new zo,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...d)=>{let p=l(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Hu(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))Er(e)&&e.clear()}var Di=class{constructor(e,t,i){this.store=e,this.valueSelector=t,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),t=this.valueSelector(e);vr(this.lastValue,t)&&(this.callback(t,e),this.lastValue=t)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Vu(r,e,t){return new Di(r,e,t).watch()}var cs={};se(cs,{scrollHelper:()=>ju});var ss,Mi=new Map,ls=class{lock(e,t){if(t){let i=Mi.get(t);if(i==null||i===e)return Mi.set(t,e),t}}release(e,t){t&&Mi.get(t)===e&&Mi.delete(t)}findFirstScrollableParent(e){var t;let i,n;for(let a of In(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(t=i??n)!==null&&t!==void 0?t:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){var i,n;let a=0;for(;t&&t.offsetParent!==e.offsetParent;)a+=(i=t.offsetTop)!==null&&i!==void 0?i:0,t=t.offsetParent;return a+((n=t?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=wo(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;i.scrollTo({behavior:t?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(ss=window.FluidTopicsScrollHelper)!==null&&ss!==void 0?ss:new ls;var ju=window.FluidTopicsScrollHelper;var ds={};se(ds,{shadowQuerySelector:()=>Gu,shadowQuerySelectorAll:()=>Ku});function Gu(r,e,...t){var i;let n=r.querySelector(e);for(let a of t)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function Ku(r,e,...t){let i=[...r.querySelectorAll(e)];for(let n of t)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var ps={};se(ps,{SearchPlaceConverter:()=>$r,SearchPlaceQueryParams:()=>le,isSearchPlaceQueryParams:()=>sd,serializeRequest:()=>Yu});var Zu=xp(Dc(),1);var Mc;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Mc||(Mc={}));var Uc;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Uc||(Uc={}));var zc;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(zc||(zc={}));var Wc;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(Wc||(Wc={}));var Hc;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Hc||(Hc={}));var Vc;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Vc||(Vc={}));var jc;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(jc||(jc={}));var Gc;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(Gc||(Gc={}));var Kc;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(Kc||(Kc={}));var Zc;(function(r){r.ASC="ASC",r.DESC="DESC"})(Zc||(Zc={}));var qc;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(qc||(qc={}));var Yc;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Yc||(Yc={}));var rd=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Xc;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Xc||(Xc={}));var Jc;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Jc||(Jc={}));var Qc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Qc||(Qc={}));var Go;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Go||(Go={}));var od=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var ed;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(ed||(ed={}));var td;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(td||(td={}));var Ee;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(Ee||(Ee={}));var id;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(id||(id={}));var nd;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(nd||(nd={}));var Lx={[Ee.PERSONAL_BOOK_SHARE_USER]:[Ee.PERSONAL_BOOK_USER],[Ee.HTML_EXPORT_USER]:[Ee.PERSONAL_BOOK_USER],[Ee.PDF_EXPORT_USER]:[Ee.PERSONAL_BOOK_USER],[Ee.KHUB_ADMIN]:[Ee.CONTENT_PUBLISHER],[Ee.ADMIN]:[Ee.KHUB_ADMIN,Ee.USERS_ADMIN,Ee.PORTAL_ADMIN],[Ee.DEVELOPER]:[Ee.BETA_USER,Ee.DEBUG_USER],[Ee.GENERATIVE_AI_EXPORT_USER]:[Ee.GENERATIVE_AI_USER]};function qu(r){return`"${r}"`}function ad(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Yu(r,e){return new $r(r).serialize(e)}var le;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(le||(le={}));var Xu=new Set(Object.values(le));function sd(r){return Xu.has(r)}var $r=class{constructor(e,t={},i=20,n=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=t,this.defaultPerPage=i,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,t){return this.serializeToCurrentPageIfPossible(e,t??"/search")}serializeToCurrentPageIfPossible(e,t){let i=this.toURLSearchParams(e).toString(),n=t==null||t.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${t}`);return a.search=i,a.toString()}toURLSearchParams(e,t=!1){var i,n,a,s,l,d,p,h,u,g,x,S;let E=new URLSearchParams;e.contentLocale?(!t||e.contentLocale!==this.defaultContentLocale)&&E.append(le.LOCALE,e.contentLocale):E.append(le.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&E.append(le.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&E.append(le.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(le.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((n=e.sort)===null||n===void 0?void 0:n.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(le.SORT,"last_update");let k=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(C=>C.valueFilter))!==null&&s!==void 0?s:[];if(k.length>0){let C=k.map(R=>{var B,j;let oe=((j=(B=R.valueFilter)===null||B===void 0?void 0:B.values)!==null&&j!==void 0?j:[]).map(re=>this.escapeFilters(re)).map(re=>encodeURIComponent(qu(ad(re)))).join("_");return`${R.key}~${oe}`}).join("*");E.append(le.VALUE_FILTERS,C)}let P=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(C=>C.dateFilter))!==null&&d!==void 0?d:[];if(P.length>0){let C=P.map(R=>{var B;return`${R.key}~${(B=R.dateFilter)===null||B===void 0?void 0:B.type.toLowerCase()}`}).join("*");E.append(le.DATE_FILTERS,C)}let I=(h=(p=e.metadataFilters)===null||p===void 0?void 0:p.filter(C=>C.rangeFilter))!==null&&h!==void 0?h:[];if(I.length>0){let C=I.map(R=>{var B,j;return`${R.key}~${(B=R.rangeFilter)===null||B===void 0?void 0:B.from}_${(j=R.rangeFilter)===null||j===void 0?void 0:j.to}`}).join("*");E.append(le.RANGE_FILTERS,C)}let A=(u=e.otherQueryParams)!==null&&u!==void 0?u:{};for(let C in A)E.append(C,A[C]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((S=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&S!==void 0?S:this.defaultPerPage)!=this.defaultPerPage&&E.append(le.PER_PAGE,String(e.paging.perPage)),E}parse(e){var t;let i=e.split("?"),n=this.fromURLSearchParams(new URLSearchParams(i.slice(1).join("?"))),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:n.scope}}fromURLSearchParams(e){var t,i,n,a,s,l,d,p;let h=e.get(le.LOCALE)==="all"?void 0:e.get(le.LOCALE),u=((t=e.get(le.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),g=((i=e.get(le.SORT))!==null&&i!==void 0?i:"DEFAULT").toUpperCase(),x=(n=e.get(le.SCOPE))!==null&&n!==void 0?n:"default",S=+((a=e.get(le.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E={};for(let k of e.keys())sd(k)||(E[k]=e.get(k));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(le.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[x])!==null&&l!==void 0?l:"DEFAULT",virtualField:rd(u)?u:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[g])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:wo(1,isNaN(S)?this.defaultPerPage:S,1e3)},otherQueryParams:E}}parseCompatFilters(e){var t,i,n,a,s,l;let d=[];return e.has(le.FILTERS)&&(d=this.parseValueFilters((t=e.get(le.FILTERS))!==null&&t!==void 0?t:"")),(i=e.has(le.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(le.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(le.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(le.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(le.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(ad).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:Go[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(t,i);return e}superEscapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replace(n,t);return e}parseLegacyPeriodFilter(e){if(od(e))return[{key:"ft:lastEdition",dateFilter:{type:Go[e]}}];if(e.startsWith("CUSTOM_")){let[t,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}};var us={};se(us,{toFtFormComponent:()=>fs});var Wi=Symbol("elementInternals");function fs(r,e){class t extends r{static get formAssociated(){return!0}get form(){return this[Wi].form}constructor(...n){super(n),this[Wi]=this.attachInternals(),this[Wi].role=e}setFormValue(n){this[Wi].setFormValue(n)}}return t}var hs={};se(hs,{DateFormatter:()=>Jr});var Jr=class{static format(e,t,i,n){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(i,n)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}};var ms,ys,gs,bs,Lr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((gs=(ys=(ms=window.safari)===null||ms===void 0?void 0:ms.pushNotification)===null||ys===void 0?void 0:ys.toString())!==null&&gs!==void 0?gs:"")==="[object SafariRemoteNotification]",vs="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(bs=window.ftGlobals)!==null&&bs!==void 0?bs:{lit:hn,litDecorators:bn,litRepeat:vn,litClassMap:xn,litStyleMap:Sn,litUnsafeHTML:Cn,wcUtils:{...Nn,...wn,...kn,...hs,...Pn,...Bn,...pa,...Ln,...wa,...da,...$a,...Ra,...tc,...Tn,..._a,...Pa,...oc,...Ia,...as,...Aa,...cs,...ds,...ps,...us,isSafari:Lr,isTouchScreen:vs,setVariable:v}};var ot;(function(r){r.S="S",r.M="M",r.L="L",r.XL="XL",r.XXL="XXL"})(ot||(ot={}));var ld=L`
|
|
51
51
|
.ft-size-watcher--pixel {
|
|
52
52
|
width: 0;
|
|
53
53
|
height: 0;
|
|
@@ -66,11 +66,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
66
66
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
67
67
|
width: 100%;
|
|
68
68
|
}
|
|
69
|
-
`;var Ko=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},
|
|
69
|
+
`;var Ko=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},xs=class extends CustomEvent{constructor(e,t){super("change",{detail:{size:e,category:t}})}},Je=class extends M{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=ot.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ce}render(){return w`
|
|
70
70
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
71
71
|
<div class="ft-size-watcher--watcher"></div>
|
|
72
72
|
</div>
|
|
73
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=ot.S:this.size<976?this.category=ot.M:this.size<1024?this.category=ot.L:this.size<1440?this.category=ot.XL:this.category=ot.XXL,this.dispatchEvent(new
|
|
73
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=ot.S:this.size<976?this.category=ot.M:this.size<1024?this.category=ot.L:this.size<1440?this.category=ot.XL:this.category=ot.XXL,this.dispatchEvent(new xs(this.size,this.category)))},this.debounceTimeout)}};Je.elementDefinitions={};Je.styles=ld;Ko([m({type:Number})],Je.prototype,"debounceTimeout",void 0);Ko([m({type:Boolean})],Je.prototype,"local",void 0);Ko([m({type:Number,reflect:!0})],Je.prototype,"size",void 0);Ko([m({type:String,reflect:!0})],Je.prototype,"category",void 0);Ko([D(".ft-size-watcher--watcher")],Je.prototype,"watcher",void 0);H("ft-size-watcher")(Je);var dd=Symbol.for(""),Ju=r=>{if(r?.r===dd)return r?._$litStatic$},Ss=r=>({_$litStatic$:r,r:dd});var cd=new Map,pd=r=>(e,...t)=>{let i=t.length,n,a,s=[],l=[],d,p=0,h=!1;for(;p<i;){for(d=e[p];p<i&&(a=t[p],(n=Ju(a))!==void 0);)d+=n+e[++p],h=!0;p!==i&&l.push(a),s.push(d),p++}if(p===i&&s.push(e[i]),h){let u=s.join("$$lit$$");(e=cd.get(u))===void 0&&(s.raw=s,cd.set(u,e=s)),t=l}return r(e,...t)},Os=pd(Js),_0=pd(Qs);var it;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button",r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(it||(it={}));function fd(r){let e=Ao[r];return L`
|
|
74
74
|
.ft-typography--${Lt(r)} {
|
|
75
75
|
font-family: ${e.fontFamily};
|
|
76
76
|
font-size: ${e.fontSize};
|
|
@@ -79,17 +79,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
79
79
|
line-height: ${e.lineHeight};
|
|
80
80
|
text-transform: ${e.textCase};
|
|
81
81
|
}
|
|
82
|
-
`}var
|
|
82
|
+
`}var ud=o.extend("--ft-typography-font-family","",$.titleFont),Mt=o.extend("--ft-typography-font-family","",$.contentFont),T={fontFamily:Mt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Qr={fontFamily:o.extend("--ft-typography-title-font-family","",ud),fontSize:o.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},eo={fontFamily:o.extend("--ft-typography-title-dense-font-family","",ud),fontSize:o.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Mt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},ro={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Mt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},Dt={fontFamily:o.extend("--ft-typography-body1-font-family","",Mt),fontSize:o.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},Ae={fontFamily:o.extend("--ft-typography-body2-font-family","",Mt),fontSize:o.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},ct={fontFamily:o.extend("--ft-typography-caption-font-family","",Mt),fontSize:o.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},oo={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Mt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},io={fontFamily:o.extend("--ft-typography-overline-font-family","",Mt),fontSize:o.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},xt={fontFamily:o.extend("--ft-typography-button-font-family","",Mt),fontSize:o.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},hd=L`
|
|
83
83
|
.ft-typography--title {
|
|
84
|
-
font-family: ${Jr.fontFamily};
|
|
85
|
-
font-size: ${Jr.fontSize};
|
|
86
|
-
font-weight: ${Jr.fontWeight};
|
|
87
|
-
letter-spacing: ${Jr.letterSpacing};
|
|
88
|
-
line-height: ${Jr.lineHeight};
|
|
89
|
-
text-transform: ${Jr.textTransform};
|
|
90
|
-
}
|
|
91
|
-
`,hd=L`
|
|
92
|
-
.ft-typography--title-dense {
|
|
93
84
|
font-family: ${Qr.fontFamily};
|
|
94
85
|
font-size: ${Qr.fontSize};
|
|
95
86
|
font-weight: ${Qr.fontWeight};
|
|
@@ -98,7 +89,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
98
89
|
text-transform: ${Qr.textTransform};
|
|
99
90
|
}
|
|
100
91
|
`,md=L`
|
|
101
|
-
.ft-typography--
|
|
92
|
+
.ft-typography--title-dense {
|
|
102
93
|
font-family: ${eo.fontFamily};
|
|
103
94
|
font-size: ${eo.fontSize};
|
|
104
95
|
font-weight: ${eo.fontWeight};
|
|
@@ -107,7 +98,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
107
98
|
text-transform: ${eo.textTransform};
|
|
108
99
|
}
|
|
109
100
|
`,yd=L`
|
|
110
|
-
.ft-typography--
|
|
101
|
+
.ft-typography--subtitle1 {
|
|
111
102
|
font-family: ${to.fontFamily};
|
|
112
103
|
font-size: ${to.fontSize};
|
|
113
104
|
font-weight: ${to.fontWeight};
|
|
@@ -115,8 +106,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
115
106
|
line-height: ${to.lineHeight};
|
|
116
107
|
text-transform: ${to.textTransform};
|
|
117
108
|
}
|
|
118
|
-
|
|
119
109
|
`,gd=L`
|
|
110
|
+
.ft-typography--subtitle2 {
|
|
111
|
+
font-family: ${ro.fontFamily};
|
|
112
|
+
font-size: ${ro.fontSize};
|
|
113
|
+
font-weight: ${ro.fontWeight};
|
|
114
|
+
letter-spacing: ${ro.letterSpacing};
|
|
115
|
+
line-height: ${ro.lineHeight};
|
|
116
|
+
text-transform: ${ro.textTransform};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
`,bd=L`
|
|
120
120
|
.ft-typography--body1 {
|
|
121
121
|
font-family: ${Dt.fontFamily};
|
|
122
122
|
font-size: ${Dt.fontSize};
|
|
@@ -125,7 +125,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
125
125
|
line-height: ${Dt.lineHeight};
|
|
126
126
|
text-transform: ${Dt.textTransform};
|
|
127
127
|
}
|
|
128
|
-
`,
|
|
128
|
+
`,no=L`
|
|
129
129
|
.ft-typography--body2 {
|
|
130
130
|
font-family: ${Ae.fontFamily};
|
|
131
131
|
font-size: ${Ae.fontSize};
|
|
@@ -143,17 +143,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
143
143
|
line-height: ${ct.lineHeight};
|
|
144
144
|
text-transform: ${ct.textTransform};
|
|
145
145
|
}
|
|
146
|
-
`,bd=L`
|
|
147
|
-
.ft-typography--breadcrumb {
|
|
148
|
-
font-family: ${ro.fontFamily};
|
|
149
|
-
font-size: ${ro.fontSize};
|
|
150
|
-
font-weight: ${ro.fontWeight};
|
|
151
|
-
letter-spacing: ${ro.letterSpacing};
|
|
152
|
-
line-height: ${ro.lineHeight};
|
|
153
|
-
text-transform: ${ro.textTransform};
|
|
154
|
-
}
|
|
155
146
|
`,vd=L`
|
|
156
|
-
.ft-typography--
|
|
147
|
+
.ft-typography--breadcrumb {
|
|
157
148
|
font-family: ${oo.fontFamily};
|
|
158
149
|
font-size: ${oo.fontSize};
|
|
159
150
|
font-weight: ${oo.fontWeight};
|
|
@@ -162,6 +153,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
162
153
|
text-transform: ${oo.textTransform};
|
|
163
154
|
}
|
|
164
155
|
`,xd=L`
|
|
156
|
+
.ft-typography--overline {
|
|
157
|
+
font-family: ${io.fontFamily};
|
|
158
|
+
font-size: ${io.fontSize};
|
|
159
|
+
font-weight: ${io.fontWeight};
|
|
160
|
+
letter-spacing: ${io.letterSpacing};
|
|
161
|
+
line-height: ${io.lineHeight};
|
|
162
|
+
text-transform: ${io.textTransform};
|
|
163
|
+
}
|
|
164
|
+
`,Sd=L`
|
|
165
165
|
.ft-typography--button {
|
|
166
166
|
font-family: ${xt.fontFamily};
|
|
167
167
|
font-size: ${xt.fontSize};
|
|
@@ -170,19 +170,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
170
170
|
line-height: ${xt.lineHeight};
|
|
171
171
|
text-transform: ${xt.textTransform};
|
|
172
172
|
}
|
|
173
|
-
`,
|
|
173
|
+
`,Od=L`
|
|
174
174
|
.ft-typography {
|
|
175
175
|
vertical-align: inherit;
|
|
176
176
|
}
|
|
177
|
-
`,
|
|
178
|
-
<${
|
|
177
|
+
`,Cd=[Object.keys(Ao).map(r=>fd(r))];var Ed=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ae=class extends M{constructor(){super(...arguments),this.variant=it.body1}render(){return this.element?Os`
|
|
178
|
+
<${Ss(this.element)}
|
|
179
179
|
part="text"
|
|
180
180
|
class="ft-typography ft-typography--${this.variant}">
|
|
181
181
|
<slot></slot>
|
|
182
|
-
</${
|
|
183
|
-
`:
|
|
182
|
+
</${Ss(this.element)}>
|
|
183
|
+
`:Os`
|
|
184
184
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
185
|
-
`}};ae.styles=[
|
|
185
|
+
`}};ae.styles=[hd,md,yd,gd,bd,no,tr,vd,xd,Sd,Od,...Cd];Ed([m()],ae.prototype,"element",void 0);Ed([m()],ae.prototype,"variant",void 0);H("ft-typography")(ae);function Hi(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function wd(r){return Hi(r).split("|").pop()}function Ad(r){return Hi(r).split("|").join(" > ")}function Rd(r,e){return{label:r.label,selected:!e&&r.selected,subOptions:r.childNodes.map(t=>Rd(t,r.selected)),value:r.value}}function $d(r){return qe(r.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]}).filter(e=>e.selected).map(e=>e.label)}function Cs(r){return{id:r.key,label:r.label,multivalued:r.multiSelectionable,options:r.rootNodes.map(e=>Rd(e,!1))}}function Ld(r){return qe(r.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Nd=o.extend("--ft-ripple-color","",$.colorContent),N={color:Nd,backgroundColor:o.extend("--ft-ripple-background-color","",Nd),opacityContentOnSurfacePressed:o.external($.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external($.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external($.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external($.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},_d=o.extend("--ft-ripple-color","",$.colorPrimary),kd={color:_d,backgroundColor:o.extend("--ft-ripple-background-color","",_d)},Pd=o.extend("--ft-ripple-color","",$.colorSecondary),Id={color:Pd,backgroundColor:o.extend("--ft-ripple-background-color","",Pd)},Td=L`
|
|
186
186
|
:host {
|
|
187
187
|
display: contents;
|
|
188
188
|
}
|
|
@@ -237,19 +237,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
240
|
-
background-color: ${
|
|
240
|
+
background-color: ${Id.backgroundColor};
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
244
|
-
background-color: ${
|
|
244
|
+
background-color: ${Id.color};
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
248
|
-
background-color: ${
|
|
248
|
+
background-color: ${kd.backgroundColor};
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
252
|
-
background-color: ${
|
|
252
|
+
background-color: ${kd.color};
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
.ft-ripple .ft-ripple--background {
|
|
@@ -294,7 +294,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
294
294
|
opacity: ${N.opacityContentOnSurfacePressed};
|
|
295
295
|
transform: translate(-50%, -50%) scale(1);
|
|
296
296
|
}
|
|
297
|
-
`;var ue={color:o.extend("--ft-loader-color","",$.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},
|
|
297
|
+
`;var ue={color:o.extend("--ft-loader-color","",$.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Bd=L`
|
|
298
298
|
:host {
|
|
299
299
|
line-height: 0;
|
|
300
300
|
}
|
|
@@ -363,7 +363,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
363
363
|
transform: translate(calc(0.35 * ${ue.size}), 0);
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
`;var be={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},
|
|
366
|
+
`;var be={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Fd=L`
|
|
367
367
|
:host, i.ft-icon {
|
|
368
368
|
display: inline-flex;
|
|
369
369
|
align-items: center;
|
|
@@ -411,7 +411,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
411
411
|
.ft-icon--material {
|
|
412
412
|
font-family: ${be.materialFontFamily}, "Material Icons", sans-serif;
|
|
413
413
|
}
|
|
414
|
-
`;var
|
|
414
|
+
`;var Dd=o.extend("--ft-button-color","",$.colorPrimary),J={backgroundColor:o.extend("--ft-button-background-color","",$.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",$.borderRadiusL),color:Dd,fontSize:o.extend("--ft-button-font-size","",xt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Dd),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external($.colorOpacityDisabled,"Design system")},Md=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",$.colorOnPrimary)),Es={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",$.colorPrimary)),color:Md,rippleColor:o.extend("--ft-button-primary-ripple-color","",Md)},St={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",$.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ud=[L`
|
|
415
415
|
:host {
|
|
416
416
|
display: inline-block;
|
|
417
417
|
max-width: 100%;
|
|
@@ -497,9 +497,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
.ft-button.ft-button--primary {
|
|
500
|
-
background-color: ${
|
|
501
|
-
--ft-button-internal-color: ${
|
|
502
|
-
${v(N.color,
|
|
500
|
+
background-color: ${Es.backgroundColor};
|
|
501
|
+
--ft-button-internal-color: ${Es.color};
|
|
502
|
+
${v(N.color,Es.rippleColor)};
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
.ft-button:focus {
|
|
@@ -548,7 +548,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
548
548
|
${v(ue.size,J.iconSize)};
|
|
549
549
|
${v(ue.color,"var(--ft-button-internal-color)")};
|
|
550
550
|
}
|
|
551
|
-
`,
|
|
551
|
+
`,Cr];var Ve=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Q=class extends M{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ce(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ce(10),this.moveRipple=e=>{var t,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(t=this.ripple)===null||t===void 0?void 0:t.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return w`
|
|
552
552
|
<style>
|
|
553
553
|
.ft-ripple .ft-ripple--effect {
|
|
554
554
|
left: ${this.originX}px;
|
|
@@ -559,7 +559,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
559
559
|
<div class="ft-ripple--background"></div>
|
|
560
560
|
<div class="ft-ripple--effect"></div>
|
|
561
561
|
</div>
|
|
562
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var t,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,t;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((t=this.target)!==null&&t!==void 0?t:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let t=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},i=t("mouseup","contextmenu"),n=t("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&t("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let t=e,i=e,n,a;return t.x!=null?{x:n,y:a}=t:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Q.elementDefinitions={};Q.styles=
|
|
562
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var t,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,t;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((t=this.target)!==null&&t!==void 0?t:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let t=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},i=t("mouseup","contextmenu"),n=t("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&t("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let t=e,i=e,n,a;return t.x!=null?{x:n,y:a}=t:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Q.elementDefinitions={};Q.styles=Td;Ve([m({type:Boolean})],Q.prototype,"primary",void 0);Ve([m({type:Boolean})],Q.prototype,"secondary",void 0);Ve([m({type:Boolean})],Q.prototype,"unbounded",void 0);Ve([m({type:Boolean})],Q.prototype,"activated",void 0);Ve([m({type:Boolean})],Q.prototype,"selected",void 0);Ve([m({type:Boolean})],Q.prototype,"disabled",void 0);Ve([W()],Q.prototype,"hovered",void 0);Ve([W()],Q.prototype,"focused",void 0);Ve([W()],Q.prototype,"pressed",void 0);Ve([W()],Q.prototype,"rippling",void 0);Ve([W()],Q.prototype,"originX",void 0);Ve([W()],Q.prototype,"originY",void 0);Ve([D(".ft-ripple")],Q.prototype,"ripple",void 0);Ve([D(".ft-ripple--effect")],Q.prototype,"rippleEffect",void 0);H("ft-ripple")(Q);var rr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external($.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},zd=L`
|
|
563
563
|
.ft-tooltip--container {
|
|
564
564
|
display: block;
|
|
565
565
|
}
|
|
@@ -606,24 +606,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
606
606
|
</div>
|
|
607
607
|
</div>
|
|
608
608
|
</div>
|
|
609
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(t=>e.has(t))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(t=>t.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",To(this.slottedElement,this.tooltip,this.position).then(({x:e,y:t})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${t}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,t){return Math.max(e,Math.min(0,-t))}};he.elementDefinitions={"ft-typography":ae};he.styles=Ud;je([m()],he.prototype,"text",void 0);je([m({type:Boolean})],he.prototype,"manual",void 0);je([m({type:Boolean})],he.prototype,"inline",void 0);je([m({type:Number})],he.prototype,"delay",void 0);je([m()],he.prototype,"position",void 0);je([yn()],he.prototype,"slotNodes",void 0);je([D(".ft-tooltip--container")],he.prototype,"container",void 0);je([D(".ft-tooltip")],he.prototype,"tooltip",void 0);je([D(".ft-tooltip--content")],he.prototype,"tooltipContent",void 0);je([W()],he.prototype,"visible",void 0);je([Tr({passive:!0})],he.prototype,"onTouch",null);je([Tr({passive:!0})],he.prototype,"onHover",null);je([Tr({passive:!0})],he.prototype,"onOut",null);je([Tr({passive:!0})],he.prototype,"onClick",null);H("ft-tooltip")(he);var Ot;(function(r){r.ADD_TO_PBK="",r.ALERT="",r.ADD_ALERT="",r.BACK_TO_SEARCH="",r.ADD_BOOKMARK="",r.BOOKMARK="",r.BOOKS="",r.MENU="",r.DOWNLOAD="",r.EDIT="",r.FEEDBACK="",r.HOME="",r.MODIFY_PBK="",r.SCHEDULED="",r.SEARCH="",r.EXPORT="",r.TOC="",r.WRITE_UGC="",r.TRASH="",r.USER="",r.EXTLINK="",r.CALENDAR="",r.OFFLINE="",r.BOOK="",r.DOWNLOAD_PLAIN="",r.CHECK="",r.STAR_PLAIN="",r.TOPICS="",r.DISC="",r.CIRCLE="",r.SHARED="",r.SORT_UNSORTED="",r.SORT_UP="",r.SORT_DOWN="",r.WORKING="",r.CLOSE="",r.ZOOM_OUT="",r.ZOOM_IN="",r.ZOOM_REALSIZE="",r.ZOOM_FULLSCREEN="",r.ADMIN_RESTRICTED="",r.ADMIN="",r.ADMIN_KHUB="",r.ADMIN_THEME="",r.ADMIN_USERS="",r.WARNING="",r.CONTEXT="",r.SEARCH_HOME="",r.STEPS="",r.ICON_EXPAND="",r.ICON_COLLAPSE="",r.EXPAND="",r.COMPRESS="",r.INFO="",r.MINUS_PLAIN="",r.PLUS_PLAIN="",r.FACET_HAS_DESCENDANT="",r.TRIANGLE_BOTTOM="",r.TRIANGLE_LEFT="",r.TRIANGLE_RIGHT="",r.TRIANGLE_TOP="",r.THIN_ARROW="",r.SIGN_IN="",r.LOGOUT="",r.TRANSLATE="",r.CLOSE_PLAIN="",r.CHECK_PLAIN="",r.ARTICLE="",r.COLUMNS="",r.ANALYTICS="",r.COLLECTIONS="",r.ARROW_DOWN="",r.ARROW_LEFT="",r.ARROW_RIGHT="",r.ARROW_UP="",r.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",r.SEARCH_IN_PUBLICATION="",r.COPY_TO_CLIPBOARD="",r.SHARED_PBK="",r.ATTACHMENTS="",r.STRIPE_ARROW_LEFT="",r.STRIPE_ARROW_RIGHT="",r.FILTERS="",r.DOT="",r.MINUS="",r.PLUS="",r.MAILS_AND_NOTIFICATIONS="",r.SAVE="",r.LOCKER="",r.ADMIN_INTEGRATION="",r.SYNC="",r.TAG="",r.BOOK_PLAIN="",r.UPLOAD="",r.ONLINE="",r.TAG_PLAIN="",r.ACCOUNT_SETTINGS="",r.PRINT="",r.DEFAULT_ROLES="",r.SHORTCUT_MENU="",r.RELATIVES_PLAIN="",r.RELATIVES="",r.PAUSE="",r.PLAY="",r.ADMIN_PORTAL="",r.STAR="",r.THUMBS_DOWN="",r.THUMBS_DOWN_PLAIN="",r.THUMBS_UP="",r.THUMBS_UP_PLAIN="",r.FEEDBACK_PLAIN="",r.RATE_PLAIN="",r.RATE="",r.OFFLINE_SETTINGS="",r.MY_COLLECTIONS="",r.THIN_ARROW_LEFT="",r.THIN_ARROW_RIGHT="",r.RESET="",r.MY_LIBRARY="",r.UNSTRUCTURED_DOC="",r.CONTEXTUAL="",r.THIN_ARROW_UP="",r.ARROW_RIGHT_TO_LINE="",r.DESKTOP="",r.TABLET_LANDSCAPE="",r.TABLET_PORTRAIT="",r.MOBILE_LANDSCAPE="",r.MOBILE_PORTRAIT="",r.DIAGRAM_SUNBURST="",r.DIAGRAM_SANKEY="",r.COMMENT_QUESTION="",r.COMMENT_QUESTION_PLAIN="",r.MESSAGE_BOT="",r.CHART_SIMPLE="",r.BARS_PROGRESS="",r.BOOK_OPEN_GEAR="",r.BOOK_OPEN_GEAR_SLASH="",r.LINE_CHART="",r.STACKED_CHART="",r.CHART_BAR_STACKED="",r.CHART_BAR_GROUPED="",r.EYE_SLASH="",r.X_MARK="",r.EXPAND_WIDE="",r.PIP="",r.PIP_WIDE="",r.LIFE_RING="",r.GLOBE="",r.PIGGY_BANK="",r.EXTLINK_LIGHT="",r.CLONE="",r.CLONE_LINK_SIMPLE="",r.CHART_BAR_NORMALIZED="",r.CONSUMER="",r.OCTAGON_XMARK="",r.HOURGLASS_HALF="",r.CLOCK="",r.CLOCK_THREE="",r.CALENDAR_DAY="",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="",r.WAND_MAGIC_SPARKLES="",r.PAPER_PLANE="",r.PAPER_PLANE_SLASH="",r.CIRCLE_STOP="",r.ARROW_ROTATE_RIGHT="",r.ARROW_ROTATE_LEFT="",r.ARROWS_ROTATE="",r.ALIGN_RIGHT="",r.FORMAT_CLEAR="",r.ALIGN_CENTER="",r.ALIGN_LEFT="",r.PALETTE="",r.BOLD="",r.ITALIC="",r.UNDERLINE="",r.STRIKETHROUGH="",r.LINK_SIMPLE_SLASH="",r.LINK_SIMPLE="",r.ROUTE="",r.CIRCLE_USER_SLASH="",r.CIRCLE_USER_CHECK="",r.LIST_MAGNIFYING_GLASS="",r.MEDAL="",r.THUMBS_UP_THUMBS_DOWN_SOLID="",r.ARROW_TURN_DOWN_RIGHT="",r.FLASK="",r.LOCK_KEYHOLE_OPEN_SOLID="",r.HOURGLASS_END="",r.CIRCLE_QUESTION="",r.EYE="",r.SHARE="󨃱",r.GRIP_LINES_SOLID="",r.TRANSLATE_SPARKLE_SOLID="",r.CODE=""})(Ot||(Ot={}));var _;(function(r){r.UNKNOWN="",r.ABW="",r.AUDIO="",r.AVI="",r.CHM="",r.CODE="",r.CSV="",r.DITA="",r.EPUB="",r.EXCEL="",r.FLAC="",r.GIF="",r.GZIP="",r.HTML="",r.IMAGE="",r.JPEG="",r.JSON="",r.M4A="",r.MOV="",r.MP3="",r.MP4="",r.OGG="",r.PDF="",r.PNG="",r.POWERPOINT="",r.RAR="",r.STP="",r.TEXT="",r.VIDEO="",r.WAV="",r.WMA="",r.WORD="",r.XML="",r.YAML="",r.ZIP=""})(_||(_={}));var Es=new Map([...["abw"].map(r=>[r,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(r=>[r,_.AUDIO]),...["avi"].map(r=>[r,_.AVI]),...["chm","xhs"].map(r=>[r,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(r=>[r,_.CODE]),...["csv"].map(r=>[r,_.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,_.DITA]),...["epub"].map(r=>[r,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,_.EXCEL]),...["flac"].map(r=>[r,_.FLAC]),...["gif"].map(r=>[r,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,_.GZIP]),...["html","htm","xhtml"].map(r=>[r,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(r=>[r,_.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,_.JPEG]),...["json"].map(r=>[r,_.JSON]),...["m4a","m4p"].map(r=>[r,_.M4A]),...["mov","qt"].map(r=>[r,_.MOV]),...["mp3"].map(r=>[r,_.MP3]),...["mp4","m4v"].map(r=>[r,_.MP4]),...["ogg","oga"].map(r=>[r,_.OGG]),...["pdf","ps"].map(r=>[r,_.PDF]),...["png"].map(r=>[r,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,_.POWERPOINT]),...["rar"].map(r=>[r,_.RAR]),...["stp"].map(r=>[r,_.STP]),...["txt","rtf","md","mdown"].map(r=>[r,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(r=>[r,_.VIDEO]),...["wav"].map(r=>[r,_.WAV]),...["wma"].map(r=>[r,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,_.WORD]),...["xml","xsl","rdf"].map(r=>[r,_.XML]),...["yaml","yml","x-yaml"].map(r=>[r,_.YAML]),...["zip"].map(r=>[r,_.ZIP])]),Xu=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function zd(r,e){var t,i,n,a;r=(r??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((t=Xu.get(r))!==null&&t!==void 0?t:r)+"/").split("/");return(a=(n=(i=Es.get(l))!==null&&i!==void 0?i:Es.get(e))!==null&&n!==void 0?n:Es.get(s))!==null&&a!==void 0?a:_.UNKNOWN}var hO={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"};var Me;(function(r){r.fluid_topics="fluid-topics",r.file_format="file-format",r.material="material"})(Me||(Me={}));var Hi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},me=class extends M{constructor(){super(...arguments),this.resolvedIcon=z}render(){let e=this.variant&&Object.values(Me).includes(this.variant)?this.variant:Me.fluid_topics,t=e!==Me.material||!!this.value;return w`
|
|
609
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(t=>e.has(t))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(t=>t.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",To(this.slottedElement,this.tooltip,this.position).then(({x:e,y:t})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${t}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,t){return Math.max(e,Math.min(0,-t))}};he.elementDefinitions={"ft-typography":ae};he.styles=zd;je([m()],he.prototype,"text",void 0);je([m({type:Boolean})],he.prototype,"manual",void 0);je([m({type:Boolean})],he.prototype,"inline",void 0);je([m({type:Number})],he.prototype,"delay",void 0);je([m()],he.prototype,"position",void 0);je([gn()],he.prototype,"slotNodes",void 0);je([D(".ft-tooltip--container")],he.prototype,"container",void 0);je([D(".ft-tooltip")],he.prototype,"tooltip",void 0);je([D(".ft-tooltip--content")],he.prototype,"tooltipContent",void 0);je([W()],he.prototype,"visible",void 0);je([Br({passive:!0})],he.prototype,"onTouch",null);je([Br({passive:!0})],he.prototype,"onHover",null);je([Br({passive:!0})],he.prototype,"onOut",null);je([Br({passive:!0})],he.prototype,"onClick",null);H("ft-tooltip")(he);var Ot;(function(r){r.ADD_TO_PBK="",r.ALERT="",r.ADD_ALERT="",r.BACK_TO_SEARCH="",r.ADD_BOOKMARK="",r.BOOKMARK="",r.BOOKS="",r.MENU="",r.DOWNLOAD="",r.EDIT="",r.FEEDBACK="",r.HOME="",r.MODIFY_PBK="",r.SCHEDULED="",r.SEARCH="",r.EXPORT="",r.TOC="",r.WRITE_UGC="",r.TRASH="",r.USER="",r.EXTLINK="",r.CALENDAR="",r.OFFLINE="",r.BOOK="",r.DOWNLOAD_PLAIN="",r.CHECK="",r.STAR_PLAIN="",r.TOPICS="",r.DISC="",r.CIRCLE="",r.SHARED="",r.SORT_UNSORTED="",r.SORT_UP="",r.SORT_DOWN="",r.WORKING="",r.CLOSE="",r.ZOOM_OUT="",r.ZOOM_IN="",r.ZOOM_REALSIZE="",r.ZOOM_FULLSCREEN="",r.ADMIN_RESTRICTED="",r.ADMIN="",r.ADMIN_KHUB="",r.ADMIN_THEME="",r.ADMIN_USERS="",r.WARNING="",r.CONTEXT="",r.SEARCH_HOME="",r.STEPS="",r.ICON_EXPAND="",r.ICON_COLLAPSE="",r.INFO="",r.MINUS_PLAIN="",r.PLUS_PLAIN="",r.FACET_HAS_DESCENDANT="",r.TRIANGLE_BOTTOM="",r.TRIANGLE_LEFT="",r.TRIANGLE_RIGHT="",r.TRIANGLE_TOP="",r.THIN_ARROW="",r.SIGN_IN="",r.LOGOUT="",r.TRANSLATE="",r.CLOSE_PLAIN="",r.CHECK_PLAIN="",r.ARTICLE="",r.COLUMNS="",r.ANALYTICS="",r.COLLECTIONS="",r.ARROW_DOWN="",r.ARROW_LEFT="",r.ARROW_RIGHT="",r.ARROW_UP="",r.SEARCH_IN_PUBLICATION="",r.COPY_TO_CLIPBOARD="",r.SHARED_PBK="",r.ATTACHMENTS="",r.STRIPE_ARROW_LEFT="",r.STRIPE_ARROW_RIGHT="",r.FILTERS="",r.DOT="",r.MINUS="",r.PLUS="",r.MAILS_AND_NOTIFICATIONS="",r.SAVE="",r.LOCKER="",r.ADMIN_INTEGRATION="",r.SYNC="",r.TAG="",r.BOOK_PLAIN="",r.UPLOAD="",r.ONLINE="",r.TAG_PLAIN="",r.ACCOUNT_SETTINGS="",r.PRINT="",r.DEFAULT_ROLES="",r.SHORTCUT_MENU="",r.RELATIVES_PLAIN="",r.RELATIVES="",r.PAUSE="",r.PLAY="",r.ADMIN_PORTAL="",r.STAR="",r.THUMBS_DOWN="",r.THUMBS_DOWN_PLAIN="",r.THUMBS_UP="",r.THUMBS_UP_PLAIN="",r.FEEDBACK_PLAIN="",r.RATE_PLAIN="",r.RATE="",r.OFFLINE_SETTINGS="",r.MY_COLLECTIONS="",r.THIN_ARROW_LEFT="",r.THIN_ARROW_RIGHT="",r.RESET="",r.MY_LIBRARY="",r.UNSTRUCTURED_DOC="",r.CONTEXTUAL="",r.THIN_ARROW_UP="",r.ARROW_RIGHT_TO_LINE="",r.DESKTOP="",r.TABLET_LANDSCAPE="",r.TABLET_PORTRAIT="",r.MOBILE_LANDSCAPE="",r.MOBILE_PORTRAIT="",r.DIAGRAM_SUNBURST="",r.DIAGRAM_SANKEY="",r.COMMENT_QUESTION="",r.COMMENT_QUESTION_PLAIN="",r.MESSAGE_BOT="",r.CHART_SIMPLE="",r.BARS_PROGRESS="",r.BOOK_OPEN_GEAR="",r.BOOK_OPEN_GEAR_SLASH="",r.LINE_CHART="",r.STACKED_CHART="",r.CHART_BAR_STACKED="",r.CHART_BAR_GROUPED="",r.EYE_SLASH="",r.X_MARK="",r.EXPAND_WIDE="",r.PIP="",r.PIP_WIDE="",r.LIFE_RING="",r.GLOBE="",r.PIGGY_BANK="",r.EXTLINK_LIGHT="",r.CLONE="",r.CLONE_LINK_SIMPLE="",r.CHART_BAR_NORMALIZED="",r.CONSUMER="",r.OCTAGON_XMARK="",r.HOURGLASS_HALF="",r.CLOCK="",r.CLOCK_THREE="",r.CALENDAR_DAY="",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="",r.WAND_MAGIC_SPARKLES="",r.PAPER_PLANE="",r.CIRCLE_STOP="",r.ARROW_ROTATE_RIGHT="",r.ARROWS_ROTATE="",r.ALIGN_RIGHT="",r.FORMAT_CLEAR="",r.ALIGN_CENTER="",r.ALIGN_LEFT="",r.PALETTE="",r.BOLD="",r.ITALIC="",r.UNDERLINE="",r.STRIKETHROUGH="",r.LINK_SIMPLE_SLASH="",r.LINK_SIMPLE="",r.ROUTE="",r.CIRCLE_USER_SLASH="",r.CIRCLE_USER_CHECK="",r.LIST_MAGNIFYING_GLASS="",r.MEDAL="",r.THUMBS_UP_THUMBS_DOWN_SOLID="",r.ARROW_TURN_DOWN_RIGHT="",r.FLASK="",r.LOCK_KEYHOLE_OPEN_SOLID="",r.HOURGLASS_END="",r.CIRCLE_QUESTION="",r.GRIP_LINES_SOLID="",r.TRANSLATE_SPARKLE_SOLID="",r.CODE="",r.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",r.PAPER_PLANE_SLASH="",r.COMPRESS="",r.EXPAND="",r.ARROW_ROTATE_LEFT="",r.EYE="",r.SHARE="󨃱"})(Ot||(Ot={}));var _;(function(r){r.UNKNOWN="",r.ABW="",r.AUDIO="",r.AVI="",r.CHM="",r.CODE="",r.CSV="",r.DITA="",r.EPUB="",r.EXCEL="",r.FLAC="",r.GIF="",r.GZIP="",r.HTML="",r.IMAGE="",r.JPEG="",r.JSON="",r.M4A="",r.MOV="",r.MP3="",r.MP4="",r.OGG="",r.PDF="",r.PNG="",r.POWERPOINT="",r.RAR="",r.STP="",r.TEXT="",r.VIDEO="",r.WAV="",r.WMA="",r.WORD="",r.XML="",r.YAML="",r.ZIP=""})(_||(_={}));var ws=new Map([...["abw"].map(r=>[r,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(r=>[r,_.AUDIO]),...["avi"].map(r=>[r,_.AVI]),...["chm","xhs"].map(r=>[r,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(r=>[r,_.CODE]),...["csv"].map(r=>[r,_.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,_.DITA]),...["epub"].map(r=>[r,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,_.EXCEL]),...["flac"].map(r=>[r,_.FLAC]),...["gif"].map(r=>[r,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,_.GZIP]),...["html","htm","xhtml"].map(r=>[r,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(r=>[r,_.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,_.JPEG]),...["json"].map(r=>[r,_.JSON]),...["m4a","m4p"].map(r=>[r,_.M4A]),...["mov","qt"].map(r=>[r,_.MOV]),...["mp3"].map(r=>[r,_.MP3]),...["mp4","m4v"].map(r=>[r,_.MP4]),...["ogg","oga"].map(r=>[r,_.OGG]),...["pdf","ps"].map(r=>[r,_.PDF]),...["png"].map(r=>[r,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,_.POWERPOINT]),...["rar"].map(r=>[r,_.RAR]),...["stp"].map(r=>[r,_.STP]),...["txt","rtf","md","mdown"].map(r=>[r,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(r=>[r,_.VIDEO]),...["wav"].map(r=>[r,_.WAV]),...["wma"].map(r=>[r,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,_.WORD]),...["xml","xsl","rdf"].map(r=>[r,_.XML]),...["yaml","yml","x-yaml"].map(r=>[r,_.YAML]),...["zip"].map(r=>[r,_.ZIP])]),Qu=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Wd(r,e){var t,i,n,a;r=(r??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((t=Qu.get(r))!==null&&t!==void 0?t:r)+"/").split("/");return(a=(n=(i=ws.get(l))!==null&&i!==void 0?i:ws.get(e))!==null&&n!==void 0?n:ws.get(s))!==null&&a!==void 0?a:_.UNKNOWN}var vO={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"};var Me;(function(r){r.fluid_topics="fluid-topics",r.file_format="file-format",r.material="material"})(Me||(Me={}));var Vi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},me=class extends M{constructor(){super(...arguments),this.resolvedIcon=z}render(){let e=this.variant&&Object.values(Me).includes(this.variant)?this.variant:Me.fluid_topics,t=e!==Me.material||!!this.value;return w`
|
|
610
610
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
611
|
-
${
|
|
611
|
+
${On(this.resolvedIcon)}
|
|
612
612
|
<slot ?hidden=${t}></slot>
|
|
613
613
|
</i>
|
|
614
|
-
`}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}update(e){super.update(e),["value","variant"].some(t=>e.has(t))&&this.resolveIcon()}resolveIcon(){var e,t;let i=this.value||this.textContent;switch(this.variant){case Me.file_format:this.resolvedIcon=(e=_[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Me.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(t=Ot[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};me.elementDefinitions={};me.styles=
|
|
614
|
+
`}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}update(e){super.update(e),["value","variant"].some(t=>e.has(t))&&this.resolveIcon()}resolveIcon(){var e,t;let i=this.value||this.textContent;switch(this.variant){case Me.file_format:this.resolvedIcon=(e=_[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Me.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(t=Ot[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};me.elementDefinitions={};me.styles=Fd;Vi([m()],me.prototype,"variant",void 0);Vi([m()],me.prototype,"value",void 0);Vi([W()],me.prototype,"resolvedIcon",void 0);Vi([D("slot")],me.prototype,"slottedContent",void 0);H("ft-icon")(me);var Nr=class extends M{render(){return w`
|
|
615
615
|
<div class="ft-loader">
|
|
616
616
|
<div></div>
|
|
617
617
|
<div></div>
|
|
618
618
|
<div></div>
|
|
619
619
|
<div></div>
|
|
620
620
|
</div>
|
|
621
|
-
`}};
|
|
621
|
+
`}};Nr.styles=Bd;H("ft-loader")(Nr);var Pe=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ye=class extends fs(M,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var t;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((t=this.form)===null||t===void 0||t.requestSubmit())})}render(){var e,t,i;let n=w`
|
|
622
622
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
623
623
|
<ft-typography part="label"
|
|
624
624
|
variant=${this.typographyVariant}
|
|
625
625
|
element="span"
|
|
626
|
-
class="ft-button--label ${
|
|
626
|
+
class="ft-button--label ${Lr?"ft-safari-ellipsis-fix":""}"
|
|
627
627
|
?hidden=${!this.hasTextContent()}>
|
|
628
628
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
629
629
|
</ft-typography>
|
|
@@ -655,7 +655,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
655
655
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
656
656
|
`:w`
|
|
657
657
|
<slot part="icon" name="icon"></slot>
|
|
658
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return
|
|
658
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return Ur(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ye.elementDefinitions={"ft-ripple":Q,"ft-tooltip":he,"ft-typography":ae,"ft-icon":me,"ft-loader":Nr};Pe([m()],ye.prototype,"href",void 0);Pe([m()],ye.prototype,"target",void 0);Pe([m({type:String,reflect:!0})],ye.prototype,"role",void 0);Pe([m()],ye.prototype,"type",void 0);Pe([m({type:Boolean})],ye.prototype,"disabled",void 0);Pe([m()],ye.prototype,"label",void 0);Pe([m()],ye.prototype,"icon",void 0);Pe([m()],ye.prototype,"iconVariant",void 0);Pe([m({type:Boolean})],ye.prototype,"trailingIcon",void 0);Pe([m({type:Boolean})],ye.prototype,"loading",void 0);Pe([m({attribute:"aria-label"})],ye.prototype,"ariaLabel",void 0);Pe([m()],ye.prototype,"tooltipPosition",void 0);Pe([m({type:Boolean})],ye.prototype,"hideTooltip",void 0);Pe([m({type:Boolean})],ye.prototype,"forceTooltip",void 0);Pe([D(".ft-button")],ye.prototype,"button",void 0);Pe([D(".ft-button--label slot")],ye.prototype,"slottedContent",void 0);Pe([D("[part=tooltip]")],ye.prototype,"tooltip",void 0);var ji=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Re=class extends ye{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Re.styles=[Mo,Ud];ji([m({type:Boolean})],Re.prototype,"primary",void 0);ji([m({type:Boolean})],Re.prototype,"outlined",void 0);ji([m({type:Boolean})],Re.prototype,"dense",void 0);ji([m({type:Boolean})],Re.prototype,"round",void 0);var Hd=[L`
|
|
659
659
|
:host {
|
|
660
660
|
display: inline-block;
|
|
661
661
|
max-width: 100%;
|
|
@@ -1121,7 +1121,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1121
1121
|
.ftds--size-small.ft-button--icon-only {
|
|
1122
1122
|
width: ${b.smallIconOnlyWidth};
|
|
1123
1123
|
}
|
|
1124
|
-
`,
|
|
1124
|
+
`,Cr];var Gi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},dt=class extends _i(ye){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Pt.brand,this.iconVariant=Me.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 Ne.large:return it.body2medium;case Ne.medium:return it.caption1medium;case Ne.small:return it.caption2medium}}};dt.styles=[Mo,Hd];Gi([m({type:Boolean})],dt.prototype,"primary",void 0);Gi([m({type:Boolean})],dt.prototype,"secondary",void 0);Gi([m({type:Boolean})],dt.prototype,"tertiary",void 0);Gi([m({type:Boolean})],dt.prototype,"round",void 0);H("ft-button")(Re);H("ftds-button")(dt);var Ut={textColor:o.extend("--ft-checkbox-text-color","",$.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",T.fontSize),colorPrimary:o.external($.colorPrimary,"Design system"),colorOnPrimary:o.external($.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-checkbox-border-color","",$.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external($.colorOnSurfaceDisabled,"Design system")},Vd=L`
|
|
1125
1125
|
* {
|
|
1126
1126
|
box-sizing: border-box;
|
|
1127
1127
|
}
|
|
@@ -1199,7 +1199,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1199
1199
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1200
1200
|
opacity: 1;
|
|
1201
1201
|
}
|
|
1202
|
-
`;var
|
|
1202
|
+
`;var _r=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ue=class extends M{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return w`
|
|
1203
1203
|
<label class="${pe(e)}" for="checkbox-input">
|
|
1204
1204
|
<div class="ft-checkbox--box-container">
|
|
1205
1205
|
<ft-ripple
|
|
@@ -1226,7 +1226,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1226
1226
|
<slot></slot>
|
|
1227
1227
|
</ft-typography>
|
|
1228
1228
|
</label>
|
|
1229
|
-
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}click(){this.input.click()}};Ue.elementDefinitions={"ft-ripple":Q,"ft-typography":ae};Ue.styles=
|
|
1229
|
+
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}click(){this.input.click()}};Ue.elementDefinitions={"ft-ripple":Q,"ft-typography":ae};Ue.styles=Vd;_r([m()],Ue.prototype,"name",void 0);_r([m({type:Boolean,reflect:!0})],Ue.prototype,"checked",void 0);_r([m({type:Boolean})],Ue.prototype,"indeterminate",void 0);_r([m({type:Boolean})],Ue.prototype,"disabled",void 0);_r([D(".ft-checkbox")],Ue.prototype,"container",void 0);_r([D("ft-ripple")],Ue.prototype,"ripple",void 0);_r([D("input")],Ue.prototype,"input",void 0);H("ft-checkbox")(Ue);var or={textColor:o.extend("--ft-radio-text-color","",$.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",T.fontSize),colorPrimary:o.external($.colorPrimary,"Design system"),colorOnPrimary:o.external($.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",$.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external($.colorOnSurfaceDisabled,"Design system")},jd=L`
|
|
1230
1230
|
* {
|
|
1231
1231
|
box-sizing: border-box;
|
|
1232
1232
|
}
|
|
@@ -1315,7 +1315,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1315
1315
|
.ft-radio ft-typography {
|
|
1316
1316
|
padding-right: 2px;
|
|
1317
1317
|
}
|
|
1318
|
-
`;var zt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},
|
|
1318
|
+
`;var zt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ki=class extends CustomEvent{constructor(e,t){super("change",{detail:{value:e,checked:t},bubbles:!0,composed:!0})}},$e=class extends M{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return w`
|
|
1319
1319
|
<div class="${pe(e)}">
|
|
1320
1320
|
<div class="ft-radio--box-container">
|
|
1321
1321
|
<ft-ripple
|
|
@@ -1340,7 +1340,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1340
1340
|
</ft-typography>
|
|
1341
1341
|
</label>
|
|
1342
1342
|
</div>
|
|
1343
|
-
`}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new
|
|
1343
|
+
`}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Ki(this.value,this.checked))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ki(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};$e.elementDefinitions={"ft-ripple":Q,"ft-typography":ae};$e.styles=jd;zt([m()],$e.prototype,"value",void 0);zt([m()],$e.prototype,"name",void 0);zt([m({type:Boolean,reflect:!0})],$e.prototype,"checked",void 0);zt([m({attribute:"aria-checked",reflect:!0})],$e.prototype,"ariaChecked",void 0);zt([m({type:Boolean})],$e.prototype,"disabled",void 0);zt([m({reflect:!0,attribute:"role"})],$e.prototype,"role",void 0);zt([D(".ft-radio")],$e.prototype,"container",void 0);zt([D("ft-ripple")],$e.prototype,"ripple",void 0);zt([D("input")],$e.prototype,"input",void 0);var Gd=L`
|
|
1344
1344
|
:host {
|
|
1345
1345
|
display: block;
|
|
1346
1346
|
}
|
|
@@ -1348,12 +1348,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1348
1348
|
:host(:focus-visible) {
|
|
1349
1349
|
outline: none;
|
|
1350
1350
|
}
|
|
1351
|
-
`;var
|
|
1351
|
+
`;var ao=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ge=class extends M{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}get radioButtons(){var e,t;return(t=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio")?[i]:[...i.querySelectorAll("ft-radio")]))!==null&&t!==void 0?t:[]}render(){return w`
|
|
1352
1352
|
<slot @slotchange=${this.onSlotChange}
|
|
1353
1353
|
@change=${this.onChange}
|
|
1354
1354
|
@keydown=${this.onKeyDown}
|
|
1355
1355
|
></slot>
|
|
1356
|
-
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(t=>t.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(t=>t.checked=e.detail.value===t.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let t=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{t=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{t=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}t&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(t=>t.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ge.elementDefinitions={};Ge.styles=
|
|
1356
|
+
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(t=>t.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(t=>t.checked=e.detail.value===t.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let t=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{t=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{t=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}t&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(t=>t.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ge.elementDefinitions={};Ge.styles=Gd;ao([m()],Ge.prototype,"name",void 0);ao([m({reflect:!0,attribute:"role"})],Ge.prototype,"role",void 0);ao([m({reflect:!0})],Ge.prototype,"tabIndex",void 0);ao([m({reflect:!0,attribute:"aria-labelledby"})],Ge.prototype,"ariaLabelledBy",void 0);ao([yn()],Ge.prototype,"assignedElements",void 0);ao([W()],Ge.prototype,"currentSelectedIndex",void 0);H("ft-radio")($e);H("ft-radio-group")(Ge);var Zo={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",$.colorOnSurface),borderRadiusM:o.external($.borderRadiusM,"Design system"),colorOutline:o.external($.colorOutline,"Design system"),colorOnSurface:o.external($.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external($.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external($.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external($.colorPrimary,"Design system"),colorOnPrimary:o.external($.colorOnPrimary,"Design system"),fontFamily:o.external(Ae.fontFamily,"Body2 typography"),fontSize:o.external(Ae.fontSize,"Body2 typography"),fontWeight:o.external(Ae.fontWeight,"Body2 typography"),letterSpacing:o.external(Ae.letterSpacing,"Body2 typography"),lineHeight:o.external(Ae.lineHeight,"Body2 typography"),textTransform:o.external(Ae.textTransform,"Body2 typography")},Kd=L`
|
|
1357
1357
|
.ft-filter-level--container {
|
|
1358
1358
|
display: flex;
|
|
1359
1359
|
flex-direction: column;
|
|
@@ -1489,7 +1489,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1489
1489
|
@change=${t=>this.optionsChanged(t,e)}>
|
|
1490
1490
|
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1491
1491
|
</ft-radio>
|
|
1492
|
-
`}onRadioKeyDown(e,t){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,t))}optionsChanged(e,t){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:t}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};Oe.elementDefinitions={"ft-button":Re,"ft-ripple":Q,"ft-typography":ae,"ft-checkbox":Ue,"ft-icon":me,"ft-radio":$e};Oe.styles=
|
|
1492
|
+
`}onRadioKeyDown(e,t){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,t))}optionsChanged(e,t){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:t}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};Oe.elementDefinitions={"ft-button":Re,"ft-ripple":Q,"ft-typography":ae,"ft-checkbox":Ue,"ft-icon":me,"ft-radio":$e};Oe.styles=Kd;ze([m({type:String})],Oe.prototype,"filterId",void 0);ze([m({type:Object})],Oe.prototype,"parent",void 0);ze([m({type:Array})],Oe.prototype,"options",void 0);ze([m({type:Boolean})],Oe.prototype,"multivalued",void 0);ze([m({type:Boolean})],Oe.prototype,"disabled",void 0);ze([m({type:Boolean})],Oe.prototype,"hideSelectedOptions",void 0);ze([m({type:Boolean})],Oe.prototype,"displayCount",void 0);ze([m({type:Boolean})],Oe.prototype,"preventNavigation",void 0);ze([m({type:String})],Oe.prototype,"filter",void 0);ze([m({type:String})],Oe.prototype,"moreValuesButtonLabel",void 0);ze([m({type:String})],Oe.prototype,"noValuesLabel",void 0);ze([m({type:Number})],Oe.prototype,"displayedValuesLimit",void 0);ze([D(".ft-filter-level--container")],Oe.prototype,"container",void 0);ze([W()],Oe.prototype,"radios",void 0);ze([W()],Oe.prototype,"displayedPages",void 0);var We={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",$.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external($.colorSurface,"Design system")},Zd=L`
|
|
1493
1493
|
.ft-snap-scroll {
|
|
1494
1494
|
box-sizing: border-box;
|
|
1495
1495
|
position: relative;
|
|
@@ -1614,7 +1614,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1614
1614
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1615
1615
|
background-color: ${We.colorSurface};
|
|
1616
1616
|
}
|
|
1617
|
-
`;var Ct=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},
|
|
1617
|
+
`;var Ct=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},As=class extends CustomEvent{constructor(e,t){super("current-element-change",{detail:{index:e,element:t}})}},we=class extends M{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new ce(200),this.updateScrollDebouncer=new ce(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let t=this.elements[e];if(t){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(t[this.offsetAttribute]<n||t[this.offsetAttribute]+t[this.sizeAttribute]>i)&&this.scrollToElement(t)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=pe({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Lr}),t=this.controls&&this.withScroll;return w`
|
|
1618
1618
|
<div part="container" class="${e}">
|
|
1619
1619
|
<ft-button
|
|
1620
1620
|
class="ft-snap-scroll--previous"
|
|
@@ -1638,7 +1638,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1638
1638
|
@click=${this.next}
|
|
1639
1639
|
></ft-button>
|
|
1640
1640
|
</div>
|
|
1641
|
-
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new
|
|
1641
|
+
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new As(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(t=this.listenedContainer)===null||t===void 0||t.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let t=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<t&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var t,i;e&&(this.horizontal?(t=this.contentSlot)===null||t===void 0||t.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,t;this.elements=(t=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&t!==void 0?t:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let t=0;t<this.elements.length;t++)(e<0||this.getDistanceFromStart(this.elements[t])<this.getDistanceFromStart(this.elements[e]))&&(e=t);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let t=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-t)}};we.elementDefinitions={"ft-button":Re};we.styles=Zd;Ct([m({type:Boolean})],we.prototype,"horizontal",void 0);Ct([m({type:Boolean})],we.prototype,"hideScrollbar",void 0);Ct([m({type:Boolean})],we.prototype,"controls",void 0);Ct([m({type:Boolean})],we.prototype,"limitSize",void 0);Ct([W()],we.prototype,"elements",void 0);Ct([W()],we.prototype,"currentElement",void 0);Ct([W()],we.prototype,"withScroll",void 0);Ct([W()],we.prototype,"startReached",void 0);Ct([W()],we.prototype,"endReached",void 0);Ct([D(".ft-snap-scroll--content")],we.prototype,"contentSlot",void 0);H("ft-snap-scroll")(we);var Ke={colorOutline:o.external($.colorOutline,"Design system"),colorOnSurface:o.external($.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external($.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external($.colorPrimary,"Design system"),colorSurface:o.external($.colorSurface,"Design system"),transitionDuration:o.external($.transitionDuration,"Design system"),transitionTimingFunction:o.external($.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",$.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",T.fontSize,"16px")},qd=[tr,Uo,L`
|
|
1642
1642
|
:host {
|
|
1643
1643
|
display: flex;
|
|
1644
1644
|
max-height: 100%;
|
|
@@ -1755,7 +1755,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1755
1755
|
slot:not([name]) {
|
|
1756
1756
|
display: none;
|
|
1757
1757
|
}
|
|
1758
|
-
`];var ge=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},
|
|
1758
|
+
`];var ge=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Rs=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ne=class extends M{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new ce(300),this.changeDebouncer=new ce(10),this.lastDispatchedValues=[]}get flatOptions(){return qe(this.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]})}get childrenFilteredFlatOptions(){return qe(this.options,e=>{var t;return e.selected?[]:(t=e.subOptions)!==null&&t!==void 0?t:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),t=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return w`
|
|
1759
1759
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1760
1760
|
part="container">
|
|
1761
1761
|
${!this.label&&!e?null:w`
|
|
@@ -1832,21 +1832,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1832
1832
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1833
1833
|
noValuesLabel="${this.noValuesLabel}"
|
|
1834
1834
|
></ft-filter-level>
|
|
1835
|
-
`}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var t;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(t=i.subOptions)===null||t===void 0||t.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(t=>t.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;De(this.lastDispatchedValues,e)||(this.dispatchEvent(new
|
|
1835
|
+
`}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var t;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(t=i.subOptions)===null||t===void 0||t.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(t=>t.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;De(this.lastDispatchedValues,e)||(this.dispatchEvent(new Rs(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(t=>t),this.optionsChanged()}onFilterChange(){var e,t;this.filter=(t=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&t!==void 0?t:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};ne.elementDefinitions={"ft-button":Re,"ft-filter-level":Oe,"ft-snap-scroll":we,"ft-typography":ae};ne.styles=qd;ge([m({type:String})],ne.prototype,"id",void 0);ge([m({type:String})],ne.prototype,"label",void 0);ge([m({type:String})],ne.prototype,"filterPlaceHolder",void 0);ge([m({type:String})],ne.prototype,"clearButtonLabel",void 0);ge([m({type:String})],ne.prototype,"moreValuesButtonLabel",void 0);ge([m({type:String})],ne.prototype,"noValuesLabel",void 0);ge([ke([])],ne.prototype,"options",void 0);ge([m({type:Boolean})],ne.prototype,"multivalued",void 0);ge([m({type:Boolean})],ne.prototype,"disabled",void 0);ge([m({type:Boolean})],ne.prototype,"raiseSelectedOptions",void 0);ge([m({type:Boolean})],ne.prototype,"displayCount",void 0);ge([m({type:Number})],ne.prototype,"displayedValuesLimit",void 0);ge([m({type:Boolean})],ne.prototype,"hideClearButton",void 0);ge([D(".ft-filter--slot")],ne.prototype,"slotElement",void 0);ge([D(".ft-filter--container")],ne.prototype,"container",void 0);ge([D(".ft-filter--values")],ne.prototype,"valuesContainer",void 0);ge([D(".ft-filter--levels")],ne.prototype,"levelsContainer",void 0);ge([W()],ne.prototype,"lastLevelHasHiddenvalues",void 0);ge([D(".ft-filter--filter input")],ne.prototype,"filterInput",void 0);ge([mn(".ft-filter--levels ft-filter-level")],ne.prototype,"levels",void 0);ge([W()],ne.prototype,"withScroll",void 0);ge([W()],ne.prototype,"filter",void 0);ge([W()],ne.prototype,"slideIn",void 0);ge([W()],ne.prototype,"slideOut",void 0);var so=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Qe=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return w`
|
|
1836
1836
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1837
|
-
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(t=>t)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qe.elementDefinitions={};
|
|
1837
|
+
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(t=>t)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Qe.elementDefinitions={};so([m({type:String})],Qe.prototype,"label",void 0);so([m({type:Object,converter:r=>r})],Qe.prototype,"value",void 0);so([m({type:Boolean,reflect:!0})],Qe.prototype,"selected",void 0);so([m({type:Object})],Qe.prototype,"subOptions",void 0);so([ke({})],Qe.prototype,"renderOption",void 0);so([D(".ft-filter-option--slot")],Qe.prototype,"slotElement",void 0);H("ft-filter")(ne);H("ft-filter-option")(Qe);var Yd=L`
|
|
1838
1838
|
.ft-accordion {
|
|
1839
1839
|
box-sizing: border-box;
|
|
1840
1840
|
}
|
|
1841
|
-
`;var
|
|
1841
|
+
`;var Xd=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Et=class extends M{constructor(){super(...arguments),this.multi=!1}render(){return w`
|
|
1842
1842
|
<div class="ft-accordion">
|
|
1843
1843
|
<slot @activated=${this.onChange}></slot>
|
|
1844
1844
|
</div>
|
|
1845
|
-
`}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(t=>t.active=t===e.target)}};Et.elementDefinitions={};Et.styles=
|
|
1845
|
+
`}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(t=>t.active=t===e.target)}};Et.elementDefinitions={};Et.styles=Yd;Xd([m({type:Boolean})],Et.prototype,"multi",void 0);Xd([D("slot")],Et.prototype,"content",void 0);var kr={horizontalSpacing:o.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:o.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:o.external($.colorOutline,"Design system"),backgroundColor:o.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Jd=L`
|
|
1846
1846
|
.ft-accordion-item {
|
|
1847
1847
|
display: flex;
|
|
1848
1848
|
flex-direction: column;
|
|
1849
|
-
background-color: ${
|
|
1849
|
+
background-color: ${kr.backgroundColor};
|
|
1850
1850
|
}
|
|
1851
1851
|
|
|
1852
1852
|
.ft-accordion-item--toggle {
|
|
@@ -1856,8 +1856,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1856
1856
|
display: flex;
|
|
1857
1857
|
align-items: center;
|
|
1858
1858
|
cursor: pointer;
|
|
1859
|
-
padding: ${
|
|
1860
|
-
gap: calc(${
|
|
1859
|
+
padding: ${kr.verticalSpacing} ${kr.horizontalSpacing};
|
|
1860
|
+
gap: calc(${kr.horizontalSpacing} / 2);
|
|
1861
1861
|
outline: none;
|
|
1862
1862
|
}
|
|
1863
1863
|
|
|
@@ -1882,13 +1882,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1882
1882
|
.ft-accordion-item--active .ft-accordion-item--content {
|
|
1883
1883
|
height: initial;
|
|
1884
1884
|
overflow: visible;
|
|
1885
|
-
padding: ${
|
|
1885
|
+
padding: ${kr.verticalSpacing} ${kr.horizontalSpacing};
|
|
1886
1886
|
}
|
|
1887
1887
|
|
|
1888
1888
|
.ft-accordion-item--separator {
|
|
1889
|
-
border-bottom: 1px solid ${
|
|
1889
|
+
border-bottom: 1px solid ${kr.colorOutline};
|
|
1890
1890
|
}
|
|
1891
|
-
`;var
|
|
1891
|
+
`;var Zi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},nt=class extends M{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return w`
|
|
1892
1892
|
<div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
|
|
1893
1893
|
<div class="ft-accordion-item--toggle"
|
|
1894
1894
|
part="toggle"
|
|
@@ -1918,7 +1918,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1918
1918
|
</div>
|
|
1919
1919
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
1920
1920
|
</div>
|
|
1921
|
-
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};nt.elementDefinitions={"ft-ripple":Q,"ft-typography":ae,"ft-icon":me};nt.styles=
|
|
1921
|
+
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};nt.elementDefinitions={"ft-ripple":Q,"ft-typography":ae,"ft-icon":me};nt.styles=Jd;Zi([m()],nt.prototype,"icon",void 0);Zi([m()],nt.prototype,"iconVariant",void 0);Zi([m()],nt.prototype,"label",void 0);Zi([m({type:Boolean,reflect:!0})],nt.prototype,"active",void 0);H("ft-accordion")(Et);H("ft-accordion-item")(nt);var Qd=o.extend("--ft-chip-color","",$.colorOnSurface),Be={backgroundColor:o.extend("--ft-chip-background-color","",$.colorSurface),color:Qd,fontSize:o.extend("--ft-chip-font-size","",Ae.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",Ae.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",Qd),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",$.colorOutline),opacityDisabled:o.external($.colorOpacityDisabled,"Design system")},ep=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",$.colorOnPrimary)),$s={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",$.colorPrimary)),color:ep,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",ep)},tp={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},rp=[Cr,L`
|
|
1922
1922
|
:host {
|
|
1923
1923
|
display: inline-block;
|
|
1924
1924
|
max-width: 100%;
|
|
@@ -1958,8 +1958,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1958
1958
|
|
|
1959
1959
|
.ft-chip--dense {
|
|
1960
1960
|
--ft-chip-internal-icon-padding: 3px;
|
|
1961
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1962
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1961
|
+
--ft-chip-internal-vertical-padding: ${tp.verticalPadding};
|
|
1962
|
+
--ft-chip-internal-horizontal-padding: ${tp.horizontalPadding};
|
|
1963
1963
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1964
1964
|
}
|
|
1965
1965
|
|
|
@@ -1977,9 +1977,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1977
1977
|
.ft-chip--highlighted {
|
|
1978
1978
|
border: none;
|
|
1979
1979
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
1980
|
-
background-color: ${
|
|
1981
|
-
${v(N.color
|
|
1982
|
-
color: ${
|
|
1980
|
+
background-color: ${$s.backgroundColor};
|
|
1981
|
+
${v(N.color,$s.rippleColor)};
|
|
1982
|
+
color: ${$s.color};
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
1985
|
.ft-chip--clickable {
|
|
@@ -2058,7 +2058,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2058
2058
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
2059
2059
|
order: -1;
|
|
2060
2060
|
}
|
|
2061
|
-
`];var et=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},
|
|
2061
|
+
`];var et=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qi=class extends CustomEvent{constructor(){super("icon-click")}},Ce=class extends M{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Lr};return w`
|
|
2062
2062
|
<div class="${pe(e)}"
|
|
2063
2063
|
aria-label="${this.getLabel()}"
|
|
2064
2064
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -2084,7 +2084,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2084
2084
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
2085
2085
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
2086
2086
|
</div>
|
|
2087
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new
|
|
2087
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new qi))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new qi))}getLabel(){return this.label||this.textContent}get textContent(){return Ur(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Ce.elementDefinitions={"ft-ripple":Q,"ft-typography":ae,"ft-icon":me,"ft-button":Re};Ce.styles=rp;et([m({type:Boolean})],Ce.prototype,"highlighted",void 0);et([m({type:Boolean})],Ce.prototype,"removable",void 0);et([m({type:Boolean})],Ce.prototype,"disabled",void 0);et([m({type:Boolean})],Ce.prototype,"clickable",void 0);et([m({type:Boolean})],Ce.prototype,"iconClickable",void 0);et([m({type:Boolean})],Ce.prototype,"dense",void 0);et([m({type:Boolean})],Ce.prototype,"multiLine",void 0);et([m()],Ce.prototype,"label",void 0);et([m()],Ce.prototype,"iconLabel",void 0);et([m()],Ce.prototype,"icon",void 0);et([m()],Ce.prototype,"iconVariant",void 0);et([m({type:Boolean})],Ce.prototype,"trailingIcon",void 0);et([D("ft-typography slot")],Ce.prototype,"slottedContent",void 0);var op=[L`
|
|
2088
2088
|
:host {
|
|
2089
2089
|
display: inline-block;
|
|
2090
2090
|
max-width: 100%;
|
|
@@ -2190,7 +2190,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2190
2190
|
.ftds--family-error .ftds-chip--icon-container {
|
|
2191
2191
|
color: ${X.errorIconColor};
|
|
2192
2192
|
}
|
|
2193
|
-
`];var qo=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a}
|
|
2193
|
+
`];var qo=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ls=class extends CustomEvent{constructor(){super("remove")}},pt=class extends Fo{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return w`
|
|
2194
2194
|
<div class="${pe(e)}"
|
|
2195
2195
|
aria-label="${this.getLabel()}"
|
|
2196
2196
|
part="chip">
|
|
@@ -2214,7 +2214,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2214
2214
|
size=${this.resolveButtonSize()}
|
|
2215
2215
|
part="icon-button"
|
|
2216
2216
|
></ftds-button>
|
|
2217
|
-
`:z}resolveButtonSize(){switch(this.size){case Ne.large:return Ne.medium;case Ne.medium:case Ne.small:return Ne.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new
|
|
2217
|
+
`:z}resolveButtonSize(){switch(this.size){case Ne.large:return Ne.medium;case Ne.medium:case Ne.small:return Ne.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Ls)}typographyVariant(){switch(this.size){case Ne.large:return it.body2medium;case Ne.medium:return it.caption1medium;case Ne.small:return it.caption2medium}}};pt.elementDefinitions={"ft-typography":ae,"ft-icon":me,"ftds-button":dt};pt.styles=op;qo([m({type:Boolean})],pt.prototype,"removable",void 0);qo([m()],pt.prototype,"removeButtonLabel",void 0);qo([m()],pt.prototype,"label",void 0);qo([m()],pt.prototype,"icon",void 0);qo([D("ft-typography slot")],pt.prototype,"slottedContent",void 0);H("ft-chip")(Ce);H("ftds-chip")(pt);var q={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",$.colorOutline),textColor:o.extend("--ft-input-label-text-color","",$.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",$.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",$.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",$.borderRadiusS),colorError:o.external($.colorError,"Design system")},ip=L`
|
|
2218
2218
|
.ft-input-label {
|
|
2219
2219
|
position: absolute;
|
|
2220
2220
|
inset: 0;
|
|
@@ -2345,7 +2345,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2345
2345
|
</div>
|
|
2346
2346
|
`:null}
|
|
2347
2347
|
</div>
|
|
2348
|
-
`}};tt.elementDefinitions={};tt.styles=[tr,
|
|
2348
|
+
`}};tt.elementDefinitions={};tt.styles=[tr,ip];Yo([m({type:String})],tt.prototype,"text",void 0);Yo([m({type:Boolean})],tt.prototype,"raised",void 0);Yo([m({type:Boolean})],tt.prototype,"outlined",void 0);Yo([m({type:Boolean})],tt.prototype,"disabled",void 0);Yo([m({type:Boolean})],tt.prototype,"error",void 0);H("ft-input-label")(tt);var ee={labelSize:o.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:o.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:o.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:o.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:o.extend("--ft-select-selected-option-color","",$.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",$.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",$.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-select-background-color","",$.colorSurface),colorOnSurfaceDisabled:o.external($.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external($.colorPrimary,"Design system"),borderRadiusS:o.external($.borderRadiusS,"Design system"),elevation02:o.external($.elevation02,"Design system"),colorError:o.external($.colorError,"Design system")},np=L`
|
|
2349
2349
|
*:focus {
|
|
2350
2350
|
outline: none;
|
|
2351
2351
|
}
|
|
@@ -2540,7 +2540,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2540
2540
|
<ft-ripple ?primary=${t} ?activated=${t}></ft-ripple>
|
|
2541
2541
|
<span>${e.label}</span>
|
|
2542
2542
|
</div>
|
|
2543
|
-
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(t=>t.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var t,i;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(t=this.selectedOptionElement)!==null&&t!==void 0?t:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",To(this.mainPanel,this.optionsMenu,"bottom").then(({x:n,y:a})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${a}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var t;e.stopPropagation();let i=(t=this.optionsSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var t,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(t=this.mainPanel)===null||t===void 0||t.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break}l?.focus()}onOptionKeyDown(e,t){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(t),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var t,i;if(!De((t=this.selectedOption)===null||t===void 0?void 0:t.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};de.elementDefinitions={"ft-input-label":tt,"ft-typography":ae,"ft-ripple":Q,"ft-icon":me};de.styles=[
|
|
2543
|
+
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(t=>t.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var t,i;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(t=this.selectedOptionElement)!==null&&t!==void 0?t:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",To(this.mainPanel,this.optionsMenu,"bottom").then(({x:n,y:a})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${a}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var t;e.stopPropagation();let i=(t=this.optionsSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var t,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(t=this.mainPanel)===null||t===void 0||t.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break}l?.focus()}onOptionKeyDown(e,t){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(t),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var t,i;if(!De((t=this.selectedOption)===null||t===void 0?void 0:t.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};de.elementDefinitions={"ft-input-label":tt,"ft-typography":ae,"ft-ripple":Q,"ft-icon":me};de.styles=[no,tr,np];ve([m({type:String})],de.prototype,"label",void 0);ve([m({type:String})],de.prototype,"ariaLabel",void 0);ve([m({type:String})],de.prototype,"helper",void 0);ve([m({type:Boolean})],de.prototype,"outlined",void 0);ve([m({type:Boolean})],de.prototype,"disabled",void 0);ve([m({type:Boolean})],de.prototype,"error",void 0);ve([m({type:Boolean})],de.prototype,"fixedMenuPosition",void 0);ve([m({type:Array})],de.prototype,"options",void 0);ve([W()],de.prototype,"selectedOption",void 0);ve([W()],de.prototype,"optionsDisplayed",void 0);ve([W()],de.prototype,"focusOptions",void 0);ve([D(".ft-select")],de.prototype,"container",void 0);ve([D(".ft-select--options")],de.prototype,"optionsMenu",void 0);ve([D(".ft-select--input-panel")],de.prototype,"mainPanel",void 0);ve([D(".ft-select--option:first-child")],de.prototype,"firstOption",void 0);ve([D(".ft-select--option:focus")],de.prototype,"focusedOption",void 0);ve([D(".ft-select--option.ft-select--option-selected")],de.prototype,"selectedOptionElement",void 0);ve([D(".ft-select--option:last-child")],de.prototype,"lastOption",void 0);ve([D("slot")],de.prototype,"optionsSlot",void 0);H("ft-select")(de);H("ft-select-option")(wt);var Ie={display:o.create("--ft-skeleton--display","","DISPLAY","block"),width:o.create("--ft-skeleton--width","","SIZE","100%"),height:o.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:o.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:o.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:o.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:o.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:o.external($.borderRadiusM,"Design system")},ap=L`
|
|
2544
2544
|
:host {
|
|
2545
2545
|
width: ${Ie.width};
|
|
2546
2546
|
height: ${Ie.height};
|
|
@@ -2567,7 +2567,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2567
2567
|
background-position: calc(100vw + ${Ie.glareWidth}) 0, calc(${Ie.glareWidth} * -1) 0;
|
|
2568
2568
|
}
|
|
2569
2569
|
}
|
|
2570
|
-
`;var V={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",$.borderRadiusS),mobileOpenPosition:o.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:o.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:o.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:o.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:o.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:o.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:o.external($.colorSurface,"Design system"),colorOnSurface:o.external($.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external($.colorOnSurfaceMedium,"Design system"),colorOutline:o.external($.colorOutline,"Design system"),colorPrimary:o.external($.colorPrimary,"Design system"),elevation02:o.external($.elevation02,"Design system"),buttonColor:o.external(J.color,"Button"),buttonRippleColor:o.external(J.rippleColor,"Button")},
|
|
2570
|
+
`;var V={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",$.borderRadiusS),mobileOpenPosition:o.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:o.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:o.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:o.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:o.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:o.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:o.external($.colorSurface,"Design system"),colorOnSurface:o.external($.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external($.colorOnSurfaceMedium,"Design system"),colorOutline:o.external($.colorOutline,"Design system"),colorPrimary:o.external($.colorPrimary,"Design system"),elevation02:o.external($.elevation02,"Design system"),buttonColor:o.external(J.color,"Button"),buttonRippleColor:o.external(J.rippleColor,"Button")},sp=L`
|
|
2571
2571
|
* {
|
|
2572
2572
|
box-sizing: border-box;
|
|
2573
2573
|
}
|
|
@@ -2762,7 +2762,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2762
2762
|
${v(T.fontWeight,"bold")};
|
|
2763
2763
|
}
|
|
2764
2764
|
|
|
2765
|
-
`,
|
|
2765
|
+
`,lp=L`
|
|
2766
2766
|
.ft-search-bar--presets {
|
|
2767
2767
|
min-width: 200px;
|
|
2768
2768
|
}
|
|
@@ -2924,7 +2924,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2924
2924
|
margin: 0;
|
|
2925
2925
|
}
|
|
2926
2926
|
`;var ir=class extends M{render(){return w`
|
|
2927
|
-
`}};ir.elementDefinitions={};ir.styles=
|
|
2927
|
+
`}};ir.elementDefinitions={};ir.styles=ap;H("ft-skeleton")(ir);var At=class{constructor(e,t=300){this.searchBar=e,this.updateDebouncer=new ce(t)}render(){let e=this.searchBar.recentSearches.filter(i=>i.toLowerCase().includes(this.searchBar.query.toLowerCase())),t=this.searchBar.suggestions.length>0||e.length>0;return w`
|
|
2928
2928
|
<div class="ft-search-bar--suggestions ft-word-wrap ${t?"ft-search-bar--suggestions-not-empty":""}"
|
|
2929
2929
|
part="suggestions-container"
|
|
2930
2930
|
@keydown=${i=>this.onSuggestKeyDown(i)}>
|
|
@@ -2961,9 +2961,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2961
2961
|
</div>
|
|
2962
2962
|
`)}
|
|
2963
2963
|
</div>
|
|
2964
|
-
`}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,t)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var t,i;switch(e.key){case"ArrowUp":(t=this.previousSuggestionElement())===null||t===void 0||t.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(i=this.nextSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break}}nextSuggestionElement(){var e,t;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(t=i?.nextElementSibling)===null||t===void 0?void 0:t.querySelector("[part=suggestions]");return n??this.getFirstSuggestionElement()}previousSuggestionElement(){var e,t;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(t=i?.previousElementSibling)===null||t===void 0?void 0:t.querySelector("[part=suggestions]");return n??this.getLastSuggestionElement()}onSuggestClick(e,t){this.searchBar.setQuery(t),this.searchBar.onLaunchSearch()}removeRecentSearch(e,t){var i,n,a,s;e.preventDefault(),e.stopPropagation();let l=e.target.closest("[part='suggestion-container']"),d=(s=(n=(i=l?.previousElementSibling)===null||i===void 0?void 0:i.querySelector("[part='suggestions']"))!==null&&n!==void 0?n:(a=l?.nextElementSibling)===null||a===void 0?void 0:a.querySelector("[part='suggestions']"))!==null&&s!==void 0?s:this.searchBar.input;d?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(p=>p.toLowerCase()!==t.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let t=e.type==="DOCUMENT"?Me.file_format:Me.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?Ot.BOOK:Ot.ARTICLE;break;case"DOCUMENT":i=
|
|
2964
|
+
`}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,t)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var t,i;switch(e.key){case"ArrowUp":(t=this.previousSuggestionElement())===null||t===void 0||t.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(i=this.nextSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break}}nextSuggestionElement(){var e,t;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(t=i?.nextElementSibling)===null||t===void 0?void 0:t.querySelector("[part=suggestions]");return n??this.getFirstSuggestionElement()}previousSuggestionElement(){var e,t;let i=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,n=(t=i?.previousElementSibling)===null||t===void 0?void 0:t.querySelector("[part=suggestions]");return n??this.getLastSuggestionElement()}onSuggestClick(e,t){this.searchBar.setQuery(t),this.searchBar.onLaunchSearch()}removeRecentSearch(e,t){var i,n,a,s;e.preventDefault(),e.stopPropagation();let l=e.target.closest("[part='suggestion-container']"),d=(s=(n=(i=l?.previousElementSibling)===null||i===void 0?void 0:i.querySelector("[part='suggestions']"))!==null&&n!==void 0?n:(a=l?.nextElementSibling)===null||a===void 0?void 0:a.querySelector("[part='suggestions']"))!==null&&s!==void 0?s:this.searchBar.input;d?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(p=>p.toLowerCase()!==t.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let t=e.type==="DOCUMENT"?Me.file_format:Me.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?Ot.BOOK:Ot.ARTICLE;break;case"DOCUMENT":i=Wd(e.mimeType,e.filenameExtension);break;case"TOPIC":i=Ot.TOPICS;break}return w`
|
|
2965
2965
|
<ft-icon .variant="${t}" .value="${i}" part="suggestion-icon"></ft-icon>
|
|
2966
|
-
`}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};At.styles=[
|
|
2966
|
+
`}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};At.styles=[ka,L`
|
|
2967
2967
|
.ft-search-bar--mobile .ft-search-bar--suggestions {
|
|
2968
2968
|
flex-grow: 1;
|
|
2969
2969
|
flex-shrink: 1;
|
|
@@ -3056,7 +3056,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3056
3056
|
${this.getLocaleLabel(this.searchBar.contentLocale)}
|
|
3057
3057
|
</ft-chip>
|
|
3058
3058
|
`:null}
|
|
3059
|
-
${Le(this.searchBar.facets,n=>n.key,n=>{let a
|
|
3059
|
+
${Le(this.searchBar.facets,n=>n.key,n=>{let a=Ld(n);return Le(a,s=>{let l=n.label+": "+Ad(s),d=n.key.replace(":","-"),p=w`
|
|
3060
3060
|
<ft-chip
|
|
3061
3061
|
part="selected-filters selected-filter-${d}"
|
|
3062
3062
|
?dense=${this.searchBar.dense&&!e}
|
|
@@ -3069,7 +3069,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3069
3069
|
@icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(h=>h!==s))}
|
|
3070
3070
|
data-key="${n.key}"
|
|
3071
3071
|
data-value="${s}">
|
|
3072
|
-
${
|
|
3072
|
+
${wd(s)}
|
|
3073
3073
|
</ft-chip>
|
|
3074
3074
|
`;return t?p:w`
|
|
3075
3075
|
<ft-tooltip inline text="${l}">
|
|
@@ -3163,7 +3163,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3163
3163
|
round
|
|
3164
3164
|
label="${this.searchBar.labelResolver.resolve("clearInputButton")}"
|
|
3165
3165
|
tooltipPosition="left"
|
|
3166
|
-
@click=${async()=>{this.searchBar.setQuery(""),this.searchBar.mobileMenuOpen=!1,this.searchBar.displayFacets=!1
|
|
3166
|
+
@click=${async()=>{this.searchBar.setQuery(""),this.searchBar.mobileMenuOpen=!1,this.searchBar.displayFacets=!1}}
|
|
3167
3167
|
></ft-button>
|
|
3168
3168
|
<div class="ft-search-bar--separator"></div>
|
|
3169
3169
|
`:z}
|
|
@@ -3252,10 +3252,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3252
3252
|
</div>
|
|
3253
3253
|
`}onSearchBarKeyDown(e){var t;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(t=this.searchBar.input)===null||t===void 0||t.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){var t;e.key==="Enter"&&((t=this.searchBar.launchSearchButton)===null||t===void 0||t.click())}onInput(e){let t=e.composedPath()[0];this.searchBar.query=t.value}};Jo.styles=L`
|
|
3254
3254
|
|
|
3255
|
-
`;var
|
|
3256
|
-
`;var
|
|
3255
|
+
`;var cp=L`
|
|
3256
|
+
`;var eh="ft-app-info",Ns=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},th={session:(r,e)=>{De(r.session,e.payload)||(r.session=e.payload,setTimeout(()=>G.dispatchEvent(new Ns(e.payload)),0))}},G=Rr.get({name:eh,reducers:th,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Pr=class r{static get(e){let{baseUrl:t,apiIntegrationIdentifier:i}=G.getState(),n=e??i;if(t&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(t,n,!0)}static await(e){return new Promise(t=>{let i=r.get(e);if(i)t(i);else{let n=G.subscribe(()=>{i=r.get(e),i&&(n(),t(i))})}})}};var nr=class{constructor(e=!0,t){var i;this.overrideApi=t;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new mt,this.cache=e?n.commonCache:new mt}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Pr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Pr.await()}clearCache(){this.cache.clearAll()}};var dp,rh=Symbol("clearAfterUnitTest"),Yi=class extends nr{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[dp]=()=>{this.defaultMessages={},this.cache=new mt,this.listeners={}},this.currentUiLocale=G.getState().uiLocale,G.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=G.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let t=e.name.toLowerCase();this.cache.setFinal(t,e),this.notify(t)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,t){var i;if(e=e.toLowerCase(),Object.keys(t).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...t};De(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var t,i;return this.fetchContext(e),(i=(t=this.cache.getNow(e))===null||t===void 0?void 0:t.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,t){let i=e.toLowerCase();return this.resolveContext(i)[t]}resolveMessage(e,t,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Kt((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(t,...i)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(t){console.error(t)}}subscribe(e,t){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(t),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(t)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(t=>Ci(0).then(()=>t()).catch(()=>null)))}};dp=rh;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Yi{constructor(){super(async(r,e)=>(await this.awaitApi).getFluidTopicsMessageContext(r,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Yi{constructor(){super(async(r,e)=>(await this.awaitApi).getCustomMessageContext(r,e))}});var pp=window.FluidTopicsI18nService,j$=window.FluidTopicsCustomI18nService;var Fe=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},xe=class extends M{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Pr.get(),this.messageContexts=[],this.cache=new mt,this.cleanSessionDebouncer=new ce}render(){return w`
|
|
3257
3257
|
<slot></slot>
|
|
3258
|
-
`}update(e){var t,i,n,a,s;super.update(e),e.has("baseUrl")&&(G.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&G.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&G.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&G.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&G.actions.noCustom(this.noCustom),e.has("editorMode")&&G.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&G.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&G.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>dp.addContext(l)),e.has("openExternalDocumentInNewTab")&&G.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&G.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&G.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(G.actions.defaultLocales((t=this.localesConfiguration)===null||t===void 0?void 0:t.defaultLocales),G.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),G.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};xe.elementDefinitions={};xe.styles=lp;Fe([m()],xe.prototype,"baseUrl",void 0);Fe([m()],xe.prototype,"apiIntegrationIdentifier",void 0);Fe([m()],xe.prototype,"uiLocale",void 0);Fe([ke(null)],xe.prototype,"availableUiLocales",void 0);Fe([ke(null)],xe.prototype,"metadataConfiguration",void 0);Fe([m({type:Boolean})],xe.prototype,"editorMode",void 0);Fe([m({type:Boolean})],xe.prototype,"noCustom",void 0);Fe([m({type:Boolean})],xe.prototype,"openExternalDocumentInNewTab",void 0);Fe([m({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],xe.prototype,"noCustomComponent",void 0);Fe([m({type:Boolean})],xe.prototype,"withManualResources",void 0);Fe([m({type:Boolean})],xe.prototype,"navigatorOnline",void 0);Fe([m({type:Boolean})],xe.prototype,"forcedOffline",void 0);Fe([m({type:Object})],xe.prototype,"apiProvider",void 0);Fe([ke([])],xe.prototype,"messageContexts",void 0);Fe([ke(void 0)],xe.prototype,"session",void 0);Fe([W()],xe.prototype,"localesConfiguration",void 0);var Yi=class extends nr{async listMySearches(){let e=G.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Xi=class extends nr{async listMyBookmarks(){let e=G.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var th="ft-user-assets",Ji=Ar.get({name:th,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ns=class{constructor(){this.currentSession=G.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Xi,this.savedSearchesService=new Yi,G.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=G.getState();De((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ji.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ji.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ji.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ji.actions.bookmarks(t)}}},uL=new Ns;var _s=class{addCommand(e,t=!1){G.commands.add(e,t)}consumeCommand(e){return G.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new _s;var ks=class{highlightHtml(e,t,i){La(e,t,i)}};window.FluidTopicsHighlightHtmlService=new ks;var Ps=class{isDate(e){var t,i,n,a;return(a=(n=((i=(t=G.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,t){var i,n,a;return Xr.format(e,(i=t?.locale)!==null&&i!==void 0?i:G.getState().uiLocale,(n=t?.longFormat)!==null&&n!==void 0?n:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Ps;H("ft-app-context")(xe);var te=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var pp={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},Is=class extends CustomEvent{constructor(e){super("change",{detail:e})}},rh=()=>{},K=class extends M{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Kt(pp,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new Rr(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=ot.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new At(this),this.selectedFacetsManager=new Rt(this),this.desktopSearchBarManager=new Jo(this),this.mobileSearchBarManager=new Xo(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new ce(10),this.updateLocalesDebouncer=new ce(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(t=>t.contentLocales).catch(()=>[]).then(t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new ce(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(t=>t===this.floatingContainer))},this.compareUnknownFilters=(e,t)=>e.valueFilter&&t.valueFilter?this.compareValueFilters(e.valueFilter,t.valueFilter):e.dateFilter&&t.dateFilter?this.compareDateFilters(e.dateFilter,t.dateFilter):e.rangeFilter&&t.rangeFilter?this.compareRangeFilters(e.rangeFilter,t.rangeFilter):!1,this.compareValueFilters=(e,t)=>e.negative==t.negative&&e.values.length===t.values.length&&e.values.every(i=>t.values.includes(i)),this.compareDateFilters=(e,t)=>e.type===t.type,this.compareRangeFilters=(e,t)=>e.from===t.from&&e.to===t.to,this.compareFilters=(e,t)=>e.key===t.key&&this.compareUnknownFilters(e,t),this.compareRequests=(e,t)=>(e.contentLocale==null||t.contentLocale==null||e.contentLocale===t.contentLocale)&&e.metadataFilters.length===t.metadataFilters.length&&e.metadataFilters.every(i=>t.metadataFilters.some(n=>this.compareFilters(i,n))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(t=>{var i,n;return((n=(i=t.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(t.key)}).map(t=>({id:t.key}));return[...this.displayedFilters.map(t=>({id:t})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===ot.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await Ei(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return w`
|
|
3258
|
+
`}update(e){var t,i,n,a,s;super.update(e),e.has("baseUrl")&&(G.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&G.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&G.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&G.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&G.actions.noCustom(this.noCustom),e.has("editorMode")&&G.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&G.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&G.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>pp.addContext(l)),e.has("openExternalDocumentInNewTab")&&G.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&G.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&G.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(G.actions.defaultLocales((t=this.localesConfiguration)===null||t===void 0?void 0:t.defaultLocales),G.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),G.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};xe.elementDefinitions={};xe.styles=cp;Fe([m()],xe.prototype,"baseUrl",void 0);Fe([m()],xe.prototype,"apiIntegrationIdentifier",void 0);Fe([m()],xe.prototype,"uiLocale",void 0);Fe([ke(null)],xe.prototype,"availableUiLocales",void 0);Fe([ke(null)],xe.prototype,"metadataConfiguration",void 0);Fe([m({type:Boolean})],xe.prototype,"editorMode",void 0);Fe([m({type:Boolean})],xe.prototype,"noCustom",void 0);Fe([m({type:Boolean})],xe.prototype,"openExternalDocumentInNewTab",void 0);Fe([m({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],xe.prototype,"noCustomComponent",void 0);Fe([m({type:Boolean})],xe.prototype,"withManualResources",void 0);Fe([m({type:Boolean})],xe.prototype,"navigatorOnline",void 0);Fe([m({type:Boolean})],xe.prototype,"forcedOffline",void 0);Fe([m({type:Object})],xe.prototype,"apiProvider",void 0);Fe([ke([])],xe.prototype,"messageContexts",void 0);Fe([ke(void 0)],xe.prototype,"session",void 0);Fe([W()],xe.prototype,"localesConfiguration",void 0);var Xi=class extends nr{async listMySearches(){let e=G.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Ji=class extends nr{async listMyBookmarks(){let e=G.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var oh="ft-user-assets",Qi=Rr.get({name:oh,initialState:{savedSearches:void 0,bookmarks:void 0}}),_s=class{constructor(){this.currentSession=G.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ji,this.savedSearchesService=new Xi,G.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=G.getState();De((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Qi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Qi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Qi.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Qi.actions.bookmarks(t)}}},bL=new _s;var ks=class{addCommand(e,t=!1){G.commands.add(e,t)}consumeCommand(e){return G.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ks;var Ps=class{highlightHtml(e,t,i){Na(e,t,i)}};window.FluidTopicsHighlightHtmlService=new Ps;var Is=class{isDate(e){var t,i,n,a;return(a=(n=((i=(t=G.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,t){var i,n,a;return Jr.format(e,(i=t?.locale)!==null&&i!==void 0?i:G.getState().uiLocale,(n=t?.longFormat)!==null&&n!==void 0?n:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Is;H("ft-app-context")(xe);var te=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var fp={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},Ts=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ih=()=>{},K=class extends M{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Kt(fp,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new $r(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=ot.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new At(this),this.selectedFacetsManager=new Rt(this),this.desktopSearchBarManager=new Jo(this),this.mobileSearchBarManager=new Xo(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new ce(10),this.updateLocalesDebouncer=new ce(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(t=>t.contentLocales).catch(()=>[]).then(t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new ce(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(t=>t===this.floatingContainer))},this.compareUnknownFilters=(e,t)=>e.valueFilter&&t.valueFilter?this.compareValueFilters(e.valueFilter,t.valueFilter):e.dateFilter&&t.dateFilter?this.compareDateFilters(e.dateFilter,t.dateFilter):e.rangeFilter&&t.rangeFilter?this.compareRangeFilters(e.rangeFilter,t.rangeFilter):!1,this.compareValueFilters=(e,t)=>e.negative==t.negative&&e.values.length===t.values.length&&e.values.every(i=>t.values.includes(i)),this.compareDateFilters=(e,t)=>e.type===t.type,this.compareRangeFilters=(e,t)=>e.from===t.from&&e.to===t.to,this.compareFilters=(e,t)=>e.key===t.key&&this.compareUnknownFilters(e,t),this.compareRequests=(e,t)=>(e.contentLocale==null||t.contentLocale==null||e.contentLocale===t.contentLocale)&&e.metadataFilters.length===t.metadataFilters.length&&e.metadataFilters.every(i=>t.metadataFilters.some(n=>this.compareFilters(i,n))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(t=>{var i,n;return((n=(i=t.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(t.key)}).map(t=>({id:t.key}));return[...this.displayedFilters.map(t=>({id:t})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===ot.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await Ei(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return w`
|
|
3259
3259
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
3260
3260
|
${this.renderSearchBar()}
|
|
3261
3261
|
`}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():w`
|
|
@@ -3280,7 +3280,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3280
3280
|
</div>
|
|
3281
3281
|
</ft-accordion-item>
|
|
3282
3282
|
`:null}
|
|
3283
|
-
${Le(this.facets,t=>t.key,t=>{let i=
|
|
3283
|
+
${Le(this.facets,t=>t.key,t=>{let i=Cs(t),n=t.key.replace(":","-"),a=$d(i);return t.rootNodes.length>0?w`
|
|
3284
3284
|
<ft-accordion-item data-facet-key="${t.key}">
|
|
3285
3285
|
<div class="ft-search-bar--filter-label" slot="toggle">
|
|
3286
3286
|
<ft-typography variant="button">${t.label}</ft-typography>
|
|
@@ -3373,7 +3373,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3373
3373
|
${this.getContentLocaleRadioGroup()}
|
|
3374
3374
|
</div>
|
|
3375
3375
|
`:z}
|
|
3376
|
-
${Le(this.facets,e=>e.key,e=>{let t=
|
|
3376
|
+
${Le(this.facets,e=>e.key,e=>{let t=Cs(e),i=t.options.some(a=>{var s,l;return((l=(s=a.subOptions)===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return w`
|
|
3377
3377
|
<ft-filter
|
|
3378
3378
|
class="${i?"ft-search-bar--hierarchical-filter":""}"
|
|
3379
3379
|
part="filters filter filter-${n}"
|
|
@@ -3392,14 +3392,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3392
3392
|
></ft-filter>
|
|
3393
3393
|
`})}
|
|
3394
3394
|
</ft-snap-scroll>
|
|
3395
|
-
`:z}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var t,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new Kt(
|
|
3395
|
+
`:z}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var t,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new Kt(fp,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=d=>this.availableContentLocales.some(p=>p.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(t=this.availableContentLocales[0])===null||t===void 0?void 0:t.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(p=>Hi(p)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(d=>d.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new Ts(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var t,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((t=this.floatingContainer)===null||t===void 0||t.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let t=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),t.set(n.key,n)})).catch(ih)),this.facets=[];for(let i of this.facetsRequest)t.has(i.id)?this.facets.push(t.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var t;e.key==="Escape"&&(this.displayFacets=!1,(t=this.filtersOpener)===null||t===void 0||t.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(t=>t.toLowerCase()!==this.query.toLowerCase()).filter((t,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!vs&&this.focusInput(),G.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),G.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,t){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&qe(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=t.includes(a.value))}),t.length&&i.push({key:e,valueFilter:{negative:!1,values:t}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(t=>qe(t.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?z:w`
|
|
3396
3396
|
<div class="ft-search-bar--floating-panel"
|
|
3397
3397
|
id="ft-search-bar-floating-panel"
|
|
3398
3398
|
@keyup=${this.onFloatingContainerKeyUp}
|
|
3399
3399
|
part="floating-panel"
|
|
3400
3400
|
tabindex="-1">
|
|
3401
3401
|
${this.renderDesktopMenu()}
|
|
3402
|
-
</div>`}enableFocusReactionOnAnyUserInteraction(){this.addEventListener("blur",this.enableFocusReactionCallback),this.addEventListener("click",this.enableFocusReactionCallback),this.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){this.reactToFocus=!0,this.removeEventListener("blur",this.enableFocusReactionCallback),this.removeEventListener("click",this.enableFocusReactionCallback),this.removeEventListener("keyup",this.enableFocusReactionCallback)}};K.elementDefinitions={"ft-accordion":Et,"ft-accordion-item":nt,"ft-button":Re,"ft-chip":Ce,"ft-filter":ne,"ft-filter-option":Qe,"ft-icon":me,"ft-ripple":Q,"ft-select":de,"ft-select-option":wt,"ft-size-watcher":Je,"ft-skeleton":ir,"ft-snap-scroll":we,"ft-tooltip":he,"ft-typography":ae,"ft-radio-group":Ge,"ft-radio":$e};K.styles=[
|
|
3402
|
+
</div>`}enableFocusReactionOnAnyUserInteraction(){this.addEventListener("blur",this.enableFocusReactionCallback),this.addEventListener("click",this.enableFocusReactionCallback),this.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){this.reactToFocus=!0,this.removeEventListener("blur",this.enableFocusReactionCallback),this.removeEventListener("click",this.enableFocusReactionCallback),this.removeEventListener("keyup",this.enableFocusReactionCallback)}};K.elementDefinitions={"ft-accordion":Et,"ft-accordion-item":nt,"ft-button":Re,"ft-chip":Ce,"ft-filter":ne,"ft-filter-option":Qe,"ft-icon":me,"ft-ripple":Q,"ft-select":de,"ft-select-option":wt,"ft-size-watcher":Je,"ft-skeleton":ir,"ft-snap-scroll":we,"ft-tooltip":he,"ft-typography":ae,"ft-radio-group":Ge,"ft-radio":$e};K.styles=[no,Uo,sp,lp,Rt.styles,At.styles];te([m({type:Boolean})],K.prototype,"dense",void 0);te([m()],K.prototype,"mode",void 0);te([m({type:Boolean})],K.prototype,"forceMobileMenuOpen",void 0);te([m({type:Boolean})],K.prototype,"forceMenuOpen",void 0);te([m()],K.prototype,"baseUrl",void 0);te([m()],K.prototype,"apiIntegrationIdentifier",void 0);te([m()],K.prototype,"contentLocale",void 0);te([W()],K.prototype,"availableContentLocales",void 0);te([W()],K.prototype,"availableContentLocalesInitialized",void 0);te([m()],K.prototype,"uiLocale",void 0);te([ke({})],K.prototype,"labels",void 0);te([ke([])],K.prototype,"displayedFilters",void 0);te([ke([])],K.prototype,"presets",void 0);te([m({type:String,reflect:!0})],K.prototype,"selectedPreset",void 0);te([ke([])],K.prototype,"priors",void 0);te([m()],K.prototype,"searchRequestSerializer",void 0);te([m({type:Boolean})],K.prototype,"focusOnDisplay",void 0);te([W()],K.prototype,"metadataFilters",void 0);te([W()],K.prototype,"sizeCategory",void 0);te([W()],K.prototype,"displayFacets",void 0);te([W()],K.prototype,"mobileMenuOpen",void 0);te([W()],K.prototype,"facets",void 0);te([W()],K.prototype,"facetsInitialized",void 0);te([D(".ft-search-bar--container")],K.prototype,"container",void 0);te([D(".ft-search-bar--filters-opener")],K.prototype,"filtersOpener",void 0);te([D(".ft-search-bar--floating-panel")],K.prototype,"floatingContainer",void 0);te([D("ft-snap-scroll.ft-search-bar--filters-container")],K.prototype,"scrollingFiltersContainer",void 0);te([D(".ft-search-bar--input")],K.prototype,"input",void 0);te([D(".ft-search-bar--launch-search")],K.prototype,"launchSearchButton",void 0);te([W()],K.prototype,"query",void 0);te([W()],K.prototype,"suggestions",void 0);te([W()],K.prototype,"recentSearches",void 0);te([W()],K.prototype,"scrollToFacet",void 0);te([W()],K.prototype,"api",void 0);te([W()],K.prototype,"reactToFocus",void 0);te([W()],K.prototype,"facetsLoaded",void 0);H("ft-search-bar")(K);})();
|
|
3403
3403
|
/*! Bundled license information:
|
|
3404
3404
|
|
|
3405
3405
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|