@fluid-topics/ft-select 1.0.59 → 1.0.61

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,17 +14,17 @@
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,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);f(s,a,l);const p={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,p),this._definitionsByClass.set(s,p);let c=i.call(o,t);c||(c=h(t),e.call(o,t,c)),this===window.customElements&&(r.set(s,p),p.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,p,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!p(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=s.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const v=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),y.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){y.push(this),i.set.call(this,t),y.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o 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 e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(mi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,s=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}s(!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,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);d(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)a.delete(t),y(t,c,!0)}const u=this._whenDefinedPromises.get(t);return void 0!==u&&(u.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=n.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):h(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},u=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=u.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==i.get(e).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(Re){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function o(t){return(e,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,o):i(t,e)
22
+ */const e=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(e){e.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(e){e.createProperty(o.key,t)}};function r(t){return(o,r)=>void 0!==r?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,r):e(t,o)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function s(t){return o({...t,state:!0})}
27
+ */}function i(t){return r({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
@@ -35,35 +35,35 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
37
  */
38
- function n(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o){const o=null!==(s=i.originalKey)&&void 0!==s?s:i.key,n=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(n.finisher=function(e){t(e,o)}),n}{const s=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(s,o)}})({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
38
+ function a(t,o){return(({finisher:t,descriptor:o})=>(e,r)=>{var i;if(void 0===r){const r=null!==(i=e.originalKey)&&void 0!==i?i:e.key,a=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(a.finisher=function(o){t(o,r)}),a}{const i=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(i,r)}})({descriptor:e=>{const r={get(){var o,e;return null!==(e=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(o){const o="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[o]&&(this[o]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[o]}}return r}})}
39
39
  /**
40
40
  * @license
41
41
  * Copyright 2021 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
- */var r;function l(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var i,o,s;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(o=i;0!=o--;)if(!l(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!l(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((i=(s=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=i;0!=o--;){var n=s[o];if(!l(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}null===(r=window.HTMLSlotElement)||void 0===r||r.prototype.assignedElements;const a=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
43
+ */var n;function l(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!l(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!l(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var a=i[r];if(!l(t[a],o[a]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}null===(n=window.HTMLSlotElement)||void 0===n||n.prototype.assignedElements;const s=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
44
44
  /**
45
45
  * @license
46
46
  * Copyright 2019 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const p=window,c=p.ShadowRoot&&(void 0===p.ShadyCSS||p.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,h=Symbol(),f=new WeakMap;let d=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==h)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(c&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=f.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&f.set(e,t))}return t}toString(){return this.cssText}};const u=t=>new d("string"==typeof t?t:t+"",void 0,h),x=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(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.")})(i)+t[o+1]),t[0]);return new d(i,t,h)},y=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=p.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},v=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t
49
+ const c=window,p=c.ShadowRoot&&(void 0===c.ShadyCSS||c.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,f=Symbol(),d=new WeakMap;let h=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==f)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(p&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=d.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&d.set(o,t))}return t}toString(){return this.cssText}};const y=t=>new h("string"==typeof t?t:t+"",void 0,f),u=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new h(e,t,f)},g=(t,o)=>{p?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=c.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))},b=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return y(o)})(t):t
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
- */;var b;const g=window,m=g.trustedTypes,w=m?m.emptyScript:"",$=g.reactiveElementPolyfillSupport,O={toAttribute(t,e){switch(e){case Boolean:t=t?w:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},S=(t,e)=>e!==t&&(e==e||t==t),k={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:S};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 e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=k){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const s=this[t];this[e]=o,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||k}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,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(v(t))}else void 0!==t&&e.push(v(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"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 e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return y(e,this.constructor.elementStyles),e}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 e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=k){var o;const s=this.constructor._$Ep(t,i);if(void 0!==s&&!0===i.reflect){const n=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:O).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(s):this.setAttribute(s,n),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,s=o._$Ev.get(t);if(void 0!==s&&this._$El!==s){const t=o.getPropertyOptions(s),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:O;this._$El=s,this[s]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||S)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):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,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.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,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
54
+ */;var m;const x=window,O=x.trustedTypes,v=O?O.emptyScript:"",N=x.reactiveElementPolyfillSupport,S={toAttribute(t,o){switch(o){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},w=(t,o)=>o!==t&&(o==o||t==t),C={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:w};let R=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=C){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||C}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(b(t))}else void 0!==t&&o.push(b(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 g(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=C){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const a=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:S).toAttribute(o,e.type);this._$El=t,null==a?this.removeAttribute(i):this.setAttribute(i,a),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),a="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=i,this[i]=a.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2017 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
59
  */
60
- var N;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:E}),(null!==(b=g.reactiveElementVersions)&&void 0!==b?b:g.reactiveElementVersions=[]).push("1.6.1");const C=window,M=C.trustedTypes,R=M?M.createPolicy("lit-html",{createHTML:t=>t}):void 0,U="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,j="?"+z,F=`<${j}>`,A=document,D=()=>A.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,L=t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),_="[ \t\n\f\r]",I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,W=/>/g,H=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,Z=/"/g,V=/^(?:script|style|textarea|title)$/i,J=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Y=new WeakMap,G=A.createTreeWalker(A,129,null,!1),Q=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=I;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===I?"!--"===a[1]?r=T:void 0!==a[1]?r=W:void 0!==a[2]?(V.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=H):void 0!==a[3]&&(r=H):r===H?">"===a[0]?(r=null!=s?s:I,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?H:'"'===a[3]?Z:K):r===Z||r===K?r=H:r===T||r===W?r=I:(r=H,s=void 0);const h=r===H&&t[e+1].startsWith("/>")?" ":"";n+=r===I?i+F:p>=0?(o.push(l),i.slice(0,p)+U+i.slice(p)+z+h):i+z+(-2===p?(o.push(void 0),e):h)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(l):l,o]};class tt{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,p]=Q(t,e);if(this.el=tt.createElement(a,i),G.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=G.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(U)||e.startsWith(z)){const i=p[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+U).split(z),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?nt:"?"===e[1]?lt:"@"===e[1]?at:st})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(V.test(o.tagName)){const t=o.textContent.split(z),e=t.length-1;if(e>0){o.textContent=M?M.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],D()),G.nextNode(),l.push({type:2,index:++s});o.append(t[e],D())}}}else if(8===o.nodeType)if(o.data===j)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)l.push({type:7,index:s}),t+=z.length-1}s++}}static createElement(t,e){const i=A.createElement("template");return i.innerHTML=t,i}}function et(t,e,i=t,o){var s,n,r,l;if(e===q)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const p=B(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=et(t,a._$AS(t,e.values),a,o)),e}class it{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:A).importNode(i,!0);G.currentNode=s;let n=G.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new ot(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new pt(n,this,t)),this._$AV.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=G.nextNode(),r++)}return s}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class ot{constructor(t,e,i,o){var s;this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=et(this,t,e),B(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):L(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=tt.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new it(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=Y.get(t.strings);return void 0===e&&Y.set(t.strings,e=new tt(t)),e}T(t){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new ot(this.k(D()),this.k(D()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class st{constructor(t,e,i,o,s){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=X}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=et(this,t,e,0),n=!B(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=et(this,o[i+r],e,r),l===q&&(l=this._$AH[r]),n||(n=!B(l)||l!==this._$AH[r]),l===X?t=X:t!==X&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}}const rt=M?M.emptyScript:"";class lt extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==X?this.element.setAttribute(this.name,rt):this.element.removeAttribute(this.name)}}class at extends st{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=et(this,t,e,0))&&void 0!==i?i:X)===q)return;const o=this._$AH,s=t===X&&o!==X||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==X&&(o===X||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class pt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){et(this,t)}}const ct={O:U,P:z,A:j,C:1,M:Q,L:it,D:L,R:et,I:ot,V:st,H:lt,N:at,U:nt,F:pt},ht=C.litHtmlPolyfillSupport;null==ht||ht(tt,ot),(null!==(N=C.litHtmlVersions)&&void 0!==N?N:C.litHtmlVersions=[]).push("2.7.3");
60
+ var E;R.finalized=!0,R.elementProperties=new Map,R.elementStyles=[],R.shadowRootOptions={mode:"open"},null==N||N({ReactiveElement:R}),(null!==(m=x.reactiveElementVersions)&&void 0!==m?m:x.reactiveElementVersions=[]).push("1.6.1");const $=window,U=$.trustedTypes,I=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,k="$lit$",W=`lit$${(Math.random()+"").slice(9)}$`,L="?"+W,K=`<${L}>`,Z=document,z=()=>Z.createComment(""),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,B=t=>D(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),M="[ \t\n\f\r]",A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,j=/>/g,P=RegExp(`>|${M}(?:([^\\s"'>=/]+)(${M}*=${M}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,_=/"/g,T=/^(?:script|style|textarea|title)$/i,Y=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),V=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),q=new WeakMap,X=Z.createTreeWalker(Z,129,null,!1),Q=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=A;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(n.lastIndex=p,s=n.exec(e),null!==s);)p=n.lastIndex,n===A?"!--"===s[1]?n=H:void 0!==s[1]?n=j:void 0!==s[2]?(T.test(s[2])&&(i=RegExp("</"+s[2],"g")),n=P):void 0!==s[3]&&(n=P):n===P?">"===s[0]?(n=null!=i?i:A,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?P:'"'===s[3]?_:G):n===_||n===G?n=P:n===H||n===j?n=A:(n=P,i=void 0);const f=n===P&&t[o+1].startsWith("/>")?" ":"";a+=n===A?e+K:c>=0?(r.push(l),e.slice(0,c)+k+e.slice(c)+W+f):e+W+(-2===c?(r.push(void 0),o):f)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==I?I.createHTML(l):l,r]};class tt{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[s,c]=Q(t,o);if(this.el=tt.createElement(s,e),X.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=X.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(k)||o.startsWith(W)){const e=c[a++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+k).split(W),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?at:"?"===o[1]?lt:"@"===o[1]?st:it})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(T.test(r.tagName)){const t=r.textContent.split(W),o=t.length-1;if(o>0){r.textContent=U?U.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],z()),X.nextNode(),l.push({type:2,index:++i});r.append(t[o],z())}}}else if(8===r.nodeType)if(r.data===L)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(W,t+1));)l.push({type:7,index:i}),t+=W.length-1}i++}}static createElement(t,o){const e=Z.createElement("template");return e.innerHTML=t,e}}function ot(t,o,e=t,r){var i,a,n,l;if(o===V)return o;let s=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=F(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(a=null==s?void 0:s._$AO)||void 0===a||a.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=ot(t,s._$AS(t,o.values),s,r)),o}class et{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:Z).importNode(e,!0);X.currentNode=i;let a=X.nextNode(),n=0,l=0,s=r[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new rt(a,a.nextSibling,this,t):1===s.type?o=new s.ctor(a,s.name,s.strings,this,t):6===s.type&&(o=new ct(a,this,t)),this._$AV.push(o),s=r[++l]}n!==(null==s?void 0:s.index)&&(a=X.nextNode(),n++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class rt{constructor(t,o,e,r){var i;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ot(this,t,o),F(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==V&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):B(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!==J&&F(this._$AH)?this._$AA.nextSibling.data=t:this.$(Z.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=tt.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new et(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=q.get(t.strings);return void 0===o&&q.set(t.strings,o=new tt(t)),o}T(t){D(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new rt(this.k(z()),this.k(z()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class it{constructor(t,o,e,r,i){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=ot(this,t,o,0),a=!F(t)||t!==this._$AH&&t!==V,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=ot(this,r[e+n],o,n),l===V&&(l=this._$AH[n]),a||(a=!F(l)||l!==this._$AH[n]),l===J?t=J:t!==J&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.j(t)}j(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class at extends it{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}}const nt=U?U.emptyScript:"";class lt extends it{constructor(){super(...arguments),this.type=4}j(t){t&&t!==J?this.element.setAttribute(this.name,nt):this.element.removeAttribute(this.name)}}class st extends it{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=ot(this,t,o,0))&&void 0!==e?e:J)===V)return;const r=this._$AH,i=t===J&&r!==J||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==J&&(r===J||i);i&&this.element.removeEventListener(this.name,this,r),a&&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 ct{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){ot(this,t)}}const pt={O:k,P:W,A:L,C:1,M:Q,L:et,D:B,R:ot,I:rt,V:it,H:lt,N:st,U:at,F:ct},ft=$.litHtmlPolyfillSupport;null==ft||ft(tt,rt),(null!==(E=$.litHtmlVersions)&&void 0!==E?E:$.litHtmlVersions=[]).push("2.7.3");
61
61
  /**
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
65
  */
66
- var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new ot(e.insertBefore(D(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return q}};ut.finalized=!0,ut._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:ut});const xt=globalThis.litElementPolyfillSupport;null==xt||xt({LitElement:ut}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.3.2");class yt{static create(t,e,i){let o=t=>u(null!=t?t:i),s=x`var(${u(t)}, ${o(i)})`;return s.name=t,s.category=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>x`var(${u(t)}, ${o(e)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),s=x`var(${u(t)}, ${o(i)})`;return s.name=t,s.category=e.category,s.fallbackVariable=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>x`var(${u(t)}, ${o(e)})`,s.breadcrumb=()=>[e.name,...e.breadcrumb()],s.lastResortDefaultValue=()=>i,s}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):u(null!=e?e:t.defaultValue),o=x`var(${u(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>x`var(${u(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function vt(t,e){return u(`${t.name}: ${e}`)}const bt={colorPrimary:yt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:yt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:yt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:yt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:yt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:yt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:yt.create("--ft-color-error","COLOR","#B00020"),colorOutline:yt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:yt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:yt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:yt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:yt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:yt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:yt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:yt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:yt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:yt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:yt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:yt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:yt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:yt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:yt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:yt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:yt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:yt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:yt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:yt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:yt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:yt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:yt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:yt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:yt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:yt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:yt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:yt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:yt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:yt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:yt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:yt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:yt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:yt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:yt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:yt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:yt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:yt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:yt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:yt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:yt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:yt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:yt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:yt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class gt extends ut{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return y(i,t.elementStyles),i}}var mt,wt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const $t=Symbol("constructorPrototype"),Ot=Symbol("constructorName"),St=Symbol("exportpartsDebouncer");class kt extends gt{constructor(){super(),this[mt]=new e(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 e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[St].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,s,n,r;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(r=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const c=[...p.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}var Et,Nt;mt=St,wt([o()],kt.prototype,"exportpartsPrefix",void 0),wt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!l(t,e),...null!=e?e:{}})}([])],kt.prototype,"exportpartsPrefixes",void 0),wt([o()],kt.prototype,"customStylesheet",void 0),x`
66
+ var dt,ht;let yt=class extends R{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,i;const a=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let n=a._$litPart$;if(void 0===n){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;a._$litPart$=n=new rt(o.insertBefore(z(),t),t,void 0,null!=e?e:{})}return n._$AI(t),n})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return V}};yt.finalized=!0,yt._$litElement$=!0,null===(dt=globalThis.litElementHydrateSupport)||void 0===dt||dt.call(globalThis,{LitElement:yt});const ut=globalThis.litElementPolyfillSupport;null==ut||ut({LitElement:yt}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht:globalThis.litElementVersions=[]).push("3.3.2");const gt=t=>"string"==typeof t?y(t):t;class bt{static create(t,o,e,r){const i=t=>gt(null!=t?t:r),a=u`var(${gt(t)}, ${i(r)})`;return a.name=t,a.description=t,a.category=e,a.defaultValue=r,a.defaultCssValue=i,a.get=o=>u`var(${gt(t)}, ${i(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),a=u`var(${gt(t)}, ${i(r)})`;return a.name=t,a.description=o,a.category=e.category,a.fallbackVariable=e,a.defaultValue=r,a.defaultCssValue=i,a.get=o=>u`var(${gt(t)}, ${i(o)})`,a.breadcrumb=()=>[e.name,...e.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),a}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):gt(null!=o?o:t.lastResortDefaultValue()),r=u`var(${gt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>u`var(${gt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}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")},Ot={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")}},vt={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)};bt.create("--ft-button-large-height","","SIZE","40px"),bt.extend("--ft-button-large-horizontal-padding","",xt.spacing4),bt.extend("--ft-button-large-gap","",xt.spacing2),bt.extend("--ft-button-large-border-radius","",xt.borderRadiusS),bt.extend("--ft-button-large-icon-size","",xt.iconSize3),bt.create("--ft-button-large-border-width","","SIZE","1px"),bt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-large-icon-only-width","","SIZE","40px"),bt.create("--ft-button-small-height","","SIZE","30px"),bt.extend("--ft-button-small-horizontal-padding","",xt.spacing3),bt.extend("--ft-button-small-gap","",xt.spacing2),bt.extend("--ft-button-small-border-radius","",xt.borderRadiusS),bt.extend("--ft-button-small-icon-size","",xt.iconSize2),bt.create("--ft-button-small-border-width","","SIZE","1px"),bt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-small-icon-only-width","","SIZE","30px"),bt.extend("--ft-button-primary-background-color","",vt.backgroundActionPrimary),bt.extend("--ft-button-primary-color","",vt.contentGlobalOnColor),bt.extend("--ft-button-primary-icon-color","",vt.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-color","",vt.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-button-primary-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-button-focus-focus-ring-color","",vt.borderActionFocusRing),bt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-tertiary-color","",vt.contentActionPrimary),bt.extend("--ft-button-tertiary-icon-color","",vt.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-color","",vt.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-opacity-hover","",xt.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-focus","",xt.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-active","",xt.opacity16),bt.extend("--ft-button-tertiary-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-button-secondary-background-color","",xt.colorWhite),bt.extend("--ft-button-secondary-color","",vt.contentActionPrimary),bt.extend("--ft-button-secondary-icon-color","",vt.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-color","",vt.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-opacity-hover","",xt.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-focus","",xt.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-active","",xt.opacity16),bt.extend("--ft-button-secondary-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-button-secondary-border-color","",vt.borderActionPrimary),bt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-neutral-icon-color","",vt.contentGlobalSecondary),bt.extend("--ft-button-neutral-color","",vt.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-color","",vt.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-opacity-hover","",xt.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-focus","",xt.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-active","",xt.opacity16),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","",vt.backgroundGlobalSurface),bt.extend("--ft-switch-group-border-color","",vt.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","",vt.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","",vt.contentGlobalSubtle),bt.extend("--ft-switch-off-state-layer-color","",vt.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","",vt.backgroundGlobalOnSurface),bt.extend("--ft-chip-neutral-color","",vt.contentGlobalPrimary),bt.extend("--ft-chip-neutral-border-color","",vt.borderGlobalSubtle),bt.extend("--ft-chip-info-background-color","",vt.backgroundInfoSubtle),bt.extend("--ft-chip-info-color","",vt.contentInfoPrimary),bt.extend("--ft-chip-info-border-color","",vt.borderInfoPrimary),bt.extend("--ft-chip-success-background-color","",vt.backgroundSuccessSubtle),bt.extend("--ft-chip-success-color","",vt.contentSuccessPrimary),bt.extend("--ft-chip-success-border-color","",vt.borderSuccessPrimary),bt.extend("--ft-chip-warning-background-color","",vt.backgroundWarningSubtle),bt.extend("--ft-chip-warning-color","",vt.contentWarningPrimary),bt.extend("--ft-chip-warning-border-color","",vt.borderWarningPrimary),bt.extend("--ft-chip-error-background-color","",vt.backgroundErrorSubtle),bt.extend("--ft-chip-error-color","",vt.contentErrorPrimary),bt.extend("--ft-chip-error-border-color","",vt.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","",vt.backgroundInfoSubtle),bt.extend("--ft-notice-info-border-color","",vt.borderInfoPrimary),bt.extend("--ft-notice-info-color","",vt.contentInfoPrimary),bt.extend("--ft-notice-warning-background-color","",vt.backgroundWarningSubtle),bt.extend("--ft-notice-warning-border-color","",vt.borderWarningPrimary),bt.extend("--ft-notice-warning-color","",vt.contentWarningPrimary),bt.extend("--ft-checkbox-label-color","",vt.contentGlobalPrimary),bt.extend("--ft-checkbox-checked-background-color","",vt.contentActionPrimary),bt.extend("--ft-checkbox-checked-state-layer-color","",vt.contentActionPrimary),bt.extend("--ft-checkbox-checked-color","",vt.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","",vt.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","",vt.contentGlobalSubtle),bt.extend("--ft-toggle-off-icon-color","",vt.contentGlobalSubtle),bt.extend("--ft-toggle-off-state-layer-color","",vt.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","",vt.contentActionPrimary),bt.extend("--ft-toggle-on-icon-color","",vt.contentActionPrimary),bt.extend("--ft-toggle-on-state-layer-color","",vt.contentActionPrimary),bt.extend("--ft-toggle-label-color","",vt.contentGlobalPrimary),bt.extend("--ft-toggle-focus-focus-ring-color","",vt.borderActionFocusRing),bt.extend("--ft-toggle-gap","",xt.spacing3),bt.extend("--ft-radio-label-color","",vt.contentGlobalPrimary),bt.extend("--ft-radio-selected-color","",vt.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-color","",vt.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","",vt.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","",vt.backgroundInfoSubtle),bt.extend("--ft-notification-info-color","",vt.contentInfoPrimary),bt.extend("--ft-notification-info-border-color","",vt.borderInfoPrimary),bt.extend("--ft-notification-success-background-color","",vt.backgroundSuccessSubtle),bt.extend("--ft-notification-success-color","",vt.contentSuccessPrimary),bt.extend("--ft-notification-success-border-color","",vt.borderSuccessPrimary),bt.extend("--ft-notification-warning-background-color","",vt.backgroundWarningSubtle),bt.extend("--ft-notification-warning-color","",vt.contentWarningPrimary),bt.extend("--ft-notification-warning-border-color","",vt.borderWarningPrimary),bt.extend("--ft-notification-error-background-color","",vt.backgroundErrorSubtle),bt.extend("--ft-notification-error-color","",vt.contentErrorPrimary),bt.extend("--ft-notification-error-border-color","",vt.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 Nt={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 St extends yt{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 g(e,t.elementStyles),e}}var wt,Ct=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const Rt=Symbol("constructorPrototype"),Et=Symbol("constructorName"),$t=Symbol("exportpartsDebouncer");class Ut extends St{constructor(){super(),this[wt]=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[$t].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,a,n;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}var It,kt;wt=$t,Ct([r()],Ut.prototype,"exportpartsPrefix",void 0),Ct([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return r({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!l(t,o),...null!=o?o:{}})}([])],Ut.prototype,"exportpartsPrefixes",void 0),Ct([r()],Ut.prototype,"customStylesheet",void 0),u`
67
67
  .ft-no-text-select {
68
68
  -webkit-touch-callout: none;
69
69
  -webkit-user-select: none;
@@ -72,7 +72,7 @@ var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
72
72
  -ms-user-select: none;
73
73
  user-select: none;
74
74
  }
75
- `,x`
75
+ `,u`
76
76
  .ft-word-wrap {
77
77
  white-space: normal;
78
78
  word-wrap: break-word;
@@ -84,7 +84,7 @@ var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
84
84
  -webkit-hyphens: auto;
85
85
  hyphens: auto
86
86
  }
87
- `,x`
87
+ `,u`
88
88
  .ft-safari-ellipsis-fix {
89
89
  margin-right: 0;
90
90
 
@@ -95,143 +95,152 @@ var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
95
95
  display: inline-block;
96
96
  width: 0;
97
97
  }
98
- `,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Nt=null===(Et=window.safari)||void 0===Et?void 0:Et.pushNotification)||void 0===Nt||Nt.toString());
98
+ `,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(kt=null===(It=window.safari)||void 0===It?void 0:It.pushNotification)||void 0===kt||kt.toString());
99
99
  /**
100
100
  * @license
101
101
  * Copyright 2017 Google LLC
102
102
  * SPDX-License-Identifier: BSD-3-Clause
103
103
  */
104
- const Ct=1,Mt=2,Rt=t=>(...e)=>({_$litDirective$:t,values:e});class Ut{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
104
+ const Wt=1,Lt=2,Kt=t=>(...o)=>({_$litDirective$:t,values:o});class Zt{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)}}
105
105
  /**
106
106
  * @license
107
107
  * Copyright 2018 Google LLC
108
108
  * SPDX-License-Identifier: BSD-3-Clause
109
- */const zt=Rt(class extends Ut{constructor(t){var e;if(super(t),t.type!==Ct||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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((e=>t[e])).join(" ")+" "}update(t,[e]){var i,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 e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const s=t.element.classList;this.it.forEach((t=>{t in e||(s.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.it.add(t)):(s.remove(t),this.it.delete(t)))}return q}}),{I:jt}=ct,Ft=()=>document.createComment(""),At=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(Ft(),n),o=s.insertBefore(Ft(),n);i=new jt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},Dt=(t,e,i=t)=>(t._$AI(e,i),t),Bt={},Pt=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Lt=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},_t=Rt(class extends Ut{constructor(t){if(super(t),t.type!==Mt)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(n))return this.ht=l,r;const a=null!==(s=this.ht)&&void 0!==s?s:this.ht=[],p=[];let c,h,f=0,d=n.length-1,u=0,x=r.length-1;for(;f<=d&&u<=x;)if(null===n[f])f++;else if(null===n[d])d--;else if(a[f]===l[u])p[u]=Dt(n[f],r[u]),f++,u++;else if(a[d]===l[x])p[x]=Dt(n[d],r[x]),d--,x--;else if(a[f]===l[x])p[x]=Dt(n[f],r[x]),At(t,p[x+1],n[f]),f++,x--;else if(a[d]===l[u])p[u]=Dt(n[d],r[u]),At(t,n[f],n[d]),d--,u++;else if(void 0===c&&(c=Lt(l,u,x),h=Lt(a,f,d)),c.has(a[f]))if(c.has(a[d])){const e=h.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=At(t,n[f]);Dt(e,r[u]),p[u]=e}else p[u]=Dt(i,r[u]),At(t,n[f],i),n[e]=null;u++}else Pt(n[d]),d--;else Pt(n[f]),f++;for(;u<=x;){const e=At(t,p[x+1]);Dt(e,r[u]),p[u++]=e}for(;f<=d;){const t=n[f++];null!==t&&Pt(t)}return this.ht=l,((t,e=Bt)=>{t._$AH=e})(t,p),q}}),It=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===It)return null==t?void 0:t._$litStatic$},Wt=t=>({_$litStatic$:t,r:It}),Ht=new Map,Kt=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,p=0,c=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(n=i[p],s=Tt(n));)a+=s+e[++p],c=!0;p!==o&&l.push(n),r.push(a),p++}if(p===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=Ht.get(t))&&(r.raw=r,Ht.set(t,e=r)),i=l}return t(e,...i)})(J);
109
+ */const zt=Kt(class extends Zt{constructor(t){var o;if(super(t),t.type!==Wt||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var e,r;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(e=this.nt)||void 0===e?void 0:e.has(t))&&this.it.add(t);return this.render(o)}const i=t.element.classList;this.it.forEach((t=>{t in o||(i.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(r=this.nt)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.it.add(t)):(i.remove(t),this.it.delete(t)))}return V}}),{I:Ft}=pt,Dt=()=>document.createComment(""),Bt=(t,o,e)=>{var r;const i=t._$AA.parentNode,a=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(Dt(),a),r=i.insertBefore(Dt(),a);e=new Ft(o,r,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,l=n!==t;if(l){let o;null===(r=e._$AQ)||void 0===r||r.call(e,t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==a||l){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,a),t=o}}}return e},Mt=(t,o,e=t)=>(t._$AI(o,e),t),At={},Ht=t=>{var o;null===(o=t._$AP)||void 0===o||o.call(t,!1,!0);let e=t._$AA;const r=t._$AB.nextSibling;for(;e!==r;){const t=e.nextSibling;e.remove(),e=t}},jt=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Pt=Kt(class extends Zt{constructor(t){if(super(t),t.type!==Lt)throw Error("repeat() can only be used in text expressions")}dt(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],a=[];let n=0;for(const o of t)i[n]=r?r(o,n):n,a[n]=e(o,n),n++;return{values:a,keys:i}}render(t,o,e){return this.dt(t,o,e).values}update(t,[o,e,r]){var i;const a=(t=>t._$AH)(t),{values:n,keys:l}=this.dt(o,e,r);if(!Array.isArray(a))return this.ht=l,n;const s=null!==(i=this.ht)&&void 0!==i?i:this.ht=[],c=[];let p,f,d=0,h=a.length-1,y=0,u=n.length-1;for(;d<=h&&y<=u;)if(null===a[d])d++;else if(null===a[h])h--;else if(s[d]===l[y])c[y]=Mt(a[d],n[y]),d++,y++;else if(s[h]===l[u])c[u]=Mt(a[h],n[u]),h--,u--;else if(s[d]===l[u])c[u]=Mt(a[d],n[u]),Bt(t,c[u+1],a[d]),d++,u--;else if(s[h]===l[y])c[y]=Mt(a[h],n[y]),Bt(t,a[d],a[h]),h--,y++;else if(void 0===p&&(p=jt(l,y,u),f=jt(s,d,h)),p.has(s[d]))if(p.has(s[h])){const o=f.get(l[y]),e=void 0!==o?a[o]:null;if(null===e){const o=Bt(t,a[d]);Mt(o,n[y]),c[y]=o}else c[y]=Mt(e,n[y]),Bt(t,a[d],e),a[o]=null;y++}else Ht(a[h]),h--;else Ht(a[d]),d++;for(;y<=u;){const o=Bt(t,c[u+1]);Mt(o,n[y]),c[y++]=o}for(;d<=h;){const t=a[d++];null!==t&&Ht(t)}return this.ht=l,((t,o=At)=>{t._$AH=o})(t,c),V}}),Gt=Symbol.for(""),_t=t=>{if((null==t?void 0:t.r)===Gt)return null==t?void 0:t._$litStatic$},Tt=t=>({_$litStatic$:t,r:Gt}),Yt=new Map,Vt=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(a=e[c],i=_t(a));)s+=i+o[++c],p=!0;c!==r&&l.push(a),n.push(s),c++}if(c===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Yt.get(t))&&(n.raw=n,Yt.set(t,o=n)),e=l}return t(o,...e)})(Y);
110
110
  /**
111
111
  * @license
112
112
  * Copyright 2020 Google LLC
113
113
  * SPDX-License-Identifier: BSD-3-Clause
114
- */var Zt;!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"}(Zt||(Zt={}));const Vt=yt.extend("--ft-typography-font-family",bt.titleFont),Jt=yt.extend("--ft-typography-font-family",bt.contentFont),qt={fontFamily:Jt,fontSize:yt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:yt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:yt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:yt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:yt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Xt=yt.extend("--ft-typography-title-font-family",Vt),Yt=yt.extend("--ft-typography-title-font-size",qt.fontSize,"20px"),Gt=yt.extend("--ft-typography-title-font-weight",qt.fontWeight,"normal"),Qt=yt.extend("--ft-typography-title-letter-spacing",qt.letterSpacing,"0.15px"),te=yt.extend("--ft-typography-title-line-height",qt.lineHeight,"1.2"),ee=yt.extend("--ft-typography-title-text-transform",qt.textTransform,"inherit"),ie=yt.extend("--ft-typography-title-dense-font-family",Vt),oe=yt.extend("--ft-typography-title-dense-font-size",qt.fontSize,"14px"),se=yt.extend("--ft-typography-title-dense-font-weight",qt.fontWeight,"normal"),ne=yt.extend("--ft-typography-title-dense-letter-spacing",qt.letterSpacing,"0.105px"),re=yt.extend("--ft-typography-title-dense-line-height",qt.lineHeight,"1.7"),le=yt.extend("--ft-typography-title-dense-text-transform",qt.textTransform,"inherit"),ae=yt.extend("--ft-typography-subtitle1-font-family",Jt),pe=yt.extend("--ft-typography-subtitle1-font-size",qt.fontSize,"16px"),ce=yt.extend("--ft-typography-subtitle1-font-weight",qt.fontWeight,"600"),he=yt.extend("--ft-typography-subtitle1-letter-spacing",qt.letterSpacing,"0.144px"),fe=yt.extend("--ft-typography-subtitle1-line-height",qt.lineHeight,"1.5"),de=yt.extend("--ft-typography-subtitle1-text-transform",qt.textTransform,"inherit"),ue=yt.extend("--ft-typography-subtitle2-font-family",Jt),xe=yt.extend("--ft-typography-subtitle2-font-size",qt.fontSize,"14px"),ye=yt.extend("--ft-typography-subtitle2-font-weight",qt.fontWeight,"normal"),ve=yt.extend("--ft-typography-subtitle2-letter-spacing",qt.letterSpacing,"0.098px"),be=yt.extend("--ft-typography-subtitle2-line-height",qt.lineHeight,"1.7"),ge=yt.extend("--ft-typography-subtitle2-text-transform",qt.textTransform,"inherit"),me={fontFamily:yt.extend("--ft-typography-body1-font-family",Jt),fontSize:yt.extend("--ft-typography-body1-font-size",qt.fontSize,"16px"),fontWeight:yt.extend("--ft-typography-body1-font-weight",qt.fontWeight,"normal"),letterSpacing:yt.extend("--ft-typography-body1-letter-spacing",qt.letterSpacing,"0.496px"),lineHeight:yt.extend("--ft-typography-body1-line-height",qt.lineHeight,"1.5"),textTransform:yt.extend("--ft-typography-body1-text-transform",qt.textTransform,"inherit")},we=yt.extend("--ft-typography-body2-font-family",Jt),$e=yt.extend("--ft-typography-body2-font-size",qt.fontSize,"14px"),Oe=yt.extend("--ft-typography-body2-font-weight",qt.fontWeight,"normal"),Se=yt.extend("--ft-typography-body2-letter-spacing",qt.letterSpacing,"0.252px"),ke=yt.extend("--ft-typography-body2-line-height",qt.lineHeight,"1.4"),Ee=yt.extend("--ft-typography-body2-text-transform",qt.textTransform,"inherit"),Ne={fontFamily:yt.extend("--ft-typography-caption-font-family",Jt),fontSize:yt.extend("--ft-typography-caption-font-size",qt.fontSize,"12px"),fontWeight:yt.extend("--ft-typography-caption-font-weight",qt.fontWeight,"normal"),letterSpacing:yt.extend("--ft-typography-caption-letter-spacing",qt.letterSpacing,"0.396px"),lineHeight:yt.extend("--ft-typography-caption-line-height",qt.lineHeight,"1.33"),textTransform:yt.extend("--ft-typography-caption-text-transform",qt.textTransform,"inherit")},Ce=yt.extend("--ft-typography-breadcrumb-font-family",Jt),Me=yt.extend("--ft-typography-breadcrumb-font-size",qt.fontSize,"10px"),Re=yt.extend("--ft-typography-breadcrumb-font-weight",qt.fontWeight,"normal"),Ue=yt.extend("--ft-typography-breadcrumb-letter-spacing",qt.letterSpacing,"0.33px"),ze=yt.extend("--ft-typography-breadcrumb-line-height",qt.lineHeight,"1.6"),je=yt.extend("--ft-typography-breadcrumb-text-transform",qt.textTransform,"inherit"),Fe=yt.extend("--ft-typography-overline-font-family",Jt),Ae=yt.extend("--ft-typography-overline-font-size",qt.fontSize,"10px"),De=yt.extend("--ft-typography-overline-font-weight",qt.fontWeight,"normal"),Be=yt.extend("--ft-typography-overline-letter-spacing",qt.letterSpacing,"1.5px"),Pe=yt.extend("--ft-typography-overline-line-height",qt.lineHeight,"1.6"),Le=yt.extend("--ft-typography-overline-text-transform",qt.textTransform,"uppercase"),_e=yt.extend("--ft-typography-button-font-family",Jt),Ie=yt.extend("--ft-typography-button-font-size",qt.fontSize,"14px"),Te=yt.extend("--ft-typography-button-font-weight",qt.fontWeight,"600"),We=yt.extend("--ft-typography-button-letter-spacing",qt.letterSpacing,"1.246px"),He=yt.extend("--ft-typography-button-line-height",qt.lineHeight,"1.15"),Ke=yt.extend("--ft-typography-button-text-transform",qt.textTransform,"uppercase"),Ze=x`
114
+ */var Jt;!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"}(Jt||(Jt={}));const qt=bt.extend("--ft-typography-font-family","",Nt.titleFont),Xt=bt.extend("--ft-typography-font-family","",Nt.contentFont),Qt={fontFamily:Xt,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")},to=bt.extend("--ft-typography-title-font-family","",qt),oo=bt.extend("--ft-typography-title-font-size","",Qt.fontSize,"20px"),eo=bt.extend("--ft-typography-title-font-weight","",Qt.fontWeight,"normal"),ro=bt.extend("--ft-typography-title-letter-spacing","",Qt.letterSpacing,"0.15px"),io=bt.extend("--ft-typography-title-line-height","",Qt.lineHeight,"1.2"),ao=bt.extend("--ft-typography-title-text-transform","",Qt.textTransform,"inherit"),no=bt.extend("--ft-typography-title-dense-font-family","",qt),lo=bt.extend("--ft-typography-title-dense-font-size","",Qt.fontSize,"14px"),so=bt.extend("--ft-typography-title-dense-font-weight","",Qt.fontWeight,"normal"),co=bt.extend("--ft-typography-title-dense-letter-spacing","",Qt.letterSpacing,"0.105px"),po=bt.extend("--ft-typography-title-dense-line-height","",Qt.lineHeight,"1.7"),fo=bt.extend("--ft-typography-title-dense-text-transform","",Qt.textTransform,"inherit"),ho=bt.extend("--ft-typography-subtitle1-font-family","",Xt),yo=bt.extend("--ft-typography-subtitle1-font-size","",Qt.fontSize,"16px"),uo=bt.extend("--ft-typography-subtitle1-font-weight","",Qt.fontWeight,"600"),go=bt.extend("--ft-typography-subtitle1-letter-spacing","",Qt.letterSpacing,"0.144px"),bo=bt.extend("--ft-typography-subtitle1-line-height","",Qt.lineHeight,"1.5"),mo=bt.extend("--ft-typography-subtitle1-text-transform","",Qt.textTransform,"inherit"),xo=bt.extend("--ft-typography-subtitle2-font-family","",Xt),Oo=bt.extend("--ft-typography-subtitle2-font-size","",Qt.fontSize,"14px"),vo=bt.extend("--ft-typography-subtitle2-font-weight","",Qt.fontWeight,"normal"),No=bt.extend("--ft-typography-subtitle2-letter-spacing","",Qt.letterSpacing,"0.098px"),So=bt.extend("--ft-typography-subtitle2-line-height","",Qt.lineHeight,"1.7"),wo=bt.extend("--ft-typography-subtitle2-text-transform","",Qt.textTransform,"inherit"),Co={fontFamily:bt.extend("--ft-typography-body1-font-family","",Xt),fontSize:bt.extend("--ft-typography-body1-font-size","",Qt.fontSize,"16px"),fontWeight:bt.extend("--ft-typography-body1-font-weight","",Qt.fontWeight,"normal"),letterSpacing:bt.extend("--ft-typography-body1-letter-spacing","",Qt.letterSpacing,"0.496px"),lineHeight:bt.extend("--ft-typography-body1-line-height","",Qt.lineHeight,"1.5"),textTransform:bt.extend("--ft-typography-body1-text-transform","",Qt.textTransform,"inherit")},Ro=bt.extend("--ft-typography-body2-font-family","",Xt),Eo=bt.extend("--ft-typography-body2-font-size","",Qt.fontSize,"14px"),$o=bt.extend("--ft-typography-body2-font-weight","",Qt.fontWeight,"normal"),Uo=bt.extend("--ft-typography-body2-letter-spacing","",Qt.letterSpacing,"0.252px"),Io=bt.extend("--ft-typography-body2-line-height","",Qt.lineHeight,"1.4"),ko=bt.extend("--ft-typography-body2-text-transform","",Qt.textTransform,"inherit"),Wo={fontFamily:bt.extend("--ft-typography-caption-font-family","",Xt),fontSize:bt.extend("--ft-typography-caption-font-size","",Qt.fontSize,"12px"),fontWeight:bt.extend("--ft-typography-caption-font-weight","",Qt.fontWeight,"normal"),letterSpacing:bt.extend("--ft-typography-caption-letter-spacing","",Qt.letterSpacing,"0.396px"),lineHeight:bt.extend("--ft-typography-caption-line-height","",Qt.lineHeight,"1.33"),textTransform:bt.extend("--ft-typography-caption-text-transform","",Qt.textTransform,"inherit")},Lo=bt.extend("--ft-typography-breadcrumb-font-family","",Xt),Ko=bt.extend("--ft-typography-breadcrumb-font-size","",Qt.fontSize,"10px"),Zo=bt.extend("--ft-typography-breadcrumb-font-weight","",Qt.fontWeight,"normal"),zo=bt.extend("--ft-typography-breadcrumb-letter-spacing","",Qt.letterSpacing,"0.33px"),Fo=bt.extend("--ft-typography-breadcrumb-line-height","",Qt.lineHeight,"1.6"),Do=bt.extend("--ft-typography-breadcrumb-text-transform","",Qt.textTransform,"inherit"),Bo=bt.extend("--ft-typography-overline-font-family","",Xt),Mo=bt.extend("--ft-typography-overline-font-size","",Qt.fontSize,"10px"),Ao=bt.extend("--ft-typography-overline-font-weight","",Qt.fontWeight,"normal"),Ho=bt.extend("--ft-typography-overline-letter-spacing","",Qt.letterSpacing,"1.5px"),jo=bt.extend("--ft-typography-overline-line-height","",Qt.lineHeight,"1.6"),Po=bt.extend("--ft-typography-overline-text-transform","",Qt.textTransform,"uppercase"),Go=bt.extend("--ft-typography-button-font-family","",Xt),_o=bt.extend("--ft-typography-button-font-size","",Qt.fontSize,"14px"),To=bt.extend("--ft-typography-button-font-weight","",Qt.fontWeight,"600"),Yo=bt.extend("--ft-typography-button-letter-spacing","",Qt.letterSpacing,"1.246px"),Vo=bt.extend("--ft-typography-button-line-height","",Qt.lineHeight,"1.15"),Jo=bt.extend("--ft-typography-button-text-transform","",Qt.textTransform,"uppercase"),qo=u`
115
115
  .ft-typography--title {
116
- font-family: ${Xt};
117
- font-size: ${Yt};
118
- font-weight: ${Gt};
119
- letter-spacing: ${Qt};
120
- line-height: ${te};
121
- text-transform: ${ee};
122
- }
123
- `,Ve=x`
116
+ font-family: ${to};
117
+ font-size: ${oo};
118
+ font-weight: ${eo};
119
+ letter-spacing: ${ro};
120
+ line-height: ${io};
121
+ text-transform: ${ao};
122
+ }
123
+ `,Xo=u`
124
124
  .ft-typography--title-dense {
125
- font-family: ${ie};
126
- font-size: ${oe};
127
- font-weight: ${se};
128
- letter-spacing: ${ne};
129
- line-height: ${re};
130
- text-transform: ${le};
131
- }
132
- `,Je=x`
125
+ font-family: ${no};
126
+ font-size: ${lo};
127
+ font-weight: ${so};
128
+ letter-spacing: ${co};
129
+ line-height: ${po};
130
+ text-transform: ${fo};
131
+ }
132
+ `,Qo=u`
133
133
  .ft-typography--subtitle1 {
134
- font-family: ${ae};
135
- font-size: ${pe};
136
- font-weight: ${ce};
137
- letter-spacing: ${he};
138
- line-height: ${fe};
139
- text-transform: ${de};
140
- }
141
- `,qe=x`
134
+ font-family: ${ho};
135
+ font-size: ${yo};
136
+ font-weight: ${uo};
137
+ letter-spacing: ${go};
138
+ line-height: ${bo};
139
+ text-transform: ${mo};
140
+ }
141
+ `,te=u`
142
142
  .ft-typography--subtitle2 {
143
- font-family: ${ue};
144
- font-size: ${xe};
145
- font-weight: ${ye};
146
- letter-spacing: ${ve};
147
- line-height: ${be};
148
- text-transform: ${ge};
143
+ font-family: ${xo};
144
+ font-size: ${Oo};
145
+ font-weight: ${vo};
146
+ letter-spacing: ${No};
147
+ line-height: ${So};
148
+ text-transform: ${wo};
149
149
  }
150
150
 
151
- `,Xe=x`
151
+ `,oe=u`
152
152
  .ft-typography--body1 {
153
- font-family: ${me.fontFamily};
154
- font-size: ${me.fontSize};
155
- font-weight: ${me.fontWeight};
156
- letter-spacing: ${me.letterSpacing};
157
- line-height: ${me.lineHeight};
158
- text-transform: ${me.textTransform};
159
- }
160
- `,Ye=x`
153
+ font-family: ${Co.fontFamily};
154
+ font-size: ${Co.fontSize};
155
+ font-weight: ${Co.fontWeight};
156
+ letter-spacing: ${Co.letterSpacing};
157
+ line-height: ${Co.lineHeight};
158
+ text-transform: ${Co.textTransform};
159
+ }
160
+ `,ee=u`
161
161
  .ft-typography--body2 {
162
- font-family: ${we};
163
- font-size: ${$e};
164
- font-weight: ${Oe};
165
- letter-spacing: ${Se};
166
- line-height: ${ke};
167
- text-transform: ${Ee};
168
- }
169
- `,Ge=x`
162
+ font-family: ${Ro};
163
+ font-size: ${Eo};
164
+ font-weight: ${$o};
165
+ letter-spacing: ${Uo};
166
+ line-height: ${Io};
167
+ text-transform: ${ko};
168
+ }
169
+ `,re=u`
170
170
  .ft-typography--caption {
171
- font-family: ${Ne.fontFamily};
172
- font-size: ${Ne.fontSize};
173
- font-weight: ${Ne.fontWeight};
174
- letter-spacing: ${Ne.letterSpacing};
175
- line-height: ${Ne.lineHeight};
176
- text-transform: ${Ne.textTransform};
177
- }
178
- `,Qe=x`
171
+ font-family: ${Wo.fontFamily};
172
+ font-size: ${Wo.fontSize};
173
+ font-weight: ${Wo.fontWeight};
174
+ letter-spacing: ${Wo.letterSpacing};
175
+ line-height: ${Wo.lineHeight};
176
+ text-transform: ${Wo.textTransform};
177
+ }
178
+ `,ie=u`
179
179
  .ft-typography--breadcrumb {
180
- font-family: ${Ce};
181
- font-size: ${Me};
182
- font-weight: ${Re};
183
- letter-spacing: ${Ue};
184
- line-height: ${ze};
185
- text-transform: ${je};
186
- }
187
- `,ti=x`
180
+ font-family: ${Lo};
181
+ font-size: ${Ko};
182
+ font-weight: ${Zo};
183
+ letter-spacing: ${zo};
184
+ line-height: ${Fo};
185
+ text-transform: ${Do};
186
+ }
187
+ `,ae=u`
188
188
  .ft-typography--overline {
189
- font-family: ${Fe};
190
- font-size: ${Ae};
191
- font-weight: ${De};
192
- letter-spacing: ${Be};
193
- line-height: ${Pe};
194
- text-transform: ${Le};
195
- }
196
- `,ei=x`
189
+ font-family: ${Bo};
190
+ font-size: ${Mo};
191
+ font-weight: ${Ao};
192
+ letter-spacing: ${Ho};
193
+ line-height: ${jo};
194
+ text-transform: ${Po};
195
+ }
196
+ `,ne=u`
197
197
  .ft-typography--button {
198
- font-family: ${_e};
199
- font-size: ${Ie};
200
- font-weight: ${Te};
201
- letter-spacing: ${We};
202
- line-height: ${He};
203
- text-transform: ${Ke};
204
- }
205
- `,ii=x`
198
+ font-family: ${Go};
199
+ font-size: ${_o};
200
+ font-weight: ${To};
201
+ letter-spacing: ${Yo};
202
+ line-height: ${Vo};
203
+ text-transform: ${Jo};
204
+ }
205
+ `,le=u`
206
206
  .ft-typography {
207
207
  vertical-align: inherit;
208
208
  }
209
- `;var oi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class si extends kt{constructor(){super(...arguments),this.variant=Zt.body1}render(){return this.element?Kt`
210
- <${Wt(this.element)}
211
- class="ft-typography ft-typography--${this.variant}">
209
+ `,se=[Object.keys(Ot).map((t=>function(t){const o=Ot[t];return u`
210
+ .ft-typography--${y(t)} {
211
+ font-family: ${o.fontFamily};
212
+ font-size: ${o.fontSize};
213
+ font-weight: ${o.fontWeight};
214
+ letter-spacing: ${o.letterSpacing};
215
+ line-height: ${o.lineHeight};
216
+ text-transform: ${o.textCase};
217
+ }
218
+ `}(t)))];var ce=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class pe extends Ut{constructor(){super(...arguments),this.variant=Jt.body1}render(){return this.element?Vt`
219
+ <${Tt(this.element)}
220
+ class="ft-typography ft-typography--${this.variant}">
212
221
  <slot></slot>
213
- </${Wt(this.element)}>
214
- `:Kt`
222
+ </${Tt(this.element)}>
223
+ `:Vt`
215
224
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
216
- `}}si.styles=[Ze,Ve,Je,qe,Xe,Ye,Ge,Qe,ti,ei,ii],oi([o()],si.prototype,"element",void 0),oi([o()],si.prototype,"variant",void 0),a("ft-typography")(si);const ni={fontSize:yt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:yt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:yt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:yt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:yt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:yt.create("--ft-input-label-max-width","SIZE","100%"),borderColor:yt.extend("--ft-input-label-border-color",bt.colorOutline),textColor:yt.extend("--ft-input-label-text-color",bt.colorOnSurfaceMedium),disabledTextColor:yt.extend("--ft-input-label-disabled-text-color",bt.colorOnSurfaceDisabled),colorSurface:yt.external(bt.colorSurface,"Design system"),borderRadiusS:yt.external(bt.borderRadiusS,"Design system"),colorError:yt.external(bt.colorError,"Design system")},ri=x`
225
+ `}}pe.styles=[qo,Xo,Qo,te,oe,ee,re,ie,ae,ne,le,...se],ce([r()],pe.prototype,"element",void 0),ce([r()],pe.prototype,"variant",void 0),s("ft-typography")(pe);const fe={fontSize:bt.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:bt.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:bt.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:bt.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:bt.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:bt.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:bt.extend("--ft-input-label-border-color","",Nt.colorOutline),textColor:bt.extend("--ft-input-label-text-color","",Nt.colorOnSurfaceMedium),disabledTextColor:bt.extend("--ft-input-label-disabled-text-color","",Nt.colorOnSurfaceDisabled),colorSurface:bt.external(Nt.colorSurface,"Design system"),borderRadiusS:bt.external(Nt.borderRadiusS,"Design system"),colorError:bt.external(Nt.colorError,"Design system")},de=u`
217
226
  .ft-input-label {
218
227
  position: absolute;
219
228
  inset: 0;
220
229
  display: flex;
221
- background-color: ${ni.colorSurface};
222
- border-radius: ${ni.borderRadiusS} ${ni.borderRadiusS} 0 0;
230
+ background-color: ${fe.colorSurface};
231
+ border-radius: ${fe.borderRadiusS} ${fe.borderRadiusS} 0 0;
223
232
  }
224
233
 
225
234
  .ft-input-label--outlined {
226
- border-radius: ${ni.borderRadiusS};
235
+ border-radius: ${fe.borderRadiusS};
227
236
  }
228
237
 
229
238
  .ft-input-label {
230
- border-color: ${ni.borderColor};
239
+ border-color: ${fe.borderColor};
231
240
  }
232
241
 
233
242
  .ft-input-label.ft-input-label--in-error {
234
- border-color: ${ni.colorError}
243
+ border-color: ${fe.colorError}
235
244
  }
236
245
 
237
246
  .ft-input-label:before,
@@ -244,7 +253,7 @@ const Ct=1,Mt=2,Rt=t=>(...e)=>({_$litDirective$:t,values:e});class Ut{constructo
244
253
  }
245
254
 
246
255
  .ft-input-label:before {
247
- width: calc(${ni.horizontalSpacing} - 4px);
256
+ width: calc(${fe.horizontalSpacing} - 4px);
248
257
  flex-shrink: 0;
249
258
  }
250
259
 
@@ -260,20 +269,20 @@ const Ct=1,Mt=2,Rt=t=>(...e)=>({_$litDirective$:t,values:e});class Ut{constructo
260
269
  border-bottom-width: 1px;
261
270
  border-bottom-style: solid;
262
271
  border-color: inherit;
263
- color: ${ni.textColor};
272
+ color: ${fe.textColor};
264
273
  transition: font-size 250ms, line-height 250ms, color 250ms;
265
- max-width: calc(${ni.labelMaxWidth} - 2 * (${ni.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
274
+ max-width: calc(${fe.labelMaxWidth} - 2 * (${fe.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
266
275
  text-overflow: ellipsis;
267
- ${vt(Ne.fontSize,ni.fontSize)};
268
- ${vt(Ne.lineHeight,ni.fontSize)};
276
+ ${mt(Wo.fontSize,fe.fontSize)};
277
+ ${mt(Wo.lineHeight,fe.fontSize)};
269
278
  }
270
279
 
271
280
  .ft-input-label--in-error .ft-input-label--text {
272
- color: ${ni.colorError}
281
+ color: ${fe.colorError}
273
282
  }
274
283
 
275
284
  .ft-input-label--disabled .ft-input-label--text {
276
- color: ${ni.disabledTextColor};
285
+ color: ${fe.disabledTextColor};
277
286
  }
278
287
 
279
288
  .ft-input-label--hidden-text {
@@ -290,19 +299,19 @@ const Ct=1,Mt=2,Rt=t=>(...e)=>({_$litDirective$:t,values:e});class Ut{constructo
290
299
  overflow: hidden;
291
300
  white-space: nowrap;
292
301
  text-overflow: ellipsis;
293
- padding: ${ni.verticalSpacing} 4px;
294
- margin: calc(${ni.verticalSpacing} * -1) 0;
302
+ padding: ${fe.verticalSpacing} 4px;
303
+ margin: calc(${fe.verticalSpacing} * -1) 0;
295
304
  max-width: 100%;
296
305
  box-sizing: border-box;
297
306
  }
298
307
 
299
308
  .ft-input-label--raised .ft-input-label--text {
300
- ${vt(Ne.fontSize,ni.raisedFontSize)};
301
- ${vt(Ne.lineHeight,ni.raisedFontSize)};
309
+ ${mt(Wo.fontSize,fe.raisedFontSize)};
310
+ ${mt(Wo.lineHeight,fe.raisedFontSize)};
302
311
  }
303
312
 
304
313
  .ft-input-label--raised .ft-input-label--floating-text {
305
- top: ${ni.verticalSpacing};
314
+ top: ${fe.verticalSpacing};
306
315
  }
307
316
 
308
317
  .ft-input-label--outlined .ft-input-label--text,
@@ -315,36 +324,36 @@ const Ct=1,Mt=2,Rt=t=>(...e)=>({_$litDirective$:t,values:e});class Ut{constructo
315
324
  .ft-input-label--outlined:before {
316
325
  border-left-width: 1px;
317
326
  border-left-style: solid;
318
- border-radius: ${ni.borderRadiusS} 0 0 ${ni.borderRadiusS};
327
+ border-radius: ${fe.borderRadiusS} 0 0 ${fe.borderRadiusS};
319
328
  }
320
329
 
321
330
  .ft-input-label--outlined:after {
322
331
  border-right-width: 1px;
323
332
  border-right-style: solid;
324
- border-radius: 0 ${ni.borderRadiusS} ${ni.borderRadiusS} 0;
333
+ border-radius: 0 ${fe.borderRadiusS} ${fe.borderRadiusS} 0;
325
334
  }
326
335
 
327
336
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
328
337
  padding: 2px 4px;
329
- z-index: ${ni.raisedZIndex};
330
- background-color: ${ni.colorSurface};
331
- border-radius: ${ni.borderRadiusS};
338
+ z-index: ${fe.raisedZIndex};
339
+ background-color: ${fe.colorSurface};
340
+ border-radius: ${fe.borderRadiusS};
332
341
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
333
342
  }
334
343
 
335
344
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
336
345
  border-top: none;
337
346
  }
338
- `;var li=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ai extends kt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return J`
347
+ `;var he=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ye extends Ut{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return Y`
339
348
  <div class="${zt(t)}">
340
- ${this.text?J`
349
+ ${this.text?Y`
341
350
  <div class="ft-input-label--text ft-typography--caption">
342
351
  <span class="ft-input-label--floating-text">${this.text}</span>
343
352
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
344
353
  </div>
345
354
  `:null}
346
355
  </div>
347
- `}}ai.elementDefinitions={},ai.styles=[Ge,ri],li([o({type:String})],ai.prototype,"text",void 0),li([o({type:Boolean})],ai.prototype,"raised",void 0),li([o({type:Boolean})],ai.prototype,"outlined",void 0),li([o({type:Boolean})],ai.prototype,"disabled",void 0),li([o({type:Boolean})],ai.prototype,"error",void 0),a("ft-input-label")(ai);const pi=yt.extend("--ft-ripple-color",bt.colorContent),ci={color:pi,backgroundColor:yt.extend("--ft-ripple-background-color",pi),opacityContentOnSurfacePressed:yt.external(bt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:yt.external(bt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:yt.external(bt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:yt.external(bt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:yt.create("--ft-ripple-border-radius","SIZE","0px")},hi=yt.extend("--ft-ripple-color",bt.colorPrimary),fi=hi,di=yt.extend("--ft-ripple-background-color",hi),ui=yt.extend("--ft-ripple-color",bt.colorSecondary),xi=ui,yi=yt.extend("--ft-ripple-background-color",ui),vi=x`
356
+ `}}ye.elementDefinitions={},ye.styles=[re,de],he([r({type:String})],ye.prototype,"text",void 0),he([r({type:Boolean})],ye.prototype,"raised",void 0),he([r({type:Boolean})],ye.prototype,"outlined",void 0),he([r({type:Boolean})],ye.prototype,"disabled",void 0),he([r({type:Boolean})],ye.prototype,"error",void 0),s("ft-input-label")(ye);const ue=bt.extend("--ft-ripple-color","",Nt.colorContent),ge={color:ue,backgroundColor:bt.extend("--ft-ripple-background-color","",ue),opacityContentOnSurfacePressed:bt.external(Nt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:bt.external(Nt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:bt.external(Nt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:bt.external(Nt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:bt.create("--ft-ripple-border-radius","","SIZE","0px")},be=bt.extend("--ft-ripple-color","",Nt.colorPrimary),me=be,xe=bt.extend("--ft-ripple-background-color","",be),Oe=bt.extend("--ft-ripple-color","",Nt.colorSecondary),ve=Oe,Ne=bt.extend("--ft-ripple-background-color","",Oe),Se=u`
348
357
  :host {
349
358
  display: contents;
350
359
  }
@@ -357,7 +366,7 @@ const Ct=1,Mt=2,Rt=t=>(...e)=>({_$litDirective$:t,values:e});class Ut{constructo
357
366
 
358
367
  .ft-ripple:not(.ft-ripple--unbounded) {
359
368
  overflow: hidden;
360
- border-radius: ${ci.borderRadius};
369
+ border-radius: ${ge.borderRadius};
361
370
  }
362
371
 
363
372
  .ft-ripple .ft-ripple--background,
@@ -391,27 +400,27 @@ const Ct=1,Mt=2,Rt=t=>(...e)=>({_$litDirective$:t,values:e});class Ut{constructo
391
400
  }
392
401
 
393
402
  .ft-ripple .ft-ripple--background {
394
- background-color: ${ci.backgroundColor};
403
+ background-color: ${ge.backgroundColor};
395
404
  }
396
405
 
397
406
  .ft-ripple .ft-ripple--effect {
398
- background-color: ${ci.color};
407
+ background-color: ${ge.color};
399
408
  }
400
409
 
401
410
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
402
- background-color: ${yi};
411
+ background-color: ${Ne};
403
412
  }
404
413
 
405
414
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
406
- background-color: ${xi};
415
+ background-color: ${ve};
407
416
  }
