@fluid-topics/ft-chip 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||[]);f(n,l,a);const c={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,c),this._definitionsByClass.set(n,c);let h=e.call(o,t);h||(h=p(t),i.call(o,t,h)),this===window.customElements&&(s.set(n,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,c,!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 c=t=>t===document||t instanceof ShadowRoot,h=t=>{let i=t.getRootNode();if(!c(i)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),c(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=h(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)}},f=(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)})},d=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):d(e)},u=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),n.set(t,i),l=t;try{new i.elementClass}catch(t){d(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(de){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 c;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,c=new Set(r.observedAttributes||[]);d(r,c,l);const s={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:c};this._definitionsByTag.set(t,s),this._definitionsByClass.set(r,s);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,s),s.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,s,!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=c;if(o)return c=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const s=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!s(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),s(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)}},d=(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)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),c=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const 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(ve){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 c(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(!c(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(!c(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(!c(t[r],i[r]))return!1}return!0}return t!=t&&i!=i}(t,i)}catch(t){return!1}}const h=t=>i=>{window.customElements.get(t)||window.customElements.define(t,i)};
42
+ */var l;const c=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 s(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(!s(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(!s(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(!s(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,f=p.ShadowRoot&&(void 0===p.ShadyCSS||p.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),u=new WeakMap;let v=class{constructor(t,i,e){if(this._$cssResult$=!0,e!==d)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(f&&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,d),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,d)},g=(t,i)=>{f?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=f?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,d=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,h=Symbol(),u=new WeakMap;let y=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==h)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(d&&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,h),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,h)},m=(t,o)=>{d?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)}))},x=d?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:"",k=w.reactiveElementPolyfillSupport,S={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:S,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:S).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:S;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 v;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(x(t))}else void 0!==t&&o.push(x(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return 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==k||k({ReactiveElement:N}),(null!==(m=w.reactiveElementVersions)&&void 0!==m?m:w.reactiveElementVersions=[]).push("1.6.1");const M=window,z=M.trustedTypes,U=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,B="?"+j,I=`<${B}>`,L=document,P=()=>L.createComment(""),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,D="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,H=/>/g,Z=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/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"),Y=Symbol.for("lit-nothing"),G=new WeakMap,Q=L.createTreeWalker(L,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,c=-1,h=0;for(;h<e.length&&(s.lastIndex=h,l=s.exec(e),null!==l);)h=s.lastIndex,s===_?"!--"===l[1]?s=W:void 0!==l[1]?s=H:void 0!==l[2]?(J.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=Z):void 0!==l[3]&&(s=Z):s===Z?">"===l[0]?(s=null!=n?n:_,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?Z:'"'===l[3]?V:K):s===V||s===K?s=Z:s===W||s===H?s=_:(s=Z,n=void 0);const p=s===Z&&t[i+1].startsWith("/>")?" ":"";r+=s===_?e+I:c>=0?(o.push(a),e.slice(0,c)+F+e.slice(c)+j+p):e+j+(-2===c?(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!==U?U.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,c]=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(j)){const e=c[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+F).split(j),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?st:"?"===i[1]?lt:"@"===i[1]?ct: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(j),i=t.length-1;if(i>0){o.textContent=z?z.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],P()),Q.nextNode(),a.push({type:2,index:++n});o.append(t[i],P())}}}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(j,t+1));)a.push({type:7,index:n}),t+=j.length-1}n++}}static createElement(t,i){const e=L.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 c=A(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===c?l=void 0:(l=new c(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:L).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 ht(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=Y,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),A(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>T(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!==Y&&A(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.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=G.get(t.strings);return void 0===i&&G.set(t.strings,i=new it(t)),i}T(t){T(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(P()),this.k(P()),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=Y,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=Y}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=!A(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=!A(a)||a!==this._$AH[s]),a===Y?t=Y:t!==Y&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===Y?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===Y?void 0:t}}const at=z?z.emptyScript:"";class lt extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ct 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:Y)===X)return;const o=this._$AH,n=t===Y&&o!==Y||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Y&&(o===Y||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 ht{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!==(v=O.reactiveElementVersions)&&void 0!==v?v:O.reactiveElementVersions=[]).push("1.6.1");const U=window,I=U.trustedTypes,W=I?I.createPolicy("lit-html",{createHTML:t=>t}):void 0,L="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,K="?"+z,Z=`<${K}>`,F=document,B=()=>F.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=F.createTreeWalker(F,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,c,s=-1,p=0;for(;p<e.length&&(a.lastIndex=p,c=a.exec(e),null!==c);)p=a.lastIndex,a===H?"!--"===c[1]?a=j:void 0!==c[1]?a=P:void 0!==c[2]?(Y.test(c[2])&&(r=RegExp("</"+c[2],"g")),a=T):void 0!==c[3]&&(a=T):a===T?">"===c[0]?(a=null!=r?r:H,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?T:'"'===c[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+Z:s>=0?(i.push(l),e.slice(0,s)+L+e.slice(s)+z+f):e+z+(-2===s?(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!==W?W.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,[c,s]=tt(t,o);if(this.el=ot.createElement(c,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(L)||o.startsWith(z)){const e=s[n++];if(t.push(o),void 0!==e){const t=i.getAttribute(e.toLowerCase()+L).split(z),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:o[2],strings:t,ctor:"."===o[1]?at:"?"===o[1]?ct:"@"===o[1]?st: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=I?I.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=F.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 c=void 0!==i?null===(r=e._$Co)||void 0===r?void 0:r[i]:e._$Cl;const s=D(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==s&&(null===(n=null==c?void 0:c._$AO)||void 0===n||n.call(c,!1),void 0===s?c=void 0:(c=new s(t),c._$AT(t,e,i)),void 0!==i?(null!==(a=(l=e)._$Co)&&void 0!==a?a:l._$Co=[])[i]=c:e._$Cl=c),void 0!==c&&(o=et(t,c._$AS(t,o.values),c,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:F).importNode(e,!0);Q.currentNode=r;let n=Q.nextNode(),a=0,l=0,c=i[0];for(;void 0!==c;){if(a===c.index){let o;2===c.type?o=new rt(n,n.nextSibling,this,t):1===c.type?o=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(o=new pt(n,this,t)),this._$AV.push(o),c=i[++l]}a!==(null==c?void 0:c.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.$(F.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=I?I.emptyScript:"";class ct 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 st 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=U.litHtmlPolyfillSupport;null==ft||ft(ot,rt),(null!==(k=U.litHtmlVersions)&&void 0!==k?k:U.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 ft,dt;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(P(),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===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:ut});const vt=globalThis.litElementPolyfillSupport;null==vt||vt({LitElement:ut}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt: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"),kt=Symbol("exportpartsDebouncer");class St 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[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 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 c=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=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((i=>`${t}:${i}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}mt=kt,wt([o()],St.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)=>!c(t,i),...null!=i?i:{}})}([])],St.prototype,"exportpartsPrefixes",void 0),wt([o()],St.prototype,"customStylesheet",void 0);const Ct=x`
65
+ var dt,ht;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===(dt=globalThis.litElementHydrateSupport)||void 0===dt||dt.call(globalThis,{LitElement:ut});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:ut}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht: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 xt={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")},vt={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.",xt.colorBrand0),backgroundErrorPrimary:bt.extend("--ft-background-error-primary","Used as background of error components.",xt.colorRed0),backgroundErrorSubtle:bt.extend("--ft-background-error-subtle","Used as background of subtle error components.",xt.colorRed10),backgroundInfoPrimary:bt.extend("--ft-background-info-primary","Used as background of information components.",xt.colorCyan200),backgroundInfoSubtle:bt.extend("--ft-background-info-subtle","Used as background of subtle information components.",xt.colorCyan10),backgroundWarningPrimary:bt.extend("--ft-background-warning-primary","Used as background of warning components.",xt.colorOrange300),backgroundWarningSubtle:bt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xt.colorOrange10),backgroundSuccessPrimary:bt.extend("--ft-background-success-primary","Used as background of success components.",xt.colorGreen200),backgroundSuccessSubtle:bt.extend("--ft-background-success-subtle","Used as background of subtle success components.",xt.colorGreen10),backgroundGlobalSurface:bt.extend("--ft-background-global-surface","Used as app background.",xt.colorWhite),backgroundGlobalOnSurface:bt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xt.colorGray10),backgroundGlobalOnSurfaceDark:bt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xt.colorGray30),contentActionPrimary:bt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xt.colorBrand0),contentWarningPrimary:bt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xt.colorOrange300),contentWarningIconOnly:bt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xt.colorOrange0),contentErrorPrimary:bt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xt.colorRed0),contentErrorIconOnly:bt.extend("--ft-content-error-icon-only","Used on error status icons alone",xt.colorRed0),contentInfoPrimary:bt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xt.colorCyan200),contentInfoIconOnly:bt.extend("--ft-content-info-icon-only","Used on info status icons alone",xt.colorCyan0),contentSuccessIconOnly:bt.extend("--ft-content-success-icon-only","Used on success status icons alone",xt.colorGreen0),contentSuccessPrimary:bt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xt.colorGreen200),contentGlobalPrimary:bt.extend("--ft-content-global-primary","Used for main content on the page.",xt.colorGray500),contentGlobalSecondary:bt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xt.colorGray200),contentGlobalSubtle:bt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xt.colorGray0),contentGlobalOnColor:bt.extend("--ft-content-global-on-color","Used for content on a dominant color.",xt.colorWhite),borderActionPrimary:bt.extend("--ft-border-action-primary","Used as border for primary action components.",xt.colorBrand0),borderActionFocusRing:bt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xt.colorCyan0),borderWarningPrimary:bt.extend("--ft-border-warning-primary","Used as border for warning components.",xt.colorOrange30),borderSuccessPrimary:bt.extend("--ft-border-success-primary","Used as border for success components.",xt.colorGreen30),borderErrorPrimary:bt.extend("--ft-border-error-primary","Used as border for error components.",xt.colorRed30),borderInfoPrimary:bt.extend("--ft-border-info-primary","Used as border for information components.",xt.colorCyan30),borderGlobalSubtle:bt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xt.colorGray30),borderGlobalPrimary:bt.extend("--ft-border-global-primary","Used as border for element like input.",xt.colorGray50),borderInputPrimary:bt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xt.colorGray80)},Nt={largeHeight:bt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:bt.extend("--ft-button-large-horizontal-padding","",xt.spacing4),largeGap:bt.extend("--ft-button-large-gap","",xt.spacing2),largeBorderRadius:bt.extend("--ft-button-large-border-radius","",xt.borderRadiusS),largeIconSize:bt.extend("--ft-button-large-icon-size","",xt.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","",xt.spacing3),smallGap:bt.extend("--ft-button-small-gap","",xt.spacing2),smallBorderRadius:bt.extend("--ft-button-small-border-radius","",xt.borderRadiusS),smallIconSize:bt.extend("--ft-button-small-icon-size","",xt.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","",xt.opacity16),primaryStateLayerOpacityFocus:bt.extend("--ft-button-primary-state-layer-opacity-focus","",xt.opacity16),primaryStateLayerOpacityActive:bt.extend("--ft-button-primary-state-layer-opacity-active","",xt.opacity24),primaryComponentOpacityDisabled:bt.extend("--ft-button-primary-component-opacity-disabled","",xt.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","",xt.opacity8),tertiaryStateLayerOpacityFocus:bt.extend("--ft-button-tertiary-state-layer-opacity-focus","",xt.opacity8),tertiaryStateLayerOpacityActive:bt.extend("--ft-button-tertiary-state-layer-opacity-active","",xt.opacity16),tertiaryComponentOpacityDisabled:bt.extend("--ft-button-tertiary-component-opacity-disabled","",xt.opacity40),secondaryBackgroundColor:bt.extend("--ft-button-secondary-background-color","",xt.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","",xt.opacity8),secondaryStateLayerOpacityFocus:bt.extend("--ft-button-secondary-state-layer-opacity-focus","",xt.opacity8),secondaryStateLayerOpacityActive:bt.extend("--ft-button-secondary-state-layer-opacity-active","",xt.opacity16),secondaryComponentOpacityDisabled:bt.extend("--ft-button-secondary-component-opacity-disabled","",xt.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","",xt.opacity8),neutralStateLayerOpacityFocus:bt.extend("--ft-button-neutral-state-layer-opacity-focus","",xt.opacity8),neutralStateLayerOpacityActive:bt.extend("--ft-button-neutral-state-layer-opacity-active","",xt.opacity16),neutralComponentOpacityDisabled:bt.extend("--ft-button-neutral-component-opacity-disabled","",xt.opacity40)};bt.extend("--ft-tabs-top-left-border-radius","",xt.borderRadiusS),bt.extend("--ft-tabs-top-right-border-radius","",xt.borderRadiusS),bt.extend("--ft-tabs-label-horizontal-padding","",xt.spacing4),bt.extend("--ft-tabs-label-vertical-padding","",xt.spacing3),bt.extend("--ft-tabs-label-gap","",xt.spacing1),bt.extend("--ft-switch-group-horizontal-padding","",xt.spacing1),bt.extend("--ft-switch-group-vertical-padding","",xt.spacing1),bt.extend("--ft-switch-group-gap","",xt.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","",xt.spacing2),bt.extend("--ft-switch-label-vertical-padding","",xt.spacing1),bt.extend("--ft-switch-icon-horizontal-padding","",xt.spacing1),bt.extend("--ft-switch-icon-vertical-padding","",xt.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","",xt.borderRadiusS),bt.extend("--ft-switch-off-state-layer-opacity-hover","",xt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-focus","",xt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-active","",xt.opacity16),bt.extend("--ft-switch-off-component-opacity-disabled","",xt.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",xt.colorBrand40),bt.extend("--ft-chart-1-base","for line charts",xt.colorBrand0),bt.extend("--ft-chart-2-light","for area color charts",xt.colorYellow60),bt.extend("--ft-chart-2-base","for line charts",xt.colorYellow100),bt.extend("--ft-chart-3-light","",xt.colorUltramarine40),bt.extend("--ft-chart-3-base","",xt.colorUltramarine70),bt.extend("--ft-chart-4-light","",xt.colorCyan50),bt.extend("--ft-chart-4-base","",xt.colorCyan100),bt.extend("--ft-chart-5-light","",xt.colorRed40),bt.extend("--ft-chart-5-base","",xt.colorRed60),bt.extend("--ft-chart-6-light","",xt.colorGreen40),bt.extend("--ft-chart-6-base","",xt.colorGreen70),bt.extend("--ft-chart-7-light","",xt.colorOrange70),bt.extend("--ft-chart-7-base","",xt.colorOrange100),bt.extend("--ft-chart-8-light","",xt.colorAvocado70),bt.extend("--ft-chart-8-base","",xt.colorAvocado200),bt.extend("--ft-chart-9-light","",xt.colorBrown50),bt.extend("--ft-chart-9-base","",xt.colorBrown200),bt.extend("--ft-chart-10-light","",xt.colorGray50),bt.extend("--ft-chart-10-base","",xt.colorGray80),bt.extend("--ft-chart-monochrome-10","",xt.colorBrand10),bt.extend("--ft-chart-monochrome-20","",xt.colorBrand20),bt.extend("--ft-chart-monochrome-30","",xt.colorBrand40),bt.extend("--ft-chart-monochrome-40","",xt.colorBrand60),bt.extend("--ft-chart-monochrome-50","",xt.colorBrand0),bt.extend("--ft-chart-monochrome-60","",xt.colorBrand200),bt.extend("--ft-chip-large-horizontal-padding","",xt.spacing4),bt.extend("--ft-chip-large-vertical-padding","",xt.spacing2),bt.extend("--ft-chip-large-gap","",xt.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","",xt.borderRadiusPill),bt.create("--ft-chip-large-border-width","","SIZE","1px"),bt.extend("--ft-chip-large-icon-size","",xt.iconSize3),bt.extend("--ft-chip-medium-horizontal-padding","",xt.spacing3),bt.extend("--ft-chip-medium-vertical-padding","",xt.spacing1),bt.extend("--ft-chip-medium-gap","",xt.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","",xt.borderRadiusPill),bt.create("--ft-chip-medium-border-width","","SIZE","1px"),bt.extend("--ft-chip-medium-icon-size","",xt.iconSize2),bt.extend("--ft-chip-small-horizontal-padding","",xt.spacing2),bt.extend("--ft-chip-small-vertical-padding","",xt.spacing05),bt.extend("--ft-chip-small-gap","",xt.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","",xt.borderRadiusPill),bt.create("--ft-chip-small-border-width","","SIZE","1px"),bt.extend("--ft-chip-small-icon-size","",xt.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","",xt.spacing2),bt.extend("--ft-notice-vertical-padding","",xt.spacing1),bt.extend("--ft-notice-border-radius","",xt.borderRadiusS),bt.extend("--ft-notice-gap","",xt.spacing2),bt.extend("--ft-notice-icon-size","",xt.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","",xt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-checkbox-checked-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-checkbox-unchecked-border-color","",xt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-color","",xt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xt.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","",xt.spacing3),bt.extend("--ft-toggle-off-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-toggle-off-component-opacity-disabled","",xt.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","",xt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-toggle-on-component-opacity-disabled","",xt.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","",xt.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","",xt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-radio-selected-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-radio-unselected-state-layer-color","",xt.colorGray80),bt.extend("--ft-radio-unselected-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-radio-unselected-component-opacity-disabled","",xt.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","",xt.spacing3),bt.extend("--ft-notification-icon-size","",xt.iconSize4),bt.extend("--ft-notification-horizontal-padding","",xt.spacing4),bt.extend("--ft-notification-vertical-padding","",xt.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","",xt.borderRadiusPill),bt.create("--ft-notification-border-width","","SIZE","1px"),bt.extend("--ft-notification-gap-leading","",xt.spacing2),bt.extend("--ft-notification-gap-trailing","",xt.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 Ut 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,c=t.filter(l).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const s=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=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const p=[...s.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ct=kt,$t([i()],Ut.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)=>!s(t,o),...null!=o?o:{}})}([])],Ut.prototype,"exportpartsPrefixes",void 0),$t([i()],Ut.prototype,"customStylesheet",void 0);const It=b`
66
66
  .ft-no-text-select {
67
67
  -webkit-touch-callout: none;
68
68
  -webkit-user-select: none;
@@ -71,7 +71,7 @@ var ft,dt;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 ft,dt;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 Wt=b`
87
87
  .ft-safari-ellipsis-fix {
88
88
  margin-right: 0;
89
89
 
@@ -94,17 +94,17 @@ var ft,dt;let ut=class extends N{constructor(){super(...arguments),this.renderOp
94
94
  display: inline-block;
95
95
  width: 0;
96
96
  }
97
- `;window.ftReduxStores||(window.ftReduxStores={});const Nt=Symbol("elementInternals");var Rt,Mt,zt;const Ut=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(zt=null===(Mt=null===(Rt=window.safari)||void 0===Rt?void 0:Rt.pushNotification)||void 0===Mt?void 0:Mt.toString())&&void 0!==zt?zt:""),Ft=1,jt=2,Bt=t=>(...i)=>({_$litDirective$:t,values:i});
97
+ `;window.ftReduxStores||(window.ftReduxStores={});const Lt=Symbol("elementInternals");var zt,Kt,Zt;const Ft=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Zt=null===(Kt=null===(zt=window.safari)||void 0===zt?void 0:zt.pushNotification)||void 0===Kt?void 0:Kt.toString())&&void 0!==Zt?Zt:""),Bt=1,Dt=2,Mt=t=>(...o)=>({_$litDirective$:t,values:o});
98
98
  /**
99
99
  * @license
100
100
  * Copyright 2017 Google LLC
101
101
  * SPDX-License-Identifier: BSD-3-Clause
102
- */class It{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)}}
102
+ */class At{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)}}
103
103
  /**
104
104
  * @license
105
105
  * Copyright 2018 Google LLC
106
106
  * SPDX-License-Identifier: BSD-3-Clause
107
- */const Lt=Bt(class extends It{constructor(t){var i;if(super(t),t.type!==Ft||"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}}),Pt=bt.extend("--ft-ripple-color",gt.colorContent),At={color:Pt,backgroundColor:bt.extend("--ft-ripple-background-color",Pt),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")},Tt=bt.extend("--ft-ripple-color",gt.colorPrimary),Dt=Tt,_t=bt.extend("--ft-ripple-background-color",Tt),Wt=bt.extend("--ft-ripple-color",gt.colorSecondary),Ht=Wt,Zt=bt.extend("--ft-ripple-background-color",Wt),Kt=x`
107
+ */const Ht=Mt(class extends At{constructor(t){var o;if(super(t),t.type!==Bt||"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}}),jt=bt.extend("--ft-ripple-color","",St.colorContent),Pt={color:jt,backgroundColor:bt.extend("--ft-ripple-background-color","",jt),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")},Tt=bt.extend("--ft-ripple-color","",St.colorPrimary),Gt=Tt,_t=bt.extend("--ft-ripple-background-color","",Tt),Yt=bt.extend("--ft-ripple-color","",St.colorSecondary),Vt=Yt,Jt=bt.extend("--ft-ripple-background-color","",Yt),qt=b`
108
108
  :host {
109
109
  display: contents;
110
110
  }
@@ -117,7 +117,7 @@ var ft,dt;let ut=class extends N{constructor(){super(...arguments),this.renderOp
117
117
 
118
118
  .ft-ripple:not(.ft-ripple--unbounded) {
119
119
  overflow: hidden;
120
- border-radius: ${At.borderRadius};
120
+ border-radius: ${Pt.borderRadius};
121
121
  }
122
122
 
123
123
  .ft-ripple .ft-ripple--background,
@@ -151,19 +151,19 @@ var ft,dt;let ut=class extends N{constructor(){super(...arguments),this.renderOp
151
151
  }
152
152
 
153
153
  .ft-ripple .ft-ripple--background {
154
- background-color: ${At.backgroundColor};
154
+ background-color: ${Pt.backgroundColor};
155
155
  }
156
156
 
157
157
  .ft-ripple .ft-ripple--effect {
158
- background-color: ${At.color};
158
+ background-color: ${Pt.color};
159
159
  }
160
160
 
161
161
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
162
- background-color: ${Zt};
162
+ background-color: ${Jt};
163
163
  }
164
164
 
165
165
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
166
- background-color: ${Ht};
166
+ background-color: ${Vt};
167
167
  }
168
168
 
169
169
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
@@ -171,7 +171,7 @@ var ft,dt;let ut=class extends N{constructor(){super(...arguments),this.renderOp
171
171
  }
172
172
 
173
173
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
174
- background-color: ${Dt};
174
+ background-color: ${Gt};
175
175
  }
176
176
 
177
177
  .ft-ripple .ft-ripple--background {
@@ -201,147 +201,154 @@ var ft,dt;let ut=class extends N{constructor(){super(...arguments),this.renderOp
201
201
  }
202
202
 
203
203
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
204
- opacity: ${At.opacityContentOnSurfaceHover};
204
+ opacity: ${Pt.opacityContentOnSurfaceHover};
205
205
  }
206
206
 
207
207
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
208
- opacity: ${At.opacityContentOnSurfaceSelected};
208
+ opacity: ${Pt.opacityContentOnSurfaceSelected};
209
209
  }
210
210
 
211
211
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
212
- opacity: ${At.opacityContentOnSurfaceFocused};
212
+ opacity: ${Pt.opacityContentOnSurfaceFocused};
213
213
  }
214
214
 
215
215
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
216
- opacity: ${At.opacityContentOnSurfacePressed};
216
+ opacity: ${Pt.opacityContentOnSurfacePressed};
217
217
  transform: translate(-50%, -50%) scale(1);
218
218
  }
219
- `;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 St{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`
219
+ `;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 Ut{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`
220
220
  <style>
221
221
  .ft-ripple .ft-ripple--effect {
222
222
  left: ${this.originX}px;
223
223
  top: ${this.originY}px;
224
224
  }
225
225
  </style>
226
- <div class="${Lt(t)}">
226
+ <div class="${Ht(t)}">
227
227
  <div class="ft-ripple--background"></div>
228
228
  <div class="ft-ripple--effect"></div>
229
229
  </div>
230
- `}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()}}Jt.elementDefinitions={},Jt.styles=Kt,Vt([o({type:Boolean})],Jt.prototype,"primary",void 0),Vt([o({type:Boolean})],Jt.prototype,"secondary",void 0),Vt([o({type:Boolean})],Jt.prototype,"unbounded",void 0),Vt([o({type:Boolean})],Jt.prototype,"activated",void 0),Vt([o({type:Boolean})],Jt.prototype,"selected",void 0),Vt([o({type:Boolean})],Jt.prototype,"disabled",void 0),Vt([n()],Jt.prototype,"hovered",void 0),Vt([n()],Jt.prototype,"focused",void 0),Vt([n()],Jt.prototype,"pressed",void 0),Vt([n()],Jt.prototype,"rippling",void 0),Vt([n()],Jt.prototype,"originX",void 0),Vt([n()],Jt.prototype,"originY",void 0),Vt([s(".ft-ripple")],Jt.prototype,"ripple",void 0),Vt([s(".ft-ripple--effect")],Jt.prototype,"rippleEffect",void 0),h("ft-ripple")(Jt);
230
+ `}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()}}Qt.elementDefinitions={},Qt.styles=qt,Xt([i({type:Boolean})],Qt.prototype,"primary",void 0),Xt([i({type:Boolean})],Qt.prototype,"secondary",void 0),Xt([i({type:Boolean})],Qt.prototype,"unbounded",void 0),Xt([i({type:Boolean})],Qt.prototype,"activated",void 0),Xt([i({type:Boolean})],Qt.prototype,"selected",void 0),Xt([i({type:Boolean})],Qt.prototype,"disabled",void 0),Xt([r()],Qt.prototype,"hovered",void 0),Xt([r()],Qt.prototype,"focused",void 0),Xt([r()],Qt.prototype,"pressed",void 0),Xt([r()],Qt.prototype,"rippling",void 0),Xt([r()],Qt.prototype,"originX",void 0),Xt([r()],Qt.prototype,"originY",void 0),Xt([a(".ft-ripple")],Qt.prototype,"ripple",void 0),Xt([a(".ft-ripple--effect")],Qt.prototype,"rippleEffect",void 0),p("ft-ripple")(Qt);
231
231
  /**
232
232
  * @license
233
233
  * Copyright 2020 Google LLC
234
234
  * SPDX-License-Identifier: BSD-3-Clause
235
235
  */
236
- const qt=Symbol.for(""),Xt=t=>{if((null==t?void 0:t.r)===qt)return null==t?void 0:t._$litStatic$},Yt=t=>({_$litStatic$:t,r:qt}),Gt=new Map,Qt=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,c=0,h=!1;for(;c<o;){for(l=i[c];c<o&&void 0!==(r=e[c],n=Xt(r));)l+=n+i[++c],h=!0;c!==o&&a.push(r),s.push(l),c++}if(c===o&&s.push(i[o]),h){const t=s.join("$$lit$$");void 0===(i=Gt.get(t))&&(s.raw=s,Gt.set(t,i=s)),e=a}return t(i,...e)})(q);var ti;!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"}(ti||(ti={}));const ii=bt.extend("--ft-typography-font-family",gt.titleFont),ei=bt.extend("--ft-typography-font-family",gt.contentFont),oi={fontFamily:ei,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")},ni=bt.extend("--ft-typography-title-font-family",ii),ri=bt.extend("--ft-typography-title-font-size",oi.fontSize,"20px"),si=bt.extend("--ft-typography-title-font-weight",oi.fontWeight,"normal"),ai=bt.extend("--ft-typography-title-letter-spacing",oi.letterSpacing,"0.15px"),li=bt.extend("--ft-typography-title-line-height",oi.lineHeight,"1.2"),ci=bt.extend("--ft-typography-title-text-transform",oi.textTransform,"inherit"),hi=bt.extend("--ft-typography-title-dense-font-family",ii),pi=bt.extend("--ft-typography-title-dense-font-size",oi.fontSize,"14px"),fi=bt.extend("--ft-typography-title-dense-font-weight",oi.fontWeight,"normal"),di=bt.extend("--ft-typography-title-dense-letter-spacing",oi.letterSpacing,"0.105px"),ui=bt.extend("--ft-typography-title-dense-line-height",oi.lineHeight,"1.7"),vi=bt.extend("--ft-typography-title-dense-text-transform",oi.textTransform,"inherit"),bi=bt.extend("--ft-typography-subtitle1-font-family",ei),xi=bt.extend("--ft-typography-subtitle1-font-size",oi.fontSize,"16px"),gi=bt.extend("--ft-typography-subtitle1-font-weight",oi.fontWeight,"600"),yi=bt.extend("--ft-typography-subtitle1-letter-spacing",oi.letterSpacing,"0.144px"),mi=bt.extend("--ft-typography-subtitle1-line-height",oi.lineHeight,"1.5"),wi=bt.extend("--ft-typography-subtitle1-text-transform",oi.textTransform,"inherit"),$i=bt.extend("--ft-typography-subtitle2-font-family",ei),Oi=bt.extend("--ft-typography-subtitle2-font-size",oi.fontSize,"14px"),ki=bt.extend("--ft-typography-subtitle2-font-weight",oi.fontWeight,"normal"),Si=bt.extend("--ft-typography-subtitle2-letter-spacing",oi.letterSpacing,"0.098px"),Ci=bt.extend("--ft-typography-subtitle2-line-height",oi.lineHeight,"1.7"),Ei=bt.extend("--ft-typography-subtitle2-text-transform",oi.textTransform,"inherit"),Ni=bt.extend("--ft-typography-body1-font-family",ei),Ri=bt.extend("--ft-typography-body1-font-size",oi.fontSize,"16px"),Mi=bt.extend("--ft-typography-body1-font-weight",oi.fontWeight,"normal"),zi=bt.extend("--ft-typography-body1-letter-spacing",oi.letterSpacing,"0.496px"),Ui=bt.extend("--ft-typography-body1-line-height",oi.lineHeight,"1.5"),Fi=bt.extend("--ft-typography-body1-text-transform",oi.textTransform,"inherit"),ji={fontFamily:bt.extend("--ft-typography-body2-font-family",ei),fontSize:bt.extend("--ft-typography-body2-font-size",oi.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-body2-font-weight",oi.fontWeight,"normal"),letterSpacing:bt.extend("--ft-typography-body2-letter-spacing",oi.letterSpacing,"0.252px"),lineHeight:bt.extend("--ft-typography-body2-line-height",oi.lineHeight,"1.4"),textTransform:bt.extend("--ft-typography-body2-text-transform",oi.textTransform,"inherit")},Bi=bt.extend("--ft-typography-caption-font-family",ei),Ii=bt.extend("--ft-typography-caption-font-size",oi.fontSize,"12px"),Li=bt.extend("--ft-typography-caption-font-weight",oi.fontWeight,"normal"),Pi=bt.extend("--ft-typography-caption-letter-spacing",oi.letterSpacing,"0.396px"),Ai=bt.extend("--ft-typography-caption-line-height",oi.lineHeight,"1.33"),Ti=bt.extend("--ft-typography-caption-text-transform",oi.textTransform,"inherit"),Di=bt.extend("--ft-typography-breadcrumb-font-family",ei),_i=bt.extend("--ft-typography-breadcrumb-font-size",oi.fontSize,"10px"),Wi=bt.extend("--ft-typography-breadcrumb-font-weight",oi.fontWeight,"normal"),Hi=bt.extend("--ft-typography-breadcrumb-letter-spacing",oi.letterSpacing,"0.33px"),Zi=bt.extend("--ft-typography-breadcrumb-line-height",oi.lineHeight,"1.6"),Ki=bt.extend("--ft-typography-breadcrumb-text-transform",oi.textTransform,"inherit"),Vi=bt.extend("--ft-typography-overline-font-family",ei),Ji=bt.extend("--ft-typography-overline-font-size",oi.fontSize,"10px"),qi=bt.extend("--ft-typography-overline-font-weight",oi.fontWeight,"normal"),Xi=bt.extend("--ft-typography-overline-letter-spacing",oi.letterSpacing,"1.5px"),Yi=bt.extend("--ft-typography-overline-line-height",oi.lineHeight,"1.6"),Gi=bt.extend("--ft-typography-overline-text-transform",oi.textTransform,"uppercase"),Qi={fontFamily:bt.extend("--ft-typography-button-font-family",ei),fontSize:bt.extend("--ft-typography-button-font-size",oi.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight",oi.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing",oi.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height",oi.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform",oi.textTransform,"uppercase")},te=x`
236
+ const to=Symbol.for(""),oo=t=>{if((null==t?void 0:t.r)===to)return null==t?void 0:t._$litStatic$},eo=t=>({_$litStatic$:t,r:to}),io=new Map,ro=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let c,s=0,p=!1;for(;s<i;){for(c=o[s];s<i&&void 0!==(n=e[s],r=oo(n));)c+=r+o[++s],p=!0;s!==i&&l.push(n),a.push(c),s++}if(s===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=io.get(t))&&(a.raw=a,io.set(t,o=a)),e=l}return t(o,...e)})(V);var no;!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"}(no||(no={}));const ao=bt.extend("--ft-typography-font-family","",St.titleFont),lo=bt.extend("--ft-typography-font-family","",St.contentFont),co={fontFamily:lo,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")},so=bt.extend("--ft-typography-title-font-family","",ao),po=bt.extend("--ft-typography-title-font-size","",co.fontSize,"20px"),fo=bt.extend("--ft-typography-title-font-weight","",co.fontWeight,"normal"),ho=bt.extend("--ft-typography-title-letter-spacing","",co.letterSpacing,"0.15px"),uo=bt.extend("--ft-typography-title-line-height","",co.lineHeight,"1.2"),yo=bt.extend("--ft-typography-title-text-transform","",co.textTransform,"inherit"),go=bt.extend("--ft-typography-title-dense-font-family","",ao),bo=bt.extend("--ft-typography-title-dense-font-size","",co.fontSize,"14px"),mo=bt.extend("--ft-typography-title-dense-font-weight","",co.fontWeight,"normal"),xo=bt.extend("--ft-typography-title-dense-letter-spacing","",co.letterSpacing,"0.105px"),vo=bt.extend("--ft-typography-title-dense-line-height","",co.lineHeight,"1.7"),Oo=bt.extend("--ft-typography-title-dense-text-transform","",co.textTransform,"inherit"),No=bt.extend("--ft-typography-subtitle1-font-family","",lo),So=bt.extend("--ft-typography-subtitle1-font-size","",co.fontSize,"16px"),wo=bt.extend("--ft-typography-subtitle1-font-weight","",co.fontWeight,"600"),Co=bt.extend("--ft-typography-subtitle1-letter-spacing","",co.letterSpacing,"0.144px"),$o=bt.extend("--ft-typography-subtitle1-line-height","",co.lineHeight,"1.5"),Ro=bt.extend("--ft-typography-subtitle1-text-transform","",co.textTransform,"inherit"),Eo=bt.extend("--ft-typography-subtitle2-font-family","",lo),ko=bt.extend("--ft-typography-subtitle2-font-size","",co.fontSize,"14px"),Uo=bt.extend("--ft-typography-subtitle2-font-weight","",co.fontWeight,"normal"),Io=bt.extend("--ft-typography-subtitle2-letter-spacing","",co.letterSpacing,"0.098px"),Wo=bt.extend("--ft-typography-subtitle2-line-height","",co.lineHeight,"1.7"),Lo=bt.extend("--ft-typography-subtitle2-text-transform","",co.textTransform,"inherit"),zo=bt.extend("--ft-typography-body1-font-family","",lo),Ko=bt.extend("--ft-typography-body1-font-size","",co.fontSize,"16px"),Zo=bt.extend("--ft-typography-body1-font-weight","",co.fontWeight,"normal"),Fo=bt.extend("--ft-typography-body1-letter-spacing","",co.letterSpacing,"0.496px"),Bo=bt.extend("--ft-typography-body1-line-height","",co.lineHeight,"1.5"),Do=bt.extend("--ft-typography-body1-text-transform","",co.textTransform,"inherit"),Mo={fontFamily:bt.extend("--ft-typography-body2-font-family","",lo),fontSize:bt.extend("--ft-typography-body2-font-size","",co.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-body2-font-weight","",co.fontWeight,"normal"),letterSpacing:bt.extend("--ft-typography-body2-letter-spacing","",co.letterSpacing,"0.252px"),lineHeight:bt.extend("--ft-typography-body2-line-height","",co.lineHeight,"1.4"),textTransform:bt.extend("--ft-typography-body2-text-transform","",co.textTransform,"inherit")},Ao=bt.extend("--ft-typography-caption-font-family","",lo),Ho=bt.extend("--ft-typography-caption-font-size","",co.fontSize,"12px"),jo=bt.extend("--ft-typography-caption-font-weight","",co.fontWeight,"normal"),Po=bt.extend("--ft-typography-caption-letter-spacing","",co.letterSpacing,"0.396px"),To=bt.extend("--ft-typography-caption-line-height","",co.lineHeight,"1.33"),Go=bt.extend("--ft-typography-caption-text-transform","",co.textTransform,"inherit"),_o=bt.extend("--ft-typography-breadcrumb-font-family","",lo),Yo=bt.extend("--ft-typography-breadcrumb-font-size","",co.fontSize,"10px"),Vo=bt.extend("--ft-typography-breadcrumb-font-weight","",co.fontWeight,"normal"),Jo=bt.extend("--ft-typography-breadcrumb-letter-spacing","",co.letterSpacing,"0.33px"),qo=bt.extend("--ft-typography-breadcrumb-line-height","",co.lineHeight,"1.6"),Xo=bt.extend("--ft-typography-breadcrumb-text-transform","",co.textTransform,"inherit"),Qo=bt.extend("--ft-typography-overline-font-family","",lo),te=bt.extend("--ft-typography-overline-font-size","",co.fontSize,"10px"),oe=bt.extend("--ft-typography-overline-font-weight","",co.fontWeight,"normal"),ee=bt.extend("--ft-typography-overline-letter-spacing","",co.letterSpacing,"1.5px"),ie=bt.extend("--ft-typography-overline-line-height","",co.lineHeight,"1.6"),re=bt.extend("--ft-typography-overline-text-transform","",co.textTransform,"uppercase"),ne={fontFamily:bt.extend("--ft-typography-button-font-family","",lo),fontSize:bt.extend("--ft-typography-button-font-size","",co.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight","",co.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing","",co.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height","",co.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform","",co.textTransform,"uppercase")},ae=b`
237
237
  .ft-typography--title {
238
- font-family: ${ni};
239
- font-size: ${ri};
240
- font-weight: ${si};
241
- letter-spacing: ${ai};
242
- line-height: ${li};
243
- text-transform: ${ci};
244
- }
245
- `,ie=x`
238
+ font-family: ${so};
239
+ font-size: ${po};
240
+ font-weight: ${fo};
241
+ letter-spacing: ${ho};
242
+ line-height: ${uo};
243
+ text-transform: ${yo};
244
+ }
245
+ `,le=b`
246
246
  .ft-typography--title-dense {
247
- font-family: ${hi};
248
- font-size: ${pi};
249
- font-weight: ${fi};
250
- letter-spacing: ${di};
251
- line-height: ${ui};
252
- text-transform: ${vi};
253
- }
254
- `,ee=x`
247
+ font-family: ${go};
248
+ font-size: ${bo};
249
+ font-weight: ${mo};
250
+ letter-spacing: ${xo};
251
+ line-height: ${vo};
252
+ text-transform: ${Oo};
253
+ }
254
+ `,ce=b`
255
255
  .ft-typography--subtitle1 {
256
- font-family: ${bi};
257
- font-size: ${xi};
258
- font-weight: ${gi};
259
- letter-spacing: ${yi};
260
- line-height: ${mi};
261
- text-transform: ${wi};
262
- }
263
- `,oe=x`
256
+ font-family: ${No};
257
+ font-size: ${So};
258
+ font-weight: ${wo};
259
+ letter-spacing: ${Co};
260
+ line-height: ${$o};
261
+ text-transform: ${Ro};
262
+ }
263
+ `,se=b`
264
264
  .ft-typography--subtitle2 {
265
- font-family: ${$i};
266
- font-size: ${Oi};
267
- font-weight: ${ki};
268
- letter-spacing: ${Si};
269
- line-height: ${Ci};
270
- text-transform: ${Ei};
265
+ font-family: ${Eo};
266
+ font-size: ${ko};
267
+ font-weight: ${Uo};
268
+ letter-spacing: ${Io};
269
+ line-height: ${Wo};
270
+ text-transform: ${Lo};
271
271
  }
