@fluid-topics/ft-reader-toc 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.
@@ -1,67 +1,87 @@
1
1
  !function(t){
2
2
  /**
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
- * @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,i=new WeakMap,n=new WeakMap,a=new WeakMap,l=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,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 l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);d(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(a.set(i,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.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),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?u(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)}},d=(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)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){h(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 g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.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)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 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(_e){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{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}}
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,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=h(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.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 i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=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),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(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 i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=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 g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.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 i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i 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 i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(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=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(qi){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{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 i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!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
- * @license
20
- * Copyright 2017 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */const e=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(e){e.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(e){e.createProperty(o.key,t)}};function r(t){return(o,r)=>void 0!==r?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,r):e(t,o)
17
+ * @license
18
+ * Copyright 2019 Google LLC
19
+ * SPDX-License-Identifier: BSD-3-Clause
20
+ */const e=globalThis,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)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(i&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
23
21
  /**
24
- * @license
25
- * Copyright 2017 Google LLC
26
- * SPDX-License-Identifier: BSD-3-Clause
27
- */}function i(t){return r({...t,state:!0})}
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g: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}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let N=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=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...h(t),...f(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(s(t))}else void 0!==t&&o.push(s(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(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.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),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r: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){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
28
26
  /**
29
- * @license
30
- * Copyright 2017 Google LLC
31
- * SPDX-License-Identifier: BSD-3-Clause
32
- */const n=({finisher:t,descriptor:o})=>(e,r)=>{var i;if(void 0===r){const r=null!==(i=e.originalKey)&&void 0!==i?i:e.key,n=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(n.finisher=function(o){t(o,r)}),n}{const i=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(i,r)}}
27
+ * @license
28
+ * Copyright 2017 Google LLC
29
+ * SPDX-License-Identifier: BSD-3-Clause
30
+ */
31
+ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
33
32
  /**
34
- * @license
35
- * Copyright 2017 Google LLC
36
- * SPDX-License-Identifier: BSD-3-Clause
37
- */;function a(t,o){return n({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}})}
33
+ * @license
34
+ * Copyright 2017 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */}function $(t){return C({...t,state:!0,attribute:!1})}
38
37
  /**
39
- * @license
40
- * Copyright 2021 Google LLC
41
- * SPDX-License-Identifier: BSD-3-Clause
42
- */var l;const s=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,o)=>t.assignedElements(o):(t,o)=>t.assignedNodes(o).filter((t=>t.nodeType===Node.ELEMENT_NODE));function c(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(!c(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(!c(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(!c(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const p=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function f(t,o){const e=()=>JSON.parse(JSON.stringify(t));return r({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)=>!c(t,o),...null!=o?o:{}})}
38
+ * @license
39
+ * Copyright 2017 Google LLC
40
+ * SPDX-License-Identifier: BSD-3-Clause
41
+ */const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
43
42
  /**
44
- * @license
45
- * Copyright 2019 Google LLC
46
- * SPDX-License-Identifier: BSD-3-Clause
47
- */const d=window,h=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,u=Symbol(),y=new WeakMap;let g=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==u)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(h&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=y.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&y.set(o,t))}return t}toString(){return this.cssText}};const b=t=>new g("string"==typeof t?t:t+"",void 0,u),m=(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 g(e,t,u)},v=(t,o)=>{h?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=d.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))},x=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return b(o)})(t):t
43
+ * @license
44
+ * Copyright 2017 Google LLC
45
+ * SPDX-License-Identifier: BSD-3-Clause
46
+ */;function R(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return E(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 E(0,0,{get(){return n(this)}})}}
48
47
  /**
49
- * @license
50
- * Copyright 2017 Google LLC
51
- * SPDX-License-Identifier: BSD-3-Clause
52
- */;var O;const N=window,S=N.trustedTypes,w=S?S.emptyScript:"",C=N.reactiveElementPolyfillSupport,$={toAttribute(t,o){switch(o){case Boolean:t=t?w: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}},R=(t,o)=>o!==t&&(o==o||t==t),E={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:R};let I=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=E){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||E}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}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(x(t))}else void 0!==t&&o.push(x(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return v(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o,e=E){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const n=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:$).toAttribute(o,e.type);this._$El=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:$;this._$El=i,this[i]=n.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||R)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
48
+ * @license
49
+ * Copyright 2017 Google LLC
50
+ * SPDX-License-Identifier: BSD-3-Clause
51
+ */function U(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,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!U(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[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=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!U(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const k=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function I(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({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)=>!U(t,o),...null!=o?o:{}})}
53
52
  /**
54
- * @license
55
- * Copyright 2017 Google LLC
56
- * SPDX-License-Identifier: BSD-3-Clause
57
- */
58
- var k;I.finalized=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:I}),(null!==(O=N.reactiveElementVersions)&&void 0!==O?O:N.reactiveElementVersions=[]).push("1.6.1");const U=window,L=U.trustedTypes,W=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,F="?"+K,Z=`<${F}>`,B=document,A=()=>B.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,H=t=>M(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),j="[ \t\n\f\r]",P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,G=/>/g,_=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,Y=/"/g,X=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),q=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=B.createTreeWalker(B,129,null,!1),et=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=P;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,s=a.exec(e),null!==s);)p=a.lastIndex,a===P?"!--"===s[1]?a=T:void 0!==s[1]?a=G:void 0!==s[2]?(X.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=_):void 0!==s[3]&&(a=_):a===_?">"===s[0]?(a=null!=i?i:P,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?_:'"'===s[3]?Y:V):a===Y||a===V?a=_:a===T||a===G?a=P:(a=_,i=void 0);const f=a===_&&t[o+1].startsWith("/>")?" ":"";n+=a===P?e+Z:c>=0?(r.push(l),e.slice(0,c)+z+e.slice(c)+K+f):e+K+(-2===c?(r.push(void 0),o):f)}const l=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==W?W.createHTML(l):l,r]};class rt{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=et(t,o);if(this.el=rt.createElement(s,e),ot.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(z)||o.startsWith(K)){const e=c[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+z).split(K),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?st:"?"===o[1]?pt:"@"===o[1]?ft:lt})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(X.test(r.tagName)){const t=r.textContent.split(K),o=t.length-1;if(o>0){r.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],A()),ot.nextNode(),l.push({type:2,index:++i});r.append(t[o],A())}}}else if(8===r.nodeType)if(r.data===F)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(K,t+1));)l.push({type:7,index:i}),t+=K.length-1}i++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}}function it(t,o,e=t,r){var i,n,a,l;if(o===q)return o;let s=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=D(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(n=null==s?void 0:s._$AO)||void 0===n||n.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,e,r)),void 0!==r?(null!==(a=(l=e)._$Co)&&void 0!==a?a:l._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=it(t,s._$AS(t,o.values),s,r)),o}class nt{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,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:B).importNode(e,!0);ot.currentNode=i;let n=ot.nextNode(),a=0,l=0,s=r[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new at(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new dt(n,this,t)),this._$AV.push(o),s=r[++l]}a!==(null==s?void 0:s.index)&&(n=ot.nextNode(),a++)}return i}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++}}class at{constructor(t,o,e,r){var i;this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}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=it(this,t,o),D(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):H(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!==Q&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=rt.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new nt(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new rt(t)),o}T(t){M(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new at(this.k(A()),this.k(A()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$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))}}class lt{constructor(t,o,e,r,i){this.type=1,this._$AH=Q,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=Q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=it(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=it(this,r[e+a],o,a),l===q&&(l=this._$AH[a]),n||(n=!D(l)||l!==this._$AH[a]),l===Q?t=Q:t!==Q&&(t+=(null!=l?l:"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.j(t)}j(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class st extends lt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Q?void 0:t}}const ct=L?L.emptyScript:"";class pt extends lt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Q?this.element.setAttribute(this.name,ct):this.element.removeAttribute(this.name)}}class ft extends lt{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=it(this,t,o,0))&&void 0!==e?e:Q)===q)return;const r=this._$AH,i=t===Q&&r!==Q||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==Q&&(r===Q||i);i&&this.element.removeEventListener(this.name,this,r),n&&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)}}class dt{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){it(this,t)}}const ht={O:z,P:K,A:F,C:1,M:et,L:nt,D:H,R:it,I:at,V:lt,H:pt,N:ft,U:st,F:dt},ut=U.litHtmlPolyfillSupport;null==ut||ut(rt,at),(null!==(k=U.litHtmlVersions)&&void 0!==k?k:U.litHtmlVersions=[]).push("2.7.3");
53
+ * @license
54
+ * Copyright 2017 Google LLC
55
+ * SPDX-License-Identifier: BSD-3-Clause
56
+ */const L=globalThis,W=L.trustedTypes,z=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+F,A=`<${Z}>`,B=document,M=()=>B.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H=t=>P(t)||"function"==typeof t?.[Symbol.iterator],j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,V=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,X=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,et=B.createTreeWalker(B,129);function it(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(o):o}const rt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=T;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=V):void 0!==l[3]&&(a=V):a===V?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?V:'"'===l[3]?X:Y):a===X||a===Y?a=V:a===_||a===G?a=T:(a=V,r=void 0);const h=a===V&&t[o+1].startsWith("/>")?" ":"";n+=a===T?e+A:c>=0?(i.push(s),e.slice(0,c)+K+e.slice(c)+F+h):e+F+(-2===c?o:h)}return[it(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};let nt=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=rt(o,e);if(this.el=t.createElement(c,i),et.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=et.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(K)){const o=p[a++],e=r.getAttribute(t).split(F),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?pt:"?"===i[1]?ht:"@"===i[1]?ft:ct}),r.removeAttribute(t)}else t.startsWith(F)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(F),o=t.length-1;if(o>0){r.textContent=W?W.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),et.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function at(t,o,e=t,i){if(o===Q)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=D(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=at(t,r._$AS(t,o.values),r,i)),o}let st=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,i=(t?.creationScope??B).importNode(o,!0);et.currentNode=i;let r=et.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new dt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=et.nextNode(),n++)}return et.currentNode=B,i}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++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.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=at(this,t,o),D(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):H(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&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=nt.createElement(it(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new st(i,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 nt(t)),o}T(o){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$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))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,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,i){const r=this.strings;let n=!1;if(void 0===r)t=at(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=at(this,i[e+a],o,a),s===Q&&(s=this._$AH[a]),n||=!D(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ht=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ft=class extends ct{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=at(this,t,o,0)??tt)===Q)return;const e=this._$AH,i=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==tt&&(e===tt||i);i&&this.element.removeEventListener(this.name,this,e),r&&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)}},dt=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){at(this,t)}};const ut={j:K,P:F,A:Z,C:1,M:rt,L:st,R:H,V:at,D:lt,I:ct,H:ht,N:ft,U:pt,B:dt},yt=L.litHtmlPolyfillSupport;yt?.(nt,lt),(L.litHtmlVersions??=[]).push("3.1.0");
59
57
  /**
60
- * @license
61
- * Copyright 2017 Google LLC
62
- * SPDX-License-Identifier: BSD-3-Clause
63
- */
64
- var yt,gt;let bt=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,i;const n=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=n._$litPart$;if(void 0===a){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;n._$litPart$=a=new at(o.insertBefore(A(),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 q}};bt.finalized=!0,bt._$litElement$=!0,null===(yt=globalThis.litElementHydrateSupport)||void 0===yt||yt.call(globalThis,{LitElement:bt});const mt=globalThis.litElementPolyfillSupport;null==mt||mt({LitElement:bt}),(null!==(gt=globalThis.litElementVersions)&&void 0!==gt?gt:globalThis.litElementVersions=[]).push("3.3.2");const vt=t=>"string"==typeof t?b(t):t;class xt{static create(t,o,e,r){const i=t=>vt(null!=t?t:r),n=m`var(${vt(t)}, ${i(r)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>m`var(${vt(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=m`var(${vt(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=>m`var(${vt(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):vt(null!=o?o:t.lastResortDefaultValue()),r=m`var(${vt(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(${vt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Ot(t,o){return vt(`${t.name}: ${o}`)}const Nt={colorWhite:xt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xt.create("--ft-opacity-0","","NUMBER","0"),opacity8:xt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xt.create("--ft-opacity-80","","NUMBER","0.8")},St={display:{fontFamily:xt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},wt={backgroundActionPrimary:xt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Nt.colorBrand0),backgroundErrorPrimary:xt.extend("--ft-background-error-primary","Used as background of error components.",Nt.colorRed0),backgroundErrorSubtle:xt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Nt.colorRed10),backgroundInfoPrimary:xt.extend("--ft-background-info-primary","Used as background of information components.",Nt.colorCyan200),backgroundInfoSubtle:xt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Nt.colorCyan10),backgroundWarningPrimary:xt.extend("--ft-background-warning-primary","Used as background of warning components.",Nt.colorOrange300),backgroundWarningSubtle:xt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Nt.colorOrange10),backgroundSuccessPrimary:xt.extend("--ft-background-success-primary","Used as background of success components.",Nt.colorGreen200),backgroundSuccessSubtle:xt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Nt.colorGreen10),backgroundGlobalSurface:xt.extend("--ft-background-global-surface","Used as app background.",Nt.colorWhite),backgroundGlobalOnSurface:xt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Nt.colorGray10),backgroundGlobalOnSurfaceDark:xt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Nt.colorGray30),contentActionPrimary:xt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Nt.colorBrand0),contentWarningPrimary:xt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Nt.colorOrange300),contentWarningIconOnly:xt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Nt.colorOrange0),contentErrorPrimary:xt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Nt.colorRed0),contentErrorIconOnly:xt.extend("--ft-content-error-icon-only","Used on error status icons alone",Nt.colorRed0),contentInfoPrimary:xt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Nt.colorCyan200),contentInfoIconOnly:xt.extend("--ft-content-info-icon-only","Used on info status icons alone",Nt.colorCyan0),contentSuccessIconOnly:xt.extend("--ft-content-success-icon-only","Used on success status icons alone",Nt.colorGreen0),contentSuccessPrimary:xt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Nt.colorGreen200),contentGlobalPrimary:xt.extend("--ft-content-global-primary","Used for main content on the page.",Nt.colorGray500),contentGlobalSecondary:xt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Nt.colorGray200),contentGlobalSubtle:xt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Nt.colorGray0),contentGlobalOnColor:xt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Nt.colorWhite),borderActionPrimary:xt.extend("--ft-border-action-primary","Used as border for primary action components.",Nt.colorBrand0),borderActionFocusRing:xt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Nt.colorCyan0),borderWarningPrimary:xt.extend("--ft-border-warning-primary","Used as border for warning components.",Nt.colorOrange30),borderSuccessPrimary:xt.extend("--ft-border-success-primary","Used as border for success components.",Nt.colorGreen30),borderErrorPrimary:xt.extend("--ft-border-error-primary","Used as border for error components.",Nt.colorRed30),borderInfoPrimary:xt.extend("--ft-border-info-primary","Used as border for information components.",Nt.colorCyan30),borderGlobalSubtle:xt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Nt.colorGray30),borderGlobalPrimary:xt.extend("--ft-border-global-primary","Used as border for element like input.",Nt.colorGray50),borderInputPrimary:xt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Nt.colorGray80)},Ct={largeHeight:xt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xt.extend("--ft-button-large-horizontal-padding","",Nt.spacing4),largeGap:xt.extend("--ft-button-large-gap","",Nt.spacing2),largeBorderRadius:xt.extend("--ft-button-large-border-radius","",Nt.borderRadiusS),largeIconSize:xt.extend("--ft-button-large-icon-size","",Nt.iconSize3),largeBorderWidth:xt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xt.extend("--ft-button-small-horizontal-padding","",Nt.spacing3),smallGap:xt.extend("--ft-button-small-gap","",Nt.spacing2),smallBorderRadius:xt.extend("--ft-button-small-border-radius","",Nt.borderRadiusS),smallIconSize:xt.extend("--ft-button-small-icon-size","",Nt.iconSize2),smallBorderWidth:xt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xt.extend("--ft-button-primary-background-color","",wt.backgroundActionPrimary),primaryColor:xt.extend("--ft-button-primary-color","",wt.contentGlobalOnColor),primaryIconColor:xt.extend("--ft-button-primary-icon-color","",wt.contentGlobalOnColor),primaryStateLayerColor:xt.extend("--ft-button-primary-state-layer-color","",wt.contentGlobalOnColor),primaryStateLayerOpacityHover:xt.extend("--ft-button-primary-state-layer-opacity-hover","",Nt.opacity16),primaryStateLayerOpacityFocus:xt.extend("--ft-button-primary-state-layer-opacity-focus","",Nt.opacity16),primaryStateLayerOpacityActive:xt.extend("--ft-button-primary-state-layer-opacity-active","",Nt.opacity24),primaryComponentOpacityDisabled:xt.extend("--ft-button-primary-component-opacity-disabled","",Nt.opacity40),focusFocusRingColor:xt.extend("--ft-button-focus-focus-ring-color","",wt.borderActionFocusRing),tertiaryBackgroundColor:xt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xt.extend("--ft-button-tertiary-color","",wt.contentActionPrimary),tertiaryIconColor:xt.extend("--ft-button-tertiary-icon-color","",wt.contentActionPrimary),tertiaryStateLayerColor:xt.extend("--ft-button-tertiary-state-layer-color","",wt.contentActionPrimary),tertiaryStateLayerOpacityHover:xt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Nt.opacity8),tertiaryStateLayerOpacityFocus:xt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Nt.opacity8),tertiaryStateLayerOpacityActive:xt.extend("--ft-button-tertiary-state-layer-opacity-active","",Nt.opacity16),tertiaryComponentOpacityDisabled:xt.extend("--ft-button-tertiary-component-opacity-disabled","",Nt.opacity40),secondaryBackgroundColor:xt.extend("--ft-button-secondary-background-color","",Nt.colorWhite),secondaryColor:xt.extend("--ft-button-secondary-color","",wt.contentActionPrimary),secondaryIconColor:xt.extend("--ft-button-secondary-icon-color","",wt.contentActionPrimary),secondaryStateLayerColor:xt.extend("--ft-button-secondary-state-layer-color","",wt.contentActionPrimary),secondaryStateLayerOpacityHover:xt.extend("--ft-button-secondary-state-layer-opacity-hover","",Nt.opacity8),secondaryStateLayerOpacityFocus:xt.extend("--ft-button-secondary-state-layer-opacity-focus","",Nt.opacity8),secondaryStateLayerOpacityActive:xt.extend("--ft-button-secondary-state-layer-opacity-active","",Nt.opacity16),secondaryComponentOpacityDisabled:xt.extend("--ft-button-secondary-component-opacity-disabled","",Nt.opacity40),secondaryBorderColor:xt.extend("--ft-button-secondary-border-color","",wt.borderActionPrimary),neutralBackgroundColor:xt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xt.extend("--ft-button-neutral-icon-color","",wt.contentGlobalSecondary),neutralColor:xt.extend("--ft-button-neutral-color","",wt.contentGlobalSecondary),neutralStateLayerColor:xt.extend("--ft-button-neutral-state-layer-color","",wt.contentGlobalSecondary),neutralStateLayerOpacityHover:xt.extend("--ft-button-neutral-state-layer-opacity-hover","",Nt.opacity8),neutralStateLayerOpacityFocus:xt.extend("--ft-button-neutral-state-layer-opacity-focus","",Nt.opacity8),neutralStateLayerOpacityActive:xt.extend("--ft-button-neutral-state-layer-opacity-active","",Nt.opacity16),neutralComponentOpacityDisabled:xt.extend("--ft-button-neutral-component-opacity-disabled","",Nt.opacity40)};xt.extend("--ft-tabs-top-left-border-radius","",Nt.borderRadiusS),xt.extend("--ft-tabs-top-right-border-radius","",Nt.borderRadiusS),xt.extend("--ft-tabs-label-horizontal-padding","",Nt.spacing4),xt.extend("--ft-tabs-label-vertical-padding","",Nt.spacing3),xt.extend("--ft-tabs-label-gap","",Nt.spacing1),xt.extend("--ft-switch-group-horizontal-padding","",Nt.spacing1),xt.extend("--ft-switch-group-vertical-padding","",Nt.spacing1),xt.extend("--ft-switch-group-gap","",Nt.spacing1),xt.extend("--ft-switch-group-background-color","",wt.backgroundGlobalSurface),xt.extend("--ft-switch-group-border-color","",wt.borderGlobalSubtle),xt.create("--ft-switch-group-border-radius","","SIZE","6px"),xt.extend("--ft-switch-label-horizontal-padding","",Nt.spacing2),xt.extend("--ft-switch-label-vertical-padding","",Nt.spacing1),xt.extend("--ft-switch-icon-horizontal-padding","",Nt.spacing1),xt.extend("--ft-switch-icon-vertical-padding","",Nt.spacing1),xt.create("--ft-switch-focus-outline-width","","SIZE","2px"),xt.extend("--ft-switch-focus-focus-ring-color","",wt.borderActionFocusRing),xt.extend("--ft-switch-option-border-radius","",Nt.borderRadiusS),xt.extend("--ft-switch-off-state-layer-opacity-hover","",Nt.opacity8),xt.extend("--ft-switch-off-state-layer-opacity-focus","",Nt.opacity8),xt.extend("--ft-switch-off-state-layer-opacity-active","",Nt.opacity16),xt.extend("--ft-switch-off-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-switch-off-color","",wt.contentGlobalSubtle),xt.extend("--ft-switch-off-state-layer-color","",wt.contentGlobalSubtle),xt.extend("--ft-chart-1-light","for area color charts",Nt.colorBrand40),xt.extend("--ft-chart-1-base","for line charts",Nt.colorBrand0),xt.extend("--ft-chart-2-light","for area color charts",Nt.colorYellow60),xt.extend("--ft-chart-2-base","for line charts",Nt.colorYellow100),xt.extend("--ft-chart-3-light","",Nt.colorUltramarine40),xt.extend("--ft-chart-3-base","",Nt.colorUltramarine70),xt.extend("--ft-chart-4-light","",Nt.colorCyan50),xt.extend("--ft-chart-4-base","",Nt.colorCyan100),xt.extend("--ft-chart-5-light","",Nt.colorRed40),xt.extend("--ft-chart-5-base","",Nt.colorRed60),xt.extend("--ft-chart-6-light","",Nt.colorGreen40),xt.extend("--ft-chart-6-base","",Nt.colorGreen70),xt.extend("--ft-chart-7-light","",Nt.colorOrange70),xt.extend("--ft-chart-7-base","",Nt.colorOrange100),xt.extend("--ft-chart-8-light","",Nt.colorAvocado70),xt.extend("--ft-chart-8-base","",Nt.colorAvocado200),xt.extend("--ft-chart-9-light","",Nt.colorBrown50),xt.extend("--ft-chart-9-base","",Nt.colorBrown200),xt.extend("--ft-chart-10-light","",Nt.colorGray50),xt.extend("--ft-chart-10-base","",Nt.colorGray80),xt.extend("--ft-chart-monochrome-10","",Nt.colorBrand10),xt.extend("--ft-chart-monochrome-20","",Nt.colorBrand20),xt.extend("--ft-chart-monochrome-30","",Nt.colorBrand40),xt.extend("--ft-chart-monochrome-40","",Nt.colorBrand60),xt.extend("--ft-chart-monochrome-50","",Nt.colorBrand0),xt.extend("--ft-chart-monochrome-60","",Nt.colorBrand200),xt.extend("--ft-chip-large-horizontal-padding","",Nt.spacing4),xt.extend("--ft-chip-large-vertical-padding","",Nt.spacing2),xt.extend("--ft-chip-large-gap","",Nt.spacing1),xt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xt.extend("--ft-chip-large-border-radius","",Nt.borderRadiusPill),xt.create("--ft-chip-large-border-width","","SIZE","1px"),xt.extend("--ft-chip-large-icon-size","",Nt.iconSize3),xt.extend("--ft-chip-medium-horizontal-padding","",Nt.spacing3),xt.extend("--ft-chip-medium-vertical-padding","",Nt.spacing1),xt.extend("--ft-chip-medium-gap","",Nt.spacing1),xt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xt.extend("--ft-chip-medium-border-radius","",Nt.borderRadiusPill),xt.create("--ft-chip-medium-border-width","","SIZE","1px"),xt.extend("--ft-chip-medium-icon-size","",Nt.iconSize2),xt.extend("--ft-chip-small-horizontal-padding","",Nt.spacing2),xt.extend("--ft-chip-small-vertical-padding","",Nt.spacing05),xt.extend("--ft-chip-small-gap","",Nt.spacing1),xt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xt.extend("--ft-chip-small-border-radius","",Nt.borderRadiusPill),xt.create("--ft-chip-small-border-width","","SIZE","1px"),xt.extend("--ft-chip-small-icon-size","",Nt.iconSize1),xt.extend("--ft-chip-neutral-background-color","",wt.backgroundGlobalOnSurface),xt.extend("--ft-chip-neutral-color","",wt.contentGlobalPrimary),xt.extend("--ft-chip-neutral-border-color","",wt.borderGlobalSubtle),xt.extend("--ft-chip-info-background-color","",wt.backgroundInfoSubtle),xt.extend("--ft-chip-info-color","",wt.contentInfoPrimary),xt.extend("--ft-chip-info-border-color","",wt.borderInfoPrimary),xt.extend("--ft-chip-success-background-color","",wt.backgroundSuccessSubtle),xt.extend("--ft-chip-success-color","",wt.contentSuccessPrimary),xt.extend("--ft-chip-success-border-color","",wt.borderSuccessPrimary),xt.extend("--ft-chip-warning-background-color","",wt.backgroundWarningSubtle),xt.extend("--ft-chip-warning-color","",wt.contentWarningPrimary),xt.extend("--ft-chip-warning-border-color","",wt.borderWarningPrimary),xt.extend("--ft-chip-error-background-color","",wt.backgroundErrorSubtle),xt.extend("--ft-chip-error-color","",wt.contentErrorPrimary),xt.extend("--ft-chip-error-border-color","",wt.borderErrorPrimary),xt.create("--ft-notice-border-width","","SIZE","1px"),xt.extend("--ft-notice-horizontal-padding","",Nt.spacing2),xt.extend("--ft-notice-vertical-padding","",Nt.spacing1),xt.extend("--ft-notice-border-radius","",Nt.borderRadiusS),xt.extend("--ft-notice-gap","",Nt.spacing2),xt.extend("--ft-notice-icon-size","",Nt.iconSize3),xt.extend("--ft-notice-info-background-color","",wt.backgroundInfoSubtle),xt.extend("--ft-notice-info-border-color","",wt.borderInfoPrimary),xt.extend("--ft-notice-info-color","",wt.contentInfoPrimary),xt.extend("--ft-notice-warning-background-color","",wt.backgroundWarningSubtle),xt.extend("--ft-notice-warning-border-color","",wt.borderWarningPrimary),xt.extend("--ft-notice-warning-color","",wt.contentWarningPrimary),xt.extend("--ft-checkbox-label-color","",wt.contentGlobalPrimary),xt.extend("--ft-checkbox-checked-background-color","",wt.contentActionPrimary),xt.extend("--ft-checkbox-checked-state-layer-color","",wt.contentActionPrimary),xt.extend("--ft-checkbox-checked-color","",wt.contentGlobalOnColor),xt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-checkbox-checked-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-checkbox-unchecked-border-color","",Nt.colorGray80),xt.extend("--ft-checkbox-unchecked-state-layer-color","",Nt.colorGray80),xt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-checkbox-focus-focus-ring-color","",wt.borderActionFocusRing),xt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xt.extend("--ft-checkbox-gap","",Nt.spacing3),xt.extend("--ft-toggle-off-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-toggle-off-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-toggle-off-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-toggle-off-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-toggle-off-background-color","",wt.contentGlobalSubtle),xt.extend("--ft-toggle-off-icon-color","",wt.contentGlobalSubtle),xt.extend("--ft-toggle-off-state-layer-color","",wt.contentGlobalSubtle),xt.extend("--ft-toggle-on-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-toggle-on-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-toggle-on-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-toggle-on-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-toggle-on-background-color","",wt.contentActionPrimary),xt.extend("--ft-toggle-on-icon-color","",wt.contentActionPrimary),xt.extend("--ft-toggle-on-state-layer-color","",wt.contentActionPrimary),xt.extend("--ft-toggle-label-color","",wt.contentGlobalPrimary),xt.extend("--ft-toggle-focus-focus-ring-color","",wt.borderActionFocusRing),xt.extend("--ft-toggle-gap","",Nt.spacing3),xt.extend("--ft-radio-label-color","",wt.contentGlobalPrimary),xt.extend("--ft-radio-selected-color","",wt.contentActionPrimary),xt.extend("--ft-radio-selected-state-layer-color","",wt.contentActionPrimary),xt.extend("--ft-radio-selected-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-radio-selected-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-radio-selected-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-radio-selected-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-radio-unselected-state-layer-color","",Nt.colorGray80),xt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Nt.opacity16),xt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Nt.opacity16),xt.extend("--ft-radio-unselected-state-layer-opacity-active","",Nt.opacity24),xt.extend("--ft-radio-unselected-component-opacity-disabled","",Nt.opacity40),xt.extend("--ft-radio-focus-focus-ring-color","",wt.borderActionFocusRing),xt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xt.create("--ft-radio-focus-outline-width","","SIZE","2px"),xt.extend("--ft-radio-gap","",Nt.spacing3),xt.extend("--ft-notification-icon-size","",Nt.iconSize4),xt.extend("--ft-notification-horizontal-padding","",Nt.spacing4),xt.extend("--ft-notification-vertical-padding","",Nt.spacing4),xt.extend("--ft-notification-info-background-color","",wt.backgroundInfoSubtle),xt.extend("--ft-notification-info-color","",wt.contentInfoPrimary),xt.extend("--ft-notification-info-border-color","",wt.borderInfoPrimary),xt.extend("--ft-notification-success-background-color","",wt.backgroundSuccessSubtle),xt.extend("--ft-notification-success-color","",wt.contentSuccessPrimary),xt.extend("--ft-notification-success-border-color","",wt.borderSuccessPrimary),xt.extend("--ft-notification-warning-background-color","",wt.backgroundWarningSubtle),xt.extend("--ft-notification-warning-color","",wt.contentWarningPrimary),xt.extend("--ft-notification-warning-border-color","",wt.borderWarningPrimary),xt.extend("--ft-notification-error-background-color","",wt.backgroundErrorSubtle),xt.extend("--ft-notification-error-color","",wt.contentErrorPrimary),xt.extend("--ft-notification-error-border-color","",wt.borderErrorPrimary),xt.extend("--ft-notification-border-radius","",Nt.borderRadiusPill),xt.create("--ft-notification-border-width","","SIZE","1px"),xt.extend("--ft-notification-gap-leading","",Nt.spacing2),xt.extend("--ft-notification-gap-trailing","",Nt.spacing8);const $t={colorPrimary:xt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Rt extends bt{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 Et,It=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 kt=Symbol("constructorPrototype"),Ut=Symbol("constructorName"),Lt=Symbol("exportpartsDebouncer");class Wt extends Rt{constructor(){super(),this[Et]=new o(5),this[Ut]=this.constructor.name,this[kt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ut]&&Object.setPrototypeOf(this,this[kt])}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[Lt].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 l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=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(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Et=Lt,It([r()],Wt.prototype,"exportpartsPrefix",void 0),It([f([])],Wt.prototype,"exportpartsPrefixes",void 0),It([r()],Wt.prototype,"customStylesheet",void 0);const zt=m`
58
+ * @license
59
+ * Copyright 2019 Google LLC
60
+ * SPDX-License-Identifier: BSD-3-Clause
61
+ */
62
+ const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),xt=new WeakMap;let vt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==mt)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(bt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=xt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&xt.set(o,t))}return t}toString(){return this.cssText}};const Ot=t=>new vt("string"==typeof t?t:t+"",void 0,mt),Nt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>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[i+1]),t[0]);return new vt(e,t,mt)},St=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Ot(o)})(t):t
63
+ /**
64
+ * @license
65
+ * Copyright 2017 Google LLC
66
+ * SPDX-License-Identifier: BSD-3-Clause
67
+ */,{is:wt,defineProperty:Ct,getOwnPropertyDescriptor:$t,getOwnPropertyNames:Et,getOwnPropertySymbols:Rt,getPrototypeOf:Ut}=Object,kt=globalThis,It=kt.trustedTypes,Lt=It?It.emptyScript:"",Wt=kt.reactiveElementPolyfillSupport,zt=(t,o)=>t,Kt={toAttribute(t,o){switch(o){case Boolean:t=t?Lt: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}},Ft=(t,o)=>!wt(t,o),Zt={attribute:!0,type:String,converter:Kt,reflect:!1,hasChanged:Ft};Symbol.metadata??=Symbol("metadata"),kt.litPropertyMetadata??=new WeakMap;class At 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=Zt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&Ct(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=$t(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Zt}static _$Ei(){if(this.hasOwnProperty(zt("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(zt("properties"))){const t=this.properties,o=[...Et(t),...Rt(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(St(t))}else void 0!==t&&o.push(St(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(bt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=gt.litNonce;void 0!==i&&o.setAttribute("nonce",i),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),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:Kt).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Kt;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Ft)(i?r: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){}}At.elementStyles=[],At.shadowRootOptions={mode:"open"},At[zt("elementProperties")]=new Map,At[zt("finalized")]=new Map,Wt?.({ReactiveElement:At}),(kt.reactiveElementVersions??=[]).push("2.0.2");
68
+ /**
69
+ * @license
70
+ * Copyright 2017 Google LLC
71
+ * SPDX-License-Identifier: BSD-3-Clause
72
+ */
73
+ const Bt=globalThis,Mt=Bt.trustedTypes,Dt=Mt?Mt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Ht,Tt=`<${jt}>`,_t=document,Gt=()=>_t.createComment(""),Vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,Xt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qt=/-->/g,Qt=/>/g,to=RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oo=/'/g,eo=/"/g,io=/^(?:script|style|textarea|title)$/i,ro=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),no=Symbol.for("lit-noChange"),ao=Symbol.for("lit-nothing"),so=new WeakMap,lo=_t.createTreeWalker(_t,129);function co(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Dt?Dt.createHTML(o):o}const po=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Jt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===Jt?"!--"===l[1]?a=qt:void 0!==l[1]?a=Qt:void 0!==l[2]?(io.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=to):void 0!==l[3]&&(a=to):a===to?">"===l[0]?(a=r??Jt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?to:'"'===l[3]?eo:oo):a===eo||a===oo?a=to:a===qt||a===Qt?a=Jt:(a=to,r=void 0);const h=a===to&&t[o+1].startsWith("/>")?" ":"";n+=a===Jt?e+Tt:c>=0?(i.push(s),e.slice(0,c)+Pt+e.slice(c)+Ht+h):e+Ht+(-2===c?o:h)}return[co(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class ho{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=po(t,o);if(this.el=ho.createElement(l,e),lo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=lo.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Pt)){const o=c[n++],e=i.getAttribute(t).split(Ht),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?go:"?"===a[1]?bo:"@"===a[1]?mo:yo}),i.removeAttribute(t)}else t.startsWith(Ht)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(io.test(i.tagName)){const t=i.textContent.split(Ht),o=t.length-1;if(o>0){i.textContent=Mt?Mt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Gt()),lo.nextNode(),s.push({type:2,index:++r});i.append(t[o],Gt())}}}else if(8===i.nodeType)if(i.data===jt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Ht,t+1));)s.push({type:7,index:r}),t+=Ht.length-1}r++}}static createElement(t,o){const e=_t.createElement("template");return e.innerHTML=t,e}}function fo(t,o,e=t,i){if(o===no)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Vt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=fo(t,r._$AS(t,o.values),r,i)),o}class uo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=ao,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.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=fo(this,t,o),Vt(t)?t===ao||null==t||""===t?(this._$AH!==ao&&this._$AR(),this._$AH=ao):t!==this._$AH&&t!==no&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Yt(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!==ao&&Vt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=ho.createElement(co(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)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,i=(t?.creationScope??_t).importNode(o,!0);lo.currentNode=i;let r=lo.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new uo(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new xo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=lo.nextNode(),n++)}return lo.currentNode=_t,i}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++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=so.get(t.strings);return void 0===o&&so.set(t.strings,o=new ho(t)),o}T(t){Yt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new uo(this.k(Gt()),this.k(Gt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.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))}}class yo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=ao,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ao}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=fo(this,t,o,0),n=!Vt(t)||t!==this._$AH&&t!==no,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=fo(this,i[e+a],o,a),s===no&&(s=this._$AH[a]),n||=!Vt(s)||s!==this._$AH[a],s===ao?t=ao:t!==ao&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ao?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class go extends yo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ao?void 0:t}}class bo extends yo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ao)}}class mo extends yo{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=fo(this,t,o,0)??ao)===no)return;const e=this._$AH,i=t===ao&&e!==ao||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==ao&&(e===ao||i);i&&this.element.removeEventListener(this.name,this,e),r&&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)}}class xo{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){fo(this,t)}}const vo=Bt.litHtmlPolyfillSupport;vo?.(ho,uo),(Bt.litHtmlVersions??=[]).push("3.1.0");
74
+ /**
75
+ * @license
76
+ * Copyright 2017 Google LLC
77
+ * SPDX-License-Identifier: BSD-3-Clause
78
+ */
79
+ let Oo=class extends At{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 i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new uo(o.insertBefore(Gt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return no}};Oo._$litElement$=!0,Oo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oo});const No=globalThis.litElementPolyfillSupport;No?.({LitElement:Oo}),(globalThis.litElementVersions??=[]).push("4.0.2");const So=t=>"string"==typeof t?Ot(t):t;class wo{static create(t,o,e,i){const r=t=>So(null!=t?t:i),n=Nt`var(${So(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>Nt`var(${So(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=Nt`var(${So(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>Nt`var(${So(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):So(null!=o?o:t.lastResortDefaultValue()),i=Nt`var(${So(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>Nt`var(${So(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Co(t,o){return So(`${t.name}: ${o}`)}const $o={colorWhite:wo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:wo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:wo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:wo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:wo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:wo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:wo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:wo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:wo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:wo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:wo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:wo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:wo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:wo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:wo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:wo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:wo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:wo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:wo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:wo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:wo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:wo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:wo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:wo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:wo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:wo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:wo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:wo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:wo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:wo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:wo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:wo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:wo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:wo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:wo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:wo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:wo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:wo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:wo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:wo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:wo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:wo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:wo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:wo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:wo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:wo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:wo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:wo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:wo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:wo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:wo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:wo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:wo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:wo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:wo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:wo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:wo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:wo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:wo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:wo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:wo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:wo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:wo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:wo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:wo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:wo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:wo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:wo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:wo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:wo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:wo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:wo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:wo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:wo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:wo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:wo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:wo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:wo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:wo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:wo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:wo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:wo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:wo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:wo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:wo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:wo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:wo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:wo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:wo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:wo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:wo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:wo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:wo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:wo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:wo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:wo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:wo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:wo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:wo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:wo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:wo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:wo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:wo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:wo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:wo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:wo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:wo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:wo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:wo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:wo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:wo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:wo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:wo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:wo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:wo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:wo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:wo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:wo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:wo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:wo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:wo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:wo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:wo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:wo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:wo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:wo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:wo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:wo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:wo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:wo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:wo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:wo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:wo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:wo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:wo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:wo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:wo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:wo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:wo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:wo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:wo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:wo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:wo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:wo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:wo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:wo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:wo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:wo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:wo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:wo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:wo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:wo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:wo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:wo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:wo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:wo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:wo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:wo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:wo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:wo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:wo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:wo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:wo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:wo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:wo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:wo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:wo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:wo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:wo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:wo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:wo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:wo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:wo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:wo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:wo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:wo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:wo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:wo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:wo.create("--ft-opacity-0","","NUMBER","0"),opacity8:wo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:wo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:wo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:wo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:wo.create("--ft-opacity-80","","NUMBER","0.8")},Eo={display:{fontFamily:wo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:wo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:wo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:wo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:wo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:wo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:wo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:wo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:wo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:wo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:wo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:wo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:wo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:wo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:wo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:wo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:wo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:wo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:wo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:wo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:wo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:wo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:wo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:wo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:wo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:wo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:wo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:wo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:wo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ro={backgroundActionPrimary:wo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$o.colorBrand0),backgroundErrorPrimary:wo.extend("--ft-background-error-primary","Used as background of error components.",$o.colorRed0),backgroundErrorSubtle:wo.extend("--ft-background-error-subtle","Used as background of subtle error components.",$o.colorRed10),backgroundInfoPrimary:wo.extend("--ft-background-info-primary","Used as background of information components.",$o.colorCyan200),backgroundInfoSubtle:wo.extend("--ft-background-info-subtle","Used as background of subtle information components.",$o.colorCyan10),backgroundWarningPrimary:wo.extend("--ft-background-warning-primary","Used as background of warning components.",$o.colorOrange300),backgroundWarningSubtle:wo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$o.colorOrange10),backgroundSuccessPrimary:wo.extend("--ft-background-success-primary","Used as background of success components.",$o.colorGreen200),backgroundSuccessSubtle:wo.extend("--ft-background-success-subtle","Used as background of subtle success components.",$o.colorGreen10),backgroundGlobalSurface:wo.extend("--ft-background-global-surface","Used as app background.",$o.colorWhite),backgroundGlobalOnSurface:wo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$o.colorGray10),backgroundGlobalOnSurfaceDark:wo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$o.colorGray30),contentActionPrimary:wo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$o.colorBrand0),contentWarningPrimary:wo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$o.colorOrange300),contentWarningIconOnly:wo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$o.colorOrange0),contentErrorPrimary:wo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$o.colorRed0),contentErrorIconOnly:wo.extend("--ft-content-error-icon-only","Used on error status icons alone",$o.colorRed0),contentInfoPrimary:wo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$o.colorCyan200),contentInfoIconOnly:wo.extend("--ft-content-info-icon-only","Used on info status icons alone",$o.colorCyan0),contentSuccessIconOnly:wo.extend("--ft-content-success-icon-only","Used on success status icons alone",$o.colorGreen0),contentSuccessPrimary:wo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$o.colorGreen200),contentGlobalPrimary:wo.extend("--ft-content-global-primary","Used for main content on the page.",$o.colorGray500),contentGlobalSecondary:wo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$o.colorGray200),contentGlobalSubtle:wo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$o.colorGray0),contentGlobalOnColor:wo.extend("--ft-content-global-on-color","Used for content on a dominant color.",$o.colorWhite),borderActionPrimary:wo.extend("--ft-border-action-primary","Used as border for primary action components.",$o.colorBrand0),borderActionFocusRing:wo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$o.colorCyan0),borderWarningPrimary:wo.extend("--ft-border-warning-primary","Used as border for warning components.",$o.colorOrange30),borderSuccessPrimary:wo.extend("--ft-border-success-primary","Used as border for success components.",$o.colorGreen30),borderErrorPrimary:wo.extend("--ft-border-error-primary","Used as border for error components.",$o.colorRed30),borderInfoPrimary:wo.extend("--ft-border-info-primary","Used as border for information components.",$o.colorCyan30),borderGlobalSubtle:wo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$o.colorGray30),borderGlobalPrimary:wo.extend("--ft-border-global-primary","Used as border for element like input.",$o.colorGray50),borderInputPrimary:wo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$o.colorGray80)},Uo={largeHeight:wo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:wo.extend("--ft-button-large-horizontal-padding","",$o.spacing4),largeGap:wo.extend("--ft-button-large-gap","",$o.spacing2),largeBorderRadius:wo.extend("--ft-button-large-border-radius","",$o.borderRadiusS),largeIconSize:wo.extend("--ft-button-large-icon-size","",$o.iconSize3),largeBorderWidth:wo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:wo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:wo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:wo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:wo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:wo.extend("--ft-button-small-horizontal-padding","",$o.spacing3),smallGap:wo.extend("--ft-button-small-gap","",$o.spacing2),smallBorderRadius:wo.extend("--ft-button-small-border-radius","",$o.borderRadiusS),smallIconSize:wo.extend("--ft-button-small-icon-size","",$o.iconSize2),smallBorderWidth:wo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:wo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:wo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:wo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:wo.extend("--ft-button-primary-background-color","",Ro.backgroundActionPrimary),primaryColor:wo.extend("--ft-button-primary-color","",Ro.contentGlobalOnColor),primaryIconColor:wo.extend("--ft-button-primary-icon-color","",Ro.contentGlobalOnColor),primaryStateLayerColor:wo.extend("--ft-button-primary-state-layer-color","",Ro.contentGlobalOnColor),primaryStateLayerOpacityHover:wo.extend("--ft-button-primary-state-layer-opacity-hover","",$o.opacity16),primaryStateLayerOpacityFocus:wo.extend("--ft-button-primary-state-layer-opacity-focus","",$o.opacity16),primaryStateLayerOpacityActive:wo.extend("--ft-button-primary-state-layer-opacity-active","",$o.opacity24),primaryComponentOpacityDisabled:wo.extend("--ft-button-primary-component-opacity-disabled","",$o.opacity40),focusFocusRingColor:wo.extend("--ft-button-focus-focus-ring-color","",Ro.borderActionFocusRing),tertiaryBackgroundColor:wo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:wo.extend("--ft-button-tertiary-color","",Ro.contentActionPrimary),tertiaryIconColor:wo.extend("--ft-button-tertiary-icon-color","",Ro.contentActionPrimary),tertiaryStateLayerColor:wo.extend("--ft-button-tertiary-state-layer-color","",Ro.contentActionPrimary),tertiaryStateLayerOpacityHover:wo.extend("--ft-button-tertiary-state-layer-opacity-hover","",$o.opacity8),tertiaryStateLayerOpacityFocus:wo.extend("--ft-button-tertiary-state-layer-opacity-focus","",$o.opacity8),tertiaryStateLayerOpacityActive:wo.extend("--ft-button-tertiary-state-layer-opacity-active","",$o.opacity16),tertiaryComponentOpacityDisabled:wo.extend("--ft-button-tertiary-component-opacity-disabled","",$o.opacity40),secondaryBackgroundColor:wo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:wo.extend("--ft-button-secondary-color","",Ro.contentActionPrimary),secondaryIconColor:wo.extend("--ft-button-secondary-icon-color","",Ro.contentActionPrimary),secondaryStateLayerColor:wo.extend("--ft-button-secondary-state-layer-color","",Ro.contentActionPrimary),secondaryStateLayerOpacityHover:wo.extend("--ft-button-secondary-state-layer-opacity-hover","",$o.opacity8),secondaryStateLayerOpacityFocus:wo.extend("--ft-button-secondary-state-layer-opacity-focus","",$o.opacity8),secondaryStateLayerOpacityActive:wo.extend("--ft-button-secondary-state-layer-opacity-active","",$o.opacity16),secondaryComponentOpacityDisabled:wo.extend("--ft-button-secondary-component-opacity-disabled","",$o.opacity40),secondaryBorderColor:wo.extend("--ft-button-secondary-border-color","",Ro.borderActionPrimary),neutralBackgroundColor:wo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:wo.extend("--ft-button-neutral-icon-color","",Ro.contentGlobalSecondary),neutralColor:wo.extend("--ft-button-neutral-color","",Ro.contentGlobalSecondary),neutralStateLayerColor:wo.extend("--ft-button-neutral-state-layer-color","",Ro.contentGlobalSecondary),neutralStateLayerOpacityHover:wo.extend("--ft-button-neutral-state-layer-opacity-hover","",$o.opacity8),neutralStateLayerOpacityFocus:wo.extend("--ft-button-neutral-state-layer-opacity-focus","",$o.opacity8),neutralStateLayerOpacityActive:wo.extend("--ft-button-neutral-state-layer-opacity-active","",$o.opacity16),neutralComponentOpacityDisabled:wo.extend("--ft-button-neutral-component-opacity-disabled","",$o.opacity40)};wo.extend("--ft-tabs-top-left-border-radius","",$o.borderRadiusS),wo.extend("--ft-tabs-top-right-border-radius","",$o.borderRadiusS),wo.extend("--ft-tabs-label-horizontal-padding","",$o.spacing4),wo.extend("--ft-tabs-label-vertical-padding","",$o.spacing3),wo.extend("--ft-tabs-label-gap","",$o.spacing1),wo.extend("--ft-switch-group-horizontal-padding","",$o.spacing1),wo.extend("--ft-switch-group-vertical-padding","",$o.spacing1),wo.extend("--ft-switch-group-gap","",$o.spacing1),wo.extend("--ft-switch-group-background-color","",Ro.backgroundGlobalSurface),wo.extend("--ft-switch-group-border-color","",Ro.borderGlobalSubtle),wo.create("--ft-switch-group-border-radius","","SIZE","6px"),wo.extend("--ft-switch-label-horizontal-padding","",$o.spacing2),wo.extend("--ft-switch-label-vertical-padding","",$o.spacing1),wo.extend("--ft-switch-icon-horizontal-padding","",$o.spacing1),wo.extend("--ft-switch-icon-vertical-padding","",$o.spacing1),wo.create("--ft-switch-focus-outline-width","","SIZE","2px"),wo.extend("--ft-switch-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.extend("--ft-switch-option-border-radius","",$o.borderRadiusS),wo.extend("--ft-switch-off-state-layer-opacity-hover","",$o.opacity8),wo.extend("--ft-switch-off-state-layer-opacity-focus","",$o.opacity8),wo.extend("--ft-switch-off-state-layer-opacity-active","",$o.opacity16),wo.extend("--ft-switch-off-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-switch-off-color","",Ro.contentGlobalSubtle),wo.extend("--ft-switch-off-state-layer-color","",Ro.contentGlobalSubtle),wo.extend("--ft-chart-1-light","for area color charts",$o.colorBrand40),wo.extend("--ft-chart-1-base","for line charts",$o.colorBrand0),wo.extend("--ft-chart-2-light","for area color charts",$o.colorYellow60),wo.extend("--ft-chart-2-base","for line charts",$o.colorYellow100),wo.extend("--ft-chart-3-light","",$o.colorUltramarine40),wo.extend("--ft-chart-3-base","",$o.colorUltramarine70),wo.extend("--ft-chart-4-light","",$o.colorCyan50),wo.extend("--ft-chart-4-base","",$o.colorCyan100),wo.extend("--ft-chart-5-light","",$o.colorRed40),wo.extend("--ft-chart-5-base","",$o.colorRed60),wo.extend("--ft-chart-6-light","",$o.colorGreen40),wo.extend("--ft-chart-6-base","",$o.colorGreen70),wo.extend("--ft-chart-7-light","",$o.colorOrange70),wo.extend("--ft-chart-7-base","",$o.colorOrange100),wo.extend("--ft-chart-8-light","",$o.colorAvocado70),wo.extend("--ft-chart-8-base","",$o.colorAvocado200),wo.extend("--ft-chart-9-light","",$o.colorBrown50),wo.extend("--ft-chart-9-base","",$o.colorBrown200),wo.extend("--ft-chart-10-light","",$o.colorGray50),wo.extend("--ft-chart-10-base","",$o.colorGray80),wo.extend("--ft-chart-monochrome-10","",$o.colorBrand10),wo.extend("--ft-chart-monochrome-20","",$o.colorBrand20),wo.extend("--ft-chart-monochrome-30","",$o.colorBrand40),wo.extend("--ft-chart-monochrome-40","",$o.colorBrand60),wo.extend("--ft-chart-monochrome-50","",$o.colorBrand0),wo.extend("--ft-chart-monochrome-60","",$o.colorBrand200),wo.extend("--ft-chip-large-horizontal-padding","",$o.spacing4),wo.extend("--ft-chip-large-vertical-padding","",$o.spacing2),wo.extend("--ft-chip-large-gap","",$o.spacing1),wo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-large-border-radius","",$o.borderRadiusPill),wo.create("--ft-chip-large-border-width","","SIZE","1px"),wo.extend("--ft-chip-large-icon-size","",$o.iconSize3),wo.extend("--ft-chip-medium-horizontal-padding","",$o.spacing3),wo.extend("--ft-chip-medium-vertical-padding","",$o.spacing1),wo.extend("--ft-chip-medium-gap","",$o.spacing1),wo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-medium-border-radius","",$o.borderRadiusPill),wo.create("--ft-chip-medium-border-width","","SIZE","1px"),wo.extend("--ft-chip-medium-icon-size","",$o.iconSize2),wo.extend("--ft-chip-small-horizontal-padding","",$o.spacing2),wo.extend("--ft-chip-small-vertical-padding","",$o.spacing05),wo.extend("--ft-chip-small-gap","",$o.spacing1),wo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-small-border-radius","",$o.borderRadiusPill),wo.create("--ft-chip-small-border-width","","SIZE","1px"),wo.extend("--ft-chip-small-icon-size","",$o.iconSize1),wo.extend("--ft-chip-neutral-background-color","",Ro.backgroundGlobalOnSurface),wo.extend("--ft-chip-neutral-color","",Ro.contentGlobalPrimary),wo.extend("--ft-chip-neutral-border-color","",Ro.borderGlobalSubtle),wo.extend("--ft-chip-info-background-color","",Ro.backgroundInfoSubtle),wo.extend("--ft-chip-info-color","",Ro.contentInfoPrimary),wo.extend("--ft-chip-info-border-color","",Ro.borderInfoPrimary),wo.extend("--ft-chip-success-background-color","",Ro.backgroundSuccessSubtle),wo.extend("--ft-chip-success-color","",Ro.contentSuccessPrimary),wo.extend("--ft-chip-success-border-color","",Ro.borderSuccessPrimary),wo.extend("--ft-chip-warning-background-color","",Ro.backgroundWarningSubtle),wo.extend("--ft-chip-warning-color","",Ro.contentWarningPrimary),wo.extend("--ft-chip-warning-border-color","",Ro.borderWarningPrimary),wo.extend("--ft-chip-error-background-color","",Ro.backgroundErrorSubtle),wo.extend("--ft-chip-error-color","",Ro.contentErrorPrimary),wo.extend("--ft-chip-error-border-color","",Ro.borderErrorPrimary),wo.create("--ft-notice-border-width","","SIZE","1px"),wo.extend("--ft-notice-horizontal-padding","",$o.spacing2),wo.extend("--ft-notice-vertical-padding","",$o.spacing1),wo.extend("--ft-notice-border-radius","",$o.borderRadiusS),wo.extend("--ft-notice-gap","",$o.spacing2),wo.extend("--ft-notice-icon-size","",$o.iconSize3),wo.extend("--ft-notice-info-background-color","",Ro.backgroundInfoSubtle),wo.extend("--ft-notice-info-border-color","",Ro.borderInfoPrimary),wo.extend("--ft-notice-info-color","",Ro.contentInfoPrimary),wo.extend("--ft-notice-warning-background-color","",Ro.backgroundWarningSubtle),wo.extend("--ft-notice-warning-border-color","",Ro.borderWarningPrimary),wo.extend("--ft-notice-warning-color","",Ro.contentWarningPrimary),wo.extend("--ft-checkbox-label-color","",Ro.contentGlobalPrimary),wo.extend("--ft-checkbox-checked-background-color","",Ro.contentActionPrimary),wo.extend("--ft-checkbox-checked-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-checkbox-checked-color","",Ro.contentGlobalOnColor),wo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-checkbox-checked-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-checkbox-checked-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-checkbox-unchecked-border-color","",$o.colorGray80),wo.extend("--ft-checkbox-unchecked-state-layer-color","",$o.colorGray80),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-checkbox-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),wo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),wo.extend("--ft-checkbox-gap","",$o.spacing3),wo.extend("--ft-toggle-off-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-toggle-off-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-toggle-off-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-toggle-off-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-toggle-off-background-color","",Ro.contentGlobalSubtle),wo.extend("--ft-toggle-off-icon-color","",Ro.contentGlobalSubtle),wo.extend("--ft-toggle-off-state-layer-color","",Ro.contentGlobalSubtle),wo.extend("--ft-toggle-on-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-toggle-on-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-toggle-on-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-toggle-on-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-toggle-on-background-color","",Ro.contentActionPrimary),wo.extend("--ft-toggle-on-icon-color","",Ro.contentActionPrimary),wo.extend("--ft-toggle-on-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-toggle-label-color","",Ro.contentGlobalPrimary),wo.extend("--ft-toggle-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.extend("--ft-toggle-gap","",$o.spacing3),wo.extend("--ft-radio-label-color","",Ro.contentGlobalPrimary),wo.extend("--ft-radio-selected-color","",Ro.contentActionPrimary),wo.extend("--ft-radio-selected-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-radio-selected-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-radio-selected-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-radio-selected-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-radio-selected-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-radio-unselected-state-layer-color","",$o.colorGray80),wo.extend("--ft-radio-unselected-state-layer-opacity-hover","",$o.opacity16),wo.extend("--ft-radio-unselected-state-layer-opacity-focus","",$o.opacity16),wo.extend("--ft-radio-unselected-state-layer-opacity-active","",$o.opacity24),wo.extend("--ft-radio-unselected-component-opacity-disabled","",$o.opacity40),wo.extend("--ft-radio-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),wo.create("--ft-radio-focus-outline-width","","SIZE","2px"),wo.extend("--ft-radio-gap","",$o.spacing3),wo.extend("--ft-notification-icon-size","",$o.iconSize4),wo.extend("--ft-notification-horizontal-padding","",$o.spacing4),wo.extend("--ft-notification-vertical-padding","",$o.spacing4),wo.extend("--ft-notification-info-background-color","",Ro.backgroundInfoSubtle),wo.extend("--ft-notification-info-color","",Ro.contentInfoPrimary),wo.extend("--ft-notification-info-border-color","",Ro.borderInfoPrimary),wo.extend("--ft-notification-success-background-color","",Ro.backgroundSuccessSubtle),wo.extend("--ft-notification-success-color","",Ro.contentSuccessPrimary),wo.extend("--ft-notification-success-border-color","",Ro.borderSuccessPrimary),wo.extend("--ft-notification-warning-background-color","",Ro.backgroundWarningSubtle),wo.extend("--ft-notification-warning-color","",Ro.contentWarningPrimary),wo.extend("--ft-notification-warning-border-color","",Ro.borderWarningPrimary),wo.extend("--ft-notification-error-background-color","",Ro.backgroundErrorSubtle),wo.extend("--ft-notification-error-color","",Ro.contentErrorPrimary),wo.extend("--ft-notification-error-border-color","",Ro.borderErrorPrimary),wo.extend("--ft-notification-border-radius","",$o.borderRadiusPill),wo.create("--ft-notification-border-width","","SIZE","1px"),wo.extend("--ft-notification-gap-leading","",$o.spacing2),wo.extend("--ft-notification-gap-trailing","",$o.spacing8);const ko={colorPrimary:wo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:wo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:wo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:wo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:wo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:wo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:wo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:wo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:wo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:wo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:wo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:wo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:wo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:wo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:wo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:wo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:wo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:wo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:wo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:wo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:wo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:wo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:wo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:wo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:wo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:wo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:wo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:wo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:wo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:wo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:wo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:wo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:wo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:wo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:wo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:wo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:wo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:wo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:wo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:wo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:wo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:wo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:wo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:wo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:wo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:wo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:wo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:wo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:wo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Io=window,Lo=Io.ShadowRoot&&(void 0===Io.ShadyCSS||Io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
80
+ /**
81
+ * @license
82
+ * Copyright 2019 Google LLC
83
+ * SPDX-License-Identifier: BSD-3-Clause
84
+ */class Wo extends Oo{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)=>{Lo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Io.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var zo,Ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Fo=Symbol("constructorPrototype"),Zo=Symbol("constructorName"),Ao=Symbol("exportpartsDebouncer");class Bo extends Wo{constructor(){super(),this[zo]=new o(5),this[Zo]=this.constructor.name,this[Fo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zo]&&Object.setPrototypeOf(this,this[Fo])}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[Ao].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,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=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!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],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=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}zo=Ao,Ko([C()],Bo.prototype,"exportpartsPrefix",void 0),Ko([I([])],Bo.prototype,"exportpartsPrefixes",void 0),Ko([C()],Bo.prototype,"customStylesheet",void 0);const Mo=Nt`
65
85
  .ft-no-text-select {
66
86
  -webkit-touch-callout: none;
67
87
  -webkit-user-select: none;
@@ -70,7 +90,7 @@ var yt,gt;let bt=class extends I{constructor(){super(...arguments),this.renderOp
70
90
  -ms-user-select: none;
71
91
  user-select: none;
72
92
  }
73
- `;m`
93
+ `;Nt`
74
94
  .ft-word-wrap {
75
95
  white-space: normal;
76
96
  word-wrap: break-word;
@@ -82,7 +102,7 @@ var yt,gt;let bt=class extends I{constructor(){super(...arguments),this.renderOp
82
102
  -webkit-hyphens: auto;
83
103
  hyphens: auto
84
104
  }
85
- `;const Kt=m`
105
+ `;const Do=Nt`
86
106
  .ft-safari-ellipsis-fix {
87
107
  margin-right: 0;
88
108
 
@@ -93,123 +113,123 @@ var yt,gt;let bt=class extends I{constructor(){super(...arguments),this.renderOp
93
113
  display: inline-block;
94
114
  width: 0;
95
115
  }
96
- `;class Ft{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 Zt(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Bt,At,Dt;const Mt=Symbol("internalReduxEventsUnsubscribers"),Ht=Symbol("internalStoresUnsubscribers"),jt=Symbol("internalStores");class Pt extends Wt{constructor(){super(...arguments),this[Bt]=new Map,this[At]=new Map,this[Dt]=[]}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:Zt(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[Ht].has(t.store):this[Ht].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Ht].set(t,o.subscribe((()=>this.updateFromStores()))),Zt(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[Mt].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ht].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Mt].forEach((t=>t())),this[Mt]=[]}unsubscribeFromStore(t){this[Ht].has(t)&&this[Ht].get(t)(),this[Ht].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Bt=Ht,At=jt,Dt=Mt,window.ftReduxStores||(window.ftReduxStores={});const Tt=t=>{const o=null!=t?t:{};return(t,e)=>{var i;const n={hasChanged:(t,o)=>!c(t,o),attribute:!1,...o};r(n)(t,e);const a=t;a.reduxProperties=a.reduxProperties||new Map,a.reduxProperties.set(e,{selector:null!==(i=o.selector)&&void 0!==i?i:t=>t[e],store:o.store})}},Gt=Symbol("elementInternals");var _t,Vt,Yt;const Xt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Yt=null===(Vt=null===(_t=window.safari)||void 0===_t?void 0:_t.pushNotification)||void 0===Vt?void 0:Vt.toString())&&void 0!==Yt?Yt:""),Jt=1,qt=2,Qt=t=>(...o)=>({_$litDirective$:t,values:o});
116
+ `;class Po{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,i;t=this.resolvePluralKey(t,o);let r=null!==(i=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==i?i:"";return o.forEach(((t,o)=>r=r.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),r}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 Ho(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var jo,To,_o;const Go=Symbol("internalReduxEventsUnsubscribers"),Vo=Symbol("internalStoresUnsubscribers"),Yo=Symbol("internalStores");class Xo extends Bo{constructor(){super(...arguments),this[jo]=new Map,this[To]=new Map,this[_o]=[]}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[Yo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Yo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Yo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ho(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[Yo].delete(o)}setupStore(t,o){this[Yo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Yo].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[Vo].has(t.store):this[Vo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Vo].set(t,o.subscribe((()=>this.updateFromStores()))),Ho(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 i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Go].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Vo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Go].forEach((t=>t())),this[Go]=[]}unsubscribeFromStore(t){this[Vo].has(t)&&this[Vo].get(t)(),this[Vo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}jo=Vo,To=Yo,_o=Go,window.ftReduxStores||(window.ftReduxStores={});const Jo=t=>{const o=null!=t?t:{};return(t,e)=>{var i;const r={hasChanged:(t,o)=>!U(t,o),attribute:!1,...o};C(r)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(i=o.selector)&&void 0!==i?i:t=>t[e],store:o.store})}},qo=Symbol("elementInternals");var Qo,te,oe;const ee=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(oe=null===(te=null===(Qo=window.safari)||void 0===Qo?void 0:Qo.pushNotification)||void 0===te?void 0:te.toString())&&void 0!==oe?oe:""),ie=1,re=2,ne=t=>(...o)=>({_$litDirective$:t,values:o});
97
117
  /**
98
- * @license
99
- * Copyright 2017 Google LLC
100
- * SPDX-License-Identifier: BSD-3-Clause
101
- */let to=class{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)}};
118
+ * @license
119
+ * Copyright 2017 Google LLC
120
+ * SPDX-License-Identifier: BSD-3-Clause
121
+ */let ae=class{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)}};
102
122
  /**
103
- * @license
104
- * Copyright 2020 Google LLC
105
- * SPDX-License-Identifier: BSD-3-Clause
106
- */const{I:oo}=ht,eo=()=>document.createComment(""),ro=(t,o,e)=>{var r;const i=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(eo(),n),r=i.insertBefore(eo(),n);e=new oo(o,r,t,t.options)}else{const o=e._$AB.nextSibling,a=e._$AM,l=a!==t;if(l){let o;null===(r=e._$AQ)||void 0===r||r.call(e,t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==a._$AU&&e._$AP(o)}if(o!==n||l){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,n),t=o}}}return e},io=(t,o,e=t)=>(t._$AI(o,e),t),no={},ao=t=>{var o;null===(o=t._$AP)||void 0===o||o.call(t,!1,!0);let e=t._$AA;const r=t._$AB.nextSibling;for(;e!==r;){const t=e.nextSibling;e.remove(),e=t}},lo=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},so=Qt(class extends to{constructor(t){if(super(t),t.type!==qt)throw Error("repeat() can only be used in text expressions")}dt(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.dt(t,o,e).values}update(t,[o,e,r]){var i;const n=(t=>t._$AH)(t),{values:a,keys:l}=this.dt(o,e,r);if(!Array.isArray(n))return this.ht=l,a;const s=null!==(i=this.ht)&&void 0!==i?i:this.ht=[],c=[];let p,f,d=0,h=n.length-1,u=0,y=a.length-1;for(;d<=h&&u<=y;)if(null===n[d])d++;else if(null===n[h])h--;else if(s[d]===l[u])c[u]=io(n[d],a[u]),d++,u++;else if(s[h]===l[y])c[y]=io(n[h],a[y]),h--,y--;else if(s[d]===l[y])c[y]=io(n[d],a[y]),ro(t,c[y+1],n[d]),d++,y--;else if(s[h]===l[u])c[u]=io(n[h],a[u]),ro(t,n[d],n[h]),h--,u++;else if(void 0===p&&(p=lo(l,u,y),f=lo(s,d,h)),p.has(s[d]))if(p.has(s[h])){const o=f.get(l[u]),e=void 0!==o?n[o]:null;if(null===e){const o=ro(t,n[d]);io(o,a[u]),c[u]=o}else c[u]=io(e,a[u]),ro(t,n[d],e),n[o]=null;u++}else ao(n[h]),h--;else ao(n[d]),d++;for(;u<=y;){const o=ro(t,c[y+1]);io(o,a[u]),c[u++]=o}for(;d<=h;){const t=n[d++];null!==t&&ao(t)}return this.ht=l,((t,o=no)=>{t._$AH=o})(t,c),q}}),co=Qt(class extends to{constructor(t){var o;if(super(t),t.type!==Jt||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var e,r;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(e=this.nt)||void 0===e?void 0:e.has(t))&&this.it.add(t);return this.render(o)}const i=t.element.classList;this.it.forEach((t=>{t in o||(i.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(r=this.nt)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.it.add(t)):(i.remove(t),this.it.delete(t)))}return q}}),po="important",fo=" !"+po,ho=Qt(class extends to{constructor(t){var o;if(super(t),t.type!==Jt||"style"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut){this.ut=new Set;for(const t in o)this.ut.add(t);return this.render(o)}this.ut.forEach((t=>{null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]="")}));for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(fo);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?po:""):e[t]=r}}return q}});
123
+ * @license
124
+ * Copyright 2020 Google LLC
125
+ * SPDX-License-Identifier: BSD-3-Clause
126
+ */const{D:se}=ut,le=()=>document.createComment(""),ce=(t,o,e)=>{const i=t._$AA.parentNode,r=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(le(),r),n=i.insertBefore(le(),r);e=new se(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==r||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,r),t=o}}}return e},pe=(t,o,e=t)=>(t._$AI(o,e),t),he={},fe=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},de=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},ue=ne(class extends ae{constructor(t){if(super(t),t.type!==re)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let i;void 0===e?e=o:void 0!==o&&(i=o);const r=[],n=[];let a=0;for(const o of t)r[a]=i?i(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:r}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,h=0,f=r.length-1,d=0,u=n.length-1;for(;h<=f&&d<=u;)if(null===r[h])h++;else if(null===r[f])f--;else if(s[h]===a[d])l[d]=pe(r[h],n[d]),h++,d++;else if(s[f]===a[u])l[u]=pe(r[f],n[u]),f--,u--;else if(s[h]===a[u])l[u]=pe(r[h],n[u]),ce(t,l[u+1],r[h]),h++,u--;else if(s[f]===a[d])l[d]=pe(r[f],n[d]),ce(t,r[h],r[f]),f--,d++;else if(void 0===c&&(c=de(a,d,u),p=de(s,h,f)),c.has(s[h]))if(c.has(s[f])){const o=p.get(a[d]),e=void 0!==o?r[o]:null;if(null===e){const o=ce(t,r[h]);pe(o,n[d]),l[d]=o}else l[d]=pe(e,n[d]),ce(t,r[h],e),r[o]=null;d++}else fe(r[f]),f--;else fe(r[h]),h++;for(;d<=u;){const o=ce(t,l[u+1]);pe(o,n[d]),l[d++]=o}for(;h<=f;){const t=r[h++];null!==t&&fe(t)}return this.dt=a,((t,o=he)=>{t._$AH=o})(t,l),Q}}),ye=ne(class extends ae{constructor(t){if(super(t),t.type!==ie||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return Q}}),ge="important",be=" !"+ge,me=ne(class extends ae{constructor(t){if(super(t),t.type!==ie||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const i=t[e];return null==i?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const i=o[t];if(null!=i){this.ut.add(t);const o="string"==typeof i&&i.endsWith(be);t.includes("-")||o?e.setProperty(t,o?i.slice(0,-11):i,o?ge:""):e[t]=i}}return Q}});
107
127
  /**
108
- * @license
109
- * Copyright 2017 Google LLC
110
- * SPDX-License-Identifier: BSD-3-Clause
111
- */var uo;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(uo||(uo={}));var yo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 go extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const bo=Symbol("registerInterval");class mo 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[bo]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[bo]):this.dispatchEvent(new go)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=bo,yo([i()],e.prototype,"stateManager",void 0),e}(Pt)){}
128
+ * @license
129
+ * Copyright 2017 Google LLC
130
+ * SPDX-License-Identifier: BSD-3-Clause
131
+ */var xe;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(xe||(xe={}));var ve=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Oe extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ne=Symbol("registerInterval");class Se 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[Ne]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ne]):this.dispatchEvent(new Oe)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Ne,ve([$()],e.prototype,"stateManager",void 0),e}(Xo)){}
112
132
  /**
113
- * @license
114
- * Copyright 2020 Google LLC
115
- * SPDX-License-Identifier: BSD-3-Clause
116
- */const vo=Symbol.for(""),xo=t=>{if((null==t?void 0:t.r)===vo)return null==t?void 0:t._$litStatic$},Oo=t=>({_$litStatic$:t,r:vo}),No=new Map,So=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=xo(n));)s+=i+o[++c],p=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=No.get(t))&&(a.raw=a,No.set(t,o=a)),e=l}return t(o,...e)})(J);var wo;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(wo||(wo={}));const Co=xt.extend("--ft-typography-font-family","",$t.titleFont),$o=xt.extend("--ft-typography-font-family","",$t.contentFont),Ro={fontFamily:$o,fontSize:xt.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xt.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xt.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xt.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xt.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Eo=xt.extend("--ft-typography-title-font-family","",Co),Io=xt.extend("--ft-typography-title-font-size","",Ro.fontSize,"20px"),ko=xt.extend("--ft-typography-title-font-weight","",Ro.fontWeight,"normal"),Uo=xt.extend("--ft-typography-title-letter-spacing","",Ro.letterSpacing,"0.15px"),Lo=xt.extend("--ft-typography-title-line-height","",Ro.lineHeight,"1.2"),Wo=xt.extend("--ft-typography-title-text-transform","",Ro.textTransform,"inherit"),zo=xt.extend("--ft-typography-title-dense-font-family","",Co),Ko=xt.extend("--ft-typography-title-dense-font-size","",Ro.fontSize,"14px"),Fo=xt.extend("--ft-typography-title-dense-font-weight","",Ro.fontWeight,"normal"),Zo=xt.extend("--ft-typography-title-dense-letter-spacing","",Ro.letterSpacing,"0.105px"),Bo=xt.extend("--ft-typography-title-dense-line-height","",Ro.lineHeight,"1.7"),Ao=xt.extend("--ft-typography-title-dense-text-transform","",Ro.textTransform,"inherit"),Do=xt.extend("--ft-typography-subtitle1-font-family","",$o),Mo=xt.extend("--ft-typography-subtitle1-font-size","",Ro.fontSize,"16px"),Ho=xt.extend("--ft-typography-subtitle1-font-weight","",Ro.fontWeight,"600"),jo=xt.extend("--ft-typography-subtitle1-letter-spacing","",Ro.letterSpacing,"0.144px"),Po=xt.extend("--ft-typography-subtitle1-line-height","",Ro.lineHeight,"1.5"),To=xt.extend("--ft-typography-subtitle1-text-transform","",Ro.textTransform,"inherit"),Go=xt.extend("--ft-typography-subtitle2-font-family","",$o),_o=xt.extend("--ft-typography-subtitle2-font-size","",Ro.fontSize,"14px"),Vo=xt.extend("--ft-typography-subtitle2-font-weight","",Ro.fontWeight,"normal"),Yo=xt.extend("--ft-typography-subtitle2-letter-spacing","",Ro.letterSpacing,"0.098px"),Xo=xt.extend("--ft-typography-subtitle2-line-height","",Ro.lineHeight,"1.7"),Jo=xt.extend("--ft-typography-subtitle2-text-transform","",Ro.textTransform,"inherit"),qo=xt.extend("--ft-typography-body1-font-family","",$o),Qo=xt.extend("--ft-typography-body1-font-size","",Ro.fontSize,"16px"),te=xt.extend("--ft-typography-body1-font-weight","",Ro.fontWeight,"normal"),oe=xt.extend("--ft-typography-body1-letter-spacing","",Ro.letterSpacing,"0.496px"),ee=xt.extend("--ft-typography-body1-line-height","",Ro.lineHeight,"1.5"),re=xt.extend("--ft-typography-body1-text-transform","",Ro.textTransform,"inherit"),ie=xt.extend("--ft-typography-body2-font-family","",$o),ne=xt.extend("--ft-typography-body2-font-size","",Ro.fontSize,"14px"),ae=xt.extend("--ft-typography-body2-font-weight","",Ro.fontWeight,"normal"),le=xt.extend("--ft-typography-body2-letter-spacing","",Ro.letterSpacing,"0.252px"),se=xt.extend("--ft-typography-body2-line-height","",Ro.lineHeight,"1.4"),ce=xt.extend("--ft-typography-body2-text-transform","",Ro.textTransform,"inherit"),pe=xt.extend("--ft-typography-caption-font-family","",$o),fe=xt.extend("--ft-typography-caption-font-size","",Ro.fontSize,"12px"),de=xt.extend("--ft-typography-caption-font-weight","",Ro.fontWeight,"normal"),he=xt.extend("--ft-typography-caption-letter-spacing","",Ro.letterSpacing,"0.396px"),ue=xt.extend("--ft-typography-caption-line-height","",Ro.lineHeight,"1.33"),ye=xt.extend("--ft-typography-caption-text-transform","",Ro.textTransform,"inherit"),ge=xt.extend("--ft-typography-breadcrumb-font-family","",$o),be=xt.extend("--ft-typography-breadcrumb-font-size","",Ro.fontSize,"10px"),me=xt.extend("--ft-typography-breadcrumb-font-weight","",Ro.fontWeight,"normal"),ve=xt.extend("--ft-typography-breadcrumb-letter-spacing","",Ro.letterSpacing,"0.33px"),xe=xt.extend("--ft-typography-breadcrumb-line-height","",Ro.lineHeight,"1.6"),Oe=xt.extend("--ft-typography-breadcrumb-text-transform","",Ro.textTransform,"inherit"),Ne=xt.extend("--ft-typography-overline-font-family","",$o),Se=xt.extend("--ft-typography-overline-font-size","",Ro.fontSize,"10px"),we=xt.extend("--ft-typography-overline-font-weight","",Ro.fontWeight,"normal"),Ce=xt.extend("--ft-typography-overline-letter-spacing","",Ro.letterSpacing,"1.5px"),$e=xt.extend("--ft-typography-overline-line-height","",Ro.lineHeight,"1.6"),Re=xt.extend("--ft-typography-overline-text-transform","",Ro.textTransform,"uppercase"),Ee={fontFamily:xt.extend("--ft-typography-button-font-family","",$o),fontSize:xt.extend("--ft-typography-button-font-size","",Ro.fontSize,"14px"),fontWeight:xt.extend("--ft-typography-button-font-weight","",Ro.fontWeight,"600"),letterSpacing:xt.extend("--ft-typography-button-letter-spacing","",Ro.letterSpacing,"1.246px"),lineHeight:xt.extend("--ft-typography-button-line-height","",Ro.lineHeight,"1.15"),textTransform:xt.extend("--ft-typography-button-text-transform","",Ro.textTransform,"uppercase")},Ie=m`
133
+ * @license
134
+ * Copyright 2020 Google LLC
135
+ * SPDX-License-Identifier: BSD-3-Clause
136
+ */const we=Symbol.for(""),Ce=t=>{if(t?.r===we)return t?._$litStatic$},$e=t=>({_$litStatic$:t,r:we}),Ee=new Map,Re=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=Ce(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=Ee.get(t))&&(a.raw=a,Ee.set(t,o=a)),e=s}return t(o,...e)})(q);var Ue;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Ue||(Ue={}));const ke=wo.extend("--ft-typography-font-family","",ko.titleFont),Ie=wo.extend("--ft-typography-font-family","",ko.contentFont),Le={fontFamily:Ie,fontSize:wo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:wo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:wo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:wo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:wo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},We=wo.extend("--ft-typography-title-font-family","",ke),ze=wo.extend("--ft-typography-title-font-size","",Le.fontSize,"20px"),Ke=wo.extend("--ft-typography-title-font-weight","",Le.fontWeight,"normal"),Fe=wo.extend("--ft-typography-title-letter-spacing","",Le.letterSpacing,"0.15px"),Ze=wo.extend("--ft-typography-title-line-height","",Le.lineHeight,"1.2"),Ae=wo.extend("--ft-typography-title-text-transform","",Le.textTransform,"inherit"),Be=wo.extend("--ft-typography-title-dense-font-family","",ke),Me=wo.extend("--ft-typography-title-dense-font-size","",Le.fontSize,"14px"),De=wo.extend("--ft-typography-title-dense-font-weight","",Le.fontWeight,"normal"),Pe=wo.extend("--ft-typography-title-dense-letter-spacing","",Le.letterSpacing,"0.105px"),He=wo.extend("--ft-typography-title-dense-line-height","",Le.lineHeight,"1.7"),je=wo.extend("--ft-typography-title-dense-text-transform","",Le.textTransform,"inherit"),Te=wo.extend("--ft-typography-subtitle1-font-family","",Ie),_e=wo.extend("--ft-typography-subtitle1-font-size","",Le.fontSize,"16px"),Ge=wo.extend("--ft-typography-subtitle1-font-weight","",Le.fontWeight,"600"),Ve=wo.extend("--ft-typography-subtitle1-letter-spacing","",Le.letterSpacing,"0.144px"),Ye=wo.extend("--ft-typography-subtitle1-line-height","",Le.lineHeight,"1.5"),Xe=wo.extend("--ft-typography-subtitle1-text-transform","",Le.textTransform,"inherit"),Je=wo.extend("--ft-typography-subtitle2-font-family","",Ie),qe=wo.extend("--ft-typography-subtitle2-font-size","",Le.fontSize,"14px"),Qe=wo.extend("--ft-typography-subtitle2-font-weight","",Le.fontWeight,"normal"),ti=wo.extend("--ft-typography-subtitle2-letter-spacing","",Le.letterSpacing,"0.098px"),oi=wo.extend("--ft-typography-subtitle2-line-height","",Le.lineHeight,"1.7"),ei=wo.extend("--ft-typography-subtitle2-text-transform","",Le.textTransform,"inherit"),ii=wo.extend("--ft-typography-body1-font-family","",Ie),ri=wo.extend("--ft-typography-body1-font-size","",Le.fontSize,"16px"),ni=wo.extend("--ft-typography-body1-font-weight","",Le.fontWeight,"normal"),ai=wo.extend("--ft-typography-body1-letter-spacing","",Le.letterSpacing,"0.496px"),si=wo.extend("--ft-typography-body1-line-height","",Le.lineHeight,"1.5"),li=wo.extend("--ft-typography-body1-text-transform","",Le.textTransform,"inherit"),ci=wo.extend("--ft-typography-body2-font-family","",Ie),pi=wo.extend("--ft-typography-body2-font-size","",Le.fontSize,"14px"),hi=wo.extend("--ft-typography-body2-font-weight","",Le.fontWeight,"normal"),fi=wo.extend("--ft-typography-body2-letter-spacing","",Le.letterSpacing,"0.252px"),di=wo.extend("--ft-typography-body2-line-height","",Le.lineHeight,"1.4"),ui=wo.extend("--ft-typography-body2-text-transform","",Le.textTransform,"inherit"),yi=wo.extend("--ft-typography-caption-font-family","",Ie),gi=wo.extend("--ft-typography-caption-font-size","",Le.fontSize,"12px"),bi=wo.extend("--ft-typography-caption-font-weight","",Le.fontWeight,"normal"),mi=wo.extend("--ft-typography-caption-letter-spacing","",Le.letterSpacing,"0.396px"),xi=wo.extend("--ft-typography-caption-line-height","",Le.lineHeight,"1.33"),vi=wo.extend("--ft-typography-caption-text-transform","",Le.textTransform,"inherit"),Oi=wo.extend("--ft-typography-breadcrumb-font-family","",Ie),Ni=wo.extend("--ft-typography-breadcrumb-font-size","",Le.fontSize,"10px"),Si=wo.extend("--ft-typography-breadcrumb-font-weight","",Le.fontWeight,"normal"),wi=wo.extend("--ft-typography-breadcrumb-letter-spacing","",Le.letterSpacing,"0.33px"),Ci=wo.extend("--ft-typography-breadcrumb-line-height","",Le.lineHeight,"1.6"),$i=wo.extend("--ft-typography-breadcrumb-text-transform","",Le.textTransform,"inherit"),Ei=wo.extend("--ft-typography-overline-font-family","",Ie),Ri=wo.extend("--ft-typography-overline-font-size","",Le.fontSize,"10px"),Ui=wo.extend("--ft-typography-overline-font-weight","",Le.fontWeight,"normal"),ki=wo.extend("--ft-typography-overline-letter-spacing","",Le.letterSpacing,"1.5px"),Ii=wo.extend("--ft-typography-overline-line-height","",Le.lineHeight,"1.6"),Li=wo.extend("--ft-typography-overline-text-transform","",Le.textTransform,"uppercase"),Wi={fontFamily:wo.extend("--ft-typography-button-font-family","",Ie),fontSize:wo.extend("--ft-typography-button-font-size","",Le.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-button-font-weight","",Le.fontWeight,"600"),letterSpacing:wo.extend("--ft-typography-button-letter-spacing","",Le.letterSpacing,"1.246px"),lineHeight:wo.extend("--ft-typography-button-line-height","",Le.lineHeight,"1.15"),textTransform:wo.extend("--ft-typography-button-text-transform","",Le.textTransform,"uppercase")},zi=Nt`
117
137
  .ft-typography--title {
118
- font-family: ${Eo};
119
- font-size: ${Io};
120
- font-weight: ${ko};
121
- letter-spacing: ${Uo};
122
- line-height: ${Lo};
123
- text-transform: ${Wo};
124
- }
125
- `,ke=m`
138
+ font-family: ${We};
139
+ font-size: ${ze};
140
+ font-weight: ${Ke};
141
+ letter-spacing: ${Fe};
142
+ line-height: ${Ze};
143
+ text-transform: ${Ae};
144
+ }
145
+ `,Ki=Nt`
126
146
  .ft-typography--title-dense {
127
- font-family: ${zo};
128
- font-size: ${Ko};
129
- font-weight: ${Fo};
130
- letter-spacing: ${Zo};
131
- line-height: ${Bo};
132
- text-transform: ${Ao};
133
- }
134
- `,Ue=m`
147
+ font-family: ${Be};
148
+ font-size: ${Me};
149
+ font-weight: ${De};
150
+ letter-spacing: ${Pe};
151
+ line-height: ${He};
152
+ text-transform: ${je};
153
+ }
154
+ `,Fi=Nt`
135
155
  .ft-typography--subtitle1 {
136
- font-family: ${Do};
137
- font-size: ${Mo};
138
- font-weight: ${Ho};
139
- letter-spacing: ${jo};
140
- line-height: ${Po};
141
- text-transform: ${To};
142
- }
143
- `,Le=m`
156
+ font-family: ${Te};
157
+ font-size: ${_e};
158
+ font-weight: ${Ge};
159
+ letter-spacing: ${Ve};
160
+ line-height: ${Ye};
161
+ text-transform: ${Xe};
162
+ }
163
+ `,Zi=Nt`
144
164
  .ft-typography--subtitle2 {
145
- font-family: ${Go};
146
- font-size: ${_o};
147
- font-weight: ${Vo};
148
- letter-spacing: ${Yo};
149
- line-height: ${Xo};
150
- text-transform: ${Jo};
165
+ font-family: ${Je};
166
+ font-size: ${qe};
167
+ font-weight: ${Qe};
168
+ letter-spacing: ${ti};
169
+ line-height: ${oi};
170
+ text-transform: ${ei};
151
171
  }
