@fluid-topics/ft-reader-topic-metadata 1.0.59 → 1.0.60

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.
@@ -14,55 +14,55 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.customElements.define,e=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=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,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);d(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=e.call(o,t);c||(c=p(t),i.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)r.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){const i=this._definitionsByTag.get(t);return i?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.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,i,e){let o=this._awaitingUpgrade.get(i);o||this._awaitingUpgrade.set(i,o=new Set),e?o.add(t):o.delete(t)}},window.HTMLElement=function(){let i=l;if(i)return l=void 0,i;const e=s.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),n.set(i,e),i},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let i=t.getRootNode();if(!h(i)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=a.get(i)?.getRootNode()||document)}return i.customElements},p=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const o=c(e)||window.customElements,n=o._getDefinition(i);return n?u(e,n):r.set(e,o),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,i,e)=>{if(0===i.size||void 0===e)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(i.has(r)){const t=this.getAttribute(r);o.call(this,r,n),e.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(i.has(o)){const t=this.getAttribute(o);n.call(this,o),e.call(this,o,t,null)}else n.call(this,o)})},f=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):f(e)},u=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),n.set(t,i),l=t;try{new i.elementClass}catch(t){f(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=v.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let b=[document];const x=(t,i,e=void 0)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){b.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const g=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){b.push(this),e.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const o=i.call(this,...e);return t.set(o,this),o},e.forEach((i=>{const e=window.ElementInternals.prototype,o=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==n.get(e).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...i)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),n=i.get(o)||[];this[+e]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),i=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||i.push(e)}return new r(i)}})}}try{window.customElements.define("custom-element",null)}catch(Pe){const t=window.customElements.define;window.customElements.define=(i,e,o)=>{if(null!==e)try{t.bind(window.customElements)(i,e,o)}catch(t){console.info(i,e,o,t)}}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){return this.callbacks=[t],this.debounce(i)}queue(t,i){return this.callbacks.push(t),this.debounce(i)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,i)=>{this.resolvePromise=t,this.rejectPromise=i}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,i;const e=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(i=this.resolvePromise)&&void 0!==i?i:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ 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,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,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 l=r.prototype.attributeChangedCallback,s=new Set(r.observedAttributes||[]);h(r,s,l);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(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=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),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=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 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)}},h=(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)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),s=t;try{new o.elementClass}catch(t){d(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 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&&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 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)throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`);i?.call(this,...o)}}));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(_e){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
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const e=(t,i)=>"method"===i.kind&&i.descriptor&&!("value"in i.descriptor)?{...i,finisher(e){e.createProperty(i.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:i.key,initializer(){"function"==typeof i.initializer&&(this[i.key]=i.initializer.call(this))},finisher(e){e.createProperty(i.key,t)}};function o(t){return(i,o)=>void 0!==o?((t,i,e)=>{i.constructor.createProperty(e,t)})(t,i,o):e(t,i)
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 i(t){return(o,i)=>void 0!==i?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,i):e(t,o)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function n(t){return o({...t,state:!0})}
27
+ */}function r(t){return i({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */const r=({finisher:t,descriptor:i})=>(e,o)=>{var n;if(void 0===o){const o=null!==(n=e.originalKey)&&void 0!==n?n:e.key,r=null!=i?{kind:"method",placement:"prototype",key:o,descriptor:i(e.key)}:{...e,key:o};return null!=t&&(r.finisher=function(i){t(i,o)}),r}{const n=e.constructor;void 0!==i&&Object.defineProperty(e,o,i(o)),null==t||t(n,o)}}
32
+ */const n=({finisher:t,descriptor:o})=>(e,i)=>{var r;if(void 0===i){const i=null!==(r=e.originalKey)&&void 0!==r?r:e.key,n=null!=o?{kind:"method",placement:"prototype",key:i,descriptor:o(e.key)}:{...e,key:i};return null!=t&&(n.finisher=function(o){t(o,i)}),n}{const r=e.constructor;void 0!==o&&Object.defineProperty(e,i,o(i)),null==t||t(r,i)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */;function s(t,i){return r({descriptor:e=>{const o={get(){var i,e;return null!==(e=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(i){const i="symbol"==typeof e?Symbol():"__"+e;o.get=function(){var e,o;return void 0===this[i]&&(this[i]=null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null),this[i]}}return o}})}
37
+ */;function a(t,o){return n({descriptor:e=>{const i={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;i.get=function(){var e,i;return void 0===this[o]&&(this[o]=null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null),this[o]}}return i}})}
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2021 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */var a;const l=null!=(null===(a=window.HTMLSlotElement)||void 0===a?void 0:a.prototype.assignedElements)?(t,i)=>t.assignedElements(i):(t,i)=>t.assignedNodes(i).filter((t=>t.nodeType===Node.ELEMENT_NODE));function h(t,i){try{return function(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;var e,o,n;if(Array.isArray(t)){if((e=t.length)!=i.length)return!1;for(o=e;0!=o--;)if(!h(t[o],i[o]))return!1;return!0}if(t instanceof Map&&i instanceof Map){if(t.size!==i.size)return!1;for(o of t.entries())if(!i.has(o[0]))return!1;for(o of t.entries())if(!h(o[1],i.get(o[0])))return!1;return!0}if(t instanceof Set&&i instanceof Set){if(t.size!==i.size)return!1;for(o of t.entries())if(!i.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if((e=(n=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(o=e;0!=o--;)if(!Object.prototype.hasOwnProperty.call(i,n[o]))return!1;for(o=e;0!=o--;){var r=n[o];if(!h(t[r],i[r]))return!1}return!0}return t!=t&&i!=i}(t,i)}catch(t){return!1}}const c=t=>i=>{window.customElements.get(t)||window.customElements.define(t,i)};
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,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!c(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(!c(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(!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)};
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2019 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const p=window,d=p.ShadowRoot&&(void 0===p.ShadyCSS||p.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,f=Symbol(),u=new WeakMap;let v=class{constructor(t,i,e){if(this._$cssResult$=!0,e!==f)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=i}get styleSheet(){let t=this.o;const i=this.t;if(d&&void 0===t){const e=void 0!==i&&1===i.length;e&&(t=u.get(i)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&u.set(i,t))}return t}toString(){return this.cssText}};const b=t=>new v("string"==typeof t?t:t+"",void 0,f),x=(t,...i)=>{const e=1===t.length?t[0]:i.reduce(((i,e,o)=>i+(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[o+1]),t[0]);return new v(e,t,f)},g=(t,i)=>{d?t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):i.forEach((i=>{const e=document.createElement("style"),o=p.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}))},y=d?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let i="";for(const e of t.cssRules)i+=e.cssText;return b(i)})(t):t
48
+ const f=window,h=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),u=new WeakMap;let y=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==d)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=u.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&u.set(o,t))}return t}toString(){return this.cssText}};const g=t=>new y("string"==typeof t?t:t+"",void 0,d),b=(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 y(e,t,d)},m=(t,o)=>{h?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=f.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))},v=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return g(o)})(t):t
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */;var m;const w=window,$=w.trustedTypes,O=$?$.emptyScript:"",S=w.reactiveElementPolyfillSupport,k={toAttribute(t,i){switch(i){case Boolean:t=t?O:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let e=t;switch(i){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}},C=(t,i)=>i!==t&&(i==i||t==t),E={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:C};let N=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,e)=>{const o=this._$Ep(e,i);void 0!==o&&(this._$Ev.set(o,e),t.push(o))})),t}static createProperty(t,i=E){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,e,i);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,i,e){return{get(){return this[i]},set(o){const n=this[t];this[i]=o,this.requestUpdate(t,n,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,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of i)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)i.unshift(y(t))}else void 0!==t&&i.push(y(t));return i}static _$Ep(t,i){const e=i.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 i,e;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const i=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return g(i,this.constructor.elementStyles),i}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 i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,e){this._$AK(t,e)}_$EO(t,i,e=E){var o;const n=this.constructor._$Ep(t,e);if(void 0!==n&&!0===e.reflect){const r=(void 0!==(null===(o=e.converter)||void 0===o?void 0:o.toAttribute)?e.converter:k).toAttribute(i,e.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,i){var e;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:k;this._$El=n,this[n]=r.fromAttribute(i,t.type),this._$El=null}}requestUpdate(t,i,e){let o=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||C)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):o=!1),!this.isUpdatePending&&o&&(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,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const e=this._$AL;try{i=this.shouldUpdate(e),i?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(e)):this._$Ek()}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(e)}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.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,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
53
+ */;var x;const O=window,N=O.trustedTypes,S=N?N.emptyScript:"",w=O.reactiveElementPolyfillSupport,C={toAttribute(t,o){switch(o){case Boolean:t=t?S: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}},$=(t,o)=>o!==t&&(o==o||t==t),R={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:$};let E=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 i=this._$Ep(e,o);void 0!==i&&(this._$Ev.set(i,e),t.push(i))})),t}static createProperty(t,o=R){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,i=this.getPropertyDescriptor(t,e,o);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(i){const r=this[t];this[o]=i,this.requestUpdate(t,r,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||R}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(v(t))}else void 0!==t&&o.push(v(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 m(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=R){var i;const r=this.constructor._$Ep(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==(null===(i=e.converter)||void 0===i?void 0:i.toAttribute)?e.converter:C).toAttribute(o,e.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,o){var e;const i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=i.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:C;this._$El=r,this[r]=n.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let i=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||$)(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))):i=!1),!this.isUpdatePending&&i&&(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){}};
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var R;N.finalized=!0,N.elementProperties=new Map,N.elementStyles=[],N.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:N}),(null!==(m=w.reactiveElementVersions)&&void 0!==m?m:w.reactiveElementVersions=[]).push("1.6.1");const M=window,z=M.trustedTypes,j=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",U=`lit$${(Math.random()+"").slice(9)}$`,B="?"+U,T=`<${B}>`,I=document,A=()=>I.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,D="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,K=/>/g,H=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),X=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Y=new WeakMap,Q=I.createTreeWalker(I,129,null,!1),tt=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=_;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(s.lastIndex=c,l=s.exec(e),null!==l);)c=s.lastIndex,s===_?"!--"===l[1]?s=W:void 0!==l[1]?s=K:void 0!==l[2]?(J.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=H):void 0!==l[3]&&(s=H):s===H?">"===l[0]?(s=null!=n?n:_,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?H:'"'===l[3]?V:Z):s===V||s===Z?s=H:s===W||s===K?s=_:(s=H,n=void 0);const p=s===H&&t[i+1].startsWith("/>")?" ":"";r+=s===_?e+T:h>=0?(o.push(a),e.slice(0,h)+F+e.slice(h)+U+p):e+U+(-2===h?(o.push(void 0),i):p)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(a):a,o]};class it{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=tt(t,i);if(this.el=it.createElement(l,e),Q.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=Q.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(F)||i.startsWith(U)){const e=h[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+F).split(U),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?st:"?"===i[1]?lt:"@"===i[1]?ht:rt})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(J.test(o.tagName)){const t=o.textContent.split(U),i=t.length-1;if(i>0){o.textContent=z?z.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],A()),Q.nextNode(),a.push({type:2,index:++n});o.append(t[i],A())}}}else if(8===o.nodeType)if(o.data===B)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(U,t+1));)a.push({type:7,index:n}),t+=U.length-1}n++}}static createElement(t,i){const e=I.createElement("template");return e.innerHTML=t,e}}function et(t,i,e=t,o){var n,r,s,a;if(i===X)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=L(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=et(t,l._$AS(t,i.values),l,o)),i}class ot{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:I).importNode(e,!0);Q.currentNode=n;let r=Q.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new nt(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new ct(r,this,t)),this._$AV.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=Q.nextNode(),s++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class nt{constructor(t,i,e,o){var n;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=et(this,t,i),L(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=it.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new ot(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=Y.get(t.strings);return void 0===i&&Y.set(t.strings,i=new it(t)),i}T(t){P(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new nt(this.k(A()),this.k(A()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class rt{constructor(t,i,e,o,n){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=G}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=et(this,t,i,0),r=!L(t)||t!==this._$AH&&t!==X,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=et(this,o[e+s],i,s),a===X&&(a=this._$AH[s]),r||(r=!L(a)||a!==this._$AH[s]),a===G?t=G:t!==G&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class st extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const at=z?z.emptyScript:"";class lt extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends rt{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=et(this,t,i,0))&&void 0!==e?e:G)===X)return;const o=this._$AH,n=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==G&&(o===G||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class ct{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){et(this,t)}}const pt=M.litHtmlPolyfillSupport;null==pt||pt(it,nt),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.7.3");
59
+ var k;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:E}),(null!==(x=O.reactiveElementVersions)&&void 0!==x?x:O.reactiveElementVersions=[]).push("1.6.1");const I=window,U=I.trustedTypes,L=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,W="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,K="?"+z,F=`<${K}>`,Z=document,B=()=>Z.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,A="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,P=/>/g,T=RegExp(`>|${A}(?:([^\\s"'>=/]+)(${A}*=${A}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,_=/"/g,Y=/^(?:script|style|textarea|title)$/i,V=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),X=new WeakMap,Q=Z.createTreeWalker(Z,129,null,!1),tt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=H;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===H?"!--"===s[1]?a=j:void 0!==s[1]?a=P:void 0!==s[2]?(Y.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=T):void 0!==s[3]&&(a=T):a===T?">"===s[0]?(a=null!=r?r:H,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?T:'"'===s[3]?_:G):a===_||a===G?a=T:a===j||a===P?a=H:(a=T,r=void 0);const f=a===T&&t[o+1].startsWith("/>")?" ":"";n+=a===H?e+F:c>=0?(i.push(l),e.slice(0,c)+W+e.slice(c)+z+f):e+z+(-2===c?(i.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!==L?L.createHTML(l):l,i]};class ot{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=tt(t,o);if(this.el=ot.createElement(s,e),Q.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(i=Q.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const o of i.getAttributeNames())if(o.endsWith(W)||o.startsWith(z)){const e=c[n++];if(t.push(o),void 0!==e){const t=i.getAttribute(e.toLowerCase()+W).split(z),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:o[2],strings:t,ctor:"."===o[1]?at:"?"===o[1]?st:"@"===o[1]?ct:nt})}else l.push({type:6,index:r})}for(const o of t)i.removeAttribute(o)}if(Y.test(i.tagName)){const t=i.textContent.split(z),o=t.length-1;if(o>0){i.textContent=U?U.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],B()),Q.nextNode(),l.push({type:2,index:++r});i.append(t[o],B())}}}else if(8===i.nodeType)if(i.data===K)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(z,t+1));)l.push({type:7,index:r}),t+=z.length-1}r++}}static createElement(t,o){const e=Z.createElement("template");return e.innerHTML=t,e}}function et(t,o,e=t,i){var r,n,a,l;if(o===J)return o;let s=void 0!==i?null===(r=e._$Co)||void 0===r?void 0:r[i]: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,i)),void 0!==i?(null!==(a=(l=e)._$Co)&&void 0!==a?a:l._$Co=[])[i]=s:e._$Cl=s),void 0!==s&&(o=et(t,s._$AS(t,o.values),s,i)),o}class it{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:i}=this._$AD,r=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:Z).importNode(e,!0);Q.currentNode=r;let n=Q.nextNode(),a=0,l=0,s=i[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new rt(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new pt(n,this,t)),this._$AV.push(o),s=i[++l]}a!==(null==s?void 0:s.index)&&(n=Q.nextNode(),a++)}return r}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 rt{constructor(t,o,e,i){var r;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=et(this,t,o),D(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==J&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>M(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==q&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(Z.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ot.createElement(i.h,this.options)),i);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===r)this._$AH.v(e);else{const t=new it(r,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=X.get(t.strings);return void 0===o&&X.set(t.strings,o=new ot(t)),o}T(t){M(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 rt(this.k(B()),this.k(B()),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){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 nt{constructor(t,o,e,i,r){this.type=1,this._$AH=q,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=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=et(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==J,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=et(this,i[e+a],o,a),l===J&&(l=this._$AH[a]),n||(n=!D(l)||l!==this._$AH[a]),l===q?t=q:t!==q&&(t+=(null!=l?l:"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class at extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const lt=U?U.emptyScript:"";class st extends nt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class ct extends nt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=et(this,t,o,0))&&void 0!==e?e:q)===J)return;const i=this._$AH,r=t===q&&i!==q||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==q&&(i===q||r);r&&this.element.removeEventListener(this.name,this,i),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 pt{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){et(this,t)}}const ft=I.litHtmlPolyfillSupport;null==ft||ft(ot,rt),(null!==(k=I.litHtmlVersions)&&void 0!==k?k:I.litHtmlVersions=[]).push("2.7.3");
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- var dt,ft;let ut=class extends N{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,i,e)=>{var o,n;const r=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:i;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new nt(i.insertBefore(A(),t),t,void 0,null!=e?e:{})}return s._$AI(t),s})(i,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 X}};ut.finalized=!0,ut._$litElement$=!0,null===(dt=globalThis.litElementHydrateSupport)||void 0===dt||dt.call(globalThis,{LitElement:ut});const vt=globalThis.litElementPolyfillSupport;null==vt||vt({LitElement:ut}),(null!==(ft=globalThis.litElementVersions)&&void 0!==ft?ft:globalThis.litElementVersions=[]).push("3.3.2");class bt{static create(t,i,e){let o=t=>b(null!=t?t:e),n=x`var(${b(t)}, ${o(e)})`;return n.name=t,n.category=i,n.defaultValue=e,n.defaultCssValue=o,n.get=i=>x`var(${b(t)}, ${o(i)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>e,n}static extend(t,i,e){let o=t=>i.get(null!=t?t:e),n=x`var(${b(t)}, ${o(e)})`;return n.name=t,n.category=i.category,n.fallbackVariable=i,n.defaultValue=e,n.defaultCssValue=o,n.get=i=>x`var(${b(t)}, ${o(i)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>e,n}static external(t,i){let e=i=>t.fallbackVariable?t.fallbackVariable.get(null!=i?i:t.defaultValue):b(null!=i?i:t.defaultValue),o=x`var(${b(t.name)}, ${e(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=i,o.defaultCssValue=e,o.get=i=>x`var(${b(t.name)}, ${e(i)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var i,e;return null!==(i=t.defaultValue)&&void 0!==i?i:null===(e=t.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()},o}}function xt(t,i){return b(`${t.name}: ${i}`)}const gt={colorPrimary:bt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:bt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:bt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:bt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:bt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:bt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bt.create("--ft-color-error","COLOR","#B00020"),colorOutline:bt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:bt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:bt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:bt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:bt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:bt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:bt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:bt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:bt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:bt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:bt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:bt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:bt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:bt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:bt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:bt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:bt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:bt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:bt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:bt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:bt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:bt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:bt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:bt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:bt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:bt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:bt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:bt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:bt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:bt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class yt extends ut{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([i,e])=>t.registry.define(i,e))));const i={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(i);return g(e,t.elementStyles),e}}var mt,wt=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const $t=Symbol("constructorPrototype"),Ot=Symbol("constructorName"),St=Symbol("exportpartsDebouncer");class kt extends yt{constructor(){super(),this[mt]=new i(5),this[Ot]=this.constructor.name,this[$t]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ot]&&Object.setPrototypeOf(this,this[$t])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var i,e;if((null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.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[St].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 i,e,o,n,r,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const i=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],e=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...i,...e).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((i=>`${t}:${i}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}mt=St,wt([o()],kt.prototype,"exportpartsPrefix",void 0),wt([function(t,i){const e=()=>JSON.parse(JSON.stringify(t));return o({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,i)=>!h(t,i),...null!=i?i:{}})}([])],kt.prototype,"exportpartsPrefixes",void 0),wt([o()],kt.prototype,"customStylesheet",void 0);const Ct=x`
65
+ var ht,dt;let ut=class extends E{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 i,r;const n=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:o;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new rt(o.insertBefore(B(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return J}};ut.finalized=!0,ut._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:ut});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:ut}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.3.2");const gt=t=>"string"==typeof t?g(t):t;class bt{static create(t,o,e,i){const r=t=>gt(null!=t?t:i),n=b`var(${gt(t)}, ${r(i)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>b`var(${gt(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=b`var(${gt(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=>b`var(${gt(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):gt(null!=o?o:t.lastResortDefaultValue()),i=b`var(${gt(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=>b`var(${gt(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function mt(t,o){return gt(`${t.name}: ${o}`)}const vt={colorWhite:bt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:bt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:bt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:bt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:bt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:bt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:bt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:bt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:bt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:bt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:bt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:bt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:bt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:bt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:bt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:bt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:bt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:bt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:bt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:bt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:bt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:bt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:bt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:bt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:bt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:bt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:bt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:bt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:bt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:bt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:bt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:bt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:bt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:bt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:bt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:bt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:bt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:bt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:bt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:bt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:bt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:bt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:bt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:bt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:bt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:bt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:bt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:bt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:bt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:bt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:bt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:bt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:bt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:bt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:bt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:bt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:bt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:bt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:bt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:bt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:bt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:bt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:bt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:bt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:bt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:bt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:bt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:bt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:bt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:bt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:bt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:bt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:bt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:bt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:bt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:bt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:bt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:bt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:bt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:bt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:bt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:bt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:bt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:bt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:bt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:bt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:bt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:bt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:bt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:bt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:bt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:bt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:bt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:bt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:bt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:bt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:bt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:bt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:bt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:bt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:bt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:bt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:bt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:bt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:bt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:bt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:bt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:bt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:bt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:bt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:bt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:bt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:bt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:bt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:bt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:bt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:bt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:bt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:bt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:bt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:bt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:bt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:bt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:bt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:bt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:bt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:bt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:bt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:bt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:bt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:bt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:bt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:bt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:bt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:bt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:bt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:bt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:bt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:bt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:bt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:bt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:bt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:bt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:bt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:bt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:bt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:bt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:bt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:bt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:bt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:bt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:bt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:bt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:bt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:bt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:bt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:bt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:bt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:bt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:bt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:bt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:bt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:bt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:bt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:bt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:bt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:bt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:bt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:bt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:bt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:bt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:bt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:bt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:bt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:bt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:bt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:bt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:bt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:bt.create("--ft-opacity-0","","NUMBER","0"),opacity8:bt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:bt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:bt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:bt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:bt.create("--ft-opacity-80","","NUMBER","0.8")},xt={display:{fontFamily:bt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:bt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:bt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:bt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:bt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:bt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:bt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:bt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:bt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:bt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:bt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:bt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:bt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:bt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:bt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:bt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:bt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:bt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:bt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:bt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:bt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:bt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:bt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:bt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:bt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:bt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:bt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:bt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:bt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ot={backgroundActionPrimary:bt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",vt.colorBrand0),backgroundErrorPrimary:bt.extend("--ft-background-error-primary","Used as background of error components.",vt.colorRed0),backgroundErrorSubtle:bt.extend("--ft-background-error-subtle","Used as background of subtle error components.",vt.colorRed10),backgroundInfoPrimary:bt.extend("--ft-background-info-primary","Used as background of information components.",vt.colorCyan200),backgroundInfoSubtle:bt.extend("--ft-background-info-subtle","Used as background of subtle information components.",vt.colorCyan10),backgroundWarningPrimary:bt.extend("--ft-background-warning-primary","Used as background of warning components.",vt.colorOrange300),backgroundWarningSubtle:bt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",vt.colorOrange10),backgroundSuccessPrimary:bt.extend("--ft-background-success-primary","Used as background of success components.",vt.colorGreen200),backgroundSuccessSubtle:bt.extend("--ft-background-success-subtle","Used as background of subtle success components.",vt.colorGreen10),backgroundGlobalSurface:bt.extend("--ft-background-global-surface","Used as app background.",vt.colorWhite),backgroundGlobalOnSurface:bt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",vt.colorGray10),backgroundGlobalOnSurfaceDark:bt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",vt.colorGray30),contentActionPrimary:bt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",vt.colorBrand0),contentWarningPrimary:bt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",vt.colorOrange300),contentWarningIconOnly:bt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",vt.colorOrange0),contentErrorPrimary:bt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",vt.colorRed0),contentErrorIconOnly:bt.extend("--ft-content-error-icon-only","Used on error status icons alone",vt.colorRed0),contentInfoPrimary:bt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",vt.colorCyan200),contentInfoIconOnly:bt.extend("--ft-content-info-icon-only","Used on info status icons alone",vt.colorCyan0),contentSuccessIconOnly:bt.extend("--ft-content-success-icon-only","Used on success status icons alone",vt.colorGreen0),contentSuccessPrimary:bt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",vt.colorGreen200),contentGlobalPrimary:bt.extend("--ft-content-global-primary","Used for main content on the page.",vt.colorGray500),contentGlobalSecondary:bt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",vt.colorGray200),contentGlobalSubtle:bt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",vt.colorGray0),contentGlobalOnColor:bt.extend("--ft-content-global-on-color","Used for content on a dominant color.",vt.colorWhite),borderActionPrimary:bt.extend("--ft-border-action-primary","Used as border for primary action components.",vt.colorBrand0),borderActionFocusRing:bt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",vt.colorCyan0),borderWarningPrimary:bt.extend("--ft-border-warning-primary","Used as border for warning components.",vt.colorOrange30),borderSuccessPrimary:bt.extend("--ft-border-success-primary","Used as border for success components.",vt.colorGreen30),borderErrorPrimary:bt.extend("--ft-border-error-primary","Used as border for error components.",vt.colorRed30),borderInfoPrimary:bt.extend("--ft-border-info-primary","Used as border for information components.",vt.colorCyan30),borderGlobalSubtle:bt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",vt.colorGray30),borderGlobalPrimary:bt.extend("--ft-border-global-primary","Used as border for element like input.",vt.colorGray50),borderInputPrimary:bt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",vt.colorGray80)},Nt={largeHeight:bt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:bt.extend("--ft-button-large-horizontal-padding","",vt.spacing4),largeGap:bt.extend("--ft-button-large-gap","",vt.spacing2),largeBorderRadius:bt.extend("--ft-button-large-border-radius","",vt.borderRadiusS),largeIconSize:bt.extend("--ft-button-large-icon-size","",vt.iconSize3),largeBorderWidth:bt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:bt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:bt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:bt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:bt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:bt.extend("--ft-button-small-horizontal-padding","",vt.spacing3),smallGap:bt.extend("--ft-button-small-gap","",vt.spacing2),smallBorderRadius:bt.extend("--ft-button-small-border-radius","",vt.borderRadiusS),smallIconSize:bt.extend("--ft-button-small-icon-size","",vt.iconSize2),smallBorderWidth:bt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:bt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:bt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:bt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:bt.extend("--ft-button-primary-background-color","",Ot.backgroundActionPrimary),primaryColor:bt.extend("--ft-button-primary-color","",Ot.contentGlobalOnColor),primaryIconColor:bt.extend("--ft-button-primary-icon-color","",Ot.contentGlobalOnColor),primaryStateLayerColor:bt.extend("--ft-button-primary-state-layer-color","",Ot.contentGlobalOnColor),primaryStateLayerOpacityHover:bt.extend("--ft-button-primary-state-layer-opacity-hover","",vt.opacity16),primaryStateLayerOpacityFocus:bt.extend("--ft-button-primary-state-layer-opacity-focus","",vt.opacity16),primaryStateLayerOpacityActive:bt.extend("--ft-button-primary-state-layer-opacity-active","",vt.opacity24),primaryComponentOpacityDisabled:bt.extend("--ft-button-primary-component-opacity-disabled","",vt.opacity40),focusFocusRingColor:bt.extend("--ft-button-focus-focus-ring-color","",Ot.borderActionFocusRing),tertiaryBackgroundColor:bt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:bt.extend("--ft-button-tertiary-color","",Ot.contentActionPrimary),tertiaryIconColor:bt.extend("--ft-button-tertiary-icon-color","",Ot.contentActionPrimary),tertiaryStateLayerColor:bt.extend("--ft-button-tertiary-state-layer-color","",Ot.contentActionPrimary),tertiaryStateLayerOpacityHover:bt.extend("--ft-button-tertiary-state-layer-opacity-hover","",vt.opacity8),tertiaryStateLayerOpacityFocus:bt.extend("--ft-button-tertiary-state-layer-opacity-focus","",vt.opacity8),tertiaryStateLayerOpacityActive:bt.extend("--ft-button-tertiary-state-layer-opacity-active","",vt.opacity16),tertiaryComponentOpacityDisabled:bt.extend("--ft-button-tertiary-component-opacity-disabled","",vt.opacity40),secondaryBackgroundColor:bt.extend("--ft-button-secondary-background-color","",vt.colorWhite),secondaryColor:bt.extend("--ft-button-secondary-color","",Ot.contentActionPrimary),secondaryIconColor:bt.extend("--ft-button-secondary-icon-color","",Ot.contentActionPrimary),secondaryStateLayerColor:bt.extend("--ft-button-secondary-state-layer-color","",Ot.contentActionPrimary),secondaryStateLayerOpacityHover:bt.extend("--ft-button-secondary-state-layer-opacity-hover","",vt.opacity8),secondaryStateLayerOpacityFocus:bt.extend("--ft-button-secondary-state-layer-opacity-focus","",vt.opacity8),secondaryStateLayerOpacityActive:bt.extend("--ft-button-secondary-state-layer-opacity-active","",vt.opacity16),secondaryComponentOpacityDisabled:bt.extend("--ft-button-secondary-component-opacity-disabled","",vt.opacity40),secondaryBorderColor:bt.extend("--ft-button-secondary-border-color","",Ot.borderActionPrimary),neutralBackgroundColor:bt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:bt.extend("--ft-button-neutral-icon-color","",Ot.contentGlobalSecondary),neutralColor:bt.extend("--ft-button-neutral-color","",Ot.contentGlobalSecondary),neutralStateLayerColor:bt.extend("--ft-button-neutral-state-layer-color","",Ot.contentGlobalSecondary),neutralStateLayerOpacityHover:bt.extend("--ft-button-neutral-state-layer-opacity-hover","",vt.opacity8),neutralStateLayerOpacityFocus:bt.extend("--ft-button-neutral-state-layer-opacity-focus","",vt.opacity8),neutralStateLayerOpacityActive:bt.extend("--ft-button-neutral-state-layer-opacity-active","",vt.opacity16),neutralComponentOpacityDisabled:bt.extend("--ft-button-neutral-component-opacity-disabled","",vt.opacity40)};bt.extend("--ft-tabs-top-left-border-radius","",vt.borderRadiusS),bt.extend("--ft-tabs-top-right-border-radius","",vt.borderRadiusS),bt.extend("--ft-tabs-label-horizontal-padding","",vt.spacing4),bt.extend("--ft-tabs-label-vertical-padding","",vt.spacing3),bt.extend("--ft-tabs-label-gap","",vt.spacing1),bt.extend("--ft-switch-group-horizontal-padding","",vt.spacing1),bt.extend("--ft-switch-group-vertical-padding","",vt.spacing1),bt.extend("--ft-switch-group-gap","",vt.spacing1),bt.extend("--ft-switch-group-background-color","",Ot.backgroundGlobalSurface),bt.extend("--ft-switch-group-border-color","",Ot.borderGlobalSubtle),bt.create("--ft-switch-group-border-radius","","SIZE","6px"),bt.extend("--ft-switch-label-horizontal-padding","",vt.spacing2),bt.extend("--ft-switch-label-vertical-padding","",vt.spacing1),bt.extend("--ft-switch-icon-horizontal-padding","",vt.spacing1),bt.extend("--ft-switch-icon-vertical-padding","",vt.spacing1),bt.create("--ft-switch-focus-outline-width","","SIZE","2px"),bt.extend("--ft-switch-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.extend("--ft-switch-option-border-radius","",vt.borderRadiusS),bt.extend("--ft-switch-off-state-layer-opacity-hover","",vt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-focus","",vt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-active","",vt.opacity16),bt.extend("--ft-switch-off-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-switch-off-color","",Ot.contentGlobalSubtle),bt.extend("--ft-switch-off-state-layer-color","",Ot.contentGlobalSubtle),bt.extend("--ft-chart-1-light","for area color charts",vt.colorBrand40),bt.extend("--ft-chart-1-base","for line charts",vt.colorBrand0),bt.extend("--ft-chart-2-light","for area color charts",vt.colorYellow60),bt.extend("--ft-chart-2-base","for line charts",vt.colorYellow100),bt.extend("--ft-chart-3-light","",vt.colorUltramarine40),bt.extend("--ft-chart-3-base","",vt.colorUltramarine70),bt.extend("--ft-chart-4-light","",vt.colorCyan50),bt.extend("--ft-chart-4-base","",vt.colorCyan100),bt.extend("--ft-chart-5-light","",vt.colorRed40),bt.extend("--ft-chart-5-base","",vt.colorRed60),bt.extend("--ft-chart-6-light","",vt.colorGreen40),bt.extend("--ft-chart-6-base","",vt.colorGreen70),bt.extend("--ft-chart-7-light","",vt.colorOrange70),bt.extend("--ft-chart-7-base","",vt.colorOrange100),bt.extend("--ft-chart-8-light","",vt.colorAvocado70),bt.extend("--ft-chart-8-base","",vt.colorAvocado200),bt.extend("--ft-chart-9-light","",vt.colorBrown50),bt.extend("--ft-chart-9-base","",vt.colorBrown200),bt.extend("--ft-chart-10-light","",vt.colorGray50),bt.extend("--ft-chart-10-base","",vt.colorGray80),bt.extend("--ft-chart-monochrome-10","",vt.colorBrand10),bt.extend("--ft-chart-monochrome-20","",vt.colorBrand20),bt.extend("--ft-chart-monochrome-30","",vt.colorBrand40),bt.extend("--ft-chart-monochrome-40","",vt.colorBrand60),bt.extend("--ft-chart-monochrome-50","",vt.colorBrand0),bt.extend("--ft-chart-monochrome-60","",vt.colorBrand200),bt.extend("--ft-chip-large-horizontal-padding","",vt.spacing4),bt.extend("--ft-chip-large-vertical-padding","",vt.spacing2),bt.extend("--ft-chip-large-gap","",vt.spacing1),bt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-large-border-radius","",vt.borderRadiusPill),bt.create("--ft-chip-large-border-width","","SIZE","1px"),bt.extend("--ft-chip-large-icon-size","",vt.iconSize3),bt.extend("--ft-chip-medium-horizontal-padding","",vt.spacing3),bt.extend("--ft-chip-medium-vertical-padding","",vt.spacing1),bt.extend("--ft-chip-medium-gap","",vt.spacing1),bt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-medium-border-radius","",vt.borderRadiusPill),bt.create("--ft-chip-medium-border-width","","SIZE","1px"),bt.extend("--ft-chip-medium-icon-size","",vt.iconSize2),bt.extend("--ft-chip-small-horizontal-padding","",vt.spacing2),bt.extend("--ft-chip-small-vertical-padding","",vt.spacing05),bt.extend("--ft-chip-small-gap","",vt.spacing1),bt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-small-border-radius","",vt.borderRadiusPill),bt.create("--ft-chip-small-border-width","","SIZE","1px"),bt.extend("--ft-chip-small-icon-size","",vt.iconSize1),bt.extend("--ft-chip-neutral-background-color","",Ot.backgroundGlobalOnSurface),bt.extend("--ft-chip-neutral-color","",Ot.contentGlobalPrimary),bt.extend("--ft-chip-neutral-border-color","",Ot.borderGlobalSubtle),bt.extend("--ft-chip-info-background-color","",Ot.backgroundInfoSubtle),bt.extend("--ft-chip-info-color","",Ot.contentInfoPrimary),bt.extend("--ft-chip-info-border-color","",Ot.borderInfoPrimary),bt.extend("--ft-chip-success-background-color","",Ot.backgroundSuccessSubtle),bt.extend("--ft-chip-success-color","",Ot.contentSuccessPrimary),bt.extend("--ft-chip-success-border-color","",Ot.borderSuccessPrimary),bt.extend("--ft-chip-warning-background-color","",Ot.backgroundWarningSubtle),bt.extend("--ft-chip-warning-color","",Ot.contentWarningPrimary),bt.extend("--ft-chip-warning-border-color","",Ot.borderWarningPrimary),bt.extend("--ft-chip-error-background-color","",Ot.backgroundErrorSubtle),bt.extend("--ft-chip-error-color","",Ot.contentErrorPrimary),bt.extend("--ft-chip-error-border-color","",Ot.borderErrorPrimary),bt.create("--ft-notice-border-width","","SIZE","1px"),bt.extend("--ft-notice-horizontal-padding","",vt.spacing2),bt.extend("--ft-notice-vertical-padding","",vt.spacing1),bt.extend("--ft-notice-border-radius","",vt.borderRadiusS),bt.extend("--ft-notice-gap","",vt.spacing2),bt.extend("--ft-notice-icon-size","",vt.iconSize3),bt.extend("--ft-notice-info-background-color","",Ot.backgroundInfoSubtle),bt.extend("--ft-notice-info-border-color","",Ot.borderInfoPrimary),bt.extend("--ft-notice-info-color","",Ot.contentInfoPrimary),bt.extend("--ft-notice-warning-background-color","",Ot.backgroundWarningSubtle),bt.extend("--ft-notice-warning-border-color","",Ot.borderWarningPrimary),bt.extend("--ft-notice-warning-color","",Ot.contentWarningPrimary),bt.extend("--ft-checkbox-label-color","",Ot.contentGlobalPrimary),bt.extend("--ft-checkbox-checked-background-color","",Ot.contentActionPrimary),bt.extend("--ft-checkbox-checked-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-checkbox-checked-color","",Ot.contentGlobalOnColor),bt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-checkbox-checked-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-checkbox-unchecked-border-color","",vt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-color","",vt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-checkbox-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),bt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),bt.extend("--ft-checkbox-gap","",vt.spacing3),bt.extend("--ft-toggle-off-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-toggle-off-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-toggle-off-background-color","",Ot.contentGlobalSubtle),bt.extend("--ft-toggle-off-icon-color","",Ot.contentGlobalSubtle),bt.extend("--ft-toggle-off-state-layer-color","",Ot.contentGlobalSubtle),bt.extend("--ft-toggle-on-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-toggle-on-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-toggle-on-background-color","",Ot.contentActionPrimary),bt.extend("--ft-toggle-on-icon-color","",Ot.contentActionPrimary),bt.extend("--ft-toggle-on-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-toggle-label-color","",Ot.contentGlobalPrimary),bt.extend("--ft-toggle-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.extend("--ft-toggle-gap","",vt.spacing3),bt.extend("--ft-radio-label-color","",Ot.contentGlobalPrimary),bt.extend("--ft-radio-selected-color","",Ot.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-color","",Ot.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-radio-selected-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-radio-unselected-state-layer-color","",vt.colorGray80),bt.extend("--ft-radio-unselected-state-layer-opacity-hover","",vt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-focus","",vt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-active","",vt.opacity24),bt.extend("--ft-radio-unselected-component-opacity-disabled","",vt.opacity40),bt.extend("--ft-radio-focus-focus-ring-color","",Ot.borderActionFocusRing),bt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),bt.create("--ft-radio-focus-outline-width","","SIZE","2px"),bt.extend("--ft-radio-gap","",vt.spacing3),bt.extend("--ft-notification-icon-size","",vt.iconSize4),bt.extend("--ft-notification-horizontal-padding","",vt.spacing4),bt.extend("--ft-notification-vertical-padding","",vt.spacing4),bt.extend("--ft-notification-info-background-color","",Ot.backgroundInfoSubtle),bt.extend("--ft-notification-info-color","",Ot.contentInfoPrimary),bt.extend("--ft-notification-info-border-color","",Ot.borderInfoPrimary),bt.extend("--ft-notification-success-background-color","",Ot.backgroundSuccessSubtle),bt.extend("--ft-notification-success-color","",Ot.contentSuccessPrimary),bt.extend("--ft-notification-success-border-color","",Ot.borderSuccessPrimary),bt.extend("--ft-notification-warning-background-color","",Ot.backgroundWarningSubtle),bt.extend("--ft-notification-warning-color","",Ot.contentWarningPrimary),bt.extend("--ft-notification-warning-border-color","",Ot.borderWarningPrimary),bt.extend("--ft-notification-error-background-color","",Ot.backgroundErrorSubtle),bt.extend("--ft-notification-error-color","",Ot.contentErrorPrimary),bt.extend("--ft-notification-error-border-color","",Ot.borderErrorPrimary),bt.extend("--ft-notification-border-radius","",vt.borderRadiusPill),bt.create("--ft-notification-border-width","","SIZE","1px"),bt.extend("--ft-notification-gap-leading","",vt.spacing2),bt.extend("--ft-notification-gap-trailing","",vt.spacing8);const St={colorPrimary:bt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:bt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:bt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:bt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:bt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:bt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:bt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:bt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:bt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:bt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:bt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:bt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:bt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:bt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:bt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:bt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:bt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:bt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:bt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:bt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:bt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:bt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:bt.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:bt.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:bt.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:bt.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:bt.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:bt.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:bt.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:bt.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:bt.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:bt.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:bt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:bt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:bt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:bt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class wt extends ut{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 m(e,t.elementStyles),e}}var Ct,$t=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Rt=Symbol("constructorPrototype"),Et=Symbol("constructorName"),kt=Symbol("exportpartsDebouncer");class It extends wt{constructor(){super(),this[Ct]=new o(5),this[Et]=this.constructor.name,this[Rt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Et]&&Object.setPrototypeOf(this,this[Rt])}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[kt].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 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!==(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(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(", "))}}Ct=kt,$t([i()],It.prototype,"exportpartsPrefix",void 0),$t([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return i({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:{}})}([])],It.prototype,"exportpartsPrefixes",void 0),$t([i()],It.prototype,"customStylesheet",void 0);const Ut=b`
66
66
  .ft-no-text-select {
67
67
  -webkit-touch-callout: none;
68
68
  -webkit-user-select: none;
@@ -71,7 +71,7 @@ var dt,ft;let ut=class extends N{constructor(){super(...arguments),this.renderOp
71
71
  -ms-user-select: none;
72
72
  user-select: none;
73
73
  }
74
- `;x`
74
+ `;b`
75
75
  .ft-word-wrap {
76
76
  white-space: normal;
77
77
  word-wrap: break-word;
@@ -83,7 +83,7 @@ var dt,ft;let ut=class extends N{constructor(){super(...arguments),this.renderOp
83
83
  -webkit-hyphens: auto;
84
84
  hyphens: auto
85
85
  }
86
- `;const Et=x`
86
+ `;const Lt=b`
87
87
  .ft-safari-ellipsis-fix {
88
88
  margin-right: 0;
89
89
 
@@ -94,118 +94,125 @@ var dt,ft;let ut=class extends N{constructor(){super(...arguments),this.renderOp
94
94
  display: inline-block;
95
95
  width: 0;
96
96
  }
97
- `;function Nt(t){var i;return null!==(i=null==t?void 0:t.isFtReduxStore)&&void 0!==i&&i}var Rt,Mt,zt;const jt=Symbol("internalReduxEventsUnsubscribers"),Ft=Symbol("internalStoresUnsubscribers"),Ut=Symbol("internalStores");class Bt extends kt{constructor(){super(...arguments),this[Rt]=new Map,this[Mt]=new Map,this[zt]=[]}update(t){var i;super.update(t),(null===(i=this.reduxReactiveProperties)||void 0===i?void 0:i.some((i=>t.has(i))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ut].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ut].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ut].get(t)}addStore(t,i){var e;i=null!==(e=null!=i?i:Nt(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(i),this.setupStore(i,t)}removeStore(t){const i="string"==typeof t?t:t.name;this.unsubscribeFromStore(i),this[Ut].delete(i)}setupStore(t,i){this[Ut].set(t,i),this.subscribeToStore(t,i),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ut].forEach(((t,i)=>this.subscribeToStore(i,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,i)=>{const e=this.constructor.getPropertyOptions(i);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:i)){const e=this.getStore(t.store);e&&(t.store?this[Ft].has(t.store):this[Ft].size>0)&&(this[i]=t.selector(e.getState(),this))}}))}subscribeToStore(t,i){var e;this[Ft].set(t,i.subscribe((()=>this.updateFromStores()))),Nt(i)&&i.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||i.name===t.store)){const o=t=>this[e](t);i.eventBus.addEventListener(t.eventName,o),this[jt].push((()=>i.eventBus.removeEventListener(t.eventName,o)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ft].forEach(((t,i)=>this.unsubscribeFromStore(i))),this[jt].forEach((t=>t())),this[jt]=[]}unsubscribeFromStore(t){this[Ft].has(t)&&this[Ft].get(t)(),this[Ft].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Rt=Ft,Mt=Ut,zt=jt,window.ftReduxStores||(window.ftReduxStores={});const Tt=Symbol("elementInternals");var It,At,Lt;const Pt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Lt=null===(At=null===(It=window.safari)||void 0===It?void 0:It.pushNotification)||void 0===At?void 0:At.toString())&&void 0!==Lt?Lt:""),Dt=x`
97
+ `;function Wt(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var zt,Kt,Ft;const Zt=Symbol("internalReduxEventsUnsubscribers"),Bt=Symbol("internalStoresUnsubscribers"),Dt=Symbol("internalStores");class Mt extends It{constructor(){super(...arguments),this[zt]=new Map,this[Kt]=new Map,this[Ft]=[]}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[Dt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Dt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Dt].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Wt(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[Dt].delete(o)}setupStore(t,o){this[Dt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Dt].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[Bt].has(t.store):this[Bt].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Bt].set(t,o.subscribe((()=>this.updateFromStores()))),Wt(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[Zt].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Bt].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Zt].forEach((t=>t())),this[Zt]=[]}unsubscribeFromStore(t){this[Bt].has(t)&&this[Bt].get(t)(),this[Bt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}zt=Bt,Kt=Dt,Ft=Zt,window.ftReduxStores||(window.ftReduxStores={});const At=Symbol("elementInternals");var Ht,jt,Pt;const Tt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Pt=null===(jt=null===(Ht=window.safari)||void 0===Ht?void 0:Ht.pushNotification)||void 0===jt?void 0:jt.toString())&&void 0!==Pt?Pt:""),Gt=b`
98
98
  :host {
99
99
  display: inline-block;
100
100
  }
101
- `;var _t;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(_t||(_t={}));var Wt=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Kt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ht=Symbol("registerInterval");class Zt extends(function(t){var i;class e extends t{constructor(){super(...arguments),this[i]=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[Ht]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ht]):this.dispatchEvent(new Kt)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return i=Ht,Wt([n()],e.prototype,"stateManager",void 0),e}(Bt)){}var Vt=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Jt extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const qt=Symbol("registerInterval");class Xt extends(function(t){var i;class e extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[i]=0}connectedCallback(){super.connectedCallback(),this[qt]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[qt]):this.dispatchEvent(new Jt)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return i=qt,Vt([n()],e.prototype,"tocNode",void 0),Vt([n()],e.prototype,"disableContextInteractions",void 0),e}(Zt)){}
101
+ `;var _t;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(_t||(_t={}));var Yt=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Vt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Jt=Symbol("registerInterval");class qt 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[Jt]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Jt]):this.dispatchEvent(new Vt)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Jt,Yt([r()],e.prototype,"stateManager",void 0),e}(Mt)){}var Xt=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Qt extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const to=Symbol("registerInterval");class oo extends(function(t){var o;class e extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[o]=0}connectedCallback(){super.connectedCallback(),this[to]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[to]):this.dispatchEvent(new Qt)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return o=to,Xt([r()],e.prototype,"tocNode",void 0),Xt([r()],e.prototype,"disableContextInteractions",void 0),e}(qt)){}
102
102
  /**
103
103
  * @license
104
104
  * Copyright 2020 Google LLC
105
105
  * SPDX-License-Identifier: BSD-3-Clause
106
- */const Gt=Symbol.for(""),Yt=t=>{if((null==t?void 0:t.r)===Gt)return null==t?void 0:t._$litStatic$},Qt=t=>({_$litStatic$:t,r:Gt}),ti=new Map,ii=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=Yt(r));)l+=n+i[++h],c=!0;h!==o&&a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),c){const t=s.join("$$lit$$");void 0===(i=ti.get(t))&&(s.raw=s,ti.set(t,i=s)),e=a}return t(i,...e)})(q);var ei;!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"}(ei||(ei={}));const oi=bt.extend("--ft-typography-font-family",gt.titleFont),ni=bt.extend("--ft-typography-font-family",gt.contentFont),ri={fontFamily:ni,fontSize:bt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","UNKNOWN","inherit")},si=bt.extend("--ft-typography-title-font-family",oi),ai=bt.extend("--ft-typography-title-font-size",ri.fontSize,"20px"),li=bt.extend("--ft-typography-title-font-weight",ri.fontWeight,"normal"),hi=bt.extend("--ft-typography-title-letter-spacing",ri.letterSpacing,"0.15px"),ci=bt.extend("--ft-typography-title-line-height",ri.lineHeight,"1.2"),pi=bt.extend("--ft-typography-title-text-transform",ri.textTransform,"inherit"),di=bt.extend("--ft-typography-title-dense-font-family",oi),fi=bt.extend("--ft-typography-title-dense-font-size",ri.fontSize,"14px"),ui=bt.extend("--ft-typography-title-dense-font-weight",ri.fontWeight,"normal"),vi=bt.extend("--ft-typography-title-dense-letter-spacing",ri.letterSpacing,"0.105px"),bi=bt.extend("--ft-typography-title-dense-line-height",ri.lineHeight,"1.7"),xi=bt.extend("--ft-typography-title-dense-text-transform",ri.textTransform,"inherit"),gi=bt.extend("--ft-typography-subtitle1-font-family",ni),yi=bt.extend("--ft-typography-subtitle1-font-size",ri.fontSize,"16px"),mi=bt.extend("--ft-typography-subtitle1-font-weight",ri.fontWeight,"600"),wi=bt.extend("--ft-typography-subtitle1-letter-spacing",ri.letterSpacing,"0.144px"),$i=bt.extend("--ft-typography-subtitle1-line-height",ri.lineHeight,"1.5"),Oi=bt.extend("--ft-typography-subtitle1-text-transform",ri.textTransform,"inherit"),Si=bt.extend("--ft-typography-subtitle2-font-family",ni),ki=bt.extend("--ft-typography-subtitle2-font-size",ri.fontSize,"14px"),Ci=bt.extend("--ft-typography-subtitle2-font-weight",ri.fontWeight,"normal"),Ei=bt.extend("--ft-typography-subtitle2-letter-spacing",ri.letterSpacing,"0.098px"),Ni=bt.extend("--ft-typography-subtitle2-line-height",ri.lineHeight,"1.7"),Ri=bt.extend("--ft-typography-subtitle2-text-transform",ri.textTransform,"inherit"),Mi=bt.extend("--ft-typography-body1-font-family",ni),zi=bt.extend("--ft-typography-body1-font-size",ri.fontSize,"16px"),ji=bt.extend("--ft-typography-body1-font-weight",ri.fontWeight,"normal"),Fi=bt.extend("--ft-typography-body1-letter-spacing",ri.letterSpacing,"0.496px"),Ui=bt.extend("--ft-typography-body1-line-height",ri.lineHeight,"1.5"),Bi=bt.extend("--ft-typography-body1-text-transform",ri.textTransform,"inherit"),Ti={fontFamily:bt.extend("--ft-typography-body2-font-family",ni),fontSize:bt.extend("--ft-typography-body2-font-size",ri.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-body2-font-weight",ri.fontWeight,"normal"),letterSpacing:bt.extend("--ft-typography-body2-letter-spacing",ri.letterSpacing,"0.252px"),lineHeight:bt.extend("--ft-typography-body2-line-height",ri.lineHeight,"1.4"),textTransform:bt.extend("--ft-typography-body2-text-transform",ri.textTransform,"inherit")},Ii=bt.extend("--ft-typography-caption-font-family",ni),Ai=bt.extend("--ft-typography-caption-font-size",ri.fontSize,"12px"),Li=bt.extend("--ft-typography-caption-font-weight",ri.fontWeight,"normal"),Pi=bt.extend("--ft-typography-caption-letter-spacing",ri.letterSpacing,"0.396px"),Di=bt.extend("--ft-typography-caption-line-height",ri.lineHeight,"1.33"),_i=bt.extend("--ft-typography-caption-text-transform",ri.textTransform,"inherit"),Wi=bt.extend("--ft-typography-breadcrumb-font-family",ni),Ki=bt.extend("--ft-typography-breadcrumb-font-size",ri.fontSize,"10px"),Hi=bt.extend("--ft-typography-breadcrumb-font-weight",ri.fontWeight,"normal"),Zi=bt.extend("--ft-typography-breadcrumb-letter-spacing",ri.letterSpacing,"0.33px"),Vi=bt.extend("--ft-typography-breadcrumb-line-height",ri.lineHeight,"1.6"),Ji=bt.extend("--ft-typography-breadcrumb-text-transform",ri.textTransform,"inherit"),qi=bt.extend("--ft-typography-overline-font-family",ni),Xi=bt.extend("--ft-typography-overline-font-size",ri.fontSize,"10px"),Gi=bt.extend("--ft-typography-overline-font-weight",ri.fontWeight,"normal"),Yi=bt.extend("--ft-typography-overline-letter-spacing",ri.letterSpacing,"1.5px"),Qi=bt.extend("--ft-typography-overline-line-height",ri.lineHeight,"1.6"),te=bt.extend("--ft-typography-overline-text-transform",ri.textTransform,"uppercase"),ie={fontFamily:bt.extend("--ft-typography-button-font-family",ni),fontSize:bt.extend("--ft-typography-button-font-size",ri.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight",ri.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing",ri.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height",ri.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform",ri.textTransform,"uppercase")},ee=x`
106
+ */const eo=Symbol.for(""),io=t=>{if((null==t?void 0:t.r)===eo)return null==t?void 0:t._$litStatic$},ro=t=>({_$litStatic$:t,r:eo}),no=new Map,ao=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=io(n));)s+=r+o[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),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)})(V);var lo;!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"}(lo||(lo={}));const so=bt.extend("--ft-typography-font-family","",St.titleFont),co=bt.extend("--ft-typography-font-family","",St.contentFont),po={fontFamily:co,fontSize:bt.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","","UNKNOWN","inherit")},fo=bt.extend("--ft-typography-title-font-family","",so),ho=bt.extend("--ft-typography-title-font-size","",po.fontSize,"20px"),uo=bt.extend("--ft-typography-title-font-weight","",po.fontWeight,"normal"),yo=bt.extend("--ft-typography-title-letter-spacing","",po.letterSpacing,"0.15px"),go=bt.extend("--ft-typography-title-line-height","",po.lineHeight,"1.2"),bo=bt.extend("--ft-typography-title-text-transform","",po.textTransform,"inherit"),mo=bt.extend("--ft-typography-title-dense-font-family","",so),vo=bt.extend("--ft-typography-title-dense-font-size","",po.fontSize,"14px"),xo=bt.extend("--ft-typography-title-dense-font-weight","",po.fontWeight,"normal"),Oo=bt.extend("--ft-typography-title-dense-letter-spacing","",po.letterSpacing,"0.105px"),No=bt.extend("--ft-typography-title-dense-line-height","",po.lineHeight,"1.7"),So=bt.extend("--ft-typography-title-dense-text-transform","",po.textTransform,"inherit"),wo=bt.extend("--ft-typography-subtitle1-font-family","",co),Co=bt.extend("--ft-typography-subtitle1-font-size","",po.fontSize,"16px"),$o=bt.extend("--ft-typography-subtitle1-font-weight","",po.fontWeight,"600"),Ro=bt.extend("--ft-typography-subtitle1-letter-spacing","",po.letterSpacing,"0.144px"),Eo=bt.extend("--ft-typography-subtitle1-line-height","",po.lineHeight,"1.5"),ko=bt.extend("--ft-typography-subtitle1-text-transform","",po.textTransform,"inherit"),Io=bt.extend("--ft-typography-subtitle2-font-family","",co),Uo=bt.extend("--ft-typography-subtitle2-font-size","",po.fontSize,"14px"),Lo=bt.extend("--ft-typography-subtitle2-font-weight","",po.fontWeight,"normal"),Wo=bt.extend("--ft-typography-subtitle2-letter-spacing","",po.letterSpacing,"0.098px"),zo=bt.extend("--ft-typography-subtitle2-line-height","",po.lineHeight,"1.7"),Ko=bt.extend("--ft-typography-subtitle2-text-transform","",po.textTransform,"inherit"),Fo=bt.extend("--ft-typography-body1-font-family","",co),Zo=bt.extend("--ft-typography-body1-font-size","",po.fontSize,"16px"),Bo=bt.extend("--ft-typography-body1-font-weight","",po.fontWeight,"normal"),Do=bt.extend("--ft-typography-body1-letter-spacing","",po.letterSpacing,"0.496px"),Mo=bt.extend("--ft-typography-body1-line-height","",po.lineHeight,"1.5"),Ao=bt.extend("--ft-typography-body1-text-transform","",po.textTransform,"inherit"),Ho={fontFamily:bt.extend("--ft-typography-body2-font-family","",co),fontSize:bt.extend("--ft-typography-body2-font-size","",po.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-body2-font-weight","",po.fontWeight,"normal"),letterSpacing:bt.extend("--ft-typography-body2-letter-spacing","",po.letterSpacing,"0.252px"),lineHeight:bt.extend("--ft-typography-body2-line-height","",po.lineHeight,"1.4"),textTransform:bt.extend("--ft-typography-body2-text-transform","",po.textTransform,"inherit")},jo=bt.extend("--ft-typography-caption-font-family","",co),Po=bt.extend("--ft-typography-caption-font-size","",po.fontSize,"12px"),To=bt.extend("--ft-typography-caption-font-weight","",po.fontWeight,"normal"),Go=bt.extend("--ft-typography-caption-letter-spacing","",po.letterSpacing,"0.396px"),_o=bt.extend("--ft-typography-caption-line-height","",po.lineHeight,"1.33"),Yo=bt.extend("--ft-typography-caption-text-transform","",po.textTransform,"inherit"),Vo=bt.extend("--ft-typography-breadcrumb-font-family","",co),Jo=bt.extend("--ft-typography-breadcrumb-font-size","",po.fontSize,"10px"),qo=bt.extend("--ft-typography-breadcrumb-font-weight","",po.fontWeight,"normal"),Xo=bt.extend("--ft-typography-breadcrumb-letter-spacing","",po.letterSpacing,"0.33px"),Qo=bt.extend("--ft-typography-breadcrumb-line-height","",po.lineHeight,"1.6"),te=bt.extend("--ft-typography-breadcrumb-text-transform","",po.textTransform,"inherit"),oe=bt.extend("--ft-typography-overline-font-family","",co),ee=bt.extend("--ft-typography-overline-font-size","",po.fontSize,"10px"),ie=bt.extend("--ft-typography-overline-font-weight","",po.fontWeight,"normal"),re=bt.extend("--ft-typography-overline-letter-spacing","",po.letterSpacing,"1.5px"),ne=bt.extend("--ft-typography-overline-line-height","",po.lineHeight,"1.6"),ae=bt.extend("--ft-typography-overline-text-transform","",po.textTransform,"uppercase"),le={fontFamily:bt.extend("--ft-typography-button-font-family","",co),fontSize:bt.extend("--ft-typography-button-font-size","",po.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight","",po.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing","",po.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height","",po.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform","",po.textTransform,"uppercase")},se=b`
107
107
  .ft-typography--title {
108
- font-family: ${si};
109
- font-size: ${ai};
110
- font-weight: ${li};
111
- letter-spacing: ${hi};
112
- line-height: ${ci};
113
- text-transform: ${pi};
114
- }
115
- `,oe=x`
108
+ font-family: ${fo};
109
+ font-size: ${ho};
110
+ font-weight: ${uo};
111
+ letter-spacing: ${yo};
112
+ line-height: ${go};
113
+ text-transform: ${bo};
114
+ }
115
+ `,ce=b`
116
116
  .ft-typography--title-dense {
117
- font-family: ${di};
118
- font-size: ${fi};
119
- font-weight: ${ui};
120
- letter-spacing: ${vi};
121
- line-height: ${bi};
122
- text-transform: ${xi};
123
- }
124
- `,ne=x`
117
+ font-family: ${mo};
118
+ font-size: ${vo};
119
+ font-weight: ${xo};
120
+ letter-spacing: ${Oo};
121
+ line-height: ${No};
122
+ text-transform: ${So};
123
+ }
124
+ `,pe=b`
125
125
  .ft-typography--subtitle1 {
126
- font-family: ${gi};
127
- font-size: ${yi};
128
- font-weight: ${mi};
129
- letter-spacing: ${wi};
130
- line-height: ${$i};
131
- text-transform: ${Oi};
132
- }
133
- `,re=x`
126
+ font-family: ${wo};
127
+ font-size: ${Co};
128
+ font-weight: ${$o};
129
+ letter-spacing: ${Ro};
130
+ line-height: ${Eo};
131
+ text-transform: ${ko};
132
+ }
133
+ `,fe=b`
134
134
  .ft-typography--subtitle2 {
135
- font-family: ${Si};
136
- font-size: ${ki};
137
- font-weight: ${Ci};
138
- letter-spacing: ${Ei};
139
- line-height: ${Ni};
140
- text-transform: ${Ri};
135
+ font-family: ${Io};
136
+ font-size: ${Uo};
137
+ font-weight: ${Lo};
138
+ letter-spacing: ${Wo};
139
+ line-height: ${zo};
140
+ text-transform: ${Ko};
141
141
  }