272
272
 
273
- `,ne=x`
273
+ `,pe=b`
274
274
  .ft-typography--body1 {
275
- font-family: ${Ni};
276
- font-size: ${Ri};
277
- font-weight: ${Mi};
278
- letter-spacing: ${zi};
279
- line-height: ${Ui};
280
- text-transform: ${Fi};
281
- }
282
- `,re=x`
275
+ font-family: ${zo};
276
+ font-size: ${Ko};
277
+ font-weight: ${Zo};
278
+ letter-spacing: ${Fo};
279
+ line-height: ${Bo};
280
+ text-transform: ${Do};
281
+ }
282
+ `,fe=b`
283
283
  .ft-typography--body2 {
284
- font-family: ${ji.fontFamily};
285
- font-size: ${ji.fontSize};
286
- font-weight: ${ji.fontWeight};
287
- letter-spacing: ${ji.letterSpacing};
288
- line-height: ${ji.lineHeight};
289
- text-transform: ${ji.textTransform};
290
- }
291
- `,se=x`
284
+ font-family: ${Mo.fontFamily};
285
+ font-size: ${Mo.fontSize};
286
+ font-weight: ${Mo.fontWeight};
287
+ letter-spacing: ${Mo.letterSpacing};
288
+ line-height: ${Mo.lineHeight};
289
+ text-transform: ${Mo.textTransform};
290
+ }
291
+ `,de=b`
292
292
  .ft-typography--caption {
293
- font-family: ${Bi};
294
- font-size: ${Ii};
295
- font-weight: ${Li};
296
- letter-spacing: ${Pi};
297
- line-height: ${Ai};
298
- text-transform: ${Ti};
299
- }
300
- `,ae=x`
293
+ font-family: ${Ao};
294
+ font-size: ${Ho};
295
+ font-weight: ${jo};
296
+ letter-spacing: ${Po};
297
+ line-height: ${To};
298
+ text-transform: ${Go};
299
+ }
300
+ `,he=b`
301
301
  .ft-typography--breadcrumb {
302
- font-family: ${Di};
303
- font-size: ${_i};
304
- font-weight: ${Wi};
305
- letter-spacing: ${Hi};
306
- line-height: ${Zi};
307
- text-transform: ${Ki};
308
- }
309
- `,le=x`
302
+ font-family: ${_o};
303
+ font-size: ${Yo};
304
+ font-weight: ${Vo};
305
+ letter-spacing: ${Jo};
306
+ line-height: ${qo};
307
+ text-transform: ${Xo};
308
+ }
309
+ `,ue=b`
310
310
  .ft-typography--overline {
311
- font-family: ${Vi};
312
- font-size: ${Ji};
313
- font-weight: ${qi};
314
- letter-spacing: ${Xi};
315
- line-height: ${Yi};
316
- text-transform: ${Gi};
317
- }
318
- `,ce=x`
311
+ font-family: ${Qo};
312
+ font-size: ${te};
313
+ font-weight: ${oe};
314
+ letter-spacing: ${ee};
315
+ line-height: ${ie};
316
+ text-transform: ${re};
317
+ }
318
+ `,ye=b`
319
319
  .ft-typography--button {
320
- font-family: ${Qi.fontFamily};
321
- font-size: ${Qi.fontSize};
322
- font-weight: ${Qi.fontWeight};
323
- letter-spacing: ${Qi.letterSpacing};
324
- line-height: ${Qi.lineHeight};
325
- text-transform: ${Qi.textTransform};
326
- }
327
- `,he=x`
320
+ font-family: ${ne.fontFamily};
321
+ font-size: ${ne.fontSize};
322
+ font-weight: ${ne.fontWeight};
323
+ letter-spacing: ${ne.letterSpacing};
324
+ line-height: ${ne.lineHeight};
325
+ text-transform: ${ne.textTransform};
326
+ }
327
+ `,ge=b`
328
328
  .ft-typography {
329
329
  vertical-align: inherit;
330
330
  }