152
172
 
153
- `,We=m`
173
+ `,Ai=Nt`
154
174
  .ft-typography--body1 {
155
- font-family: ${qo};
156
- font-size: ${Qo};
157
- font-weight: ${te};
158
- letter-spacing: ${oe};
159
- line-height: ${ee};
160
- text-transform: ${re};
161
- }
162
- `,ze=m`
175
+ font-family: ${ii};
176
+ font-size: ${ri};
177
+ font-weight: ${ni};
178
+ letter-spacing: ${ai};
179
+ line-height: ${si};
180
+ text-transform: ${li};
181
+ }
182
+ `,Bi=Nt`
163
183
  .ft-typography--body2 {
164
- font-family: ${ie};
165
- font-size: ${ne};
166
- font-weight: ${ae};
167
- letter-spacing: ${le};
168
- line-height: ${se};
169
- text-transform: ${ce};
170
- }
171
- `,Ke=m`
184
+ font-family: ${ci};
185
+ font-size: ${pi};
186
+ font-weight: ${hi};
187
+ letter-spacing: ${fi};
188
+ line-height: ${di};
189
+ text-transform: ${ui};
190
+ }
191
+ `,Mi=Nt`
172
192
  .ft-typography--caption {
173
- font-family: ${pe};
174
- font-size: ${fe};
175
- font-weight: ${de};
176
- letter-spacing: ${he};
177
- line-height: ${ue};
178
- text-transform: ${ye};
179
- }
180
- `,Fe=m`
193
+ font-family: ${yi};
194
+ font-size: ${gi};
195
+ font-weight: ${bi};
196
+ letter-spacing: ${mi};
197
+ line-height: ${xi};
198
+ text-transform: ${vi};
199
+ }
200
+ `,Di=Nt`
181
201
  .ft-typography--breadcrumb {
182
- font-family: ${ge};
183
- font-size: ${be};
184
- font-weight: ${me};
185
- letter-spacing: ${ve};
186
- line-height: ${xe};
187
- text-transform: ${Oe};
188
- }
189
- `,Ze=m`
202
+ font-family: ${Oi};
203
+ font-size: ${Ni};
204
+ font-weight: ${Si};
205
+ letter-spacing: ${wi};
206
+ line-height: ${Ci};
207
+ text-transform: ${$i};
208
+ }
209
+ `,Pi=Nt`
190
210
  .ft-typography--overline {
191
- font-family: ${Ne};
192
- font-size: ${Se};
193
- font-weight: ${we};
194
- letter-spacing: ${Ce};
195
- line-height: ${$e};
196
- text-transform: ${Re};
197
- }
198
- `,Be=m`
211
+ font-family: ${Ei};
212
+ font-size: ${Ri};
213
+ font-weight: ${Ui};
214
+ letter-spacing: ${ki};
215
+ line-height: ${Ii};
216
+ text-transform: ${Li};
217
+ }
218
+ `,Hi=Nt`
199
219
  .ft-typography--button {
200
- font-family: ${Ee.fontFamily};
201
- font-size: ${Ee.fontSize};
202
- font-weight: ${Ee.fontWeight};
203
- letter-spacing: ${Ee.letterSpacing};
204
- line-height: ${Ee.lineHeight};
205
- text-transform: ${Ee.textTransform};
206
- }
207
- `,Ae=m`
220
+ font-family: ${Wi.fontFamily};
221
+ font-size: ${Wi.fontSize};
222
+ font-weight: ${Wi.fontWeight};
223
+ letter-spacing: ${Wi.letterSpacing};
224
+ line-height: ${Wi.lineHeight};
225
+ text-transform: ${Wi.textTransform};
226
+ }
227
+ `,ji=Nt`
208
228
  .ft-typography {
209
229
  vertical-align: inherit;
210
230
  }
