@fluid-topics/ft-i18n 1.0.63 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-i18n.d.ts +1 -1
- package/build/ft-i18n.min.js +64 -48
- package/package.json +5 -5
package/build/ft-i18n.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export declare class FtI18n extends FtLitElementReduxWithI18n implements FtI18nP
|
|
|
11
11
|
args?: any[];
|
|
12
12
|
defaultMessage?: string;
|
|
13
13
|
constructor();
|
|
14
|
-
protected render(): "Select a context and a label key." | typeof nothing | import("lit
|
|
14
|
+
protected render(): "Select a context and a label key." | typeof nothing | import("lit").TemplateResult<1>;
|
|
15
15
|
protected update(props: PropertyValues): void;
|
|
16
16
|
}
|
package/build/ft-i18n.min.js
CHANGED
|
@@ -1,52 +1,68 @@
|
|
|
1
1
|
!function(t){
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
|
|
16
|
-
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,r=window.customElements.get,e=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,c=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const c=n.prototype.attributeChangedCallback,s=new Set(n.observedAttributes||[]);d(n,s,c);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=r.call(e,t);f||(f=u(t),o.call(e,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)i.delete(t),h(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){b.push(this),e.upgrade.apply(e,arguments),b.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let r=this._whenDefinedPromises.get(t);return void 0===r&&(r={},r.promise=new Promise((t=>r.resolve=t)),this._whenDefinedPromises.set(t,r)),r.promise}_upgradeWhenDefined(t,o,r){let e=this._awaitingUpgrade.get(o);e||this._awaitingUpgrade.set(o,e=new Set),r?e.add(t):e.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const r=a.get(this.constructor);if(!r)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],r.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),n.set(o,r),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!l(o)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=c.get(o)?.getRootNode()||document)}return o.customElements},u=o=>class{static get formAssociated(){return!0}constructor(){const r=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(r,HTMLElement.prototype);const e=f(r)||window.customElements,n=e._getDefinition(o);return n?h(r,n):i.set(r,e),r}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,r)=>{if(0===o.size||void 0===r)return;const e=t.prototype.setAttribute;e&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);e.call(this,i,n),r.call(this,i,t,n)}else e.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const e=t.toLowerCase();if(o.has(e)){const t=this.getAttribute(e);n.call(this,e),r.call(this,e,t,null)}else n.call(this,e)})},p=o=>{const r=Object.getPrototypeOf(o);if(r!==window.HTMLElement)return r===t||"HTMLElement"===r?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):p(r)},h=(t,o,r=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),s=t;try{new o.elementClass}catch(t){p(o.elementClass),new o.elementClass}o.observedAttributes.forEach((r=>{t.hasAttribute(r)&&o.attributeChangedCallback.call(t,r,null,t.getAttribute(r))})),r&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let b=[document];const g=(t,o,r=void 0)=>{const e=(r?Object.getPrototypeOf(r):t.prototype)[o];t.prototype[o]=function(){b.push(this);const t=e.apply(r||this,arguments);return void 0!==t&&c.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,o)=>{const r=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...r,set(t){b.push(this),r.set.call(this,t),b.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,r=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...r){const e=o.call(this,...r);return t.set(e,this),e},r.forEach((o=>{const r=window.ElementInternals.prototype,e=r[o];r[o]=function(...o){const r=t.get(this);if(!0!==n.get(r).formAssociated)throw new DOMException(`Failed to execute ${e} on 'ElementInternals': The target element is not a form-associated custom element.`);e?.call(this,...o)}}));class e extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const o=new Map;t.forEach(((t,r)=>{const e=t.getAttribute("name"),n=o.get(e)||[];this[+r]=t,n.push(t),o.set(e,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new e(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const r of t){const t=n.get(r);t&&!0!==t.formAssociated||o.push(r)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(k){const t=window.customElements.define;window.customElements.define=(o,r,e)=>{if(null!==r)try{t.bind(window.customElements)(o,r,e)}catch(t){console.info(o,r,e,t)}}}class o extends Error{constructor(t,o,r){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=r}}class r extends Promise{constructor(t){super(((r,e)=>t((t=>{this.isCanceled?e(new o("Promise has been canceled",t)):r(t)}),(t=>{this.isCanceled?e(new o("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class e{constructor(){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(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof r&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(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,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=(t=>new r(((o,r)=>t.then(o).catch(r))))(o());return this.content[t]=n,n.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}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)}}class n{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 null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const r=[...this.callbacks];this.callbacks=[];const e=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of r)try{await t()}catch(t){return void e(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
* This code may only be used under the BSD style license found at
|
|
6
|
+
* http://polymer.github.io/LICENSE.txt
|
|
7
|
+
* The complete set of authors may be found at
|
|
8
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
+
* The complete set of contributors may be found at
|
|
10
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
+
* Code distributed by Google as part of the polymer project is also
|
|
12
|
+
* subject to an additional IP rights grant found at
|
|
13
|
+
* http://polymer.github.io/PATENTS.txt
|
|
14
|
+
*/
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);u(n,c,s);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=e.call(r,t);f||(f=h(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)i.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),n.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!l(o)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,n=r._getDefinition(o);return n?p(e,n):i.set(e,r),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i,n),e.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r),e.call(this,r,t,null)}else n.call(this,r)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const o=this.getAttribute(n);e.call(this,n,t,o)}else i.call(this,n,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},p=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let b=[document];const g=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){b.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){b.push(this),e.set.call(this,t),b.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===n.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),n=o.get(r)||[];this[+e]=t,n.push(t),o.set(r,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||o.push(e)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(wo){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class e extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new o("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new o("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){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(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof e&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(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,r){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=(t=>new e(((o,e)=>t.then(o).catch(e))))(o());return this.content[t]=n,n.then((o=>(this.content[t]=o,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}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)}}class n{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 null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
16
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2019 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
+
*/const i=globalThis,a=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),c=new WeakMap;const l=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(a&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=c.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&c.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,s),f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return l(o)})(t):t
|
|
23
21
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
* @license
|
|
23
|
+
* Copyright 2017 Google LLC
|
|
24
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
+
*/,{is:h,defineProperty:u,getOwnPropertyDescriptor:d,getOwnPropertyNames:p,getOwnPropertySymbols:y,getPrototypeOf:b}=Object,g=globalThis,m=g.trustedTypes,O=m?m.emptyScript:"",v=g.reactiveElementPolyfillSupport,N=(t,o)=>t,w={toAttribute(t,o){switch(o){case Boolean:t=t?O:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},S=(t,o)=>!h(t,o),C={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;let x=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=C){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&u(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=d(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??C}static _$Ei(){if(this.hasOwnProperty(N("elementProperties")))return;const t=b(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(N("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(N("properties"))){const t=this.properties,o=[...p(t),...y(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(f(t))}else void 0!==t&&o.push(f(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?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),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(a)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=i.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(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,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:w).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??S)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.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((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[N("elementProperties")]=new Map,x[N("finalized")]=new Map,v?.({ReactiveElement:x}),(g.reactiveElementVersions??=[]).push("2.0.2");
|
|
28
26
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2017 Google LLC
|
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
+
*/
|
|
31
|
+
const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S},R=(t=E,o,e)=>{const{kind:r,metadata:n}=e;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const n=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,n,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const n=this[r];o.call(this,e),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};function U(t){return(o,e)=>"object"==typeof e?R(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)}function I(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,n;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!I(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!I(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,n[r]))return!1;for(r=e;0!=r--;){var i=n[r];if(!I(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const L=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function W(t,o){const e=()=>JSON.parse(JSON.stringify(t));return U({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!I(t,o),...null!=o?o:{}})}
|
|
33
32
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright 2017 Google LLC
|
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
+
*/const k=globalThis,K=k.trustedTypes,A=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,j="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,M="?"+Z,P=`<${M}>`,F=document,$=()=>F.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,D="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,G=/>/g,H=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,Y=/"/g,V=/^(?:script|style|textarea|title)$/i,J=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=F.createTreeWalker(F,129);function ot(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==A?A.createHTML(o):o}let et=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const s=o.length-1,c=this.parts,[l,f]=((t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=z;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===z?"!--"===c[1]?a=T:void 0!==c[1]?a=G:void 0!==c[2]?(V.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=H):void 0!==c[3]&&(a=H):a===H?">"===c[0]?(a=n??z,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?H:'"'===c[3]?Y:q):a===Y||a===q?a=H:a===T||a===G?a=z:(a=H,n=void 0);const h=a===H&&t[o+1].startsWith("/>")?" ":"";i+=a===z?e+P:l>=0?(r.push(s),e.slice(0,l)+j+e.slice(l)+Z+h):e+Z+(-2===l?o:h)}return[ot(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(l,r),tt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=tt.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(j)){const o=f[a++],e=n.getAttribute(t).split(Z),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?at:"?"===r[1]?st:"@"===r[1]?ct:it}),n.removeAttribute(t)}else t.startsWith(Z)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(V.test(n.tagName)){const t=n.textContent.split(Z),o=t.length-1;if(o>0){n.textContent=K?K.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],$()),tt.nextNode(),c.push({type:2,index:++i});n.append(t[o],$())}}}else if(8===n.nodeType)if(n.data===M)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(Z,t+1));)c.push({type:7,index:i}),t+=Z.length-1}i++}}static createElement(t,o){const e=F.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,r){if(o===J)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=B(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=rt(t,n._$AS(t,o.values),n,r)),o}let nt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rt(this,t,o),B(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==J&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(t)||"function"==typeof t?.[Symbol.iterator])(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!==X&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(F.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=et.createElement(ot(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new 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){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??F).importNode(o,!0);tt.currentNode=r;let n=tt.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new nt(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new lt(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=tt.nextNode(),i++)}return tt.currentNode=F,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new et(t)),o}T(o){_(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k($()),this.k($()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},it=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=X}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=rt(this,t,o,0),i=!B(t)||t!==this._$AH&&t!==J,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=rt(this,r[e+a],o,a),s===J&&(s=this._$AH[a]),i||=!B(s)||s!==this._$AH[a],s===X?t=X:t!==X&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},at=class extends it{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===X?void 0:t}},st=class extends it{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},ct=class extends it{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??X)===J)return;const e=this._$AH,r=t===X&&e!==X||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==X&&(e===X||r);r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},lt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){rt(this,t)}};const ft=k.litHtmlPolyfillSupport;ft?.(et,nt),(k.litHtmlVersions??=[]).push("3.1.0");
|
|
38
37
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
* @license
|
|
39
|
+
* Copyright 2019 Google LLC
|
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
+
*/
|
|
42
|
+
const ht=globalThis,ut=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dt=Symbol(),pt=new WeakMap;let yt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==dt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(ut&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=pt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&pt.set(o,t))}return t}toString(){return this.cssText}};const bt=t=>new yt("string"==typeof t?t:t+"",void 0,dt),gt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new yt(e,t,dt)},mt=ut?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return bt(o)})(t):t
|
|
44
43
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
var ut,dt;let pt=class extends U{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const r=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=r.firstChild),r}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,r)=>{var e,n;const i=null!==(e=null==r?void 0:r.renderBefore)&&void 0!==e?e:o;let a=i._$litPart$;if(void 0===a){const t=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;i._$litPart$=a=new et(o.insertBefore(F(),t),t,void 0,null!=r?r:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return V}};pt.finalized=!0,pt._$litElement$=!0,null===(ut=globalThis.litElementHydrateSupport)||void 0===ut||ut.call(globalThis,{LitElement:pt});const ht=globalThis.litElementPolyfillSupport;null==ht||ht({LitElement:pt}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.3.2");const yt=t=>"string"==typeof t?b(t):t;class bt{static create(t,o,r,e){const n=t=>yt(null!=t?t:e),i=g`var(${yt(t)}, ${n(e)})`;return i.name=t,i.description=t,i.category=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>g`var(${yt(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>e,i}static extend(t,o,r,e){const n=t=>r.get(null!=t?t:e),i=g`var(${yt(t)}, ${n(e)})`;return i.name=t,i.description=o,i.category=r.category,i.fallbackVariable=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>g`var(${yt(t)}, ${n(o)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=e?e:r.lastResortDefaultValue(),i}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):yt(null!=o?o:t.lastResortDefaultValue()),e=g`var(${yt(t.name)}, ${r(t.defaultValue)})`;return e.name=t.name,e.category=t.category,e.fallbackVariable=t.fallbackVariable,e.defaultValue=t.defaultValue,e.context=o,e.defaultCssValue=r,e.get=o=>g`var(${yt(t.name)}, ${r(o)})`,e.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],e.lastResortDefaultValue=()=>t.lastResortDefaultValue(),e}}const gt={colorWhite:bt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:bt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:bt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:bt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:bt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:bt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:bt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:bt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:bt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:bt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:bt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:bt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:bt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:bt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:bt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:bt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:bt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:bt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:bt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:bt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:bt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:bt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:bt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:bt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:bt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:bt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:bt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:bt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:bt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:bt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:bt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:bt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:bt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:bt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:bt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:bt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:bt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:bt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:bt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:bt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:bt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:bt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:bt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:bt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:bt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:bt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:bt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:bt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:bt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:bt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:bt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:bt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:bt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:bt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:bt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:bt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:bt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:bt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:bt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:bt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:bt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:bt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:bt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:bt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:bt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:bt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:bt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:bt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:bt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:bt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:bt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:bt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:bt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:bt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:bt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:bt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:bt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:bt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:bt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:bt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:bt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:bt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:bt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:bt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:bt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:bt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:bt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:bt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:bt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:bt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:bt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:bt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:bt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:bt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:bt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:bt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:bt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:bt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:bt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:bt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:bt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:bt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:bt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:bt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:bt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:bt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:bt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:bt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:bt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:bt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:bt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:bt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:bt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:bt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:bt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:bt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:bt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:bt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:bt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:bt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:bt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:bt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:bt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:bt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:bt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:bt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:bt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:bt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:bt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:bt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:bt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:bt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:bt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:bt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:bt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:bt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:bt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:bt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:bt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:bt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:bt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:bt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:bt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:bt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:bt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:bt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:bt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:bt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:bt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:bt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:bt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:bt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:bt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:bt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:bt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:bt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:bt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:bt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:bt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:bt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:bt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:bt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:bt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:bt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:bt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:bt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:bt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:bt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:bt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:bt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:bt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:bt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:bt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:bt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:bt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:bt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:bt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:bt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:bt.create("--ft-opacity-0","","NUMBER","0"),opacity8:bt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:bt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:bt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:bt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:bt.create("--ft-opacity-80","","NUMBER","0.8")};bt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-display-lineHeight","","SIZE","120%"),bt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),bt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),bt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-display-textCase","","UNKNOWN","none"),bt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),bt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),bt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),bt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),bt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),bt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),bt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),bt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),bt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),bt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),bt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),bt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),bt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),bt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),bt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),bt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),bt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),bt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),bt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),bt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const mt={backgroundActionPrimary:bt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",gt.colorBrand0),backgroundErrorPrimary:bt.extend("--ft-background-error-primary","Used as background of error components.",gt.colorRed0),backgroundErrorSubtle:bt.extend("--ft-background-error-subtle","Used as background of subtle error components.",gt.colorRed10),backgroundInfoPrimary:bt.extend("--ft-background-info-primary","Used as background of information components.",gt.colorCyan200),backgroundInfoSubtle:bt.extend("--ft-background-info-subtle","Used as background of subtle information components.",gt.colorCyan10),backgroundWarningPrimary:bt.extend("--ft-background-warning-primary","Used as background of warning components.",gt.colorOrange300),backgroundWarningSubtle:bt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",gt.colorOrange10),backgroundSuccessPrimary:bt.extend("--ft-background-success-primary","Used as background of success components.",gt.colorGreen200),backgroundSuccessSubtle:bt.extend("--ft-background-success-subtle","Used as background of subtle success components.",gt.colorGreen10),backgroundGlobalSurface:bt.extend("--ft-background-global-surface","Used as app background.",gt.colorWhite),backgroundGlobalOnSurface:bt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",gt.colorGray10),backgroundGlobalOnSurfaceDark:bt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",gt.colorGray30),contentActionPrimary:bt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",gt.colorBrand0),contentWarningPrimary:bt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",gt.colorOrange300),contentWarningIconOnly:bt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",gt.colorOrange0),contentErrorPrimary:bt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",gt.colorRed0),contentErrorIconOnly:bt.extend("--ft-content-error-icon-only","Used on error status icons alone",gt.colorRed0),contentInfoPrimary:bt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",gt.colorCyan200),contentInfoIconOnly:bt.extend("--ft-content-info-icon-only","Used on info status icons alone",gt.colorCyan0),contentSuccessIconOnly:bt.extend("--ft-content-success-icon-only","Used on success status icons alone",gt.colorGreen0),contentSuccessPrimary:bt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",gt.colorGreen200),contentGlobalPrimary:bt.extend("--ft-content-global-primary","Used for main content on the page.",gt.colorGray500),contentGlobalSecondary:bt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",gt.colorGray200),contentGlobalSubtle:bt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",gt.colorGray0),contentGlobalOnColor:bt.extend("--ft-content-global-on-color","Used for content on a dominant color.",gt.colorWhite),borderActionPrimary:bt.extend("--ft-border-action-primary","Used as border for primary action components.",gt.colorBrand0),borderActionFocusRing:bt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",gt.colorCyan0),borderWarningPrimary:bt.extend("--ft-border-warning-primary","Used as border for warning components.",gt.colorOrange30),borderSuccessPrimary:bt.extend("--ft-border-success-primary","Used as border for success components.",gt.colorGreen30),borderErrorPrimary:bt.extend("--ft-border-error-primary","Used as border for error components.",gt.colorRed30),borderInfoPrimary:bt.extend("--ft-border-info-primary","Used as border for information components.",gt.colorCyan30),borderGlobalSubtle:bt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",gt.colorGray30),borderGlobalPrimary:bt.extend("--ft-border-global-primary","Used as border for element like input.",gt.colorGray50),borderInputPrimary:bt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",gt.colorGray80)};bt.create("--ft-button-large-height","","SIZE","40px"),bt.extend("--ft-button-large-horizontal-padding","",gt.spacing4),bt.extend("--ft-button-large-gap","",gt.spacing2),bt.extend("--ft-button-large-border-radius","",gt.borderRadiusS),bt.extend("--ft-button-large-icon-size","",gt.iconSize3),bt.create("--ft-button-large-border-width","","SIZE","1px"),bt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-large-icon-only-width","","SIZE","40px"),bt.create("--ft-button-small-height","","SIZE","30px"),bt.extend("--ft-button-small-horizontal-padding","",gt.spacing3),bt.extend("--ft-button-small-gap","",gt.spacing2),bt.extend("--ft-button-small-border-radius","",gt.borderRadiusS),bt.extend("--ft-button-small-icon-size","",gt.iconSize2),bt.create("--ft-button-small-border-width","","SIZE","1px"),bt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-small-icon-only-width","","SIZE","30px"),bt.extend("--ft-button-primary-background-color","",mt.backgroundActionPrimary),bt.extend("--ft-button-primary-color","",mt.contentGlobalOnColor),bt.extend("--ft-button-primary-icon-color","",mt.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-color","",mt.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-button-primary-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-button-focus-focus-ring-color","",mt.borderActionFocusRing),bt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-tertiary-color","",mt.contentActionPrimary),bt.extend("--ft-button-tertiary-icon-color","",mt.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-color","",mt.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-opacity-hover","",gt.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-focus","",gt.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-active","",gt.opacity16),bt.extend("--ft-button-tertiary-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-button-secondary-background-color","",gt.colorWhite),bt.extend("--ft-button-secondary-color","",mt.contentActionPrimary),bt.extend("--ft-button-secondary-icon-color","",mt.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-color","",mt.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-opacity-hover","",gt.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-focus","",gt.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-active","",gt.opacity16),bt.extend("--ft-button-secondary-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-button-secondary-border-color","",mt.borderActionPrimary),bt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-neutral-icon-color","",mt.contentGlobalSecondary),bt.extend("--ft-button-neutral-color","",mt.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-color","",mt.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-opacity-hover","",gt.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-focus","",gt.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-active","",gt.opacity16),bt.extend("--ft-button-neutral-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-tabs-top-left-border-radius","",gt.borderRadiusS),bt.extend("--ft-tabs-top-right-border-radius","",gt.borderRadiusS),bt.extend("--ft-tabs-label-horizontal-padding","",gt.spacing4),bt.extend("--ft-tabs-label-vertical-padding","",gt.spacing3),bt.extend("--ft-tabs-label-gap","",gt.spacing1),bt.extend("--ft-switch-group-horizontal-padding","",gt.spacing1),bt.extend("--ft-switch-group-vertical-padding","",gt.spacing1),bt.extend("--ft-switch-group-gap","",gt.spacing1),bt.extend("--ft-switch-group-background-color","",mt.backgroundGlobalSurface),bt.extend("--ft-switch-group-border-color","",mt.borderGlobalSubtle),bt.create("--ft-switch-group-border-radius","","SIZE","6px"),bt.extend("--ft-switch-label-horizontal-padding","",gt.spacing2),bt.extend("--ft-switch-label-vertical-padding","",gt.spacing1),bt.extend("--ft-switch-icon-horizontal-padding","",gt.spacing1),bt.extend("--ft-switch-icon-vertical-padding","",gt.spacing1),bt.create("--ft-switch-focus-outline-width","","SIZE","2px"),bt.extend("--ft-switch-focus-focus-ring-color","",mt.borderActionFocusRing),bt.extend("--ft-switch-option-border-radius","",gt.borderRadiusS),bt.extend("--ft-switch-off-state-layer-opacity-hover","",gt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-focus","",gt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-active","",gt.opacity16),bt.extend("--ft-switch-off-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-switch-off-color","",mt.contentGlobalSubtle),bt.extend("--ft-switch-off-state-layer-color","",mt.contentGlobalSubtle),bt.extend("--ft-chart-1-light","for area color charts",gt.colorBrand40),bt.extend("--ft-chart-1-base","for line charts",gt.colorBrand0),bt.extend("--ft-chart-2-light","for area color charts",gt.colorYellow60),bt.extend("--ft-chart-2-base","for line charts",gt.colorYellow100),bt.extend("--ft-chart-3-light","",gt.colorUltramarine40),bt.extend("--ft-chart-3-base","",gt.colorUltramarine70),bt.extend("--ft-chart-4-light","",gt.colorCyan50),bt.extend("--ft-chart-4-base","",gt.colorCyan100),bt.extend("--ft-chart-5-light","",gt.colorRed40),bt.extend("--ft-chart-5-base","",gt.colorRed60),bt.extend("--ft-chart-6-light","",gt.colorGreen40),bt.extend("--ft-chart-6-base","",gt.colorGreen70),bt.extend("--ft-chart-7-light","",gt.colorOrange70),bt.extend("--ft-chart-7-base","",gt.colorOrange100),bt.extend("--ft-chart-8-light","",gt.colorAvocado70),bt.extend("--ft-chart-8-base","",gt.colorAvocado200),bt.extend("--ft-chart-9-light","",gt.colorBrown50),bt.extend("--ft-chart-9-base","",gt.colorBrown200),bt.extend("--ft-chart-10-light","",gt.colorGray50),bt.extend("--ft-chart-10-base","",gt.colorGray80),bt.extend("--ft-chart-monochrome-10","",gt.colorBrand10),bt.extend("--ft-chart-monochrome-20","",gt.colorBrand20),bt.extend("--ft-chart-monochrome-30","",gt.colorBrand40),bt.extend("--ft-chart-monochrome-40","",gt.colorBrand60),bt.extend("--ft-chart-monochrome-50","",gt.colorBrand0),bt.extend("--ft-chart-monochrome-60","",gt.colorBrand200),bt.extend("--ft-chip-large-horizontal-padding","",gt.spacing4),bt.extend("--ft-chip-large-vertical-padding","",gt.spacing2),bt.extend("--ft-chip-large-gap","",gt.spacing1),bt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-large-border-radius","",gt.borderRadiusPill),bt.create("--ft-chip-large-border-width","","SIZE","1px"),bt.extend("--ft-chip-large-icon-size","",gt.iconSize3),bt.extend("--ft-chip-medium-horizontal-padding","",gt.spacing3),bt.extend("--ft-chip-medium-vertical-padding","",gt.spacing1),bt.extend("--ft-chip-medium-gap","",gt.spacing1),bt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-medium-border-radius","",gt.borderRadiusPill),bt.create("--ft-chip-medium-border-width","","SIZE","1px"),bt.extend("--ft-chip-medium-icon-size","",gt.iconSize2),bt.extend("--ft-chip-small-horizontal-padding","",gt.spacing2),bt.extend("--ft-chip-small-vertical-padding","",gt.spacing05),bt.extend("--ft-chip-small-gap","",gt.spacing1),bt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-small-border-radius","",gt.borderRadiusPill),bt.create("--ft-chip-small-border-width","","SIZE","1px"),bt.extend("--ft-chip-small-icon-size","",gt.iconSize1),bt.extend("--ft-chip-neutral-background-color","",mt.backgroundGlobalOnSurface),bt.extend("--ft-chip-neutral-color","",mt.contentGlobalPrimary),bt.extend("--ft-chip-neutral-border-color","",mt.borderGlobalSubtle),bt.extend("--ft-chip-info-background-color","",mt.backgroundInfoSubtle),bt.extend("--ft-chip-info-color","",mt.contentInfoPrimary),bt.extend("--ft-chip-info-border-color","",mt.borderInfoPrimary),bt.extend("--ft-chip-success-background-color","",mt.backgroundSuccessSubtle),bt.extend("--ft-chip-success-color","",mt.contentSuccessPrimary),bt.extend("--ft-chip-success-border-color","",mt.borderSuccessPrimary),bt.extend("--ft-chip-warning-background-color","",mt.backgroundWarningSubtle),bt.extend("--ft-chip-warning-color","",mt.contentWarningPrimary),bt.extend("--ft-chip-warning-border-color","",mt.borderWarningPrimary),bt.extend("--ft-chip-error-background-color","",mt.backgroundErrorSubtle),bt.extend("--ft-chip-error-color","",mt.contentErrorPrimary),bt.extend("--ft-chip-error-border-color","",mt.borderErrorPrimary),bt.create("--ft-notice-border-width","","SIZE","1px"),bt.extend("--ft-notice-horizontal-padding","",gt.spacing2),bt.extend("--ft-notice-vertical-padding","",gt.spacing1),bt.extend("--ft-notice-border-radius","",gt.borderRadiusS),bt.extend("--ft-notice-gap","",gt.spacing2),bt.extend("--ft-notice-icon-size","",gt.iconSize3),bt.extend("--ft-notice-info-background-color","",mt.backgroundInfoSubtle),bt.extend("--ft-notice-info-border-color","",mt.borderInfoPrimary),bt.extend("--ft-notice-info-color","",mt.contentInfoPrimary),bt.extend("--ft-notice-warning-background-color","",mt.backgroundWarningSubtle),bt.extend("--ft-notice-warning-border-color","",mt.borderWarningPrimary),bt.extend("--ft-notice-warning-color","",mt.contentWarningPrimary),bt.extend("--ft-checkbox-label-color","",mt.contentGlobalPrimary),bt.extend("--ft-checkbox-checked-background-color","",mt.contentActionPrimary),bt.extend("--ft-checkbox-checked-state-layer-color","",mt.contentActionPrimary),bt.extend("--ft-checkbox-checked-color","",mt.contentGlobalOnColor),bt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-checkbox-checked-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-checkbox-unchecked-border-color","",gt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-color","",gt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-checkbox-focus-focus-ring-color","",mt.borderActionFocusRing),bt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),bt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),bt.extend("--ft-checkbox-gap","",gt.spacing3),bt.extend("--ft-toggle-off-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-toggle-off-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-toggle-off-background-color","",mt.contentGlobalSubtle),bt.extend("--ft-toggle-off-icon-color","",mt.contentGlobalSubtle),bt.extend("--ft-toggle-off-state-layer-color","",mt.contentGlobalSubtle),bt.extend("--ft-toggle-on-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-toggle-on-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-toggle-on-background-color","",mt.contentActionPrimary),bt.extend("--ft-toggle-on-icon-color","",mt.contentActionPrimary),bt.extend("--ft-toggle-on-state-layer-color","",mt.contentActionPrimary),bt.extend("--ft-toggle-label-color","",mt.contentGlobalPrimary),bt.extend("--ft-toggle-focus-focus-ring-color","",mt.borderActionFocusRing),bt.extend("--ft-toggle-gap","",gt.spacing3),bt.extend("--ft-radio-label-color","",mt.contentGlobalPrimary),bt.extend("--ft-radio-selected-color","",mt.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-color","",mt.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-radio-selected-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-radio-unselected-state-layer-color","",gt.colorGray80),bt.extend("--ft-radio-unselected-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-radio-unselected-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-radio-focus-focus-ring-color","",mt.borderActionFocusRing),bt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),bt.create("--ft-radio-focus-outline-width","","SIZE","2px"),bt.extend("--ft-radio-gap","",gt.spacing3),bt.extend("--ft-notification-icon-size","",gt.iconSize4),bt.extend("--ft-notification-horizontal-padding","",gt.spacing4),bt.extend("--ft-notification-vertical-padding","",gt.spacing4),bt.extend("--ft-notification-info-background-color","",mt.backgroundInfoSubtle),bt.extend("--ft-notification-info-color","",mt.contentInfoPrimary),bt.extend("--ft-notification-info-border-color","",mt.borderInfoPrimary),bt.extend("--ft-notification-success-background-color","",mt.backgroundSuccessSubtle),bt.extend("--ft-notification-success-color","",mt.contentSuccessPrimary),bt.extend("--ft-notification-success-border-color","",mt.borderSuccessPrimary),bt.extend("--ft-notification-warning-background-color","",mt.backgroundWarningSubtle),bt.extend("--ft-notification-warning-color","",mt.contentWarningPrimary),bt.extend("--ft-notification-warning-border-color","",mt.borderWarningPrimary),bt.extend("--ft-notification-error-background-color","",mt.backgroundErrorSubtle),bt.extend("--ft-notification-error-color","",mt.contentErrorPrimary),bt.extend("--ft-notification-error-border-color","",mt.borderErrorPrimary),bt.extend("--ft-notification-border-radius","",gt.borderRadiusPill),bt.create("--ft-notification-border-width","","SIZE","1px"),bt.extend("--ft-notification-gap-leading","",gt.spacing2),bt.extend("--ft-notification-gap-trailing","",gt.spacing8),bt.create("--ft-color-primary","","COLOR","#2196F3"),bt.create("--ft-color-primary-variant","","COLOR","#1976D2"),bt.create("--ft-color-secondary","","COLOR","#FFCC80"),bt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),bt.create("--ft-color-surface","","COLOR","#FFFFFF"),bt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),bt.create("--ft-color-error","","COLOR","#B00020"),bt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),bt.create("--ft-color-opacity-high","","NUMBER","1"),bt.create("--ft-color-opacity-medium","","NUMBER","0.74"),bt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),bt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),bt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),bt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),bt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),bt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),bt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),bt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),bt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),bt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),bt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),bt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),bt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),bt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),bt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),bt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),bt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),bt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),bt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),bt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),bt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),bt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),bt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),bt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),bt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),bt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),bt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),bt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),bt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),bt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),bt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),bt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),bt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),bt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.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)"),bt.create("--ft-border-radius-S","","SIZE","4px"),bt.create("--ft-border-radius-M","","SIZE","8px"),bt.create("--ft-border-radius-L","","SIZE","12px"),bt.create("--ft-border-radius-XL","","SIZE","16px"),bt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),bt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),bt.create("--ft-transition-duration","","UNKNOWN","250ms"),bt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");class vt extends pt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,r])=>t.registry.define(o,r))));const o={...t.shadowRootOptions,customElements:t.registry},r=this.renderOptions.creationScope=this.attachShadow(o);return m(r,t.elementStyles),r}}var Ot,Nt=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};const wt=Symbol("constructorPrototype"),St=Symbol("constructorName"),Ct=Symbol("exportpartsDebouncer");class xt extends vt{constructor(){super(),this[Ot]=new n(5),this[St]=this.constructor.name,this[wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[St]&&Object.setPrototypeOf(this,this[wt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,r;if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ct].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,r,e,n,i,a;const c=t=>null!=t&&t.trim().length>0,s=t.filter(c).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==r?r:[]){const o=null!==(n=null===(e=t.getAttribute("part"))||void 0===e?void 0:e.split(" "))&&void 0!==n?n:[],r=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...r).filter(c).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ot=Ct,Nt([a()],xt.prototype,"exportpartsPrefix",void 0),Nt([f([])],xt.prototype,"exportpartsPrefixes",void 0),Nt([a()],xt.prototype,"customStylesheet",void 0),g`
|
|
44
|
+
* @license
|
|
45
|
+
* Copyright 2017 Google LLC
|
|
46
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
+
*/,{is:Ot,defineProperty:vt,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:wt,getOwnPropertySymbols:St,getPrototypeOf:Ct}=Object,xt=globalThis,Et=xt.trustedTypes,Rt=Et?Et.emptyScript:"",Ut=xt.reactiveElementPolyfillSupport,It=(t,o)=>t,Lt={toAttribute(t,o){switch(o){case Boolean:t=t?Rt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Wt=(t,o)=>!Ot(t,o),kt={attribute:!0,type:String,converter:Lt,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),xt.litPropertyMetadata??=new WeakMap;let Kt=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=kt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&vt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=Nt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??kt}static _$Ei(){if(this.hasOwnProperty(It("elementProperties")))return;const t=Ct(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){const t=this.properties,o=[...wt(t),...St(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(mt(t))}else void 0!==t&&o.push(mt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?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),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ut)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=ht.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(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,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:Lt).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Lt;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Wt)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.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((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Kt.elementStyles=[],Kt.shadowRootOptions={mode:"open"},Kt[It("elementProperties")]=new Map,Kt[It("finalized")]=new Map,Ut?.({ReactiveElement:Kt}),(xt.reactiveElementVersions??=[]).push("2.0.2");
|
|
48
|
+
/**
|
|
49
|
+
* @license
|
|
50
|
+
* Copyright 2017 Google LLC
|
|
51
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
52
|
+
*/
|
|
53
|
+
const At=globalThis,jt=At.trustedTypes,Zt=jt?jt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Mt="$lit$",Pt=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+Pt,$t=`<${Ft}>`,Bt=document,_t=()=>Bt.createComment(""),Dt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,zt=Array.isArray,Tt="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ht=/-->/g,qt=/>/g,Yt=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Vt=/'/g,Jt=/"/g,Xt=/^(?:script|style|textarea|title)$/i,Qt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),to=Symbol.for("lit-noChange"),oo=Symbol.for("lit-nothing"),eo=new WeakMap,ro=Bt.createTreeWalker(Bt,129);function no(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Zt?Zt.createHTML(o):o}class io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,s=this.parts,[c,l]=((t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=Gt;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===Gt?"!--"===c[1]?a=Ht:void 0!==c[1]?a=qt:void 0!==c[2]?(Xt.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Yt):void 0!==c[3]&&(a=Yt):a===Yt?">"===c[0]?(a=n??Gt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Yt:'"'===c[3]?Jt:Vt):a===Jt||a===Vt?a=Yt:a===Ht||a===qt?a=Gt:(a=Yt,n=void 0);const h=a===Yt&&t[o+1].startsWith("/>")?" ":"";i+=a===Gt?e+$t:l>=0?(r.push(s),e.slice(0,l)+Mt+e.slice(l)+Pt+h):e+Pt+(-2===l?o:h)}return[no(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(t,o);if(this.el=io.createElement(c,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ro.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Mt)){const o=l[i++],e=r.getAttribute(t).split(Pt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?lo:"?"===a[1]?fo:"@"===a[1]?ho:co}),r.removeAttribute(t)}else t.startsWith(Pt)&&(s.push({type:6,index:n}),r.removeAttribute(t));if(Xt.test(r.tagName)){const t=r.textContent.split(Pt),o=t.length-1;if(o>0){r.textContent=jt?jt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),ro.nextNode(),s.push({type:2,index:++n});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Ft)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Pt,t+1));)s.push({type:7,index:n}),t+=Pt.length-1}n++}}static createElement(t,o){const e=Bt.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===to)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Dt(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=ao(t,n._$AS(t,o.values),n,r)),o}let so=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=oo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ao(this,t,o),Dt(t)?t===oo||null==t||""===t?(this._$AH!==oo&&this._$AR(),this._$AH=oo):t!==this._$AH&&t!==to&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>zt(t)||"function"==typeof t?.[Symbol.iterator])(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!==oo&&Dt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Bt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=io.createElement(no(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new 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){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Bt).importNode(o,!0);ro.currentNode=r;let n=ro.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new so(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new uo(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=ro.nextNode(),i++)}return ro.currentNode=Bt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=eo.get(t.strings);return void 0===o&&eo.set(t.strings,o=new io(t)),o}T(o){zt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(_t()),this.k(_t()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=oo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=oo}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=ao(this,t,o,0),i=!Dt(t)||t!==this._$AH&&t!==to,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=ao(this,r[e+a],o,a),s===to&&(s=this._$AH[a]),i||=!Dt(s)||s!==this._$AH[a],s===oo?t=oo:t!==oo&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===oo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lo=class extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===oo?void 0:t}},fo=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==oo)}},ho=class extends co{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??oo)===to)return;const e=this._$AH,r=t===oo&&e!==oo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==oo&&(e===oo||r);r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},uo=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};const po=At.litHtmlPolyfillSupport;po?.(io,so),(At.litHtmlVersions??=[]).push("3.1.0");
|
|
54
|
+
/**
|
|
55
|
+
* @license
|
|
56
|
+
* Copyright 2017 Google LLC
|
|
57
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
+
*/
|
|
59
|
+
let yo=class extends Kt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let n=r._$litPart$;if(void 0===n){const t=e?.renderBefore??null;r._$litPart$=n=new so(o.insertBefore(_t(),t),t,void 0,e??{})}return n._$AI(t),n})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return to}};yo._$litElement$=!0,yo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:yo});const bo=globalThis.litElementPolyfillSupport;bo?.({LitElement:yo}),(globalThis.litElementVersions??=[]).push("4.0.2");const go=t=>"string"==typeof t?bt(t):t;class mo{static create(t,o,e,r){const n=t=>go(null!=t?t:r),i=gt`var(${go(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>gt`var(${go(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const n=t=>e.get(null!=t?t:r),i=gt`var(${go(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>gt`var(${go(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):go(null!=o?o:t.lastResortDefaultValue()),r=gt`var(${go(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>gt`var(${go(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Oo={colorWhite:mo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:mo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:mo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:mo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:mo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:mo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:mo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:mo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:mo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:mo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:mo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:mo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:mo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:mo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:mo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:mo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mo.create("--ft-opacity-0","","NUMBER","0"),opacity8:mo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mo.create("--ft-opacity-80","","NUMBER","0.8")};mo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-display-lineHeight","","SIZE","120%"),mo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),mo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),mo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-display-textCase","","UNKNOWN","none"),mo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),mo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),mo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),mo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),mo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),mo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),mo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),mo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),mo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),mo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),mo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),mo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),mo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),mo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),mo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),mo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),mo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),mo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),mo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),mo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const vo={backgroundActionPrimary:mo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oo.colorBrand0),backgroundErrorPrimary:mo.extend("--ft-background-error-primary","Used as background of error components.",Oo.colorRed0),backgroundErrorSubtle:mo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oo.colorRed10),backgroundInfoPrimary:mo.extend("--ft-background-info-primary","Used as background of information components.",Oo.colorCyan200),backgroundInfoSubtle:mo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oo.colorCyan10),backgroundWarningPrimary:mo.extend("--ft-background-warning-primary","Used as background of warning components.",Oo.colorOrange300),backgroundWarningSubtle:mo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oo.colorOrange10),backgroundSuccessPrimary:mo.extend("--ft-background-success-primary","Used as background of success components.",Oo.colorGreen200),backgroundSuccessSubtle:mo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oo.colorGreen10),backgroundGlobalSurface:mo.extend("--ft-background-global-surface","Used as app background.",Oo.colorWhite),backgroundGlobalOnSurface:mo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oo.colorGray10),backgroundGlobalOnSurfaceDark:mo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oo.colorGray30),contentActionPrimary:mo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oo.colorBrand0),contentWarningPrimary:mo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oo.colorOrange300),contentWarningIconOnly:mo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oo.colorOrange0),contentErrorPrimary:mo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oo.colorRed0),contentErrorIconOnly:mo.extend("--ft-content-error-icon-only","Used on error status icons alone",Oo.colorRed0),contentInfoPrimary:mo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oo.colorCyan200),contentInfoIconOnly:mo.extend("--ft-content-info-icon-only","Used on info status icons alone",Oo.colorCyan0),contentSuccessIconOnly:mo.extend("--ft-content-success-icon-only","Used on success status icons alone",Oo.colorGreen0),contentSuccessPrimary:mo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oo.colorGreen200),contentGlobalPrimary:mo.extend("--ft-content-global-primary","Used for main content on the page.",Oo.colorGray500),contentGlobalSecondary:mo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oo.colorGray200),contentGlobalSubtle:mo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oo.colorGray0),contentGlobalOnColor:mo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oo.colorWhite),borderActionPrimary:mo.extend("--ft-border-action-primary","Used as border for primary action components.",Oo.colorBrand0),borderActionFocusRing:mo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oo.colorCyan0),borderWarningPrimary:mo.extend("--ft-border-warning-primary","Used as border for warning components.",Oo.colorOrange30),borderSuccessPrimary:mo.extend("--ft-border-success-primary","Used as border for success components.",Oo.colorGreen30),borderErrorPrimary:mo.extend("--ft-border-error-primary","Used as border for error components.",Oo.colorRed30),borderInfoPrimary:mo.extend("--ft-border-info-primary","Used as border for information components.",Oo.colorCyan30),borderGlobalSubtle:mo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oo.colorGray30),borderGlobalPrimary:mo.extend("--ft-border-global-primary","Used as border for element like input.",Oo.colorGray50),borderInputPrimary:mo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oo.colorGray80)};mo.create("--ft-button-large-height","","SIZE","40px"),mo.extend("--ft-button-large-horizontal-padding","",Oo.spacing4),mo.extend("--ft-button-large-gap","",Oo.spacing2),mo.extend("--ft-button-large-border-radius","",Oo.borderRadiusS),mo.extend("--ft-button-large-icon-size","",Oo.iconSize3),mo.create("--ft-button-large-border-width","","SIZE","1px"),mo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),mo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),mo.create("--ft-button-large-icon-only-width","","SIZE","40px"),mo.create("--ft-button-small-height","","SIZE","30px"),mo.extend("--ft-button-small-horizontal-padding","",Oo.spacing3),mo.extend("--ft-button-small-gap","",Oo.spacing2),mo.extend("--ft-button-small-border-radius","",Oo.borderRadiusS),mo.extend("--ft-button-small-icon-size","",Oo.iconSize2),mo.create("--ft-button-small-border-width","","SIZE","1px"),mo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),mo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),mo.create("--ft-button-small-icon-only-width","","SIZE","30px"),mo.extend("--ft-button-primary-background-color","",vo.backgroundActionPrimary),mo.extend("--ft-button-primary-color","",vo.contentGlobalOnColor),mo.extend("--ft-button-primary-icon-color","",vo.contentGlobalOnColor),mo.extend("--ft-button-primary-state-layer-color","",vo.contentGlobalOnColor),mo.extend("--ft-button-primary-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-button-primary-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-button-primary-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-button-primary-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-button-focus-focus-ring-color","",vo.borderActionFocusRing),mo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),mo.extend("--ft-button-tertiary-color","",vo.contentActionPrimary),mo.extend("--ft-button-tertiary-icon-color","",vo.contentActionPrimary),mo.extend("--ft-button-tertiary-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-button-tertiary-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-button-tertiary-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-button-tertiary-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-button-tertiary-component-opacity-disabled","",Oo.opacity40),mo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),mo.extend("--ft-button-secondary-color","",vo.contentActionPrimary),mo.extend("--ft-button-secondary-icon-color","",vo.contentActionPrimary),mo.extend("--ft-button-secondary-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-button-secondary-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-button-secondary-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-button-secondary-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-button-secondary-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-button-secondary-border-color","",vo.borderActionPrimary),mo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),mo.extend("--ft-button-neutral-icon-color","",vo.contentGlobalSecondary),mo.extend("--ft-button-neutral-color","",vo.contentGlobalSecondary),mo.extend("--ft-button-neutral-state-layer-color","",vo.contentGlobalSecondary),mo.extend("--ft-button-neutral-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-button-neutral-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-button-neutral-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-button-neutral-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-tabs-top-left-border-radius","",Oo.borderRadiusS),mo.extend("--ft-tabs-top-right-border-radius","",Oo.borderRadiusS),mo.extend("--ft-tabs-label-horizontal-padding","",Oo.spacing4),mo.extend("--ft-tabs-label-vertical-padding","",Oo.spacing3),mo.extend("--ft-tabs-label-gap","",Oo.spacing1),mo.extend("--ft-switch-group-horizontal-padding","",Oo.spacing1),mo.extend("--ft-switch-group-vertical-padding","",Oo.spacing1),mo.extend("--ft-switch-group-gap","",Oo.spacing1),mo.extend("--ft-switch-group-background-color","",vo.backgroundGlobalSurface),mo.extend("--ft-switch-group-border-color","",vo.borderGlobalSubtle),mo.create("--ft-switch-group-border-radius","","SIZE","6px"),mo.extend("--ft-switch-label-horizontal-padding","",Oo.spacing2),mo.extend("--ft-switch-label-vertical-padding","",Oo.spacing1),mo.extend("--ft-switch-icon-horizontal-padding","",Oo.spacing1),mo.extend("--ft-switch-icon-vertical-padding","",Oo.spacing1),mo.create("--ft-switch-focus-outline-width","","SIZE","2px"),mo.extend("--ft-switch-focus-focus-ring-color","",vo.borderActionFocusRing),mo.extend("--ft-switch-option-border-radius","",Oo.borderRadiusS),mo.extend("--ft-switch-off-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-switch-off-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-switch-off-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-switch-off-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-switch-off-color","",vo.contentGlobalSubtle),mo.extend("--ft-switch-off-state-layer-color","",vo.contentGlobalSubtle),mo.extend("--ft-chart-1-light","for area color charts",Oo.colorBrand40),mo.extend("--ft-chart-1-base","for line charts",Oo.colorBrand0),mo.extend("--ft-chart-2-light","for area color charts",Oo.colorYellow60),mo.extend("--ft-chart-2-base","for line charts",Oo.colorYellow100),mo.extend("--ft-chart-3-light","",Oo.colorUltramarine40),mo.extend("--ft-chart-3-base","",Oo.colorUltramarine70),mo.extend("--ft-chart-4-light","",Oo.colorCyan50),mo.extend("--ft-chart-4-base","",Oo.colorCyan100),mo.extend("--ft-chart-5-light","",Oo.colorRed40),mo.extend("--ft-chart-5-base","",Oo.colorRed60),mo.extend("--ft-chart-6-light","",Oo.colorGreen40),mo.extend("--ft-chart-6-base","",Oo.colorGreen70),mo.extend("--ft-chart-7-light","",Oo.colorOrange70),mo.extend("--ft-chart-7-base","",Oo.colorOrange100),mo.extend("--ft-chart-8-light","",Oo.colorAvocado70),mo.extend("--ft-chart-8-base","",Oo.colorAvocado200),mo.extend("--ft-chart-9-light","",Oo.colorBrown50),mo.extend("--ft-chart-9-base","",Oo.colorBrown200),mo.extend("--ft-chart-10-light","",Oo.colorGray50),mo.extend("--ft-chart-10-base","",Oo.colorGray80),mo.extend("--ft-chart-monochrome-10","",Oo.colorBrand10),mo.extend("--ft-chart-monochrome-20","",Oo.colorBrand20),mo.extend("--ft-chart-monochrome-30","",Oo.colorBrand40),mo.extend("--ft-chart-monochrome-40","",Oo.colorBrand60),mo.extend("--ft-chart-monochrome-50","",Oo.colorBrand0),mo.extend("--ft-chart-monochrome-60","",Oo.colorBrand200),mo.extend("--ft-chip-large-horizontal-padding","",Oo.spacing4),mo.extend("--ft-chip-large-vertical-padding","",Oo.spacing2),mo.extend("--ft-chip-large-gap","",Oo.spacing1),mo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),mo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),mo.extend("--ft-chip-large-border-radius","",Oo.borderRadiusPill),mo.create("--ft-chip-large-border-width","","SIZE","1px"),mo.extend("--ft-chip-large-icon-size","",Oo.iconSize3),mo.extend("--ft-chip-medium-horizontal-padding","",Oo.spacing3),mo.extend("--ft-chip-medium-vertical-padding","",Oo.spacing1),mo.extend("--ft-chip-medium-gap","",Oo.spacing1),mo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mo.extend("--ft-chip-medium-border-radius","",Oo.borderRadiusPill),mo.create("--ft-chip-medium-border-width","","SIZE","1px"),mo.extend("--ft-chip-medium-icon-size","",Oo.iconSize2),mo.extend("--ft-chip-small-horizontal-padding","",Oo.spacing2),mo.extend("--ft-chip-small-vertical-padding","",Oo.spacing05),mo.extend("--ft-chip-small-gap","",Oo.spacing1),mo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),mo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),mo.extend("--ft-chip-small-border-radius","",Oo.borderRadiusPill),mo.create("--ft-chip-small-border-width","","SIZE","1px"),mo.extend("--ft-chip-small-icon-size","",Oo.iconSize1),mo.extend("--ft-chip-neutral-background-color","",vo.backgroundGlobalOnSurface),mo.extend("--ft-chip-neutral-color","",vo.contentGlobalPrimary),mo.extend("--ft-chip-neutral-border-color","",vo.borderGlobalSubtle),mo.extend("--ft-chip-info-background-color","",vo.backgroundInfoSubtle),mo.extend("--ft-chip-info-color","",vo.contentInfoPrimary),mo.extend("--ft-chip-info-border-color","",vo.borderInfoPrimary),mo.extend("--ft-chip-success-background-color","",vo.backgroundSuccessSubtle),mo.extend("--ft-chip-success-color","",vo.contentSuccessPrimary),mo.extend("--ft-chip-success-border-color","",vo.borderSuccessPrimary),mo.extend("--ft-chip-warning-background-color","",vo.backgroundWarningSubtle),mo.extend("--ft-chip-warning-color","",vo.contentWarningPrimary),mo.extend("--ft-chip-warning-border-color","",vo.borderWarningPrimary),mo.extend("--ft-chip-error-background-color","",vo.backgroundErrorSubtle),mo.extend("--ft-chip-error-color","",vo.contentErrorPrimary),mo.extend("--ft-chip-error-border-color","",vo.borderErrorPrimary),mo.create("--ft-notice-border-width","","SIZE","1px"),mo.extend("--ft-notice-horizontal-padding","",Oo.spacing2),mo.extend("--ft-notice-vertical-padding","",Oo.spacing1),mo.extend("--ft-notice-border-radius","",Oo.borderRadiusS),mo.extend("--ft-notice-gap","",Oo.spacing2),mo.extend("--ft-notice-icon-size","",Oo.iconSize3),mo.extend("--ft-notice-info-background-color","",vo.backgroundInfoSubtle),mo.extend("--ft-notice-info-border-color","",vo.borderInfoPrimary),mo.extend("--ft-notice-info-color","",vo.contentInfoPrimary),mo.extend("--ft-notice-warning-background-color","",vo.backgroundWarningSubtle),mo.extend("--ft-notice-warning-border-color","",vo.borderWarningPrimary),mo.extend("--ft-notice-warning-color","",vo.contentWarningPrimary),mo.extend("--ft-checkbox-label-color","",vo.contentGlobalPrimary),mo.extend("--ft-checkbox-checked-background-color","",vo.contentActionPrimary),mo.extend("--ft-checkbox-checked-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-checkbox-checked-color","",vo.contentGlobalOnColor),mo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-checkbox-checked-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-checkbox-checked-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-checkbox-unchecked-border-color","",Oo.colorGray80),mo.extend("--ft-checkbox-unchecked-state-layer-color","",Oo.colorGray80),mo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-checkbox-focus-focus-ring-color","",vo.borderActionFocusRing),mo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),mo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),mo.extend("--ft-checkbox-gap","",Oo.spacing3),mo.extend("--ft-toggle-off-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-toggle-off-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-toggle-off-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-toggle-off-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-toggle-off-background-color","",vo.contentGlobalSubtle),mo.extend("--ft-toggle-off-icon-color","",vo.contentGlobalSubtle),mo.extend("--ft-toggle-off-state-layer-color","",vo.contentGlobalSubtle),mo.extend("--ft-toggle-on-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-toggle-on-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-toggle-on-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-toggle-on-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-toggle-on-background-color","",vo.contentActionPrimary),mo.extend("--ft-toggle-on-icon-color","",vo.contentActionPrimary),mo.extend("--ft-toggle-on-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-toggle-label-color","",vo.contentGlobalPrimary),mo.extend("--ft-toggle-focus-focus-ring-color","",vo.borderActionFocusRing),mo.extend("--ft-toggle-gap","",Oo.spacing3),mo.extend("--ft-radio-label-color","",vo.contentGlobalPrimary),mo.extend("--ft-radio-selected-color","",vo.contentActionPrimary),mo.extend("--ft-radio-selected-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-radio-selected-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-radio-selected-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-radio-selected-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-radio-selected-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-radio-unselected-state-layer-color","",Oo.colorGray80),mo.extend("--ft-radio-unselected-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-radio-unselected-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-radio-unselected-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-radio-unselected-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-radio-focus-focus-ring-color","",vo.borderActionFocusRing),mo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),mo.create("--ft-radio-focus-outline-width","","SIZE","2px"),mo.extend("--ft-radio-gap","",Oo.spacing3),mo.extend("--ft-notification-icon-size","",Oo.iconSize4),mo.extend("--ft-notification-horizontal-padding","",Oo.spacing4),mo.extend("--ft-notification-vertical-padding","",Oo.spacing4),mo.extend("--ft-notification-info-background-color","",vo.backgroundInfoSubtle),mo.extend("--ft-notification-info-color","",vo.contentInfoPrimary),mo.extend("--ft-notification-info-border-color","",vo.borderInfoPrimary),mo.extend("--ft-notification-success-background-color","",vo.backgroundSuccessSubtle),mo.extend("--ft-notification-success-color","",vo.contentSuccessPrimary),mo.extend("--ft-notification-success-border-color","",vo.borderSuccessPrimary),mo.extend("--ft-notification-warning-background-color","",vo.backgroundWarningSubtle),mo.extend("--ft-notification-warning-color","",vo.contentWarningPrimary),mo.extend("--ft-notification-warning-border-color","",vo.borderWarningPrimary),mo.extend("--ft-notification-error-background-color","",vo.backgroundErrorSubtle),mo.extend("--ft-notification-error-color","",vo.contentErrorPrimary),mo.extend("--ft-notification-error-border-color","",vo.borderErrorPrimary),mo.extend("--ft-notification-border-radius","",Oo.borderRadiusPill),mo.create("--ft-notification-border-width","","SIZE","1px"),mo.extend("--ft-notification-gap-leading","",Oo.spacing2),mo.extend("--ft-notification-gap-trailing","",Oo.spacing8),mo.create("--ft-color-primary","","COLOR","#2196F3"),mo.create("--ft-color-primary-variant","","COLOR","#1976D2"),mo.create("--ft-color-secondary","","COLOR","#FFCC80"),mo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),mo.create("--ft-color-surface","","COLOR","#FFFFFF"),mo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),mo.create("--ft-color-error","","COLOR","#B00020"),mo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),mo.create("--ft-color-opacity-high","","NUMBER","1"),mo.create("--ft-color-opacity-medium","","NUMBER","0.74"),mo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),mo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),mo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),mo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),mo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),mo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),mo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),mo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),mo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),mo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),mo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),mo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),mo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),mo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),mo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),mo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),mo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),mo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),mo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),mo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),mo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),mo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),mo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),mo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),mo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),mo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),mo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),mo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),mo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),mo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),mo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),mo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),mo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),mo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.create("--ft-border-radius-S","","SIZE","4px"),mo.create("--ft-border-radius-M","","SIZE","8px"),mo.create("--ft-border-radius-L","","SIZE","12px"),mo.create("--ft-border-radius-XL","","SIZE","16px"),mo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),mo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),mo.create("--ft-transition-duration","","UNKNOWN","250ms"),mo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");
|
|
60
|
+
/**
|
|
61
|
+
* @license
|
|
62
|
+
* Copyright 2019 Google LLC
|
|
63
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
64
|
+
*/
|
|
65
|
+
const No=window,wo=No.ShadowRoot&&(void 0===No.ShadyCSS||No.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class So extends yo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{wo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=No.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Co,xo=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const Eo=Symbol("constructorPrototype"),Ro=Symbol("constructorName"),Uo=Symbol("exportpartsDebouncer");class Io extends So{constructor(){super(),this[Co]=new n(5),this[Ro]=this.constructor.name,this[Eo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ro]&&Object.setPrototypeOf(this,this[Eo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Uo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Co=Uo,xo([U()],Io.prototype,"exportpartsPrefix",void 0),xo([W([])],Io.prototype,"exportpartsPrefixes",void 0),xo([U()],Io.prototype,"customStylesheet",void 0),gt`
|
|
50
66
|
.ft-no-text-select {
|
|
51
67
|
-webkit-touch-callout: none;
|
|
52
68
|
-webkit-user-select: none;
|
|
@@ -55,7 +71,7 @@ var ut,dt;let pt=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
55
71
|
-ms-user-select: none;
|
|
56
72
|
user-select: none;
|
|
57
73
|
}
|
|
58
|
-
`,
|
|
74
|
+
`,gt`
|
|
59
75
|
.ft-word-wrap {
|
|
60
76
|
white-space: normal;
|
|
61
77
|
word-wrap: break-word;
|
|
@@ -67,7 +83,7 @@ var ut,dt;let pt=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
67
83
|
-webkit-hyphens: auto;
|
|
68
84
|
hyphens: auto
|
|
69
85
|
}
|
|
70
|
-
`,
|
|
86
|
+
`,gt`
|
|
71
87
|
.ft-safari-ellipsis-fix {
|
|
72
88
|
margin-right: 0;
|
|
73
89
|
|
|
@@ -78,12 +94,12 @@ var ut,dt;let pt=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
78
94
|
display: inline-block;
|
|
79
95
|
width: 0;
|
|
80
96
|
}
|
|
81
|
-
`;class Et{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var r,e;t=this.resolvePluralKey(t,o);let n=null!==(e=null!==(r=this.labels[t])&&void 0!==r?r:this.defaultLabels[t])&&void 0!==e?e:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,r)=>this.formatValue(t,r))))),n}resolvePluralKey(t,o){for(let r of o)if("number"==typeof r){const o=`${String(t)}[\\=${r}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const r=r=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(r):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(r):t.toLocaleString(r);try{return r(document.documentElement.lang)}catch(t){return r()}}}function Rt(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Ut,It,Lt;const Wt=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),Kt=Symbol("internalStores");class jt extends xt{constructor(){super(...arguments),this[Ut]=new Map,this[It]=new Map,this[Lt]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Kt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Kt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Kt].get(t)}addStore(t,o){var r;o=null!==(r=null!=o?o:Rt(t)?t.name:void 0)&&void 0!==r?r:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Kt].delete(o)}setupStore(t,o){this[Kt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Kt].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const r=this.constructor.getPropertyOptions(o);if(!(null==r?void 0:r.attribute)||!this.hasAttribute("string"==typeof(null==r?void 0:r.attribute)?r.attribute:o)){const r=this.getStore(t.store);r&&(t.store?this[kt].has(t.store):this[kt].size>0)&&(this[o]=t.selector(r.getState(),this))}}))}subscribeToStore(t,o){var r;this[kt].set(t,o.subscribe((()=>this.updateFromStores()))),Rt(o)&&o.eventBus&&(null===(r=this.reduxEventListeners)||void 0===r||r.forEach(((t,r)=>{if("function"==typeof this[r]&&(!t.store||o.name===t.store)){const e=t=>this[r](t);o.eventBus.addEventListener(t.eventName,e),this[Wt].push((()=>o.eventBus.removeEventListener(t.eventName,e)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[kt].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Wt].forEach((t=>t())),this[Wt]=[]}unsubscribeFromStore(t){this[kt].has(t)&&this[kt].get(t)(),this[kt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Zt(t){for(var o=arguments.length,r=Array(o>1?o-1:0),e=1;e<o;e++)r[e-1]=arguments[e];throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function At(t){return!!t&&!!t[So]}function Mt(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var r=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Co}(t)||Array.isArray(t)||!!t[wo]||!!(null===(o=t.constructor)||void 0===o?void 0:o[wo])||$t(t)||_t(t))}function Ft(t,o,r){void 0===r&&(r=!1),0===Bt(t)?(r?Object.keys:xo)(t).forEach((function(e){r&&"symbol"==typeof e||o(e,t[e],t)})):t.forEach((function(r,e){return o(e,r,t)}))}function Bt(t){var o=t[So];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:$t(t)?2:_t(t)?3:0}function Pt(t,o){return 2===Bt(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function Dt(t,o,r){var e=Bt(t);2===e?t.set(o,r):3===e?t.add(r):t[o]=r}function zt(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function $t(t){return mo&&t instanceof Map}function _t(t){return vo&&t instanceof Set}function Tt(t){return t.o||t.t}function Gt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Eo(t);delete o[So];for(var r=xo(o),e=0;e<r.length;e++){var n=r[e],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function Ht(t,o){return void 0===o&&(o=!1),Yt(t)||At(t)||!Mt(t)||(Bt(t)>1&&(t.set=t.add=t.clear=t.delete=qt),Object.freeze(t),o&&Ft(t,(function(t,o){return Ht(o,!0)}),!0)),t}function qt(){Zt(2)}function Yt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Vt(t){var o=Ro[t];return o||Zt(18,t),o}function Jt(){return bo}function Xt(t,o){o&&(Vt("Patches"),t.u=[],t.s=[],t.v=o)}function Qt(t){to(t),t.p.forEach(ro),t.p=null}function to(t){t===bo&&(bo=t.l)}function oo(t){return bo={p:[],l:bo,h:t,m:!0,_:0}}function ro(t){var o=t[So];0===o.i||1===o.i?o.j():o.g=!0}function eo(t,o){o._=o.p.length;var r=o.p[0],e=void 0!==t&&t!==r;return o.h.O||Vt("ES5").S(o,t,e),e?(r[So].P&&(Qt(o),Zt(4)),Mt(t)&&(t=no(o,t),o.l||ao(o,t)),o.u&&Vt("Patches").M(r[So].t,t,o.u,o.s)):t=no(o,r,[]),Qt(o),o.u&&o.v(o.u,o.s),t!==No?t:void 0}function no(t,o,r){if(Yt(o))return o;var e=o[So];if(!e)return Ft(o,(function(n,i){return io(t,e,o,n,i,r)}),!0),o;if(e.A!==t)return o;if(!e.P)return ao(t,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var n=4===e.i||5===e.i?e.o=Gt(e.k):e.o,i=n,a=!1;3===e.i&&(i=new Set(n),n.clear(),a=!0),Ft(i,(function(o,i){return io(t,e,n,o,i,r,a)})),ao(t,n,!1),r&&t.u&&Vt("Patches").N(e,r,t.u,t.s)}return e.o}function io(t,o,r,e,n,i,a){if(At(n)){var c=no(t,n,i&&o&&3!==o.i&&!Pt(o.R,e)?i.concat(e):void 0);if(Dt(r,e,c),!At(c))return;t.m=!1}else a&&r.add(n);if(Mt(n)&&!Yt(n)){if(!t.h.D&&t._<1)return;no(t,n),o&&o.A.l||ao(t,n)}}function ao(t,o,r){void 0===r&&(r=!1),!t.l&&t.h.D&&t.m&&Ht(o,r)}function co(t,o){var r=t[So];return(r?Tt(r):t)[o]}function so(t,o){if(o in t)for(var r=Object.getPrototypeOf(t);r;){var e=Object.getOwnPropertyDescriptor(r,o);if(e)return e;r=Object.getPrototypeOf(r)}}function lo(t){t.P||(t.P=!0,t.l&&lo(t.l))}function fo(t){t.o||(t.o=Gt(t.t))}function uo(t,o,r){var e=$t(o)?Vt("MapSet").F(o,r):_t(o)?Vt("MapSet").T(o,r):t.O?function(t,o){var r=Array.isArray(t),e={i:r?1:0,A:o?o.A:Jt(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=e,i=Uo;r&&(n=[e],i=Io);var a=Proxy.revocable(n,i),c=a.revoke,s=a.proxy;return e.k=s,e.j=c,s}(o,r):Vt("ES5").J(o,r);return(r?r.A:Jt()).p.push(e),e}function po(t){return At(t)||Zt(22,t),function t(o){if(!Mt(o))return o;var r,e=o[So],n=Bt(o);if(e){if(!e.P&&(e.i<4||!Vt("ES5").K(e)))return e.t;e.I=!0,r=ho(o,n),e.I=!1}else r=ho(o,n);return Ft(r,(function(o,n){e&&function(t,o){return 2===Bt(t)?t.get(o):t[o]}(e.t,o)===n||Dt(r,o,t(n))})),3===n?new Set(r):r}(t)}function ho(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Gt(t)}Ut=kt,It=Kt,Lt=Wt;var yo,bo,go="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),mo="undefined"!=typeof Map,vo="undefined"!=typeof Set,Oo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,No=go?Symbol.for("immer-nothing"):((yo={})["immer-nothing"]=!0,yo),wo=go?Symbol.for("immer-draftable"):"__$immer_draftable",So=go?Symbol.for("immer-state"):"__$immer_state",Co=""+Object.prototype.constructor,xo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Eo=Object.getOwnPropertyDescriptors||function(t){var o={};return xo(t).forEach((function(r){o[r]=Object.getOwnPropertyDescriptor(t,r)})),o},Ro={},Uo={get:function(t,o){if(o===So)return t;var r=Tt(t);if(!Pt(r,o))return function(t,o,r){var e,n=so(o,r);return n?"value"in n?n.value:null===(e=n.get)||void 0===e?void 0:e.call(t.k):void 0}(t,r,o);var e=r[o];return t.I||!Mt(e)?e:e===co(t.t,o)?(fo(t),t.o[o]=uo(t.A.h,e,t)):e},has:function(t,o){return o in Tt(t)},ownKeys:function(t){return Reflect.ownKeys(Tt(t))},set:function(t,o,r){var e=so(Tt(t),o);if(null==e?void 0:e.set)return e.set.call(t.k,r),!0;if(!t.P){var n=co(Tt(t),o),i=null==n?void 0:n[So];if(i&&i.t===r)return t.o[o]=r,t.R[o]=!1,!0;if(zt(r,n)&&(void 0!==r||Pt(t.t,o)))return!0;fo(t),lo(t)}return t.o[o]===r&&(void 0!==r||o in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[o])||(t.o[o]=r,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==co(t.t,o)||o in t.t?(t.R[o]=!1,fo(t),lo(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var r=Tt(t),e=Reflect.getOwnPropertyDescriptor(r,o);return e?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:e.enumerable,value:r[o]}:e},defineProperty:function(){Zt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Zt(12)}},Io={};Ft(Uo,(function(t,o){Io[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Io.deleteProperty=function(t,o){return Io.set.call(this,t,o,void 0)},Io.set=function(t,o,r){return Uo.set.call(this,t[0],o,r,t[0])};var Lo=function(){function t(t){var o=this;this.O=Oo,this.D=!0,this.produce=function(t,r,e){if("function"==typeof t&&"function"!=typeof r){var n=r;r=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var e=arguments.length,a=Array(e>1?e-1:0),c=1;c<e;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var e;return(e=r).call.apply(e,[o,t].concat(a))}))}}var a;if("function"!=typeof r&&Zt(6),void 0!==e&&"function"!=typeof e&&Zt(7),Mt(t)){var c=oo(o),s=uo(o,t,void 0),l=!0;try{a=r(s),l=!1}finally{l?Qt(c):to(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Xt(c,e),eo(t,c)}),(function(t){throw Qt(c),t})):(Xt(c,e),eo(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=r(t))&&(a=t),a===No&&(a=void 0),o.D&&Ht(a,!0),e){var f=[],u=[];Vt("Patches").M(t,a,f,u),e(f,u)}return a}Zt(21,t)},this.produceWithPatches=function(t,r){if("function"==typeof t)return function(r){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return o.produceWithPatches(r,(function(o){return t.apply(void 0,[o].concat(n))}))};var e,n,i=o.produce(t,r,(function(t,o){e=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,e,n]})):[i,e,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){Mt(t)||Zt(8),At(t)&&(t=po(t));var o=oo(this),r=uo(this,t,void 0);return r[So].C=!0,to(o),r},o.finishDraft=function(t,o){var r=(t&&t[So]).A;return Xt(r,o),eo(void 0,r)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Oo&&Zt(20),this.O=t},o.applyPatches=function(t,o){var r;for(r=o.length-1;r>=0;r--){var e=o[r];if(0===e.path.length&&"replace"===e.op){t=e.value;break}}r>-1&&(o=o.slice(r+1));var n=Vt("Patches").$;return At(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Wo=new Lo,ko=Wo.produce;function Ko(t){return Ko="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ko(t)}function jo(t){var o=function(t,o){if("object"!==Ko(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var e=r.call(t,o||"default");if("object"!==Ko(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Ko(o)?o:String(o)}function Zo(t,o,r){return(o=jo(o))in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r,t}function Ao(t,o){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);o&&(e=e.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),r.push.apply(r,e)}return r}function Mo(t){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?Ao(Object(r),!0).forEach((function(o){Zo(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ao(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Fo(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Wo.produceWithPatches.bind(Wo),Wo.setAutoFreeze.bind(Wo),Wo.setUseProxies.bind(Wo),Wo.applyPatches.bind(Wo),Wo.createDraft.bind(Wo),Wo.finishDraft.bind(Wo);var Bo="function"==typeof Symbol&&Symbol.observable||"@@observable",Po=function(){return Math.random().toString(36).substring(7).split("").join(".")},Do={INIT:"@@redux/INIT"+Po(),REPLACE:"@@redux/REPLACE"+Po(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Po()}};function zo(t,o,r){var e;if("function"==typeof o&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Fo(0));if("function"==typeof o&&void 0===r&&(r=o,o=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Fo(1));return r(zo)(t,o)}if("function"!=typeof t)throw new Error(Fo(2));var n=t,i=o,a=[],c=a,s=!1;function l(){c===a&&(c=a.slice())}function f(){if(s)throw new Error(Fo(3));return i}function u(t){if("function"!=typeof t)throw new Error(Fo(4));if(s)throw new Error(Fo(5));var o=!0;return l(),c.push(t),function(){if(o){if(s)throw new Error(Fo(6));o=!1,l();var r=c.indexOf(t);c.splice(r,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Fo(7));if(void 0===t.type)throw new Error(Fo(8));if(s)throw new Error(Fo(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=c,r=0;r<o.length;r++){(0,o[r])()}return t}return d({type:Do.INIT}),(e={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Fo(10));n=t,d({type:Do.REPLACE})}})[Bo]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Fo(11));function r(){t.next&&t.next(f())}return r(),{unsubscribe:o(r)}}})[Bo]=function(){return this},t},e}function $o(t){for(var o=Object.keys(t),r={},e=0;e<o.length;e++){var n=o[e];"function"==typeof t[n]&&(r[n]=t[n])}var i,a=Object.keys(r);try{!function(t){Object.keys(t).forEach((function(o){var r=t[o];if(void 0===r(void 0,{type:Do.INIT}))throw new Error(Fo(12));if(void 0===r(void 0,{type:Do.PROBE_UNKNOWN_ACTION()}))throw new Error(Fo(13))}))}(r)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var e=!1,n={},c=0;c<a.length;c++){var s=a[c],l=r[s],f=t[s],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(Fo(14));n[s]=u,e=e||u!==f}return(e=e||a.length!==Object.keys(t).length)?n:t}}function _o(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function To(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),e=function(){throw new Error(Fo(15))},n={getState:r.getState,dispatch:function(){return e.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return e=_o.apply(void 0,i)(r.dispatch),Mo(Mo({},r),{},{dispatch:e})}}}function Go(t){return function(o){var r=o.dispatch,e=o.getState;return function(o){return function(n){return"function"==typeof n?n(r,e,t):o(n)}}}}var Ho=Go();Ho.withExtraArgument=Go;var qo,Yo=Ho,Vo=(qo=function(t,o){return qo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])},qo(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=t}qo(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),Jo=function(t,o){var r,e,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,e&&(n=2&i[0]?e.return:i[0]?e.throw||((n=e.return)&&n.call(e),0):e.next)&&!(n=n.call(e,i[1])).done)return n;switch(e=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,e=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],e=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},Xo=function(t,o){for(var r=0,e=o.length,n=t.length;r<e;r++,n++)t[n]=o[r];return t},Qo=Object.defineProperty,tr=Object.defineProperties,or=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,er=Object.prototype.hasOwnProperty,nr=Object.prototype.propertyIsEnumerable,ir=function(t,o,r){return o in t?Qo(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r},ar=function(t,o){for(var r in o||(o={}))er.call(o,r)&&ir(t,r,o[r]);if(rr)for(var e=0,n=rr(o);e<n.length;e++){r=n[e];nr.call(o,r)&&ir(t,r,o[r])}return t},cr=function(t,o){return tr(t,or(o))},sr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?_o:_o.apply(null,arguments)};var lr=function(t){function o(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,o.prototype),n}return Vo(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Xo([void 0],t[0].concat(this)))):new(o.bind.apply(o,Xo([void 0],t.concat(this))))},o}(Array),fr=function(t){function o(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,o.prototype),n}return Vo(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Xo([void 0],t[0].concat(this)))):new(o.bind.apply(o,Xo([void 0],t.concat(this))))},o}(Array);function ur(t){return Mt(t)?ko(t,(function(){})):t}function dr(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,r=void 0===o||o;t.immutableCheck,t.serializableCheck;var e=new lr;r&&(!function(t){return"boolean"==typeof t}(r)?e.push(Yo.withExtraArgument(r.extraArgument)):e.push(Yo));return e}(t)}}function pr(t){var o,r=dr(),e=t||{},n=e.reducer,i=void 0===n?void 0:n,a=e.middleware,c=void 0===a?r():a,s=e.devTools,l=void 0===s||s,f=e.preloadedState,u=void 0===f?void 0:f,d=e.enhancers,p=void 0===d?void 0:d;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var r=o;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return o===r}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=$o(i)}var h=c;"function"==typeof h&&(h=h(r));var y=To.apply(void 0,h),b=_o;l&&(b=sr(ar({trace:!1},"object"==typeof l&&l)));var g=new fr(y),m=g;return Array.isArray(p)?m=Xo([y],p):"function"==typeof p&&(m=p(g)),zo(o,u,b.apply(void 0,m))}function hr(t,o){function r(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];if(o){var n=o.apply(void 0,r);if(!n)throw new Error("prepareAction did not return an object");return ar(ar({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:r[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function yr(t){var o,r={},e=[],n={addCase:function(t,o){var e="string"==typeof t?t:t.type;if(e in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[e]=o,n},addMatcher:function(t,o){return e.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[r,e,o]}function br(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var r,e="function"==typeof t.initialState?t.initialState:ur(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};function l(){var o="function"==typeof t.extraReducers?yr(t.extraReducers):[t.extraReducers],r=o[0],n=void 0===r?{}:r,i=o[1],a=void 0===i?[]:i,s=o[2],l=void 0===s?void 0:s,f=ar(ar({},n),c);return function(t,o,r,e){void 0===r&&(r=[]);var n,i="function"==typeof o?yr(o):[o,r,e],a=i[0],c=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return ur(t())};else{var l=ur(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var r=Xo([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===r.filter((function(t){return!!t})).length&&(r=[s]),r.reduce((function(t,r){if(r){var e;if(At(t))return void 0===(e=r(t,o))?t:e;if(Mt(t))return ko(t,(function(t){return r(t,o)}));if(void 0===(e=r(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return e}return t}),t)}return f.getInitialState=n,f}(e,(function(t){for(var o in f)t.addCase(o,f[o]);for(var r=0,e=a;r<e.length;r++){var n=e[r];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var r,e,i=n[t],l=o+"/"+t;"reducer"in i?(r=i.reducer,e=i.prepare):r=i,a[t]=r,c[l]=r,s[t]=e?hr(l,e):hr(l)})),{name:o,reducer:function(t,o){return r||(r=l()),r(t,o)},actions:s,caseReducers:a,getInitialState:function(){return r||(r=l()),r.getInitialState()}}}var gr=["name","message","stack","code"],mr=function(t,o){this.payload=t,this.meta=o},vr=function(t,o){this.payload=t,this.meta=o},Or=function(t){if("object"==typeof t&&null!==t){for(var o={},r=0,e=gr;r<e.length;r++){var n=e[r];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Nr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,r){var e=hr(t+"/fulfilled",(function(t,o,r,e){return{payload:t,meta:cr(ar({},e||{}),{arg:r,requestId:o,requestStatus:"fulfilled"})}})),n=hr(t+"/pending",(function(t,o,r){return{payload:void 0,meta:cr(ar({},r||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=hr(t+"/rejected",(function(t,o,e,n,i){return{payload:n,error:(r&&r.serializeError||Or)(t||"Rejected"),meta:cr(ar({},i||{}),{arg:e,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(c,s,l){var f,u=(null==r?void 0:r.idGenerator)?r.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",r=t;r--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function p(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,b,g,m;return Jo(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==r?void 0:r.condition)?void 0:a.call(r,t,{getState:s,extra:l}),null===(O=b)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,b];case 1:b=v.sent(),v.label=2;case 2:if(!1===b||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),c(n(u,t,null==(h=null==r?void 0:r.getPendingMeta)?void 0:h.call(r,{requestId:u,arg:t},{getState:s,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:c,getState:s,extra:l,requestId:u,signal:d.signal,abort:p,rejectWithValue:function(t,o){return new mr(t,o)},fulfillWithValue:function(t,o){return new vr(t,o)}})).then((function(o){if(o instanceof mr)throw o;return o instanceof vr?e(o.payload,u,t,o.meta):e(o,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof mr?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return r&&!r.dispatchConditionRejection&&i.match(y)&&y.meta.condition||c(y),[2,y]}var O}))},new Promise((function(t,o){var r=function(t){try{n(y.next(t))}catch(t){o(t)}},e=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(r,e)};n((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:p,requestId:u,arg:t,unwrap:function(){return h.then(Nr)}})}}),{pending:n,rejected:i,fulfilled:e,typePrefix:t})}t.withTypes=function(){return t}}();var wr="listenerMiddleware";hr(wr+"/add"),hr(wr+"/removeAll"),hr(wr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var r=n[t];return r?r.enumerable=o:n[t]=r={configurable:!0,enumerable:o,get:function(){var o=this[So];return Uo.get(o,t)},set:function(o){var r=this[So];Uo.set(r,t,o)}},r}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][So];if(!n.P)switch(n.i){case 5:e(n)&&lo(n);break;case 4:r(n)&&lo(n)}}}function r(t){for(var o=t.t,r=t.k,e=xo(r),n=e.length-1;n>=0;n--){var i=e[n];if(i!==So){var a=o[i];if(void 0===a&&!Pt(o,i))return!0;var c=r[i],s=c&&c[So];if(s?s.t!==a:!zt(c,a))return!0}}var l=!!o[So];return e.length!==xo(o).length+(l?0:1)}function e(t){var o=t.k;if(o.length!==t.t.length)return!0;var r=Object.getOwnPropertyDescriptor(o,o.length-1);if(r&&!r.get)return!0;for(var e=0;e<o.length;e++)if(!o.hasOwnProperty(e))return!0;return!1}var n={};!function(t,o){Ro[t]||(Ro[t]=o)}("ES5",{J:function(o,r){var e=Array.isArray(o),n=function(o,r){if(o){for(var e=Array(r.length),n=0;n<r.length;n++)Object.defineProperty(e,""+n,t(n,!0));return e}var i=Eo(r);delete i[So];for(var a=xo(i),c=0;c<a.length;c++){var s=a[c];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(e,o),i={i:e?5:4,A:r?r.A:Jt(),P:!1,I:!1,R:{},l:r,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,So,{value:i,writable:!0}),n},S:function(t,r,n){n?At(r)&&r[So].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var r=o[So];if(r){var n=r.t,i=r.k,a=r.R,c=r.i;if(4===c)Ft(i,(function(o){o!==So&&(void 0!==n[o]||Pt(n,o)?a[o]||t(i[o]):(a[o]=!0,lo(r)))})),Ft(n,(function(t){void 0!==i[t]||Pt(i,t)||(a[t]=!1,lo(r))}));else if(5===c){if(e(r)&&(lo(r),a.length=!0),i.length<n.length)for(var s=i.length;s<n.length;s++)a[s]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?r(t):e(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Sr{static get(t){var o;const r="string"==typeof t?t:t.name,e="string"==typeof t?void 0:t,n=window.ftReduxStores[r];if(Rt(n))return n;if(null==e)return;const i=br({...e,reducers:null!==(o=e.reducers)&&void 0!==o?o:{}}),a=pr({reducer:(t,o)=>{var r;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(r=o.overwrites)&&void 0!==r?r:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[e.name]=new Sr(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,r)=>{const e=o,n=t[e];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[e]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Cr,xr;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(xr=null===(Cr=window.safari)||void 0===Cr?void 0:Cr.pushNotification)||void 0===xr||xr.toString());const Er=g`
|
|
82
|
-
`,
|
|
83
|
-
`,
|
|
97
|
+
`;class Lo{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function Wo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var ko,Ko,Ao;const jo=Symbol("internalReduxEventsUnsubscribers"),Zo=Symbol("internalStoresUnsubscribers"),Mo=Symbol("internalStores");class Po extends Io{constructor(){super(...arguments),this[ko]=new Map,this[Ko]=new Map,this[Ao]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Mo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Mo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Mo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Wo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Mo].delete(o)}setupStore(t,o){this[Mo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Mo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Zo].has(t.store):this[Zo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Zo].set(t,o.subscribe((()=>this.updateFromStores()))),Wo(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[jo].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Zo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[jo].forEach((t=>t())),this[jo]=[]}unsubscribeFromStore(t){this[Zo].has(t)&&this[Zo].get(t)(),this[Zo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Fo(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function $o(t){return!!t&&!!t[Ee]}function Bo(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Re}(t)||Array.isArray(t)||!!t[xe]||!!(null===(o=t.constructor)||void 0===o?void 0:o[xe])||Ho(t)||qo(t))}function _o(t,o,e){void 0===e&&(e=!1),0===Do(t)?(e?Object.keys:Ue)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Do(t){var o=t[Ee];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Ho(t)?2:qo(t)?3:0}function zo(t,o){return 2===Do(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function To(t,o,e){var r=Do(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function Go(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Ho(t){return Ne&&t instanceof Map}function qo(t){return we&&t instanceof Set}function Yo(t){return t.o||t.t}function Vo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Ie(t);delete o[Ee];for(var e=Ue(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function Jo(t,o){return void 0===o&&(o=!1),Qo(t)||$o(t)||!Bo(t)||(Do(t)>1&&(t.set=t.add=t.clear=t.delete=Xo),Object.freeze(t),o&&_o(t,(function(t,o){return Jo(o,!0)}),!0)),t}function Xo(){Fo(2)}function Qo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function te(t){var o=Le[t];return o||Fo(18,t),o}function oe(){return Oe}function ee(t,o){o&&(te("Patches"),t.u=[],t.s=[],t.v=o)}function re(t){ne(t),t.p.forEach(ae),t.p=null}function ne(t){t===Oe&&(Oe=t.l)}function ie(t){return Oe={p:[],l:Oe,h:t,m:!0,_:0}}function ae(t){var o=t[Ee];0===o.i||1===o.i?o.j():o.g=!0}function se(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||te("ES5").S(o,t,r),r?(e[Ee].P&&(re(o),Fo(4)),Bo(t)&&(t=ce(o,t),o.l||fe(o,t)),o.u&&te("Patches").M(e[Ee].t,t,o.u,o.s)):t=ce(o,e,[]),re(o),o.u&&o.v(o.u,o.s),t!==Ce?t:void 0}function ce(t,o,e){if(Qo(o))return o;var r=o[Ee];if(!r)return _o(o,(function(n,i){return le(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return fe(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=Vo(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),_o(i,(function(o,i){return le(t,r,n,o,i,e,a)})),fe(t,n,!1),e&&t.u&&te("Patches").N(r,e,t.u,t.s)}return r.o}function le(t,o,e,r,n,i,a){if($o(n)){var s=ce(t,n,i&&o&&3!==o.i&&!zo(o.R,r)?i.concat(r):void 0);if(To(e,r,s),!$o(s))return;t.m=!1}else a&&e.add(n);if(Bo(n)&&!Qo(n)){if(!t.h.D&&t._<1)return;ce(t,n),o&&o.A.l||fe(t,n)}}function fe(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Jo(o,e)}function he(t,o){var e=t[Ee];return(e?Yo(e):t)[o]}function ue(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function de(t){t.P||(t.P=!0,t.l&&de(t.l))}function pe(t){t.o||(t.o=Vo(t.t))}function ye(t,o,e){var r=Ho(o)?te("MapSet").F(o,e):qo(o)?te("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:oe(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=We;e&&(n=[r],i=ke);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):te("ES5").J(o,e);return(e?e.A:oe()).p.push(r),r}function be(t){return $o(t)||Fo(22,t),function t(o){if(!Bo(o))return o;var e,r=o[Ee],n=Do(o);if(r){if(!r.P&&(r.i<4||!te("ES5").K(r)))return r.t;r.I=!0,e=ge(o,n),r.I=!1}else e=ge(o,n);return _o(e,(function(o,n){r&&function(t,o){return 2===Do(t)?t.get(o):t[o]}(r.t,o)===n||To(e,o,t(n))})),3===n?new Set(e):e}(t)}function ge(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Vo(t)}ko=Zo,Ko=Mo,Ao=jo;var me,Oe,ve="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ne="undefined"!=typeof Map,we="undefined"!=typeof Set,Se="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ce=ve?Symbol.for("immer-nothing"):((me={})["immer-nothing"]=!0,me),xe=ve?Symbol.for("immer-draftable"):"__$immer_draftable",Ee=ve?Symbol.for("immer-state"):"__$immer_state",Re=""+Object.prototype.constructor,Ue="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ie=Object.getOwnPropertyDescriptors||function(t){var o={};return Ue(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Le={},We={get:function(t,o){if(o===Ee)return t;var e=Yo(t);if(!zo(e,o))return function(t,o,e){var r,n=ue(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!Bo(r)?r:r===he(t.t,o)?(pe(t),t.o[o]=ye(t.A.h,r,t)):r},has:function(t,o){return o in Yo(t)},ownKeys:function(t){return Reflect.ownKeys(Yo(t))},set:function(t,o,e){var r=ue(Yo(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=he(Yo(t),o),i=null==n?void 0:n[Ee];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(Go(e,n)&&(void 0!==e||zo(t.t,o)))return!0;pe(t),de(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==he(t.t,o)||o in t.t?(t.R[o]=!1,pe(t),de(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Yo(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Fo(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Fo(12)}},ke={};_o(We,(function(t,o){ke[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ke.deleteProperty=function(t,o){return ke.set.call(this,t,o,void 0)},ke.set=function(t,o,e){return We.set.call(this,t[0],o,e,t[0])};var Ke=function(){function t(t){var o=this;this.O=Se,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Fo(6),void 0!==r&&"function"!=typeof r&&Fo(7),Bo(t)){var s=ie(o),c=ye(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?re(s):ne(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ee(s,r),se(t,s)}),(function(t){throw re(s),t})):(ee(s,r),se(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Ce&&(a=void 0),o.D&&Jo(a,!0),r){var f=[],h=[];te("Patches").M(t,a,f,h),r(f,h)}return a}Fo(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){Bo(t)||Fo(8),$o(t)&&(t=be(t));var o=ie(this),e=ye(this,t,void 0);return e[Ee].C=!0,ne(o),e},o.finishDraft=function(t,o){var e=(t&&t[Ee]).A;return ee(e,o),se(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Se&&Fo(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=te("Patches").$;return $o(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Ae=new Ke,je=Ae.produce;function Ze(t){return Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ze(t)}function Me(t){var o=function(t,o){if("object"!==Ze(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Ze(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Ze(o)?o:String(o)}function Pe(t,o,e){return(o=Me(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Fe(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function $e(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Fe(Object(e),!0).forEach((function(o){Pe(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Fe(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Be(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Ae.produceWithPatches.bind(Ae),Ae.setAutoFreeze.bind(Ae),Ae.setUseProxies.bind(Ae),Ae.applyPatches.bind(Ae),Ae.createDraft.bind(Ae),Ae.finishDraft.bind(Ae);var _e="function"==typeof Symbol&&Symbol.observable||"@@observable",De=function(){return Math.random().toString(36).substring(7).split("").join(".")},ze={INIT:"@@redux/INIT"+De(),REPLACE:"@@redux/REPLACE"+De(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+De()}};function Te(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Be(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Be(1));return e(Te)(t,o)}if("function"!=typeof t)throw new Error(Be(2));var n=t,i=o,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Be(3));return i}function h(t){if("function"!=typeof t)throw new Error(Be(4));if(c)throw new Error(Be(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(Be(6));o=!1,l();var e=s.indexOf(t);s.splice(e,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Be(7));if(void 0===t.type)throw new Error(Be(8));if(c)throw new Error(Be(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:ze.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Be(10));n=t,u({type:ze.REPLACE})}})[_e]=function(){var t,o=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Be(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[_e]=function(){return this},t},r}function Ge(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ze.INIT}))throw new Error(Be(12));if(void 0===e(void 0,{type:ze.PROBE_UNKNOWN_ACTION()}))throw new Error(Be(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=e[c],f=t[c],h=l(f,o);if(void 0===h)throw o&&o.type,new Error(Be(14));n[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function He(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function qe(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Be(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=He.apply(void 0,i)(e.dispatch),$e($e({},e),{},{dispatch:r})}}}function Ye(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var Ve=Ye();Ve.withExtraArgument=Ye;var Je,Xe=Ve,Qe=(Je=function(t,o){return Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Je(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Je(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),tr=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},or=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},er=Object.defineProperty,rr=Object.defineProperties,nr=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,cr=function(t,o,e){return o in t?er(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},lr=function(t,o){for(var e in o||(o={}))ar.call(o,e)&&cr(t,e,o[e]);if(ir)for(var r=0,n=ir(o);r<n.length;r++){e=n[r];sr.call(o,e)&&cr(t,e,o[e])}return t},fr=function(t,o){return rr(t,nr(o))},hr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?He:He.apply(null,arguments)};var ur=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return Qe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,or([void 0],t[0].concat(this)))):new(o.bind.apply(o,or([void 0],t.concat(this))))},o}(Array),dr=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return Qe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,or([void 0],t[0].concat(this)))):new(o.bind.apply(o,or([void 0],t.concat(this))))},o}(Array);function pr(t){return Bo(t)?je(t,(function(){})):t}function yr(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new ur;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Xe.withExtraArgument(e.extraArgument)):r.push(Xe));return r}(t)}}function br(t){var o,e=yr(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?e():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,d=void 0===u?void 0:u;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=Ge(i)}var p=s;"function"==typeof p&&(p=p(e));var y=qe.apply(void 0,p),b=He;l&&(b=hr(lr({trace:!1},"object"==typeof l&&l)));var g=new dr(y),m=g;return Array.isArray(d)?m=or([y],d):"function"==typeof d&&(m=d(g)),Te(o,h,b.apply(void 0,m))}function gr(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return lr(lr({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function mr(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Or(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:pr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?mr(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],l=void 0===c?void 0:c,f=lr(lr({},n),s);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?mr(o):[o,e,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return pr(t())};else{var l=pr(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=or([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if($o(t))return void 0===(r=e(t,o))?t:r;if(Bo(t))return je(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var e,r,i=n[t],l=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,s[l]=e,c[t]=r?gr(l,r):gr(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var vr=["name","message","stack","code"],Nr=function(t,o){this.payload=t,this.meta=o},wr=function(t,o){this.payload=t,this.meta=o},Sr=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=vr;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Cr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=gr(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:fr(lr({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=gr(t+"/pending",(function(t,o,e){return{payload:void 0,meta:fr(lr({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=gr(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Sr)(t||"Rejected"),meta:fr(lr({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),u=new a;function d(t){f=t,u.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,b,g,m;return tr(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),b=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),null===(v=b)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,b];case 1:b=O.sent(),O.label=2;case 2:if(!1===b||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(n(h,t,null==(p=null==e?void 0:e.getPendingMeta)?void 0:p.call(e,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:d,rejectWithValue:function(t,o){return new Nr(t,o)},fulfillWithValue:function(t,o){return new wr(t,o)}})).then((function(o){if(o instanceof Nr)throw o;return o instanceof wr?r(o.payload,h,t,o.meta):r(o,h,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof Nr?i(null,h,t,m.payload,m.meta):i(m,h,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var v}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:h,arg:t,unwrap:function(){return p.then(Cr)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var xr="listenerMiddleware";gr(xr+"/add"),gr(xr+"/removeAll"),gr(xr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Ee];return We.get(o,t)},set:function(o){var e=this[Ee];We.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Ee];if(!n.P)switch(n.i){case 5:r(n)&&de(n);break;case 4:e(n)&&de(n)}}}function e(t){for(var o=t.t,e=t.k,r=Ue(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Ee){var a=o[i];if(void 0===a&&!zo(o,i))return!0;var s=e[i],c=s&&s[Ee];if(c?c.t!==a:!Go(s,a))return!0}}var l=!!o[Ee];return r.length!==Ue(o).length+(l?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Le[t]||(Le[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Ie(e);delete i[Ee];for(var a=Ue(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:oe(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Ee,{value:i,writable:!0}),n},S:function(t,e,n){n?$o(e)&&e[Ee].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Ee];if(e){var n=e.t,i=e.k,a=e.R,s=e.i;if(4===s)_o(i,(function(o){o!==Ee&&(void 0!==n[o]||zo(n,o)?a[o]||t(i[o]):(a[o]=!0,de(e)))})),_o(n,(function(t){void 0!==i[t]||zo(i,t)||(a[t]=!1,de(e))}));else if(5===s){if(r(e)&&(de(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),h=0;h<f;h++)i.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(i[h])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Er{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Wo(n))return n;if(null==r)return;const i=Or({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=br({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Er(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Rr,Ur;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Ur=null===(Rr=window.safari)||void 0===Rr?void 0:Rr.pushNotification)||void 0===Ur||Ur.toString());const Ir=gt`
|
|
98
|
+
`,Lr=gt`
|
|
99
|
+
`,Wr=Er.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class kr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Wr.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?kr.build(t):null!==(o=kr.API)&&void 0!==o?o:kr.API=kr.build()}static await(t){return new Promise((o=>{let e=kr.get(t);if(e)o(e);else{const r=Wr.subscribe((()=>{e=kr.get(t),e&&(r(),o(e))}))}}))}}var Kr;const Ar=Symbol("clearAfterUnitTest");class jr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Kr]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Wr.getState().uiLocale,Wr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Wr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};I(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new Lo(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}Kr=Ar,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new jr((async(t,o)=>(await kr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new jr((async(t,o)=>(await kr.await()).getCustomMessageContext(t,o))));const Zr=window.FluidTopicsI18nService,Mr=window.FluidTopicsCustomI18nService;var Pr=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Fr extends Io{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>kr.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return Qt`
|
|
84
100
|
<slot></slot>
|
|
85
|
-
`}update(t){super.update(t),t.has("baseUrl")&&
|
|
101
|
+
`}update(t){super.update(t),t.has("baseUrl")&&Wr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Wr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Wr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Wr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Wr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Wr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Wr.actions.setSession(this.session),t.has("availableUiLocales")&&Wr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Zr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Fr.elementDefinitions={},Fr.styles=Lr,Pr([U()],Fr.prototype,"baseUrl",void 0),Pr([U()],Fr.prototype,"apiIntegrationIdentifier",void 0),Pr([U()],Fr.prototype,"uiLocale",void 0),Pr([W([])],Fr.prototype,"availableUiLocales",void 0),Pr([U({type:Boolean})],Fr.prototype,"editorMode",void 0),Pr([U({type:Boolean})],Fr.prototype,"noCustom",void 0),Pr([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Fr.prototype,"noCustomComponent",void 0),Pr([U({type:Boolean})],Fr.prototype,"withManualResources",void 0),Pr([W([])],Fr.prototype,"messageContexts",void 0),Pr([W(void 0)],Fr.prototype,"session",void 0),Pr([U({type:Object})],Fr.prototype,"apiProvider",void 0);class $r{async listMySearches(){var t;return(null===(t=Wr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await kr.await()).listMySearches(Wr.getState().session.profile.userId):[]}}const Br=new r;class _r{async listMyBookmarks(){return Br.get("bookmarks",(async()=>(await kr.await()).listMyBookmarks(Wr.getState().session.profile.userId)))}clearCache(){Br.clear("bookmarks")}}const Dr=Er.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Wr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new _r,Wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Wr.getState();I(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Dr.actions.savedSearches(void 0)}clearMyBookmarks(){Dr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new $r,o=await t.listMySearches();Dr.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Dr.actions.bookmarks(o)}}},L("ft-app-context")(Fr);var zr=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const Tr=Symbol("i18nProperties"),Gr=Symbol("i18nUnsubs");function Hr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Mr:Zr}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const n=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var o;null===(o=this[Tr])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[Tr])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Tr]&&new Set([...this[Tr].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Gr].has(t)||this[Gr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Gr].forEach((t=>t())),this[Gr].clear()}}return o=Gr,zr([U({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class qr extends(Hr(Io)){}class Yr extends(Hr(Po)){}var Vr=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Jr extends Yr{constructor(){super(),this.editorMode=!1,this.addStore(Wr)}render(){return this.key&&this.context?Qt`
|
|
86
102
|
<span class="ft-i18n">
|
|
87
103
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
88
104
|
</span>
|
|
89
|
-
`:this.editorMode?"Select a context and a label key.":
|
|
105
|
+
`:this.editorMode?"Select a context and a label key.":oo}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Jr.elementDefinitions={},Jr.styles=Ir,Vr([(t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!I(t,o),attribute:!1,...o};U(n)(t,e);const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}})()],Jr.prototype,"editorMode",void 0),Vr([U()],Jr.prototype,"context",void 0),Vr([U()],Jr.prototype,"key",void 0),Vr([W([])],Jr.prototype,"args",void 0),Vr([U()],Jr.prototype,"defaultMessage",void 0);class Xr{static build(t){return new Xr(t)}static fromGwt(t){return new Xr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Zr.resolveMessage(this.name,o,...t)})}}L("ft-i18n")(Jr),t.FtI18n=Jr,t.FtI18nCssVariables={},t.FtLitElementReduxWithI18n=Yr,t.FtLitElementWithI18n=qr,t.I18nMessageContext=Xr,t.i18n=(t,o)=>(e,r)=>{var n,i;e.constructor.createProperty(r,null!=o?o:{attribute:!1,type:String});const a={...t,key:null!==(n=t.key)&&void 0!==n?n:r};e[Tr]=null!==(i=e[Tr])&&void 0!==i?i:new Map,e[Tr].set(r,a)},t.i18nProperties=Tr,t.i18nUnsubs=Gr,t.styles=Ir,t.withI18n=Hr}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-i18n",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Integrated component that displays internationalized label from a Fluid Topics portal.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-app-context": "1.0
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "1.0
|
|
24
|
-
"lit": "
|
|
22
|
+
"@fluid-topics/ft-app-context": "1.1.0",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "1.1.0",
|
|
24
|
+
"lit": "3.1.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "3f2a051fc84a0e27b942f311efee39954f6d2883"
|
|
27
27
|
}
|