331
- `;var pe=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 fe extends St{constructor(){super(...arguments),this.variant=ti.body1}render(){return this.element?Qt`
332
- <${Yt(this.element)}
333
- class="ft-typography ft-typography--${this.variant}">
331
+ `,be=[Object.keys(vt).map((t=>function(t){const o=vt[t];return b`
332
+ font-family: ${o.fontFamily};
333
+ font-size: ${o.fontSize};
334
+ font-weight: ${o.fontWeight};
335
+ letter-spacing: ${o.letterSpacing};
336
+ line-height: ${o.lineHeight};
337
+ text-transform: ${o.textCase};
338
+ `}(t)))];var me=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 xe extends Ut{constructor(){super(...arguments),this.variant=no.body1}render(){return this.element?ro`
339
+ <${eo(this.element)}
340
+ class="ft-typography ft-typography--${this.variant}">
334
341
  <slot></slot>
335
- </${Yt(this.element)}>
336
- `:Qt`
342
+ </${eo(this.element)}>
343
+ `:ro`
337
344
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
338
- `}}fe.styles=[te,ie,ee,oe,ne,re,se,ae,le,ce,he],pe([o()],fe.prototype,"element",void 0),pe([o()],fe.prototype,"variant",void 0),h("ft-typography")(fe);
345
+ `}}xe.styles=[ae,le,ce,se,pe,fe,de,he,ue,ye,ge,...be],me([i()],xe.prototype,"element",void 0),me([i()],xe.prototype,"variant",void 0),p("ft-typography")(xe);
339
346
  /**
340
347
  * @license
341
348
  * Copyright 2017 Google LLC
342
349
  * SPDX-License-Identifier: BSD-3-Clause
343
350
  */
