@fluid-topics/ft-reader-topic-content 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.
|
@@ -10,11 +10,11 @@ export declare class FtReaderTopicContent extends FtReaderTopicComponent impleme
|
|
|
10
10
|
private error?;
|
|
11
11
|
contentPreprocessor: (content: string) => string;
|
|
12
12
|
onContentAvailable: (container: HTMLElement, shadowRoot: ShadowRoot) => void;
|
|
13
|
-
protected render(): import("lit
|
|
13
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
14
14
|
protected update(props: PropertyValues): void;
|
|
15
15
|
private updateContent;
|
|
16
16
|
protected contentAvailableCallback(props: PropertyValues): void;
|
|
17
17
|
protected onStoreAvailable(): void;
|
|
18
|
-
renderTopicContent(): import("lit
|
|
18
|
+
renderTopicContent(): import("lit").TemplateResult<1>;
|
|
19
19
|
private is404Error;
|
|
20
20
|
}
|
|
@@ -1,63 +1,82 @@
|
|
|
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,e=window.customElements.get,r=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=e.call(r,t);f||(f=u(t),o.call(r,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),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=s;if(o)return s=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=c.get(o)?.getRootNode()||document)}return o.customElements},u=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?h(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)}},d=(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)})},p=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):p(e)},h=(t,o,e=!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((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&&c.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)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));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(Be){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}}
|
|
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,i=new WeakMap,n=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,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);u(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=e.call(r,t);f||(f=h(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}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),i.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,i=r._getDefinition(o);return i?p(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.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,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,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),i.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===i.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 n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),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=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Gr){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 i=(t=>new e(((o,e)=>t.then(o).catch(e))))(o());return this.content[t]=i,i.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 i{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,i=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)}i(!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 n=globalThis,a=n.ShadowRoot&&(void 0===n.ShadyCSS||n.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,v=m?m.emptyScript:"",O=g.reactiveElementPolyfillSupport,x=(t,o)=>t,w={toAttribute(t,o){switch(o){case Boolean:t=t?v: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}},N=(t,o)=>!h(t,o),S={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;let C=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=S){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:i}=d(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??S}static _$Ei(){if(this.hasOwnProperty(x("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(x("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(x("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=n.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 i=(void 0!==e.converter?.toAttribute?e.converter:w).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),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),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??N)(r?i: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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[x("elementProperties")]=new Map,C[x("finalized")]=new Map,O?.({ReactiveElement:C}),(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:N},R=(t=E,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,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 i=this[r];o.call(this,e),this.requestUpdate(r,i,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)
|
|
33
32
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
var s;null===(s=window.HTMLSlotElement)||void 0===s||s.prototype.assignedElements;function l(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(!l(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(!l(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(!l(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const f=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function u(t,o){const e=()=>JSON.parse(JSON.stringify(t));return a({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)=>!l(t,o),...null!=o?o:{}})}
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright 2017 Google LLC
|
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
+
*/}function I(t){return U({...t,state:!0,attribute:!1})}
|
|
39
37
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
* @license
|
|
39
|
+
* Copyright 2017 Google LLC
|
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
+
*/const L=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
44
42
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2017 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/;function k(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,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!k(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(!k(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=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!k(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const W=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function K(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)=>!k(t,o),...null!=o?o:{}})}
|
|
49
47
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
var L;I.finalized=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:I}),(null!==(x=N.reactiveElementVersions)&&void 0!==x?x:N.reactiveElementVersions=[]).push("1.6.1");const k=window,W=k.trustedTypes,K=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,j="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+A,M=`<${Z}>`,F=document,P=()=>F.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,D="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,_=/>/g,G=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),H=/'/g,q=/"/g,V=/^(?:script|style|textarea|title)$/i,Y=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),J=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=F.createTreeWalker(F,129,null,!1);class ot{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,c=this.parts,[s,l]=((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 c,s,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===z?"!--"===s[1]?a=T:void 0!==s[1]?a=_:void 0!==s[2]?(V.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=G):void 0!==s[3]&&(a=G):a===G?">"===s[0]?(a=null!=n?n:z,l=-1):void 0===s[1]?l=-2:(l=a.lastIndex-s[2].length,c=s[1],a=void 0===s[3]?G:'"'===s[3]?q:H):a===q||a===H?a=G:a===T||a===_?a=z:(a=G,n=void 0);const u=a===G&&t[o+1].startsWith("/>")?" ":"";i+=a===z?e+M:l>=0?(r.push(c),e.slice(0,l)+j+e.slice(l)+A+u):e+A+(-2===l?(r.push(void 0),o):u)}const c=i+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==K?K.createHTML(c):c,r]})(t,o);if(this.el=ot.createElement(s,e),tt.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=tt.nextNode())&&c.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(j)||o.startsWith(A)){const e=l[i++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+j).split(A),o=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:o[2],strings:t,ctor:"."===o[1]?it:"?"===o[1]?ct:"@"===o[1]?st:nt})}else c.push({type:6,index:n})}for(const o of t)r.removeAttribute(o)}if(V.test(r.tagName)){const t=r.textContent.split(A),o=t.length-1;if(o>0){r.textContent=W?W.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],P()),tt.nextNode(),c.push({type:2,index:++n});r.append(t[o],P())}}}else if(8===r.nodeType)if(r.data===Z)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(A,t+1));)c.push({type:7,index:n}),t+=A.length-1}n++}}static createElement(t,o){const e=F.createElement("template");return e.innerHTML=t,e}}function et(t,o,e=t,r){var n,i,a,c;if(o===J)return o;let s=void 0!==r?null===(n=e._$Co)||void 0===n?void 0:n[r]:e._$Cl;const l=$(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==l&&(null===(i=null==s?void 0:s._$AO)||void 0===i||i.call(s,!1),void 0===l?s=void 0:(s=new l(t),s._$AT(t,e,r)),void 0!==r?(null!==(a=(c=e)._$Co)&&void 0!==a?a:c._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=et(t,s._$AS(t,o.values),s,r)),o}let rt=class t{constructor(t,o,e,r){var n;this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(n=null==r?void 0:r.isConnected)||void 0===n||n}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=et(this,t,o),$(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=>B(t)||"function"==typeof(null==t?void 0: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&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(F.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,n="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=ot.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===n)this._$AH.v(e);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){var o;const{el:{content:e},parts:r}=this._$AD,n=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:F).importNode(e,!0);tt.currentNode=n;let i=tt.nextNode(),a=0,c=0,s=r[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new rt(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new lt(i,this,t)),this._$AV.push(o),s=r[++c]}a!==(null==s?void 0:s.index)&&(i=tt.nextNode(),a++)}return n}v(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++}}(n,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new ot(t)),o}T(o){B(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(P()),this.k(P()),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){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}},nt=class{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}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=et(this,t,o,0),i=!$(t)||t!==this._$AH&&t!==J,i&&(this._$AH=t);else{const r=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=et(this,r[e+a],o,a),c===J&&(c=this._$AH[a]),i||(i=!$(c)||c!==this._$AH[a]),c===X?t=X:t!==X&&(t+=(null!=c?c:"")+n[a+1]),this._$AH[a]=c}i&&!r&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},it=class extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}};const at=W?W.emptyScript:"";let ct=class extends nt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==X?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}},st=class extends nt{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=et(this,t,o,0))&&void 0!==e?e:X)===J)return;const r=this._$AH,n=t===X&&r!==X||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==X&&(r===X||n);n&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e: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){et(this,t)}};const ft=k.litHtmlPolyfillSupport;null==ft||ft(ot,rt),(null!==(L=k.litHtmlVersions)&&void 0!==L?L:k.litHtmlVersions=[]).push("2.7.3");
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright 2017 Google LLC
|
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
+
*/const A=globalThis,j=A.trustedTypes,M=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,P="?"+$,F=`<${P}>`,B=document,D=()=>B.createComment(""),_=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,z="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,q=/>/g,V=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,J=/"/g,X=/^(?:script|style|textarea|title)$/i,Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,et=B.createTreeWalker(B,129);function rt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(o):o}let it=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const s=o.length-1,c=this.parts,[l,f]=((t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=G;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===G?"!--"===c[1]?a=H:void 0!==c[1]?a=q:void 0!==c[2]?(X.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=V):void 0!==c[3]&&(a=V):a===V?">"===c[0]?(a=i??G,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?V:'"'===c[3]?J:Y):a===J||a===Y?a=V:a===H||a===q?a=G:(a=V,i=void 0);const h=a===V&&t[o+1].startsWith("/>")?" ":"";n+=a===G?e+F:l>=0?(r.push(s),e.slice(0,l)+Z+e.slice(l)+$+h):e+$+(-2===l?o:h)}return[rt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(l,r),et.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=et.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Z)){const o=f[a++],e=i.getAttribute(t).split($),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?ct:"?"===r[1]?lt:"@"===r[1]?ft:st}),i.removeAttribute(t)}else t.startsWith($)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(X.test(i.tagName)){const t=i.textContent.split($),o=t.length-1;if(o>0){i.textContent=j?j.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],D()),et.nextNode(),c.push({type:2,index:++n});i.append(t[o],D())}}}else if(8===i.nodeType)if(i.data===P)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf($,t+1));)c.push({type:7,index:n}),t+=$.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function nt(t,o,e=t,r){if(o===Q)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=_(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=nt(t,i._$AS(t,o.values),i,r)),o}let at=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=tt,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=nt(this,t,o),_(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(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!==tt&&_(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.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=it.createElement(rt(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??B).importNode(o,!0);et.currentNode=r;let i=et.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new at(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new ht(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=et.nextNode(),n++)}return et.currentNode=B,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=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new it(t)),o}T(o){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(D()),this.k(D()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$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))}},st=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=tt}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=nt(this,t,o,0),n=!_(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=nt(this,r[e+a],o,a),s===Q&&(s=this._$AH[a]),n||=!_(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ct=class extends st{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},lt=class extends st{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ft=class extends st{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=nt(this,t,o,0)??tt)===Q)return;const e=this._$AH,r=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==tt&&(e===tt||r);r&&this.element.removeEventListener(this.name,this,e),i&&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)}},ht=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){nt(this,t)}};const ut=A.litHtmlPolyfillSupport;ut?.(it,at),(A.litHtmlVersions??=[]).push("3.1.0");
|
|
55
52
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
var ut,dt;let pt=class extends I{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,n;const i=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=i._$litPart$;if(void 0===a){const t=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:null;i._$litPart$=a=new rt(o.insertBefore(P(),t),t,void 0,null!=e?e:{})}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 J}};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?g(t):t;class bt{static create(t,o,e,r){const n=t=>yt(null!=t?t:r),i=m`var(${yt(t)}, ${n(r)})`;return i.name=t,i.description=t,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>m`var(${yt(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=m`var(${yt(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=>m`var(${yt(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):yt(null!=o?o:t.lastResortDefaultValue()),r=m`var(${yt(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=>m`var(${yt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}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);const vt={colorPrimary:bt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:bt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:bt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:bt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:bt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:bt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:bt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:bt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:bt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:bt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:bt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:bt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:bt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:bt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:bt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:bt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:bt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:bt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:bt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:bt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:bt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:bt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00: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)"),elevation01: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)"),elevation02: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)"),elevation03: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)"),elevation04: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)"),elevation06: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)"),elevation08: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)"),elevation12: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)"),elevation16: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)"),elevation24: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)"),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"),titleFont:bt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:bt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Ot extends pt{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 v(e,t.elementStyles),e}}var xt,Nt=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(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 wt=Symbol("constructorPrototype"),St=Symbol("constructorName"),Ct=Symbol("exportpartsDebouncer");class Et extends Ot{constructor(){super(),this[xt]=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,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[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,e,r,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!==(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(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(", "))}}xt=Ct,Nt([a()],Et.prototype,"exportpartsPrefix",void 0),Nt([u([])],Et.prototype,"exportpartsPrefixes",void 0),Nt([a()],Et.prototype,"customStylesheet",void 0),m`
|
|
53
|
+
* @license
|
|
54
|
+
* Copyright 2019 Google LLC
|
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
+
*/
|
|
57
|
+
const dt=globalThis,pt=dt.ShadowRoot&&(void 0===dt.ShadyCSS||dt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),bt=new WeakMap;let gt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==yt)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(pt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=bt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&bt.set(o,t))}return t}toString(){return this.cssText}};const mt=t=>new gt("string"==typeof t?t:t+"",void 0,yt),vt=(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 gt(e,t,yt)},Ot=pt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return mt(o)})(t):t
|
|
58
|
+
/**
|
|
59
|
+
* @license
|
|
60
|
+
* Copyright 2017 Google LLC
|
|
61
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
|
+
*/,{is:xt,defineProperty:wt,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:St,getOwnPropertySymbols:Ct,getPrototypeOf:Et}=Object,Rt=globalThis,Ut=Rt.trustedTypes,It=Ut?Ut.emptyScript:"",Lt=Rt.reactiveElementPolyfillSupport,kt=(t,o)=>t,Wt={toAttribute(t,o){switch(o){case Boolean:t=t?It: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}},Kt=(t,o)=>!xt(t,o),At={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Kt};Symbol.metadata??=Symbol("metadata"),Rt.litPropertyMetadata??=new WeakMap;let jt=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=At){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&&wt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Nt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??At}static _$Ei(){if(this.hasOwnProperty(kt("elementProperties")))return;const t=Et(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(kt("properties"))){const t=this.properties,o=[...St(t),...Ct(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(Ot(t))}else void 0!==t&&o.push(Ot(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(pt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=dt.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 i=(void 0!==e.converter?.toAttribute?e.converter:Wt).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),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),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Wt;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Kt)(r?i: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){}};jt.elementStyles=[],jt.shadowRootOptions={mode:"open"},jt[kt("elementProperties")]=new Map,jt[kt("finalized")]=new Map,Lt?.({ReactiveElement:jt}),(Rt.reactiveElementVersions??=[]).push("2.0.2");
|
|
63
|
+
/**
|
|
64
|
+
* @license
|
|
65
|
+
* Copyright 2017 Google LLC
|
|
66
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
|
+
*/
|
|
68
|
+
const Mt=globalThis,Zt=Mt.trustedTypes,$t=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",Ft=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+Ft,Dt=`<${Bt}>`,_t=document,Tt=()=>_t.createComment(""),zt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Gt=Array.isArray,Ht="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Yt=/>/g,Jt=RegExp(`>|${Ht}(?:([^\\s"'>=/]+)(${Ht}*=${Ht}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,Qt=/"/g,to=/^(?:script|style|textarea|title)$/i,oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),eo=Symbol.for("lit-noChange"),ro=Symbol.for("lit-nothing"),io=new WeakMap,no=_t.createTreeWalker(_t,129);function ao(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==$t?$t.createHTML(o):o}class so{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[c,l]=((t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=qt;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===qt?"!--"===c[1]?a=Vt:void 0!==c[1]?a=Yt:void 0!==c[2]?(to.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Jt):void 0!==c[3]&&(a=Jt):a===Jt?">"===c[0]?(a=i??qt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Jt:'"'===c[3]?Qt:Xt):a===Qt||a===Xt?a=Jt:a===Vt||a===Yt?a=qt:(a=Jt,i=void 0);const h=a===Jt&&t[o+1].startsWith("/>")?" ":"";n+=a===qt?e+Dt:l>=0?(r.push(s),e.slice(0,l)+Pt+e.slice(l)+Ft+h):e+Ft+(-2===l?o:h)}return[ao(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(t,o);if(this.el=so.createElement(c,e),no.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=no.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Pt)){const o=l[n++],e=r.getAttribute(t).split(Ft),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?ho:"?"===a[1]?uo:"@"===a[1]?po:fo}),r.removeAttribute(t)}else t.startsWith(Ft)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(to.test(r.tagName)){const t=r.textContent.split(Ft),o=t.length-1;if(o>0){r.textContent=Zt?Zt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Tt()),no.nextNode(),s.push({type:2,index:++i});r.append(t[o],Tt())}}}else if(8===r.nodeType)if(r.data===Bt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Ft,t+1));)s.push({type:7,index:i}),t+=Ft.length-1}i++}}static createElement(t,o){const e=_t.createElement("template");return e.innerHTML=t,e}}function co(t,o,e=t,r){if(o===eo)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=zt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=co(t,i._$AS(t,o.values),i,r)),o}let lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=ro,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=co(this,t,o),zt(t)?t===ro||null==t||""===t?(this._$AH!==ro&&this._$AR(),this._$AH=ro):t!==this._$AH&&t!==eo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Gt(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!==ro&&zt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.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=so.createElement(ao(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??_t).importNode(o,!0);no.currentNode=r;let i=no.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lo(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new yo(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=no.nextNode(),n++)}return no.currentNode=_t,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=io.get(t.strings);return void 0===o&&io.set(t.strings,o=new so(t)),o}T(o){Gt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(Tt()),this.k(Tt()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$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))}},fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=ro,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ro}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=co(this,t,o,0),n=!zt(t)||t!==this._$AH&&t!==eo,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=co(this,r[e+a],o,a),s===eo&&(s=this._$AH[a]),n||=!zt(s)||s!==this._$AH[a],s===ro?t=ro:t!==ro&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ro?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ho=class extends fo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ro?void 0:t}},uo=class extends fo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ro)}},po=class extends fo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=co(this,t,o,0)??ro)===eo)return;const e=this._$AH,r=t===ro&&e!==ro||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==ro&&(e===ro||r);r&&this.element.removeEventListener(this.name,this,e),i&&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)}},yo=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){co(this,t)}};const bo=Mt.litHtmlPolyfillSupport;bo?.(so,lo),(Mt.litHtmlVersions??=[]).push("3.1.0");
|
|
69
|
+
/**
|
|
70
|
+
* @license
|
|
71
|
+
* Copyright 2017 Google LLC
|
|
72
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
+
*/
|
|
74
|
+
let go=class extends jt{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 i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new lo(o.insertBefore(Tt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return eo}};go._$litElement$=!0,go.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:go});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:go}),(globalThis.litElementVersions??=[]).push("4.0.2");const vo=t=>"string"==typeof t?mt(t):t;class Oo{static create(t,o,e,r){const i=t=>vo(null!=t?t:r),n=vt`var(${vo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>vt`var(${vo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=vt`var(${vo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>vt`var(${vo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):vo(null!=o?o:t.lastResortDefaultValue()),r=vt`var(${vo(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=>vt`var(${vo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const xo={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8")};Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-display-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),Oo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const wo={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xo.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",xo.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",xo.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",xo.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",xo.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",xo.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xo.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",xo.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",xo.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",xo.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xo.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xo.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xo.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xo.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xo.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xo.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",xo.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xo.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",xo.colorCyan0),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",xo.colorGreen0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xo.colorGreen200),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",xo.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xo.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xo.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",xo.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",xo.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xo.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for warning components.",xo.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success components.",xo.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for error components.",xo.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for information components.",xo.colorCyan30),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xo.colorGray30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",xo.colorGray50),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xo.colorGray80)};Oo.create("--ft-button-large-height","","SIZE","40px"),Oo.extend("--ft-button-large-horizontal-padding","",xo.spacing4),Oo.extend("--ft-button-large-gap","",xo.spacing2),Oo.extend("--ft-button-large-border-radius","",xo.borderRadiusS),Oo.extend("--ft-button-large-icon-size","",xo.iconSize3),Oo.create("--ft-button-large-border-width","","SIZE","1px"),Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oo.create("--ft-button-small-height","","SIZE","30px"),Oo.extend("--ft-button-small-horizontal-padding","",xo.spacing3),Oo.extend("--ft-button-small-gap","",xo.spacing2),Oo.extend("--ft-button-small-border-radius","",xo.borderRadiusS),Oo.extend("--ft-button-small-icon-size","",xo.iconSize2),Oo.create("--ft-button-small-border-width","","SIZE","1px"),Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oo.extend("--ft-button-primary-background-color","",wo.backgroundActionPrimary),Oo.extend("--ft-button-primary-color","",wo.contentGlobalOnColor),Oo.extend("--ft-button-primary-icon-color","",wo.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-color","",wo.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-button-primary-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-button-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-tertiary-color","",wo.contentActionPrimary),Oo.extend("--ft-button-tertiary-icon-color","",wo.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",xo.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",xo.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",xo.opacity16),Oo.extend("--ft-button-tertiary-component-opacity-disabled","",xo.opacity40),Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-secondary-color","",wo.contentActionPrimary),Oo.extend("--ft-button-secondary-icon-color","",wo.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",xo.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",xo.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-active","",xo.opacity16),Oo.extend("--ft-button-secondary-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-button-secondary-border-color","",wo.borderActionPrimary),Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-neutral-icon-color","",wo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-color","",wo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-color","",wo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",xo.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",xo.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-active","",xo.opacity16),Oo.extend("--ft-button-neutral-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-tabs-top-left-border-radius","",xo.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",xo.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",xo.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",xo.spacing3),Oo.extend("--ft-tabs-label-gap","",xo.spacing1),Oo.extend("--ft-switch-group-horizontal-padding","",xo.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",xo.spacing1),Oo.extend("--ft-switch-group-gap","",xo.spacing1),Oo.extend("--ft-switch-group-background-color","",wo.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",wo.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",xo.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",xo.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",xo.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",xo.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",xo.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",xo.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",xo.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",xo.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-switch-off-color","",wo.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",wo.contentGlobalSubtle),Oo.extend("--ft-chart-1-light","for area color charts",xo.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",xo.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",xo.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",xo.colorYellow100),Oo.extend("--ft-chart-3-light","",xo.colorUltramarine40),Oo.extend("--ft-chart-3-base","",xo.colorUltramarine70),Oo.extend("--ft-chart-4-light","",xo.colorCyan50),Oo.extend("--ft-chart-4-base","",xo.colorCyan100),Oo.extend("--ft-chart-5-light","",xo.colorRed40),Oo.extend("--ft-chart-5-base","",xo.colorRed60),Oo.extend("--ft-chart-6-light","",xo.colorGreen40),Oo.extend("--ft-chart-6-base","",xo.colorGreen70),Oo.extend("--ft-chart-7-light","",xo.colorOrange70),Oo.extend("--ft-chart-7-base","",xo.colorOrange100),Oo.extend("--ft-chart-8-light","",xo.colorAvocado70),Oo.extend("--ft-chart-8-base","",xo.colorAvocado200),Oo.extend("--ft-chart-9-light","",xo.colorBrown50),Oo.extend("--ft-chart-9-base","",xo.colorBrown200),Oo.extend("--ft-chart-10-light","",xo.colorGray50),Oo.extend("--ft-chart-10-base","",xo.colorGray80),Oo.extend("--ft-chart-monochrome-10","",xo.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",xo.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",xo.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",xo.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",xo.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",xo.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",xo.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",xo.spacing2),Oo.extend("--ft-chip-large-gap","",xo.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",xo.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",xo.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",xo.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",xo.spacing1),Oo.extend("--ft-chip-medium-gap","",xo.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",xo.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",xo.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",xo.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",xo.spacing05),Oo.extend("--ft-chip-small-gap","",xo.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",xo.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",xo.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",wo.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",wo.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",wo.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-chip-success-background-color","",wo.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",wo.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",wo.borderSuccessPrimary),Oo.extend("--ft-chip-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-chip-error-background-color","",wo.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",wo.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",wo.borderErrorPrimary),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",xo.spacing2),Oo.extend("--ft-notice-vertical-padding","",xo.spacing1),Oo.extend("--ft-notice-border-radius","",xo.borderRadiusS),Oo.extend("--ft-notice-gap","",xo.spacing2),Oo.extend("--ft-notice-icon-size","",xo.iconSize3),Oo.extend("--ft-notice-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-notice-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-notice-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",wo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",wo.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",xo.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",xo.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",xo.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-toggle-off-background-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-toggle-on-background-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",xo.spacing3),Oo.extend("--ft-radio-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",wo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",xo.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",xo.spacing3),Oo.extend("--ft-notification-icon-size","",xo.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",xo.spacing4),Oo.extend("--ft-notification-vertical-padding","",xo.spacing4),Oo.extend("--ft-notification-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-notification-success-background-color","",wo.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",wo.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",wo.borderSuccessPrimary),Oo.extend("--ft-notification-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-notification-error-background-color","",wo.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",wo.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",wo.borderErrorPrimary),Oo.extend("--ft-notification-border-radius","",xo.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",xo.spacing2),Oo.extend("--ft-notification-gap-trailing","",xo.spacing8);const No={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Oo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Oo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Oo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Oo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Oo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Oo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Oo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Oo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Oo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},So=window,Co=So.ShadowRoot&&(void 0===So.ShadyCSS||So.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
75
|
+
/**
|
|
76
|
+
* @license
|
|
77
|
+
* Copyright 2019 Google LLC
|
|
78
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
|
+
*/class Eo extends go{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)=>{Co?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=So.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ro,Uo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Io=Symbol("constructorPrototype"),Lo=Symbol("constructorName"),ko=Symbol("exportpartsDebouncer");class Wo extends Eo{constructor(){super(),this[Ro]=new i(5),this[Lo]=this.constructor.name,this[Io]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lo]&&Object.setPrototypeOf(this,this[Io])}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[ko].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,i,n,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!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.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(", "))}}Ro=ko,Uo([U()],Wo.prototype,"exportpartsPrefix",void 0),Uo([K([])],Wo.prototype,"exportpartsPrefixes",void 0),Uo([U()],Wo.prototype,"customStylesheet",void 0),vt`
|
|
61
80
|
.ft-no-text-select {
|
|
62
81
|
-webkit-touch-callout: none;
|
|
63
82
|
-webkit-user-select: none;
|
|
@@ -66,7 +85,7 @@ var ut,dt;let pt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
66
85
|
-ms-user-select: none;
|
|
67
86
|
user-select: none;
|
|
68
87
|
}
|
|
69
|
-
`,
|
|
88
|
+
`,vt`
|
|
70
89
|
.ft-word-wrap {
|
|
71
90
|
white-space: normal;
|
|
72
91
|
word-wrap: break-word;
|
|
@@ -78,7 +97,7 @@ var ut,dt;let pt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
78
97
|
-webkit-hyphens: auto;
|
|
79
98
|
hyphens: auto
|
|
80
99
|
}
|
|
81
|
-
`,
|
|
100
|
+
`,vt`
|
|
82
101
|
.ft-safari-ellipsis-fix {
|
|
83
102
|
margin-right: 0;
|
|
84
103
|
|
|
@@ -89,9 +108,9 @@ var ut,dt;let pt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
89
108
|
display: inline-block;
|
|
90
109
|
width: 0;
|
|
91
110
|
}
|
|
92
|
-
`;class Rt{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 Ut(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var It,Lt,kt;const Wt=Symbol("internalReduxEventsUnsubscribers"),Kt=Symbol("internalStoresUnsubscribers"),jt=Symbol("internalStores");class At extends Et{constructor(){super(...arguments),this[It]=new Map,this[Lt]=new Map,this[kt]=[]}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[jt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[jt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[jt].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ut(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[jt].delete(o)}setupStore(t,o){this[jt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[jt].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[Kt].has(t.store):this[Kt].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Kt].set(t,o.subscribe((()=>this.updateFromStores()))),Ut(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[Wt].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),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,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 Mt(t){return!!t&&!!t[So]}function Ft(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)===Co}(t)||Array.isArray(t)||!!t[wo]||!!(null===(o=t.constructor)||void 0===o?void 0:o[wo])||Tt(t)||_t(t))}function Pt(t,o,e){void 0===e&&(e=!1),0===$t(t)?(e?Object.keys:Eo)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function $t(t){var o=t[So];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Tt(t)?2:_t(t)?3:0}function Bt(t,o){return 2===$t(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function Dt(t,o,e){var r=$t(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function zt(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Tt(t){return vo&&t instanceof Map}function _t(t){return Oo&&t instanceof Set}function Gt(t){return t.o||t.t}function Ht(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Ro(t);delete o[So];for(var e=Eo(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 qt(t,o){return void 0===o&&(o=!1),Yt(t)||Mt(t)||!Ft(t)||($t(t)>1&&(t.set=t.add=t.clear=t.delete=Vt),Object.freeze(t),o&&Pt(t,(function(t,o){return qt(o,!0)}),!0)),t}function Vt(){Zt(2)}function Yt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Jt(t){var o=Uo[t];return o||Zt(18,t),o}function Xt(){return go}function Qt(t,o){o&&(Jt("Patches"),t.u=[],t.s=[],t.v=o)}function to(t){oo(t),t.p.forEach(ro),t.p=null}function oo(t){t===go&&(go=t.l)}function eo(t){return go={p:[],l:go,h:t,m:!0,_:0}}function ro(t){var o=t[So];0===o.i||1===o.i?o.j():o.g=!0}function no(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||Jt("ES5").S(o,t,r),r?(e[So].P&&(to(o),Zt(4)),Ft(t)&&(t=io(o,t),o.l||co(o,t)),o.u&&Jt("Patches").M(e[So].t,t,o.u,o.s)):t=io(o,e,[]),to(o),o.u&&o.v(o.u,o.s),t!==No?t:void 0}function io(t,o,e){if(Yt(o))return o;var r=o[So];if(!r)return Pt(o,(function(n,i){return ao(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return co(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=Ht(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),Pt(i,(function(o,i){return ao(t,r,n,o,i,e,a)})),co(t,n,!1),e&&t.u&&Jt("Patches").N(r,e,t.u,t.s)}return r.o}function ao(t,o,e,r,n,i,a){if(Mt(n)){var c=io(t,n,i&&o&&3!==o.i&&!Bt(o.R,r)?i.concat(r):void 0);if(Dt(e,r,c),!Mt(c))return;t.m=!1}else a&&e.add(n);if(Ft(n)&&!Yt(n)){if(!t.h.D&&t._<1)return;io(t,n),o&&o.A.l||co(t,n)}}function co(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&qt(o,e)}function so(t,o){var e=t[So];return(e?Gt(e):t)[o]}function lo(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 fo(t){t.P||(t.P=!0,t.l&&fo(t.l))}function uo(t){t.o||(t.o=Ht(t.t))}function po(t,o,e){var r=Tt(o)?Jt("MapSet").F(o,e):_t(o)?Jt("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Xt(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Io;e&&(n=[r],i=Lo);var a=Proxy.revocable(n,i),c=a.revoke,s=a.proxy;return r.k=s,r.j=c,s}(o,e):Jt("ES5").J(o,e);return(e?e.A:Xt()).p.push(r),r}function ho(t){return Mt(t)||Zt(22,t),function t(o){if(!Ft(o))return o;var e,r=o[So],n=$t(o);if(r){if(!r.P&&(r.i<4||!Jt("ES5").K(r)))return r.t;r.I=!0,e=yo(o,n),r.I=!1}else e=yo(o,n);return Pt(e,(function(o,n){r&&function(t,o){return 2===$t(t)?t.get(o):t[o]}(r.t,o)===n||Dt(e,o,t(n))})),3===n?new Set(e):e}(t)}function yo(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Ht(t)}It=Kt,Lt=jt,kt=Wt;var bo,go,mo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),vo="undefined"!=typeof Map,Oo="undefined"!=typeof Set,xo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,No=mo?Symbol.for("immer-nothing"):((bo={})["immer-nothing"]=!0,bo),wo=mo?Symbol.for("immer-draftable"):"__$immer_draftable",So=mo?Symbol.for("immer-state"):"__$immer_state",Co=""+Object.prototype.constructor,Eo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ro=Object.getOwnPropertyDescriptors||function(t){var o={};return Eo(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Uo={},Io={get:function(t,o){if(o===So)return t;var e=Gt(t);if(!Bt(e,o))return function(t,o,e){var r,n=lo(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||!Ft(r)?r:r===so(t.t,o)?(uo(t),t.o[o]=po(t.A.h,r,t)):r},has:function(t,o){return o in Gt(t)},ownKeys:function(t){return Reflect.ownKeys(Gt(t))},set:function(t,o,e){var r=lo(Gt(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=so(Gt(t),o),i=null==n?void 0:n[So];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(zt(e,n)&&(void 0!==e||Bt(t.t,o)))return!0;uo(t),fo(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!==so(t.t,o)||o in t.t?(t.R[o]=!1,uo(t),fo(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Gt(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(){Zt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Zt(12)}},Lo={};Pt(Io,(function(t,o){Lo[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Lo.deleteProperty=function(t,o){return Lo.set.call(this,t,o,void 0)},Lo.set=function(t,o,e){return Io.set.call(this,t[0],o,e,t[0])};var ko=function(){function t(t){var o=this;this.O=xo,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),c=1;c<r;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Zt(6),void 0!==r&&"function"!=typeof r&&Zt(7),Ft(t)){var c=eo(o),s=po(o,t,void 0),l=!0;try{a=e(s),l=!1}finally{l?to(c):oo(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Qt(c,r),no(t,c)}),(function(t){throw to(c),t})):(Qt(c,r),no(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===No&&(a=void 0),o.D&&qt(a,!0),r){var f=[],u=[];Jt("Patches").M(t,a,f,u),r(f,u)}return a}Zt(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){Ft(t)||Zt(8),Mt(t)&&(t=ho(t));var o=eo(this),e=po(this,t,void 0);return e[So].C=!0,oo(o),e},o.finishDraft=function(t,o){var e=(t&&t[So]).A;return Qt(e,o),no(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!xo&&Zt(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=Jt("Patches").$;return Mt(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Wo=new ko,Ko=Wo.produce;function jo(t){return jo="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},jo(t)}function Ao(t){var o=function(t,o){if("object"!==jo(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==jo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===jo(o)?o:String(o)}function Zo(t,o,e){return(o=Ao(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Mo(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 Fo(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Mo(Object(e),!0).forEach((function(o){Zo(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Mo(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Po(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 $o="function"==typeof Symbol&&Symbol.observable||"@@observable",Bo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Do={INIT:"@@redux/INIT"+Bo(),REPLACE:"@@redux/REPLACE"+Bo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Bo()}};function zo(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Po(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Po(1));return e(zo)(t,o)}if("function"!=typeof t)throw new Error(Po(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(Po(3));return i}function u(t){if("function"!=typeof t)throw new Error(Po(4));if(s)throw new Error(Po(5));var o=!0;return l(),c.push(t),function(){if(o){if(s)throw new Error(Po(6));o=!1,l();var e=c.indexOf(t);c.splice(e,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(Po(7));if(void 0===t.type)throw new Error(Po(8));if(s)throw new Error(Po(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=c,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:Do.INIT}),(r={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Po(10));n=t,d({type:Do.REPLACE})}})[$o]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Po(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[$o]=function(){return this},t},r}function To(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:Do.INIT}))throw new Error(Po(12));if(void 0===e(void 0,{type:Do.PROBE_UNKNOWN_ACTION()}))throw new Error(Po(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},c=0;c<a.length;c++){var s=a[c],l=e[s],f=t[s],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(Po(14));n[s]=u,r=r||u!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function _o(){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 Go(){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(Po(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=_o.apply(void 0,i)(e.dispatch),Fo(Fo({},e),{},{dispatch:r})}}}function Ho(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 qo=Ho();qo.withExtraArgument=Ho;var Vo,Yo=qo,Jo=(Vo=function(t,o){return Vo=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])},Vo(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}Vo(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Xo=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: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(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,c])}}},Qo=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},te=Object.defineProperty,oe=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,ae=function(t,o,e){return o in t?te(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},ce=function(t,o){for(var e in o||(o={}))ne.call(o,e)&&ae(t,e,o[e]);if(re)for(var r=0,n=re(o);r<n.length;r++){e=n[r];ie.call(o,e)&&ae(t,e,o[e])}return t},se=function(t,o){return oe(t,ee(o))},le="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 fe=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 Jo(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,Qo([void 0],t[0].concat(this)))):new(o.bind.apply(o,Qo([void 0],t.concat(this))))},o}(Array),ue=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 Jo(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,Qo([void 0],t[0].concat(this)))):new(o.bind.apply(o,Qo([void 0],t.concat(this))))},o}(Array);function de(t){return Ft(t)?Ko(t,(function(){})):t}function pe(){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 fe;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Yo.withExtraArgument(e.extraArgument)):r.push(Yo));return r}(t)}}function he(t){var o,e=pe(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,c=void 0===a?e():a,s=r.devTools,l=void 0===s||s,f=r.preloadedState,u=void 0===f?void 0:f,d=r.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 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=To(i)}var h=c;"function"==typeof h&&(h=h(e));var y=Go.apply(void 0,h),b=_o;l&&(b=le(ce({trace:!1},"object"==typeof l&&l)));var g=new ue(y),m=g;return Array.isArray(p)?m=Qo([y],p):"function"==typeof p&&(m=p(g)),zo(o,u,b.apply(void 0,m))}function ye(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 ce(ce({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 be(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 ge(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:de(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};function l(){var o="function"==typeof t.extraReducers?be(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,s=o[2],l=void 0===s?void 0:s,f=ce(ce({},n),c);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?be(o):[o,e,r],a=i[0],c=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return de(t())};else{var l=de(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=Qo([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(Mt(t))return void 0===(r=e(t,o))?t:r;if(Ft(t))return Ko(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,c[l]=e,s[t]=r?ye(l,r):ye(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var me=["name","message","stack","code"],ve=function(t,o){this.payload=t,this.meta=o},Oe=function(t,o){this.payload=t,this.meta=o},xe=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=me;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Ne(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=ye(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:se(ce({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=ye(t+"/pending",(function(t,o,e){return{payload:void 0,meta:se(ce({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=ye(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||xe)(t||"Rejected"),meta:se(ce({},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(c,s,l){var f,u=(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}(),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 Xo(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,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==e?void 0:e.getPendingMeta)?void 0:h.call(e,{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 ve(t,o)},fulfillWithValue:function(t,o){return new Oe(t,o)}})).then((function(o){if(o instanceof ve)throw o;return o instanceof Oe?r(o.payload,u,t,o.meta):r(o,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof ve?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||c(y),[2,y]}var O}))},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,h)).next())}));var a,h,y}();return Object.assign(h,{abort:p,requestId:u,arg:t,unwrap:function(){return h.then(Ne)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var we="listenerMiddleware";ye(we+"/add"),ye(we+"/removeAll"),ye(we+"/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[So];return Io.get(o,t)},set:function(o){var e=this[So];Io.set(e,t,o)}},e}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:r(n)&&fo(n);break;case 4:e(n)&&fo(n)}}}function e(t){for(var o=t.t,e=t.k,r=Eo(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==So){var a=o[i];if(void 0===a&&!Bt(o,i))return!0;var c=e[i],s=c&&c[So];if(s?s.t!==a:!zt(c,a))return!0}}var l=!!o[So];return r.length!==Eo(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){Uo[t]||(Uo[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=Ro(e);delete i[So];for(var a=Eo(i),c=0;c<a.length;c++){var s=a[c];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:Xt(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,So,{value:i,writable:!0}),n},S:function(t,e,n){n?Mt(e)&&e[So].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[So];if(e){var n=e.t,i=e.k,a=e.R,c=e.i;if(4===c)Pt(i,(function(o){o!==So&&(void 0!==n[o]||Bt(n,o)?a[o]||t(i[o]):(a[o]=!0,fo(e)))})),Pt(n,(function(t){void 0!==i[t]||Bt(i,t)||(a[t]=!1,fo(e))}));else if(5===c){if(r(e)&&(fo(e),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?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Se{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(Ut(n))return n;if(null==r)return;const i=ge({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=he({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 Se(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()}}const Ce=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!l(t,o),attribute:!1,...o};a(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})}};var Ee,Re;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Re=null===(Ee=window.safari)||void 0===Ee?void 0:Ee.pushNotification)||void 0===Re||Re.toString());const Ue={colorError:bt.external(vt.colorError,"Design system"),fontFamily:bt.external(vt.contentFont,"Design system")},Ie=m`
|
|
111
|
+
`;class Ko{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}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 Ao(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var jo,Mo,Zo;const $o=Symbol("internalReduxEventsUnsubscribers"),Po=Symbol("internalStoresUnsubscribers"),Fo=Symbol("internalStores");class Bo extends Wo{constructor(){super(...arguments),this[jo]=new Map,this[Mo]=new Map,this[Zo]=[]}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[Fo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Fo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Fo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ao(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[Fo].delete(o)}setupStore(t,o){this[Fo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Fo].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[Po].has(t.store):this[Po].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Po].set(t,o.subscribe((()=>this.updateFromStores()))),Ao(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[$o].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Po].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[$o].forEach((t=>t())),this[$o]=[]}unsubscribeFromStore(t){this[Po].has(t)&&this[Po].get(t)(),this[Po].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Do(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[Ie]}function To(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)===Le}(t)||Array.isArray(t)||!!t[Ue]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Ue])||Yo(t)||Jo(t))}function zo(t,o,e){void 0===e&&(e=!1),0===Go(t)?(e?Object.keys:ke)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Go(t){var o=t[Ie];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Yo(t)?2:Jo(t)?3:0}function Ho(t,o){return 2===Go(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function qo(t,o,e){var r=Go(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function Vo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Yo(t){return Se&&t instanceof Map}function Jo(t){return Ce&&t instanceof Set}function Xo(t){return t.o||t.t}function Qo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=We(t);delete o[Ie];for(var e=ke(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function te(t,o){return void 0===o&&(o=!1),ee(t)||_o(t)||!To(t)||(Go(t)>1&&(t.set=t.add=t.clear=t.delete=oe),Object.freeze(t),o&&zo(t,(function(t,o){return te(o,!0)}),!0)),t}function oe(){Do(2)}function ee(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function re(t){var o=Ke[t];return o||Do(18,t),o}function ie(){return we}function ne(t,o){o&&(re("Patches"),t.u=[],t.s=[],t.v=o)}function ae(t){se(t),t.p.forEach(le),t.p=null}function se(t){t===we&&(we=t.l)}function ce(t){return we={p:[],l:we,h:t,m:!0,_:0}}function le(t){var o=t[Ie];0===o.i||1===o.i?o.j():o.g=!0}function fe(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||re("ES5").S(o,t,r),r?(e[Ie].P&&(ae(o),Do(4)),To(t)&&(t=he(o,t),o.l||de(o,t)),o.u&&re("Patches").M(e[Ie].t,t,o.u,o.s)):t=he(o,e,[]),ae(o),o.u&&o.v(o.u,o.s),t!==Re?t:void 0}function he(t,o,e){if(ee(o))return o;var r=o[Ie];if(!r)return zo(o,(function(i,n){return ue(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return de(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=Qo(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),zo(n,(function(o,n){return ue(t,r,i,o,n,e,a)})),de(t,i,!1),e&&t.u&&re("Patches").N(r,e,t.u,t.s)}return r.o}function ue(t,o,e,r,i,n,a){if(_o(i)){var s=he(t,i,n&&o&&3!==o.i&&!Ho(o.R,r)?n.concat(r):void 0);if(qo(e,r,s),!_o(s))return;t.m=!1}else a&&e.add(i);if(To(i)&&!ee(i)){if(!t.h.D&&t._<1)return;he(t,i),o&&o.A.l||de(t,i)}}function de(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&te(o,e)}function pe(t,o){var e=t[Ie];return(e?Xo(e):t)[o]}function ye(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 be(t){t.P||(t.P=!0,t.l&&be(t.l))}function ge(t){t.o||(t.o=Qo(t.t))}function me(t,o,e){var r=Yo(o)?re("MapSet").F(o,e):Jo(o)?re("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:ie(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Ae;e&&(i=[r],n=je);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):re("ES5").J(o,e);return(e?e.A:ie()).p.push(r),r}function ve(t){return _o(t)||Do(22,t),function t(o){if(!To(o))return o;var e,r=o[Ie],i=Go(o);if(r){if(!r.P&&(r.i<4||!re("ES5").K(r)))return r.t;r.I=!0,e=Oe(o,i),r.I=!1}else e=Oe(o,i);return zo(e,(function(o,i){r&&function(t,o){return 2===Go(t)?t.get(o):t[o]}(r.t,o)===i||qo(e,o,t(i))})),3===i?new Set(e):e}(t)}function Oe(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Qo(t)}jo=Po,Mo=Fo,Zo=$o;var xe,we,Ne="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Se="undefined"!=typeof Map,Ce="undefined"!=typeof Set,Ee="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Re=Ne?Symbol.for("immer-nothing"):((xe={})["immer-nothing"]=!0,xe),Ue=Ne?Symbol.for("immer-draftable"):"__$immer_draftable",Ie=Ne?Symbol.for("immer-state"):"__$immer_state",Le=""+Object.prototype.constructor,ke="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,We=Object.getOwnPropertyDescriptors||function(t){var o={};return ke(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Ke={},Ae={get:function(t,o){if(o===Ie)return t;var e=Xo(t);if(!Ho(e,o))return function(t,o,e){var r,i=ye(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!To(r)?r:r===pe(t.t,o)?(ge(t),t.o[o]=me(t.A.h,r,t)):r},has:function(t,o){return o in Xo(t)},ownKeys:function(t){return Reflect.ownKeys(Xo(t))},set:function(t,o,e){var r=ye(Xo(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=pe(Xo(t),o),n=null==i?void 0:i[Ie];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(Vo(e,i)&&(void 0!==e||Ho(t.t,o)))return!0;ge(t),be(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!==pe(t.t,o)||o in t.t?(t.R[o]=!1,ge(t),be(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Xo(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(){Do(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Do(12)}},je={};zo(Ae,(function(t,o){je[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),je.deleteProperty=function(t,o){return je.set.call(this,t,o,void 0)},je.set=function(t,o,e){return Ae.set.call(this,t[0],o,e,t[0])};var Me=function(){function t(t){var o=this;this.O=Ee,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Do(6),void 0!==r&&"function"!=typeof r&&Do(7),To(t)){var s=ce(o),c=me(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?ae(s):se(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ne(s,r),fe(t,s)}),(function(t){throw ae(s),t})):(ne(s,r),fe(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Re&&(a=void 0),o.D&&te(a,!0),r){var f=[],h=[];re("Patches").M(t,a,f,h),r(f,h)}return a}Do(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"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){To(t)||Do(8),_o(t)&&(t=ve(t));var o=ce(this),e=me(this,t,void 0);return e[Ie].C=!0,se(o),e},o.finishDraft=function(t,o){var e=(t&&t[Ie]).A;return ne(e,o),fe(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ee&&Do(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 i=re("Patches").$;return _o(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),Ze=new Me,$e=Ze.produce;function Pe(t){return Pe="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},Pe(t)}function Fe(t){var o=function(t,o){if("object"!==Pe(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Pe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Pe(o)?o:String(o)}function Be(t,o,e){return(o=Fe(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function De(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?De(Object(e),!0).forEach((function(o){Be(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):De(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Te(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. "}Ze.produceWithPatches.bind(Ze),Ze.setAutoFreeze.bind(Ze),Ze.setUseProxies.bind(Ze),Ze.applyPatches.bind(Ze),Ze.createDraft.bind(Ze),Ze.finishDraft.bind(Ze);var ze="function"==typeof Symbol&&Symbol.observable||"@@observable",Ge=function(){return Math.random().toString(36).substring(7).split("").join(".")},He={INIT:"@@redux/INIT"+Ge(),REPLACE:"@@redux/REPLACE"+Ge(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ge()}};function qe(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Te(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Te(1));return e(qe)(t,o)}if("function"!=typeof t)throw new Error(Te(2));var i=t,n=o,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Te(3));return n}function h(t){if("function"!=typeof t)throw new Error(Te(4));if(c)throw new Error(Te(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(Te(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(Te(7));if(void 0===t.type)throw new Error(Te(8));if(c)throw new Error(Te(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:He.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Te(10));i=t,u({type:He.REPLACE})}})[ze]=function(){var t,o=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Te(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ze]=function(){return this},t},r}function Ve(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:He.INIT}))throw new Error(Te(12));if(void 0===e(void 0,{type:He.PROBE_UNKNOWN_ACTION()}))throw new Error(Te(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},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(Te(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function Ye(){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 Je(){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(Te(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=Ye.apply(void 0,n)(e.dispatch),_e(_e({},e),{},{dispatch:r})}}}function Xe(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var Qe=Xe();Qe.withExtraArgument=Xe;var tr,or=Qe,er=(tr=function(t,o){return tr=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])},tr(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}tr(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),rr=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ir=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},nr=Object.defineProperty,ar=Object.defineProperties,sr=Object.getOwnPropertyDescriptors,cr=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable,hr=function(t,o,e){return o in t?nr(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},ur=function(t,o){for(var e in o||(o={}))lr.call(o,e)&&hr(t,e,o[e]);if(cr)for(var r=0,i=cr(o);r<i.length;r++){e=i[r];fr.call(o,e)&&hr(t,e,o[e])}return t},dr=function(t,o){return ar(t,sr(o))},pr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ye:Ye.apply(null,arguments)};var yr=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return er(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,ir([void 0],t[0].concat(this)))):new(o.bind.apply(o,ir([void 0],t.concat(this))))},o}(Array),br=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return er(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,ir([void 0],t[0].concat(this)))):new(o.bind.apply(o,ir([void 0],t.concat(this))))},o}(Array);function gr(t){return To(t)?$e(t,(function(){})):t}function mr(){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 yr;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(or.withExtraArgument(e.extraArgument)):r.push(or));return r}(t)}}function vr(t){var o,e=mr(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,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 n)o=n;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}(n))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=Ve(n)}var p=s;"function"==typeof p&&(p=p(e));var y=Je.apply(void 0,p),b=Ye;l&&(b=pr(ur({trace:!1},"object"==typeof l&&l)));var g=new br(y),m=g;return Array.isArray(d)?m=ir([y],d):"function"==typeof d&&(m=d(g)),qe(o,h,b.apply(void 0,m))}function Or(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return ur(ur({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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 xr(t){var o,e={},r=[],i={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,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function wr(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:gr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?xr(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,c=o[2],l=void 0===c?void 0:c,f=ur(ur({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?xr(o):[o,e,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return gr(t())};else{var l=gr(t);i=function(){return l}}function f(t,o){void 0===t&&(t=i());var e=ir([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(To(t))return $e(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=i,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 i=r[e];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var e,r,n=i[t],l=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[l]=e,c[t]=r?Or(l,r):Or(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 Nr=["name","message","stack","code"],Sr=function(t,o){this.payload=t,this.meta=o},Cr=function(t,o){this.payload=t,this.meta=o},Er=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Nr;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Rr(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=Or(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:dr(ur({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Or(t+"/pending",(function(t,o,e){return{payload:void 0,meta:dr(ur({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Or(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Er)(t||"Rejected"),meta:dr(ur({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,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 rr(this,(function(v){switch(v.label){case 0:return v.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===(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||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(i(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 Sr(t,o)},fulfillWithValue:function(t,o){return new Cr(t,o)}})).then((function(o){if(o instanceof Sr)throw o;return o instanceof Cr?r(o.payload,h,t,o.meta):r(o,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Sr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((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(Rr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ur="listenerMiddleware";Or(Ur+"/add"),Or(Ur+"/removeAll"),Or(Ur+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Ie];return Ae.get(o,t)},set:function(o){var e=this[Ie];Ae.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Ie];if(!i.P)switch(i.i){case 5:r(i)&&be(i);break;case 4:e(i)&&be(i)}}}function e(t){for(var o=t.t,e=t.k,r=ke(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Ie){var a=o[n];if(void 0===a&&!Ho(o,n))return!0;var s=e[n],c=s&&s[Ie];if(c?c.t!==a:!Vo(s,a))return!0}}var l=!!o[Ie];return r.length!==ke(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 i={};!function(t,o){Ke[t]||(Ke[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=We(e);delete n[Ie];for(var a=ke(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,o||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:ie(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Ie,{value:n,writable:!0}),i},S:function(t,e,i){i?_o(e)&&e[Ie].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Ie];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)zo(n,(function(o){o!==Ie&&(void 0!==i[o]||Ho(i,o)?a[o]||t(n[o]):(a[o]=!0,be(e)))})),zo(i,(function(t){void 0!==n[t]||Ho(n,t)||(a[t]=!1,be(e))}));else if(5===s){if(r(e)&&(be(e),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ir{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Ao(i))return i;if(null==r)return;const n=wr({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=vr({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Ir(n,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,i=t[r];return i?(...t)=>{const o=i(...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()}}const Lr=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!k(t,o),attribute:!1,...o};U(i)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};var kr,Wr;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Wr=null===(kr=window.safari)||void 0===kr?void 0:kr.pushNotification)||void 0===Wr||Wr.toString());const Kr={colorError:Oo.external(No.colorError,"Design system"),fontFamily:Oo.external(No.contentFont,"Design system")},Ar=vt`
|
|
93
112
|
.topic {
|
|
94
|
-
font-family: ${
|
|
113
|
+
font-family: ${Kr.fontFamily};
|
|
95
114
|
overflow-x: auto;
|
|
96
115
|
}
|
|
97
116
|
|
|
@@ -100,23 +119,23 @@ var ut,dt;let pt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
100
119
|
}
|
|
101
120
|
|
|
102
121
|
.topic-on-error ft-icon {
|
|
103
|
-
color: ${
|
|
122
|
+
color: ${Kr.colorError}
|
|
104
123
|
}
|
|
105
124
|
|
|
106
125
|
.topic-loading {
|
|
107
126
|
height: 100vh;
|
|
108
127
|
}
|
|
109
|
-
`;var
|
|
128
|
+
`;var jr;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(jr||(jr={}));var Mr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Zr extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const $r=Symbol("registerInterval");class Pr extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[$r]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[$r]):this.dispatchEvent(new Zr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=$r,Mr([I()],e.prototype,"stateManager",void 0),e}(Bo)){}var Fr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Br extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const Dr=Symbol("registerInterval");class _r extends(function(t){var o;class e extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[o]=0}connectedCallback(){super.connectedCallback(),this[Dr]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[Dr]):this.dispatchEvent(new Br)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return o=Dr,Fr([I()],e.prototype,"tocNode",void 0),Fr([I()],e.prototype,"disableContextInteractions",void 0),e}(Pr)){}
|
|
110
129
|
/**
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
130
|
+
* @license
|
|
131
|
+
* Copyright 2017 Google LLC
|
|
132
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
133
|
+
*/const Tr=2;class zr{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
|
|
115
134
|
/**
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
135
|
+
* @license
|
|
136
|
+
* Copyright 2017 Google LLC
|
|
137
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
138
|
+
*/class Gr extends zr{constructor(t){if(super(t),this.et=tt,t.type!==Tr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Gr.directiveName="unsafeHTML",Gr.resultType=1;const Hr=(t=>(...o)=>({_$litDirective$:t,values:o}))(Gr);var qr,Vr;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(qr||(qr={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Vr||(Vr={})),new Map([...["abw"].map((t=>[t,Vr.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Vr.AUDIO])),...["avi"].map((t=>[t,Vr.AVI])),...["chm","xhs"].map((t=>[t,Vr.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Vr.CODE])),...["csv"].map((t=>[t,Vr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Vr.DITA])),...["epub"].map((t=>[t,Vr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Vr.EXCEL])),...["flac"].map((t=>[t,Vr.FLAC])),...["gif"].map((t=>[t,Vr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Vr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Vr.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Vr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Vr.JPEG])),...["json"].map((t=>[t,Vr.JSON])),...["m4a","m4p"].map((t=>[t,Vr.M4A])),...["mov","qt"].map((t=>[t,Vr.MOV])),...["mp3"].map((t=>[t,Vr.MP3])),...["mp4","m4v"].map((t=>[t,Vr.MP4])),...["ogg","oga"].map((t=>[t,Vr.OGG])),...["pdf","ps"].map((t=>[t,Vr.PDF])),...["png"].map((t=>[t,Vr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Vr.POWERPOINT])),...["rar"].map((t=>[t,Vr.RAR])),...["stp"].map((t=>[t,Vr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Vr.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Vr.VIDEO])),...["wav"].map((t=>[t,Vr.WAV])),...["wma"].map((t=>[t,Vr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Vr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Vr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Vr.YAML])),...["zip"].map((t=>[t,Vr.ZIP]))]);const Yr=Oo.create("--ft-icon-font-size","","SIZE","24px"),Jr=Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Xr=Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Qr=Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),ti=Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset"),oi=vt`
|
|
120
139
|
:host, i.ft-icon {
|
|
121
140
|
display: inline-flex;
|
|
122
141
|
align-items: center;
|
|
@@ -125,14 +144,14 @@ var ut,dt;let pt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
125
144
|
}
|
|
126
145
|
|
|
127
146
|
:host {
|
|
128
|
-
width: ${
|
|
129
|
-
height: ${
|
|
147
|
+
width: ${Yr};
|
|
148
|
+
height: ${Yr};
|
|
130
149
|
}
|
|
131
150
|
|
|
132
151
|
i.ft-icon {
|
|
133
152
|
width: 100%;
|
|
134
153
|
height: 100%;
|
|
135
|
-
font-size: ${
|
|
154
|
+
font-size: ${Yr};
|
|
136
155
|
line-height: 1;
|
|
137
156
|
font-weight: normal;
|
|
138
157
|
text-transform: none;
|
|
@@ -143,64 +162,58 @@ var ut,dt;let pt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
143
162
|
text-rendering: auto;
|
|
144
163
|
-webkit-font-smoothing: antialiased;
|
|
145
164
|
-moz-osx-font-smoothing: grayscale;
|
|
146
|
-
vertical-align: ${
|
|
165
|
+
vertical-align: ${ti};
|
|
147
166
|
}
|
|
148
167
|
|
|
149
168
|
i.ft-icon.ft-icon--fluid-topics {
|
|
150
|
-
font-family: ${
|
|
169
|
+
font-family: ${Jr}, ft-icons, fticons, sans-serif;
|
|
151
170
|
|
|
152
171
|
/* Ugly fix because font is broken */
|
|
153
|
-
font-size: calc(0.75 * ${
|
|
154
|
-
line-height: ${
|
|
172
|
+
font-size: calc(0.75 * ${Yr});
|
|
173
|
+
line-height: ${Yr};
|
|
155
174
|
position: relative;
|
|
156
175
|
top: -4%;
|
|
157
176
|
justify-content: center;
|
|
158
177
|
}
|
|
159
178
|
|
|
160
179
|
.ft-icon--file-format {
|
|
161
|
-
font-family: ${
|
|
180
|
+
font-family: ${Xr}, ft-mime, sans-serif;
|
|
162
181
|
}
|
|
163
182
|
|
|
164
183
|
.ft-icon--material {
|
|
165
|
-
font-family: ${
|
|
184
|
+
font-family: ${Qr}, "Material Icons", sans-serif;
|
|
166
185
|
}
|
|
167
|
-
`;var
|
|
186
|
+
`;var ei;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ei||(ei={}));var ri=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ii extends Wo{constructor(){super(...arguments),this.resolvedIcon=ro}render(){const t=this.variant&&Object.values(ei).includes(this.variant)?this.variant:ei.fluid_topics,o=t!==ei.material||!!this.value;return oo`
|
|
168
187
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
169
|
-
${
|
|
188
|
+
${Hr(this.resolvedIcon)}
|
|
170
189
|
<slot ?hidden=${o}></slot>
|
|
171
190
|
</i>
|
|
172
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
* Copyright 2017 Google LLC
|
|
176
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
177
|
-
*/
|
|
178
|
-
function(t,o){return(({finisher:t,descriptor:o})=>(e,r)=>{var n;if(void 0===r){const r=null!==(n=e.originalKey)&&void 0!==n?n:e.key,i=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(i.finisher=function(o){t(o,r)}),i}{const n=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(n,r)}})({descriptor:e=>{const r={get(){var o,e;return null!==(e=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(o){const o="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[o]&&(this[o]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[o]}}return r}})}("slot")],Qe.prototype,"slottedContent",void 0),f("ft-icon")(Qe);const tr=m`
|
|
179
|
-
`,or=m`
|
|
180
|
-
`,er=Se.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 rr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=er.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?rr.build(t):null!==(o=rr.API)&&void 0!==o?o:rr.API=rr.build()}static await(t){return new Promise((o=>{let e=rr.get(t);if(e)o(e);else{const r=er.subscribe((()=>{e=rr.get(t),e&&(r(),o(e))}))}}))}}var nr;const ir=Symbol("clearAfterUnitTest");class ar{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[nr]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=er.getState().uiLocale,er.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=er.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};l(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 Rt(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})))}}nr=ir,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new ar((async(t,o)=>(await rr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new ar((async(t,o)=>(await rr.await()).getCustomMessageContext(t,o))));const cr=window.FluidTopicsI18nService,sr=window.FluidTopicsCustomI18nService;var lr=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(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 Et{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=()=>rr.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return Y`
|
|
191
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case ei.file_format:this.resolvedIcon=null!==(t=Vr[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ei.material:this.resolvedIcon=this.value||ro;break;default:this.resolvedIcon=null!==(o=qr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ii.elementDefinitions={},ii.styles=oi,ri([U()],ii.prototype,"variant",void 0),ri([U()],ii.prototype,"value",void 0),ri([I()],ii.prototype,"resolvedIcon",void 0),ri([function(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return L(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return L(0,0,{get(){return n(this)}})}}("slot")],ii.prototype,"slottedContent",void 0),W("ft-icon")(ii);const ni=vt`
|
|
192
|
+
`,ai=vt`
|
|
193
|
+
`,si=Ir.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 ci{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=si.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?ci.build(t):null!==(o=ci.API)&&void 0!==o?o:ci.API=ci.build()}static await(t){return new Promise((o=>{let e=ci.get(t);if(e)o(e);else{const r=si.subscribe((()=>{e=ci.get(t),e&&(r(),o(e))}))}}))}}var li;const fi=Symbol("clearAfterUnitTest");class hi{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[li]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=si.getState().uiLocale,si.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=si.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};k(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Ko(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},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})))}}li=fi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new hi((async(t,o)=>(await ci.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new hi((async(t,o)=>(await ci.await()).getCustomMessageContext(t,o))));const ui=window.FluidTopicsI18nService,di=window.FluidTopicsCustomI18nService;var pi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yi extends Wo{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=()=>ci.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return oo`
|
|
181
194
|
<slot></slot>
|
|
182
|
-
`}update(t){super.update(t),t.has("baseUrl")&&
|
|
195
|
+
`}update(t){super.update(t),t.has("baseUrl")&&si.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&si.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&si.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&si.actions.setNoCustom(this.noCustom),t.has("editorMode")&&si.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&si.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&si.actions.setSession(this.session),t.has("availableUiLocales")&&si.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ui.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()))))}}yi.elementDefinitions={},yi.styles=ai,pi([U()],yi.prototype,"baseUrl",void 0),pi([U()],yi.prototype,"apiIntegrationIdentifier",void 0),pi([U()],yi.prototype,"uiLocale",void 0),pi([K([])],yi.prototype,"availableUiLocales",void 0),pi([U({type:Boolean})],yi.prototype,"editorMode",void 0),pi([U({type:Boolean})],yi.prototype,"noCustom",void 0),pi([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],yi.prototype,"noCustomComponent",void 0),pi([U({type:Boolean})],yi.prototype,"withManualResources",void 0),pi([K([])],yi.prototype,"messageContexts",void 0),pi([K(void 0)],yi.prototype,"session",void 0),pi([U({type:Object})],yi.prototype,"apiProvider",void 0);class bi{async listMySearches(){var t;return(null===(t=si.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await ci.await()).listMySearches(si.getState().session.profile.userId):[]}}const gi=new r;class mi{async listMyBookmarks(){return gi.get("bookmarks",(async()=>(await ci.await()).listMyBookmarks(si.getState().session.profile.userId)))}clearCache(){gi.clear("bookmarks")}}const vi=Ir.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=si.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new mi,si.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=si.getState();k(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(){vi.actions.savedSearches(void 0)}clearMyBookmarks(){vi.actions.bookmarks(void 0)}async reloadMySearches(){const t=new bi,o=await t.listMySearches();vi.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;vi.actions.bookmarks(o)}}},W("ft-app-context")(yi);var Oi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const xi=Symbol("i18nProperties"),wi=Symbol("i18nUnsubs");function Ni(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?di:ui}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o;null===(o=this[xi])||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[xi])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[xi]&&new Set([...this[xi].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[wi].has(t)||this[wi].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[wi].forEach((t=>t())),this[wi].clear()}}return o=wi,Oi([U({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Si extends(Ni(Wo)){}class Ci extends(Ni(Bo)){}var Ei=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ri extends Ci{constructor(){super(),this.editorMode=!1,this.addStore(si)}render(){return this.key&&this.context?oo`
|
|
183
196
|
<span class="ft-i18n">
|
|
184
197
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
185
198
|
</span>
|
|
186
|
-
`:this.editorMode?"Select a context and a label key.":
|
|
199
|
+
`:this.editorMode?"Select a context and a label key.":ro}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ri.elementDefinitions={},Ri.styles=ni,Ei([Lr()],Ri.prototype,"editorMode",void 0),Ei([U()],Ri.prototype,"context",void 0),Ei([U()],Ri.prototype,"key",void 0),Ei([K([])],Ri.prototype,"args",void 0),Ei([U()],Ri.prototype,"defaultMessage",void 0);class Ui{static build(t){return new Ui(t)}static fromGwt(t){return new Ui(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)=>ui.resolveMessage(this.name,o,...t)})}}W("ft-i18n")(Ri);const Ii=Ui.build("designedReaderTopicContent");var Li=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ki extends _r{constructor(){super(...arguments),this.contentPreprocessor=t=>t,this.onContentAvailable=()=>null}render(){var t,o;return this.map&&(this.error||this.content)?oo`
|
|
187
200
|
<style>
|
|
188
201
|
@import "${null===(t=this.map)||void 0===t?void 0:t.contentStyles.topicStylesheetUrl}";
|
|
189
202
|
</style>
|
|
190
203
|
<section class="topic" lang="${null===(o=this.map)||void 0===o?void 0:o.lang}">
|
|
191
204
|
${this.renderTopicContent()}
|
|
192
205
|
</section>
|
|
193
|
-
`:
|
|
206
|
+
`:oo`
|
|
194
207
|
<section class="topic-loading"></section>
|
|
195
|
-
`}update(t){super.update(t),(t.has("map")||t.has("tocNode"))&&this.updateContent()}updateContent(){var t;this.error=void 0,this.content=void 0,this.map&&this.tocNode&&(null===(t=this.service)||void 0===t||t.getTopicContent(this.tocNode).then((t=>this.content=t||'<div class="empty-topic"></div>')).catch((t=>this.error=t)))}contentAvailableCallback(t){var o,e,r,n,
|
|
208
|
+
`}update(t){super.update(t),(t.has("map")||t.has("tocNode"))&&this.updateContent()}updateContent(){var t;this.error=void 0,this.content=void 0,this.map&&this.tocNode&&(null===(t=this.service)||void 0===t||t.getTopicContent(this.tocNode).then((t=>this.content=t||'<div class="empty-topic"></div>')).catch((t=>this.error=t)))}contentAvailableCallback(t){var o,e,r,i,n,a,s;if(super.contentAvailableCallback(t),!this.disableContextInteractions&&(null===(o=this.scrollTarget)||void 0===o?void 0:o.section)&&(null===(e=this.tocNode)||void 0===e?void 0:e.tocId)&&(null===(r=this.tocNode)||void 0===r?void 0:r.tocId)===this.scrollTarget.tocId&&this.content){(null!==(n=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`[id="${this.scrollTarget.section}"], [name="${this.scrollTarget.section}"]`))&&void 0!==n?n:this).scrollIntoView({block:"start"}),null===(a=this.stateManager)||void 0===a||a.scrollDone()}const c=null===(s=this.shadowRoot)||void 0===s?void 0:s.querySelector("section.topic");c&&this.onContentAvailable(c,this.shadowRoot)}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}renderTopicContent(){var t,o,e,r;if(this.error)return oo`
|
|
196
209
|
<div class="topic-on-error">
|
|
197
210
|
<ft-icon>WARNING</ft-icon>
|
|
198
211
|
<div>
|
|
199
|
-
${this.is404Error()?
|
|
212
|
+
${this.is404Error()?Ii.messages.topicMissingAdvice():Ii.messages.somethingWentWrong()}
|
|
200
213
|
</div>
|
|
201
214
|
</div>
|
|
202
|
-
`;const
|
|
203
|
-
<div class="depth-${null===(e=this.tocNode)||void 0===e?void 0:e.depth} content-locale-${null===(r=this.map)||void 0===r?void 0:r.lang} ${
|
|
204
|
-
${null!=this.content?
|
|
215
|
+
`;const i=null!==(o=null===(t=this.map)||void 0===t?void 0:t.contentStyles.customCssClasses.join(" "))&&void 0!==o?o:"";return oo`
|
|
216
|
+
<div class="depth-${null===(e=this.tocNode)||void 0===e?void 0:e.depth} content-locale-${null===(r=this.map)||void 0===r?void 0:r.lang} ${i}">
|
|
217
|
+
${null!=this.content?Hr(`${this.contentPreprocessor(this.content)}`):ro}
|
|
205
218
|
</div>
|
|
206
|
-
`}is404Error(){return 404===this.error.status}}
|
|
219
|
+
`}is404Error(){return 404===this.error.status}}ki.styles=Ar,Li([Lr()],ki.prototype,"map",void 0),Li([Lr()],ki.prototype,"scrollTarget",void 0),Li([I()],ki.prototype,"content",void 0),Li([I()],ki.prototype,"error",void 0),Li([U({attribute:!1})],ki.prototype,"contentPreprocessor",void 0),Li([U({attribute:!1})],ki.prototype,"onContentAvailable",void 0),W("ft-reader-topic-content")(ki),t.FtReaderTopicContent=ki,t.FtReaderTopicContentCssVariables=Kr,t.styles=Ar}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-topic-content",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Content of a topic in integrated reader.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-chip": "1.0
|
|
23
|
-
"@fluid-topics/ft-i18n": "1.0
|
|
24
|
-
"@fluid-topics/ft-reader-context": "1.0
|
|
25
|
-
"@fluid-topics/ft-reader-topic-context": "1.0
|
|
26
|
-
"@fluid-topics/ft-tooltip": "1.0
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "1.0
|
|
22
|
+
"@fluid-topics/ft-chip": "1.1.0",
|
|
23
|
+
"@fluid-topics/ft-i18n": "1.1.0",
|
|
24
|
+
"@fluid-topics/ft-reader-context": "1.1.0",
|
|
25
|
+
"@fluid-topics/ft-reader-topic-context": "1.1.0",
|
|
26
|
+
"@fluid-topics/ft-tooltip": "1.1.0",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "1.1.0",
|
|
28
28
|
"@fluid-topics/public-api": "1.0.50",
|
|
29
|
-
"lit": "
|
|
29
|
+
"lit": "3.1.0"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "3f2a051fc84a0e27b942f311efee39954f6d2883"
|
|
32
32
|
}
|