408
417
 
409
418
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
410
- background-color: ${di};
419
+ background-color: ${xe};
411
420
  }
412
421
 
413
422
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
414
- background-color: ${fi};
423
+ background-color: ${me};
415
424
  }
416
425
 
417
426
  .ft-ripple .ft-ripple--background {
@@ -441,22 +450,22 @@ const Ct=1,Mt=2,Rt=t=>(...e)=>({_$litDirective$:t,values:e});class Ut{constructo
441
450
  }
442
451
 
443
452
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
444
- opacity: ${ci.opacityContentOnSurfaceHover};
453
+ opacity: ${ge.opacityContentOnSurfaceHover};
445
454
  }
446
455
 
447
456
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
448
- opacity: ${ci.opacityContentOnSurfaceSelected};
457
+ opacity: ${ge.opacityContentOnSurfaceSelected};
449
458
  }
450
459
 
451
460
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
452
- opacity: ${ci.opacityContentOnSurfaceFocused};
461
+ opacity: ${ge.opacityContentOnSurfaceFocused};
453
462
  }
454
463
 
455
464
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
456
- opacity: ${ci.opacityContentOnSurfacePressed};
465
+ opacity: ${ge.opacityContentOnSurfacePressed};
457
466
  transform: translate(-50%, -50%) scale(1);