344
- class de extends It{constructor(t){if(super(t),this.et=Y,t.type!==jt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Y||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:[]}}}de.directiveName="unsafeHTML",de.resultType=1;const ue=Bt(de);var ve,be;!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;"}(be||(be={})),new Map([...["abw"].map((t=>[t,be.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,be.AUDIO])),...["avi"].map((t=>[t,be.AVI])),...["chm","xhs"].map((t=>[t,be.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,be.CODE])),...["csv"].map((t=>[t,be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,be.DITA])),...["epub"].map((t=>[t,be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,be.EXCEL])),...["flac"].map((t=>[t,be.FLAC])),...["gif"].map((t=>[t,be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,be.GZIP])),...["html","htm","xhtml"].map((t=>[t,be.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,be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,be.JPEG])),...["json"].map((t=>[t,be.JSON])),...["m4a","m4p"].map((t=>[t,be.M4A])),...["mov","qt"].map((t=>[t,be.MOV])),...["mp3"].map((t=>[t,be.MP3])),...["mp4","m4v"].map((t=>[t,be.MP4])),...["ogg","oga"].map((t=>[t,be.OGG])),...["pdf","ps"].map((t=>[t,be.PDF])),...["png"].map((t=>[t,be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,be.POWERPOINT])),...["rar"].map((t=>[t,be.RAR])),...["stp"].map((t=>[t,be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,be.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,be.VIDEO])),...["wav"].map((t=>[t,be.WAV])),...["wma"].map((t=>[t,be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,be.WORD])),...["xml","xsl","rdf"].map((t=>[t,be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,be.YAML])),...["zip"].map((t=>[t,be.ZIP]))]);const xe={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")},ge=x`
351
+ class ve extends At{constructor(t){if(super(t),this.et=q,t.type!==Dt)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:[]}}}ve.directiveName="unsafeHTML",ve.resultType=1;const Oe=Mt(ve);var Ne,Se;!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;"}(Ne||(Ne={})),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;"}(Se||(Se={})),new Map([...["abw"].map((t=>[t,Se.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,Se.AUDIO])),...["avi"].map((t=>[t,Se.AVI])),...["chm","xhs"].map((t=>[t,Se.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,Se.CODE])),...["csv"].map((t=>[t,Se.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Se.DITA])),...["epub"].map((t=>[t,Se.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Se.EXCEL])),...["flac"].map((t=>[t,Se.FLAC])),...["gif"].map((t=>[t,Se.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Se.GZIP])),...["html","htm","xhtml"].map((t=>[t,Se.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,Se.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Se.JPEG])),...["json"].map((t=>[t,Se.JSON])),...["m4a","m4p"].map((t=>[t,Se.M4A])),...["mov","qt"].map((t=>[t,Se.MOV])),...["mp3"].map((t=>[t,Se.MP3])),...["mp4","m4v"].map((t=>[t,Se.MP4])),...["ogg","oga"].map((t=>[t,Se.OGG])),...["pdf","ps"].map((t=>[t,Se.PDF])),...["png"].map((t=>[t,Se.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Se.POWERPOINT])),...["rar"].map((t=>[t,Se.RAR])),...["stp"].map((t=>[t,Se.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Se.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,Se.VIDEO])),...["wav"].map((t=>[t,Se.WAV])),...["wma"].map((t=>[t,Se.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Se.WORD])),...["xml","xsl","rdf"].map((t=>[t,Se.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Se.YAML])),...["zip"].map((t=>[t,Se.ZIP]))]);const we={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")},Ce=b`
345
352
  :host, i.ft-icon {
346
353
  display: inline-flex;
347
354
  align-items: center;
@@ -350,14 +357,14 @@ class de extends It{constructor(t){if(super(t),this.et=Y,t.type!==jt)throw Error
350
357
  }
351
358
 
352
359
  :host {
353
- width: ${xe.size};
354
- height: ${xe.size};
360
+ width: ${we.size};
361
+ height: ${we.size};
355
362
  }
356
363
 
357
364
  i.ft-icon {
358
365
  width: 100%;
359
366
  height: 100%;
360
- font-size: ${xe.size};
367
+ font-size: ${we.size};
361
368
  line-height: 1;
362
369
  font-weight: normal;
363
370
  text-transform: none;
@@ -368,86 +375,33 @@ class de extends It{constructor(t){if(super(t),this.et=Y,t.type!==jt)throw Error
368
375
  text-rendering: auto;
369
376
  -webkit-font-smoothing: antialiased;
370
377
  -moz-osx-font-smoothing: grayscale;
371
- vertical-align: ${xe.verticalAlign};
378
+ vertical-align: ${we.verticalAlign};
372
379
  }
373
380
 
374
381
  i.ft-icon.ft-icon--fluid-topics {
375
- font-family: ${xe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
382
+ font-family: ${we.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
376
383
 
377
384
  /* Ugly fix because font is broken */
378
- font-size: calc(0.75 * ${xe.size});
379
- line-height: ${xe.size};
385
+ font-size: calc(0.75 * ${we.size});
386
+ line-height: ${we.size};
380
387
  position: relative;
381
388
  top: -4%;
382
389
  justify-content: center;
383
390
  }
384
391
 
385
392
  .ft-icon--file-format {
386
- font-family: ${xe.fileFormatFontFamily}, ft-mime, sans-serif;
393
+ font-family: ${we.fileFormatFontFamily}, ft-mime, sans-serif;
387
394
  }
388
395
 
389
396
  .ft-icon--material {
390
- font-family: ${xe.materialFontFamily}, "Material Icons", sans-serif;
397
+ font-family: ${we.materialFontFamily}, "Material Icons", sans-serif;
391
398
  }
392
- `;var ye;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ye||(ye={}));var me=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 we extends St{constructor(){super(...arguments),this.resolvedIcon=Y}render(){const t=this.variant&&Object.values(ye).includes(this.variant)?this.variant:ye.fluid_topics,i=t!==ye.material||!!this.value;return q`
399
+ `;var $e;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}($e||($e={}));var Re=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 Ee extends Ut{constructor(){super(...arguments),this.resolvedIcon=q}render(){const t=this.variant&&Object.values($e).includes(this.variant)?this.variant:$e.fluid_topics,o=t!==$e.material||!!this.value;return V`
393
400
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
394
- ${ue(this.resolvedIcon)}
395
- <slot ?hidden=${i}></slot>
401
+ ${Oe(this.resolvedIcon)}
402
+ <slot ?hidden=${o}></slot>
396
403
  </i>
397
- `}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 ye.file_format:this.resolvedIcon=null!==(t=be[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ye.material:this.resolvedIcon=this.value||Y;break;default:this.resolvedIcon=null!==(i=ve[e.replace("-","_").toUpperCase()])&&void 0!==i?i:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}we.elementDefinitions={},we.styles=ge,me([o()],we.prototype,"variant",void 0),me([o()],we.prototype,"value",void 0),me([n()],we.prototype,"resolvedIcon",void 0),me([s("slot")],we.prototype,"slottedContent",void 0),h("ft-icon")(we);const $e=bt.create("--ft-tooltip-distance","SIZE","4px"),Oe=bt.create("--ft-tooltip-color","COLOR","#FFFFFF"),ke=bt.create("--ft-tooltip-background-color","COLOR","#666666"),Se=bt.create("--ft-tooltip-z-index","NUMBER","100"),Ce=bt.external(gt.borderRadiusS,"Design system"),Ee=bt.create("--ft-tooltip-max-width","SIZE","150px"),Ne=x`
398
- .ft-tooltip--container {
399
- display: block;
400
- }
401
-
402
- .ft-tooltip--inline {
403
- display: inline-block;
404
- max-width: 100%;
405
- }
406
-
407
- .ft-tooltip {
408
- position: absolute;
409
- box-sizing: border-box;
410
- overflow: hidden;
411
- width: max-content;
412
- max-width: ${Ee};
413
- text-align: center;
414
- padding: ${$e};
415
- z-index: ${Se};
416
- }
417
-
418
- .ft-tooltip--content {
419
- padding: 4px 8px;
420
- border-radius: ${Ce};
421
- background-color: ${ke};
422
- color: ${Oe};
423
- position: relative;
424
- word-break: break-word;
425
- }
426
- `;var Re=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 Me extends St{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`
427
- <div part="container"
428
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
429
- @mouseenter=${this.onHover}
430
- @mouseleave=${this.onOut}
431
- @focusin=${this.onHover}
432
- @focusout=${this.onOut}
433
- @touchstart=${this.onTouch}>
434
- <slot></slot>
435
- <div part="tooltip" role="tooltip" inert
436
- class="ft-tooltip ft-tooltip--${this.validPosition}"
437
- ?hidden=${!this.visible}>
438
- <div part="tooltip-content" class="ft-tooltip--content">
439
- <slot name="text"></slot>
440
- <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
441
- </div>
442
- </div>
443
- </div>
444
- `}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 c=-l.x,h=l.x+l.width-window.innerWidth;a.left=r+Math.round(this.correctOutOfWindowPixels(c,h))+"px";let p=-l.y,f=l.y+l.height-window.innerHeight;a.top=s+Math.round(this.correctOutOfWindowPixels(p,f))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${Ee})`}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))}}Me.elementDefinitions={"ft-typography":fe},Me.styles=Ne,Re([o()],Me.prototype,"text",void 0),Re([o({type:Boolean})],Me.prototype,"manual",void 0),Re([o({type:Boolean})],Me.prototype,"inline",void 0),Re([o({type:Number})],Me.prototype,"delay",void 0),Re([o()],Me.prototype,"position",void 0),Re([
445
- /**
446
- * @license
447
- * Copyright 2017 Google LLC
448
- * SPDX-License-Identifier: BSD-3-Clause
449
- */
450
- 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)],Me.prototype,"slotNodes",void 0),Re([s(".ft-tooltip--container")],Me.prototype,"container",void 0),Re([s(".ft-tooltip")],Me.prototype,"tooltip",void 0),Re([s(".ft-tooltip--content")],Me.prototype,"tooltipContent",void 0),Re([n()],Me.prototype,"visible",void 0),h("ft-tooltip")(Me);const ze={color:bt.extend("--ft-loader-color",gt.colorPrimary),size:bt.create("--ft-loader-size","SIZE","80px")},Ue=x`
404
+ `}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 $e.file_format:this.resolvedIcon=null!==(t=Se[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case $e.material:this.resolvedIcon=this.value||q;break;default:this.resolvedIcon=null!==(o=Ne[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ee.elementDefinitions={},Ee.styles=Ce,Re([i()],Ee.prototype,"variant",void 0),Re([i()],Ee.prototype,"value",void 0),Re([r()],Ee.prototype,"resolvedIcon",void 0),Re([a("slot")],Ee.prototype,"slottedContent",void 0),p("ft-icon")(Ee);const ke={color:bt.extend("--ft-loader-color","",St.colorPrimary),size:bt.create("--ft-loader-size","","SIZE","80px")},Ue=b`
451
405
  :host {
452
406
  line-height: 0;
453
407
  }
@@ -456,8 +410,8 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
456
410
  display: inline-block;
457
411
  position: relative;
458
412
 
459
- width: ${ze.size};
460
- height: ${ze.size};
413
+ width: ${ke.size};
414
+ height: ${ke.size};
461
415
  }
462
416
 
463
417
  .ft-loader div {
@@ -466,7 +420,7 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
466
420
  width: 25%;
467
421
  height: 25%;
468
422
  border-radius: 50%;
469
- background: ${ze.color};
423
+ background: ${ke.color};
470
424
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
471
425
  }
472
426
 
@@ -513,17 +467,10 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
513
467
  transform: translate(0, 0);
514
468
  }
515
469
  100% {
516
- transform: translate(calc(0.35 * ${ze.size}), 0);
470
+ transform: translate(calc(0.35 * ${ke.size}), 0);
517
471
  }
518
472
  }
519
- `;class Fe extends St{render(){return q`
520
- <div class="ft-loader">
521
- <div></div>
522
- <div></div>
523
- <div></div>
524
- <div></div>
525
- </div>
526
- `}}Fe.styles=Ue,h("ft-loader")(Fe);const je=bt.extend("--ft-button-color",gt.colorPrimary),Be={backgroundColor:bt.extend("--ft-button-background-color",gt.colorSurface),borderRadius:bt.extend("--ft-button-border-radius",gt.borderRadiusL),color:je,fontSize:bt.extend("--ft-button-font-size",Qi.fontSize),iconSize:bt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:bt.extend("--ft-button-ripple-color",je),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")},Ie=bt.extend("--ft-button-primary-color",bt.extend("--ft-button-color",gt.colorOnPrimary)),Le={backgroundColor:bt.extend("--ft-button-primary-background-color",bt.extend("--ft-button-background-color",gt.colorPrimary)),color:Ie,rippleColor:bt.extend("--ft-button-primary-ripple-color",Ie)},Pe=bt.extend("--ft-button-dense-border-radius",bt.extend("--ft-button-border-radius",gt.borderRadiusM)),Ae=bt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Te=bt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),De=bt.create("--ft-button-dense-icon-padding","SIZE","4px"),_e=[x`
473
+ `,Ie=bt.extend("--ft-button-color","",St.colorPrimary),We={backgroundColor:bt.extend("--ft-button-background-color","",St.colorSurface),borderRadius:bt.extend("--ft-button-border-radius","",St.borderRadiusL),color:Ie,fontSize:bt.extend("--ft-button-font-size","",ne.fontSize),iconSize:bt.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:bt.extend("--ft-button-ripple-color","",Ie),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")},Le=bt.extend("--ft-button-primary-color","",bt.extend("--ft-button-color","",St.colorOnPrimary)),ze={backgroundColor:bt.extend("--ft-button-primary-background-color","",bt.extend("--ft-button-background-color","",St.colorPrimary)),color:Le,rippleColor:bt.extend("--ft-button-primary-ripple-color","",Le)},Ke=bt.extend("--ft-button-dense-border-radius","",bt.extend("--ft-button-border-radius","",St.borderRadiusM)),Ze=bt.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Fe=bt.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Be=bt.create("--ft-button-dense-icon-padding","","SIZE","4px"),De=[b`
527
474
  :host {
528
475
  display: inline-block;
529
476
  max-width: 100%;
@@ -534,7 +481,7 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
534
481
  box-shadow: 0px 0px 0px transparent;
535
482
  border: 0px solid transparent;
536
483
  text-shadow: 0px 0px 0px transparent;
537
- font-size: ${Be.fontSize};
484
+ font-size: ${We.fontSize};
538
485
  }
539
486
 
540
487
  button:hover {
@@ -563,31 +510,31 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
563
510
  border: none;
564
511
  pointer-events: auto;
565
512
 
566
- --ft-button-internal-line-height: max(calc(${Be.fontSize} + 2px), ${Be.iconSize});
567
- --ft-button-internal-color: ${Be.color};
568
- ${xt(xe.size,Be.iconSize)};
569
- ${xt(At.color,Be.rippleColor)};
513
+ --ft-button-internal-line-height: max(calc(${We.fontSize} + 2px), ${We.iconSize});
514
+ --ft-button-internal-color: ${We.color};
515
+ ${mt(we.size,We.iconSize)};
516
+ ${mt(Pt.color,We.rippleColor)};
570
517
 
571
- border-radius: ${Be.borderRadius};
572
- padding: ${Be.verticalPadding} ${Be.horizontalPadding};
573
- background-color: ${Be.backgroundColor};
518
+ border-radius: ${We.borderRadius};
519
+ padding: ${We.verticalPadding} ${We.horizontalPadding};
520
+ background-color: ${We.backgroundColor};
574
521
  color: var(--ft-button-internal-color);
575
522
  -webkit-mask-image: radial-gradient(white, black);
576
523
  }
577
524
 
578
525
  .ft-button.ft-button--outlined {
579
526
  border: 1px solid var(--ft-button-internal-color);
580
- padding: calc(${Be.verticalPadding} - 1px) calc(${Be.horizontalPadding} - 1px);
527
+ padding: calc(${We.verticalPadding} - 1px) calc(${We.horizontalPadding} - 1px);
581
528
  }
582
529
 
583
530
  .ft-button.ft-button--dense {
584
- padding: ${Ae} ${Te};
585
- border-radius: ${Pe};
586
- gap: ${De};
531
+ padding: ${Ze} ${Fe};
532
+ border-radius: ${Ke};
533
+ gap: ${Be};
587
534
  }
588
535
 
589
536
  .ft-button.ft-button--dense.ft-button--outlined {
590
- padding: calc(${Ae} - 1px) calc(${Te} - 1px);
537
+ padding: calc(${Ze} - 1px) calc(${Fe} - 1px);
591
538
  }
592
539
 
593
540
  .ft-button:not([disabled]):hover {
@@ -595,22 +542,22 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
595
542
  }
596
543
 
597
544
  .ft-button--round {
598
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Be.verticalPadding});
545
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${We.verticalPadding});
599
546
  }
600
547
 
601
548
  .ft-button--round.ft-button--dense {
602
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ae});
549
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ze});
603
550
  }