211
- `,De=[Object.keys(St).map((t=>function(t){const o=St[t];return m`
212
- .ft-typography--${b(t)} {
231
+ `,Ti=[Object.keys(Eo).map((t=>function(t){const o=Eo[t];return Nt`
232
+ .ft-typography--${Ot(t)} {
213
233
  font-family: ${o.fontFamily};
214
234
  font-size: ${o.fontSize};
215
235
  font-weight: ${o.fontWeight};
@@ -217,39 +237,39 @@ var yt,gt;let bt=class extends I{constructor(){super(...arguments),this.renderOp
217
237
  line-height: ${o.lineHeight};
218
238
  text-transform: ${o.textCase};
219
239
  }
220
- `}(t)))];var Me=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 He extends Wt{constructor(){super(...arguments),this.variant=wo.body1}render(){return this.element?So`
221
- <${Oo(this.element)}
240
+ `}(t)))];var _i=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Gi extends Bo{constructor(){super(...arguments),this.variant=Ue.body1}render(){return this.element?Re`
241
+ <${$e(this.element)}
222
242
  class="ft-typography ft-typography--${this.variant}">
223
243
  <slot></slot>
224
- </${Oo(this.element)}>
225
- `:So`
244
+ </${$e(this.element)}>
245
+ `:Re`
226
246
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
227
- `}}He.styles=[Ie,ke,Ue,Le,We,ze,Ke,Fe,Ze,Be,Ae,...De],Me([r()],He.prototype,"element",void 0),Me([r()],He.prototype,"variant",void 0),p("ft-typography")(He);const je=xt.extend("--ft-reader-internal-link-outline-color","",$t.colorPrimary),Pe=m`
247
+ `}}Gi.styles=[zi,Ki,Fi,Zi,Ai,Bi,Mi,Di,Pi,Hi,ji,...Ti],_i([C()],Gi.prototype,"element",void 0),_i([C()],Gi.prototype,"variant",void 0),k("ft-typography")(Gi);const Vi=wo.extend("--ft-reader-internal-link-outline-color","",ko.colorPrimary),Yi=Nt`
228
248
  :host {
229
249
  display: contents;
230
250
  }
231
251
 
232
252
  a:focus {
233
- outline-color: ${je};
253
+ outline-color: ${Vi};
234
254
  }
235
255
 
236
256
  .ft-reader-link--remove-style {
237
257
  text-decoration: none;
238
258
  color: inherit;
239
259
  }
240
- `;var Te=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Ge extends mo{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=co({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return J`
260
+ `;var Xi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ji extends Se{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=ye({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ro`
241
261
  <a class=${o}
242
262
  href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
243
263
  @click=${t=>this.onLinkClick(t)}>
244
264
  <slot></slot>
245
265
  </a>
246
- `}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}Ge.styles=Pe,Te([r()],Ge.prototype,"tocId",void 0),Te([r()],Ge.prototype,"section",void 0),Te([r({type:Number})],Ge.prototype,"pageNumber",void 0),Te([r({type:Boolean})],Ge.prototype,"removeStyle",void 0),p("ft-reader-internal-link")(Ge);
266
+ `}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}Ji.styles=Yi,Xi([C()],Ji.prototype,"tocId",void 0),Xi([C()],Ji.prototype,"section",void 0),Xi([C({type:Number})],Ji.prototype,"pageNumber",void 0),Xi([C({type:Boolean})],Ji.prototype,"removeStyle",void 0),k("ft-reader-internal-link")(Ji);
247
267
  /**
248
- * @license
249
- * Copyright 2017 Google LLC
250
- * SPDX-License-Identifier: BSD-3-Clause
251
- */
252
- class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.ft=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.ft;this.et=t;const o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}}_e.directiveName="unsafeHTML",_e.resultType=1;const Ve=Qt(_e);var Ye,Xe;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ye||(Ye={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Xe||(Xe={})),new Map([...["abw"].map((t=>[t,Xe.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,Xe.AUDIO])),...["avi"].map((t=>[t,Xe.AVI])),...["chm","xhs"].map((t=>[t,Xe.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,Xe.CODE])),...["csv"].map((t=>[t,Xe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Xe.DITA])),...["epub"].map((t=>[t,Xe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Xe.EXCEL])),...["flac"].map((t=>[t,Xe.FLAC])),...["gif"].map((t=>[t,Xe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Xe.GZIP])),...["html","htm","xhtml"].map((t=>[t,Xe.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,Xe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Xe.JPEG])),...["json"].map((t=>[t,Xe.JSON])),...["m4a","m4p"].map((t=>[t,Xe.M4A])),...["mov","qt"].map((t=>[t,Xe.MOV])),...["mp3"].map((t=>[t,Xe.MP3])),...["mp4","m4v"].map((t=>[t,Xe.MP4])),...["ogg","oga"].map((t=>[t,Xe.OGG])),...["pdf","ps"].map((t=>[t,Xe.PDF])),...["png"].map((t=>[t,Xe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Xe.POWERPOINT])),...["rar"].map((t=>[t,Xe.RAR])),...["stp"].map((t=>[t,Xe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Xe.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,Xe.VIDEO])),...["wav"].map((t=>[t,Xe.WAV])),...["wma"].map((t=>[t,Xe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Xe.WORD])),...["xml","xsl","rdf"].map((t=>[t,Xe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Xe.YAML])),...["zip"].map((t=>[t,Xe.ZIP]))]);const Je={size:xt.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xt.extend("--ft-icon-fluid-topics-font-family","",xt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xt.extend("--ft-icon-file-format-font-family","",xt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xt.extend("--ft-icon-material-font-family","",xt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xt.create("--ft-icon-vertical-align","","UNKNOWN","unset")},qe=m`
268
+ * @license
269
+ * Copyright 2017 Google LLC
270
+ * SPDX-License-Identifier: BSD-3-Clause
271
+ */
272
+ class qi extends ae{constructor(t){if(super(t),this.et=tt,t.type!==re)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:[]}}}qi.directiveName="unsafeHTML",qi.resultType=1;const Qi=ne(qi);var tr,or;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(tr||(tr={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(or||(or={})),new Map([...["abw"].map((t=>[t,or.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,or.AUDIO])),...["avi"].map((t=>[t,or.AVI])),...["chm","xhs"].map((t=>[t,or.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,or.CODE])),...["csv"].map((t=>[t,or.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,or.DITA])),...["epub"].map((t=>[t,or.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,or.EXCEL])),...["flac"].map((t=>[t,or.FLAC])),...["gif"].map((t=>[t,or.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,or.GZIP])),...["html","htm","xhtml"].map((t=>[t,or.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,or.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,or.JPEG])),...["json"].map((t=>[t,or.JSON])),...["m4a","m4p"].map((t=>[t,or.M4A])),...["mov","qt"].map((t=>[t,or.MOV])),...["mp3"].map((t=>[t,or.MP3])),...["mp4","m4v"].map((t=>[t,or.MP4])),...["ogg","oga"].map((t=>[t,or.OGG])),...["pdf","ps"].map((t=>[t,or.PDF])),...["png"].map((t=>[t,or.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,or.POWERPOINT])),...["rar"].map((t=>[t,or.RAR])),...["stp"].map((t=>[t,or.STP])),...["txt","rtf","md","mdown"].map((t=>[t,or.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,or.VIDEO])),...["wav"].map((t=>[t,or.WAV])),...["wma"].map((t=>[t,or.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,or.WORD])),...["xml","xsl","rdf"].map((t=>[t,or.XML])),...["yaml","yml","x-yaml"].map((t=>[t,or.YAML])),...["zip"].map((t=>[t,or.ZIP]))]);const er={size:wo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:wo.extend("--ft-icon-fluid-topics-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:wo.extend("--ft-icon-file-format-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:wo.extend("--ft-icon-material-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:wo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ir=Nt`
253
273
  :host, i.ft-icon {
254
274
  display: inline-flex;
255
275
  align-items: center;
@@ -258,14 +278,14 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
258
278
  }
259
279
 
260
280
  :host {
261
- width: ${Je.size};
262
- height: ${Je.size};
281
+ width: ${er.size};
282
+ height: ${er.size};
263
283
  }
264
284
 
265
285
  i.ft-icon {
266
286
  width: 100%;
267
287
  height: 100%;
268
- font-size: ${Je.size};
288
+ font-size: ${er.size};
269
289
  line-height: 1;
270
290
  font-weight: normal;
271
291
  text-transform: none;
@@ -276,33 +296,33 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
276
296
  text-rendering: auto;
277
297
  -webkit-font-smoothing: antialiased;
278
298
  -moz-osx-font-smoothing: grayscale;
279
- vertical-align: ${Je.verticalAlign};
299
+ vertical-align: ${er.verticalAlign};
280
300
  }
281
301
 
282
302
  i.ft-icon.ft-icon--fluid-topics {
283
- font-family: ${Je.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
303
+ font-family: ${er.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
284
304
 
285
305
  /* Ugly fix because font is broken */
286
- font-size: calc(0.75 * ${Je.size});
287
- line-height: ${Je.size};
306
+ font-size: calc(0.75 * ${er.size});
307
+ line-height: ${er.size};
288
308
  position: relative;
289
309
  top: -4%;
290
310
  justify-content: center;
291
311
  }
292
312
 
293
313
  .ft-icon--file-format {
294
- font-family: ${Je.fileFormatFontFamily}, ft-mime, sans-serif;
314
+ font-family: ${er.fileFormatFontFamily}, ft-mime, sans-serif;
295
315
  }
296
316
 
297
317
  .ft-icon--material {
298
- font-family: ${Je.materialFontFamily}, "Material Icons", sans-serif;
318
+ font-family: ${er.materialFontFamily}, "Material Icons", sans-serif;
299
319
  }
300
- `;var Qe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qe||(Qe={}));var tr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 or extends Wt{constructor(){super(...arguments),this.resolvedIcon=Q}render(){const t=this.variant&&Object.values(Qe).includes(this.variant)?this.variant:Qe.fluid_topics,o=t!==Qe.material||!!this.value;return J`
320
+ `;var rr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(rr||(rr={}));var nr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends Bo{constructor(){super(...arguments),this.resolvedIcon=ao}render(){const t=this.variant&&Object.values(rr).includes(this.variant)?this.variant:rr.fluid_topics,o=t!==rr.material||!!this.value;return ro`
301
321
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
302
- ${Ve(this.resolvedIcon)}
322
+ ${Qi(this.resolvedIcon)}
303
323
  <slot ?hidden=${o}></slot>
304
324
  </i>
305
- `}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 Qe.file_format:this.resolvedIcon=null!==(t=Xe[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Qe.material:this.resolvedIcon=this.value||Q;break;default:this.resolvedIcon=null!==(o=Ye[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}or.elementDefinitions={},or.styles=qe,tr([r()],or.prototype,"variant",void 0),tr([r()],or.prototype,"value",void 0),tr([i()],or.prototype,"resolvedIcon",void 0),tr([a("slot")],or.prototype,"slottedContent",void 0),p("ft-icon")(or);const er=xt.extend("--ft-ripple-color","",$t.colorContent),rr={color:er,backgroundColor:xt.extend("--ft-ripple-background-color","",er),opacityContentOnSurfacePressed:xt.external($t.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xt.external($t.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xt.external($t.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xt.external($t.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xt.create("--ft-ripple-border-radius","","SIZE","0px")},ir=xt.extend("--ft-ripple-color","",$t.colorPrimary),nr=ir,ar=xt.extend("--ft-ripple-background-color","",ir),lr=xt.extend("--ft-ripple-color","",$t.colorSecondary),sr=lr,cr=xt.extend("--ft-ripple-background-color","",lr),pr=m`
325
+ `}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 rr.file_format:this.resolvedIcon=null!==(t=or[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case rr.material:this.resolvedIcon=this.value||ao;break;default:this.resolvedIcon=null!==(o=tr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ar.elementDefinitions={},ar.styles=ir,nr([C()],ar.prototype,"variant",void 0),nr([C()],ar.prototype,"value",void 0),nr([$()],ar.prototype,"resolvedIcon",void 0),nr([R("slot")],ar.prototype,"slottedContent",void 0),k("ft-icon")(ar);const sr=wo.extend("--ft-ripple-color","",ko.colorContent),lr={color:sr,backgroundColor:wo.extend("--ft-ripple-background-color","",sr),opacityContentOnSurfacePressed:wo.external(ko.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:wo.external(ko.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:wo.external(ko.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:wo.external(ko.opacityContentOnSurfaceSelected,"Design system"),borderRadius:wo.create("--ft-ripple-border-radius","","SIZE","0px")},cr=wo.extend("--ft-ripple-color","",ko.colorPrimary),pr=cr,hr=wo.extend("--ft-ripple-background-color","",cr),fr=wo.extend("--ft-ripple-color","",ko.colorSecondary),dr=fr,ur=wo.extend("--ft-ripple-background-color","",fr),yr=Nt`
306
326
  :host {
307
327
  display: contents;
308
328
  }
@@ -315,7 +335,7 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
315
335
 
316
336
  .ft-ripple:not(.ft-ripple--unbounded) {
317
337
  overflow: hidden;
318
- border-radius: ${rr.borderRadius};
338
+ border-radius: ${lr.borderRadius};
319
339
  }
320
340
 
321
341
  .ft-ripple .ft-ripple--background,
@@ -349,27 +369,27 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
349
369
  }
350
370
 
351
371
  .ft-ripple .ft-ripple--background {
352
- background-color: ${rr.backgroundColor};
372
+ background-color: ${lr.backgroundColor};
353
373
  }
354
374
 
355
375
  .ft-ripple .ft-ripple--effect {
356
- background-color: ${rr.color};
376
+ background-color: ${lr.color};
357
377
  }
358
378
 
359
379
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
360
- background-color: ${cr};
380
+ background-color: ${ur};
361
381
  }
362
382
 
363
383
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
364
- background-color: ${sr};
384
+ background-color: ${dr};
365
385
  }
366
386
 
367
387
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
368
- background-color: ${ar};
388
+ background-color: ${hr};
369
389
  }
370
390
 
371
391
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
372
- background-color: ${nr};
392
+ background-color: ${pr};
373
393
  }
374
394
 
375
395
  .ft-ripple .ft-ripple--background {
@@ -399,22 +419,22 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
399
419
  }
400
420
 
401
421
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
402
- opacity: ${rr.opacityContentOnSurfaceHover};
422
+ opacity: ${lr.opacityContentOnSurfaceHover};
403
423
  }