458
467
  }
459
- `;var bi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class gi extends kt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(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 e(10),this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return J`
468
+ `;var we=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ce 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:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.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 Y`
460
469
  <style>
461
470
  .ft-ripple .ft-ripple--effect {
462
471
  left: ${this.originX}px;
@@ -467,13 +476,13 @@ const Ct=1,Mt=2,Rt=t=>(...e)=>({_$litDirective$:t,values:e});class Ut{constructo
467
476
  <div class="ft-ripple--background"></div>
468
477
  <div class="ft-ripple--effect"></div>
469
478
  </div>
470
- `}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 e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.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,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),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",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),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 e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}gi.elementDefinitions={},gi.styles=vi,bi([o({type:Boolean})],gi.prototype,"primary",void 0),bi([o({type:Boolean})],gi.prototype,"secondary",void 0),bi([o({type:Boolean})],gi.prototype,"unbounded",void 0),bi([o({type:Boolean})],gi.prototype,"activated",void 0),bi([o({type:Boolean})],gi.prototype,"selected",void 0),bi([o({type:Boolean})],gi.prototype,"disabled",void 0),bi([s()],gi.prototype,"hovered",void 0),bi([s()],gi.prototype,"focused",void 0),bi([s()],gi.prototype,"pressed",void 0),bi([s()],gi.prototype,"rippling",void 0),bi([s()],gi.prototype,"originX",void 0),bi([s()],gi.prototype,"originY",void 0),bi([n(".ft-ripple")],gi.prototype,"ripple",void 0),bi([n(".ft-ripple--effect")],gi.prototype,"rippleEffect",void 0),a("ft-ripple")(gi);
479
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ce.elementDefinitions={},Ce.styles=Se,we([r({type:Boolean})],Ce.prototype,"primary",void 0),we([r({type:Boolean})],Ce.prototype,"secondary",void 0),we([r({type:Boolean})],Ce.prototype,"unbounded",void 0),we([r({type:Boolean})],Ce.prototype,"activated",void 0),we([r({type:Boolean})],Ce.prototype,"selected",void 0),we([r({type:Boolean})],Ce.prototype,"disabled",void 0),we([i()],Ce.prototype,"hovered",void 0),we([i()],Ce.prototype,"focused",void 0),we([i()],Ce.prototype,"pressed",void 0),we([i()],Ce.prototype,"rippling",void 0),we([i()],Ce.prototype,"originX",void 0),we([i()],Ce.prototype,"originY",void 0),we([a(".ft-ripple")],Ce.prototype,"ripple",void 0),we([a(".ft-ripple--effect")],Ce.prototype,"rippleEffect",void 0),s("ft-ripple")(Ce);
471
480
  /**
472
481
  * @license
473
482
  * Copyright 2017 Google LLC
474
483
  * SPDX-License-Identifier: BSD-3-Clause
475
484
  */
476
- class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.ft=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}mi.directiveName="unsafeHTML",mi.resultType=1;const wi=Rt(mi);var $i,Oi;!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;"}($i||($i={})),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;"}(Oi||(Oi={})),new Map([...["abw"].map((t=>[t,Oi.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,Oi.AUDIO])),...["avi"].map((t=>[t,Oi.AVI])),...["chm","xhs"].map((t=>[t,Oi.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,Oi.CODE])),...["csv"].map((t=>[t,Oi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Oi.DITA])),...["epub"].map((t=>[t,Oi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Oi.EXCEL])),...["flac"].map((t=>[t,Oi.FLAC])),...["gif"].map((t=>[t,Oi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Oi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Oi.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,Oi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Oi.JPEG])),...["json"].map((t=>[t,Oi.JSON])),...["m4a","m4p"].map((t=>[t,Oi.M4A])),...["mov","qt"].map((t=>[t,Oi.MOV])),...["mp3"].map((t=>[t,Oi.MP3])),...["mp4","m4v"].map((t=>[t,Oi.MP4])),...["ogg","oga"].map((t=>[t,Oi.OGG])),...["pdf","ps"].map((t=>[t,Oi.PDF])),...["png"].map((t=>[t,Oi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Oi.POWERPOINT])),...["rar"].map((t=>[t,Oi.RAR])),...["stp"].map((t=>[t,Oi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Oi.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,Oi.VIDEO])),...["wav"].map((t=>[t,Oi.WAV])),...["wma"].map((t=>[t,Oi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Oi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Oi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Oi.YAML])),...["zip"].map((t=>[t,Oi.ZIP]))]);const Si=yt.create("--ft-icon-font-size","SIZE","24px"),ki=yt.extend("--ft-icon-fluid-topics-font-family",yt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ei=yt.extend("--ft-icon-file-format-font-family",yt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Ni=yt.extend("--ft-icon-material-font-family",yt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Ci=yt.create("--ft-icon-vertical-align","UNKNOWN","unset"),Mi=x`
485
+ class Re extends Zt{constructor(t){if(super(t),this.et=J,t.type!==Lt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||null==t)return this.ft=void 0,this.et=t;if(t===V)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:[]}}}Re.directiveName="unsafeHTML",Re.resultType=1;const Ee=Kt(Re);var $e,Ue;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}($e||($e={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ue||(Ue={})),new Map([...["abw"].map((t=>[t,Ue.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,Ue.AUDIO])),...["avi"].map((t=>[t,Ue.AVI])),...["chm","xhs"].map((t=>[t,Ue.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,Ue.CODE])),...["csv"].map((t=>[t,Ue.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ue.DITA])),...["epub"].map((t=>[t,Ue.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ue.EXCEL])),...["flac"].map((t=>[t,Ue.FLAC])),...["gif"].map((t=>[t,Ue.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ue.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ue.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,Ue.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ue.JPEG])),...["json"].map((t=>[t,Ue.JSON])),...["m4a","m4p"].map((t=>[t,Ue.M4A])),...["mov","qt"].map((t=>[t,Ue.MOV])),...["mp3"].map((t=>[t,Ue.MP3])),...["mp4","m4v"].map((t=>[t,Ue.MP4])),...["ogg","oga"].map((t=>[t,Ue.OGG])),...["pdf","ps"].map((t=>[t,Ue.PDF])),...["png"].map((t=>[t,Ue.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ue.POWERPOINT])),...["rar"].map((t=>[t,Ue.RAR])),...["stp"].map((t=>[t,Ue.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ue.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,Ue.VIDEO])),...["wav"].map((t=>[t,Ue.WAV])),...["wma"].map((t=>[t,Ue.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ue.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ue.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ue.YAML])),...["zip"].map((t=>[t,Ue.ZIP]))]);const Ie=bt.create("--ft-icon-font-size","","SIZE","24px"),ke=bt.extend("--ft-icon-fluid-topics-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),We=bt.extend("--ft-icon-file-format-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Le=bt.extend("--ft-icon-material-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),Ke=bt.create("--ft-icon-vertical-align","","UNKNOWN","unset"),Ze=u`
477
486
  :host, i.ft-icon {
478
487
  display: inline-flex;
479
488
  align-items: center;
@@ -482,14 +491,14 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
482
491
  }
483
492
 
484
493
  :host {
485
- width: ${Si};
486
- height: ${Si};
494
+ width: ${Ie};
495
+ height: ${Ie};
487
496
  }
488
497
 
489
498
  i.ft-icon {
490
499
  width: 100%;
491
500
  height: 100%;
492
- font-size: ${Si};
501
+ font-size: ${Ie};
493
502
  line-height: 1;
494
503
  font-weight: normal;
495
504
  text-transform: none;
@@ -500,33 +509,33 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
500
509
  text-rendering: auto;
501
510
  -webkit-font-smoothing: antialiased;
502
511
  -moz-osx-font-smoothing: grayscale;
503
- vertical-align: ${Ci};
512
+ vertical-align: ${Ke};
504
513
  }
505
514
 
506
515
  i.ft-icon.ft-icon--fluid-topics {
507
- font-family: ${ki}, ft-icons, fticons, sans-serif;
516
+ font-family: ${ke}, ft-icons, fticons, sans-serif;
508
517
 
509
518
  /* Ugly fix because font is broken */
510
- font-size: calc(0.75 * ${Si});
511
- line-height: ${Si};
519
+ font-size: calc(0.75 * ${Ie});
520
+ line-height: ${Ie};
512
521
  position: relative;
513
522
  top: -4%;
514
523
  justify-content: center;
515
524
  }
516
525
 
517
526
  .ft-icon--file-format {
518
- font-family: ${Ei}, ft-mime, sans-serif;
527
+ font-family: ${We}, ft-mime, sans-serif;
519
528
  }
520
529
 
521
530
  .ft-icon--material {
522
- font-family: ${Ni}, "Material Icons", sans-serif;
531
+ font-family: ${Le}, "Material Icons", sans-serif;
523
532
  }
524
- `;var Ri;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ri||(Ri={}));var Ui=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class zi extends kt{constructor(){super(...arguments),this.resolvedIcon=X}render(){const t=this.variant&&Object.values(Ri).includes(this.variant)?this.variant:Ri.fluid_topics,e=t!==Ri.material||!!this.value;return J`
533
+ `;var ze;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ze||(ze={}));var Fe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class De extends Ut{constructor(){super(...arguments),this.resolvedIcon=J}render(){const t=this.variant&&Object.values(ze).includes(this.variant)?this.variant:ze.fluid_topics,o=t!==ze.material||!!this.value;return Y`
525
534
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
526
- ${wi(this.resolvedIcon)}
527
- <slot ?hidden=${e}></slot>
535
+ ${Ee(this.resolvedIcon)}
536
+ <slot ?hidden=${o}></slot>
528
537
  </i>
529
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Ri.file_format:this.resolvedIcon=null!==(t=Oi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ri.material:this.resolvedIcon=this.value||X;break;default:this.resolvedIcon=null!==(e=$i[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zi.elementDefinitions={},zi.styles=Mi,Ui([o()],zi.prototype,"variant",void 0),Ui([o()],zi.prototype,"value",void 0),Ui([s()],zi.prototype,"resolvedIcon",void 0),Ui([n("slot")],zi.prototype,"slottedContent",void 0),a("ft-icon")(zi);const ji={labelSize:yt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:yt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:yt.create("--ft-select-vertical-spacing","SIZE","4px"),horizontalSpacing:yt.create("--ft-select-horizontal-spacing","SIZE","16px"),optionsHeight:yt.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:yt.extend("--ft-select-selected-option-color",bt.colorOnSurface),helperColor:yt.extend("--ft-select-helper-color",bt.colorOnSurfaceMedium),optionsColor:yt.extend("--ft-select-options-color",bt.colorOnSurface),optionsZIndex:yt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:yt.external(bt.colorSurface,"Design system"),colorOnSurfaceDisabled:yt.external(bt.colorOnSurfaceDisabled,"Design system"),colorPrimary:yt.external(bt.colorPrimary,"Design system"),borderRadiusS:yt.external(bt.borderRadiusS,"Design system"),elevation02:yt.external(bt.elevation02,"Design system"),colorError:yt.external(bt.colorError,"Design system")},Fi=x`
538
+ `}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 ze.file_format:this.resolvedIcon=null!==(t=Ue[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ze.material:this.resolvedIcon=this.value||J;break;default:this.resolvedIcon=null!==(o=$e[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}De.elementDefinitions={},De.styles=Ze,Fe([r()],De.prototype,"variant",void 0),Fe([r()],De.prototype,"value",void 0),Fe([i()],De.prototype,"resolvedIcon",void 0),Fe([a("slot")],De.prototype,"slottedContent",void 0),s("ft-icon")(De);const Be={labelSize:bt.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:bt.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:bt.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:bt.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:bt.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:bt.extend("--ft-select-selected-option-color","",Nt.colorOnSurface),helperColor:bt.extend("--ft-select-helper-color","",Nt.colorOnSurfaceMedium),optionsColor:bt.extend("--ft-select-options-color","",Nt.colorOnSurface),optionsZIndex:bt.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:bt.external(Nt.colorSurface,"Design system"),colorOnSurfaceDisabled:bt.external(Nt.colorOnSurfaceDisabled,"Design system"),colorPrimary:bt.external(Nt.colorPrimary,"Design system"),borderRadiusS:bt.external(Nt.borderRadiusS,"Design system"),elevation02:bt.external(Nt.elevation02,"Design system"),colorError:bt.external(Nt.colorError,"Design system")},Me=u`
530
539
  *:focus {
531
540
  outline: none;
532
541
  }
@@ -540,7 +549,7 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
540
549
  .ft-select--main-panel {
541
550
  position: relative;
542
551
  display: flex;
543
- height: calc(4 * ${ji.verticalSpacing} + ${ji.labelSize} + ${ji.selectedOptionSize});
552
+ height: calc(4 * ${Be.verticalSpacing} + ${Be.labelSize} + ${Be.selectedOptionSize});
544
553
  }
545
554
 
546
555
  .ft-select--input-panel {
@@ -549,17 +558,17 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
549
558
  display: flex;
550
559
  align-items: center;
551
560
  overflow: hidden;
552
- padding-left: ${ji.horizontalSpacing};
553
- padding-right: ${ji.horizontalSpacing};
561
+ padding-left: ${Be.horizontalSpacing};
562
+ padding-right: ${Be.horizontalSpacing};
554
563
  gap: 8px;
555
- color: ${ji.selectedOptionColor};
556
- ${vt(ci.color,ji.selectedOptionColor)};
564
+ color: ${Be.selectedOptionColor};
565
+ ${mt(ge.color,Be.selectedOptionColor)};
557
566
  }
558
567
 
559
568
  .ft-select--input-panel,
560
569
  .ft-select--option {
561
- ${vt(ci.opacityContentOnSurfaceHover,"0.08")};
562
- ${vt(ci.opacityContentOnSurfacePressed,"0.04")};
570
+ ${mt(ge.opacityContentOnSurfaceHover,"0.08")};
571
+ ${mt(ge.opacityContentOnSurfacePressed,"0.04")};
563
572
  }
564
573
 
565
574
  .ft-select--input-panel > *:not(ft-ripple),
@@ -569,7 +578,7 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
569
578
 
570
579
  .ft-select--disabled .ft-select--input-panel,
571
580
  .ft-select--disabled .ft-select--option {
572
- color: ${ji.colorOnSurfaceDisabled};
581
+ color: ${Be.colorOnSurfaceDisabled};
573
582
  }
574
583
 
575
584
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -578,20 +587,20 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
578
587
  }
579
588
 
580
589
  ft-input-label {
581
- ${vt(ni.fontSize,ji.selectedOptionSize)};
582
- ${vt(ni.raisedFontSize,ji.labelSize)};
583
- ${vt(ni.verticalSpacing,ji.verticalSpacing)};
584
- ${vt(ni.horizontalSpacing,ji.horizontalSpacing)};
585
- ${vt(ni.labelMaxWidth,`calc(100% - ${Si} - 8px)`)};
590
+ ${mt(fe.fontSize,Be.selectedOptionSize)};
591
+ ${mt(fe.raisedFontSize,Be.labelSize)};
592
+ ${mt(fe.verticalSpacing,Be.verticalSpacing)};
593
+ ${mt(fe.horizontalSpacing,Be.horizontalSpacing)};
594
+ ${mt(fe.labelMaxWidth,`calc(100% - ${Ie} - 8px)`)};
586
595
  }
587
596
 
588
597
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
589
- color: ${ji.colorPrimary};
598
+ color: ${Be.colorPrimary};
590
599
  }
591
600
 
592
601
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
593
- ${vt(ni.borderColor,ji.colorPrimary)};
594
- ${vt(ni.textColor,ji.colorPrimary)};
602
+ ${mt(fe.borderColor,Be.colorPrimary)};
603
+ ${mt(fe.textColor,Be.colorPrimary)};
595
604
  }
596
605
 
597
606
  .ft-select--selected-option {
@@ -601,12 +610,12 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
601
610
  overflow: hidden;
602
611
  white-space: nowrap;
603
612
  text-overflow: ellipsis;
604
- ${vt(me.fontSize,ji.selectedOptionSize)};
605
- ${vt(me.lineHeight,ji.selectedOptionSize)};
613
+ ${mt(Co.fontSize,Be.selectedOptionSize)};
614
+ ${mt(Co.lineHeight,Be.selectedOptionSize)};
606
615
  }
607
616
 
608
617
  .ft-select--in-error .ft-select--selected-option {
609
- color: ${ji.colorError};
618
+ color: ${Be.colorError};
610
619
  }
611
620
 
612
621
  ft-icon {
@@ -618,16 +627,16 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
618
627
  }
619
628
 
620
629
  .ft-select--filled .ft-select--input-panel {
621
- border-radius: ${ji.borderRadiusS} ${ji.borderRadiusS} 0 0;
630
+ border-radius: ${Be.borderRadiusS} ${Be.borderRadiusS} 0 0;
622
631
  }
623
632
 
624
633
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
625
634
  align-self: stretch;
626
- padding-top: calc(${ji.labelSize} + 2 * ${ji.verticalSpacing});
635
+ padding-top: calc(${Be.labelSize} + 2 * ${Be.verticalSpacing});
627
636
  }
628
637
 
629
638
  .ft-select--outlined .ft-select--input-panel {
630
- border-radius: ${ji.borderRadiusS};
639
+ border-radius: ${Be.borderRadiusS};
631
640
  }
632
641
 
633
642
  .ft-select--options {
@@ -636,10 +645,10 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
636
645
  top: 100%;
637
646
  left: 0;
638
647
  right: 0;
639
- color: ${ji.optionsColor};
640
- background: ${ji.colorSurface};
641
- z-index: ${ji.optionsZIndex};
642
- box-shadow: ${ji.elevation02};
648
+ color: ${Be.optionsColor};
649
+ background: ${Be.colorSurface};
650
+ z-index: ${Be.optionsZIndex};
651
+ box-shadow: ${Be.elevation02};
643
652
  }
644
653
 
645
654
  .ft-select--fixed .ft-select--options {
@@ -650,13 +659,13 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
650
659
 
651
660
  .ft-select--options-displayed .ft-select--options {
652
661
  display: block;
653
- max-height: ${ji.optionsHeight};
662
+ max-height: ${Be.optionsHeight};
654
663
  overflow-y: auto;
655
664
  }
656
665
 
657
666
  .ft-select--option {
658
667
  position: relative;
659
- padding: 4px ${ji.horizontalSpacing};
668
+ padding: 4px ${Be.horizontalSpacing};
660
669
  min-height: 32px;
661
670
  display: flex;
662
671
  align-items: center;
@@ -668,59 +677,59 @@ class mi extends Ut{constructor(t){if(super(t),this.et=X,t.type!==Mt)throw Error
668
677
  }
669
678
 
670
679
  .ft-select--helper-text {
671
- padding: 0 ${ji.horizontalSpacing};
672
- color: ${ji.helperColor};
680
+ padding: 0 ${Be.horizontalSpacing};
681
+ color: ${Be.helperColor};
673
682
  }
674
683
 
675
684
  .ft-select--in-error .ft-select--helper-text {
676
- color: ${ji.colorError};
685
+ color: ${Be.colorError};
677
686
  }
678
- `;var Ai=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Di extends kt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return J``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Di.elementDefinitions={},Ai([o({type:String})],Di.prototype,"label",void 0),Ai([o({type:Object,converter:t=>t})],Di.prototype,"value",void 0),Ai([o({type:Boolean,reflect:!0})],Di.prototype,"selected",void 0);class Bi extends kt{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,s;let n=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":n,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return J`
679
- <div class="${zt(a)}" part="container">
687
+ `;var Ae=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class He extends Ut{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Y``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}He.elementDefinitions={},Ae([r({type:String})],He.prototype,"label",void 0),Ae([r({type:Object,converter:t=>t})],He.prototype,"value",void 0),Ae([r({type:Boolean,reflect:!0})],He.prototype,"selected",void 0);class je extends Ut{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,o,e,r,i;let a=this.hasOptionsMenuOpen,n=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(e=null===(o=this.selectedOption)||void 0===o?void 0:o.label)&&void 0!==e?e:"").length>0,s={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":n,"ft-select--options-displayed":a,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Y`
688
+ <div class="${zt(s)}" part="container">
680
689
  <div class="ft-select--main-panel" part="main-panel">
681
690
  <ft-input-label text="${this.label}"
682
691
  part="label"
683
- ?disabled=${r}
692
+ ?disabled=${n}
684
693
  ?outlined=${this.outlined}
685
- ?raised=${l||n}
694
+ ?raised=${l||a}
686
695
  ?error=${this.error}
687
696
  ></ft-input-label>
688
697
  <div class="ft-select--input-panel"
689
698
  part="selected-value"
690
- tabindex="${r?"-1":"0"}"
699
+ tabindex="${n?"-1":"0"}"
691
700
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
692
701
  @keydown=${this.onMainPanelKeyDown}
693
702
  aria-label="${this.label}"
694
703
  aria-haspopup="listbox"
695
- aria-expanded="${n}">
696
- <ft-ripple ?disabled=${r} ?activated=${!this.outlined}></ft-ripple>
704
+ aria-expanded="${a}">
705
+ <ft-ripple ?disabled=${n} ?activated=${!this.outlined}></ft-ripple>
697
706
  <ft-typography variant="body1" class="ft-select--selected-option">
698
- ${null!==(s=null===(o=this.selectedOption)||void 0===o?void 0:o.label)&&void 0!==s?s:""}
707
+ ${null!==(i=null===(r=this.selectedOption)||void 0===r?void 0:r.label)&&void 0!==i?i:""}
699
708
  </ft-typography>
700
- <ft-icon>${n?"thin_arrow_up":"thin_arrow"}</ft-icon>
709
+ <ft-icon>${a?"thin_arrow_up":"thin_arrow"}</ft-icon>
701
710
  </div>
702
711
  <div class="ft-select--options"
703
712
  part="options"
704
713
  @keydown=${this.onOptionsKeyDown}
705
714
  innerrole="listbox">
706
- ${_t(this.options,(t=>t.value),(t=>this.renderOption(t)))}
715
+ ${Pt(this.options,(t=>t.value),(t=>this.renderOption(t)))}
707
716
  </div>
708
717
  </div>
709
- ${this.helper?J`
718
+ ${this.helper?Y`
710
719
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
711
720
  </ft-typography>`:void 0}
712
721
  </div>
713
722
  <slot @slotchange=${this.updateOptionsFromSlot}
714
723
  @option-change=${this.updateOptionsFromSlot}
715
724
  ></slot>
716
- `}renderOption(t){let e=this.selectedOption===t;return J`
717
- <div class="${zt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
725
+ `}renderOption(t){let o=this.selectedOption===t;return Y`
726
+ <div class="${zt({"ft-select--option":!0,"ft-select--option-selected":o,"ft-typography--body2":!0})}"
718
727
  part="option"
719
728
  tabindex="0"
720
729
  data-value="${t.value}"
721
- @keydown=${e=>this.onOptionKeyDown(e,t)}
730
+ @keydown=${o=>this.onOptionKeyDown(o,t)}
722
731
  @click=${()=>this.selectOption(t)}>
723
- <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
732
+ <ft-ripple ?primary=${o} ?activated=${o}></ft-ripple>
724
733
  <span>${t.label}</span>
725
734
  </div>
726
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,s,n;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(n=null===(s=this.focusedOption)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){var e,i;if(!l(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(i=this.selectedOption)||void 0===i?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Bi.elementDefinitions={"ft-input-label":ai,"ft-typography":si,"ft-ripple":gi,"ft-icon":zi},Bi.styles=[Ye,Ge,Fi],Ai([o({type:String})],Bi.prototype,"label",void 0),Ai([o({type:String})],Bi.prototype,"helper",void 0),Ai([o({type:Boolean})],Bi.prototype,"outlined",void 0),Ai([o({type:Boolean})],Bi.prototype,"disabled",void 0),Ai([o({type:Boolean})],Bi.prototype,"error",void 0),Ai([o({type:Boolean})],Bi.prototype,"fixedMenuPosition",void 0),Ai([o({type:Array})],Bi.prototype,"options",void 0),Ai([s()],Bi.prototype,"selectedOption",void 0),Ai([s()],Bi.prototype,"optionsDisplayed",void 0),Ai([s()],Bi.prototype,"focusOptions",void 0),Ai([n(".ft-select")],Bi.prototype,"container",void 0),Ai([n(".ft-select--options")],Bi.prototype,"optionsMenu",void 0),Ai([n(".ft-select--input-panel")],Bi.prototype,"mainPanel",void 0),Ai([n(".ft-select--option:first-child")],Bi.prototype,"firstOption",void 0),Ai([n(".ft-select--option:focus")],Bi.prototype,"focusedOption",void 0),Ai([n(".ft-select--option.ft-select--option-selected")],Bi.prototype,"selectedOptionElement",void 0),Ai([n(".ft-select--option:last-child")],Bi.prototype,"lastOption",void 0),Ai([n("slot")],Bi.prototype,"optionsSlot",void 0),a("ft-select")(Bi),a("ft-select-option")(Di),t.FtSelect=Bi,t.FtSelectCssVariables=ji,t.FtSelectOption=Di,t.styles=Fi}({});
735
+ `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var o,e;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(e=null!==(o=this.selectedOptionElement)&&void 0!==o?o:this.firstOption)||void 0===e||e.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var o;t.stopPropagation();let e=null===(o=this.optionsSlot)||void 0===o?void 0:o.assignedElements().map((t=>t));e&&e.length>0&&(this.options=e)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var o,e,r,i,a;let n;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),n=null!==(r=null===(e=this.focusedOption)||void 0===e?void 0:e.previousElementSibling)&&void 0!==r?r:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),n=null!==(a=null===(i=this.focusedOption)||void 0===i?void 0:i.nextElementSibling)&&void 0!==a?a:this.firstOption}null==n||n.focus()}onOptionKeyDown(t,o){var e;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus())}selectOption(t){var o,e;if(!l(null===(o=this.selectedOption)||void 0===o?void 0:o.value,t.value)){this.selectedOption=t;for(let o of this.options)o.selected=o===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}je.elementDefinitions={"ft-input-label":ye,"ft-typography":pe,"ft-ripple":Ce,"ft-icon":De},je.styles=[ee,re,Me],Ae([r({type:String})],je.prototype,"label",void 0),Ae([r({type:String})],je.prototype,"helper",void 0),Ae([r({type:Boolean})],je.prototype,"outlined",void 0),Ae([r({type:Boolean})],je.prototype,"disabled",void 0),Ae([r({type:Boolean})],je.prototype,"error",void 0),Ae([r({type:Boolean})],je.prototype,"fixedMenuPosition",void 0),Ae([r({type:Array})],je.prototype,"options",void 0),Ae([i()],je.prototype,"selectedOption",void 0),Ae([i()],je.prototype,"optionsDisplayed",void 0),Ae([i()],je.prototype,"focusOptions",void 0),Ae([a(".ft-select")],je.prototype,"container",void 0),Ae([a(".ft-select--options")],je.prototype,"optionsMenu",void 0),Ae([a(".ft-select--input-panel")],je.prototype,"mainPanel",void 0),Ae([a(".ft-select--option:first-child")],je.prototype,"firstOption",void 0),Ae([a(".ft-select--option:focus")],je.prototype,"focusedOption",void 0),Ae([a(".ft-select--option.ft-select--option-selected")],je.prototype,"selectedOptionElement",void 0),Ae([a(".ft-select--option:last-child")],je.prototype,"lastOption",void 0),Ae([a("slot")],je.prototype,"optionsSlot",void 0),s("ft-select")(je),s("ft-select-option")(He),t.FtSelect=je,t.FtSelectCssVariables=Be,t.FtSelectOption=He,t.styles=Me}({});