604
551
 
605
552
  .ft-button[disabled] {
606
553
  filter: grayscale(1);
607
- opacity: ${Be.opacityDisabled};
554
+ opacity: ${We.opacityDisabled};
608
555
  }
609
556
 
610
557
  .ft-button.ft-button--primary {
611
- background-color: ${Le.backgroundColor};
612
- --ft-button-internal-color: ${Le.color};
613
- ${xt(At.color,Le.rippleColor)};
558
+ background-color: ${ze.backgroundColor};
559
+ --ft-button-internal-color: ${ze.color};
560
+ ${mt(Pt.color,ze.rippleColor)};
614
561
  }
615
562
 
616
563
  .ft-button:focus {
@@ -623,13 +570,13 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
623
570
  white-space: nowrap;
624
571
  text-overflow: ellipsis;
625
572
  display: block;
626
- margin: 0 ${Be.iconPadding};
627
- ${xt(Qi.fontSize,"1em")};
628
- ${xt(Qi.lineHeight,"var(--ft-button-internal-line-height)")};
573
+ margin: 0 ${We.iconPadding};
574
+ ${mt(ne.fontSize,"1em")};
575
+ ${mt(ne.lineHeight,"var(--ft-button-internal-line-height)")};
629
576
  }
630
577
 
631
578
  .ft-button--dense .ft-button--label {
632
- margin: 0 ${De};
579
+ margin: 0 ${Be};
633
580
  }