142
142
 
143
- `,se=x`
143
+ `,he=b`
144
144
  .ft-typography--body1 {
145
- font-family: ${Mi};
146
- font-size: ${zi};
147
- font-weight: ${ji};
148
- letter-spacing: ${Fi};
149
- line-height: ${Ui};
150
- text-transform: ${Bi};
151
- }
152
- `,ae=x`
145
+ font-family: ${Fo};
146
+ font-size: ${Zo};
147
+ font-weight: ${Bo};
148
+ letter-spacing: ${Do};
149
+ line-height: ${Mo};
150
+ text-transform: ${Ao};
151
+ }
152
+ `,de=b`
153
153
  .ft-typography--body2 {
154
- font-family: ${Ti.fontFamily};
155
- font-size: ${Ti.fontSize};
156
- font-weight: ${Ti.fontWeight};
157
- letter-spacing: ${Ti.letterSpacing};
158
- line-height: ${Ti.lineHeight};
159
- text-transform: ${Ti.textTransform};
160
- }
161
- `,le=x`
154
+ font-family: ${Ho.fontFamily};
155
+ font-size: ${Ho.fontSize};
156
+ font-weight: ${Ho.fontWeight};
157
+ letter-spacing: ${Ho.letterSpacing};
158
+ line-height: ${Ho.lineHeight};
159
+ text-transform: ${Ho.textTransform};
160
+ }
161
+ `,ue=b`
162
162
  .ft-typography--caption {
163
- font-family: ${Ii};
164
- font-size: ${Ai};
165
- font-weight: ${Li};
166
- letter-spacing: ${Pi};
167
- line-height: ${Di};
168
- text-transform: ${_i};
169
- }
170
- `,he=x`
163
+ font-family: ${jo};
164
+ font-size: ${Po};
165
+ font-weight: ${To};
166
+ letter-spacing: ${Go};
167
+ line-height: ${_o};
168
+ text-transform: ${Yo};
169
+ }
170
+ `,ye=b`
171
171
  .ft-typography--breadcrumb {
172
- font-family: ${Wi};
173
- font-size: ${Ki};
174
- font-weight: ${Hi};
175
- letter-spacing: ${Zi};
176
- line-height: ${Vi};
177
- text-transform: ${Ji};
178
- }
179
- `,ce=x`
180
- .ft-typography--overline {
181
- font-family: ${qi};
182
- font-size: ${Xi};
183
- font-weight: ${Gi};
184
- letter-spacing: ${Yi};
185
- line-height: ${Qi};
172
+ font-family: ${Vo};
173
+ font-size: ${Jo};
174
+ font-weight: ${qo};
175
+ letter-spacing: ${Xo};
176
+ line-height: ${Qo};
186
177
  text-transform: ${te};
187
178
  }