404
424
 
405
425
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
406
- opacity: ${rr.opacityContentOnSurfaceSelected};
426
+ opacity: ${lr.opacityContentOnSurfaceSelected};
407
427
  }
408
428
 
409
429
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
410
- opacity: ${rr.opacityContentOnSurfaceFocused};
430
+ opacity: ${lr.opacityContentOnSurfaceFocused};
411
431
  }
412
432
 
413
433
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
414
- opacity: ${rr.opacityContentOnSurfacePressed};
434
+ opacity: ${lr.opacityContentOnSurfacePressed};
415
435
  transform: translate(-50%, -50%) scale(1);
416
436
  }
417
- `,fr={color:xt.extend("--ft-loader-color","",$t.colorPrimary),size:xt.create("--ft-loader-size","","SIZE","80px")},dr=m`
437
+ `,gr={color:wo.extend("--ft-loader-color","",ko.colorPrimary),size:wo.create("--ft-loader-size","","SIZE","80px")},br=Nt`
418
438
  :host {
419
439
  line-height: 0;
420
440
  }
@@ -423,8 +443,8 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
423
443
  display: inline-block;
424
444
  position: relative;
425
445
 
426
- width: ${fr.size};
427
- height: ${fr.size};
446
+ width: ${gr.size};
447
+ height: ${gr.size};
428
448
  }