634
581
 
635
582
  .ft-button--label[hidden] {
@@ -642,13 +589,13 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
642
589
  }
643
590
 
644
591
  .ft-button--label[hidden] + ft-icon {
645
- margin: 0 calc(${Be.horizontalPadding} * -1);
646
- padding: 0 ${Be.verticalPadding};
592
+ margin: 0 calc(${We.horizontalPadding} * -1);
593
+ padding: 0 ${We.verticalPadding};
647
594
  }
648
595
 
649
596
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
650
- margin: 0 calc(${Te} * -1);
651
- padding: 0 ${Ae};
597
+ margin: 0 calc(${Fe} * -1);
598
+ padding: 0 ${Ze};
652
599
  }
653
600
 
654
601
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -657,33 +604,311 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
657
604
  }
658
605
 
659
606
  ft-loader {
660
- ${xt(ze.size,Be.iconSize)};
661
- ${xt(ze.color,"var(--ft-button-internal-color)")};
607
+ ${mt(ke.size,We.iconSize)};
608
+ ${mt(ke.color,"var(--ft-button-internal-color)")};
662
609
  }
663
- `,Ct];var We=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 He extends(function(t,i){return class extends t{static get formAssociated(){return!0}get form(){return this[Nt].form}constructor(...t){super(t),this[Nt]=this.attachInternals(),this[Nt].role=i}setFormValue(t){this[Nt].setFormValue(t)}}}(St,"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`
610
+ `,It],Me=bt.create("--ft-tooltip-distance","","SIZE","4px"),Ae=bt.create("--ft-tooltip-color","","COLOR","#FFFFFF"),He=bt.create("--ft-tooltip-background-color","","COLOR","#666666"),je=bt.create("--ft-tooltip-z-index","","NUMBER","100"),Pe=bt.external(St.borderRadiusS,"Design system"),Te=bt.create("--ft-tooltip-max-width","","SIZE","150px"),Ge=b`
611
+ .ft-tooltip--container {
612
+ display: block;
613
+ }
614
+
615
+ .ft-tooltip--inline {
616
+ display: inline-block;
617
+ max-width: 100%;
618
+ }
619
+
620
+ .ft-tooltip {
621
+ position: absolute;
622
+ box-sizing: border-box;
623
+ overflow: hidden;
624
+ width: max-content;
625
+ max-width: ${Te};
626
+ text-align: center;
627
+ padding: ${Me};
628
+ z-index: ${je};
629
+ }
630
+
631
+ .ft-tooltip--content {
632
+ padding: 4px 8px;
633
+ border-radius: ${Pe};
634
+ background-color: ${He};
635
+ color: ${Ae};
636
+ position: relative;
637
+ word-break: break-word;
638
+ }
639
+ `;var _e=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 Ye extends Ut{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`
640
+ <div part="container"
641
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
642
+ @mouseenter=${this.onHover}
643
+ @mouseleave=${this.onOut}
644
+ @focusin=${this.onHover}
645
+ @focusout=${this.onOut}
646
+ @touchstart=${this.onTouch}>
647
+ <slot></slot>
648
+ <div part="tooltip" role="tooltip" inert
649
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
650
+ ?hidden=${!this.visible}>
651
+ <div part="tooltip-content" class="ft-tooltip--content">
652
+ <slot name="text"></slot>
653
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
654
+ </div>
655
+ </div>
656
+ </div>
657
+ `}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 c=this.tooltip.getBoundingClientRect();let s=-c.x,p=c.x+c.width-window.innerWidth;l.left=n+Math.round(this.correctOutOfWindowPixels(s,p))+"px";let f=-c.y,d=c.y+c.height-window.innerHeight;l.top=a+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Te})`}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))}}Ye.elementDefinitions={"ft-typography":xe},Ye.styles=Ge,_e([i()],Ye.prototype,"text",void 0),_e([i({type:Boolean})],Ye.prototype,"manual",void 0),_e([i({type:Boolean})],Ye.prototype,"inline",void 0),_e([i({type:Number})],Ye.prototype,"delay",void 0),_e([i()],Ye.prototype,"position",void 0),_e([
658
+ /**
659
+ * @license
660
+ * Copyright 2017 Google LLC
661
+ * SPDX-License-Identifier: BSD-3-Clause
662
+ */
663
+ 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?c(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)],Ye.prototype,"slotNodes",void 0),_e([a(".ft-tooltip--container")],Ye.prototype,"container",void 0),_e([a(".ft-tooltip")],Ye.prototype,"tooltip",void 0),_e([a(".ft-tooltip--content")],Ye.prototype,"tooltipContent",void 0),_e([r()],Ye.prototype,"visible",void 0),p("ft-tooltip")(Ye);class Ve extends Ut{render(){return V`
664
+ <div class="ft-loader">
665
+ <div></div>
666
+ <div></div>
667
+ <div></div>
668
+ <div></div>
669
+ </div>
670
+ `}}Ve.styles=Ue,p("ft-loader")(Ve);var Je=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 qe extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Lt].form}constructor(...t){super(t),this[Lt]=this.attachInternals(),this[Lt].role=o}setFormValue(t){this[Lt].setFormValue(t)}}}(Ut,"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`
664
671
  <button part="button"
665
- class="${Lt(t)}"
672
+ class="${Ht(this.buttonClasses)}"
666
673
  aria-label="${this.getLabel()}"
667
674
  ?disabled=${this.isDisabled()}>
668
675
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
669
676
  <ft-typography part="label"
670
- variant="button"
677
+ variant=${this.typographyVariant}
671
678
  element="span"
672
- class="ft-button--label ${Ut?"ft-safari-ellipsis-fix":""}"
679
+ class="ft-button--label ${Ft?"ft-safari-ellipsis-fix":""}"
673
680
  ?hidden=${!this.hasTextContent()}>
674
681
  <slot @slotchange=${this.onSlotchange}></slot>
675
682
  </ft-typography>
676
683
  ${this.resolveIcon()}
677
684
  </button>
678
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?q`
685
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?V`
679
686
  <ft-tooltip part="tooltip"
680
687
  text="${this.getLabel()}"
681
688
  position="${this.tooltipPosition}">
682
689
  ${t}
683
690
  </ft-tooltip>
684
- `:t}resolveIcon(){return this.loading?q`
685
- <ft-loader part="loader icon"></ft-loader> `:this.icon?q`
686
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:Y}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}}He.elementDefinitions={"ft-ripple":Jt,"ft-tooltip":Me,"ft-typography":fe,"ft-icon":we,"ft-loader":Fe},He.styles=[Et,_e],We([o({type:String,reflect:!0})],He.prototype,"role",void 0),We([o()],He.prototype,"type",void 0),We([o({type:Boolean})],He.prototype,"primary",void 0),We([o({type:Boolean})],He.prototype,"outlined",void 0),We([o({type:Boolean})],He.prototype,"disabled",void 0),We([o({type:Boolean})],He.prototype,"dense",void 0),We([o({type:Boolean})],He.prototype,"round",void 0),We([o()],He.prototype,"label",void 0),We([o()],He.prototype,"icon",void 0),We([o()],He.prototype,"iconVariant",void 0),We([o({type:Boolean})],He.prototype,"trailingIcon",void 0),We([o({type:Boolean})],He.prototype,"loading",void 0),We([o()],He.prototype,"tooltipPosition",void 0),We([o({type:Boolean})],He.prototype,"hideTooltip",void 0),We([o({type:Boolean})],He.prototype,"forceTooltip",void 0),We([s(".ft-button")],He.prototype,"button",void 0),We([s(".ft-button--label slot")],He.prototype,"slottedContent",void 0),h("ft-button")(He);const Ze=bt.extend("--ft-chip-color",gt.colorOnSurface),Ke={backgroundColor:bt.extend("--ft-chip-background-color",gt.colorSurface),color:Ze,fontSize:bt.extend("--ft-chip-font-size",ji.fontSize),iconSize:bt.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:bt.extend("--ft-chip-ripple-color",Ze),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")},Ve=bt.extend("--ft-chip-highlighted-color",bt.extend("--ft-chip-color",gt.colorOnPrimary)),Je={backgroundColor:bt.extend("--ft-chip-highlighted-background-color",bt.extend("--ft-chip-background-color",gt.colorPrimary)),color:Ve,rippleColor:bt.extend("--ft-chip-highlighted-ripple-color",Ve)},qe={horizontalPadding:bt.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:bt.create("--ft-chip-dense-vertical-padding","SIZE","4px")},Xe=[Ct,x`
691
+ `:t}resolveIcon(){return this.loading?V`
692
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?V`
693
+ <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}}qe.elementDefinitions={"ft-ripple":Qt,"ft-tooltip":Ye,"ft-typography":xe,"ft-icon":Ee,"ft-loader":Ve},Je([i({type:String,reflect:!0})],qe.prototype,"role",void 0),Je([i()],qe.prototype,"type",void 0),Je([i({type:Boolean})],qe.prototype,"disabled",void 0),Je([i()],qe.prototype,"label",void 0),Je([i()],qe.prototype,"icon",void 0),Je([i()],qe.prototype,"iconVariant",void 0),Je([i({type:Boolean})],qe.prototype,"trailingIcon",void 0),Je([i({type:Boolean})],qe.prototype,"loading",void 0),Je([i()],qe.prototype,"tooltipPosition",void 0),Je([i({type:Boolean})],qe.prototype,"hideTooltip",void 0),Je([i({type:Boolean})],qe.prototype,"forceTooltip",void 0),Je([a(".ft-button")],qe.prototype,"button",void 0),Je([a(".ft-button--label slot")],qe.prototype,"slottedContent",void 0);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 Qe extends qe{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"}}Qe.styles=[Wt,De],Xe([i({type:Boolean})],Qe.prototype,"primary",void 0),Xe([i({type:Boolean})],Qe.prototype,"outlined",void 0),Xe([i({type:Boolean})],Qe.prototype,"disabled",void 0),Xe([i({type:Boolean})],Qe.prototype,"dense",void 0),Xe([i({type:Boolean})],Qe.prototype,"round",void 0);const ti=[b`
694
+ :host {
695
+ display: inline-block;
696
+ max-width: 100%;
697
+ pointer-events: none;
698
+ }
699
+
700
+ /** Remove default button styles **/
701
+
702
+ button {
703
+ box-shadow: 0 0 0 transparent;
704
+ border: 0 solid transparent;
705
+ text-shadow: 0 0 0 transparent;
706
+ }
707
+
708
+ button:hover {
709
+ box-shadow: 0 0 0 transparent;
710
+ text-shadow: 0 0 0 transparent;
711
+ }
712
+
713
+ button:active {
714
+ outline: none;
715
+ }
716
+
717
+ button:focus {
718
+ outline: 0;
719
+ }
720
+
721
+ /** Base styles **/
722
+
723
+ .ft-button {
724
+ position: relative;
725
+ display: flex;
726
+ justify-content: center;
727
+ align-items: center;
728
+ width: 100%;
729
+ overflow: hidden;
730
+ box-sizing: border-box;
731
+ pointer-events: auto;
732
+ }
733
+
734
+ .ft-button:not([disabled]):hover {
735
+ cursor: pointer;
736
+ }
737
+
738
+ .ft-button:focus {
739
+ outline: none;
740
+ }
741
+
742
+ .ft-button:focus-visible {
743
+ outline-color: ${Nt.focusFocusRingColor};
744
+ outline-style: solid;
745
+ }
746
+
747
+ ft-icon {
748
+ flex-shrink: 0;
749
+ position: relative;
750
+ }
751
+
752
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
753
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
754
+ order: -1;
755
+ }
756
+
757
+ .ft-button--label {
758
+ position: relative;
759
+ overflow: hidden;
760
+ white-space: nowrap;
761
+ text-overflow: ellipsis;
762
+ display: block;
763
+ }
764
+
765
+ .ft-button--label[hidden] {
766
+ display: none;
767
+ }
768
+
769
+ /** Primary styles **/
770
+
771
+ .ft-button--primary {
772
+ ${mt(ke.color,Nt.primaryIconColor)};
773
+
774
+ ${mt(Pt.color,Nt.primaryStateLayerColor)};
775
+ ${mt(Pt.opacityContentOnSurfaceHover,Nt.primaryStateLayerOpacityHover)};
776
+ ${mt(Pt.opacityContentOnSurfaceFocused,Nt.primaryStateLayerOpacityFocus)};
777
+ ${mt(Pt.opacityContentOnSurfaceSelected,Nt.primaryStateLayerOpacityActive)};
778
+ ${mt(Pt.opacityContentOnSurfacePressed,Nt.primaryStateLayerOpacityActive)};
779
+
780
+ background-color: ${Nt.primaryBackgroundColor};
781
+ color: ${Nt.primaryColor};
782
+ border-style: none;
783
+ }
784
+
785
+ .ft-button--primary[disabled] {
786
+ opacity: ${Nt.primaryComponentOpacityDisabled};
787
+ }
788
+
789
+ .ft-button--primary ft-icon {
790
+ color: ${Nt.primaryIconColor};
791
+ }
792
+
793
+ /** Secondary styles **/
794
+
795
+ .ft-button--secondary {
796
+ ${mt(ke.color,Nt.secondaryIconColor)};
797
+
798
+ ${mt(Pt.color,Nt.secondaryStateLayerColor)};
799
+ ${mt(Pt.opacityContentOnSurfaceHover,Nt.secondaryStateLayerOpacityHover)};
800
+ ${mt(Pt.opacityContentOnSurfaceFocused,Nt.secondaryStateLayerOpacityFocus)};
801
+ ${mt(Pt.opacityContentOnSurfaceSelected,Nt.secondaryStateLayerOpacityActive)};
802
+ ${mt(Pt.opacityContentOnSurfacePressed,Nt.secondaryStateLayerOpacityActive)};
803
+
804
+ background-color: ${Nt.secondaryBackgroundColor};
805
+ color: ${Nt.secondaryColor};
806
+ border-color: ${Nt.secondaryBorderColor};
807
+ border-style: solid;
808
+ }
809
+
810
+ .ft-button--secondary[disabled] {
811
+ opacity: ${Nt.secondaryComponentOpacityDisabled};
812
+ }
813
+
814
+ .ft-button--secondary ft-icon {
815
+ color: ${Nt.secondaryIconColor};
816
+ }
817
+
818
+ /** Tertiary styles **/
819
+
820
+ .ft-button--tertiary {
821
+ ${mt(ke.color,Nt.tertiaryIconColor)};
822
+
823
+ ${mt(Pt.color,Nt.tertiaryStateLayerColor)};
824
+ ${mt(Pt.opacityContentOnSurfaceHover,Nt.tertiaryStateLayerOpacityHover)};
825
+ ${mt(Pt.opacityContentOnSurfaceFocused,Nt.tertiaryStateLayerOpacityFocus)};
826
+ ${mt(Pt.opacityContentOnSurfaceSelected,Nt.tertiaryStateLayerOpacityActive)};
827
+ ${mt(Pt.opacityContentOnSurfacePressed,Nt.tertiaryStateLayerOpacityActive)};
828
+
829
+ background-color: ${Nt.tertiaryBackgroundColor};
830
+ color: ${Nt.tertiaryColor};
831
+ border-style: none;
832
+ }
833
+
834
+ .ft-button--tertiary[disabled] {
835
+ opacity: ${Nt.tertiaryComponentOpacityDisabled};
836
+ }
837
+
838
+ .ft-button--tertiary ft-icon {
839
+ color: ${Nt.tertiaryIconColor};
840
+ }
841
+
842
+ /** Neutral styles **/
843
+
844
+ .ft-button--neutral {
845
+ ${mt(ke.color,Nt.neutralIconColor)};
846
+
847
+ ${mt(Pt.backgroundColor,Nt.neutralStateLayerColor)};
848
+ ${mt(Pt.opacityContentOnSurfaceHover,Nt.neutralStateLayerOpacityHover)};
849
+ ${mt(Pt.opacityContentOnSurfaceFocused,Nt.neutralStateLayerOpacityFocus)};
850
+ ${mt(Pt.opacityContentOnSurfaceSelected,Nt.neutralStateLayerOpacityActive)};
851
+ ${mt(Pt.opacityContentOnSurfacePressed,Nt.neutralStateLayerOpacityActive)};
852
+
853
+ background-color: ${Nt.neutralBackgroundColor};
854
+ color: ${Nt.neutralColor};
855
+ border-style: none;
856
+ }
857
+
858
+ .ft-button--neutral[disabled] {
859
+ opacity: ${Nt.neutralComponentOpacityDisabled};
860
+ }
861
+
862
+ .ft-button--neutral ft-icon {
863
+ color: ${Nt.neutralIconColor};
864
+ }
865
+
866
+ /** Large styles **/
867
+
868
+ .ft-button--large {
869
+ ${mt(we.size,Nt.largeIconSize)};
870
+ ${mt(ke.size,Nt.largeIconSize)};
871
+
872
+ height: ${Nt.largeHeight};
873
+ padding: 0 ${Nt.largeHorizontalPadding};
874
+ gap: ${Nt.largeGap};
875
+ border-radius: ${Nt.largeBorderRadius};
876
+ border-width: ${Nt.largeBorderWidth};
877
+ }
878
+
879
+ .ft-button--large:focus-visible {
880
+ outline-width: ${Nt.largeFocusOutlineWidth};
881
+ outline-offset: ${Nt.largeFocusOutlineOffset};
882
+ }
883
+
884
+ .ft-button--large.ft-button--icon-only {
885
+ width: ${Nt.largeIconOnlyWidth};
886
+ padding: unset;
887
+ }
888
+
889
+ /** Small styles **/
890
+
891
+ .ft-button--small {
892
+ ${mt(we.size,Nt.smallIconSize)};
893
+ ${mt(ke.size,Nt.smallIconSize)};
894
+
895
+ height: ${Nt.smallHeight};
896
+ padding: 0 ${Nt.smallHorizontalPadding};
897
+ gap: ${Nt.smallGap};
898
+ border-radius: ${Nt.smallBorderRadius};
899
+ border-width: ${Nt.smallBorderWidth};
900
+ }
901
+
902
+ .ft-button--small:focus-visible {
903
+ outline-width: ${Nt.smallFocusOutlineWidth};
904
+ outline-offset: ${Nt.smallFocusOutlineOffset};
905
+ }
906
+
907
+ .ft-button--small.ft-button--icon-only {
908
+ width: ${Nt.smallIconOnlyWidth};
909
+ padding: unset;
910
+ }
911
+ `,It];var oi=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 ei extends qe{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?no.caption1medium:no.body2medium}}ei.styles=[Wt,ti],oi([i({type:Boolean})],ei.prototype,"primary",void 0),oi([i({type:Boolean})],ei.prototype,"secondary",void 0),oi([i({type:Boolean})],ei.prototype,"tertiary",void 0),oi([i({type:Boolean})],ei.prototype,"neutral",void 0),oi([i({type:Boolean})],ei.prototype,"small",void 0),p("ft-button")(Qe),p("ftds-button")(ei);const ii=bt.extend("--ft-chip-color","",St.colorOnSurface),ri={backgroundColor:bt.extend("--ft-chip-background-color","",St.colorSurface),color:ii,fontSize:bt.extend("--ft-chip-font-size","",Mo.fontSize),iconSize:bt.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:bt.extend("--ft-chip-ripple-color","",ii),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")},ni=bt.extend("--ft-chip-highlighted-color","",bt.extend("--ft-chip-color","",St.colorOnPrimary)),ai={backgroundColor:bt.extend("--ft-chip-highlighted-background-color","",bt.extend("--ft-chip-background-color","",St.colorPrimary)),color:ni,rippleColor:bt.extend("--ft-chip-highlighted-ripple-color","",ni)},li={horizontalPadding:bt.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:bt.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},ci=[It,b`
687
912
  :host {
688
913
  display: inline-block;
689
914
  max-width: 100%;
@@ -699,20 +924,20 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
699
924
  box-sizing: border-box;
700
925
  pointer-events: auto;
701
926
 
702
- --ft-chip-internal-font-size: ${Ke.fontSize};
927
+ --ft-chip-internal-font-size: ${ri.fontSize};
703
928
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
704
- ${xt(xe.size,Ke.iconSize)};
705
- --ft-chip-internal-vertical-padding: ${Ke.verticalPadding};
706
- --ft-chip-internal-horizontal-padding: ${Ke.horizontalPadding};
929
+ ${mt(we.size,ri.iconSize)};
930
+ --ft-chip-internal-vertical-padding: ${ri.verticalPadding};
931
+ --ft-chip-internal-horizontal-padding: ${ri.horizontalPadding};
707
932
  --ft-chip-internal-icon-padding: 3px;
708
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ke.iconSize});
933
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ri.iconSize});
709
934
 
