@fluid-topics/ft-reader-topic-metadata 1.2.25 → 1.2.26
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.
|
@@ -1352,7 +1352,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1352
1352
|
size=${this.resolveButtonSize()}
|
|
1353
1353
|
part="icon-button"
|
|
1354
1354
|
></ftds-button>
|
|
1355
|
-
`:le.nothing}resolveButtonSize(){switch(this.size){case tt.large:return tt.medium;case tt.medium:case tt.small:return tt.small}}getLabel(){return this.label||this.textContent}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Cr)}typographyVariant(){switch(this.size){case tt.large:return ht.body2medium;case tt.medium:return ht.caption1medium;case tt.small:return ht.caption2medium}}};Ct.elementDefinitions={"ft-typography":et,"ft-icon":J,"ftds-button":Ot};Ct.styles=wi;Xe([(0,se.property)({type:Boolean})],Ct.prototype,"removable",void 0);Xe([(0,se.property)()],Ct.prototype,"removeButtonLabel",void 0);Xe([(0,se.property)()],Ct.prototype,"label",void 0);Xe([(0,se.property)()],Ct.prototype,"icon",void 0);Xe([(0,se.query)("ft-typography slot")],Ct.prototype,"slottedContent",void 0);(0,wr.customElement)("ft-chip")(G);(0,wr.customElement)("ftds-chip")(Ct);var Jr=C(Y());function Qc(e,o){if(e===o)return!0;if(e&&o&&typeof e=="object"&&typeof o=="object"){if(e.constructor!==o.constructor)return!1;var r,n,a;if(Array.isArray(e)){if(r=e.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!Po(e[n],o[n]))return!1;return!0}if(e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(n of e.entries())if(!o.has(n[0]))return!1;for(n of e.entries())if(!Po(n[1],o.get(n[0])))return!1;return!0}if(e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(n of e.entries())if(!o.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===o.valueOf();if(a=Object.keys(e),r=a.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,a[n]))return!1;for(n=r;n--!==0;){var c=a[n];if(!Po(e[c],o[c]))return!1}return!0}return e!==e&&o!==o}function Po(e,o){try{return Qc(e,o)}catch{return!1}}function Je(e,o){return!Po(e,o)}var Ni=C(Y(),1);var Er=e=>{let o=e??{};return(r,n)=>{var a;let c={hasChanged:Je,attribute:!1,...o};(0,Ni.property)(c)(r,n);let l=r.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(n,{selector:(a=o.selector)!==null&&a!==void 0?a:d=>d[n],store:o.store})}};var Io=class{constructor(){this.queue=[]}add(o,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==o.type)),this.queue.push(o)}consume(o){let r=this.queue.find(n=>n.type===o);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var Qe=C(Y(),1);var Ai=C(Y(),1);function Ri(e,o){let r=()=>JSON.parse(JSON.stringify(e));return(0,Ai.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Je,...o??{}})}var $o=class{constructor(o=0){this.timeout=o,this.callbacks=[]}run(o,r){return this.callbacks=[o],this.debounce(r)}queue(o,r){return this.callbacks.push(o),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(o){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),o??this.timeout),this.promise}async runCallbacks(){var o,r;let n=[...this.callbacks];this.callbacks=[];let a=(o=this.rejectPromise)!==null&&o!==void 0?o:()=>null,c=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(d){a(d);return}c(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Pi=C(H(),1);var ko=window,tl=ko.ShadowRoot&&(ko.ShadyCSS===void 0||ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jh=Symbol();var Li=(e,o)=>{tl?e.adoptedStyleSheets=o.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):o.forEach(r=>{let n=document.createElement("style"),a=ko.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)})};var To=class extends Pi.LitElement{createRenderRoot(){let o=this.constructor;o.elementDefinitions&&!o.registry&&(o.registry=new CustomElementRegistry,Object.entries(o.elementDefinitions).forEach(([a,c])=>o.registry.define(a,c)));let r={...o.shadowRootOptions,customElements:o.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Li(n,o.elementStyles),n}};var Bo=function(e,o,r,n){var a=arguments.length,c=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(c=(a<3?l(c):a>3?l(o,r,c):l(o,r))||c);return a>3&&c&&Object.defineProperty(o,r,c),c},Ti,Ii=Symbol("constructorPrototype"),$i=Symbol("constructorName"),Bi=Symbol("exportpartsDebouncer"),ki=Symbol("dynamicDependenciesLoaded"),Kt=class extends To{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ti]=new $o(5),this[$i]=this.constructor.name,this[Ii]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$i]&&Object.setPrototypeOf(this,this[Ii])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let o=this.constructor;o[ki]||(o[ki]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(o){super.updated(o),this.updateComplete.then(()=>{this.contentAvailableCallback(o),this.applyCustomStylesheet(o),this.scheduleExportpartsUpdate()})}contentAvailableCallback(o){}applyCustomStylesheet(o){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(c=>c.remove()),this.useAdoptedStyleSheets){if(o.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(c){console.error(c,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let c=document.createElement("style");c.classList.add("ft-lit-element--custom-stylesheet"),c.innerHTML=this.customStylesheet,this.shadowRoot.append(c)}}scheduleExportpartsUpdate(){var o,r,n;(!((o=this.exportpartsPrefix)===null||o===void 0)&&o.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Bi].run(()=>{var a,c;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((c=this.exportpartsPrefixes)===null||c===void 0?void 0:c.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(o){var r,n,a,c,l,d;let p=m=>m!=null&&m.trim().length>0,f=o.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(c=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&c!==void 0?c:[],g=(d=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...b,...g).filter(p).map(v=>v.trim()).forEach(v=>y.add(v))}if(y.size===0){this.removeAttribute("exportparts");return}let h=[...y.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Ti=Bi;Bo([(0,Qe.property)()],Kt.prototype,"exportpartsPrefix",void 0);Bo([Ri([])],Kt.prototype,"exportpartsPrefixes",void 0);Bo([(0,Qe.property)()],Kt.prototype,"customStylesheet",void 0);Bo([(0,Qe.state)()],Kt.prototype,"useAdoptedStyleSheets",void 0);function to(e){var o;return(o=e?.isFtReduxStore)!==null&&o!==void 0?o:!1}var Wi,_i,Di,eo=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),de=Symbol("internalStores"),oo=class extends Kt{constructor(){super(...arguments),this[Wi]=new Map,this[_i]=new Map,this[Di]=new Map}get reduxConstructor(){return this.constructor}update(o){super.update(o),[...this.reduxConstructor.reduxReactiveProperties].some(r=>o.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[de].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[de].values()][0]}getStore(o){return o==null?this.getUnnamedStore():this[de].get(o)}addStore(o,r){var n;r=(n=r??(to(o)?o.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[de].set(r,o),this.subscribeToStore(r,o),this.updateFromStores()}removeStore(o){let r=typeof o=="string"?o:o.name;this.unsubscribeFromStore(r),this[de].delete(r)}setupStores(){this.unsubscribeFromStores(),this[de].forEach((o,r)=>this.subscribeToStore(r,o)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((o,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(o.store);a&&(o.store?this[Zt].has(o.store):this[Zt].size>0)&&(this[r]=o.selector(a.getState(),this))}})}subscribeToStore(o,r){var n;this[Zt].set(o,r.subscribe(()=>this.updateFromStores())),this[eo].set(o,[]),to(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,c)=>{if(typeof this[c]=="function"&&(!a.store||r.name===a.store)){let l=d=>this[c](d);r.addEventListener(a.eventName,l),this[eo].get(o).push(()=>r.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(o)}unsubscribeFromStores(){this[Zt].forEach((o,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(o){var r;this[Zt].has(o)&&this[Zt].get(o)(),this[Zt].delete(o),(r=this[eo].get(o))===null||r===void 0||r.forEach(n=>n()),this[eo].delete(o)}onStoreAvailable(o){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Wi=Zt,_i=de,Di=eo;oo.reduxProperties=new Map;oo.reduxReactiveProperties=new Set;oo.reduxEventListeners=new Map;function xt(e){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];if(0)var a,c;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function _t(e){return!!e&&!!e[M]}function wt(e){var o;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ll}(e)||Array.isArray(e)||!!e[ji]||!!(!((o=e.constructor)===null||o===void 0)&&o[ji])||Tr(e)||Br(e))}function fe(e,o,r){r===void 0&&(r=!1),Ie(e)===0?(r?Object.keys:Pe)(e).forEach(function(n){r&&typeof n=="symbol"||o(n,e[n],e)}):e.forEach(function(n,a){return o(a,n,e)})}function Ie(e){var o=e[M];return o?o.i>3?o.i-4:o.i:Array.isArray(e)?1:Tr(e)?2:Br(e)?3:0}function Le(e,o){return Ie(e)===2?e.has(o):Object.prototype.hasOwnProperty.call(e,o)}function el(e,o){return Ie(e)===2?e.get(o):e[o]}function Vi(e,o,r){var n=Ie(e);n===2?e.set(o,r):n===3?e.add(r):e[o]=r}function Ki(e,o){return e===o?e!==0||1/e==1/o:e!=e&&o!=o}function Tr(e){return il&&e instanceof Map}function Br(e){return cl&&e instanceof Set}function Yt(e){return e.o||e.t}function Wr(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var o=qi(e);delete o[M];for(var r=Pe(o),n=0;n<r.length;n++){var a=r[n],c=o[a];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(o[a]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),o)}function _r(e,o){return o===void 0&&(o=!1),Dr(e)||_t(e)||!wt(e)||(Ie(e)>1&&(e.set=e.add=e.clear=e.delete=ol),Object.freeze(e),o&&fe(e,function(r,n){return _r(n,!0)},!0)),e}function ol(){xt(2)}function Dr(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Lt(e){var o=kr[e];return o||xt(18,e),o}function rl(e,o){kr[e]||(kr[e]=o)}function Pr(){return no}function Nr(e,o){o&&(Lt("Patches"),e.u=[],e.s=[],e.v=o)}function Wo(e){Ir(e),e.p.forEach(nl),e.p=null}function Ir(e){e===no&&(no=e.l)}function zi(e){return no={p:[],l:no,h:e,m:!0,_:0}}function nl(e){var o=e[M];o.i===0||o.i===1?o.j():o.g=!0}function Ar(e,o){o._=o.p.length;var r=o.p[0],n=e!==void 0&&e!==r;return o.h.O||Lt("ES5").S(o,e,n),n?(r[M].P&&(Wo(o),xt(4)),wt(e)&&(e=_o(o,e),o.l||Do(o,e)),o.u&&Lt("Patches").M(r[M].t,e,o.u,o.s)):e=_o(o,r,[]),Wo(o),o.u&&o.v(o.u,o.s),e!==Yi?e:void 0}function _o(e,o,r){if(Dr(o))return o;var n=o[M];if(!n)return fe(o,function(d,p){return Mi(e,n,o,d,p,r)},!0),o;if(n.A!==e)return o;if(!n.P)return Do(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Wr(n.k):n.o,c=a,l=!1;n.i===3&&(c=new Set(a),a.clear(),l=!0),fe(c,function(d,p){return Mi(e,n,a,d,p,r,l)}),Do(e,a,!1),r&&e.u&&Lt("Patches").N(n,r,e.u,e.s)}return n.o}function Mi(e,o,r,n,a,c,l){if(_t(a)){var d=_o(e,a,c&&o&&o.i!==3&&!Le(o.R,n)?c.concat(n):void 0);if(Vi(r,n,d),!_t(d))return;e.m=!1}else l&&r.add(a);if(wt(a)&&!Dr(a)){if(!e.h.D&&e._<1)return;_o(e,a),o&&o.A.l||Do(e,a)}}function Do(e,o,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&_r(o,r)}function Rr(e,o){var r=e[M];return(r?Yt(r):e)[o]}function Hi(e,o){if(o in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,o);if(n)return n;r=Object.getPrototypeOf(r)}}function qt(e){e.P||(e.P=!0,e.l&&qt(e.l))}function Lr(e){e.o||(e.o=Wr(e.t))}function $r(e,o,r){var n=Tr(o)?Lt("MapSet").F(o,r):Br(o)?Lt("MapSet").T(o,r):e.O?function(a,c){var l=Array.isArray(a),d={i:l?1:0,A:c?c.A:Pr(),P:!1,I:!1,R:{},l:c,t:a,k:null,o:null,j:null,C:!1},p=d,f=ao;l&&(p=[d],f=ro);var y=Proxy.revocable(p,f),h=y.revoke,m=y.proxy;return d.k=m,d.j=h,m}(o,r):Lt("ES5").J(o,r);return(r?r.A:Pr()).p.push(n),n}function al(e){return _t(e)||xt(22,e),function o(r){if(!wt(r))return r;var n,a=r[M],c=Ie(r);if(a){if(!a.P&&(a.i<4||!Lt("ES5").K(a)))return a.t;a.I=!0,n=Ui(r,c),a.I=!1}else n=Ui(r,c);return fe(n,function(l,d){a&&el(a.t,l)===d||Vi(n,l,o(d))}),c===3?new Set(n):n}(e)}function Ui(e,o){switch(o){case 2:return new Map(e);case 3:return Array.from(e)}return Wr(e)}function Zi(){function e(l,d){var p=c[l];return p?p.enumerable=d:c[l]=p={configurable:!0,enumerable:d,get:function(){var f=this[M];return ao.get(f,l)},set:function(f){var y=this[M];ao.set(y,l,f)}},p}function o(l){for(var d=l.length-1;d>=0;d--){var p=l[d][M];if(!p.P)switch(p.i){case 5:n(p)&&qt(p);break;case 4:r(p)&&qt(p)}}}function r(l){for(var d=l.t,p=l.k,f=Pe(p),y=f.length-1;y>=0;y--){var h=f[y];if(h!==M){var m=d[h];if(m===void 0&&!Le(d,h))return!0;var b=p[h],g=b&&b[M];if(g?g.t!==m:!Ki(b,m))return!0}}var v=!!d[M];return f.length!==Pe(d).length+(v?0:1)}function n(l){var d=l.k;if(d.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(d,d.length-1);if(p&&!p.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function a(l){l.g&&xt(3,JSON.stringify(Yt(l)))}var c={};rl("ES5",{J:function(l,d){var p=Array.isArray(l),f=function(h,m){if(h){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var v=qi(m);delete v[M];for(var R=Pe(v),E=0;E<R.length;E++){var N=R[E];v[N]=e(N,h||!!v[N].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(p,l),y={i:p?5:4,A:d?d.A:Pr(),P:!1,I:!1,R:{},l:d,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,M,{value:y,writable:!0}),f},S:function(l,d,p){p?_t(d)&&d[M].A===l&&o(l.p):(l.u&&function f(y){if(y&&typeof y=="object"){var h=y[M];if(h){var m=h.t,b=h.k,g=h.R,v=h.i;if(v===4)fe(b,function(k){k!==M&&(m[k]!==void 0||Le(m,k)?g[k]||f(b[k]):(g[k]=!0,qt(h)))}),fe(m,function(k){b[k]!==void 0||Le(b,k)||(g[k]=!1,qt(h))});else if(v===5){if(n(h)&&(qt(h),g.length=!0),b.length<m.length)for(var R=b.length;R<m.length;R++)g[R]=!1;else for(var E=m.length;E<b.length;E++)g[E]=!0;for(var N=Math.min(b.length,m.length),L=0;L<N;L++)b.hasOwnProperty(L)||(g[L]=!0),g[L]===void 0&&f(b[L])}}}}(l.p[0]),o(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Gi,no,zr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",il=typeof Map<"u",cl=typeof Set<"u",Fi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Yi=zr?Symbol.for("immer-nothing"):((Gi={})["immer-nothing"]=!0,Gi),ji=zr?Symbol.for("immer-draftable"):"__$immer_draftable",M=zr?Symbol.for("immer-state"):"__$immer_state";var ll=""+Object.prototype.constructor,Pe=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,qi=Object.getOwnPropertyDescriptors||function(e){var o={};return Pe(e).forEach(function(r){o[r]=Object.getOwnPropertyDescriptor(e,r)}),o},kr={},ao={get:function(e,o){if(o===M)return e;var r=Yt(e);if(!Le(r,o))return function(a,c,l){var d,p=Hi(c,l);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,r,o);var n=r[o];return e.I||!wt(n)?n:n===Rr(e.t,o)?(Lr(e),e.o[o]=$r(e.A.h,n,e)):n},has:function(e,o){return o in Yt(e)},ownKeys:function(e){return Reflect.ownKeys(Yt(e))},set:function(e,o,r){var n=Hi(Yt(e),o);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Rr(Yt(e),o),c=a?.[M];if(c&&c.t===r)return e.o[o]=r,e.R[o]=!1,!0;if(Ki(r,a)&&(r!==void 0||Le(e.t,o)))return!0;Lr(e),qt(e)}return e.o[o]===r&&(r!==void 0||o in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[o])||(e.o[o]=r,e.R[o]=!0),!0},deleteProperty:function(e,o){return Rr(e.t,o)!==void 0||o in e.t?(e.R[o]=!1,Lr(e),qt(e)):delete e.R[o],e.o&&delete e.o[o],!0},getOwnPropertyDescriptor:function(e,o){var r=Yt(e),n=Reflect.getOwnPropertyDescriptor(r,o);return n&&{writable:!0,configurable:e.i!==1||o!=="length",enumerable:n.enumerable,value:r[o]}},defineProperty:function(){xt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){xt(12)}},ro={};fe(ao,function(e,o){ro[e]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}}),ro.deleteProperty=function(e,o){return ro.set.call(this,e,o,void 0)},ro.set=function(e,o,r){return ao.set.call(this,e[0],o,r,e[0])};var sl=function(){function e(r){var n=this;this.O=Fi,this.D=!0,this.produce=function(a,c,l){if(typeof a=="function"&&typeof c!="function"){var d=c;c=a;var p=n;return function(v){var R=this;v===void 0&&(v=d);for(var E=arguments.length,N=Array(E>1?E-1:0),L=1;L<E;L++)N[L-1]=arguments[L];return p.produce(v,function(k){var B;return(B=c).call.apply(B,[R,k].concat(N))})}}var f;if(typeof c!="function"&&xt(6),l!==void 0&&typeof l!="function"&&xt(7),wt(a)){var y=zi(n),h=$r(n,a,void 0),m=!0;try{f=c(h),m=!1}finally{m?Wo(y):Ir(y)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Nr(y,l),Ar(v,y)},function(v){throw Wo(y),v}):(Nr(y,l),Ar(f,y))}if(!a||typeof a!="object"){if((f=c(a))===void 0&&(f=a),f===Yi&&(f=void 0),n.D&&_r(f,!0),l){var b=[],g=[];Lt("Patches").M(a,f,b,g),l(b,g)}return f}xt(21,a)},this.produceWithPatches=function(a,c){if(typeof a=="function")return function(f){for(var y=arguments.length,h=Array(y>1?y-1:0),m=1;m<y;m++)h[m-1]=arguments[m];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(h))})};var l,d,p=n.produce(a,c,function(f,y){l=f,d=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,d]}):[p,l,d]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var o=e.prototype;return o.createDraft=function(r){wt(r)||xt(8),_t(r)&&(r=al(r));var n=zi(this),a=$r(this,r,void 0);return a[M].C=!0,Ir(n),a},o.finishDraft=function(r,n){var a=r&&r[M],c=a.A;return Nr(c,n),Ar(void 0,c)},o.setAutoFreeze=function(r){this.D=r},o.setUseProxies=function(r){r&&!Fi&&xt(20),this.O=r},o.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var c=n[a];if(c.path.length===0&&c.op==="replace"){r=c.value;break}}a>-1&&(n=n.slice(a+1));var l=Lt("Patches").$;return _t(r)?l(r,n):this.produce(r,function(d){return l(d,n)})},e}(),ft=new sl,dl=ft.produce,rm=ft.produceWithPatches.bind(ft),nm=ft.setAutoFreeze.bind(ft),am=ft.setUseProxies.bind(ft),im=ft.applyPatches.bind(ft),cm=ft.createDraft.bind(ft),lm=ft.finishDraft.bind(ft),zo=dl;function Xt(e){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Xt(e)}function Mr(e,o){if(Xt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,o||"default");if(Xt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(e)}function Hr(e){var o=Mr(e,"string");return Xt(o)==="symbol"?o:String(o)}function Ur(e,o,r){return o=Hr(o),o in e?Object.defineProperty(e,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[o]=r,e}function Xi(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Mo(e){for(var o=1;o<arguments.length;o++){var r=arguments[o]!=null?arguments[o]:{};o%2?Xi(Object(r),!0).forEach(function(n){Ur(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xi(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Q(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Ji=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Gr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ho={INIT:"@@redux/INIT"+Gr(),REPLACE:"@@redux/REPLACE"+Gr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Gr()}};function fl(e){if(typeof e!="object"||e===null)return!1;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(e)===o}function Fr(e,o,r){var n;if(typeof o=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Q(0));if(typeof o=="function"&&typeof r>"u"&&(r=o,o=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Q(1));return r(Fr)(e,o)}if(typeof e!="function")throw new Error(Q(2));var a=e,c=o,l=[],d=l,p=!1;function f(){d===l&&(d=l.slice())}function y(){if(p)throw new Error(Q(3));return c}function h(v){if(typeof v!="function")throw new Error(Q(4));if(p)throw new Error(Q(5));var R=!0;return f(),d.push(v),function(){if(R){if(p)throw new Error(Q(6));R=!1,f();var N=d.indexOf(v);d.splice(N,1),l=null}}}function m(v){if(!fl(v))throw new Error(Q(7));if(typeof v.type>"u")throw new Error(Q(8));if(p)throw new Error(Q(9));try{p=!0,c=a(c,v)}finally{p=!1}for(var R=l=d,E=0;E<R.length;E++){var N=R[E];N()}return v}function b(v){if(typeof v!="function")throw new Error(Q(10));a=v,m({type:Ho.REPLACE})}function g(){var v,R=h;return v={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(Q(11));function L(){N.next&&N.next(y())}L();var k=R(L);return{unsubscribe:k}}},v[Ji]=function(){return this},v}return m({type:Ho.INIT}),n={dispatch:m,subscribe:h,getState:y,replaceReducer:b},n[Ji]=g,n}function pl(e){Object.keys(e).forEach(function(o){var r=e[o],n=r(void 0,{type:Ho.INIT});if(typeof n>"u")throw new Error(Q(12));if(typeof r(void 0,{type:Ho.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Q(13))})}function Qi(e){for(var o=Object.keys(e),r={},n=0;n<o.length;n++){var a=o[n];typeof e[a]=="function"&&(r[a]=e[a])}var c=Object.keys(r),l,d;try{pl(r)}catch(p){d=p}return function(f,y){if(f===void 0&&(f={}),d)throw d;if(0)var h;for(var m=!1,b={},g=0;g<c.length;g++){var v=c[g],R=r[v],E=f[v],N=R(E,y);if(typeof N>"u"){var L=y&&y.type;throw new Error(Q(14))}b[v]=N,m=m||N!==E}return m=m||c.length!==Object.keys(f).length,m?b:f}}function $e(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return o.length===0?function(n){return n}:o.length===1?o[0]:o.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function tc(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),c=function(){throw new Error(Q(15))},l={getState:a.getState,dispatch:function(){return c.apply(void 0,arguments)}},d=o.map(function(p){return p(l)});return c=$e.apply(void 0,d)(a.dispatch),Mo(Mo({},a),{},{dispatch:c})}}}function ec(e){var o=function(n){var a=n.dispatch,c=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,c,e):l(d)}}};return o}var oc=ec();oc.withExtraArgument=ec;var jr=oc;var cc=function(){var e=function(o,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(n[c]=a[c])},e(o,r)};return function(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(o,r);function n(){this.constructor=o}o.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ul=function(e,o){var r={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},n,a,c,l;return l={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(f){return function(y){return p([f,y])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(c=f[0]&2?a.return:f[0]?a.throw||((c=a.return)&&c.call(a),0):a.next)&&!(c=c.call(a,f[1])).done)return c;switch(a=0,c&&(f=[f[0]&2,c.value]),f[0]){case 0:case 1:c=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(c=r.trys,!(c=c.length>0&&c[c.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!c||f[1]>c[0]&&f[1]<c[3])){r.label=f[1];break}if(f[0]===6&&r.label<c[1]){r.label=c[1],c=f;break}if(c&&r.label<c[2]){r.label=c[2],r.ops.push(f);break}c[2]&&r.ops.pop(),r.trys.pop();continue}f=o.call(e,r)}catch(y){f=[6,y],a=0}finally{n=c=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},ke=function(e,o){for(var r=0,n=o.length,a=e.length;r<n;r++,a++)e[a]=o[r];return e},yl=Object.defineProperty,hl=Object.defineProperties,ml=Object.getOwnPropertyDescriptors,rc=Object.getOwnPropertySymbols,gl=Object.prototype.hasOwnProperty,bl=Object.prototype.propertyIsEnumerable,nc=function(e,o,r){return o in e?yl(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r},Jt=function(e,o){for(var r in o||(o={}))gl.call(o,r)&&nc(e,r,o[r]);if(rc)for(var n=0,a=rc(o);n<a.length;n++){var r=a[n];bl.call(o,r)&&nc(e,r,o[r])}return e},Vr=function(e,o){return hl(e,ml(o))},xl=function(e,o,r){return new Promise(function(n,a){var c=function(p){try{d(r.next(p))}catch(f){a(f)}},l=function(p){try{d(r.throw(p))}catch(f){a(f)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(c,l)};d((r=r.apply(e,o)).next())})};var vl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?$e:$e.apply(null,arguments)},Nm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Sl(e){if(typeof e!="object"||e===null)return!1;var o=Object.getPrototypeOf(e);if(o===null)return!0;for(var r=o;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return o===r}var Ol=function(e){cc(o,e);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,ke([void 0],r[0].concat(this)))):new(o.bind.apply(o,ke([void 0],r.concat(this))))},o}(Array),Cl=function(e){cc(o,e);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,ke([void 0],r[0].concat(this)))):new(o.bind.apply(o,ke([void 0],r.concat(this))))},o}(Array);function Yr(e){return wt(e)?zo(e,function(){}):e}function wl(e){return typeof e=="boolean"}function El(){return function(o){return Nl(o)}}function Nl(e){e===void 0&&(e={});var o=e.thunk,r=o===void 0?!0:o,n=e.immutableCheck,a=n===void 0?!0:n,c=e.serializableCheck,l=c===void 0?!0:c,d=new Ol;if(r&&(wl(r)?d.push(jr):d.push(jr.withExtraArgument(r.extraArgument))),0){if(a)var p;if(l)var f}return d}var Kr=!0;function lc(e){var o=El(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,c=r.middleware,l=c===void 0?o():c,d=r.devTools,p=d===void 0?!0:d,f=r.preloadedState,y=f===void 0?void 0:f,h=r.enhancers,m=h===void 0?void 0:h,b;if(typeof a=="function")b=a;else if(Sl(a))b=Qi(a);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 g=l;if(typeof g=="function"&&(g=g(o),!Kr&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Kr&&g.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=tc.apply(void 0,g),R=$e;p&&(R=vl(Jt({trace:!Kr},typeof p=="object"&&p)));var E=new Cl(v),N=E;Array.isArray(m)?N=ke([v],m):typeof m=="function"&&(N=m(E));var L=R.apply(void 0,N);return Fr(b,y,L)}function Qt(e,o){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(o){var c=o.apply(void 0,n);if(!c)throw new Error("prepareAction did not return an object");return Jt(Jt({type:e,payload:c.payload},"meta"in c&&{meta:c.meta}),"error"in c&&{error:c.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function sc(e){var o={},r=[],n,a={addCase:function(c,l){var d=typeof c=="string"?c:c.type;if(d in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[d]=l,a},addMatcher:function(c,l){return r.push({matcher:c,reducer:l}),a},addDefaultCase:function(c){return n=c,a}};return e(a),[o,r,n]}function Al(e){return typeof e=="function"}function Rl(e,o,r,n){r===void 0&&(r=[]);var a=typeof o=="function"?sc(o):[o,r,n],c=a[0],l=a[1],d=a[2],p;if(Al(e))p=function(){return Yr(e())};else{var f=Yr(e);p=function(){return f}}function y(h,m){h===void 0&&(h=p());var b=ke([c[m.type]],l.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[d]),b.reduce(function(g,v){if(v)if(_t(g)){var R=g,E=v(R,m);return E===void 0?g:E}else{if(wt(g))return zo(g,function(N){return v(N,m)});var E=v(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},h)}return y.getInitialState=p,y}function Ll(e,o){return e+"/"+o}function dc(e){var o=e.name;if(!o)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:Yr(e.initialState),n=e.reducers||{},a=Object.keys(n),c={},l={},d={};a.forEach(function(y){var h=n[y],m=Ll(o,y),b,g;"reducer"in h?(b=h.reducer,g=h.prepare):b=h,c[y]=b,l[m]=b,d[y]=g?Qt(m,g):Qt(m)});function p(){var y=typeof e.extraReducers=="function"?sc(e.extraReducers):[e.extraReducers],h=y[0],m=h===void 0?{}:h,b=y[1],g=b===void 0?[]:b,v=y[2],R=v===void 0?void 0:v,E=Jt(Jt({},m),l);return Rl(r,function(N){for(var L in E)N.addCase(L,E[L]);for(var k=0,B=g;k<B.length;k++){var ut=B[k];N.addMatcher(ut.matcher,ut.reducer)}R&&N.addDefaultCase(R)})}var f;return{name:o,reducer:function(y,h){return f||(f=p()),f(y,h)},actions:d,caseReducers:c,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Pl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Il=function(e){e===void 0&&(e=21);for(var o="",r=e;r--;)o+=Pl[Math.random()*64|0];return o},$l=["name","message","stack","code"],Zr=function(){function e(o,r){this.payload=o,this.meta=r}return e}(),ac=function(){function e(o,r){this.payload=o,this.meta=r}return e}(),kl=function(e){if(typeof e=="object"&&e!==null){for(var o={},r=0,n=$l;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(o[a]=e[a])}return o}return{message:String(e)}},Pm=function(){function e(o,r,n){var a=Qt(o+"/fulfilled",function(y,h,m,b){return{payload:y,meta:Vr(Jt({},b||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),c=Qt(o+"/pending",function(y,h,m){return{payload:void 0,meta:Vr(Jt({},m||{}),{arg:h,requestId:y,requestStatus:"pending"})}}),l=Qt(o+"/rejected",function(y,h,m,b,g){return{payload:b,error:(n&&n.serializeError||kl)(y||"Rejected"),meta:Vr(Jt({},g||{}),{arg:m,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),d=!1,p=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function f(y){return function(h,m,b){var g=n?.idGenerator?n.idGenerator(y):Il(),v=new p,R,E=!1;function N(k){R=k,v.abort()}var L=function(){return xl(this,null,function(){var k,B,ut,zt,Vo,Mt,it;return ul(this,function(yt){switch(yt.label){case 0:return yt.trys.push([0,4,,5]),zt=(k=n?.condition)==null?void 0:k.call(n,y,{getState:m,extra:b}),Bl(zt)?[4,zt]:[3,2];case 1:zt=yt.sent(),yt.label=2;case 2:if(zt===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,Vo=new Promise(function(ct,te){return v.signal.addEventListener("abort",function(){return te({name:"AbortError",message:R||"Aborted"})})}),h(c(g,y,(B=n?.getPendingMeta)==null?void 0:B.call(n,{requestId:g,arg:y},{getState:m,extra:b}))),[4,Promise.race([Vo,Promise.resolve(r(y,{dispatch:h,getState:m,extra:b,requestId:g,signal:v.signal,abort:N,rejectWithValue:function(ct,te){return new Zr(ct,te)},fulfillWithValue:function(ct,te){return new ac(ct,te)}})).then(function(ct){if(ct instanceof Zr)throw ct;return ct instanceof ac?a(ct.payload,g,y,ct.meta):a(ct,g,y)})])];case 3:return ut=yt.sent(),[3,5];case 4:return Mt=yt.sent(),ut=Mt instanceof Zr?l(null,g,y,Mt.payload,Mt.meta):l(Mt,g,y),[3,5];case 5:return it=n&&!n.dispatchConditionRejection&&l.match(ut)&&ut.meta.condition,it||h(ut),[2,ut]}})})}();return Object.assign(L,{abort:N,requestId:g,arg:y,unwrap:function(){return L.then(Tl)}})}}return Object.assign(f,{pending:c,rejected:l,fulfilled:a,typePrefix:o})}return e.withTypes=function(){return e},e}();function Tl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Bl(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var fc="listener",pc="completed",uc="cancelled",Im="task-"+uc,$m="task-"+pc,km=fc+"-"+uc,Tm=fc+"-"+pc;var qr="listenerMiddleware";var Bm=Qt(qr+"/add"),Wm=Qt(qr+"/removeAll"),_m=Qt(qr+"/remove");var ic,Dm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(ic||(ic=Promise.resolve())).then(e).catch(function(o){return setTimeout(function(){throw o},0)})},Wl=function(e){return function(o){setTimeout(o,e)}},zm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Wl(10);Zi();function _l(e,o){return class extends e{constructor(){super(...arguments),this.eventBus=o??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Uo=class extends _l(Object){};window.ftReduxStores||(window.ftReduxStores={});var yc=class e extends Uo{static get(o){var r;let n=typeof o=="string"?o:o.name,a=typeof o=="string"?void 0:o,c=window.ftReduxStores[n];if(to(c))return c;if(a==null)return;let l=dc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),d=lc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[a.name]=new e(l,d)}constructor(o,r){super(),this.reduxSlice=o,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Io;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,c,l)=>{let d=c,p=a[d];return p?(...f)=>{let y=p(...f.map(n));return this.reduxStore.dispatch(y),y}:f=>{this.setState({[d]:n(f)})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(o){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(o).join("_"),overwrites:o})}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(o){throw new Error("Not implemented yet.")}subscribe(o){return this.reduxStore.subscribe(o)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Go=class{static format(o,r,n,a){return window.moment?window.moment(o).locale(r).format(this.getDateFormat(n,a)):o}static getDateFormat(o,r){return o?r?"lll":"ll":r?"L LT":"L"}};var Fo=C(T()),Dl="ft-app-info",Xr=class extends CustomEvent{constructor(o){super("authentication-change",{detail:o})}},zl={session:(e,o)=>{(0,Fo.deepEqual)(e.session,o.payload)||(e.session=o.payload,setTimeout(()=>io.dispatchEvent(new Xr(o.payload)),0))}},io=Fo.FtReduxStore.get({name:Dl,reducers:zl,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 jo=function(e,o,r,n){var a=arguments.length,c=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(c=(a<3?l(c):a>3?l(o,r,c):l(o,r))||c);return a>3&&c&&Object.defineProperty(o,r,c),c};function hc(e){class o extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(io)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,c;return((c=(a=this.metadataDescriptors.find(d=>d.key===n))===null||a===void 0?void 0:a.date)!==null&&c!==void 0?c:!1)?d=>Go.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return jo([(0,Jr.property)({type:Boolean})],o.prototype,"useLongDateFormat",void 0),jo([(0,Jr.property)({type:Boolean})],o.prototype,"useDateTimeFormat",void 0),jo([Er({store:io.name,selector:r=>{var n,a;return(a=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],o.prototype,"metadataDescriptors",void 0),jo([Er({store:io.name})],o.prototype,"uiLocale",void 0),o}var pe=function(e,o,r,n){var a=arguments.length,c=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(c=(a<3?l(c):a>3?l(o,r,c):l(o,r))||c);return a>3&&c&&Object.defineProperty(o,r,c),c},pt=class extends hc(lo){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.hierarchicalValueTruncatingLevel=3,this.editorMode=!1}render(){return Et.html`
|
|
1355
|
+
`:le.nothing}resolveButtonSize(){switch(this.size){case tt.large:return tt.medium;case tt.medium:case tt.small:return tt.small}}getLabel(){return this.label||this.textContent}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Cr)}typographyVariant(){switch(this.size){case tt.large:return ht.body2medium;case tt.medium:return ht.caption1medium;case tt.small:return ht.caption2medium}}};Ct.elementDefinitions={"ft-typography":et,"ft-icon":J,"ftds-button":Ot};Ct.styles=wi;Xe([(0,se.property)({type:Boolean})],Ct.prototype,"removable",void 0);Xe([(0,se.property)()],Ct.prototype,"removeButtonLabel",void 0);Xe([(0,se.property)()],Ct.prototype,"label",void 0);Xe([(0,se.property)()],Ct.prototype,"icon",void 0);Xe([(0,se.query)("ft-typography slot")],Ct.prototype,"slottedContent",void 0);(0,wr.customElement)("ft-chip")(G);(0,wr.customElement)("ftds-chip")(Ct);var Jr=C(Y());function Qc(e,o){if(e===o)return!0;if(e&&o&&typeof e=="object"&&typeof o=="object"){if(e.constructor!==o.constructor)return!1;var r,n,a;if(Array.isArray(e)){if(r=e.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!Po(e[n],o[n]))return!1;return!0}if(e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(n of e.entries())if(!o.has(n[0]))return!1;for(n of e.entries())if(!Po(n[1],o.get(n[0])))return!1;return!0}if(e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(n of e.entries())if(!o.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===o.valueOf();let c=l=>Object.keys(l).filter(d=>l[d]!=null);if(a=c(e),r=a.length,r!==c(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,a[n]))return!1;for(n=r;n--!==0;){let l=a[n];if(!Po(e[l],o[l]))return!1}return!0}return e!==e&&o!==o||e==null&&o==null}function Po(e,o){try{return Qc(e,o)}catch{return!1}}function Je(e,o){return!Po(e,o)}var Ni=C(Y(),1);var Er=e=>{let o=e??{};return(r,n)=>{var a;let c={hasChanged:Je,attribute:!1,...o};(0,Ni.property)(c)(r,n);let l=r.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(n,{selector:(a=o.selector)!==null&&a!==void 0?a:d=>d[n],store:o.store})}};var Io=class{constructor(){this.queue=[]}add(o,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==o.type)),this.queue.push(o)}consume(o){let r=this.queue.find(n=>n.type===o);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var Qe=C(Y(),1);var Ai=C(Y(),1);function Ri(e,o){let r=()=>JSON.parse(JSON.stringify(e));return(0,Ai.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Je,...o??{}})}var $o=class{constructor(o=0){this.timeout=o,this.callbacks=[]}run(o,r){return this.callbacks=[o],this.debounce(r)}queue(o,r){return this.callbacks.push(o),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(o){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),o??this.timeout),this.promise}async runCallbacks(){var o,r;let n=[...this.callbacks];this.callbacks=[];let a=(o=this.rejectPromise)!==null&&o!==void 0?o:()=>null,c=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(d){a(d);return}c(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Pi=C(H(),1);var ko=window,tl=ko.ShadowRoot&&(ko.ShadyCSS===void 0||ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jh=Symbol();var Li=(e,o)=>{tl?e.adoptedStyleSheets=o.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):o.forEach(r=>{let n=document.createElement("style"),a=ko.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)})};var To=class extends Pi.LitElement{createRenderRoot(){let o=this.constructor;o.elementDefinitions&&!o.registry&&(o.registry=new CustomElementRegistry,Object.entries(o.elementDefinitions).forEach(([a,c])=>o.registry.define(a,c)));let r={...o.shadowRootOptions,customElements:o.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Li(n,o.elementStyles),n}};var Bo=function(e,o,r,n){var a=arguments.length,c=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(c=(a<3?l(c):a>3?l(o,r,c):l(o,r))||c);return a>3&&c&&Object.defineProperty(o,r,c),c},Ti,Ii=Symbol("constructorPrototype"),$i=Symbol("constructorName"),Bi=Symbol("exportpartsDebouncer"),ki=Symbol("dynamicDependenciesLoaded"),Kt=class extends To{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ti]=new $o(5),this[$i]=this.constructor.name,this[Ii]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$i]&&Object.setPrototypeOf(this,this[Ii])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let o=this.constructor;o[ki]||(o[ki]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(o){super.updated(o),this.updateComplete.then(()=>{this.contentAvailableCallback(o),this.applyCustomStylesheet(o),this.scheduleExportpartsUpdate()})}contentAvailableCallback(o){}applyCustomStylesheet(o){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(c=>c.remove()),this.useAdoptedStyleSheets){if(o.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(c){console.error(c,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let c=document.createElement("style");c.classList.add("ft-lit-element--custom-stylesheet"),c.innerHTML=this.customStylesheet,this.shadowRoot.append(c)}}scheduleExportpartsUpdate(){var o,r,n;(!((o=this.exportpartsPrefix)===null||o===void 0)&&o.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Bi].run(()=>{var a,c;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((c=this.exportpartsPrefixes)===null||c===void 0?void 0:c.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(o){var r,n,a,c,l,d;let p=m=>m!=null&&m.trim().length>0,f=o.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(c=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&c!==void 0?c:[],g=(d=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...b,...g).filter(p).map(v=>v.trim()).forEach(v=>y.add(v))}if(y.size===0){this.removeAttribute("exportparts");return}let h=[...y.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Ti=Bi;Bo([(0,Qe.property)()],Kt.prototype,"exportpartsPrefix",void 0);Bo([Ri([])],Kt.prototype,"exportpartsPrefixes",void 0);Bo([(0,Qe.property)()],Kt.prototype,"customStylesheet",void 0);Bo([(0,Qe.state)()],Kt.prototype,"useAdoptedStyleSheets",void 0);function to(e){var o;return(o=e?.isFtReduxStore)!==null&&o!==void 0?o:!1}var Wi,_i,Di,eo=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),de=Symbol("internalStores"),oo=class extends Kt{constructor(){super(...arguments),this[Wi]=new Map,this[_i]=new Map,this[Di]=new Map}get reduxConstructor(){return this.constructor}update(o){super.update(o),[...this.reduxConstructor.reduxReactiveProperties].some(r=>o.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[de].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[de].values()][0]}getStore(o){return o==null?this.getUnnamedStore():this[de].get(o)}addStore(o,r){var n;r=(n=r??(to(o)?o.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[de].set(r,o),this.subscribeToStore(r,o),this.updateFromStores()}removeStore(o){let r=typeof o=="string"?o:o.name;this.unsubscribeFromStore(r),this[de].delete(r)}setupStores(){this.unsubscribeFromStores(),this[de].forEach((o,r)=>this.subscribeToStore(r,o)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((o,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(o.store);a&&(o.store?this[Zt].has(o.store):this[Zt].size>0)&&(this[r]=o.selector(a.getState(),this))}})}subscribeToStore(o,r){var n;this[Zt].set(o,r.subscribe(()=>this.updateFromStores())),this[eo].set(o,[]),to(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,c)=>{if(typeof this[c]=="function"&&(!a.store||r.name===a.store)){let l=d=>this[c](d);r.addEventListener(a.eventName,l),this[eo].get(o).push(()=>r.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(o)}unsubscribeFromStores(){this[Zt].forEach((o,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(o){var r;this[Zt].has(o)&&this[Zt].get(o)(),this[Zt].delete(o),(r=this[eo].get(o))===null||r===void 0||r.forEach(n=>n()),this[eo].delete(o)}onStoreAvailable(o){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Wi=Zt,_i=de,Di=eo;oo.reduxProperties=new Map;oo.reduxReactiveProperties=new Set;oo.reduxEventListeners=new Map;function xt(e){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];if(0)var a,c;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function _t(e){return!!e&&!!e[M]}function wt(e){var o;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ll}(e)||Array.isArray(e)||!!e[ji]||!!(!((o=e.constructor)===null||o===void 0)&&o[ji])||Tr(e)||Br(e))}function fe(e,o,r){r===void 0&&(r=!1),Ie(e)===0?(r?Object.keys:Pe)(e).forEach(function(n){r&&typeof n=="symbol"||o(n,e[n],e)}):e.forEach(function(n,a){return o(a,n,e)})}function Ie(e){var o=e[M];return o?o.i>3?o.i-4:o.i:Array.isArray(e)?1:Tr(e)?2:Br(e)?3:0}function Le(e,o){return Ie(e)===2?e.has(o):Object.prototype.hasOwnProperty.call(e,o)}function el(e,o){return Ie(e)===2?e.get(o):e[o]}function Vi(e,o,r){var n=Ie(e);n===2?e.set(o,r):n===3?e.add(r):e[o]=r}function Ki(e,o){return e===o?e!==0||1/e==1/o:e!=e&&o!=o}function Tr(e){return il&&e instanceof Map}function Br(e){return cl&&e instanceof Set}function Yt(e){return e.o||e.t}function Wr(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var o=qi(e);delete o[M];for(var r=Pe(o),n=0;n<r.length;n++){var a=r[n],c=o[a];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(o[a]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),o)}function _r(e,o){return o===void 0&&(o=!1),Dr(e)||_t(e)||!wt(e)||(Ie(e)>1&&(e.set=e.add=e.clear=e.delete=ol),Object.freeze(e),o&&fe(e,function(r,n){return _r(n,!0)},!0)),e}function ol(){xt(2)}function Dr(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Lt(e){var o=kr[e];return o||xt(18,e),o}function rl(e,o){kr[e]||(kr[e]=o)}function Pr(){return no}function Nr(e,o){o&&(Lt("Patches"),e.u=[],e.s=[],e.v=o)}function Wo(e){Ir(e),e.p.forEach(nl),e.p=null}function Ir(e){e===no&&(no=e.l)}function zi(e){return no={p:[],l:no,h:e,m:!0,_:0}}function nl(e){var o=e[M];o.i===0||o.i===1?o.j():o.g=!0}function Ar(e,o){o._=o.p.length;var r=o.p[0],n=e!==void 0&&e!==r;return o.h.O||Lt("ES5").S(o,e,n),n?(r[M].P&&(Wo(o),xt(4)),wt(e)&&(e=_o(o,e),o.l||Do(o,e)),o.u&&Lt("Patches").M(r[M].t,e,o.u,o.s)):e=_o(o,r,[]),Wo(o),o.u&&o.v(o.u,o.s),e!==Yi?e:void 0}function _o(e,o,r){if(Dr(o))return o;var n=o[M];if(!n)return fe(o,function(d,p){return Mi(e,n,o,d,p,r)},!0),o;if(n.A!==e)return o;if(!n.P)return Do(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Wr(n.k):n.o,c=a,l=!1;n.i===3&&(c=new Set(a),a.clear(),l=!0),fe(c,function(d,p){return Mi(e,n,a,d,p,r,l)}),Do(e,a,!1),r&&e.u&&Lt("Patches").N(n,r,e.u,e.s)}return n.o}function Mi(e,o,r,n,a,c,l){if(_t(a)){var d=_o(e,a,c&&o&&o.i!==3&&!Le(o.R,n)?c.concat(n):void 0);if(Vi(r,n,d),!_t(d))return;e.m=!1}else l&&r.add(a);if(wt(a)&&!Dr(a)){if(!e.h.D&&e._<1)return;_o(e,a),o&&o.A.l||Do(e,a)}}function Do(e,o,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&_r(o,r)}function Rr(e,o){var r=e[M];return(r?Yt(r):e)[o]}function Hi(e,o){if(o in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,o);if(n)return n;r=Object.getPrototypeOf(r)}}function qt(e){e.P||(e.P=!0,e.l&&qt(e.l))}function Lr(e){e.o||(e.o=Wr(e.t))}function $r(e,o,r){var n=Tr(o)?Lt("MapSet").F(o,r):Br(o)?Lt("MapSet").T(o,r):e.O?function(a,c){var l=Array.isArray(a),d={i:l?1:0,A:c?c.A:Pr(),P:!1,I:!1,R:{},l:c,t:a,k:null,o:null,j:null,C:!1},p=d,f=ao;l&&(p=[d],f=ro);var y=Proxy.revocable(p,f),h=y.revoke,m=y.proxy;return d.k=m,d.j=h,m}(o,r):Lt("ES5").J(o,r);return(r?r.A:Pr()).p.push(n),n}function al(e){return _t(e)||xt(22,e),function o(r){if(!wt(r))return r;var n,a=r[M],c=Ie(r);if(a){if(!a.P&&(a.i<4||!Lt("ES5").K(a)))return a.t;a.I=!0,n=Ui(r,c),a.I=!1}else n=Ui(r,c);return fe(n,function(l,d){a&&el(a.t,l)===d||Vi(n,l,o(d))}),c===3?new Set(n):n}(e)}function Ui(e,o){switch(o){case 2:return new Map(e);case 3:return Array.from(e)}return Wr(e)}function Zi(){function e(l,d){var p=c[l];return p?p.enumerable=d:c[l]=p={configurable:!0,enumerable:d,get:function(){var f=this[M];return ao.get(f,l)},set:function(f){var y=this[M];ao.set(y,l,f)}},p}function o(l){for(var d=l.length-1;d>=0;d--){var p=l[d][M];if(!p.P)switch(p.i){case 5:n(p)&&qt(p);break;case 4:r(p)&&qt(p)}}}function r(l){for(var d=l.t,p=l.k,f=Pe(p),y=f.length-1;y>=0;y--){var h=f[y];if(h!==M){var m=d[h];if(m===void 0&&!Le(d,h))return!0;var b=p[h],g=b&&b[M];if(g?g.t!==m:!Ki(b,m))return!0}}var v=!!d[M];return f.length!==Pe(d).length+(v?0:1)}function n(l){var d=l.k;if(d.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(d,d.length-1);if(p&&!p.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function a(l){l.g&&xt(3,JSON.stringify(Yt(l)))}var c={};rl("ES5",{J:function(l,d){var p=Array.isArray(l),f=function(h,m){if(h){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var v=qi(m);delete v[M];for(var R=Pe(v),E=0;E<R.length;E++){var N=R[E];v[N]=e(N,h||!!v[N].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(p,l),y={i:p?5:4,A:d?d.A:Pr(),P:!1,I:!1,R:{},l:d,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,M,{value:y,writable:!0}),f},S:function(l,d,p){p?_t(d)&&d[M].A===l&&o(l.p):(l.u&&function f(y){if(y&&typeof y=="object"){var h=y[M];if(h){var m=h.t,b=h.k,g=h.R,v=h.i;if(v===4)fe(b,function(k){k!==M&&(m[k]!==void 0||Le(m,k)?g[k]||f(b[k]):(g[k]=!0,qt(h)))}),fe(m,function(k){b[k]!==void 0||Le(b,k)||(g[k]=!1,qt(h))});else if(v===5){if(n(h)&&(qt(h),g.length=!0),b.length<m.length)for(var R=b.length;R<m.length;R++)g[R]=!1;else for(var E=m.length;E<b.length;E++)g[E]=!0;for(var N=Math.min(b.length,m.length),L=0;L<N;L++)b.hasOwnProperty(L)||(g[L]=!0),g[L]===void 0&&f(b[L])}}}}(l.p[0]),o(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Gi,no,zr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",il=typeof Map<"u",cl=typeof Set<"u",Fi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Yi=zr?Symbol.for("immer-nothing"):((Gi={})["immer-nothing"]=!0,Gi),ji=zr?Symbol.for("immer-draftable"):"__$immer_draftable",M=zr?Symbol.for("immer-state"):"__$immer_state";var ll=""+Object.prototype.constructor,Pe=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,qi=Object.getOwnPropertyDescriptors||function(e){var o={};return Pe(e).forEach(function(r){o[r]=Object.getOwnPropertyDescriptor(e,r)}),o},kr={},ao={get:function(e,o){if(o===M)return e;var r=Yt(e);if(!Le(r,o))return function(a,c,l){var d,p=Hi(c,l);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,r,o);var n=r[o];return e.I||!wt(n)?n:n===Rr(e.t,o)?(Lr(e),e.o[o]=$r(e.A.h,n,e)):n},has:function(e,o){return o in Yt(e)},ownKeys:function(e){return Reflect.ownKeys(Yt(e))},set:function(e,o,r){var n=Hi(Yt(e),o);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Rr(Yt(e),o),c=a?.[M];if(c&&c.t===r)return e.o[o]=r,e.R[o]=!1,!0;if(Ki(r,a)&&(r!==void 0||Le(e.t,o)))return!0;Lr(e),qt(e)}return e.o[o]===r&&(r!==void 0||o in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[o])||(e.o[o]=r,e.R[o]=!0),!0},deleteProperty:function(e,o){return Rr(e.t,o)!==void 0||o in e.t?(e.R[o]=!1,Lr(e),qt(e)):delete e.R[o],e.o&&delete e.o[o],!0},getOwnPropertyDescriptor:function(e,o){var r=Yt(e),n=Reflect.getOwnPropertyDescriptor(r,o);return n&&{writable:!0,configurable:e.i!==1||o!=="length",enumerable:n.enumerable,value:r[o]}},defineProperty:function(){xt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){xt(12)}},ro={};fe(ao,function(e,o){ro[e]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}}),ro.deleteProperty=function(e,o){return ro.set.call(this,e,o,void 0)},ro.set=function(e,o,r){return ao.set.call(this,e[0],o,r,e[0])};var sl=function(){function e(r){var n=this;this.O=Fi,this.D=!0,this.produce=function(a,c,l){if(typeof a=="function"&&typeof c!="function"){var d=c;c=a;var p=n;return function(v){var R=this;v===void 0&&(v=d);for(var E=arguments.length,N=Array(E>1?E-1:0),L=1;L<E;L++)N[L-1]=arguments[L];return p.produce(v,function(k){var B;return(B=c).call.apply(B,[R,k].concat(N))})}}var f;if(typeof c!="function"&&xt(6),l!==void 0&&typeof l!="function"&&xt(7),wt(a)){var y=zi(n),h=$r(n,a,void 0),m=!0;try{f=c(h),m=!1}finally{m?Wo(y):Ir(y)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Nr(y,l),Ar(v,y)},function(v){throw Wo(y),v}):(Nr(y,l),Ar(f,y))}if(!a||typeof a!="object"){if((f=c(a))===void 0&&(f=a),f===Yi&&(f=void 0),n.D&&_r(f,!0),l){var b=[],g=[];Lt("Patches").M(a,f,b,g),l(b,g)}return f}xt(21,a)},this.produceWithPatches=function(a,c){if(typeof a=="function")return function(f){for(var y=arguments.length,h=Array(y>1?y-1:0),m=1;m<y;m++)h[m-1]=arguments[m];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(h))})};var l,d,p=n.produce(a,c,function(f,y){l=f,d=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,d]}):[p,l,d]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var o=e.prototype;return o.createDraft=function(r){wt(r)||xt(8),_t(r)&&(r=al(r));var n=zi(this),a=$r(this,r,void 0);return a[M].C=!0,Ir(n),a},o.finishDraft=function(r,n){var a=r&&r[M],c=a.A;return Nr(c,n),Ar(void 0,c)},o.setAutoFreeze=function(r){this.D=r},o.setUseProxies=function(r){r&&!Fi&&xt(20),this.O=r},o.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var c=n[a];if(c.path.length===0&&c.op==="replace"){r=c.value;break}}a>-1&&(n=n.slice(a+1));var l=Lt("Patches").$;return _t(r)?l(r,n):this.produce(r,function(d){return l(d,n)})},e}(),ft=new sl,dl=ft.produce,rm=ft.produceWithPatches.bind(ft),nm=ft.setAutoFreeze.bind(ft),am=ft.setUseProxies.bind(ft),im=ft.applyPatches.bind(ft),cm=ft.createDraft.bind(ft),lm=ft.finishDraft.bind(ft),zo=dl;function Xt(e){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Xt(e)}function Mr(e,o){if(Xt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,o||"default");if(Xt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(e)}function Hr(e){var o=Mr(e,"string");return Xt(o)==="symbol"?o:String(o)}function Ur(e,o,r){return o=Hr(o),o in e?Object.defineProperty(e,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[o]=r,e}function Xi(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Mo(e){for(var o=1;o<arguments.length;o++){var r=arguments[o]!=null?arguments[o]:{};o%2?Xi(Object(r),!0).forEach(function(n){Ur(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xi(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Q(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Ji=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Gr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ho={INIT:"@@redux/INIT"+Gr(),REPLACE:"@@redux/REPLACE"+Gr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Gr()}};function fl(e){if(typeof e!="object"||e===null)return!1;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(e)===o}function Fr(e,o,r){var n;if(typeof o=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Q(0));if(typeof o=="function"&&typeof r>"u"&&(r=o,o=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Q(1));return r(Fr)(e,o)}if(typeof e!="function")throw new Error(Q(2));var a=e,c=o,l=[],d=l,p=!1;function f(){d===l&&(d=l.slice())}function y(){if(p)throw new Error(Q(3));return c}function h(v){if(typeof v!="function")throw new Error(Q(4));if(p)throw new Error(Q(5));var R=!0;return f(),d.push(v),function(){if(R){if(p)throw new Error(Q(6));R=!1,f();var N=d.indexOf(v);d.splice(N,1),l=null}}}function m(v){if(!fl(v))throw new Error(Q(7));if(typeof v.type>"u")throw new Error(Q(8));if(p)throw new Error(Q(9));try{p=!0,c=a(c,v)}finally{p=!1}for(var R=l=d,E=0;E<R.length;E++){var N=R[E];N()}return v}function b(v){if(typeof v!="function")throw new Error(Q(10));a=v,m({type:Ho.REPLACE})}function g(){var v,R=h;return v={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(Q(11));function L(){N.next&&N.next(y())}L();var k=R(L);return{unsubscribe:k}}},v[Ji]=function(){return this},v}return m({type:Ho.INIT}),n={dispatch:m,subscribe:h,getState:y,replaceReducer:b},n[Ji]=g,n}function pl(e){Object.keys(e).forEach(function(o){var r=e[o],n=r(void 0,{type:Ho.INIT});if(typeof n>"u")throw new Error(Q(12));if(typeof r(void 0,{type:Ho.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Q(13))})}function Qi(e){for(var o=Object.keys(e),r={},n=0;n<o.length;n++){var a=o[n];typeof e[a]=="function"&&(r[a]=e[a])}var c=Object.keys(r),l,d;try{pl(r)}catch(p){d=p}return function(f,y){if(f===void 0&&(f={}),d)throw d;if(0)var h;for(var m=!1,b={},g=0;g<c.length;g++){var v=c[g],R=r[v],E=f[v],N=R(E,y);if(typeof N>"u"){var L=y&&y.type;throw new Error(Q(14))}b[v]=N,m=m||N!==E}return m=m||c.length!==Object.keys(f).length,m?b:f}}function $e(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return o.length===0?function(n){return n}:o.length===1?o[0]:o.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function tc(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),c=function(){throw new Error(Q(15))},l={getState:a.getState,dispatch:function(){return c.apply(void 0,arguments)}},d=o.map(function(p){return p(l)});return c=$e.apply(void 0,d)(a.dispatch),Mo(Mo({},a),{},{dispatch:c})}}}function ec(e){var o=function(n){var a=n.dispatch,c=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,c,e):l(d)}}};return o}var oc=ec();oc.withExtraArgument=ec;var jr=oc;var cc=function(){var e=function(o,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(n[c]=a[c])},e(o,r)};return function(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(o,r);function n(){this.constructor=o}o.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ul=function(e,o){var r={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},n,a,c,l;return l={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(f){return function(y){return p([f,y])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(c=f[0]&2?a.return:f[0]?a.throw||((c=a.return)&&c.call(a),0):a.next)&&!(c=c.call(a,f[1])).done)return c;switch(a=0,c&&(f=[f[0]&2,c.value]),f[0]){case 0:case 1:c=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(c=r.trys,!(c=c.length>0&&c[c.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!c||f[1]>c[0]&&f[1]<c[3])){r.label=f[1];break}if(f[0]===6&&r.label<c[1]){r.label=c[1],c=f;break}if(c&&r.label<c[2]){r.label=c[2],r.ops.push(f);break}c[2]&&r.ops.pop(),r.trys.pop();continue}f=o.call(e,r)}catch(y){f=[6,y],a=0}finally{n=c=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},ke=function(e,o){for(var r=0,n=o.length,a=e.length;r<n;r++,a++)e[a]=o[r];return e},yl=Object.defineProperty,hl=Object.defineProperties,ml=Object.getOwnPropertyDescriptors,rc=Object.getOwnPropertySymbols,gl=Object.prototype.hasOwnProperty,bl=Object.prototype.propertyIsEnumerable,nc=function(e,o,r){return o in e?yl(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r},Jt=function(e,o){for(var r in o||(o={}))gl.call(o,r)&&nc(e,r,o[r]);if(rc)for(var n=0,a=rc(o);n<a.length;n++){var r=a[n];bl.call(o,r)&&nc(e,r,o[r])}return e},Vr=function(e,o){return hl(e,ml(o))},xl=function(e,o,r){return new Promise(function(n,a){var c=function(p){try{d(r.next(p))}catch(f){a(f)}},l=function(p){try{d(r.throw(p))}catch(f){a(f)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(c,l)};d((r=r.apply(e,o)).next())})};var vl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?$e:$e.apply(null,arguments)},Nm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Sl(e){if(typeof e!="object"||e===null)return!1;var o=Object.getPrototypeOf(e);if(o===null)return!0;for(var r=o;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return o===r}var Ol=function(e){cc(o,e);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,ke([void 0],r[0].concat(this)))):new(o.bind.apply(o,ke([void 0],r.concat(this))))},o}(Array),Cl=function(e){cc(o,e);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,ke([void 0],r[0].concat(this)))):new(o.bind.apply(o,ke([void 0],r.concat(this))))},o}(Array);function Yr(e){return wt(e)?zo(e,function(){}):e}function wl(e){return typeof e=="boolean"}function El(){return function(o){return Nl(o)}}function Nl(e){e===void 0&&(e={});var o=e.thunk,r=o===void 0?!0:o,n=e.immutableCheck,a=n===void 0?!0:n,c=e.serializableCheck,l=c===void 0?!0:c,d=new Ol;if(r&&(wl(r)?d.push(jr):d.push(jr.withExtraArgument(r.extraArgument))),0){if(a)var p;if(l)var f}return d}var Kr=!0;function lc(e){var o=El(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,c=r.middleware,l=c===void 0?o():c,d=r.devTools,p=d===void 0?!0:d,f=r.preloadedState,y=f===void 0?void 0:f,h=r.enhancers,m=h===void 0?void 0:h,b;if(typeof a=="function")b=a;else if(Sl(a))b=Qi(a);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 g=l;if(typeof g=="function"&&(g=g(o),!Kr&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Kr&&g.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=tc.apply(void 0,g),R=$e;p&&(R=vl(Jt({trace:!Kr},typeof p=="object"&&p)));var E=new Cl(v),N=E;Array.isArray(m)?N=ke([v],m):typeof m=="function"&&(N=m(E));var L=R.apply(void 0,N);return Fr(b,y,L)}function Qt(e,o){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(o){var c=o.apply(void 0,n);if(!c)throw new Error("prepareAction did not return an object");return Jt(Jt({type:e,payload:c.payload},"meta"in c&&{meta:c.meta}),"error"in c&&{error:c.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function sc(e){var o={},r=[],n,a={addCase:function(c,l){var d=typeof c=="string"?c:c.type;if(d in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[d]=l,a},addMatcher:function(c,l){return r.push({matcher:c,reducer:l}),a},addDefaultCase:function(c){return n=c,a}};return e(a),[o,r,n]}function Al(e){return typeof e=="function"}function Rl(e,o,r,n){r===void 0&&(r=[]);var a=typeof o=="function"?sc(o):[o,r,n],c=a[0],l=a[1],d=a[2],p;if(Al(e))p=function(){return Yr(e())};else{var f=Yr(e);p=function(){return f}}function y(h,m){h===void 0&&(h=p());var b=ke([c[m.type]],l.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[d]),b.reduce(function(g,v){if(v)if(_t(g)){var R=g,E=v(R,m);return E===void 0?g:E}else{if(wt(g))return zo(g,function(N){return v(N,m)});var E=v(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},h)}return y.getInitialState=p,y}function Ll(e,o){return e+"/"+o}function dc(e){var o=e.name;if(!o)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:Yr(e.initialState),n=e.reducers||{},a=Object.keys(n),c={},l={},d={};a.forEach(function(y){var h=n[y],m=Ll(o,y),b,g;"reducer"in h?(b=h.reducer,g=h.prepare):b=h,c[y]=b,l[m]=b,d[y]=g?Qt(m,g):Qt(m)});function p(){var y=typeof e.extraReducers=="function"?sc(e.extraReducers):[e.extraReducers],h=y[0],m=h===void 0?{}:h,b=y[1],g=b===void 0?[]:b,v=y[2],R=v===void 0?void 0:v,E=Jt(Jt({},m),l);return Rl(r,function(N){for(var L in E)N.addCase(L,E[L]);for(var k=0,B=g;k<B.length;k++){var ut=B[k];N.addMatcher(ut.matcher,ut.reducer)}R&&N.addDefaultCase(R)})}var f;return{name:o,reducer:function(y,h){return f||(f=p()),f(y,h)},actions:d,caseReducers:c,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Pl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Il=function(e){e===void 0&&(e=21);for(var o="",r=e;r--;)o+=Pl[Math.random()*64|0];return o},$l=["name","message","stack","code"],Zr=function(){function e(o,r){this.payload=o,this.meta=r}return e}(),ac=function(){function e(o,r){this.payload=o,this.meta=r}return e}(),kl=function(e){if(typeof e=="object"&&e!==null){for(var o={},r=0,n=$l;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(o[a]=e[a])}return o}return{message:String(e)}},Pm=function(){function e(o,r,n){var a=Qt(o+"/fulfilled",function(y,h,m,b){return{payload:y,meta:Vr(Jt({},b||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),c=Qt(o+"/pending",function(y,h,m){return{payload:void 0,meta:Vr(Jt({},m||{}),{arg:h,requestId:y,requestStatus:"pending"})}}),l=Qt(o+"/rejected",function(y,h,m,b,g){return{payload:b,error:(n&&n.serializeError||kl)(y||"Rejected"),meta:Vr(Jt({},g||{}),{arg:m,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),d=!1,p=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function f(y){return function(h,m,b){var g=n?.idGenerator?n.idGenerator(y):Il(),v=new p,R,E=!1;function N(k){R=k,v.abort()}var L=function(){return xl(this,null,function(){var k,B,ut,zt,Vo,Mt,it;return ul(this,function(yt){switch(yt.label){case 0:return yt.trys.push([0,4,,5]),zt=(k=n?.condition)==null?void 0:k.call(n,y,{getState:m,extra:b}),Bl(zt)?[4,zt]:[3,2];case 1:zt=yt.sent(),yt.label=2;case 2:if(zt===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,Vo=new Promise(function(ct,te){return v.signal.addEventListener("abort",function(){return te({name:"AbortError",message:R||"Aborted"})})}),h(c(g,y,(B=n?.getPendingMeta)==null?void 0:B.call(n,{requestId:g,arg:y},{getState:m,extra:b}))),[4,Promise.race([Vo,Promise.resolve(r(y,{dispatch:h,getState:m,extra:b,requestId:g,signal:v.signal,abort:N,rejectWithValue:function(ct,te){return new Zr(ct,te)},fulfillWithValue:function(ct,te){return new ac(ct,te)}})).then(function(ct){if(ct instanceof Zr)throw ct;return ct instanceof ac?a(ct.payload,g,y,ct.meta):a(ct,g,y)})])];case 3:return ut=yt.sent(),[3,5];case 4:return Mt=yt.sent(),ut=Mt instanceof Zr?l(null,g,y,Mt.payload,Mt.meta):l(Mt,g,y),[3,5];case 5:return it=n&&!n.dispatchConditionRejection&&l.match(ut)&&ut.meta.condition,it||h(ut),[2,ut]}})})}();return Object.assign(L,{abort:N,requestId:g,arg:y,unwrap:function(){return L.then(Tl)}})}}return Object.assign(f,{pending:c,rejected:l,fulfilled:a,typePrefix:o})}return e.withTypes=function(){return e},e}();function Tl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Bl(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var fc="listener",pc="completed",uc="cancelled",Im="task-"+uc,$m="task-"+pc,km=fc+"-"+uc,Tm=fc+"-"+pc;var qr="listenerMiddleware";var Bm=Qt(qr+"/add"),Wm=Qt(qr+"/removeAll"),_m=Qt(qr+"/remove");var ic,Dm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(ic||(ic=Promise.resolve())).then(e).catch(function(o){return setTimeout(function(){throw o},0)})},Wl=function(e){return function(o){setTimeout(o,e)}},zm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Wl(10);Zi();function _l(e,o){return class extends e{constructor(){super(...arguments),this.eventBus=o??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Uo=class extends _l(Object){};window.ftReduxStores||(window.ftReduxStores={});var yc=class e extends Uo{static get(o){var r;let n=typeof o=="string"?o:o.name,a=typeof o=="string"?void 0:o,c=window.ftReduxStores[n];if(to(c))return c;if(a==null)return;let l=dc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),d=lc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[a.name]=new e(l,d)}constructor(o,r){super(),this.reduxSlice=o,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Io;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,c,l)=>{let d=c,p=a[d];return p?(...f)=>{let y=p(...f.map(n));return this.reduxStore.dispatch(y),y}:f=>{this.setState({[d]:n(f)})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(o){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(o).join("_"),overwrites:o})}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(o){throw new Error("Not implemented yet.")}subscribe(o){return this.reduxStore.subscribe(o)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Go=class{static format(o,r,n,a){return window.moment?window.moment(o).locale(r).format(this.getDateFormat(n,a)):o}static getDateFormat(o,r){return o?r?"lll":"ll":r?"L LT":"L"}};var Fo=C(T()),Dl="ft-app-info",Xr=class extends CustomEvent{constructor(o){super("authentication-change",{detail:o})}},zl={session:(e,o)=>{(0,Fo.deepEqual)(e.session,o.payload)||(e.session=o.payload,setTimeout(()=>io.dispatchEvent(new Xr(o.payload)),0))}},io=Fo.FtReduxStore.get({name:Dl,reducers:zl,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 jo=function(e,o,r,n){var a=arguments.length,c=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(c=(a<3?l(c):a>3?l(o,r,c):l(o,r))||c);return a>3&&c&&Object.defineProperty(o,r,c),c};function hc(e){class o extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(io)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,c;return((c=(a=this.metadataDescriptors.find(d=>d.key===n))===null||a===void 0?void 0:a.date)!==null&&c!==void 0?c:!1)?d=>Go.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return jo([(0,Jr.property)({type:Boolean})],o.prototype,"useLongDateFormat",void 0),jo([(0,Jr.property)({type:Boolean})],o.prototype,"useDateTimeFormat",void 0),jo([Er({store:io.name,selector:r=>{var n,a;return(a=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],o.prototype,"metadataDescriptors",void 0),jo([Er({store:io.name})],o.prototype,"uiLocale",void 0),o}var pe=function(e,o,r,n){var a=arguments.length,c=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(c=(a<3?l(c):a>3?l(o,r,c):l(o,r))||c);return a>3&&c&&Object.defineProperty(o,r,c),c},pt=class extends hc(lo){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.hierarchicalValueTruncatingLevel=3,this.editorMode=!1}render(){return Et.html`
|
|
1356
1356
|
${this.renderChip()}
|
|
1357
1357
|
${this.hideIfEmpty()}
|
|
1358
1358
|
`}renderChip(){var o,r,n,a;let c=Et.html`
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
\f\r]`,yr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ia=/-->/g,$a=/>/g,ge=RegExp(`>|${tn}(?:([^\\s"'>=/]+)(${tn}*=${tn}*(?:[^
|
|
4
4
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),ka=/'/g,Da=/"/g,Fa=/^(?:script|style|textarea|title)$/i,Wa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ha=Wa(1),za=Wa(2),bt=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),Ba=new WeakMap,be=xe.createTreeWalker(xe,129);function Va(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Pa!==void 0?Pa.createHTML(t):t}var Ga=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=yr;for(let l=0;l<o;l++){let d=e[l],u,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===yr?h[1]==="!--"?s=Ia:h[1]!==void 0?s=$a:h[2]!==void 0?(Fa.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ge):h[3]!==void 0&&(s=ge):s===ge?h[0]===">"?(s=i??yr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?ge:h[3]==='"'?Da:ka):s===Da||s===ka?s=ge:s===Ia||s===$a?s=yr:(s=ge,i=void 0);let b=s===ge&&e[l+1].startsWith("/>")?" ":"";a+=s===yr?d+rd:f>=0?(n.push(u),d.slice(0,f)+rn+d.slice(f)+Gt+b):d+Gt+(f===-2?l:b)}return[Va(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},gr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[u,h]=Ga(t,o);if(this.el=e.createElement(u,n),be.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=be.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(rn)){let m=h[s++],b=i.getAttribute(f).split(Gt),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?lo:x[1]==="?"?po:x[1]==="@"?uo:Se}),i.removeAttribute(f)}else f.startsWith(Gt)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Fa.test(i.tagName)){let f=i.textContent.split(Gt),m=f.length-1;if(m>0){i.textContent=ao?ao.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],so()),be.nextNode(),d.push({type:2,index:++a});i.append(f[m],so())}}}else if(i.nodeType===8)if(i.data===on)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(Gt,f+1))!==-1;)d.push({type:7,index:a}),f+=Gt.length-1}a++}}static createElement(t,o){let n=xe.createElement("template");return n.innerHTML=t,n}};function ve(e,t,o=e,n){if(t===bt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=mr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=ve(e,i._$AS(e,t.values),i,n)),t}var co=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??xe).importNode(o,!0);be.currentNode=i;let a=be.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new br(a,a.nextSibling,this,t):d.type===1?u=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(u=new fo(a,this,t)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(a=be.nextNode(),s++)}return be.currentNode=xe,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},br=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=ot,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ve(this,t,o),mr(t)?t===ot||t==null||t===""?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==bt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ma(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ot&&mr(this._$AH)?this._$AA.nextSibling.data=t:this.$(xe.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=gr.createElement(Va(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new co(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Ba.get(t.strings);return o===void 0&&Ba.set(t.strings,o=new gr(t)),o}T(t){Ua(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(so()),this.k(so()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Se=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=ot,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ot}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ve(this,t,o,0),s=!mr(t)||t!==this._$AH&&t!==bt,s&&(this._$AH=t);else{let l=t,d,u;for(t=a[0],d=0;d<a.length-1;d++)u=ve(this,l[n+d],o,d),u===bt&&(u=this._$AH[d]),s||=!mr(u)||u!==this._$AH[d],u===ot?t=ot:t!==ot&&(t+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lo=class extends Se{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},po=class extends Se{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},uo=class extends Se{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=ve(this,t,o,0)??ot)===bt)return;let n=this._$AH,i=t===ot&&n!==ot||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==ot&&(n===ot||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},fo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ve(this,t)}},ja={j:rn,P:Gt,A:on,C:1,M:Ga,L:co,R:Ma,V:ve,D:br,I:Se,H:po,N:uo,U:lo,B:fo},od=en.litHtmlPolyfillSupport;od?.(gr,br),(en.litHtmlVersions??=[]).push("3.1.0");var ho=globalThis,xr=ho.ShadowRoot&&(ho.ShadyCSS===void 0||ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nn=Symbol(),Ka=new WeakMap,Me=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==nn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(xr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ka.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ka.set(o,t))}return t}toString(){return this.cssText}},jt=e=>new Me(typeof e=="string"?e:e+"",void 0,nn),D=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new Me(o,e,nn)},yo=(e,t)=>{if(xr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=ho.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},vr=xr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return jt(o)})(e):e;var{is:nd,defineProperty:id,getOwnPropertyDescriptor:ad,getOwnPropertyNames:sd,getOwnPropertySymbols:cd,getPrototypeOf:ld}=Object,go=globalThis,Za=go.trustedTypes,dd=Za?Za.emptyScript:"",pd=go.reactiveElementPolyfillSupport,Sr=(e,t)=>e,mo={toAttribute(e,t){switch(t){case Boolean:e=e?dd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},an=(e,t)=>!nd(e,t),qa={attribute:!0,type:String,converter:mo,reflect:!1,hasChanged:an};Symbol.metadata??=Symbol("metadata"),go.litPropertyMetadata??=new WeakMap;var Dt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=qa){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&id(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=ad(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??qa}static _$Ei(){if(this.hasOwnProperty(Sr("elementProperties")))return;let t=ld(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Sr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Sr("properties"))){let o=this.properties,n=[...sd(o),...cd(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(vr(i))}else t!==void 0&&o.push(vr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.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(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return yo(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:mo).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:mo;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??an)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Dt.elementStyles=[],Dt.shadowRootOptions={mode:"open"},Dt[Sr("elementProperties")]=new Map,Dt[Sr("finalized")]=new Map,pd?.({ReactiveElement:Dt}),(go.reactiveElementVersions??=[]).push("2.0.2");var cn=globalThis,bo=cn.trustedTypes,Ya=bo?bo.createPolicy("lit-html",{createHTML:e=>e}):void 0,ln="$lit$",Kt=`lit$${(Math.random()+"").slice(9)}$`,dn="?"+Kt,ud=`<${dn}>`,Ee=document,Cr=()=>Ee.createComment(""),Er=e=>e===null||typeof e!="object"&&typeof e!="function",rs=Array.isArray,os=e=>rs(e)||typeof e?.[Symbol.iterator]=="function",sn=`[
|
|
5
5
|
\f\r]`,Or=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xa=/-->/g,Ja=/>/g,Oe=RegExp(`>|${sn}(?:([^\\s"'>=/]+)(${sn}*=${sn}*(?:[^
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Qa=/'/g,ts=/"/g,ns=/^(?:script|style|textarea|title)$/i,is=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),V=is(1),fd=is(2),re=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),es=new WeakMap,Ce=Ee.createTreeWalker(Ee,129);function as(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ya!==void 0?Ya.createHTML(t):t}var ss=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Or;for(let l=0;l<o;l++){let d=e[l],u,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Or?h[1]==="!--"?s=Xa:h[1]!==void 0?s=Ja:h[2]!==void 0?(ns.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Oe):h[3]!==void 0&&(s=Oe):s===Oe?h[0]===">"?(s=i??Or,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Oe:h[3]==='"'?ts:Qa):s===ts||s===Qa?s=Oe:s===Xa||s===Ja?s=Or:(s=Oe,i=void 0);let b=s===Oe&&e[l+1].startsWith("/>")?" ":"";a+=s===Or?d+ud:f>=0?(n.push(u),d.slice(0,f)+ln+d.slice(f)+Kt+b):d+Kt+(f===-2?l:b)}return[as(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},wr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[u,h]=ss(t,o);if(this.el=e.createElement(u,n),Ce.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ce.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(ln)){let m=h[s++],b=i.getAttribute(f).split(Kt),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?vo:x[1]==="?"?So:x[1]==="@"?Oo:Ae}),i.removeAttribute(f)}else f.startsWith(Kt)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(ns.test(i.tagName)){let f=i.textContent.split(Kt),m=f.length-1;if(m>0){i.textContent=bo?bo.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],Cr()),Ce.nextNode(),d.push({type:2,index:++a});i.append(f[m],Cr())}}}else if(i.nodeType===8)if(i.data===dn)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(Kt,f+1))!==-1;)d.push({type:7,index:a}),f+=Kt.length-1}a++}}static createElement(t,o){let n=Ee.createElement("template");return n.innerHTML=t,n}};function we(e,t,o=e,n){if(t===re)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Er(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=we(e,i._$AS(e,t.values),i,n)),t}var xo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Ee).importNode(o,!0);Ce.currentNode=i;let a=Ce.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Fe(a,a.nextSibling,this,t):d.type===1?u=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(u=new Co(a,this,t)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(a=Ce.nextNode(),s++)}return Ce.currentNode=Ee,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Fe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=we(this,t,o),Er(t)?t===j||t==null||t===""?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==re&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):os(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==j&&Er(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ee.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=wr.createElement(as(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new xo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=es.get(t.strings);return o===void 0&&es.set(t.strings,o=new wr(t)),o}T(t){rs(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(Cr()),this.k(Cr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=we(this,t,o,0),s=!Er(t)||t!==this._$AH&&t!==re,s&&(this._$AH=t);else{let l=t,d,u;for(t=a[0],d=0;d<a.length-1;d++)u=we(this,l[n+d],o,d),u===re&&(u=this._$AH[d]),s||=!Er(u)||u!==this._$AH[d],u===j?t=j:t!==j&&(t+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(t)}O(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},vo=class extends Ae{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===j?void 0:t}},So=class extends Ae{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==j)}},Oo=class extends Ae{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=we(this,t,o,0)??j)===re)return;let n=this._$AH,i=t===j&&n!==j||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==j&&(n===j||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Co=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){we(this,t)}},hd={j:ln,P:Kt,A:dn,C:1,M:ss,L:xo,R:os,V:we,D:Fe,I:Ae,H:So,N:Oo,U:vo,B:Co},yd=cn.litHtmlPolyfillSupport;yd?.(wr,Fe),(cn.litHtmlVersions??=[]).push("3.1.0");var pn=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Fe(t.insertBefore(Cr(),a),a,void 0,o??{})}return i._$AI(e),i};var Zt=class extends Dt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=pn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return re}};Zt._$litElement$=!0,Zt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Zt});var md=globalThis.litElementPolyfillSupport;md?.({LitElement:Zt});var gd={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var of=!1;var hn={};K(hn,{customElement:()=>bd,eventOptions:()=>We,property:()=>A,query:()=>ct,queryAll:()=>Sd,queryAssignedElements:()=>Cd,queryAssignedNodes:()=>fn,queryAsync:()=>Od,standardProperty:()=>cs,state:()=>et});var bd=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var xd={attribute:!0,type:String,converter:hr,reflect:!1,hasChanged:io},cs=(e=xd,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function A(e){return(t,o)=>typeof o=="object"?cs(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function et(e){return A({...e,state:!0,attribute:!1})}function We(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Nt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function ct(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Nt(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Nt(o,n,{get(){return a(this)}})}}var vd;function Sd(e){return(t,o)=>Nt(t,o,{get(){return(this.renderRoot??(vd??=document.createDocumentFragment())).querySelectorAll(e)}})}function Od(e){return(t,o)=>Nt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Cd(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Nt(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function fn(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Nt(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var yn={};K(yn,{repeat:()=>Ad});var oe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ne=e=>(...t)=>({_$litDirective$:e,values:t}),Bt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:Ed}=ja;var ls=()=>document.createComment(""),He=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(ls(),i),s=n.insertBefore(ls(),i);o=new Ed(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||l){let d=o._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return o},ie=(e,t,o=e)=>(e._$AI(t,o),e),wd={},ds=(e,t=wd)=>e._$AH=t,ps=e=>e._$AH,Eo=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var us=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Ad=ne(class extends Bt{constructor(e){if(super(e),e.type!==oe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=ps(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],d=[],u,h,f=0,m=i.length-1,b=0,x=a.length-1;for(;f<=m&&b<=x;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[b])d[b]=ie(i[f],a[b]),f++,b++;else if(l[m]===s[x])d[x]=ie(i[m],a[x]),m--,x--;else if(l[f]===s[x])d[x]=ie(i[f],a[x]),He(e,d[x+1],i[f]),f++,x--;else if(l[m]===s[b])d[b]=ie(i[m],a[b]),He(e,i[f],i[m]),m--,b++;else if(u===void 0&&(u=us(s,b,x),h=us(l,f,m)),u.has(l[f]))if(u.has(l[m])){let O=h.get(s[b]),N=O!==void 0?i[O]:null;if(N===null){let T=He(e,i[f]);ie(T,a[b]),d[b]=T}else d[b]=ie(N,a[b]),He(e,i[f],N),i[O]=null;b++}else Eo(i[m]),m--;else Eo(i[f]),f++;for(;b<=x;){let O=He(e,d[x+1]);ie(O,a[b]),d[b++]=O}for(;f<=m;){let O=i[f++];O!==null&&Eo(O)}return this.dt=s,ds(e,d),bt}});var mn={};K(mn,{classMap:()=>Ut});var Ut=ne(class extends Bt{constructor(e){if(super(e),e.type!==oe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return bt}});var gn={};K(gn,{styleMap:()=>Nd});var fs="important",Rd=" !"+fs,Nd=ne(class extends Bt{constructor(e){if(super(e),e.type!==oe.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Rd);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?fs:""):o[n]=i}}return bt}});var xn={};K(xn,{UnsafeHTMLDirective:()=>ze,unsafeHTML:()=>bn});var ze=class extends Bt{constructor(t){if(super(t),this.et=ot,t.type!==oe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||t==null)return this.vt=void 0,this.et=t;if(t===bt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};ze.directiveName="unsafeHTML",ze.resultType=1;var bn=ne(ze);var Rn={};K(Rn,{CacheRegistry:()=>An,ClearCacheEvent:()=>Rr});var Sn={};K(Sn,{CancelablePromise:()=>Ve,CanceledPromiseError:()=>Ar,cancelable:()=>vn});var Ar=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Ve=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Ar("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Ar("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},vn=e=>new Ve((t,o)=>e.then(t).catch(o));var wn={};K(wn,{FtNotificationEvent:()=>On,PostResizeEvent:()=>En,PreResizeEvent:()=>Cn,WithEventBus:()=>Re,withEventBus:()=>hs});var On=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Cn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},En=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function hs(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}var Re=class extends hs(Object){};var Rr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},An=class extends Re{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new Rr(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new Rr([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Ve&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=vn(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Nn={};K(Nn,{ClusteringHelper:()=>Nr});var Nr=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t){var o,n,i,a,s;let l=((a=(n=(o=t.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(i=t.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(l,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(l.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(l=>{a.push(l.join(" > ")),o&&o>1&&l.length>=o?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>e.extractResultMetadata({result:f,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:t,label:u,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,b)=>b.findIndex(x=>x.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(t,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var u;return((u=e.extractResultMetadata({result:d,key:t}))===null||u===void 0?void 0:u.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>l&&(l=u,s=d,u===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var _n={};K(_n,{Debouncer:()=>_t});var _t=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var In={};K(In,{customElement:()=>st,isNumber:()=>xs,jsonProperty:()=>Pn,optionalNumberProperty:()=>$d});var Ln={};K(Ln,{dateReviver:()=>Td,deepEqual:()=>Ne,delay:()=>ys,eventPathContainsMatchingElement:()=>Pd,flatDeep:()=>gs,getComposedPathTo:()=>Tn,hasChanged:()=>_e,last:()=>Id,minmax:()=>_r,parseDate:()=>bs,unslotText:()=>Ge,waitFor:()=>ms,waitUntil:()=>_d});var ys=e=>new Promise(t=>setTimeout(t,e));async function _d(e,t=10,o=2e4){await ms(async()=>await e()||void 0,t,o)}async function ms(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await ys(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function gs(e,t){return e.flatMap(o=>[o,...gs(t(o),t)])}function Td(...e){return function(t,o){return e.includes(t)?bs(o):o}}function bs(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function Ld(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Ne(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Ne(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!Ne(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Ne(e,t){try{return Ld(e,t)}catch{return!1}}function _e(e,t){return!Ne(e,t)}function Pd(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function _r(e,t,o){return Math.min(Math.max(e,t),o)}function Id(e){return e[e.length-1]}function Ge(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Ge(t)).join(""):e?.textContent||""}function Tn(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}var st=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Pn(e,t){let o=()=>JSON.parse(JSON.stringify(e));return A({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:_e,...t??{}})}function $d(e){return A({type:Object,converter:{fromAttribute:t=>{if(t!=null)return xs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function xs(e){return!isNaN(parseFloat(e))}var ci={};K(ci,{designSystemVariables:()=>G});var si={};K(si,{DesignSystemFamily:()=>Yt,DesignSystemSize:()=>lt,FtCssVariableFactory:()=>r,badge:()=>Md,banner:()=>Ud,button:()=>g,chart:()=>ep,checkbox:()=>np,chip:()=>F,chipChoice:()=>Dd,collapsible:()=>Qd,comboboxMultiSelect:()=>Xd,comboboxSingleSelect:()=>Yd,drawer:()=>Gd,floatingMenu:()=>qd,foundation:()=>c,link:()=>Bd,modal:()=>Vd,notice:()=>op,notification:()=>sp,pageDesigner:()=>rp,pageFooter:()=>Hd,pageHeader:()=>Wd,pageLayout:()=>zd,popover:()=>Jd,radio:()=>ap,reorderableList:()=>lp,resolveFamilyClass:()=>ii,resolveSizeClass:()=>ai,semantic:()=>p,setVariable:()=>w,switch_:()=>tp,tabs:()=>jd,textArea:()=>Zd,textInput:()=>Kd,titleBreadcrumb:()=>Fd,toggle:()=>ip,tooltip:()=>cp,typographies:()=>Tr,typographyBody1Medium:()=>Mn,typographyBody1Regular:()=>Un,typographyBody1Semibold:()=>Fn,typographyBody2Medium:()=>Hn,typographyBody2MediumUnderline:()=>vs,typographyBody2Regular:()=>Wn,typographyBody2Semibold:()=>zn,typographyCaption1Bold:()=>Jn,typographyCaption1Medium:()=>Yn,typographyCaption1Semibold:()=>Xn,typographyCaption2Bold:()=>ei,typographyCaption2Medium:()=>Qn,typographyCaption2Semibold:()=>ti,typographyCaption3Bold:()=>ni,typographyCaption3Medium:()=>ri,typographyCaption3Semibold:()=>oi,typographyDisplay:()=>$n,typographyLabel1Bold:()=>jn,typographyLabel1Medium:()=>Vn,typographyLabel1Semibold:()=>Gn,typographyLabel2Bold:()=>qn,typographyLabel2Medium:()=>Kn,typographyLabel2Semibold:()=>Zn,typographyTitle1:()=>kn,typographyTitle2:()=>Dn,typographyTitle3:()=>Bn,typographyVariants:()=>kd});var qt=e=>typeof e=="string"?jt(e):e,r=class{static create(t,o,n,i){let a=l=>qt(l??i),s=D`var(${qt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>D`var(${qt(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=D`var(${qt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>D`var(${qt(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):qt(a??t.lastResortDefaultValue()),i=D`var(${qt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>D`var(${qt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function w(e,t){return qt(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},$n={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},kn={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Dn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Bn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Un={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Mn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Fn={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Wn={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Hn={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},vs={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},zn={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Vn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Gn={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},jn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},qn={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Jn={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Qn={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ti={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ei={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ri={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},oi={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},ni={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Tr={display:$n,"title-1":kn,"title-2":Dn,"title-3":Bn,"body-1-regular":Un,"body-1-medium":Mn,"body-1-semibold":Fn,"body-2-regular":Wn,"body-2-medium":Hn,"body-2-medium-underline":vs,"body-2-semibold":zn,"label-1-medium":Vn,"label-1-semibold":Gn,"label-1-bold":jn,"label-2-medium":Kn,"label-2-semibold":Zn,"label-2-bold":qn,"caption-1-medium":Yn,"caption-1-semibold":Xn,"caption-1-bold":Jn,"caption-2-medium":Qn,"caption-2-semibold":ti,"caption-2-bold":ei,"caption-3-medium":ri,"caption-3-semibold":oi,"caption-3-bold":ni},kd=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Qa=/'/g,ts=/"/g,ns=/^(?:script|style|textarea|title)$/i,is=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),V=is(1),fd=is(2),re=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),es=new WeakMap,Ce=Ee.createTreeWalker(Ee,129);function as(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ya!==void 0?Ya.createHTML(t):t}var ss=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Or;for(let l=0;l<o;l++){let d=e[l],u,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Or?h[1]==="!--"?s=Xa:h[1]!==void 0?s=Ja:h[2]!==void 0?(ns.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Oe):h[3]!==void 0&&(s=Oe):s===Oe?h[0]===">"?(s=i??Or,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Oe:h[3]==='"'?ts:Qa):s===ts||s===Qa?s=Oe:s===Xa||s===Ja?s=Or:(s=Oe,i=void 0);let b=s===Oe&&e[l+1].startsWith("/>")?" ":"";a+=s===Or?d+ud:f>=0?(n.push(u),d.slice(0,f)+ln+d.slice(f)+Kt+b):d+Kt+(f===-2?l:b)}return[as(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},wr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[u,h]=ss(t,o);if(this.el=e.createElement(u,n),Ce.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ce.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(ln)){let m=h[s++],b=i.getAttribute(f).split(Kt),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?vo:x[1]==="?"?So:x[1]==="@"?Oo:Ae}),i.removeAttribute(f)}else f.startsWith(Kt)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(ns.test(i.tagName)){let f=i.textContent.split(Kt),m=f.length-1;if(m>0){i.textContent=bo?bo.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],Cr()),Ce.nextNode(),d.push({type:2,index:++a});i.append(f[m],Cr())}}}else if(i.nodeType===8)if(i.data===dn)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(Kt,f+1))!==-1;)d.push({type:7,index:a}),f+=Kt.length-1}a++}}static createElement(t,o){let n=Ee.createElement("template");return n.innerHTML=t,n}};function we(e,t,o=e,n){if(t===re)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Er(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=we(e,i._$AS(e,t.values),i,n)),t}var xo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Ee).importNode(o,!0);Ce.currentNode=i;let a=Ce.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Fe(a,a.nextSibling,this,t):d.type===1?u=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(u=new Co(a,this,t)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(a=Ce.nextNode(),s++)}return Ce.currentNode=Ee,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Fe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=we(this,t,o),Er(t)?t===j||t==null||t===""?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==re&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):os(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==j&&Er(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ee.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=wr.createElement(as(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new xo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=es.get(t.strings);return o===void 0&&es.set(t.strings,o=new wr(t)),o}T(t){rs(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(Cr()),this.k(Cr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=we(this,t,o,0),s=!Er(t)||t!==this._$AH&&t!==re,s&&(this._$AH=t);else{let l=t,d,u;for(t=a[0],d=0;d<a.length-1;d++)u=we(this,l[n+d],o,d),u===re&&(u=this._$AH[d]),s||=!Er(u)||u!==this._$AH[d],u===j?t=j:t!==j&&(t+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(t)}O(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},vo=class extends Ae{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===j?void 0:t}},So=class extends Ae{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==j)}},Oo=class extends Ae{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=we(this,t,o,0)??j)===re)return;let n=this._$AH,i=t===j&&n!==j||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==j&&(n===j||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Co=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){we(this,t)}},hd={j:ln,P:Kt,A:dn,C:1,M:ss,L:xo,R:os,V:we,D:Fe,I:Ae,H:So,N:Oo,U:vo,B:Co},yd=cn.litHtmlPolyfillSupport;yd?.(wr,Fe),(cn.litHtmlVersions??=[]).push("3.1.0");var pn=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Fe(t.insertBefore(Cr(),a),a,void 0,o??{})}return i._$AI(e),i};var Zt=class extends Dt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=pn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return re}};Zt._$litElement$=!0,Zt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Zt});var md=globalThis.litElementPolyfillSupport;md?.({LitElement:Zt});var gd={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var of=!1;var hn={};K(hn,{customElement:()=>bd,eventOptions:()=>We,property:()=>A,query:()=>ct,queryAll:()=>Sd,queryAssignedElements:()=>Cd,queryAssignedNodes:()=>fn,queryAsync:()=>Od,standardProperty:()=>cs,state:()=>et});var bd=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var xd={attribute:!0,type:String,converter:hr,reflect:!1,hasChanged:io},cs=(e=xd,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function A(e){return(t,o)=>typeof o=="object"?cs(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function et(e){return A({...e,state:!0,attribute:!1})}function We(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Nt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function ct(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Nt(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Nt(o,n,{get(){return a(this)}})}}var vd;function Sd(e){return(t,o)=>Nt(t,o,{get(){return(this.renderRoot??(vd??=document.createDocumentFragment())).querySelectorAll(e)}})}function Od(e){return(t,o)=>Nt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Cd(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Nt(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function fn(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Nt(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var yn={};K(yn,{repeat:()=>Ad});var oe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ne=e=>(...t)=>({_$litDirective$:e,values:t}),Bt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:Ed}=ja;var ls=()=>document.createComment(""),He=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(ls(),i),s=n.insertBefore(ls(),i);o=new Ed(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||l){let d=o._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return o},ie=(e,t,o=e)=>(e._$AI(t,o),e),wd={},ds=(e,t=wd)=>e._$AH=t,ps=e=>e._$AH,Eo=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var us=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Ad=ne(class extends Bt{constructor(e){if(super(e),e.type!==oe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=ps(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],d=[],u,h,f=0,m=i.length-1,b=0,x=a.length-1;for(;f<=m&&b<=x;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[b])d[b]=ie(i[f],a[b]),f++,b++;else if(l[m]===s[x])d[x]=ie(i[m],a[x]),m--,x--;else if(l[f]===s[x])d[x]=ie(i[f],a[x]),He(e,d[x+1],i[f]),f++,x--;else if(l[m]===s[b])d[b]=ie(i[m],a[b]),He(e,i[f],i[m]),m--,b++;else if(u===void 0&&(u=us(s,b,x),h=us(l,f,m)),u.has(l[f]))if(u.has(l[m])){let O=h.get(s[b]),N=O!==void 0?i[O]:null;if(N===null){let T=He(e,i[f]);ie(T,a[b]),d[b]=T}else d[b]=ie(N,a[b]),He(e,i[f],N),i[O]=null;b++}else Eo(i[m]),m--;else Eo(i[f]),f++;for(;b<=x;){let O=He(e,d[x+1]);ie(O,a[b]),d[b++]=O}for(;f<=m;){let O=i[f++];O!==null&&Eo(O)}return this.dt=s,ds(e,d),bt}});var mn={};K(mn,{classMap:()=>Ut});var Ut=ne(class extends Bt{constructor(e){if(super(e),e.type!==oe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return bt}});var gn={};K(gn,{styleMap:()=>Nd});var fs="important",Rd=" !"+fs,Nd=ne(class extends Bt{constructor(e){if(super(e),e.type!==oe.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Rd);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?fs:""):o[n]=i}}return bt}});var xn={};K(xn,{UnsafeHTMLDirective:()=>ze,unsafeHTML:()=>bn});var ze=class extends Bt{constructor(t){if(super(t),this.et=ot,t.type!==oe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||t==null)return this.vt=void 0,this.et=t;if(t===bt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};ze.directiveName="unsafeHTML",ze.resultType=1;var bn=ne(ze);var Rn={};K(Rn,{CacheRegistry:()=>An,ClearCacheEvent:()=>Rr});var Sn={};K(Sn,{CancelablePromise:()=>Ve,CanceledPromiseError:()=>Ar,cancelable:()=>vn});var Ar=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Ve=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Ar("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Ar("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},vn=e=>new Ve((t,o)=>e.then(t).catch(o));var wn={};K(wn,{FtNotificationEvent:()=>On,PostResizeEvent:()=>En,PreResizeEvent:()=>Cn,WithEventBus:()=>Re,withEventBus:()=>hs});var On=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Cn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},En=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function hs(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}var Re=class extends hs(Object){};var Rr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},An=class extends Re{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new Rr(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new Rr([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Ve&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=vn(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Nn={};K(Nn,{ClusteringHelper:()=>Nr});var Nr=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t){var o,n,i,a,s;let l=((a=(n=(o=t.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(i=t.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(l,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(l.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(l=>{a.push(l.join(" > ")),o&&o>1&&l.length>=o?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>e.extractResultMetadata({result:f,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:t,label:u,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,b)=>b.findIndex(x=>x.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(t,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var u;return((u=e.extractResultMetadata({result:d,key:t}))===null||u===void 0?void 0:u.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>l&&(l=u,s=d,u===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var _n={};K(_n,{Debouncer:()=>_t});var _t=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var In={};K(In,{customElement:()=>st,isNumber:()=>xs,jsonProperty:()=>Pn,optionalNumberProperty:()=>$d});var Ln={};K(Ln,{dateReviver:()=>Td,deepEqual:()=>Ne,delay:()=>ys,eventPathContainsMatchingElement:()=>Pd,flatDeep:()=>gs,getComposedPathTo:()=>Tn,hasChanged:()=>_e,last:()=>Id,minmax:()=>_r,parseDate:()=>bs,unslotText:()=>Ge,waitFor:()=>ms,waitUntil:()=>_d});var ys=e=>new Promise(t=>setTimeout(t,e));async function _d(e,t=10,o=2e4){await ms(async()=>await e()||void 0,t,o)}async function ms(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await ys(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function gs(e,t){return e.flatMap(o=>[o,...gs(t(o),t)])}function Td(...e){return function(t,o){return e.includes(t)?bs(o):o}}function bs(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function Ld(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Ne(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Ne(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(i=a(e),o=i.length,o!==a(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!Ne(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Ne(e,t){try{return Ld(e,t)}catch{return!1}}function _e(e,t){return!Ne(e,t)}function Pd(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function _r(e,t,o){return Math.min(Math.max(e,t),o)}function Id(e){return e[e.length-1]}function Ge(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Ge(t)).join(""):e?.textContent||""}function Tn(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}var st=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Pn(e,t){let o=()=>JSON.parse(JSON.stringify(e));return A({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:_e,...t??{}})}function $d(e){return A({type:Object,converter:{fromAttribute:t=>{if(t!=null)return xs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function xs(e){return!isNaN(parseFloat(e))}var ci={};K(ci,{designSystemVariables:()=>G});var si={};K(si,{DesignSystemFamily:()=>Yt,DesignSystemSize:()=>lt,FtCssVariableFactory:()=>r,badge:()=>Md,banner:()=>Ud,button:()=>g,chart:()=>ep,checkbox:()=>np,chip:()=>F,chipChoice:()=>Dd,collapsible:()=>Qd,comboboxMultiSelect:()=>Xd,comboboxSingleSelect:()=>Yd,drawer:()=>Gd,floatingMenu:()=>qd,foundation:()=>c,link:()=>Bd,modal:()=>Vd,notice:()=>op,notification:()=>sp,pageDesigner:()=>rp,pageFooter:()=>Hd,pageHeader:()=>Wd,pageLayout:()=>zd,popover:()=>Jd,radio:()=>ap,reorderableList:()=>lp,resolveFamilyClass:()=>ii,resolveSizeClass:()=>ai,semantic:()=>p,setVariable:()=>w,switch_:()=>tp,tabs:()=>jd,textArea:()=>Zd,textInput:()=>Kd,titleBreadcrumb:()=>Fd,toggle:()=>ip,tooltip:()=>cp,typographies:()=>Tr,typographyBody1Medium:()=>Mn,typographyBody1Regular:()=>Un,typographyBody1Semibold:()=>Fn,typographyBody2Medium:()=>Hn,typographyBody2MediumUnderline:()=>vs,typographyBody2Regular:()=>Wn,typographyBody2Semibold:()=>zn,typographyCaption1Bold:()=>Jn,typographyCaption1Medium:()=>Yn,typographyCaption1Semibold:()=>Xn,typographyCaption2Bold:()=>ei,typographyCaption2Medium:()=>Qn,typographyCaption2Semibold:()=>ti,typographyCaption3Bold:()=>ni,typographyCaption3Medium:()=>ri,typographyCaption3Semibold:()=>oi,typographyDisplay:()=>$n,typographyLabel1Bold:()=>jn,typographyLabel1Medium:()=>Vn,typographyLabel1Semibold:()=>Gn,typographyLabel2Bold:()=>qn,typographyLabel2Medium:()=>Kn,typographyLabel2Semibold:()=>Zn,typographyTitle1:()=>kn,typographyTitle2:()=>Dn,typographyTitle3:()=>Bn,typographyVariants:()=>kd});var qt=e=>typeof e=="string"?jt(e):e,r=class{static create(t,o,n,i){let a=l=>qt(l??i),s=D`var(${qt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>D`var(${qt(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=D`var(${qt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>D`var(${qt(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):qt(a??t.lastResortDefaultValue()),i=D`var(${qt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>D`var(${qt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function w(e,t){return qt(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},$n={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},kn={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Dn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Bn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Un={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Mn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Fn={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Wn={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Hn={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},vs={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},zn={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Vn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Gn={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},jn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},qn={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Jn={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Qn={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ti={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ei={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ri={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},oi={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},ni={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Tr={display:$n,"title-1":kn,"title-2":Dn,"title-3":Bn,"body-1-regular":Un,"body-1-medium":Mn,"body-1-semibold":Fn,"body-2-regular":Wn,"body-2-medium":Hn,"body-2-medium-underline":vs,"body-2-semibold":zn,"label-1-medium":Vn,"label-1-semibold":Gn,"label-1-bold":jn,"label-2-medium":Kn,"label-2-semibold":Zn,"label-2-bold":qn,"caption-1-medium":Yn,"caption-1-semibold":Xn,"caption-1-bold":Jn,"caption-2-medium":Qn,"caption-2-semibold":ti,"caption-2-bold":ei,"caption-3-medium":ri,"caption-3-semibold":oi,"caption-3-bold":ni},kd=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
7
|
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var g={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Dd={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var F={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Bd={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Ud={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Md={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Fd={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Wd={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Hd={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var zd={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Vd={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Gd={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var jd={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Kd={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Zd={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var qd={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Yd={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Xd={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Jd={backgroundColor:r.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var Qd={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var tp={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var ep={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var rp={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var op={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var np={color:r.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var ip={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var ap={color:r.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var sp={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var cp={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var lp={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var Yt;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Yt||(Yt={}));var lt;(function(e){e.large="large",e.medium="medium",e.small="small"})(lt||(lt={}));function ii(e){return`ftds--family-${e}`}function ai(e){return`ftds--size-${e}`}var G={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ci={};K(Ci,{computeFlipOffsetPosition:()=>Tp,computeOffsetPosition:()=>Oi});var Os=["top","right","bottom","left"],Ss=["start","end"],li=Os.reduce((e,t)=>e.concat(t,t+"-"+Ss[0],t+"-"+Ss[1]),[]),Ir=Math.min,ae=Math.max,$r=Math.round;var Xt=e=>({x:e,y:e}),dp={left:"right",right:"left",bottom:"top",top:"bottom"},pp={start:"end",end:"start"};function di(e,t,o){return ae(e,Ir(t,o))}function je(e,t){return typeof e=="function"?e(t):e}function Mt(e){return e.split("-")[0]}function Ft(e){return e.split("-")[1]}function pi(e){return e==="x"?"y":"x"}function ui(e){return e==="y"?"height":"width"}function kr(e){return["top","bottom"].includes(Mt(e))?"y":"x"}function fi(e){return pi(kr(e))}function hi(e,t,o){o===void 0&&(o=!1);let n=Ft(e),i=fi(e),a=ui(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Pr(s)),[s,Pr(s)]}function Cs(e){let t=Pr(e);return[Lr(e),t,Lr(t)]}function Lr(e){return e.replace(/start|end/g,t=>pp[t])}function up(e,t,o){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:n:t?n:i;case"left":case"right":return t?a:s;default:return[]}}function Es(e,t,o,n){let i=Ft(e),a=up(Mt(e),o==="start",n);return i&&(a=a.map(s=>s+"-"+i),t&&(a=a.concat(a.map(Lr)))),a}function Pr(e){return e.replace(/left|right|bottom|top/g,t=>dp[t])}function fp(e){return{top:0,right:0,bottom:0,left:0,...e}}function ws(e){return typeof e!="number"?fp(e):{top:e,right:e,bottom:e,left:e}}function Te(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function As(e,t,o){let{reference:n,floating:i}=e,a=kr(t),s=fi(t),l=ui(s),d=Mt(t),u=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(d){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}switch(Ft(t)){case"start":b[s]-=m*(o&&u?-1:1);break;case"end":b[s]+=m*(o&&u?-1:1);break}return b}var Rs=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:f}=As(u,n,d),m=n,b={},x=0;for(let O=0;O<l.length;O++){let{name:N,fn:T}=l[O],{x:L,y:C,data:S,reset:E}=await T({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:b,rects:u,platform:s,elements:{reference:e,floating:t}});if(h=L??h,f=C??f,b={...b,[N]:{...b[N],...S}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:h,y:f}=As(u,m,d)),O=-1;continue}}return{x:h,y:f,placement:m,strategy:i,middlewareData:b}};async function wo(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=je(t,e),x=ws(b),N=l[m?f==="floating"?"reference":"floating":f],T=Te(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:d})),L=f==="floating"?{...s.floating,x:n,y:i}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},E=Te(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:C,strategy:d}):L);return{top:(T.top-E.top+x.top)/S.y,bottom:(E.bottom-T.bottom+x.bottom)/S.y,left:(T.left-E.left+x.left)/S.x,right:(E.right-T.right+x.right)/S.x}}function hp(e,t,o){return(e?[...o.filter(i=>Ft(i)===e),...o.filter(i=>Ft(i)!==e)]:o.filter(i=>Mt(i)===i)).filter(i=>e?Ft(i)===e||(t?Lr(i)!==i:!1):!0)}var yi=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:u}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:m=li,autoAlignment:b=!0,...x}=je(e,t),O=f!==void 0||m===li?hp(f||null,b,m):m,N=await wo(t,x),T=((o=s.autoPlacement)==null?void 0:o.index)||0,L=O[T];if(L==null)return{};let C=hi(L,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==L)return{reset:{placement:O[0]}};let S=[N[Mt(L)],N[C[0]],N[C[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:S}],P=O[T+1];if(P)return{data:{index:T+1,overflows:E},reset:{placement:P}};let B=E.map($=>{let y=Ft($.placement);return[$.placement,y&&h?$.overflows.slice(0,2).reduce((v,I)=>v+I,0):$.overflows[0],$.overflows]}).sort(($,y)=>$[1]-y[1]),W=((i=B.filter($=>$[2].slice(0,Ft($[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||B[0][0];return W!==l?{data:{index:T+1,overflows:E},reset:{placement:W}}:{}}}},mi=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:l,platform:d,elements:u}=t,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:O=!0,...N}=je(e,t);if((o=a.arrow)!=null&&o.alignmentOffset)return{};let T=Mt(i),L=Mt(l)===l,C=await(d.isRTL==null?void 0:d.isRTL(u.floating)),S=m||(L||!O?[Pr(l)]:Cs(l));!m&&x!=="none"&&S.push(...Es(l,O,x,C));let E=[l,...S],P=await wo(t,N),B=[],H=((n=a.flip)==null?void 0:n.overflows)||[];if(h&&B.push(P[T]),f){let v=hi(i,s,C);B.push(P[v[0]],P[v[1]])}if(H=[...H,{placement:i,overflows:B}],!B.every(v=>v<=0)){var W,$;let v=(((W=a.flip)==null?void 0:W.index)||0)+1,I=E[v];if(I)return{data:{index:v,overflows:H},reset:{placement:I}};let M=($=H.filter(z=>z.overflows[0]<=0).sort((z,U)=>z.overflows[1]-U.overflows[1])[0])==null?void 0:$.placement;if(!M)switch(b){case"bestFit":{var y;let z=(y=H.map(U=>[U.placement,U.overflows.filter(kt=>kt>0).reduce((kt,ur)=>kt+ur,0)]).sort((U,kt)=>U[1]-kt[1])[0])==null?void 0:y[0];z&&(M=z);break}case"initialPlacement":M=l;break}if(i!==M)return{reset:{placement:M}}}return{}}}};async function yp(e,t){let{placement:o,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Mt(o),l=Ft(o),d=kr(o)==="y",u=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=je(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof x=="number"&&(b=l==="end"?x*-1:x),d?{x:b*h,y:m*u}:{x:m*u,y:b*h}}var gi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=t,d=await yp(t,e);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},bi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:N=>{let{x:T,y:L}=N;return{x:T,y:L}}},...d}=je(e,t),u={x:o,y:n},h=await wo(t,d),f=kr(Mt(i)),m=pi(f),b=u[m],x=u[f];if(a){let N=m==="y"?"top":"left",T=m==="y"?"bottom":"right",L=b+h[N],C=b-h[T];b=di(L,b,C)}if(s){let N=f==="y"?"top":"left",T=f==="y"?"bottom":"right",L=x+h[N],C=x-h[T];x=di(L,x,C)}let O=l.fn({...t,[m]:b,[f]:x});return{...O,data:{x:O.x-o,y:O.y-n}}}}};function Jt(e){return _s(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qt(e){var t;return(t=(_s(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function _s(e){return e instanceof Node||e instanceof yt(e).Node}function Wt(e){return e instanceof Element||e instanceof yt(e).Element}function Tt(e){return e instanceof HTMLElement||e instanceof yt(e).HTMLElement}function Ns(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot}function Ke(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=xt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Ts(e){return["table","td","th"].includes(Jt(e))}function Ro(e){let t=No(),o=xt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Ls(e){let t=Le(e);for(;Tt(t)&&!Dr(t);){if(Ro(t))return t;t=Le(t)}return null}function No(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Dr(e){return["html","body","#document"].includes(Jt(e))}function xt(e){return yt(e).getComputedStyle(e)}function Br(e){return Wt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Le(e){if(Jt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ns(e)&&e.host||Qt(e);return Ns(t)?t.host:t}function Ps(e){let t=Le(e);return Dr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Tt(t)&&Ke(t)?t:Ps(t)}function Ao(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=Ps(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=yt(i);return a?t.concat(s,s.visualViewport||[],Ke(i)?i:[],s.frameElement&&o?Ao(s.frameElement):[]):t.concat(i,Ao(i,[],o))}function ks(e){let t=xt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Tt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=$r(o)!==a||$r(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function Ds(e){return Wt(e)?e:e.contextElement}function Ze(e){let t=Ds(e);if(!Tt(t))return Xt(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=ks(t),s=(a?$r(o.width):o.width)/n,l=(a?$r(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var mp=Xt(0);function Bs(e){let t=yt(e);return!No()||!t.visualViewport?mp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function gp(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==yt(e)?!1:t}function Ur(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Ds(e),s=Xt(1);t&&(n?Wt(n)&&(s=Ze(n)):s=Ze(e));let l=gp(a,o,n)?Bs(a):Xt(0),d=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let m=yt(a),b=n&&Wt(n)?yt(n):n,x=m.frameElement;for(;x&&n&&b!==m;){let O=Ze(x),N=x.getBoundingClientRect(),T=xt(x),L=N.left+(x.clientLeft+parseFloat(T.paddingLeft))*O.x,C=N.top+(x.clientTop+parseFloat(T.paddingTop))*O.y;d*=O.x,u*=O.y,h*=O.x,f*=O.y,d+=L,u+=C,x=yt(x).frameElement}}return Te({width:h,height:f,x:d,y:u})}function bp(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Tt(o),a=Qt(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Xt(1),d=Xt(0);if((i||!i&&n!=="fixed")&&((Jt(o)!=="body"||Ke(a))&&(s=Br(o)),Tt(o))){let u=Ur(o);l=Ze(o),d.x=u.x+o.clientLeft,d.y=u.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function xp(e){return Array.from(e.getClientRects())}function Us(e){return Ur(Qt(e)).left+Br(e).scrollLeft}function vp(e){let t=Qt(e),o=Br(e),n=e.ownerDocument.body,i=ae(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=ae(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Us(e),l=-o.scrollTop;return xt(n).direction==="rtl"&&(s+=ae(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Sp(e,t){let o=yt(e),n=Qt(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let u=No();(!u||u&&t==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function Op(e,t){let o=Ur(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Tt(e)?Ze(e):Xt(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,d=i*a.x,u=n*a.y;return{width:s,height:l,x:d,y:u}}function Is(e,t,o){let n;if(t==="viewport")n=Sp(e,o);else if(t==="document")n=vp(Qt(e));else if(Wt(t))n=Op(t,o);else{let i=Bs(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return Te(n)}function Ms(e,t){let o=Le(e);return o===t||!Wt(o)||Dr(o)?!1:xt(o).position==="fixed"||Ms(o,t)}function Cp(e,t){let o=t.get(e);if(o)return o;let n=Ao(e,[],!1).filter(l=>Wt(l)&&Jt(l)!=="body"),i=null,a=xt(e).position==="fixed",s=a?Le(e):e;for(;Wt(s)&&!Dr(s);){let l=xt(s),d=Ro(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ke(s)&&!d&&Ms(e,s))?n=n.filter(h=>h!==s):i=l,s=Le(s)}return t.set(e,n),n}function Ep(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Cp(t,this._c):[].concat(o),n],l=s[0],d=s.reduce((u,h)=>{let f=Is(t,h,i);return u.top=ae(f.top,u.top),u.right=Ir(f.right,u.right),u.bottom=Ir(f.bottom,u.bottom),u.left=ae(f.left,u.left),u},Is(t,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function wp(e){return ks(e)}function Ap(e,t,o){let n=Tt(t),i=Qt(t),a=o==="fixed",s=Ur(e,!0,a,t),l={scrollLeft:0,scrollTop:0},d=Xt(0);if(n||!n&&!a)if((Jt(t)!=="body"||Ke(i))&&(l=Br(t)),n){let u=Ur(t,!0,a,t);d.x=u.x+t.clientLeft,d.y=u.y+t.clientTop}else i&&(d.x=Us(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function $s(e,t){return!Tt(e)||xt(e).position==="fixed"?null:t?t(e):e.offsetParent}function Fs(e,t){let o=yt(e);if(!Tt(e))return o;let n=$s(e,t);for(;n&&Ts(n)&&xt(n).position==="static";)n=$s(n,t);return n&&(Jt(n)==="html"||Jt(n)==="body"&&xt(n).position==="static"&&!Ro(n))?o:n||Ls(e)||o}var Rp=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||Fs,a=this.getDimensions;return{reference:Ap(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Np(e){return xt(e).direction==="rtl"}var qe={convertOffsetParentRelativeRectToViewportRelativeRect:bp,getDocumentElement:Qt,getClippingRect:Ep,getOffsetParent:Fs,getElementRects:Rp,getClientRects:xp,getDimensions:wp,getScale:Ze,isElement:Wt,isRTL:Np};var xi=(e,t,o)=>{let n=new Map,i={platform:qe,...o},a={...i.platform,_c:n};return Rs(e,t,{...i,platform:a})};function Si(e){return _p(e)}function vi(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function _p(e){for(let t=e;t;t=vi(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=vi(e);t;t=vi(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Oi(e,t,o){return xi(e,t,{platform:{...qe,getOffsetParent:n=>qe.getOffsetParent(n,Si)},middleware:[bi({crossAxis:!0}),yi({allowedPlacements:[o]})]})}async function Tp(e,t,o,n,i,a=4){return xi(e,t,{placement:o,strategy:i,platform:{...qe,getOffsetParent:s=>qe.getOffsetParent(s,Si)},middleware:[gi(a),mi({fallbackPlacements:n})]})}var Ai={};K(Ai,{FtdsBase:()=>Fr,toFtdsBase:()=>Lo});var wi={};K(wi,{FtLitElement:()=>q});var Ei={};K(Ei,{ScopedRegistryLitElement:()=>Mr});var _o=window,Lp=_o.ShadowRoot&&(_o.ShadyCSS===void 0||_o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Lg=Symbol();var Ws=(e,t)=>{Lp?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=_o.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var Mr=class extends Zt{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ws(n,t.elementStyles),n}};var To=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Gs,Hs=Symbol("constructorPrototype"),zs=Symbol("constructorName"),js=Symbol("exportpartsDebouncer"),Vs=Symbol("dynamicDependenciesLoaded"),q=class extends Mr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Gs]=new _t(5),this[zs]=this.constructor.name,this[Hs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[zs]&&Object.setPrototypeOf(this,this[Hs])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[Vs]||(t[Vs]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[js].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,l;let d=m=>m!=null&&m.trim().length>0,u=t.filter(d).map(m=>m.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(d).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(m=>u.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Gs=js;To([A()],q.prototype,"exportpartsPrefix",void 0);To([Pn([])],q.prototype,"exportpartsPrefixes",void 0);To([A()],q.prototype,"customStylesheet",void 0);To([et()],q.prototype,"useAdoptedStyleSheets",void 0);var Ks=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function Lo(e){class t extends e{constructor(){super(...arguments),this.size=lt.medium,this.family=Yt.neutral}getDesignSystemBaseClasses(){return{[ii(this.family)]:!0,[ai(this.size)]:!0}}}return Ks([A()],t.prototype,"size",void 0),Ks([A()],t.prototype,"family",void 0),t}var Fr=class extends Lo(q){};var Zs={};var Ni={};K(Ni,{highlightHtml:()=>$p,highlightHtmlColorCssVariable:()=>qs,highlightHtmlStyles:()=>Ip});var Pe=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(u=>{e.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{o(u)&&(l++,n(h)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),l=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(u,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),i)}),d.push(u);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var Wr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){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},t)}get opt(){return this._opt}get iterator(){return new Pe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,l=o-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,i=d+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return Pe.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,f=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),t.value=f+m,t.nodes.forEach((b,x)=>{x>=l&&(t.nodes[x].start>0&&x!==l&&(t.nodes[x].start-=h),t.nodes[x].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=t.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),i(d.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,h,f=>n(d[s],f),(f,m)=>{t.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,h,m=>o(m,l,a.value.substring(u,h),d),m=>{n(m,l)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,u,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Pe.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ri(e){let t=new Wr(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var Pp=Ri,qs=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ip=D`
|
|
8
8
|
.highlight-html-match {
|
|
9
9
|
background: ${qs};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-topic-metadata",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.26",
|
|
4
4
|
"description": "Metadata of a topic in integrated reader.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "1.2.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.2.26",
|
|
23
23
|
"lit": "3.1.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@fluid-topics/ft-wc-test-utils": "1.2.
|
|
26
|
+
"@fluid-topics/ft-wc-test-utils": "1.2.26"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "9e23f9e9f000353f796042d15290cb6df600f10b"
|
|
29
29
|
}
|