429
449
 
430
450
  .ft-loader div {
@@ -433,7 +453,7 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
433
453
  width: 25%;
434
454
  height: 25%;
435
455
  border-radius: 50%;
436
- background: ${fr.color};
456
+ background: ${gr.color};
437
457
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
438
458
  }
439
459
 
@@ -480,10 +500,10 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
480
500
  transform: translate(0, 0);
481
501
  }
482
502
  100% {
483
- transform: translate(calc(0.35 * ${fr.size}), 0);
503
+ transform: translate(calc(0.35 * ${gr.size}), 0);
484
504
  }
485
505
  }
486
- `,hr=xt.extend("--ft-button-color","",$t.colorPrimary),ur={backgroundColor:xt.extend("--ft-button-background-color","",$t.colorSurface),borderRadius:xt.extend("--ft-button-border-radius","",$t.borderRadiusL),color:hr,fontSize:xt.extend("--ft-button-font-size","",Ee.fontSize),iconSize:xt.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xt.extend("--ft-button-ripple-color","",hr),verticalPadding:xt.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xt.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xt.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xt.external($t.colorOpacityDisabled,"Design system")},yr=xt.extend("--ft-button-primary-color","",xt.extend("--ft-button-color","",$t.colorOnPrimary)),gr={backgroundColor:xt.extend("--ft-button-primary-background-color","",xt.extend("--ft-button-background-color","",$t.colorPrimary)),color:yr,rippleColor:xt.extend("--ft-button-primary-ripple-color","",yr)},br=xt.extend("--ft-button-dense-border-radius","",xt.extend("--ft-button-border-radius","",$t.borderRadiusM)),mr=xt.create("--ft-button-dense-vertical-padding","","SIZE","2px"),vr=xt.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),xr=xt.create("--ft-button-dense-icon-padding","","SIZE","4px"),Or=[m`
506
+ `,mr=wo.extend("--ft-button-color","",ko.colorPrimary),xr={backgroundColor:wo.extend("--ft-button-background-color","",ko.colorSurface),borderRadius:wo.extend("--ft-button-border-radius","",ko.borderRadiusL),color:mr,fontSize:wo.extend("--ft-button-font-size","",Wi.fontSize),iconSize:wo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:wo.extend("--ft-button-ripple-color","",mr),verticalPadding:wo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:wo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:wo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:wo.external(ko.colorOpacityDisabled,"Design system")},vr=wo.extend("--ft-button-primary-color","",wo.extend("--ft-button-color","",ko.colorOnPrimary)),Or={backgroundColor:wo.extend("--ft-button-primary-background-color","",wo.extend("--ft-button-background-color","",ko.colorPrimary)),color:vr,rippleColor:wo.extend("--ft-button-primary-ripple-color","",vr)},Nr=wo.extend("--ft-button-dense-border-radius","",wo.extend("--ft-button-border-radius","",ko.borderRadiusM)),Sr=wo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),wr=wo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Cr=wo.create("--ft-button-dense-icon-padding","","SIZE","4px"),$r=[Nt`
487
507
  :host {
488
508
  display: inline-block;
489
509
  max-width: 100%;
@@ -494,7 +514,7 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
494
514
  box-shadow: 0px 0px 0px transparent;
495
515
  border: 0px solid transparent;
496
516
  text-shadow: 0px 0px 0px transparent;
497
- font-size: ${ur.fontSize};
517
+ font-size: ${xr.fontSize};
498
518
  }