188
- `,pe=x`
179
+ `,ge=b`
180
+ .ft-typography--overline {
181
+ font-family: ${oe};
182
+ font-size: ${ee};
183
+ font-weight: ${ie};
184
+ letter-spacing: ${re};
185
+ line-height: ${ne};
186
+ text-transform: ${ae};
187
+ }
188
+ `,be=b`
189
189
  .ft-typography--button {
190
- font-family: ${ie.fontFamily};
191
- font-size: ${ie.fontSize};
192
- font-weight: ${ie.fontWeight};
193
- letter-spacing: ${ie.letterSpacing};
194
- line-height: ${ie.lineHeight};
195
- text-transform: ${ie.textTransform};
196
- }
197
- `,de=x`
190
+ font-family: ${le.fontFamily};
191
+ font-size: ${le.fontSize};
192
+ font-weight: ${le.fontWeight};
193
+ letter-spacing: ${le.letterSpacing};
194
+ line-height: ${le.lineHeight};
195
+ text-transform: ${le.textTransform};
196
+ }
197
+ `,me=b`
198
198
  .ft-typography {
199
199
  vertical-align: inherit;
200
200
  }
201
- `;var fe=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class ue extends kt{constructor(){super(...arguments),this.variant=ei.body1}render(){return this.element?ii`
202
- <${Qt(this.element)}
203
- class="ft-typography ft-typography--${this.variant}">
201
+ `,ve=[Object.keys(xt).map((t=>function(t){const o=xt[t];return b`
202
+ font-family: ${o.fontFamily};
203
+ font-size: ${o.fontSize};
204
+ font-weight: ${o.fontWeight};
205
+ letter-spacing: ${o.letterSpacing};
206
+ line-height: ${o.lineHeight};
207
+ text-transform: ${o.textCase};
208
+ `}(t)))];var xe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 It{constructor(){super(...arguments),this.variant=lo.body1}render(){return this.element?ao`
209
+ <${ro(this.element)}
210
+ class="ft-typography ft-typography--${this.variant}">
204
211
  <slot></slot>