710
- border: 1px solid ${Ke.colorOutline};
711
- color: ${Ke.color};
712
- ${xt(At.color,Ke.rippleColor)};
935
+ border: 1px solid ${ri.colorOutline};
936
+ color: ${ri.color};
937
+ ${mt(Pt.color,ri.rippleColor)};
713
938
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
714
939
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
715
- background-color: ${Ke.backgroundColor};
940
+ background-color: ${ri.backgroundColor};
716
941
  line-height: var(--ft-chip-internal-content-height);
717
942
  }
718
943
 
@@ -722,8 +947,8 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
722
947
 
723
948
  .ft-chip--dense {
724
949
  --ft-chip-internal-icon-padding: 3px;
725
- --ft-chip-internal-vertical-padding: ${qe.verticalPadding};
726
- --ft-chip-internal-horizontal-padding: ${qe.horizontalPadding};
950
+ --ft-chip-internal-vertical-padding: ${li.verticalPadding};
951
+ --ft-chip-internal-horizontal-padding: ${li.horizontalPadding};
727
952
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
728
953
  }
729
954
 
@@ -735,15 +960,15 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
735
960
  cursor: default;
736
961
  pointer-events: none;
737
962
  filter: grayscale(1);
738
- opacity: ${Ke.opacityDisabled};
963
+ opacity: ${ri.opacityDisabled};
739
964
  }