499
519
 
500
520
  button:hover {
@@ -523,31 +543,31 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
523
543
  border: none;
524
544
  pointer-events: auto;
525
545
 
526
- --ft-button-internal-line-height: max(calc(${ur.fontSize} + 2px), ${ur.iconSize});
527
- --ft-button-internal-color: ${ur.color};
528
- ${Ot(Je.size,ur.iconSize)};
529
- ${Ot(rr.color,ur.rippleColor)};
546
+ --ft-button-internal-line-height: max(calc(${xr.fontSize} + 2px), ${xr.iconSize});
547
+ --ft-button-internal-color: ${xr.color};
548
+ ${Co(er.size,xr.iconSize)};
549
+ ${Co(lr.color,xr.rippleColor)};
530
550
 
531
- border-radius: ${ur.borderRadius};
532
- padding: ${ur.verticalPadding} ${ur.horizontalPadding};
533
- background-color: ${ur.backgroundColor};
551
+ border-radius: ${xr.borderRadius};
552
+ padding: ${xr.verticalPadding} ${xr.horizontalPadding};
553
+ background-color: ${xr.backgroundColor};
534
554
  color: var(--ft-button-internal-color);
535
555
  -webkit-mask-image: radial-gradient(white, black);
536
556
  }
537
557
 
538
558
  .ft-button.ft-button--outlined {
539
559
  border: 1px solid var(--ft-button-internal-color);
540
- padding: calc(${ur.verticalPadding} - 1px) calc(${ur.horizontalPadding} - 1px);
560
+ padding: calc(${xr.verticalPadding} - 1px) calc(${xr.horizontalPadding} - 1px);
541
561
  }
542
562
 
543
563
  .ft-button.ft-button--dense {
544
- padding: ${mr} ${vr};
545
- border-radius: ${br};
546
- gap: ${xr};
564
+ padding: ${Sr} ${wr};
565
+ border-radius: ${Nr};
566
+ gap: ${Cr};
547
567
  }
548
568
 
549
569
  .ft-button.ft-button--dense.ft-button--outlined {
550
- padding: calc(${mr} - 1px) calc(${vr} - 1px);
570
+ padding: calc(${Sr} - 1px) calc(${wr} - 1px);
551
571
  }
552
572
 
553
573
  .ft-button:not([disabled]):hover {
@@ -555,22 +575,22 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
555
575
  }
556
576
 
557
577
  .ft-button--round {
558
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ur.verticalPadding});
578
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${xr.verticalPadding});
559
579
  }
560
580
 
561
581
  .ft-button--round.ft-button--dense {
562
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${mr});
582
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Sr});
563
583
  }
564
584
 
565
585
  .ft-button[disabled] {
566
586
  filter: grayscale(1);
567
- opacity: ${ur.opacityDisabled};
587
+ opacity: ${xr.opacityDisabled};
568
588
  }
569
589
 
570
590
  .ft-button.ft-button--primary {
571
- background-color: ${gr.backgroundColor};
572
- --ft-button-internal-color: ${gr.color};
573
- ${Ot(rr.color,gr.rippleColor)};
591
+ background-color: ${Or.backgroundColor};
592
+ --ft-button-internal-color: ${Or.color};
593
+ ${Co(lr.color,Or.rippleColor)};
574
594
  }
575
595
 
576
596
  .ft-button:focus {
@@ -583,13 +603,13 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
583
603
  white-space: nowrap;
584
604
  text-overflow: ellipsis;
585
605
  display: block;
586
- margin: 0 ${ur.iconPadding};
587
- ${Ot(Ee.fontSize,"1em")};
588
- ${Ot(Ee.lineHeight,"var(--ft-button-internal-line-height)")};
606
+ margin: 0 ${xr.iconPadding};
607
+ ${Co(Wi.fontSize,"1em")};
608
+ ${Co(Wi.lineHeight,"var(--ft-button-internal-line-height)")};
589
609
  }
590
610
 
591
611
  .ft-button--dense .ft-button--label {
592
- margin: 0 ${xr};
612
+ margin: 0 ${Cr};
593
613
  }
594
614
 
595
615
  .ft-button--label[hidden] {
@@ -602,13 +622,13 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
602
622
  }
603
623
 
604
624
  .ft-button--label[hidden] + ft-icon {
605
- margin: 0 calc(${ur.horizontalPadding} * -1);
606
- padding: 0 ${ur.verticalPadding};
625
+ margin: 0 calc(${xr.horizontalPadding} * -1);
626
+ padding: 0 ${xr.verticalPadding};
607
627
  }
608
628
 
609
629
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
610
- margin: 0 calc(${vr} * -1);
611
- padding: 0 ${mr};
630
+ margin: 0 calc(${wr} * -1);
631
+ padding: 0 ${Sr};
612
632
  }
613
633
 
614
634
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -617,21 +637,21 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
617
637
  }
618
638
 
619
639
  ft-loader {
620
- ${Ot(fr.size,ur.iconSize)};
621
- ${Ot(fr.color,"var(--ft-button-internal-color)")};
640
+ ${Co(gr.size,xr.iconSize)};
641
+ ${Co(gr.color,"var(--ft-button-internal-color)")};
622
642
  }
623
- `,zt];var Nr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Sr extends Wt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return J`
643
+ `,Mo];var Er=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Rr extends Bo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ro`
624
644
  <style>
625
645
  .ft-ripple .ft-ripple--effect {
626
646
  left: ${this.originX}px;
627
647
  top: ${this.originY}px;
628
648
  }
629
649
  </style>
630
- <div class="${co(t)}">
650
+ <div class="${ye(t)}">
631
651
  <div class="ft-ripple--background"></div>
632
652
  <div class="ft-ripple--effect"></div>
633
653
  </div>
634
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Sr.elementDefinitions={},Sr.styles=pr,Nr([r({type:Boolean})],Sr.prototype,"primary",void 0),Nr([r({type:Boolean})],Sr.prototype,"secondary",void 0),Nr([r({type:Boolean})],Sr.prototype,"unbounded",void 0),Nr([r({type:Boolean})],Sr.prototype,"activated",void 0),Nr([r({type:Boolean})],Sr.prototype,"selected",void 0),Nr([r({type:Boolean})],Sr.prototype,"disabled",void 0),Nr([i()],Sr.prototype,"hovered",void 0),Nr([i()],Sr.prototype,"focused",void 0),Nr([i()],Sr.prototype,"pressed",void 0),Nr([i()],Sr.prototype,"rippling",void 0),Nr([i()],Sr.prototype,"originX",void 0),Nr([i()],Sr.prototype,"originY",void 0),Nr([a(".ft-ripple")],Sr.prototype,"ripple",void 0),Nr([a(".ft-ripple--effect")],Sr.prototype,"rippleEffect",void 0),p("ft-ripple")(Sr);const wr=xt.create("--ft-tooltip-distance","","SIZE","4px"),Cr=xt.create("--ft-tooltip-color","","COLOR","#FFFFFF"),$r=xt.create("--ft-tooltip-background-color","","COLOR","#666666"),Rr=xt.create("--ft-tooltip-z-index","","NUMBER","100"),Er=xt.external($t.borderRadiusS,"Design system"),Ir=xt.create("--ft-tooltip-max-width","","SIZE","150px"),kr=m`
654
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Rr.elementDefinitions={},Rr.styles=yr,Er([C({type:Boolean})],Rr.prototype,"primary",void 0),Er([C({type:Boolean})],Rr.prototype,"secondary",void 0),Er([C({type:Boolean})],Rr.prototype,"unbounded",void 0),Er([C({type:Boolean})],Rr.prototype,"activated",void 0),Er([C({type:Boolean})],Rr.prototype,"selected",void 0),Er([C({type:Boolean})],Rr.prototype,"disabled",void 0),Er([$()],Rr.prototype,"hovered",void 0),Er([$()],Rr.prototype,"focused",void 0),Er([$()],Rr.prototype,"pressed",void 0),Er([$()],Rr.prototype,"rippling",void 0),Er([$()],Rr.prototype,"originX",void 0),Er([$()],Rr.prototype,"originY",void 0),Er([R(".ft-ripple")],Rr.prototype,"ripple",void 0),Er([R(".ft-ripple--effect")],Rr.prototype,"rippleEffect",void 0),k("ft-ripple")(Rr);const Ur=wo.create("--ft-tooltip-distance","","SIZE","4px"),kr=wo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ir=wo.create("--ft-tooltip-background-color","","COLOR","#666666"),Lr=wo.create("--ft-tooltip-z-index","","NUMBER","100"),Wr=wo.external(ko.borderRadiusS,"Design system"),zr=wo.create("--ft-tooltip-max-width","","SIZE","150px"),Kr=Nt`
635
655
  .ft-tooltip--container {
636
656
  display: block;
637
657
  }