205
- </${Qt(this.element)}>
206
- `:ii`
212
+ </${ro(this.element)}>
213
+ `:ao`
207
214
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
208
- `}}ue.styles=[ee,oe,ne,re,se,ae,le,he,ce,pe,de],fe([o()],ue.prototype,"element",void 0),fe([o()],ue.prototype,"variant",void 0),c("ft-typography")(ue);const ve=bt.create("--ft-tooltip-distance","SIZE","4px"),be=bt.create("--ft-tooltip-color","COLOR","#FFFFFF"),xe=bt.create("--ft-tooltip-background-color","COLOR","#666666"),ge=bt.create("--ft-tooltip-z-index","NUMBER","100"),ye=bt.external(gt.borderRadiusS,"Design system"),me=bt.create("--ft-tooltip-max-width","SIZE","150px"),we=x`
215
+ `}}Oe.styles=[se,ce,pe,fe,he,de,ue,ye,ge,be,me,...ve],xe([i()],Oe.prototype,"element",void 0),xe([i()],Oe.prototype,"variant",void 0),p("ft-typography")(Oe);const Ne=bt.create("--ft-tooltip-distance","","SIZE","4px"),Se=bt.create("--ft-tooltip-color","","COLOR","#FFFFFF"),we=bt.create("--ft-tooltip-background-color","","COLOR","#666666"),Ce=bt.create("--ft-tooltip-z-index","","NUMBER","100"),$e=bt.external(St.borderRadiusS,"Design system"),Re=bt.create("--ft-tooltip-max-width","","SIZE","150px"),Ee=b`
209
216
  .ft-tooltip--container {
210
217
  display: block;
211
218
  }