740
965
 
741
966
  .ft-chip--highlighted {
742
967
  border: none;
743
968
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
744
- background-color: ${Je.backgroundColor};
745
- ${xt(At.color,Je.rippleColor)};
746
- color: ${Je.color};
969
+ background-color: ${ai.backgroundColor};
970
+ ${mt(Pt.color,ai.rippleColor)};
971
+ color: ${ai.color};
747
972
  }
748
973
 
749
974
  .ft-chip--clickable {
@@ -773,9 +998,9 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
773
998
  }
774
999
 
775
1000
  .ft-chip--icon-button {
776
- ${xt(Be.iconSize,Ke.iconSize)};
777
- ${xt(Be.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
778
- ${xt(Be.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1001
+ ${mt(We.iconSize,ri.iconSize)};
1002
+ ${mt(We.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1003
+ ${mt(We.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
779
1004
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
780
1005
  }
781
1006
 
@@ -783,8 +1008,8 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
783
1008
  vertical-align: bottom;
784
1009
  display: block;
785
1010
  margin: 0 var(--ft-chip-internal-horizontal-padding);
786
- ${xt(ji.fontSize,"var(--ft-chip-internal-font-size)")};
787
- ${xt(ji.lineHeight,"var(--ft-chip-internal-content-height)")};
1011
+ ${mt(Mo.fontSize,"var(--ft-chip-internal-font-size)")};
1012
+ ${mt(Mo.lineHeight,"var(--ft-chip-internal-content-height)")};
788
1013
  }
789
1014
 
790
1015
  .ft-chip--safari-fix .ft-chip--label {
@@ -820,8 +1045,8 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
820
1045
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
821
1046
  order: -1;
822
1047
  }
823
- `];var Ye=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 Ge extends CustomEvent{constructor(){super("icon-click")}}class Qe extends St{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":Ut};return q`
824
- <div class="${Lt(t)}"
1048
+ `];var si=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 pi extends CustomEvent{constructor(){super("icon-click")}}class fi extends Ut{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":Ft};return V`
1049
+ <div class="${Ht(t)}"
825
1050
  aria-label="${this.getLabel()}"
826
1051
  tabindex="${this.interactionsOnChip?0:-1}"
827
1052
  @keyup=${this.onKeyUp}>
@@ -831,7 +1056,7 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
831
1056
  </ft-typography>
832
1057
  ${this.internalIcon?this.renderIcon():null}
833
1058
  </div>
834
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?q`
1059
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?V`
835
1060
  <ft-button round
836
1061
  class="ft-chip--icon-button"
837
1062
  @click=${this.onIconClick}
@@ -839,8 +1064,8 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
839
1064
  icon="${this.internalIcon}"
840
1065
  label="${this.iconLabel}"
841
1066
  ></ft-button>
842
- `:q`
1067
+ `:V`
843
1068
  <div class="ft-chip--icon-container ft-no-text-select">
844
1069
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
845
1070
  </div>
846
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ge))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ge))}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)}}Qe.elementDefinitions={"ft-ripple":Jt,"ft-typography":fe,"ft-icon":we,"ft-button":He},Qe.styles=Xe,Ye([o({type:Boolean})],Qe.prototype,"highlighted",void 0),Ye([o({type:Boolean})],Qe.prototype,"removable",void 0),Ye([o({type:Boolean})],Qe.prototype,"disabled",void 0),Ye([o({type:Boolean})],Qe.prototype,"clickable",void 0),Ye([o({type:Boolean})],Qe.prototype,"iconClickable",void 0),Ye([o({type:Boolean})],Qe.prototype,"dense",void 0),Ye([o({type:Boolean})],Qe.prototype,"multiLine",void 0),Ye([o()],Qe.prototype,"label",void 0),Ye([o()],Qe.prototype,"iconLabel",void 0),Ye([o()],Qe.prototype,"icon",void 0),Ye([o()],Qe.prototype,"iconVariant",void 0),Ye([o({type:Boolean})],Qe.prototype,"trailingIcon",void 0),Ye([s("ft-typography slot")],Qe.prototype,"slottedContent",void 0),h("ft-chip")(Qe),t.FtChip=Qe,t.FtChipCssVariables=Ke,t.FtChipDenseCssVariables=qe,t.FtChipHighlightedCssVariables=Je,t.IconClickEvent=Ge,t.styles=Xe}({});
1071
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new pi))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new pi))}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)}}fi.elementDefinitions={"ft-ripple":Qt,"ft-typography":xe,"ft-icon":Ee,"ft-button":Qe},fi.styles=ci,si([i({type:Boolean})],fi.prototype,"highlighted",void 0),si([i({type:Boolean})],fi.prototype,"removable",void 0),si([i({type:Boolean})],fi.prototype,"disabled",void 0),si([i({type:Boolean})],fi.prototype,"clickable",void 0),si([i({type:Boolean})],fi.prototype,"iconClickable",void 0),si([i({type:Boolean})],fi.prototype,"dense",void 0),si([i({type:Boolean})],fi.prototype,"multiLine",void 0),si([i()],fi.prototype,"label",void 0),si([i()],fi.prototype,"iconLabel",void 0),si([i()],fi.prototype,"icon",void 0),si([i()],fi.prototype,"iconVariant",void 0),si([i({type:Boolean})],fi.prototype,"trailingIcon",void 0),si([a("ft-typography slot")],fi.prototype,"slottedContent",void 0),p("ft-chip")(fi),t.FtChip=fi,t.FtChipCssVariables=ri,t.FtChipDenseCssVariables=li,t.FtChipHighlightedCssVariables=ai,t.IconClickEvent=pi,t.styles=ci}({});