@@ -646,21 +666,21 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
646
666
  box-sizing: border-box;
647
667
  overflow: hidden;
648
668
  width: max-content;
649
- max-width: ${Ir};
669
+ max-width: ${zr};
650
670
  text-align: center;
651
- padding: ${wr};
652
- z-index: ${Rr};
671
+ padding: ${Ur};
672
+ z-index: ${Lr};
653
673
  }
654
674
 
655
675
  .ft-tooltip--content {
656
676
  padding: 4px 8px;
657
- border-radius: ${Er};
658
- background-color: ${$r};
659
- color: ${Cr};
677
+ border-radius: ${Wr};
678
+ background-color: ${Ir};
679
+ color: ${kr};
660
680
  position: relative;
661
681
  word-break: break-word;
662
682
  }
663
- `;var Ur=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Lr extends Wt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return J`
683
+ `;var Fr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Zr extends Bo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ro`
664
684
  <div part="container"
665
685
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
666
686
  @mouseenter=${this.onHover}
@@ -678,43 +698,37 @@ class _e extends to{constructor(t){if(super(t),this.et=Q,t.type!==qt)throw Error
678
698
  </div>
679
699
  </div>
680
700
  </div>
681
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=n+"px",l.top=a+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,p=s.x+s.width-window.innerWidth;l.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-s.y,d=s.y+s.height-window.innerHeight;l.top=a+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Ir})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Lr.elementDefinitions={"ft-typography":He},Lr.styles=kr,Ur([r()],Lr.prototype,"text",void 0),Ur([r({type:Boolean})],Lr.prototype,"manual",void 0),Ur([r({type:Boolean})],Lr.prototype,"inline",void 0),Ur([r({type:Number})],Lr.prototype,"delay",void 0),Ur([r()],Lr.prototype,"position",void 0),Ur([
682
- /**
683
- * @license
684
- * Copyright 2017 Google LLC
685
- * SPDX-License-Identifier: BSD-3-Clause
686
- */
687
- function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return n({descriptor:r=>({get(){var r;const i="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(i),a=null!=n?s(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:i,flatten:o,selector:e}):n({descriptor:t=>({get(){var t,o;const e="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(r))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],Lr.prototype,"slotNodes",void 0),Ur([a(".ft-tooltip--container")],Lr.prototype,"container",void 0),Ur([a(".ft-tooltip")],Lr.prototype,"tooltip",void 0),Ur([a(".ft-tooltip--content")],Lr.prototype,"tooltipContent",void 0),Ur([i()],Lr.prototype,"visible",void 0),p("ft-tooltip")(Lr);class Wr extends Wt{render(){return J`
701
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let h=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${zr})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Zr.elementDefinitions={"ft-typography":Gi},Zr.styles=Kr,Fr([C()],Zr.prototype,"text",void 0),Fr([C({type:Boolean})],Zr.prototype,"manual",void 0),Fr([C({type:Boolean})],Zr.prototype,"inline",void 0),Fr([C({type:Number})],Zr.prototype,"delay",void 0),Fr([C()],Zr.prototype,"position",void 0),Fr([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Zr.prototype,"slotNodes",void 0),Fr([R(".ft-tooltip--container")],Zr.prototype,"container",void 0),Fr([R(".ft-tooltip")],Zr.prototype,"tooltip",void 0),Fr([R(".ft-tooltip--content")],Zr.prototype,"tooltipContent",void 0),Fr([$()],Zr.prototype,"visible",void 0),k("ft-tooltip")(Zr);class Ar extends Bo{render(){return ro`
688
702
  <div class="ft-loader">
689
703
  <div></div>
690
704
  <div></div>
691
705
  <div></div>
692
706
  <div></div>
693
707
  </div>
694
- `}}Wr.styles=dr,p("ft-loader")(Wr);var zr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Kr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Gt].form}constructor(...t){super(t),this[Gt]=this.attachInternals(),this[Gt].role=o}setFormValue(t){this[Gt].setFormValue(t)}}}(Wt,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(J`
708
+ `}}Ar.styles=br,k("ft-loader")(Ar);var Br=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[qo].form}constructor(...t){super(t),this[qo]=this.attachInternals(),this[qo].role=o}setFormValue(t){this[qo].setFormValue(t)}}}(Bo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(ro`
695
709
  <button part="button"
696
- class="${co(this.buttonClasses)}"
710
+ class="${ye(this.buttonClasses)}"
697
711
  aria-label="${this.getLabel()}"
698
712
  ?disabled=${this.isDisabled()}>
699
713
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
700
714
  <ft-typography part="label"
701
715
  variant=${this.typographyVariant}
702
716
  element="span"
703
- class="ft-button--label ${Xt?"ft-safari-ellipsis-fix":""}"
717
+ class="ft-button--label ${ee?"ft-safari-ellipsis-fix":""}"
704
718
  ?hidden=${!this.hasTextContent()}>
705
719
  <slot @slotchange=${this.onSlotchange}></slot>
706
720
  </ft-typography>
707
721
  ${this.resolveIcon()}
708
722
  </button>
709
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?J`
723
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ro`
710
724
  <ft-tooltip part="tooltip"
711
725
  text="${this.getLabel()}"
712
726
  position="${this.tooltipPosition}">
713
727
  ${t}
714
728
  </ft-tooltip>
715
- `:t}resolveIcon(){return this.loading?J`
716
- <ft-loader part="loader icon"></ft-loader> `:this.icon?J`
717
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:Q}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Kr.elementDefinitions={"ft-ripple":Sr,"ft-tooltip":Lr,"ft-typography":He,"ft-icon":or,"ft-loader":Wr},zr([r({type:String,reflect:!0})],Kr.prototype,"role",void 0),zr([r()],Kr.prototype,"type",void 0),zr([r({type:Boolean})],Kr.prototype,"disabled",void 0),zr([r()],Kr.prototype,"label",void 0),zr([r()],Kr.prototype,"icon",void 0),zr([r()],Kr.prototype,"iconVariant",void 0),zr([r({type:Boolean})],Kr.prototype,"trailingIcon",void 0),zr([r({type:Boolean})],Kr.prototype,"loading",void 0),zr([r()],Kr.prototype,"tooltipPosition",void 0),zr([r({type:Boolean})],Kr.prototype,"hideTooltip",void 0),zr([r({type:Boolean})],Kr.prototype,"forceTooltip",void 0),zr([a(".ft-button")],Kr.prototype,"button",void 0),zr([a(".ft-button--label slot")],Kr.prototype,"slottedContent",void 0);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,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Kr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Zr.styles=[Kt,Or],Fr([r({type:Boolean})],Zr.prototype,"primary",void 0),Fr([r({type:Boolean})],Zr.prototype,"outlined",void 0),Fr([r({type:Boolean})],Zr.prototype,"dense",void 0),Fr([r({type:Boolean})],Zr.prototype,"round",void 0);const Br=[m`
729
+ `:t}resolveIcon(){return this.loading?ro`
730
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?ro`
731
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ao}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Mr.elementDefinitions={"ft-ripple":Rr,"ft-tooltip":Zr,"ft-typography":Gi,"ft-icon":ar,"ft-loader":Ar},Br([C({type:String,reflect:!0})],Mr.prototype,"role",void 0),Br([C()],Mr.prototype,"type",void 0),Br([C({type:Boolean})],Mr.prototype,"disabled",void 0),Br([C()],Mr.prototype,"label",void 0),Br([C()],Mr.prototype,"icon",void 0),Br([C()],Mr.prototype,"iconVariant",void 0),Br([C({type:Boolean})],Mr.prototype,"trailingIcon",void 0),Br([C({type:Boolean})],Mr.prototype,"loading",void 0),Br([C()],Mr.prototype,"tooltipPosition",void 0),Br([C({type:Boolean})],Mr.prototype,"hideTooltip",void 0),Br([C({type:Boolean})],Mr.prototype,"forceTooltip",void 0),Br([R(".ft-button")],Mr.prototype,"button",void 0),Br([R(".ft-button--label slot")],Mr.prototype,"slottedContent",void 0);var Dr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Pr extends Mr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Pr.styles=[Do,$r],Dr([C({type:Boolean})],Pr.prototype,"primary",void 0),Dr([C({type:Boolean})],Pr.prototype,"outlined",void 0),Dr([C({type:Boolean})],Pr.prototype,"dense",void 0),Dr([C({type:Boolean})],Pr.prototype,"round",void 0);const Hr=[Nt`
718
732
  :host {
719
733
  display: inline-block;
720
734
  max-width: 100%;
@@ -764,7 +778,7 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
764
778
  }
765
779
 
766
780
  .ft-button:focus-visible {
767
- outline-color: ${Ct.focusFocusRingColor};
781
+ outline-color: ${Uo.focusFocusRingColor};
768
782
  outline-style: solid;
769
783
  }
770
784
 
@@ -793,146 +807,146 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
793
807
  /** Primary styles **/
794
808
 
795
809
  .ft-button--primary {
796
- ${Ot(fr.color,Ct.primaryIconColor)};
810
+ ${Co(gr.color,Uo.primaryIconColor)};
797
811
 
798
- ${Ot(rr.color,Ct.primaryStateLayerColor)};
799
- ${Ot(rr.opacityContentOnSurfaceHover,Ct.primaryStateLayerOpacityHover)};
800
- ${Ot(rr.opacityContentOnSurfaceFocused,Ct.primaryStateLayerOpacityFocus)};
801
- ${Ot(rr.opacityContentOnSurfaceSelected,Ct.primaryStateLayerOpacityActive)};
802
- ${Ot(rr.opacityContentOnSurfacePressed,Ct.primaryStateLayerOpacityActive)};
812
+ ${Co(lr.color,Uo.primaryStateLayerColor)};
813
+ ${Co(lr.opacityContentOnSurfaceHover,Uo.primaryStateLayerOpacityHover)};
814
+ ${Co(lr.opacityContentOnSurfaceFocused,Uo.primaryStateLayerOpacityFocus)};
815
+ ${Co(lr.opacityContentOnSurfaceSelected,Uo.primaryStateLayerOpacityActive)};
816
+ ${Co(lr.opacityContentOnSurfacePressed,Uo.primaryStateLayerOpacityActive)};
803
817
 
804
- background-color: ${Ct.primaryBackgroundColor};
805
- color: ${Ct.primaryColor};
818
+ background-color: ${Uo.primaryBackgroundColor};
819
+ color: ${Uo.primaryColor};
806
820
  border-style: none;
807
821
  }
808
822
 
809
823
  .ft-button--primary[disabled] {
810
- opacity: ${Ct.primaryComponentOpacityDisabled};
824
+ opacity: ${Uo.primaryComponentOpacityDisabled};
811
825
  }
812
826
 
813
827
  .ft-button--primary ft-icon {
814
- color: ${Ct.primaryIconColor};
828
+ color: ${Uo.primaryIconColor};
815
829
  }
816
830
 
817
831
  /** Secondary styles **/
818
832
 
819
833
  .ft-button--secondary {
820
- ${Ot(fr.color,Ct.secondaryIconColor)};
834
+ ${Co(gr.color,Uo.secondaryIconColor)};
821
835
 
822
- ${Ot(rr.color,Ct.secondaryStateLayerColor)};
823
- ${Ot(rr.opacityContentOnSurfaceHover,Ct.secondaryStateLayerOpacityHover)};
824
- ${Ot(rr.opacityContentOnSurfaceFocused,Ct.secondaryStateLayerOpacityFocus)};
825
- ${Ot(rr.opacityContentOnSurfaceSelected,Ct.secondaryStateLayerOpacityActive)};
826
- ${Ot(rr.opacityContentOnSurfacePressed,Ct.secondaryStateLayerOpacityActive)};
836
+ ${Co(lr.color,Uo.secondaryStateLayerColor)};
837
+ ${Co(lr.opacityContentOnSurfaceHover,Uo.secondaryStateLayerOpacityHover)};
838
+ ${Co(lr.opacityContentOnSurfaceFocused,Uo.secondaryStateLayerOpacityFocus)};
839
+ ${Co(lr.opacityContentOnSurfaceSelected,Uo.secondaryStateLayerOpacityActive)};
840
+ ${Co(lr.opacityContentOnSurfacePressed,Uo.secondaryStateLayerOpacityActive)};
827
841
 
828
- background-color: ${Ct.secondaryBackgroundColor};
829
- color: ${Ct.secondaryColor};
830
- border-color: ${Ct.secondaryBorderColor};
842
+ background-color: ${Uo.secondaryBackgroundColor};
843
+ color: ${Uo.secondaryColor};
844
+ border-color: ${Uo.secondaryBorderColor};
831
845
  border-style: solid;
832
846
  }
833
847
 
834
848
  .ft-button--secondary[disabled] {
835
- opacity: ${Ct.secondaryComponentOpacityDisabled};
849
+ opacity: ${Uo.secondaryComponentOpacityDisabled};
836
850
  }
837
851
 
838
852
  .ft-button--secondary ft-icon {
839
- color: ${Ct.secondaryIconColor};
853
+ color: ${Uo.secondaryIconColor};
840
854
  }
841
855
 
842
856
  /** Tertiary styles **/
843
857
 
844
858
  .ft-button--tertiary {
845
- ${Ot(fr.color,Ct.tertiaryIconColor)};
859
+ ${Co(gr.color,Uo.tertiaryIconColor)};
846
860
 
847
- ${Ot(rr.color,Ct.tertiaryStateLayerColor)};
848
- ${Ot(rr.opacityContentOnSurfaceHover,Ct.tertiaryStateLayerOpacityHover)};
849
- ${Ot(rr.opacityContentOnSurfaceFocused,Ct.tertiaryStateLayerOpacityFocus)};
850
- ${Ot(rr.opacityContentOnSurfaceSelected,Ct.tertiaryStateLayerOpacityActive)};
851
- ${Ot(rr.opacityContentOnSurfacePressed,Ct.tertiaryStateLayerOpacityActive)};
861
+ ${Co(lr.color,Uo.tertiaryStateLayerColor)};
862
+ ${Co(lr.opacityContentOnSurfaceHover,Uo.tertiaryStateLayerOpacityHover)};
863
+ ${Co(lr.opacityContentOnSurfaceFocused,Uo.tertiaryStateLayerOpacityFocus)};
864
+ ${Co(lr.opacityContentOnSurfaceSelected,Uo.tertiaryStateLayerOpacityActive)};
865
+ ${Co(lr.opacityContentOnSurfacePressed,Uo.tertiaryStateLayerOpacityActive)};
852
866
 
853
- background-color: ${Ct.tertiaryBackgroundColor};
854
- color: ${Ct.tertiaryColor};
867
+ background-color: ${Uo.tertiaryBackgroundColor};
868
+ color: ${Uo.tertiaryColor};
855
869
  border-style: none;
856
870
  }
857
871
 
858
872
  .ft-button--tertiary[disabled] {
859
- opacity: ${Ct.tertiaryComponentOpacityDisabled};
873
+ opacity: ${Uo.tertiaryComponentOpacityDisabled};
860
874
  }
861
875
 
862
876
  .ft-button--tertiary ft-icon {
863
- color: ${Ct.tertiaryIconColor};
877
+ color: ${Uo.tertiaryIconColor};
864
878
  }
865
879
 
866
880
  /** Neutral styles **/
867
881
 
868
882
  .ft-button--neutral {
869
- ${Ot(fr.color,Ct.neutralIconColor)};
883
+ ${Co(gr.color,Uo.neutralIconColor)};
870
884
 
871
- ${Ot(rr.backgroundColor,Ct.neutralStateLayerColor)};
872
- ${Ot(rr.opacityContentOnSurfaceHover,Ct.neutralStateLayerOpacityHover)};
873
- ${Ot(rr.opacityContentOnSurfaceFocused,Ct.neutralStateLayerOpacityFocus)};
874
- ${Ot(rr.opacityContentOnSurfaceSelected,Ct.neutralStateLayerOpacityActive)};
875
- ${Ot(rr.opacityContentOnSurfacePressed,Ct.neutralStateLayerOpacityActive)};
885
+ ${Co(lr.backgroundColor,Uo.neutralStateLayerColor)};
886
+ ${Co(lr.opacityContentOnSurfaceHover,Uo.neutralStateLayerOpacityHover)};
887
+ ${Co(lr.opacityContentOnSurfaceFocused,Uo.neutralStateLayerOpacityFocus)};
888
+ ${Co(lr.opacityContentOnSurfaceSelected,Uo.neutralStateLayerOpacityActive)};
889
+ ${Co(lr.opacityContentOnSurfacePressed,Uo.neutralStateLayerOpacityActive)};
876
890
 
877
- background-color: ${Ct.neutralBackgroundColor};
878
- color: ${Ct.neutralColor};
891
+ background-color: ${Uo.neutralBackgroundColor};
892
+ color: ${Uo.neutralColor};
879
893
  border-style: none;
880
894
  }
881
895
 
882
896
  .ft-button--neutral[disabled] {
883
- opacity: ${Ct.neutralComponentOpacityDisabled};
897
+ opacity: ${Uo.neutralComponentOpacityDisabled};
884
898
  }
885
899
 
886
900
  .ft-button--neutral ft-icon {
887
- color: ${Ct.neutralIconColor};
901
+ color: ${Uo.neutralIconColor};
888
902
  }
889
903
 
890
904
  /** Large styles **/
891
905
 
892
906
  .ft-button--large {
893
- ${Ot(Je.size,Ct.largeIconSize)};
894
- ${Ot(fr.size,Ct.largeIconSize)};
895
-
896
- height: ${Ct.largeHeight};
897
- padding: 0 ${Ct.largeHorizontalPadding};
898
- gap: ${Ct.largeGap};
899
- border-radius: ${Ct.largeBorderRadius};
900
- border-width: ${Ct.largeBorderWidth};
907
+ ${Co(er.size,Uo.largeIconSize)};
908
+ ${Co(gr.size,Uo.largeIconSize)};
909
+
910
+ height: ${Uo.largeHeight};
911
+ padding: 0 ${Uo.largeHorizontalPadding};
912
+ gap: ${Uo.largeGap};
913
+ border-radius: ${Uo.largeBorderRadius};
914
+ border-width: ${Uo.largeBorderWidth};
901
915
  }
902
916
 
903
917
  .ft-button--large:focus-visible {
904
- outline-width: ${Ct.largeFocusOutlineWidth};
905
- outline-offset: ${Ct.largeFocusOutlineOffset};
918
+ outline-width: ${Uo.largeFocusOutlineWidth};
919
+ outline-offset: ${Uo.largeFocusOutlineOffset};
906
920
  }
907
921
 
908
922
  .ft-button--large.ft-button--icon-only {
909
- width: ${Ct.largeIconOnlyWidth};
923
+ width: ${Uo.largeIconOnlyWidth};
910
924
  padding: unset;
911
925
  }
912
926
 
913
927
  /** Small styles **/
914
928
 
915
929
  .ft-button--small {
916
- ${Ot(Je.size,Ct.smallIconSize)};
917
- ${Ot(fr.size,Ct.smallIconSize)};
918
-
919
- height: ${Ct.smallHeight};
920
- padding: 0 ${Ct.smallHorizontalPadding};
921
- gap: ${Ct.smallGap};
922
- border-radius: ${Ct.smallBorderRadius};
923
- border-width: ${Ct.smallBorderWidth};
930
+ ${Co(er.size,Uo.smallIconSize)};
931
+ ${Co(gr.size,Uo.smallIconSize)};
932
+
933
+ height: ${Uo.smallHeight};
934
+ padding: 0 ${Uo.smallHorizontalPadding};
935
+ gap: ${Uo.smallGap};
936
+ border-radius: ${Uo.smallBorderRadius};
937
+ border-width: ${Uo.smallBorderWidth};
924
938
  }
925
939
 
926
940
  .ft-button--small:focus-visible {
927
- outline-width: ${Ct.smallFocusOutlineWidth};
928
- outline-offset: ${Ct.smallFocusOutlineOffset};
941
+ outline-width: ${Uo.smallFocusOutlineWidth};
942
+ outline-offset: ${Uo.smallFocusOutlineOffset};
929
943
  }
930
944
 
931
945
  .ft-button--small.ft-button--icon-only {
932
- width: ${Ct.smallIconOnlyWidth};
946
+ width: ${Uo.smallIconOnlyWidth};
933
947
  padding: unset;
934
948
  }
935
- `,zt];var Ar,Dr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Mr extends Kr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?wo.caption1medium:wo.body2medium}}Mr.styles=[Kt,Br],Dr([r({type:Boolean})],Mr.prototype,"primary",void 0),Dr([r({type:Boolean})],Mr.prototype,"secondary",void 0),Dr([r({type:Boolean})],Mr.prototype,"tertiary",void 0),Dr([r({type:Boolean})],Mr.prototype,"neutral",void 0),Dr([r({type:Boolean})],Mr.prototype,"small",void 0),p("ft-button")(Zr),p("ftds-button")(Mr),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Ar||(Ar={}));const Hr=m`
949
+ `,Mo];var jr,Tr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _r extends Mr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Ue.caption1medium:Ue.body2medium}}_r.styles=[Do,Hr],Tr([C({type:Boolean})],_r.prototype,"primary",void 0),Tr([C({type:Boolean})],_r.prototype,"secondary",void 0),Tr([C({type:Boolean})],_r.prototype,"tertiary",void 0),Tr([C({type:Boolean})],_r.prototype,"neutral",void 0),Tr([C({type:Boolean})],_r.prototype,"small",void 0),k("ft-button")(Pr),k("ftds-button")(_r),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(jr||(jr={}));const Gr=Nt`
936
950
  .ft-size-watcher--pixel {
937
951
  width: 0;
938
952
  height: 0;
@@ -951,34 +965,34 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
951
965
  .ft-size-watcher--local .ft-size-watcher--watcher {
952
966
  width: 100%;
953
967
  }
954
- `;var jr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Pr extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class Tr extends Wt{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Ar.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new o}render(){return J`
968
+ `;var Vr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Yr extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class Xr extends Bo{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=jr.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new o}render(){return ro`
955
969
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
956
970
  <div class="ft-size-watcher--watcher"></div>
957
971
  </div>
958
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Ar.S:this.size<976?this.category=Ar.M:this.size<1024?this.category=Ar.L:this.size<1440?this.category=Ar.XL:this.category=Ar.XXL,this.dispatchEvent(new Pr(this.size,this.category)))}),this.debounceTimeout)}}Tr.elementDefinitions={},Tr.styles=Hr,jr([r({type:Number})],Tr.prototype,"debounceTimeout",void 0),jr([r({type:Boolean})],Tr.prototype,"local",void 0),jr([r({type:Number,reflect:!0})],Tr.prototype,"size",void 0),jr([r({type:String,reflect:!0})],Tr.prototype,"category",void 0),jr([a(".ft-size-watcher--watcher")],Tr.prototype,"watcher",void 0),p("ft-size-watcher")(Tr);const Gr={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},_r={tabulationSize:xt.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:xt.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:xt.extend("--ft-reader-toc-text-color","",$t.colorOnSurface),hoverColor:xt.extend("--ft-reader-toc-hover-color","",$t.colorPrimary),highlightedTextColor:xt.extend("--ft-reader-toc-highlighted-text-color","",$t.colorPrimary),highlightedFontWeight:xt.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:xt.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:xt.create("--ft-reader-toc-icon-font-size","","SIZE","16px")},Vr=m`
972
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=jr.S:this.size<976?this.category=jr.M:this.size<1024?this.category=jr.L:this.size<1440?this.category=jr.XL:this.category=jr.XXL,this.dispatchEvent(new Yr(this.size,this.category)))}),this.debounceTimeout)}}Xr.elementDefinitions={},Xr.styles=Gr,Vr([C({type:Number})],Xr.prototype,"debounceTimeout",void 0),Vr([C({type:Boolean})],Xr.prototype,"local",void 0),Vr([C({type:Number,reflect:!0})],Xr.prototype,"size",void 0),Vr([C({type:String,reflect:!0})],Xr.prototype,"category",void 0),Vr([R(".ft-size-watcher--watcher")],Xr.prototype,"watcher",void 0),k("ft-size-watcher")(Xr);const Jr={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},qr={tabulationSize:wo.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:wo.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:wo.extend("--ft-reader-toc-text-color","",ko.colorOnSurface),hoverColor:wo.extend("--ft-reader-toc-hover-color","",ko.colorPrimary),highlightedTextColor:wo.extend("--ft-reader-toc-highlighted-text-color","",ko.colorPrimary),highlightedFontWeight:wo.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:wo.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:wo.create("--ft-reader-toc-icon-font-size","","SIZE","16px")},Qr=Nt`
959
973
  .ft-reader-toc {
960
- color: ${_r.textColor};
974
+ color: ${qr.textColor};
961
975
  }
962
976
 
963
977
  .ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
964
- background-color: ${_r.highlightedBackgroundColor};
965
- color: ${_r.highlightedTextColor};
966
- ${Ot(Ro.fontWeight,_r.highlightedFontWeight)}
978
+ background-color: ${qr.highlightedBackgroundColor};
979
+ color: ${qr.highlightedTextColor};
980
+ ${Co(Le.fontWeight,qr.highlightedFontWeight)}
967
981
  }
968
982
 
969
983
  .ft-reader-toc--link-container {
970
984
  display: flex;
971
985
  gap: 4px;
972
- padding: ${_r.verticalSpacing} 4px; /* left padding is override on inline style */
986
+ padding: ${qr.verticalSpacing} 4px; /* left padding is override on inline style */
973
987
  align-items: center;
974
988
  }
975
989
 
976
990
  .ft-reader-toc--link-container ft-reader-internal-link:hover {
977
- color: ${_r.hoverColor};
991
+ color: ${qr.hoverColor};
978
992
  }
979
993
 
980
994
  ft-button {
981
- ${Ot(ur.iconSize,_r.iconFontSize)};
995
+ ${Co(xr.iconSize,qr.iconFontSize)};
982
996
  }
983
997
 
984
998
  .ft-reader-toc--toggle-container {
@@ -986,11 +1000,11 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
986
1000
  }
987
1001
 
988
1002
  .ft-reader-toc-mobile .ft-reader-toc--toggle-container {
989
- width: calc(${_r.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
1003
+ width: calc(${qr.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
990
1004
  }
991
1005
 
992
1006
  .ft-reader-toc-desktop .ft-reader-toc--toggle-container {
993
- width: calc(${_r.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
1007
+ width: calc(${qr.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
994
1008
  }
995
1009
 
996
1010
  .ft-reader-toc-expanded .ft-reader-toc--toggle-container {
@@ -1013,20 +1027,20 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
1013
1027
  .ft-reader-toc-expand-collapse-all-justify ft-button {
1014
1028
  flex-grow: 1;
1015
1029
  }
1016
- `;var Yr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Xr extends mo{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=Qe.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.hideIfEmpty=!1,this.empty=!0,this.labels={},this.labelResolver=new Ft(Gr,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=Ar.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var o,e,r;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(o=this.toc)&&void 0!==o?o:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new Ft(Gr,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(e=this.highlightedTocIds)&&void 0!==e?e:[])),this.empty=0===(null!==(r=this.toc)&&void 0!==r?r:[]).length}render(){var t;const o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===Ar.S,"ft-reader-toc-desktop":this.viewportSize!==Ar.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return J`
1017
- ${this.hideIfEmpty&&this.empty?J`
1030
+ `;var tn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class on extends Se{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=rr.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.hideIfEmpty=!1,this.empty=!0,this.labels={},this.labelResolver=new Po(Jr,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=jr.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var o,e,i;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(o=this.toc)&&void 0!==o?o:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new Po(Jr,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(e=this.highlightedTocIds)&&void 0!==e?e:[])),this.empty=0===(null!==(i=this.toc)&&void 0!==i?i:[]).length}render(){var t;const o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===jr.S,"ft-reader-toc-desktop":this.viewportSize!==jr.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return ro`
1031
+ ${this.hideIfEmpty&&this.empty?ro`
1018
1032
  <style>
1019
1033
  :host {
1020
1034
  display: none !important;
1021
1035
  }
1022
1036
  </style>
1023
- `:Q}
1024
- <div class=${co(o)}>
1037
+ `:ao}
1038
+ <div class=${ye(o)}>
1025
1039
  <ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
1026
1040
  ${this.renderExpandCollapseAll()}
1027
- ${so(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
1041
+ ${ue(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
1028
1042
  </div>
1029
- `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?J`
1043
+ `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?ro`
1030
1044
  <div part="expand-collapse-all-container"
1031
1045
  class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
1032
1046
  <ft-button
@@ -1041,16 +1055,16 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
1041
1055
  ${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
1042
1056
  </ft-button>
1043
1057
  </div>
1044
- `:Q}renderNode(t){var o,e,r;const i=null===(o=this.highlightedTocIds)||void 0===o?void 0:o.includes(t.tocId),n=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),a=t.children.length>0,l=this.isCurrentPageToc?(null!==(r=null===(e=this.currentPage)||void 0===e?void 0:e.breadcrumb.length)&&void 0!==r?r:0)+1:0,s=t.depth-1-l,c={"padding-left":`calc( ${_r.tabulationSize} * ${s} + 4px)`};return J`
1045
- <div class="ft-reader-toc--node ${i?"ft-reader-toc--node-highlighted":""}">
1046
- <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${ho(c)}>
1047
- ${this.nodesToExpandExist&&!this.expanded?J`
1058
+ `:ao}renderNode(t){var o,e,i;const r=null===(o=this.highlightedTocIds)||void 0===o?void 0:o.includes(t.tocId),n=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),a=t.children.length>0,s=this.isCurrentPageToc?(null!==(i=null===(e=this.currentPage)||void 0===e?void 0:e.breadcrumb.length)&&void 0!==i?i:0)+1:0,l=t.depth-1-s,c={"padding-left":`calc( ${qr.tabulationSize} * ${l} + 4px)`};return ro`
1059
+ <div class="ft-reader-toc--node ${r?"ft-reader-toc--node-highlighted":""}">
1060
+ <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${me(c)}>
1061
+ ${this.nodesToExpandExist&&!this.expanded?ro`
1048
1062
  <div class="ft-reader-toc--toggle-container">
1049
- ${a?J`
1063
+ ${a?ro`
1050
1064
  <ft-button
1051
1065
  part="expand-collapse-node"
1052
1066
  round hideTooltip
1053
- ?dense=${this.viewportSize!==Ar.S}
1067
+ ?dense=${this.viewportSize!==jr.S}
1054
1068
  label="${this.labelResolver.resolve(n?"collapse":"expand",t.title)}"
1055
1069
  .iconVariant="${this.iconVariant}"
1056
1070
  icon="${n?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
@@ -1060,9 +1074,9 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
1060
1074
  aria-expanded="${n}"
1061
1075
  >
1062
1076
  </ft-button>
1063
- `:Q}
1077
+ `:ao}
1064
1078
  </div>
1065
- `:Q}
1079
+ `:ao}
1066
1080
  <ft-reader-internal-link
1067
1081
  part="node-link"
1068
1082
  tocId="${t.tocId}"
@@ -1070,11 +1084,11 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
1070
1084
  <ft-typography part="node-label" variant="body2">${t.title}</ft-typography>
1071
1085
  </ft-reader-internal-link>
1072
1086
  </div>
1073
- ${a?J`
1087
+ ${a?ro`
1074
1088
  <div class="ft-reader-toc--node-children" id="${t.tocId}-children"
1075
1089
  ?hidden=${!n}>
1076
- ${n?so(t.children,(t=>t.tocId),(t=>this.renderNode(t))):Q}
1090
+ ${n?ue(t.children,(t=>t.tocId),(t=>this.renderNode(t))):ao}
1077
1091
  </div>
1078
- `:Q}
1092
+ `:ao}
1079
1093
  </div>
1080
- `}buildAutomaticallyExpandedNodes(t){var o,e;let r=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of t){let t=i;for(;t&&!r.has(t);)r.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(e=null===(o=this.service)||void 0===o?void 0:o.getTocNodeNow(t))||void 0===e?void 0:e.parentTocId}return r}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}Xr.elementDefinitions={"ft-button":Zr,"ft-reader-internal-link":Ge,"ft-size-watcher":Tr,"ft-typography":He},Xr.styles=Vr,Yr([r({type:Boolean})],Xr.prototype,"expanded",void 0),Yr([r()],Xr.prototype,"iconVariant",void 0),Yr([r()],Xr.prototype,"collapseIcon",void 0),Yr([r()],Xr.prototype,"expandIcon",void 0),Yr([r({type:Boolean})],Xr.prototype,"expandCollapseAll",void 0),Yr([r({type:Boolean})],Xr.prototype,"expandCollapseAllHideLabel",void 0),Yr([r({type:Boolean})],Xr.prototype,"expandCollapseAllTrailingIcon",void 0),Yr([r()],Xr.prototype,"expandCollapseAllAlignment",void 0),Yr([r({type:Boolean})],Xr.prototype,"expandCollapseAllHideIcon",void 0),Yr([r()],Xr.prototype,"expandCollapseAllIconVariant",void 0),Yr([r()],Xr.prototype,"collapseAllIcon",void 0),Yr([r()],Xr.prototype,"expandAllIcon",void 0),Yr([r({type:Boolean})],Xr.prototype,"autoCollapse",void 0),Yr([r()],Xr.prototype,"scope",void 0),Yr([r({type:Boolean})],Xr.prototype,"hideIfEmpty",void 0),Yr([r({type:Boolean,reflect:!0})],Xr.prototype,"empty",void 0),Yr([f({})],Xr.prototype,"labels",void 0),Yr([Tt({selector:(t,o)=>{var e,r,i;return o.isCurrentPageToc?(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)?null===(r=t.currentPage)||void 0===r?void 0:r.toc:void 0:(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)?t.pagesToc:t.toc}})],Xr.prototype,"toc",void 0),Yr([Tt({selector:t=>{var o;return null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc}})],Xr.prototype,"splitToc",void 0),Yr([Tt()],Xr.prototype,"currentPage",void 0),Yr([Tt({selector:(t,o)=>{var e,r;return(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)&&!o.isCurrentPageToc?[null===(r=t.currentPage)||void 0===r?void 0:r.rootTocId]:t.visibleTopics}})],Xr.prototype,"highlightedTocIds",void 0),Yr([i({hasChanged:(t,o)=>!c(t,o)})],Xr.prototype,"automaticallyExpandedNodes",void 0),Yr([i({hasChanged:(t,o)=>!c(t,o)})],Xr.prototype,"manuallyExpandedNodes",void 0),Yr([i({hasChanged:(t,o)=>!c(t,o)})],Xr.prototype,"manuallyCollapsedNodes",void 0),Yr([i()],Xr.prototype,"expandAll",void 0),Yr([i()],Xr.prototype,"viewportSize",void 0),p("ft-reader-toc")(Xr),t.DEFAULT_LABELS=Gr,t.FtReaderToc=Xr,t.FtReaderTocCssVariables=_r,t.styles=Vr}({});
1094
+ `}buildAutomaticallyExpandedNodes(t){var o,e;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let r of t){let t=r;for(;t&&!i.has(t);)i.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(e=null===(o=this.service)||void 0===o?void 0:o.getTocNodeNow(t))||void 0===e?void 0:e.parentTocId}return i}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}on.elementDefinitions={"ft-button":Pr,"ft-reader-internal-link":Ji,"ft-size-watcher":Xr,"ft-typography":Gi},on.styles=Qr,tn([C({type:Boolean})],on.prototype,"expanded",void 0),tn([C()],on.prototype,"iconVariant",void 0),tn([C()],on.prototype,"collapseIcon",void 0),tn([C()],on.prototype,"expandIcon",void 0),tn([C({type:Boolean})],on.prototype,"expandCollapseAll",void 0),tn([C({type:Boolean})],on.prototype,"expandCollapseAllHideLabel",void 0),tn([C({type:Boolean})],on.prototype,"expandCollapseAllTrailingIcon",void 0),tn([C()],on.prototype,"expandCollapseAllAlignment",void 0),tn([C({type:Boolean})],on.prototype,"expandCollapseAllHideIcon",void 0),tn([C()],on.prototype,"expandCollapseAllIconVariant",void 0),tn([C()],on.prototype,"collapseAllIcon",void 0),tn([C()],on.prototype,"expandAllIcon",void 0),tn([C({type:Boolean})],on.prototype,"autoCollapse",void 0),tn([C()],on.prototype,"scope",void 0),tn([C({type:Boolean})],on.prototype,"hideIfEmpty",void 0),tn([C({type:Boolean,reflect:!0})],on.prototype,"empty",void 0),tn([I({})],on.prototype,"labels",void 0),tn([Jo({selector:(t,o)=>{var e,i,r;return o.isCurrentPageToc?(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)?null===(i=t.currentPage)||void 0===i?void 0:i.toc:void 0:(null===(r=t.paginationConfiguration)||void 0===r?void 0:r.splitCurrentPageToc)?t.pagesToc:t.toc}})],on.prototype,"toc",void 0),tn([Jo({selector:t=>{var o;return null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc}})],on.prototype,"splitToc",void 0),tn([Jo()],on.prototype,"currentPage",void 0),tn([Jo({selector:(t,o)=>{var e,i;return(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)&&!o.isCurrentPageToc?[null===(i=t.currentPage)||void 0===i?void 0:i.rootTocId]:t.visibleTopics}})],on.prototype,"highlightedTocIds",void 0),tn([$({hasChanged:(t,o)=>!U(t,o)})],on.prototype,"automaticallyExpandedNodes",void 0),tn([$({hasChanged:(t,o)=>!U(t,o)})],on.prototype,"manuallyExpandedNodes",void 0),tn([$({hasChanged:(t,o)=>!U(t,o)})],on.prototype,"manuallyCollapsedNodes",void 0),tn([$()],on.prototype,"expandAll",void 0),tn([$()],on.prototype,"viewportSize",void 0),k("ft-reader-toc")(on),t.DEFAULT_LABELS=Jr,t.FtReaderToc=on,t.FtReaderTocCssVariables=qr,t.styles=Qr}({});