@@ -220,21 +227,21 @@ var dt,ft;let ut=class extends N{constructor(){super(...arguments),this.renderOp
220
227
  box-sizing: border-box;
221
228
  overflow: hidden;
222
229
  width: max-content;
223
- max-width: ${me};
230
+ max-width: ${Re};
224
231
  text-align: center;
225
- padding: ${ve};
226
- z-index: ${ge};
232
+ padding: ${Ne};
233
+ z-index: ${Ce};
227
234
  }
228
235
 
229
236
  .ft-tooltip--content {
230
237
  padding: 4px 8px;
231
- border-radius: ${ye};
232
- background-color: ${xe};
233
- color: ${be};
238
+ border-radius: ${$e};
239
+ background-color: ${we};
240
+ color: ${Se};
234
241
  position: relative;
235
242
  word-break: break-word;
236
243
  }
237
- `;var $e=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Oe extends kt{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 i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return q`
244
+ `;var ke=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Ie extends It{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 V`
238
245
  <div part="container"
239
246
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
240
247
  @mouseenter=${this.onHover}
@@ -252,24 +259,24 @@ var dt,ft;let ut=class extends N{constructor(){super(...arguments),this.renderOp
252
259
  </div>
253
260
  </div>
254
261
  </div>
255
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&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 i=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,o=(t.offsetHeight-e)/2,n=(t.offsetWidth-i)/2;let r=0,s=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":s=t.offsetTop-e-this.tooltip.offsetTop,r=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"bottom":s=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,r=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"left":s=t.offsetTop+o-this.tooltip.offsetTop,r=t.offsetLeft-i-this.tooltip.offsetLeft;break;case"right":s=t.offsetTop+o-this.tooltip.offsetTop,r=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const a=this.tooltip.style;a.left=r+"px",a.top=s+"px";const l=this.tooltip.getBoundingClientRect();let h=-l.x,c=l.x+l.width-window.innerWidth;a.left=r+Math.round(this.correctOutOfWindowPixels(h,c))+"px";let p=-l.y,d=l.y+l.height-window.innerHeight;a.top=s+Math.round(this.correctOutOfWindowPixels(p,d))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${me})`}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,i){return Math.max(t,Math.min(0,-i))}}Oe.elementDefinitions={"ft-typography":ue},Oe.styles=we,$e([o()],Oe.prototype,"text",void 0),$e([o({type:Boolean})],Oe.prototype,"manual",void 0),$e([o({type:Boolean})],Oe.prototype,"inline",void 0),$e([o({type:Number})],Oe.prototype,"delay",void 0),$e([o()],Oe.prototype,"position",void 0),$e([
262
+ `}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 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,h=s.y+s.height-window.innerHeight;l.top=a+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Re})`}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))}}Ie.elementDefinitions={"ft-typography":Oe},Ie.styles=Ee,ke([i()],Ie.prototype,"text",void 0),ke([i({type:Boolean})],Ie.prototype,"manual",void 0),ke([i({type:Boolean})],Ie.prototype,"inline",void 0),ke([i({type:Number})],Ie.prototype,"delay",void 0),ke([i()],Ie.prototype,"position",void 0),ke([
256
263
  /**
257
264
  * @license
258
265
  * Copyright 2017 Google LLC
259
266
  * SPDX-License-Identifier: BSD-3-Clause
260
267
  */
261
- function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return r({descriptor:o=>({get(){var o;const n="slot"+(i?`[name=${i}]`:":not([name])"),r=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),s=null!=r?l(r,t):[];return e?s.filter((t=>t.matches(e))):s},enumerable:!0,configurable:!0})})}({slot:n,flatten:i,selector:e}):r({descriptor:t=>({get(){var t,i;const e="slot"+(n?`[name=${n}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==r?void 0:r.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],Oe.prototype,"slotNodes",void 0),$e([s(".ft-tooltip--container")],Oe.prototype,"container",void 0),$e([s(".ft-tooltip")],Oe.prototype,"tooltip",void 0),$e([s(".ft-tooltip--content")],Oe.prototype,"tooltipContent",void 0),$e([n()],Oe.prototype,"visible",void 0),c("ft-tooltip")(Oe);
268
+ function(t,o,e){let i,r=t;return"object"==typeof t?(r=t.slot,i=t):i={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return n({descriptor:i=>({get(){var i;const r="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(r),a=null!=n?s(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:r,flatten:o,selector:e}):n({descriptor:t=>({get(){var t,o;const e="slot"+(r?`[name=${r}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(i))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],Ie.prototype,"slotNodes",void 0),ke([a(".ft-tooltip--container")],Ie.prototype,"container",void 0),ke([a(".ft-tooltip")],Ie.prototype,"tooltip",void 0),ke([a(".ft-tooltip--content")],Ie.prototype,"tooltipContent",void 0),ke([r()],Ie.prototype,"visible",void 0),p("ft-tooltip")(Ie);
262
269
  /**
263
270
  * @license
264
271
  * Copyright 2017 Google LLC
265
272
  * SPDX-License-Identifier: BSD-3-Clause
266
273
  */
267
- const Se=1,ke=2,Ce=t=>(...i)=>({_$litDirective$:t,values:i});class Ee{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e){this._$Ct=t,this._$AM=i,this._$Ci=e}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}}
274
+ const Ue=1,Le=2,We=t=>(...o)=>({_$litDirective$:t,values:o});class ze{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)}}
268
275
  /**
269
276
  * @license
270
277
  * Copyright 2018 Google LLC
271
278
  * SPDX-License-Identifier: BSD-3-Clause
272
- */const Ne=Ce(class extends Ee{constructor(t){var i;if(super(t),t.type!==Se||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.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((i=>t[i])).join(" ")+" "}update(t,[i]){var e,o;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 i)i[t]&&!(null===(e=this.nt)||void 0===e?void 0:e.has(t))&&this.it.add(t);return this.render(i)}const n=t.element.classList;this.it.forEach((t=>{t in i||(n.remove(t),this.it.delete(t))}));for(const t in i){const e=!!i[t];e===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(e?(n.add(t),this.it.add(t)):(n.remove(t),this.it.delete(t)))}return X}}),Re=bt.extend("--ft-ripple-color",gt.colorContent),Me={color:Re,backgroundColor:bt.extend("--ft-ripple-background-color",Re),opacityContentOnSurfacePressed:bt.external(gt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:bt.external(gt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:bt.external(gt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:bt.external(gt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:bt.create("--ft-ripple-border-radius","SIZE","0px")},ze=bt.extend("--ft-ripple-color",gt.colorPrimary),je=ze,Fe=bt.extend("--ft-ripple-background-color",ze),Ue=bt.extend("--ft-ripple-color",gt.colorSecondary),Be=Ue,Te=bt.extend("--ft-ripple-background-color",Ue),Ie=x`
279
+ */const Ke=We(class extends ze{constructor(t){var o;if(super(t),t.type!==Ue||"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,i;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 r=t.element.classList;this.it.forEach((t=>{t in o||(r.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(e?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return J}}),Fe=bt.extend("--ft-ripple-color","",St.colorContent),Ze={color:Fe,backgroundColor:bt.extend("--ft-ripple-background-color","",Fe),opacityContentOnSurfacePressed:bt.external(St.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:bt.external(St.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:bt.external(St.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:bt.external(St.opacityContentOnSurfaceSelected,"Design system"),borderRadius:bt.create("--ft-ripple-border-radius","","SIZE","0px")},Be=bt.extend("--ft-ripple-color","",St.colorPrimary),De=Be,Me=bt.extend("--ft-ripple-background-color","",Be),Ae=bt.extend("--ft-ripple-color","",St.colorSecondary),He=Ae,je=bt.extend("--ft-ripple-background-color","",Ae),Pe=b`
273
280
  :host {
274
281
  display: contents;
275
282
  }
@@ -282,7 +289,7 @@ const Se=1,ke=2,Ce=t=>(...i)=>({_$litDirective$:t,values:i});class Ee{constructo
282
289
 
283
290
  .ft-ripple:not(.ft-ripple--unbounded) {
284
291
  overflow: hidden;
285
- border-radius: ${Me.borderRadius};
292
+ border-radius: ${Ze.borderRadius};
286
293
  }
287
294
 
288
295
  .ft-ripple .ft-ripple--background,
@@ -316,27 +323,27 @@ const Se=1,ke=2,Ce=t=>(...i)=>({_$litDirective$:t,values:i});class Ee{constructo
316
323
  }
317
324
 
318
325
  .ft-ripple .ft-ripple--background {
319
- background-color: ${Me.backgroundColor};
326
+ background-color: ${Ze.backgroundColor};
320
327
  }
321
328
 
322
329
  .ft-ripple .ft-ripple--effect {
323
- background-color: ${Me.color};
330
+ background-color: ${Ze.color};
324
331
  }
325
332
 
326
333
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
327
- background-color: ${Te};
334
+ background-color: ${je};
328
335
  }
329
336
 
330
337
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
331
- background-color: ${Be};
338
+ background-color: ${He};
332
339
  }
333
340
 
334
341
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
335
- background-color: ${Fe};
342
+ background-color: ${Me};
336
343
  }
337
344
 
338
345
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
339
- background-color: ${je};
346
+ background-color: ${De};
340
347
  }
341
348
 
342
349
  .ft-ripple .ft-ripple--background {
@@ -366,39 +373,39 @@ const Se=1,ke=2,Ce=t=>(...i)=>({_$litDirective$:t,values:i});class Ee{constructo
366
373
  }
367
374
 
368
375
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
369
- opacity: ${Me.opacityContentOnSurfaceHover};
376
+ opacity: ${Ze.opacityContentOnSurfaceHover};
370
377
  }
371
378
 
372
379
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
373
- opacity: ${Me.opacityContentOnSurfaceSelected};
380
+ opacity: ${Ze.opacityContentOnSurfaceSelected};
374
381
  }
375
382
 
376
383
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
377
- opacity: ${Me.opacityContentOnSurfaceFocused};
384
+ opacity: ${Ze.opacityContentOnSurfaceFocused};
378
385
  }
379
386
 
380
387
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
381
- opacity: ${Me.opacityContentOnSurfacePressed};
388
+ opacity: ${Ze.opacityContentOnSurfacePressed};
382
389
  transform: translate(-50%, -50%) scale(1);
383
390
  }
384
- `;var Ae=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Le extends kt{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 i(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 i(10),this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.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 q`
391
+ `;var Te=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Ge extends It{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 V`
385
392
  <style>
386
393
  .ft-ripple .ft-ripple--effect {
387
394
  left: ${this.originX}px;
388
395
  top: ${this.originY}px;
389
396
  }
390
397
  </style>
391
- <div class="${Ne(t)}">
398
+ <div class="${Ke(t)}">
392
399
  <div class="ft-ripple--background"></div>
393
400
  <div class="ft-ripple--effect"></div>
394
401
  </div>
395
- `}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 i,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.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,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i: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 i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),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",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),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 i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Le.elementDefinitions={},Le.styles=Ie,Ae([o({type:Boolean})],Le.prototype,"primary",void 0),Ae([o({type:Boolean})],Le.prototype,"secondary",void 0),Ae([o({type:Boolean})],Le.prototype,"unbounded",void 0),Ae([o({type:Boolean})],Le.prototype,"activated",void 0),Ae([o({type:Boolean})],Le.prototype,"selected",void 0),Ae([o({type:Boolean})],Le.prototype,"disabled",void 0),Ae([n()],Le.prototype,"hovered",void 0),Ae([n()],Le.prototype,"focused",void 0),Ae([n()],Le.prototype,"pressed",void 0),Ae([n()],Le.prototype,"rippling",void 0),Ae([n()],Le.prototype,"originX",void 0),Ae([n()],Le.prototype,"originY",void 0),Ae([s(".ft-ripple")],Le.prototype,"ripple",void 0),Ae([s(".ft-ripple--effect")],Le.prototype,"rippleEffect",void 0),c("ft-ripple")(Le);
402
+ `}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()}}Ge.elementDefinitions={},Ge.styles=Pe,Te([i({type:Boolean})],Ge.prototype,"primary",void 0),Te([i({type:Boolean})],Ge.prototype,"secondary",void 0),Te([i({type:Boolean})],Ge.prototype,"unbounded",void 0),Te([i({type:Boolean})],Ge.prototype,"activated",void 0),Te([i({type:Boolean})],Ge.prototype,"selected",void 0),Te([i({type:Boolean})],Ge.prototype,"disabled",void 0),Te([r()],Ge.prototype,"hovered",void 0),Te([r()],Ge.prototype,"focused",void 0),Te([r()],Ge.prototype,"pressed",void 0),Te([r()],Ge.prototype,"rippling",void 0),Te([r()],Ge.prototype,"originX",void 0),Te([r()],Ge.prototype,"originY",void 0),Te([a(".ft-ripple")],Ge.prototype,"ripple",void 0),Te([a(".ft-ripple--effect")],Ge.prototype,"rippleEffect",void 0),p("ft-ripple")(Ge);
396
403
  /**
397
404
  * @license
398
405
  * Copyright 2017 Google LLC
399
406
  * SPDX-License-Identifier: BSD-3-Clause
400
407
  */
401
- class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this.ft=void 0,this.et=t;if(t===X)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 i=[t];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}}Pe.directiveName="unsafeHTML",Pe.resultType=1;const De=Ce(Pe);var _e,We;!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;"}(_e||(_e={})),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;"}(We||(We={})),new Map([...["abw"].map((t=>[t,We.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,We.AUDIO])),...["avi"].map((t=>[t,We.AVI])),...["chm","xhs"].map((t=>[t,We.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,We.CODE])),...["csv"].map((t=>[t,We.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,We.DITA])),...["epub"].map((t=>[t,We.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,We.EXCEL])),...["flac"].map((t=>[t,We.FLAC])),...["gif"].map((t=>[t,We.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,We.GZIP])),...["html","htm","xhtml"].map((t=>[t,We.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,We.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,We.JPEG])),...["json"].map((t=>[t,We.JSON])),...["m4a","m4p"].map((t=>[t,We.M4A])),...["mov","qt"].map((t=>[t,We.MOV])),...["mp3"].map((t=>[t,We.MP3])),...["mp4","m4v"].map((t=>[t,We.MP4])),...["ogg","oga"].map((t=>[t,We.OGG])),...["pdf","ps"].map((t=>[t,We.PDF])),...["png"].map((t=>[t,We.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,We.POWERPOINT])),...["rar"].map((t=>[t,We.RAR])),...["stp"].map((t=>[t,We.STP])),...["txt","rtf","md","mdown"].map((t=>[t,We.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,We.VIDEO])),...["wav"].map((t=>[t,We.WAV])),...["wma"].map((t=>[t,We.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,We.WORD])),...["xml","xsl","rdf"].map((t=>[t,We.XML])),...["yaml","yml","x-yaml"].map((t=>[t,We.YAML])),...["zip"].map((t=>[t,We.ZIP]))]);const Ke={size:bt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:bt.extend("--ft-icon-fluid-topics-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:bt.extend("--ft-icon-file-format-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:bt.extend("--ft-icon-material-font-family",bt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:bt.create("--ft-icon-vertical-align","UNKNOWN","unset")},He=x`
408
+ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)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===J)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 Ye=We(_e);var Ve,Je;!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;"}(Ve||(Ve={})),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;"}(Je||(Je={})),new Map([...["abw"].map((t=>[t,Je.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,Je.AUDIO])),...["avi"].map((t=>[t,Je.AVI])),...["chm","xhs"].map((t=>[t,Je.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,Je.CODE])),...["csv"].map((t=>[t,Je.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Je.DITA])),...["epub"].map((t=>[t,Je.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Je.EXCEL])),...["flac"].map((t=>[t,Je.FLAC])),...["gif"].map((t=>[t,Je.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Je.GZIP])),...["html","htm","xhtml"].map((t=>[t,Je.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,Je.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Je.JPEG])),...["json"].map((t=>[t,Je.JSON])),...["m4a","m4p"].map((t=>[t,Je.M4A])),...["mov","qt"].map((t=>[t,Je.MOV])),...["mp3"].map((t=>[t,Je.MP3])),...["mp4","m4v"].map((t=>[t,Je.MP4])),...["ogg","oga"].map((t=>[t,Je.OGG])),...["pdf","ps"].map((t=>[t,Je.PDF])),...["png"].map((t=>[t,Je.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Je.POWERPOINT])),...["rar"].map((t=>[t,Je.RAR])),...["stp"].map((t=>[t,Je.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Je.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,Je.VIDEO])),...["wav"].map((t=>[t,Je.WAV])),...["wma"].map((t=>[t,Je.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Je.WORD])),...["xml","xsl","rdf"].map((t=>[t,Je.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Je.YAML])),...["zip"].map((t=>[t,Je.ZIP]))]);const qe={size:bt.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:bt.extend("--ft-icon-fluid-topics-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:bt.extend("--ft-icon-file-format-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:bt.extend("--ft-icon-material-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:bt.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Xe=b`
402
409
  :host, i.ft-icon {
403
410
  display: inline-flex;
404
411
  align-items: center;
@@ -407,14 +414,14 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
407
414
  }
408
415
 
409
416
  :host {
410
- width: ${Ke.size};
411
- height: ${Ke.size};
417
+ width: ${qe.size};
418
+ height: ${qe.size};
412
419
  }
413
420
 
414
421
  i.ft-icon {
415
422
  width: 100%;
416
423
  height: 100%;
417
- font-size: ${Ke.size};
424
+ font-size: ${qe.size};
418
425
  line-height: 1;
419
426
  font-weight: normal;
420
427
  text-transform: none;
@@ -425,33 +432,33 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
425
432
  text-rendering: auto;
426
433
  -webkit-font-smoothing: antialiased;
427
434
  -moz-osx-font-smoothing: grayscale;
428
- vertical-align: ${Ke.verticalAlign};
435
+ vertical-align: ${qe.verticalAlign};
429
436
  }
430
437
 
431
438
  i.ft-icon.ft-icon--fluid-topics {
432
- font-family: ${Ke.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
439
+ font-family: ${qe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
433
440
 
434
441
  /* Ugly fix because font is broken */
435
- font-size: calc(0.75 * ${Ke.size});
436
- line-height: ${Ke.size};
442
+ font-size: calc(0.75 * ${qe.size});
443
+ line-height: ${qe.size};
437
444
  position: relative;
438
445
  top: -4%;
439
446
  justify-content: center;
440
447
  }
441
448
 
442
449
  .ft-icon--file-format {
443
- font-family: ${Ke.fileFormatFontFamily}, ft-mime, sans-serif;
450
+ font-family: ${qe.fileFormatFontFamily}, ft-mime, sans-serif;
444
451
  }
445
452
 
446
453
  .ft-icon--material {
447
- font-family: ${Ke.materialFontFamily}, "Material Icons", sans-serif;
454
+ font-family: ${qe.materialFontFamily}, "Material Icons", sans-serif;
448
455
  }
449
- `;var Ze;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ze||(Ze={}));var Ve=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Je extends kt{constructor(){super(...arguments),this.resolvedIcon=G}render(){const t=this.variant&&Object.values(Ze).includes(this.variant)?this.variant:Ze.fluid_topics,i=t!==Ze.material||!!this.value;return q`
456
+ `;var Qe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qe||(Qe={}));var ti=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 oi extends It{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 V`
450
457
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
451
- ${De(this.resolvedIcon)}
452
- <slot ?hidden=${i}></slot>
458
+ ${Ye(this.resolvedIcon)}
459
+ <slot ?hidden=${o}></slot>
453
460
  </i>
454
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let e=this.value||this.textContent;switch(this.variant){case Ze.file_format:this.resolvedIcon=null!==(t=We[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Ze.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=null!==(i=_e[e.replace("-","_").toUpperCase()])&&void 0!==i?i:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Je.elementDefinitions={},Je.styles=He,Ve([o()],Je.prototype,"variant",void 0),Ve([o()],Je.prototype,"value",void 0),Ve([n()],Je.prototype,"resolvedIcon",void 0),Ve([s("slot")],Je.prototype,"slottedContent",void 0),c("ft-icon")(Je);const qe={color:bt.extend("--ft-loader-color",gt.colorPrimary),size:bt.create("--ft-loader-size","SIZE","80px")},Xe=x`
461
+ `}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=Je[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Qe.material:this.resolvedIcon=this.value||q;break;default:this.resolvedIcon=null!==(o=Ve[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}oi.elementDefinitions={},oi.styles=Xe,ti([i()],oi.prototype,"variant",void 0),ti([i()],oi.prototype,"value",void 0),ti([r()],oi.prototype,"resolvedIcon",void 0),ti([a("slot")],oi.prototype,"slottedContent",void 0),p("ft-icon")(oi);const ei={color:bt.extend("--ft-loader-color","",St.colorPrimary),size:bt.create("--ft-loader-size","","SIZE","80px")},ii=b`
455
462
  :host {
456
463
  line-height: 0;
457
464
  }
@@ -460,8 +467,8 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
460
467
  display: inline-block;
461
468
  position: relative;
462
469
 
463
- width: ${qe.size};
464
- height: ${qe.size};
470
+ width: ${ei.size};
471
+ height: ${ei.size};
465
472
  }
466
473
 
467
474
  .ft-loader div {
@@ -470,7 +477,7 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
470
477
  width: 25%;
471
478
  height: 25%;
472
479
  border-radius: 50%;
473
- background: ${qe.color};
480
+ background: ${ei.color};
474
481
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
475
482
  }
476
483
 
@@ -517,17 +524,10 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
517
524
  transform: translate(0, 0);
518
525
  }
519
526
  100% {
520
- transform: translate(calc(0.35 * ${qe.size}), 0);
527
+ transform: translate(calc(0.35 * ${ei.size}), 0);
521
528
  }
522
529
  }
523
- `;class Ge extends kt{render(){return q`
524
- <div class="ft-loader">
525
- <div></div>
526
- <div></div>
527
- <div></div>
528
- <div></div>
529
- </div>
530
- `}}Ge.styles=Xe,c("ft-loader")(Ge);const Ye=bt.extend("--ft-button-color",gt.colorPrimary),Qe={backgroundColor:bt.extend("--ft-button-background-color",gt.colorSurface),borderRadius:bt.extend("--ft-button-border-radius",gt.borderRadiusL),color:Ye,fontSize:bt.extend("--ft-button-font-size",ie.fontSize),iconSize:bt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:bt.extend("--ft-button-ripple-color",Ye),verticalPadding:bt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:bt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:bt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:bt.external(gt.colorOpacityDisabled,"Design system")},to=bt.extend("--ft-button-primary-color",bt.extend("--ft-button-color",gt.colorOnPrimary)),io={backgroundColor:bt.extend("--ft-button-primary-background-color",bt.extend("--ft-button-background-color",gt.colorPrimary)),color:to,rippleColor:bt.extend("--ft-button-primary-ripple-color",to)},eo=bt.extend("--ft-button-dense-border-radius",bt.extend("--ft-button-border-radius",gt.borderRadiusM)),oo=bt.create("--ft-button-dense-vertical-padding","SIZE","2px"),no=bt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),ro=bt.create("--ft-button-dense-icon-padding","SIZE","4px"),so=[x`
530
+ `,ri=bt.extend("--ft-button-color","",St.colorPrimary),ni={backgroundColor:bt.extend("--ft-button-background-color","",St.colorSurface),borderRadius:bt.extend("--ft-button-border-radius","",St.borderRadiusL),color:ri,fontSize:bt.extend("--ft-button-font-size","",le.fontSize),iconSize:bt.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:bt.extend("--ft-button-ripple-color","",ri),verticalPadding:bt.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:bt.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:bt.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:bt.external(St.colorOpacityDisabled,"Design system")},ai=bt.extend("--ft-button-primary-color","",bt.extend("--ft-button-color","",St.colorOnPrimary)),li={backgroundColor:bt.extend("--ft-button-primary-background-color","",bt.extend("--ft-button-background-color","",St.colorPrimary)),color:ai,rippleColor:bt.extend("--ft-button-primary-ripple-color","",ai)},si=bt.extend("--ft-button-dense-border-radius","",bt.extend("--ft-button-border-radius","",St.borderRadiusM)),ci=bt.create("--ft-button-dense-vertical-padding","","SIZE","2px"),pi=bt.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),fi=bt.create("--ft-button-dense-icon-padding","","SIZE","4px"),hi=[b`
531
531
  :host {
532
532
  display: inline-block;
533
533
  max-width: 100%;
@@ -538,7 +538,7 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
538
538
  box-shadow: 0px 0px 0px transparent;
539
539
  border: 0px solid transparent;
540
540
  text-shadow: 0px 0px 0px transparent;
541
- font-size: ${Qe.fontSize};
541
+ font-size: ${ni.fontSize};
542
542
  }
543
543
 
544
544
  button:hover {
@@ -567,31 +567,31 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
567
567
  border: none;
568
568
  pointer-events: auto;
569
569
 
570
- --ft-button-internal-line-height: max(calc(${Qe.fontSize} + 2px), ${Qe.iconSize});
571
- --ft-button-internal-color: ${Qe.color};
572
- ${xt(Ke.size,Qe.iconSize)};
573
- ${xt(Me.color,Qe.rippleColor)};
570
+ --ft-button-internal-line-height: max(calc(${ni.fontSize} + 2px), ${ni.iconSize});
571
+ --ft-button-internal-color: ${ni.color};
572
+ ${mt(qe.size,ni.iconSize)};
573
+ ${mt(Ze.color,ni.rippleColor)};
574
574
 
575
- border-radius: ${Qe.borderRadius};
576
- padding: ${Qe.verticalPadding} ${Qe.horizontalPadding};
577
- background-color: ${Qe.backgroundColor};
575
+ border-radius: ${ni.borderRadius};
576
+ padding: ${ni.verticalPadding} ${ni.horizontalPadding};
577
+ background-color: ${ni.backgroundColor};
578
578
  color: var(--ft-button-internal-color);
579
579
  -webkit-mask-image: radial-gradient(white, black);
580
580
  }
581
581
 
582
582
  .ft-button.ft-button--outlined {
583
583
  border: 1px solid var(--ft-button-internal-color);
584
- padding: calc(${Qe.verticalPadding} - 1px) calc(${Qe.horizontalPadding} - 1px);
584
+ padding: calc(${ni.verticalPadding} - 1px) calc(${ni.horizontalPadding} - 1px);
585
585
  }
586
586
 
587
587
  .ft-button.ft-button--dense {
588
- padding: ${oo} ${no};
589
- border-radius: ${eo};
590
- gap: ${ro};
588
+ padding: ${ci} ${pi};
589
+ border-radius: ${si};
590
+ gap: ${fi};
591
591
  }
592
592
 
593
593
  .ft-button.ft-button--dense.ft-button--outlined {
594
- padding: calc(${oo} - 1px) calc(${no} - 1px);
594
+ padding: calc(${ci} - 1px) calc(${pi} - 1px);
595
595
  }
596
596
 
597
597
  .ft-button:not([disabled]):hover {
@@ -599,22 +599,22 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
599
599
  }
600
600
 
601
601
  .ft-button--round {
602
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Qe.verticalPadding});
602
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ni.verticalPadding});
603
603
  }
604
604
 
605
605
  .ft-button--round.ft-button--dense {
606
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${oo});
606
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ci});
607
607
  }
608
608
 
609
609
  .ft-button[disabled] {
610
610
  filter: grayscale(1);
611
- opacity: ${Qe.opacityDisabled};
611
+ opacity: ${ni.opacityDisabled};
612
612
  }
613
613
 
614
614
  .ft-button.ft-button--primary {
615
- background-color: ${io.backgroundColor};
616
- --ft-button-internal-color: ${io.color};
617
- ${xt(Me.color,io.rippleColor)};
615
+ background-color: ${li.backgroundColor};
616
+ --ft-button-internal-color: ${li.color};
617
+ ${mt(Ze.color,li.rippleColor)};
618
618
  }
619
619
 
620
620
  .ft-button:focus {
@@ -627,13 +627,13 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
627
627
  white-space: nowrap;
628
628
  text-overflow: ellipsis;
629
629
  display: block;
630
- margin: 0 ${Qe.iconPadding};
631
- ${xt(ie.fontSize,"1em")};
632
- ${xt(ie.lineHeight,"var(--ft-button-internal-line-height)")};
630
+ margin: 0 ${ni.iconPadding};
631
+ ${mt(le.fontSize,"1em")};
632
+ ${mt(le.lineHeight,"var(--ft-button-internal-line-height)")};
633
633
  }
634
634
 
635
635
  .ft-button--dense .ft-button--label {
636
- margin: 0 ${ro};
636
+ margin: 0 ${fi};
637
637
  }
638
638
 
639
639
  .ft-button--label[hidden] {
@@ -646,13 +646,13 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
646
646
  }
647
647
 
648
648
  .ft-button--label[hidden] + ft-icon {
649
- margin: 0 calc(${Qe.horizontalPadding} * -1);
650
- padding: 0 ${Qe.verticalPadding};
649
+ margin: 0 calc(${ni.horizontalPadding} * -1);
650
+ padding: 0 ${ni.verticalPadding};
651
651
  }
652
652
 
653
653
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
654
- margin: 0 calc(${no} * -1);
655
- padding: 0 ${oo};
654
+ margin: 0 calc(${pi} * -1);
655
+ padding: 0 ${ci};
656
656
  }
657
657
 
658
658
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -661,33 +661,258 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
661
661
  }
662
662
 
663
663
  ft-loader {
664
- ${xt(qe.size,Qe.iconSize)};
665
- ${xt(qe.color,"var(--ft-button-internal-color)")};
664
+ ${mt(ei.size,ni.iconSize)};
665
+ ${mt(ei.color,"var(--ft-button-internal-color)")};
666
666
  }
667
- `,Ct];var ao=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class lo extends(function(t,i){return class extends t{static get formAssociated(){return!0}get form(){return this[Tt].form}constructor(...t){super(t),this[Tt]=this.attachInternals(),this[Tt].role=i}setFormValue(t){this[Tt].setFormValue(t)}}}(kt,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!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 i;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(i=this.form)||void 0===i||i.requestSubmit())}}render(){const t={"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};return this.addTooltipIfNeeded(q`
667
+ `,Ut];class di extends It{render(){return V`
668
+ <div class="ft-loader">
669
+ <div></div>
670
+ <div></div>
671
+ <div></div>
672
+ <div></div>
673
+ </div>
674
+ `}}di.styles=ii,p("ft-loader")(di);var ui=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 yi extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[At].form}constructor(...t){super(t),this[At]=this.attachInternals(),this[At].role=o}setFormValue(t){this[At].setFormValue(t)}}}(It,"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(V`
668
675
  <button part="button"
669
- class="${Ne(t)}"
676
+ class="${Ke(this.buttonClasses)}"
670
677
  aria-label="${this.getLabel()}"
671
678
  ?disabled=${this.isDisabled()}>
672
679
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
673
680
  <ft-typography part="label"
674
- variant="button"
681
+ variant=${this.typographyVariant}
675
682
  element="span"
676
- class="ft-button--label ${Pt?"ft-safari-ellipsis-fix":""}"
683
+ class="ft-button--label ${Tt?"ft-safari-ellipsis-fix":""}"
677
684
  ?hidden=${!this.hasTextContent()}>
678
685
  <slot @slotchange=${this.onSlotchange}></slot>
679
686
  </ft-typography>
680
687
  ${this.resolveIcon()}
681
688
  </button>
682
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?q`
689
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?V`
683
690
  <ft-tooltip part="tooltip"
684
691
  text="${this.getLabel()}"
685
692
  position="${this.tooltipPosition}">
686
693
  ${t}
687
694
  </ft-tooltip>
688
- `:t}resolveIcon(){return this.loading?q`
689
- <ft-loader part="loader icon"></ft-loader> `:this.icon?q`
690
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:G}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}}lo.elementDefinitions={"ft-ripple":Le,"ft-tooltip":Oe,"ft-typography":ue,"ft-icon":Je,"ft-loader":Ge},lo.styles=[Et,so],ao([o({type:String,reflect:!0})],lo.prototype,"role",void 0),ao([o()],lo.prototype,"type",void 0),ao([o({type:Boolean})],lo.prototype,"primary",void 0),ao([o({type:Boolean})],lo.prototype,"outlined",void 0),ao([o({type:Boolean})],lo.prototype,"disabled",void 0),ao([o({type:Boolean})],lo.prototype,"dense",void 0),ao([o({type:Boolean})],lo.prototype,"round",void 0),ao([o()],lo.prototype,"label",void 0),ao([o()],lo.prototype,"icon",void 0),ao([o()],lo.prototype,"iconVariant",void 0),ao([o({type:Boolean})],lo.prototype,"trailingIcon",void 0),ao([o({type:Boolean})],lo.prototype,"loading",void 0),ao([o()],lo.prototype,"tooltipPosition",void 0),ao([o({type:Boolean})],lo.prototype,"hideTooltip",void 0),ao([o({type:Boolean})],lo.prototype,"forceTooltip",void 0),ao([s(".ft-button")],lo.prototype,"button",void 0),ao([s(".ft-button--label slot")],lo.prototype,"slottedContent",void 0),c("ft-button")(lo);const ho=bt.extend("--ft-chip-color",gt.colorOnSurface),co={backgroundColor:bt.extend("--ft-chip-background-color",gt.colorSurface),color:ho,fontSize:bt.extend("--ft-chip-font-size",Ti.fontSize),iconSize:bt.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:bt.extend("--ft-chip-ripple-color",ho),horizontalPadding:bt.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:bt.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:bt.external(gt.colorOutline,"Design system"),opacityDisabled:bt.external(gt.colorOpacityDisabled,"Design system")},po=bt.extend("--ft-chip-highlighted-color",bt.extend("--ft-chip-color",gt.colorOnPrimary)),fo={backgroundColor:bt.extend("--ft-chip-highlighted-background-color",bt.extend("--ft-chip-background-color",gt.colorPrimary)),color:po,rippleColor:bt.extend("--ft-chip-highlighted-ripple-color",po)},uo=bt.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),vo=bt.create("--ft-chip-dense-vertical-padding","SIZE","4px"),bo=[Ct,x`
695
+ `:t}resolveIcon(){return this.loading?V`
696
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?V`
697
+ <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}}yi.elementDefinitions={"ft-ripple":Ge,"ft-tooltip":Ie,"ft-typography":Oe,"ft-icon":oi,"ft-loader":di},ui([i({type:String,reflect:!0})],yi.prototype,"role",void 0),ui([i()],yi.prototype,"type",void 0),ui([i({type:Boolean})],yi.prototype,"disabled",void 0),ui([i()],yi.prototype,"label",void 0),ui([i()],yi.prototype,"icon",void 0),ui([i()],yi.prototype,"iconVariant",void 0),ui([i({type:Boolean})],yi.prototype,"trailingIcon",void 0),ui([i({type:Boolean})],yi.prototype,"loading",void 0),ui([i()],yi.prototype,"tooltipPosition",void 0),ui([i({type:Boolean})],yi.prototype,"hideTooltip",void 0),ui([i({type:Boolean})],yi.prototype,"forceTooltip",void 0),ui([a(".ft-button")],yi.prototype,"button",void 0),ui([a(".ft-button--label slot")],yi.prototype,"slottedContent",void 0);var gi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 bi extends yi{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!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"}}bi.styles=[Lt,hi],gi([i({type:Boolean})],bi.prototype,"primary",void 0),gi([i({type:Boolean})],bi.prototype,"outlined",void 0),gi([i({type:Boolean})],bi.prototype,"disabled",void 0),gi([i({type:Boolean})],bi.prototype,"dense",void 0),gi([i({type:Boolean})],bi.prototype,"round",void 0);const mi=[b`
698
+ :host {
699
+ display: inline-block;
700
+ max-width: 100%;
701
+ pointer-events: none;
702
+ }
703
+
704
+ /** Remove default button styles **/
705
+
706
+ button {
707
+ box-shadow: 0 0 0 transparent;
708
+ border: 0 solid transparent;
709
+ text-shadow: 0 0 0 transparent;
710
+ }
711
+
712
+ button:hover {
713
+ box-shadow: 0 0 0 transparent;
714
+ text-shadow: 0 0 0 transparent;
715
+ }
716
+
717
+ button:active {
718
+ outline: none;
719
+ }
720
+
721
+ button:focus {
722
+ outline: 0;
723
+ }
724
+
725
+ /** Base styles **/
726
+
727
+ .ft-button {
728
+ position: relative;
729
+ display: flex;
730
+ justify-content: center;
731
+ align-items: center;
732
+ width: 100%;
733
+ overflow: hidden;
734
+ box-sizing: border-box;
735
+ pointer-events: auto;
736
+ }
737
+
738
+ .ft-button:not([disabled]):hover {
739
+ cursor: pointer;
740
+ }
741
+
742
+ .ft-button:focus {
743
+ outline: none;
744
+ }
745
+
746
+ .ft-button:focus-visible {
747
+ outline-color: ${Nt.focusFocusRingColor};
748
+ outline-style: solid;
749
+ }
750
+
751
+ ft-icon {
752
+ flex-shrink: 0;
753
+ position: relative;
754
+ }
755
+
756
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
757
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
758
+ order: -1;
759
+ }
760
+
761
+ .ft-button--label {
762
+ position: relative;
763
+ overflow: hidden;
764
+ white-space: nowrap;
765
+ text-overflow: ellipsis;
766
+ display: block;
767
+ }
768
+
769
+ .ft-button--label[hidden] {
770
+ display: none;
771
+ }
772
+
773
+ /** Primary styles **/
774
+
775
+ .ft-button--primary {
776
+ ${mt(ei.color,Nt.primaryIconColor)};
777
+
778
+ ${mt(Ze.color,Nt.primaryStateLayerColor)};
779
+ ${mt(Ze.opacityContentOnSurfaceHover,Nt.primaryStateLayerOpacityHover)};
780
+ ${mt(Ze.opacityContentOnSurfaceFocused,Nt.primaryStateLayerOpacityFocus)};
781
+ ${mt(Ze.opacityContentOnSurfaceSelected,Nt.primaryStateLayerOpacityActive)};
782
+ ${mt(Ze.opacityContentOnSurfacePressed,Nt.primaryStateLayerOpacityActive)};
783
+
784
+ background-color: ${Nt.primaryBackgroundColor};
785
+ color: ${Nt.primaryColor};
786
+ border-style: none;
787
+ }
788
+
789
+ .ft-button--primary[disabled] {
790
+ opacity: ${Nt.primaryComponentOpacityDisabled};
791
+ }
792
+
793
+ .ft-button--primary ft-icon {
794
+ color: ${Nt.primaryIconColor};
795
+ }
796
+
797
+ /** Secondary styles **/
798
+
799
+ .ft-button--secondary {
800
+ ${mt(ei.color,Nt.secondaryIconColor)};
801
+
802
+ ${mt(Ze.color,Nt.secondaryStateLayerColor)};
803
+ ${mt(Ze.opacityContentOnSurfaceHover,Nt.secondaryStateLayerOpacityHover)};
804
+ ${mt(Ze.opacityContentOnSurfaceFocused,Nt.secondaryStateLayerOpacityFocus)};
805
+ ${mt(Ze.opacityContentOnSurfaceSelected,Nt.secondaryStateLayerOpacityActive)};
806
+ ${mt(Ze.opacityContentOnSurfacePressed,Nt.secondaryStateLayerOpacityActive)};
807
+
808
+ background-color: ${Nt.secondaryBackgroundColor};
809
+ color: ${Nt.secondaryColor};
810
+ border-color: ${Nt.secondaryBorderColor};
811
+ border-style: solid;
812
+ }
813
+
814
+ .ft-button--secondary[disabled] {
815
+ opacity: ${Nt.secondaryComponentOpacityDisabled};
816
+ }
817
+
818
+ .ft-button--secondary ft-icon {
819
+ color: ${Nt.secondaryIconColor};
820
+ }
821
+
822
+ /** Tertiary styles **/
823
+
824
+ .ft-button--tertiary {
825
+ ${mt(ei.color,Nt.tertiaryIconColor)};
826
+
827
+ ${mt(Ze.color,Nt.tertiaryStateLayerColor)};
828
+ ${mt(Ze.opacityContentOnSurfaceHover,Nt.tertiaryStateLayerOpacityHover)};
829
+ ${mt(Ze.opacityContentOnSurfaceFocused,Nt.tertiaryStateLayerOpacityFocus)};
830
+ ${mt(Ze.opacityContentOnSurfaceSelected,Nt.tertiaryStateLayerOpacityActive)};
831
+ ${mt(Ze.opacityContentOnSurfacePressed,Nt.tertiaryStateLayerOpacityActive)};
832
+
833
+ background-color: ${Nt.tertiaryBackgroundColor};
834
+ color: ${Nt.tertiaryColor};
835
+ border-style: none;
836
+ }
837
+
838
+ .ft-button--tertiary[disabled] {
839
+ opacity: ${Nt.tertiaryComponentOpacityDisabled};
840
+ }
841
+
842
+ .ft-button--tertiary ft-icon {
843
+ color: ${Nt.tertiaryIconColor};
844
+ }
845
+
846
+ /** Neutral styles **/
847
+
848
+ .ft-button--neutral {
849
+ ${mt(ei.color,Nt.neutralIconColor)};
850
+
851
+ ${mt(Ze.backgroundColor,Nt.neutralStateLayerColor)};
852
+ ${mt(Ze.opacityContentOnSurfaceHover,Nt.neutralStateLayerOpacityHover)};
853
+ ${mt(Ze.opacityContentOnSurfaceFocused,Nt.neutralStateLayerOpacityFocus)};
854
+ ${mt(Ze.opacityContentOnSurfaceSelected,Nt.neutralStateLayerOpacityActive)};
855
+ ${mt(Ze.opacityContentOnSurfacePressed,Nt.neutralStateLayerOpacityActive)};
856
+
857
+ background-color: ${Nt.neutralBackgroundColor};
858
+ color: ${Nt.neutralColor};
859
+ border-style: none;
860
+ }
861
+
862
+ .ft-button--neutral[disabled] {
863
+ opacity: ${Nt.neutralComponentOpacityDisabled};
864
+ }
865
+
866
+ .ft-button--neutral ft-icon {
867
+ color: ${Nt.neutralIconColor};
868
+ }
869
+
870
+ /** Large styles **/
871
+
872
+ .ft-button--large {
873
+ ${mt(qe.size,Nt.largeIconSize)};
874
+ ${mt(ei.size,Nt.largeIconSize)};
875
+
876
+ height: ${Nt.largeHeight};
877
+ padding: 0 ${Nt.largeHorizontalPadding};
878
+ gap: ${Nt.largeGap};
879
+ border-radius: ${Nt.largeBorderRadius};
880
+ border-width: ${Nt.largeBorderWidth};
881
+ }
882
+
883
+ .ft-button--large:focus-visible {
884
+ outline-width: ${Nt.largeFocusOutlineWidth};
885
+ outline-offset: ${Nt.largeFocusOutlineOffset};
886
+ }
887
+
888
+ .ft-button--large.ft-button--icon-only {
889
+ width: ${Nt.largeIconOnlyWidth};
890
+ padding: unset;
891
+ }
892
+
893
+ /** Small styles **/
894
+
895
+ .ft-button--small {
896
+ ${mt(qe.size,Nt.smallIconSize)};
897
+ ${mt(ei.size,Nt.smallIconSize)};
898
+
899
+ height: ${Nt.smallHeight};
900
+ padding: 0 ${Nt.smallHorizontalPadding};
901
+ gap: ${Nt.smallGap};
902
+ border-radius: ${Nt.smallBorderRadius};
903
+ border-width: ${Nt.smallBorderWidth};
904
+ }
905
+
906
+ .ft-button--small:focus-visible {
907
+ outline-width: ${Nt.smallFocusOutlineWidth};
908
+ outline-offset: ${Nt.smallFocusOutlineOffset};
909
+ }
910
+
911
+ .ft-button--small.ft-button--icon-only {
912
+ width: ${Nt.smallIconOnlyWidth};
913
+ padding: unset;
914
+ }
915
+ `,Ut];var vi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 xi extends yi{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?lo.caption1medium:lo.body2medium}}xi.styles=[Lt,mi],vi([i({type:Boolean})],xi.prototype,"primary",void 0),vi([i({type:Boolean})],xi.prototype,"secondary",void 0),vi([i({type:Boolean})],xi.prototype,"tertiary",void 0),vi([i({type:Boolean})],xi.prototype,"neutral",void 0),vi([i({type:Boolean})],xi.prototype,"small",void 0),p("ft-button")(bi),p("ftds-button")(xi);const Oi=bt.extend("--ft-chip-color","",St.colorOnSurface),Ni={backgroundColor:bt.extend("--ft-chip-background-color","",St.colorSurface),color:Oi,fontSize:bt.extend("--ft-chip-font-size","",Ho.fontSize),iconSize:bt.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:bt.extend("--ft-chip-ripple-color","",Oi),horizontalPadding:bt.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:bt.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:bt.external(St.colorOutline,"Design system"),opacityDisabled:bt.external(St.colorOpacityDisabled,"Design system")},Si=bt.extend("--ft-chip-highlighted-color","",bt.extend("--ft-chip-color","",St.colorOnPrimary)),wi={backgroundColor:bt.extend("--ft-chip-highlighted-background-color","",bt.extend("--ft-chip-background-color","",St.colorPrimary)),color:Si,rippleColor:bt.extend("--ft-chip-highlighted-ripple-color","",Si)},Ci=bt.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),$i=bt.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Ri=[Ut,b`
691
916
  :host {
692
917
  display: inline-block;
693
918
  max-width: 100%;
@@ -703,20 +928,20 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
703
928
  box-sizing: border-box;
704
929
  pointer-events: auto;
705
930
 
706
- --ft-chip-internal-font-size: ${co.fontSize};
931
+ --ft-chip-internal-font-size: ${Ni.fontSize};
707
932
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
708
- ${xt(Ke.size,co.iconSize)};
709
- --ft-chip-internal-vertical-padding: ${co.verticalPadding};
710
- --ft-chip-internal-horizontal-padding: ${co.horizontalPadding};
933
+ ${mt(qe.size,Ni.iconSize)};
934
+ --ft-chip-internal-vertical-padding: ${Ni.verticalPadding};
935
+ --ft-chip-internal-horizontal-padding: ${Ni.horizontalPadding};
711
936
  --ft-chip-internal-icon-padding: 3px;
712
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${co.iconSize});
937
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ni.iconSize});
713
938
 
714
- border: 1px solid ${co.colorOutline};
715
- color: ${co.color};
716
- ${xt(Me.color,co.rippleColor)};
939
+ border: 1px solid ${Ni.colorOutline};
940
+ color: ${Ni.color};
941
+ ${mt(Ze.color,Ni.rippleColor)};
717
942
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
718
943
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
719
- background-color: ${co.backgroundColor};
944
+ background-color: ${Ni.backgroundColor};
720
945
  line-height: var(--ft-chip-internal-content-height);
721
946
  }
722
947
 
@@ -726,8 +951,8 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
726
951
 
727
952
  .ft-chip--dense {
728
953
  --ft-chip-internal-icon-padding: 3px;
729
- --ft-chip-internal-vertical-padding: ${vo};
730
- --ft-chip-internal-horizontal-padding: ${uo};
954
+ --ft-chip-internal-vertical-padding: ${$i};
955
+ --ft-chip-internal-horizontal-padding: ${Ci};
731
956
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
732
957
  }
733
958
 
@@ -739,15 +964,15 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
739
964
  cursor: default;
740
965
  pointer-events: none;
741
966
  filter: grayscale(1);
742
- opacity: ${co.opacityDisabled};
967
+ opacity: ${Ni.opacityDisabled};
743
968
  }
744
969
 
745
970
  .ft-chip--highlighted {
746
971
  border: none;
747
972
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
748
- background-color: ${fo.backgroundColor};
749
- ${xt(Me.color,fo.rippleColor)};
750
- color: ${fo.color};
973
+ background-color: ${wi.backgroundColor};
974
+ ${mt(Ze.color,wi.rippleColor)};
975
+ color: ${wi.color};
751
976
  }
752
977
 
753
978
  .ft-chip--clickable {
@@ -777,9 +1002,9 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
777
1002
  }
778
1003
 
779
1004
  .ft-chip--icon-button {
780
- ${xt(Qe.iconSize,co.iconSize)};
781
- ${xt(Qe.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
782
- ${xt(Qe.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1005
+ ${mt(ni.iconSize,Ni.iconSize)};
1006
+ ${mt(ni.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1007
+ ${mt(ni.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
783
1008
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
784
1009
  }
785
1010
 
@@ -787,8 +1012,8 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
787
1012
  vertical-align: bottom;
788
1013
  display: block;
789
1014
  margin: 0 var(--ft-chip-internal-horizontal-padding);
790
- ${xt(Ti.fontSize,"var(--ft-chip-internal-font-size)")};
791
- ${xt(Ti.lineHeight,"var(--ft-chip-internal-content-height)")};
1015
+ ${mt(Ho.fontSize,"var(--ft-chip-internal-font-size)")};
1016
+ ${mt(Ho.lineHeight,"var(--ft-chip-internal-content-height)")};
792
1017
  }
793
1018
 
794
1019
  .ft-chip--safari-fix .ft-chip--label {
@@ -824,8 +1049,8 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
824
1049
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
825
1050
  order: -1;
826
1051
  }
827
- `];var xo=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class go extends CustomEvent{constructor(){super("icon-click")}}class yo extends kt{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Pt};return q`
828
- <div class="${Ne(t)}"
1052
+ `];var Ei=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 ki extends CustomEvent{constructor(){super("icon-click")}}class Ii extends It{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Tt};return V`
1053
+ <div class="${Ke(t)}"
829
1054
  aria-label="${this.getLabel()}"
830
1055
  tabindex="${this.interactionsOnChip?0:-1}"
831
1056
  @keyup=${this.onKeyUp}>
@@ -835,7 +1060,7 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
835
1060
  </ft-typography>
836
1061
  ${this.internalIcon?this.renderIcon():null}
837
1062
  </div>
838
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?q`
1063
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?V`
839
1064
  <ft-button round
840
1065
  class="ft-chip--icon-button"
841
1066
  @click=${this.onIconClick}
@@ -843,21 +1068,21 @@ class Pe extends Ee{constructor(t){if(super(t),this.et=G,t.type!==ke)throw Error
843
1068
  icon="${this.internalIcon}"
844
1069
  label="${this.iconLabel}"
845
1070
  ></ft-button>
846
- `:q`
1071
+ `:V`
847
1072
  <div class="ft-chip--icon-container ft-no-text-select">
848
1073
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
849
1074
  </div>
850
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new go))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new go))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}yo.elementDefinitions={"ft-ripple":Le,"ft-typography":ue,"ft-icon":Je,"ft-button":lo},yo.styles=bo,xo([o({type:Boolean})],yo.prototype,"highlighted",void 0),xo([o({type:Boolean})],yo.prototype,"removable",void 0),xo([o({type:Boolean})],yo.prototype,"disabled",void 0),xo([o({type:Boolean})],yo.prototype,"clickable",void 0),xo([o({type:Boolean})],yo.prototype,"iconClickable",void 0),xo([o({type:Boolean})],yo.prototype,"dense",void 0),xo([o({type:Boolean})],yo.prototype,"multiLine",void 0),xo([o()],yo.prototype,"label",void 0),xo([o()],yo.prototype,"iconLabel",void 0),xo([o()],yo.prototype,"icon",void 0),xo([o()],yo.prototype,"iconVariant",void 0),xo([o({type:Boolean})],yo.prototype,"trailingIcon",void 0),xo([s("ft-typography slot")],yo.prototype,"slottedContent",void 0),c("ft-chip")(yo);var mo=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class wo extends Xt{constructor(){super(...arguments),this.editorMode=!1}render(){return q`
1075
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ki))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ki))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Ii.elementDefinitions={"ft-ripple":Ge,"ft-typography":Oe,"ft-icon":oi,"ft-button":bi},Ii.styles=Ri,Ei([i({type:Boolean})],Ii.prototype,"highlighted",void 0),Ei([i({type:Boolean})],Ii.prototype,"removable",void 0),Ei([i({type:Boolean})],Ii.prototype,"disabled",void 0),Ei([i({type:Boolean})],Ii.prototype,"clickable",void 0),Ei([i({type:Boolean})],Ii.prototype,"iconClickable",void 0),Ei([i({type:Boolean})],Ii.prototype,"dense",void 0),Ei([i({type:Boolean})],Ii.prototype,"multiLine",void 0),Ei([i()],Ii.prototype,"label",void 0),Ei([i()],Ii.prototype,"iconLabel",void 0),Ei([i()],Ii.prototype,"icon",void 0),Ei([i()],Ii.prototype,"iconVariant",void 0),Ei([i({type:Boolean})],Ii.prototype,"trailingIcon",void 0),Ei([a("ft-typography slot")],Ii.prototype,"slottedContent",void 0),p("ft-chip")(Ii);var Ui=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Li extends oo{constructor(){super(...arguments),this.editorMode=!1}render(){return V`
851
1076
  <ft-tooltip text="${this.tooltipText}">
852
1077
  <ft-chip>
853
1078
  ${this.renderContent()}
854
1079
  </ft-chip>
855
1080
  </ft-tooltip>
856
1081
  ${this.hideIfEmpty()}
857
- `}renderContent(){return this.metadata?q`${this.valueText}`:this.key?q`no value for ${this.key}`:q`no metadata selected`}hideIfEmpty(){return this.editorMode||this.metadata?G:q`
1082
+ `}renderContent(){return this.metadata?V`${this.valueText}`:this.key?V`no value for ${this.key}`:V`no metadata selected`}hideIfEmpty(){return this.editorMode||this.metadata?q:V`
858
1083
  <style>
859
1084
  :host {
860
1085
  display: none !important;
861
1086
  }
862
1087
  </style>
863
- `}get valueText(){var t,i;return null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==i?i:""}get tooltipText(){var t,i;return this.metadata?`${null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==i?i:this.metadata.key}: ${this.valueText}`:""}update(t){super.update(t),["key","tocNode"].some((i=>t.has(i)))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&(null===(t=this.service)||void 0===t||t.getTopicInfo(this.tocNode).then((t=>this.metadata=t.metadata.find((t=>t.key===this.key)))).catch((()=>null)))}}wo.elementDefinitions={"ft-tooltip":Oe,"ft-chip":yo},wo.styles=Dt,mo([o()],wo.prototype,"key",void 0),mo([n()],wo.prototype,"editorMode",void 0),mo([n()],wo.prototype,"metadata",void 0),c("ft-reader-topic-metadata")(wo),t.FtReaderTopicMetadata=wo,t.FtReaderTopicMetadataCssVariables={},t.styles=Dt}({});
1088
+ `}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}update(t){super.update(t),["key","tocNode"].some((o=>t.has(o)))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&(null===(t=this.service)||void 0===t||t.getTopicInfo(this.tocNode).then((t=>this.metadata=t.metadata.find((t=>t.key===this.key)))).catch((()=>null)))}}Li.elementDefinitions={"ft-tooltip":Ie,"ft-chip":Ii},Li.styles=Gt,Ui([i()],Li.prototype,"key",void 0),Ui([r()],Li.prototype,"editorMode",void 0),Ui([r()],Li.prototype,"metadata",void 0),p("ft-reader-topic-metadata")(Li),t.FtReaderTopicMetadata=Li,t.FtReaderTopicMetadataCssVariables={},t.styles=Gt}({});